.feedback-page-body,
.feedback-page-body main {
  background: #fff;
}

.feedback-page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(150px, 15vw, 210px) 0 clamp(76px, 9vw, 128px);
  color: #17395c;
}

.feedback-page__header {
  max-width: 760px;
  margin-bottom: clamp(52px, 7vw, 88px);
}

.feedback-page h1,
.feedback-form-section h2 {
  margin: 0;
  color: #17395c;
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.feedback-page h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
}

.feedback-page__header p {
  max-width: 55ch;
  margin: 22px 0 0;
  color: #486783;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.feedback-form-section {
  padding-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid #bdd0e1;
}

.feedback-form-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.feedback-form-section__intro p {
  max-width: 30ch;
  margin: 16px 0 0;
  color: #52728d;
  font-size: 16px;
  line-height: 1.5;
}

.feedback-form-section__intro {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.feedback-form-section__content {
  min-width: 0;
}

.feedback-response {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid #7fc5a8;
  border-radius: 12px;
  color: #174e39;
  background: #ecfaf2;
  font-weight: 650;
  line-height: 1.45;
}

.feedback-form {
  display: grid;
  gap: 28px;
}

.feedback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.feedback-form__grid .form-group,
.feedback-form__grid .mb-3 {
  min-width: 0;
  margin: 0;
}

.feedback-form__message {
  grid-column: 1 / -1;
}

.feedback-form label {
  display: inline-block;
  margin-bottom: 8px;
  color: #405b73;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.feedback-form input:not([type='checkbox']),
.feedback-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #bdd0e1;
  border-radius: 10px;
  color: #17395c;
  background: #fff;
  font: inherit;
  line-height: 1.4;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.feedback-form textarea {
  min-height: 160px;
  resize: vertical;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: #708aa0;
  opacity: 1;
}

.feedback-form input:not([type='checkbox']):focus,
.feedback-form textarea:focus {
  border-color: #17395c;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(139, 216, 248, .58);
}

.feedback-form .invalid-feedback,
.feedback-form .help-block {
  margin-top: 7px;
  color: #a22c48;
  font-size: 13px;
  line-height: 1.35;
}

.feedback-form__consent {
  padding: 18px 20px;
  border: 1px solid #c6d8e5;
  border-radius: 12px;
  background: #f4fbfe;
}

.feedback-form__consent .form-group,
.feedback-form__consent .mb-3 {
  margin: 0;
}

.feedback-form__consent .form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
}

.feedback-form__consent input[type='checkbox'] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: #17395c;
}

.feedback-form__consent label {
  margin: 0;
  color: #405b73;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feedback-form__consent a {
  color: #17395c;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.feedback-form__submit {
  justify-self: start;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid #17395c;
  border-radius: 10px;
  color: #fff;
  background: #17395c;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.feedback-form__submit:hover {
  color: #17395c;
  background: #8bd8f8;
  transform: translateY(-2px);
}

.feedback-form__submit:focus-visible,
.feedback-form__consent a:focus-visible {
  outline: 3px solid #17395c;
  outline-offset: 3px;
}

html.is-accessible .feedback-page,
html.is-accessible .feedback-form-section,
html.is-accessible .feedback-form__consent,
html.is-accessible .feedback-response {
  color: #000 !important;
  border-color: #000 !important;
  background: #fff !important;
}

@media (max-width: 767px) {
  .feedback-page {
    width: min(calc(100% - 32px), var(--max));
    padding-top: 128px;
  }

  .feedback-form__grid {
    grid-template-columns: 1fr;
  }

  .feedback-form__message {
    grid-column: auto;
  }

  .feedback-form__submit {
    width: 100%;
  }
}
