/* Wide homepage reviews — 3 / 2 / 1 card carousel */

.home-reviews {
  --reviews-css-vis: 3;
  --reviews-vis: 3;
  --reviews-gap: 24px;
  position: relative;
  isolation: isolate;
  z-index: 2;
  overflow-x: hidden;
  overflow-y: hidden;
  min-height: 0;
  padding: 32px 0 28px;
  background:
    radial-gradient(ellipse 36% 70% at 50% 58%, rgba(226, 24, 40, 0.16), transparent 62%),
    radial-gradient(ellipse 42% 90% at 0% 48%, rgba(226, 24, 40, 0.3), transparent 58%),
    radial-gradient(ellipse 38% 86% at 100% 52%, rgba(226, 24, 40, 0.22), transparent 56%),
    linear-gradient(180deg, #070203 0%, #0a0406 48%, #080203 100%);
}

.home-reviews::before,
.home-reviews::after {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 10%;
  width: min(280px, 22vw);
  pointer-events: none;
  z-index: 0;
}

.home-reviews::before {
  left: -40px;
  background: repeating-linear-gradient(
    105deg,
    transparent 0 18px,
    rgba(255, 28, 48, 0.08) 18px 20px
  );
  mask-image: linear-gradient(90deg, #000 0%, transparent 88%);
}

.home-reviews::after {
  right: -40px;
  background: repeating-linear-gradient(
    -105deg,
    transparent 0 18px,
    rgba(255, 28, 48, 0.07) 18px 20px
  );
  mask-image: linear-gradient(270deg, #000 0%, transparent 88%);
}

.home-reviews__shell {
  position: relative;
  z-index: 1;
}

.home-reviews__flash {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.4;
}

.home-reviews__flash--success {
  color: #d8ffe4;
  background: rgba(18, 70, 36, 0.55);
  border: 1px solid rgba(80, 200, 120, 0.4);
}

.home-reviews__flash--error {
  color: #ffd4d8;
  background: rgba(70, 10, 18, 0.62);
  border: 1px solid rgba(255, 70, 85, 0.45);
}

.home-reviews__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px 24px;
  margin: 0 0 28px;
}

.home-reviews__copy {
  flex: 0 1 34%;
  min-width: 0;
  max-width: 34rem;
}

.home-reviews__social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px 22px;
  flex: 1 1 auto;
  min-width: 0;
}

.home-reviews__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-reviews__quote-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #ff4d5a;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 70, 82, 0.38), transparent 70%),
    rgba(12, 3, 6, 0.92);
  border: 1px solid rgba(255, 55, 70, 0.85);
  box-shadow:
    0 0 12px rgba(255, 30, 50, 0.62),
    0 0 22px rgba(226, 24, 40, 0.28);
}

.home-reviews__quote-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 49, 64, 0.9));
}

.home-reviews__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-family: "Roboto Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}

.home-reviews__title-lead {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.12);
}

.home-reviews__title-accent {
  margin-left: 0;
  color: #e21828;
  text-shadow: 0 0 18px rgba(226, 24, 40, 0.45);
}

.home-reviews__subtitle {
  margin: 8px 0 0;
  max-width: 36rem;
  color: rgba(210, 196, 198, 0.78);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.home-reviews__rating {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-width: 124px;
  padding: 0;
  border-left: 0;
}

.home-reviews__score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-family: "Roboto Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
}

.home-reviews__score-value {
  font-size: 2.28rem;
  letter-spacing: -0.02em;
}

.home-reviews__score-max {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.05rem;
}

.home-reviews__stars {
  display: flex;
  gap: 2px;
  color: #f5b400;
}

.home-reviews__star,
.home-review__star {
  display: block;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.18);
}

.home-reviews__star.is-on,
.home-review__star.is-on {
  color: #f5b400;
  filter: drop-shadow(0 0 4px rgba(245, 180, 0, 0.55));
}

.home-reviews__rating-count {
  margin: 2px 0 0;
  color: rgba(200, 188, 190, 0.72);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}

/* five-star selection label (no calculated average is shown next to it) */
.home-reviews__rating .home-reviews__star {
  width: 18px;
  height: 18px;
}

.home-reviews__rating .home-reviews__rating-count {
  margin-top: 6px;
  color: rgba(236, 224, 226, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-reviews__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(255, 40, 55, 0.22);
}

.home-reviews__faces {
  display: flex;
  align-items: center;
  padding-right: 2px;
}

.home-reviews__face {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -12px;
  border-radius: 50%;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #3a0a12, #1a0508);
  border: 2px solid rgba(255, 55, 70, 0.85);
  box-shadow: 0 0 10px rgba(255, 30, 50, 0.35);
}

.home-reviews__face:first-child {
  margin-left: 0;
}

.home-reviews__face--a { background: linear-gradient(180deg, #6b1a28, #2a0810); }
.home-reviews__face--b { background: linear-gradient(180deg, #3d2a18, #1a1008); }
.home-reviews__face--c { background: linear-gradient(180deg, #4a1220, #18060a); }

.home-reviews__face--count {
  min-width: 34px;
  padding: 0 6px;
  color: #fff;
  background: linear-gradient(180deg, #d31224, #8a0814);
  border-color: rgba(255, 80, 90, 0.95);
}

.home-reviews__trust-copy {
  color: rgba(230, 220, 222, 0.88);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-reviews__cta {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

.home-reviews__leave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  height: 48px;
  padding: 0 20px 0 18px;
  border-radius: 12px;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(92, 10, 20, 0.95), rgba(42, 6, 12, 0.98));
  border: 1px solid rgba(255, 45, 65, 0.95);
  box-shadow:
    0 0 10px rgba(255, 25, 45, 0.55),
    0 0 24px rgba(220, 0, 25, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-reviews__leave svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.home-reviews__leave-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

.home-reviews__leave:hover,
.home-reviews__leave:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 80, 95, 1);
  background: linear-gradient(180deg, rgba(120, 14, 28, 0.98), rgba(52, 8, 16, 1));
  box-shadow:
    0 0 14px rgba(255, 35, 52, 0.7),
    0 0 28px rgba(220, 0, 25, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.2);
  outline: none;
}

.home-reviews__cta-note {
  margin: 0;
  color: rgba(190, 176, 178, 0.7);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
}

.home-reviews__stage {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  align-items: center;
  column-gap: 12px;
  row-gap: 18px;
  padding: 0;
  max-width: 100%;
}

.home-reviews__viewport {
  grid-area: viewport;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 16px 14px 16px;
  margin: 0;
  touch-action: pan-y;
}

.home-reviews__viewport:focus {
  outline: none;
}

.home-reviews__viewport:focus-visible {
  outline: 2px solid #ff6a74;
  outline-offset: 4px;
  border-radius: 12px;
}

.home-reviews__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--reviews-gap);
  width: 100%;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.home-review {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - (var(--reviews-vis) - 1) * var(--reviews-gap)) / var(--reviews-vis));
  flex-shrink: 0;
  justify-content: stretch;
  align-items: stretch;
  box-sizing: border-box;
  width: calc((100% - (var(--reviews-vis) - 1) * var(--reviews-gap)) / var(--reviews-vis));
  max-width: calc((100% - (var(--reviews-vis) - 1) * var(--reviews-gap)) / var(--reviews-vis));
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
  scroll-snap-align: unset;
}

.home-review:hover {
  border: 0;
  box-shadow: none;
}

.home-review__panel {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto;
  align-content: start;
  column-gap: 14px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 240px;
  padding: 22px 22px 20px;
  overflow: visible;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(22, 8, 12, 0.98), rgba(8, 4, 6, 0.98));
  border: 1px solid rgba(255, 36, 52, 0.52);
  box-shadow:
    0 0 14px rgba(255, 20, 40, 0.18),
    0 0 28px rgba(226, 24, 40, 0.08),
    inset 0 1px rgba(255, 255, 255, 0.05);
  opacity: 1;
  transform: scale(1);
  transform-origin: center center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.home-review.is-side .home-review__panel {
  opacity: 0.78;
  filter: brightness(0.94);
}

.home-review.is-active .home-review__panel {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: scale(1.025);
  border-color: rgba(255, 55, 70, 0.92);
  box-shadow:
    0 0 20px rgba(255, 20, 40, 0.38),
    0 0 36px rgba(226, 24, 40, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.home-review.is-active .home-review__panel:hover,
.home-review__panel:hover {
  border-color: rgba(255, 55, 70, 0.9);
}

.home-review__avatar {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #5a1220, #22080e);
  border: 1px solid rgba(255, 70, 82, 0.85);
  box-shadow: 0 0 10px rgba(255, 30, 50, 0.35);
}

.home-review:nth-child(4n + 2) .home-review__avatar {
  background: linear-gradient(180deg, #3d2a16, #161008);
}

.home-review:nth-child(4n + 3) .home-review__avatar {
  background: linear-gradient(180deg, #4a1830, #180810);
}

.home-review:nth-child(4n) .home-review__avatar {
  background: linear-gradient(180deg, #5a1a14, #1a0808);
}

.home-review__meta {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
}

.home-review__stars {
  display: flex;
  gap: 3px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 6px rgba(245, 180, 0, 0.35));
}

.home-review__age {
  color: rgba(158, 146, 148, 0.72);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.home-review__quote {
  grid-row: 2;
  grid-column: 1 / -1;
  display: block;
  -webkit-box-orient: unset;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow: visible;
  margin: 16px 0 0;
  color: rgba(248, 242, 244, 0.98);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.02rem, 0.9rem + 0.28vw, 1.16rem);
  font-weight: 500;
  line-height: 1.55;
}

.home-review__name {
  grid-row: 3;
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: #fff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-review__city {
  grid-row: 4;
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  color: rgba(255, 77, 90, 0.92);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.home-review__city svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.home-reviews__nav {
  position: static;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  color: #ff6a74;
  background: rgba(10, 4, 6, 0.92);
  border: 1px solid rgba(255, 40, 55, 0.78);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(255, 20, 40, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transform: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-reviews__nav svg {
  width: 16px;
  height: 16px;
}

.home-reviews__nav--prev {
  grid-area: prev;
  justify-self: center;
}

.home-reviews__nav--next {
  grid-area: next;
  justify-self: center;
}

.home-reviews__nav:hover,
.home-reviews__nav:focus-visible {
  color: #ff8a90;
  border-color: rgba(255, 70, 85, 1);
  background: rgba(28, 8, 12, 0.96);
  box-shadow: 0 0 16px rgba(255, 20, 40, 0.5);
}

.home-reviews__nav:focus-visible {
  outline: 2px solid #ff6a74;
  outline-offset: 3px;
}

.home-reviews__nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.home-reviews[data-pages="0"] .home-reviews__nav,
.home-reviews[data-pages="1"] .home-reviews__nav {
  display: none;
}

.home-reviews[data-pages="0"] .home-reviews__stage,
.home-reviews[data-pages="1"] .home-reviews__stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "viewport"
    "dots";
}

.home-reviews__dots {
  grid-area: dots;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding-top: 2px;
}

.home-reviews__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(80, 40, 46, 0.95);
  cursor: pointer;
}

.home-reviews__dot.is-active {
  background: #e21828;
  box-shadow: 0 0 8px rgba(226, 24, 40, 0.7);
}

.home-reviews__dot:focus-visible {
  outline: 2px solid #ff6a74;
  outline-offset: 3px;
}

.home-reviews[data-pages="0"] .home-reviews__dots,
.home-reviews[data-pages="1"] .home-reviews__dots {
  display: none;
}

.home-reviews__empty {
  margin: 8px 4px 0;
  color: rgba(210, 196, 198, 0.78);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.review-modal[hidden] {
  display: none;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.review-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  padding: 28px 26px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #14080a, #0a0406);
  border: 1px solid rgba(255, 45, 65, 0.55);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(226, 24, 40, 0.18);
}

.review-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #ff8a90;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.review-modal__close svg {
  width: 18px;
  height: 18px;
}

.review-modal__close:hover,
.review-modal__close:focus-visible {
  color: #fff;
  outline: 2px solid #ff6a74;
  outline-offset: 2px;
}

.review-modal__title {
  margin: 0 36px 6px 0;
  color: #fff;
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-modal__lead {
  margin: 0 0 16px;
  color: rgba(210, 196, 198, 0.8);
  font-size: 0.88rem;
}

.review-modal__flash {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.review-modal__flash--error {
  color: #ffd4d8;
  background: rgba(70, 10, 18, 0.62);
  border: 1px solid rgba(255, 70, 85, 0.45);
}

.review-modal__form {
  display: grid;
  gap: 12px;
}

.review-modal__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-modal__field {
  display: grid;
  gap: 6px;
}

.review-modal__field.is-invalid .review-modal__control {
  border-color: rgba(255, 70, 85, 0.85);
}

.review-modal__label {
  color: rgba(230, 220, 222, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
}

.review-modal__control-wrap {
  position: relative;
}

.review-modal__control-wrap > svg {
  position: absolute;
  top: 13px;
  left: 12px;
  width: 16px;
  height: 16px;
  color: rgba(255, 90, 100, 0.8);
  pointer-events: none;
}

.review-modal__control-wrap--area > svg {
  top: 14px;
}

.review-modal__control {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px 10px 38px;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  background: rgba(8, 4, 6, 0.9);
  border: 1px solid rgba(255, 45, 65, 0.38);
  border-radius: 10px;
}

.review-modal__control::placeholder {
  color: rgba(180, 168, 170, 0.55);
}

.review-modal__control:focus {
  outline: none;
  border-color: rgba(255, 70, 85, 0.85);
  box-shadow: 0 0 0 3px rgba(226, 24, 40, 0.2);
}

.review-modal__control--area {
  min-height: 110px;
  resize: vertical;
  padding-bottom: 28px;
}

.review-modal__counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(180, 168, 170, 0.65);
  font-size: 0.7rem;
}

.review-modal__stars {
  display: flex;
  gap: 6px;
}

.review-modal__star {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(255, 255, 255, 0.28);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.review-modal__star svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.review-modal__star.is-on,
.review-modal__star.is-preview {
  color: #f5b400;
}

.review-modal__star.is-on svg,
.review-modal__star.is-preview svg {
  fill: currentColor;
}

.review-modal__star:focus-visible {
  outline: 2px solid #ff6a74;
  outline-offset: 2px;
  border-radius: 8px;
}

.review-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin-top: 4px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, #d31224, #9a0a16);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(226, 24, 40, 0.35);
}

.review-modal__submit svg {
  width: 16px;
  height: 16px;
}

.review-modal__submit:hover,
.review-modal__submit:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid #ff8a90;
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .home-reviews {
    --reviews-css-vis: 2;
    --reviews-vis: 2;
    --reviews-gap: 18px;
    min-height: 0;
    padding: 28px 0 24px;
  }

  .home-reviews__head {
    flex-wrap: wrap;
    margin-bottom: 22px;
  }

  .home-reviews__copy {
    flex: 1 1 240px;
    max-width: none;
  }

  .home-reviews__social {
    flex: 1 1 280px;
    flex-wrap: wrap;
  }

  .home-reviews__stage {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    column-gap: 14px;
  }

  .home-review.is-active .home-review__panel {
    transform: scale(1.02);
  }
}

@media (max-width: 767px) {
  .home-reviews {
    --reviews-css-vis: 1;
    --reviews-vis: 1;
    --reviews-gap: 0px;
    padding: 24px 0 22px;
  }

  .home-reviews__head {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }

  .home-reviews__copy {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .home-reviews__social {
    flex: 0 0 auto;
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 16px;
  }

  .home-reviews__trust {
    padding-left: 0;
    border-left: 0;
  }

  .home-reviews__cta {
    justify-items: start;
    margin-left: 0;
    min-width: 0;
    width: 100%;
  }

  .home-reviews__leave {
    width: 100%;
  }

  .home-reviews__stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "viewport viewport"
      "prev next"
      "dots dots";
    column-gap: 12px;
    row-gap: 12px;
    padding: 0;
  }

  .home-reviews__viewport {
    padding: 8px 0 10px;
  }

  .home-reviews__nav--prev {
    justify-self: end;
  }

  .home-reviews__nav--next {
    justify-self: start;
  }

  .home-review {
    padding: 0;
  }

  .home-review__panel {
    width: 100%;
    min-height: 0;
    padding: 18px 16px 16px;
  }

  .home-review.is-active .home-review__panel,
  .home-review.is-side .home-review__panel {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .home-reviews__title {
    font-size: 1.42rem;
  }

  .home-review__quote {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-reviews__track,
  .home-review__panel,
  .home-reviews__nav {
    transition: none !important;
  }

  .home-review.is-active .home-review__panel {
    transform: none;
  }
}
/* many reviews: a compact counter replaces one dot per review */
.home-reviews__counter { display: inline-block; padding: 6px 14px; border-radius: 999px; font: 600 13px/1 var(--font-ui, inherit); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 70, 88, 0.45); }

/* average rating summary: score + five stars with an accurate partial fill (clip on the filled layer) */
.home-reviews__summary { display: grid; justify-items: start; gap: 6px; }
.home-reviews__stars--avg { gap: 3px; }
.home-reviews__pstar { position: relative; display: block; width: 18px; height: 18px; }
.home-reviews__pstar .home-reviews__star { width: 18px; height: 18px; }
.home-reviews__pstar .home-reviews__pstar-fill { position: absolute; inset: 0; }
.home-reviews__total { color: #fff; font-weight: 800; }
