/* AO-QF-v1 qualified-contact form */
.contact-form__intro {
  margin: 0 0 20px;
  color: #496987;
  font-size: 14px;
  line-height: 1.7;
}

.contact-form .field label span {
  color: var(--ao-grey-500);
  font-size: 12px;
  font-weight: 400;
}

.contact-choice {
  margin: 4px 0 0;
  border: 0;
  padding: 0;
}

.contact-choice legend {
  margin-bottom: 9px;
  color: #214a74;
  font-size: 14px;
  font-weight: 500;
}

.contact-choice__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-choice__option {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ao-grey-200);
  border-radius: 8px;
  background: var(--ao-grey-050);
  padding: 12px;
  cursor: pointer;
}

.contact-choice__option:has(input:checked) {
  border-color: var(--ao-green-700);
  background: var(--ao-green-050);
}

.contact-choice__option input,
.contact-consent input {
  flex: 0 0 auto;
  accent-color: var(--ao-green-700);
}

.contact-choice__option span {
  display: grid;
}

.contact-choice__option strong {
  color: var(--ao-navy);
  font-size: 15px;
}

.contact-choice__option small {
  color: #64809b;
  font-size: 12px;
}

.contact-consent {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: #496987;
  font-size: 13px;
  line-height: 1.55;
}

.contact-consent input {
  margin-top: 3px;
}

.contact-form :is(input, select, textarea, button):focus-visible,
.contact-choice__option:focus-within,
.contact-consent:focus-within {
  outline: 3px solid rgba(0, 154, 96, 0.34);
  outline-offset: 2px;
}

.contact-form__submit {
  width: 100%;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-form__message {
  min-height: 22px;
  margin: 0;
  color: #2d5277;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .contact-choice__options {
    grid-template-columns: 1fr;
  }
}
