.home-feedback {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 2rem 7.5rem;
  color: #f1f0eb;
  font-family: var(--font-display);
}
.feedback-intro {
  margin-bottom: 2rem;
}
.feedback-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.feedback-intro h2 span {
  color: var(--orange);
}
.feedback-intro p {
  margin: 1.125rem 0 0;
  color: #bdbbb3;
  font-size: var(--text-base);
  line-height: 1.6;
}
.feedback-card {
  border: 1px solid #33332f;
  border-radius: 1rem;
  background: #171715;
  padding: 2.25rem;
  text-align: center;
}
.feedback-face {
  font-size: 4.5rem;
  line-height: 1.2;
  width: fit-content;
  margin: 0 auto;
  transform-origin: center;
}
.feedback-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  margin: 1.5rem 0 0;
  padding: 0;
  min-width: 0;
}
.feedback-star {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #55554d;
  border-radius: 0.5rem;
}
.feedback-star input,
.feedback-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.feedback-star svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
  transition:
    transform 180ms ease,
    color 160ms ease;
}
.feedback-star[data-lit] {
  color: var(--orange);
}
@media (hover: hover) {
  .feedback-star:hover svg {
    transform: scale(1.3);
  }
}
.feedback-star:active svg {
  transform: scale(0.8);
}
.feedback-star:has(input:focus-visible) {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.feedback-rating:disabled .feedback-star {
  cursor: wait;
}
.feedback-score {
  min-height: 22px;
  margin: 1rem 0 1.75rem;
  color: #bdbbb3;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.feedback-comment {
  display: block;
  text-align: left;
  margin-bottom: 0.625rem;
  font-size: var(--text-sm);
}
.home-feedback textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 116px;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #42423b;
  background: #0a0a0a;
  color: #f1f0eb;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
  caret-color: var(--orange);
}
.home-feedback textarea::placeholder {
  color: #aaa99f;
}
.home-feedback textarea:focus-visible,
.feedback-submit:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
.feedback-note {
  margin: 1rem 0 1.5rem;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: #bdbbb3;
  text-align: left;
}
.feedback-note a {
  color: #f1f0eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 52px;
  padding: 0.875rem 1.625rem;
  border: 0;
  border-radius: 62.4375rem;
  background: var(--orange);
  color: #101010;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}
.feedback-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.feedback-submit:hover {
  background: #ff723b;
  transform: translateY(-2px);
}
.feedback-submit:active {
  transform: scale(0.98);
}
.feedback-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.feedback-status {
  min-height: 22px;
  margin: 1rem 0 0;
  color: #ff9572;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.home-feedback [hidden] {
  display: none !important;
}
.feedback-receipt {
  padding: 1.5rem 0;
  outline: 0;
}
.feedback-receipt h3 {
  font-size: var(--text-xl);
  margin: 0 0 1rem;
}
.feedback-receipt p {
  color: #bdbbb3;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 719px) {
  .home-feedback {
    padding: 3.5rem 1.25rem 5rem;
  }
  .feedback-card {
    padding: 1.75rem 1.25rem 1.25rem;
  }
  .feedback-rating {
    gap: 0.125rem;
  }
  .feedback-star {
    width: 44px;
    height: 48px;
  }
  .feedback-star svg {
    width: 35px;
    height: 35px;
  }
  .feedback-face {
    font-size: 4rem;
  }
  .feedback-submit {
    width: 100%;
    padding-inline: 0.875rem;
    gap: 0.75rem;
    font-size: var(--text-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-star svg,
  .feedback-submit {
    transition: none;
  }
  .feedback-star:is(:hover, :active) svg,
  .feedback-submit:is(:hover, :active) {
    transform: none;
  }
}
