/* Contact Form 7 wrappers, feedback and submission states. */
.contact-form .wpcf7-form-control-wrap { display: block; min-width: 0; }
.contact-form .wpcf7-list-item { margin: 0; }
.contact-form__select::after { top: 20px; }
.contact-form__consent .wpcf7-list-item > label {
  display: flex; align-items: center; gap: 16px; min-height: 44px;
}
.contact-form .wpcf7-not-valid-tip { margin-top: 8px; color: #a12f29; font-size: 14px; line-height: 1.7; }
.contact-form .wpcf7-not-valid { border-color: #a12f29; }
.contact-form__submit { cursor: pointer; transition: background-color .2s; }
.contact-form__submit::after {
  position: absolute; right: 30px; width: 12px; height: 12px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); content: "";
}
.contact-form__submit:hover { background: var(--color-piano); }
.contact-form__submit:disabled { opacity: .6; cursor: wait; }
.contact-form :is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid var(--color-gold); outline-offset: 4px;
}
.contact-form__actions .wpcf7-spinner { margin: 16px 0 0; }
.wpcf7 .contact-form .wpcf7-response-output {
  margin: 16px 0 0; padding: 16px 20px; font-size: 15px; line-height: 1.9;
}
.wpcf7 .contact-form.sent .wpcf7-response-output { border-color: #638267; }
.wpcf7 .contact-form:is(.invalid, .unaccepted, .failed, .spam) .wpcf7-response-output { border-color: #a12f29; }
@media (max-width: 767px) {
  .contact-form__select::after { top: 16px; }
  .contact-form__consent .wpcf7-list-item > label { gap: 12px; }
  .contact-form__submit::after { right: 24px; width: 10px; height: 10px; }
}
