/* Contact enquiry form extension */
.contact-band .wrap {
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 470px;
  font-size: 17px;
  line-height: 1.75;
}

.contact-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(6, 23, 37, .2);
}

.contact-note:first-of-type { margin-top: 32px; }
.contact-note span { font-size: 10px; font-weight: 800; }
.contact-note p { margin: 0; font-size: 13px !important; line-height: 1.55 !important; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: #f4fbff;
  box-shadow: 0 24px 55px rgba(5, 41, 42, .12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label > span { color: #163e45; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.contact-form label > span b, .consent span b { color: #087461; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b7d2d4;
  border-radius: 0;
  outline: none;
  background: #fff;
  color: #061725;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #087461;
  box-shadow: 0 0 0 3px rgba(8, 116, 97, .1);
}

.contact-form input:invalid { border-color: #b7d2d4; }
.contact-form input[aria-invalid="true"] { border-color: #b7372b; }
.contact-form textarea { min-height: 105px; resize: vertical; }
.contact-form .consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; }
.contact-form .consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #087461; }
.contact-form .consent span { font-size: 11px; font-weight: 500; line-height: 1.55; }
.form-error { min-height: 18px; margin: -5px 0 -8px; color: #9d251c !important; font-size: 12px !important; }
.submit-button { align-self: flex-start; margin-top: 0; border: 0; cursor: pointer; }

.form-success {
  min-height: 480px;
  align-self: stretch;
  padding: 58px 45px;
  background: #f4fbff;
}

.form-success[hidden] { display: none; }
.form-success > span { display: grid; width: 54px; height: 54px; margin-bottom: 70px; place-items: center; border-radius: 50%; background: #087461; color: #fff; font-size: 24px; }
.form-success h3 { margin: 16px 0; font: 400 42px/1.1 Georgia, serif; }
.form-success p:not(.section-kicker) { max-width: 450px; font-size: 15px; line-height: 1.7; }
.success-reset { margin-top: 22px; padding: 4px 0; border: 0; border-bottom: 1px solid #061725; background: transparent; color: #061725; font-size: 12px; font-weight: 800; cursor: pointer; }

@media (max-width: 900px) {
  .contact-band .wrap { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .form-success { min-height: 430px; padding: 42px 26px; }
  .form-success > span { margin-bottom: 52px; }
}
