.feedback-section {
  max-width: 1180px;
  margin: 70px auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 28px;
  background: #172033;
  color: white;
}
.feedback-copy h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}
.feedback-copy p:last-child {
  max-width: 520px;
  color: #c8d2e1;
  line-height: 1.7;
}
.feedback-section form {
  padding: 26px;
  border-radius: 20px;
  background: white;
  color: #172033;
}
.rating-field {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.rating-field legend,
.suggestion-label {
  font-weight: 800;
}
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 8px;
}
.star-rating input {
  position: absolute;
  opacity: 0;
}
.star-rating label {
  font-size: 2.2rem;
  line-height: 1;
  color: #cbd3df;
  cursor: pointer;
  transition:
    color 0.15s,
    transform 0.15s;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #f4bd48;
}
.star-rating label:hover {
  transform: scale(1.08);
}
.star-rating input:focus + label {
  outline: 3px solid rgba(33, 105, 180, 0.25);
  outline-offset: 3px;
  border-radius: 4px;
}
.rating-help {
  display: block;
  margin-top: 7px;
  color: #6b7280;
  font-size: 0.88rem;
}
.feedback-identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.feedback-identity label {
  font-weight: 700;
  font-size: 0.92rem;
}
.feedback-identity span {
  font-weight: 400;
  color: #6b7280;
}
.feedback-identity input,
.suggestion-label textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid #cbd3df;
  border-radius: 11px;
  background: #fff;
  color: #172033;
  font: inherit;
}
.suggestion-label textarea {
  resize: vertical;
  min-height: 120px;
}
.feedback-identity input:focus,
.suggestion-label textarea:focus {
  outline: 3px solid rgba(33, 105, 180, 0.2);
  border-color: #2169b4;
}
.feedback-submit {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #2169b4;
  color: white;
  padding: 14px 24px;
  font: 700 1rem inherit;
  cursor: pointer;
}
.feedback-submit:hover {
  background: #195690;
}
.feedback-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.feedback-result {
  display: none;
  margin-top: 16px;
  padding: 15px;
  border-radius: 12px;
  font-weight: 650;
}
.feedback-result.show {
  display: block;
}
.feedback-result.success {
  background: #e8f7ef;
  color: #14532d;
}
.feedback-result.error {
  background: #fff1f0;
  color: #7f1d1d;
}
@media (max-width: 780px) {
  .feedback-section {
    grid-template-columns: 1fr;
    margin: 40px 14px;
    padding: 24px 18px;
    gap: 22px;
  }
  .feedback-section form {
    padding: 20px;
  }
  .feedback-identity {
    grid-template-columns: 1fr;
  }
}
