.wrf-review {
  --wrf-green: var(--wr-green, #1f5136);
  --wrf-green-dark: var(--wr-green-700, #173e29);
  --wrf-accent: var(--wr-accent, #c8a96a);
  --wrf-cream: var(--wr-cream, #f6f3ec);
  --wrf-warm: var(--wr-warm, #f9f6ef);
  --wrf-ink: var(--wr-ink, #1a1f1c);
  --wrf-muted: var(--wr-muted, #6b736d);
  --wrf-line: var(--wr-line, #e3ddd0);
  background:
    linear-gradient(135deg, rgba(31, 81, 54, .06), rgba(200, 169, 106, .12)),
    var(--wrf-warm);
  color: var(--wrf-ink);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
}

.wrf-review::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 81, 54, .12), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(200, 169, 106, .18), transparent 32%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.wrf-container {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  margin: 0 auto;
  max-width: 1120px;
  min-width: 0;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.wrf-copy {
  max-width: 38rem;
  min-width: 0;
}

.wrf-eyebrow {
  color: var(--wrf-green);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 .9rem;
  text-transform: uppercase;
}

.wrf-copy h1 {
  color: var(--wrf-ink);
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 1rem;
  hyphens: auto;
  overflow-wrap: break-word;
  text-transform: uppercase;
  word-break: normal;
}

.wrf-copy p:not(.wrf-eyebrow) {
  color: var(--wrf-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.72;
  margin: 0;
  overflow-wrap: anywhere;
}

.wrf-trust-row {
  display: flex;
  gap: .7rem;
  margin-top: 1.8rem;
}

.wrf-trust-row span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--wrf-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(31, 81, 54, .08);
  color: var(--wrf-green);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.wrf-panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(227, 221, 208, .9);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 81, 54, .13);
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.65rem);
}

.wrf-sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.wrf-rating-card,
.wrf-feedback-form {
  background: #fff;
  border: 1px solid var(--wrf-line);
  border-radius: 8px;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.4rem);
}

.wrf-feedback-form {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.wrf-feedback-form[hidden],
.wrf-google-note[hidden] {
  display: none !important;
}

.wrf-rating-label {
  color: var(--wrf-ink);
  font-weight: 800;
  margin: 0 0 .9rem;
}

.wrf-rating-grid {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wrf-star-button {
  align-items: center;
  background: var(--wrf-cream);
  border: 1px solid var(--wrf-line);
  border-radius: 8px;
  color: var(--wrf-ink);
  cursor: pointer;
  display: flex;
  justify-content: center;
  min-height: 104px;
  min-width: 0;
  padding: .85rem .45rem;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.wrf-star-button:hover,
.wrf-star-button:focus-visible,
.wrf-star-button.is-active {
  background: #fff;
  border-color: rgba(31, 81, 54, .4);
  box-shadow: 0 14px 34px rgba(31, 81, 54, .12);
  color: var(--wrf-green);
  transform: translateY(-2px);
}

.wrf-star-button:focus-visible {
  outline: 3px solid rgba(200, 169, 106, .55);
  outline-offset: 3px;
}

.wrf-star {
  -webkit-text-stroke: 1.4px var(--wrf-accent);
  color: rgba(200, 169, 106, .18);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  text-shadow: none;
  transition: color .16s ease, text-shadow .16s ease, transform .16s ease;
}

.wrf-star-button.is-active .wrf-star {
  color: var(--wrf-accent);
  text-shadow: 0 8px 24px rgba(200, 169, 106, .3);
  transform: scale(1.06);
}

.wrf-google-note,
.wrf-message {
  border-radius: 8px;
  display: grid;
  gap: .25rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  padding: .95rem 1rem;
}

.wrf-google-note {
  background: rgba(31, 81, 54, .08);
  color: var(--wrf-green-dark);
  margin: 1rem 0 0;
}

.wrf-message-success {
  background: rgba(31, 81, 54, .09);
  border: 1px solid rgba(31, 81, 54, .18);
  color: var(--wrf-green-dark);
}

.wrf-message-error {
  background: rgba(151, 51, 39, .08);
  border: 1px solid rgba(151, 51, 39, .2);
  color: #733126;
}

.wrf-feedback-head {
  border-bottom: 1px solid var(--wrf-line);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.wrf-selected-pill {
  background: rgba(200, 169, 106, .14);
  border: 1px solid rgba(200, 169, 106, .32);
  border-radius: 999px;
  color: var(--wrf-green-dark);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  gap: .3rem;
  margin-bottom: .8rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: .38rem .72rem;
}

.wrf-feedback-head h2 {
  color: var(--wrf-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 .55rem;
}

.wrf-feedback-head p,
.wrf-form-actions p,
.wrf-noscript {
  color: var(--wrf-muted);
  font-size: .95rem;
  line-height: 1.62;
  margin: 0;
}

.wrf-field {
  display: grid;
  gap: .42rem;
  margin-bottom: .9rem;
}

.wrf-field span {
  color: var(--wrf-ink);
  font-size: .86rem;
  font-weight: 800;
}

.wrf-field input,
.wrf-field textarea {
  background: #fff;
  border: 1.5px solid var(--wrf-line);
  border-radius: 8px;
  color: var(--wrf-ink);
  font: inherit;
  min-width: 0;
  padding: .82rem .95rem;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}

.wrf-field textarea {
  min-height: 142px;
  resize: vertical;
}

.wrf-field input:focus,
.wrf-field textarea:focus {
  border-color: var(--wrf-green);
  box-shadow: 0 0 0 4px rgba(31, 81, 54, .1);
  outline: 0;
}

.wrf-field-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wrf-form-actions {
  align-items: center;
  display: grid;
  gap: .75rem;
  grid-template-columns: max-content minmax(0, 1fr);
  margin-top: 1rem;
}

.wrf-submit {
  align-items: center;
  background: linear-gradient(135deg, var(--wrf-green), var(--wrf-green-dark));
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: .55rem;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  padding: .78rem 1.1rem;
  text-align: center;
  transition: box-shadow .18s ease, transform .18s ease;
}

.wrf-submit:hover,
.wrf-submit:focus-visible {
  box-shadow: 0 14px 32px rgba(31, 81, 54, .24);
  color: #fff;
  transform: translateY(-1px);
}

.wrf-submit:focus-visible {
  outline: 3px solid rgba(200, 169, 106, .55);
  outline-offset: 3px;
}

.wrf-hp {
  left: -9999px;
  position: absolute;
}

.wrf-noscript {
  background: rgba(151, 51, 39, .08);
  border: 1px solid rgba(151, 51, 39, .18);
  border-radius: 8px;
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding: .85rem 1rem;
}

@media (max-width: 991.98px) {
  .wrf-container {
    grid-template-columns: 1fr;
  }

  .wrf-copy {
    max-width: 44rem;
  }
}

@media (max-width: 680px) {
  .wrf-rating-grid {
    gap: .45rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .wrf-star-button {
    min-height: 94px;
  }

  .wrf-field-grid,
  .wrf-form-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .wrf-review {
    padding: 2.25rem 0;
  }

  .wrf-container {
    gap: 1.25rem;
    padding: 0 .7rem;
  }

  .wrf-copy h1 {
    font-size: clamp(1.8rem, 10vw, 2.35rem);
    line-height: 1.04;
  }

  .wrf-panel,
  .wrf-rating-card,
  .wrf-feedback-form {
    border-radius: 8px;
    padding: .82rem;
  }

  .wrf-rating-grid {
    gap: .28rem;
  }

  .wrf-star-button {
    min-height: 70px;
    padding: .5rem .15rem;
  }

  .wrf-star {
    -webkit-text-stroke-width: 1.1px;
    font-size: clamp(1.95rem, 11.5vw, 2.7rem);
  }

  .wrf-field input,
  .wrf-field textarea {
    padding: .74rem .78rem;
  }

  .wrf-submit {
    white-space: normal;
    width: 100%;
  }
}
