/* A shared enquiry flow, within the site's existing navy/white/bronze palette. */
.contact-form.guided-form {
  display: block;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
  color: #0b1c2e;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-top: 3px solid #b78a4b;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .13);
}
.guided-form [hidden] { display: none !important; }
.enquiry-content, .enquiry-step { display: grid; gap: 24px; min-width: 0; }
.enquiry-heading h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.enquiry-heading p { margin: 0; color: #627082; font-size: .94rem; line-height: 1.55; }
.enquiry-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.enquiry-steps li { min-width: 0; }
.enquiry-steps button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 0 13px;
  color: #657184;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #e2e7ee;
  border-radius: 0;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.enquiry-steps button span { color: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .04em; }
.enquiry-steps button[aria-current="step"] { color: #0b1c2e; border-bottom-color: #a7773d; }
.enquiry-steps button.is-complete { color: #795226; border-bottom-color: #d5b383; }
.guided-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.guided-form legend { margin: 0 0 12px; padding: 0; color: #13253a; font-size: .9rem; font-weight: 650; }
.enquiry-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.enquiry-choice, .enquiry-reply-choices label { position: relative; min-width: 0; cursor: pointer; }
.enquiry-choice > input, .enquiry-reply-choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.enquiry-choice > span {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 87px;
  padding: 14px 12px;
  color: #13253a;
  background: #fff;
  border: 1px solid #ccd5e0;
  border-radius: 9px;
  transition: border-color 140ms, background 140ms;
}
.enquiry-choice strong { font-size: .875rem; line-height: 1.35; letter-spacing: -.02em; }
.enquiry-choice small { color: #627082; font-size: .75rem; line-height: 1.4; }
.enquiry-choice:hover > span { border-color: #9b7a4d; }
.enquiry-choice > input:checked + span { background: #f3f6f9; border-color: #173f65; box-shadow: inset 0 0 0 1px #173f65; }
.enquiry-choice > input:focus-visible + span, .enquiry-reply-choices input:focus-visible + span { outline: 3px solid #527ca5; outline-offset: 3px; }
.enquiry-unsure { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 8px; color: #627082; font-size: .8rem; cursor: pointer; }
.enquiry-unsure input { width: 15px; height: 15px; margin: 0; accent-color: #173f65; }
.guided-form .field { min-width: 0; gap: 8px; align-content: start; }
.guided-form .field label { color: #13253a; font-size: .86rem; font-weight: 650; }
.guided-form .field-optional { color: #657184; font-size: .79rem; font-weight: 400; }
.guided-form .field input, .guided-form .field select, .guided-form .field textarea {
  min-width: 0;
  min-height: 50px;
  padding: 12px 13px;
  color: #12283e;
  background: #f8fafc;
  border: 1px solid #cdd6e1;
  border-radius: 7px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  scroll-margin-top: 120px;
}
.guided-form .field textarea { min-height: 126px; }
.guided-form .field input::placeholder, .guided-form .field textarea::placeholder { color: #748093; opacity: 1; }
.guided-form .field input:focus, .guided-form .field select:focus, .guided-form .field textarea:focus { outline: 0; border-color: #1b527f; box-shadow: 0 0 0 3px rgba(27, 82, 127, .13); }
.guided-form .enquiry-hint, .enquiry-help { margin: 0; color: #657184; font-size: .8rem; line-height: 1.5; }
.enquiry-details { border-top: 1px solid #e3e8ef; border-bottom: 1px solid #e3e8ef; }
.enquiry-details summary { padding: 15px 0; color: #243e59; font-size: .86rem; font-weight: 600; cursor: pointer; }
.enquiry-details summary span { color: #68778a; font-size: .78rem; font-weight: 400; }
.enquiry-details .form-row { padding: 0 0 18px; }
.guided-form .button { min-height: 52px; font-size: .91rem; line-height: 1.4; }
.enquiry-next, .enquiry-actions > .button { display: flex; justify-content: space-between; gap: 16px; width: 100%; }
.enquiry-next > span, .enquiry-actions > .button > span { font-size: 1.2rem; }
.enquiry-recap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #f3f6f9; border-left: 3px solid #b78a4b; border-radius: 0 7px 7px 0; }
.enquiry-recap > div { min-width: 0; }
.enquiry-recap span { color: #637185; font-size: .75rem; }
.enquiry-recap p { margin: 5px 0 0; color: #20374f; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.enquiry-recap button { min-height: 44px; padding: 4px 0; color: #775122; background: none; border: 0; font: inherit; font-size: .76rem; text-align: right; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.enquiry-reply-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.enquiry-reply-choices span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px; color: #42566d; border: 1px solid #cdd6e1; border-radius: 7px; font-size: .87rem; font-weight: 550; }
.enquiry-reply-choices input:checked + span { color: #fff; background: #153b5c; border-color: #153b5c; }
.enquiry-reply .enquiry-help { margin-top: 10px; }
.guided-form .field-consent { margin: 0; color: #566477; font-size: .79rem; line-height: 1.55; }
.guided-form .field-consent a { color: #795226; padding: 0; }
.guided-form .field-consent input { width: 21px; height: 21px; margin-top: 2px; accent-color: #173f65; }
.enquiry-actions { display: flex; align-items: center; gap: 20px; }
.enquiry-actions > .button { flex: 1; }
.enquiry-back { min-height: 48px; padding: 8px 0; color: #4d6075; background: none; border: 0; font: inherit; font-size: .86rem; cursor: pointer; }
.enquiry-note { margin: 0; color: #657184; font-size: .77rem; line-height: 1.55; text-align: center; }
.enquiry-status { padding: 14px 16px; color: #8c2631; background: #fff3f2; border: 1px solid #ebc4c5; border-radius: 7px; font-size: .88rem; line-height: 1.5; scroll-margin-top: 120px; }
.enquiry-status[data-kind="info"] { color: #244e73; background: #eef5fb; border-color: #c2d4e5; }
.enquiry-field-error { margin: 0; color: #a12634; font-size: .78rem; line-height: 1.5; }
.guided-form .field [aria-invalid="true"] { border-color: #b13240; }
.guided-form button:disabled { opacity: .65; cursor: wait; }
.enquiry-success { display: grid; justify-items: start; gap: 18px; padding: 14px 0; }
.enquiry-success-mark { display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: #173f65; border-radius: 50%; font-size: 1.55rem; }
.enquiry-success h3 { margin: 0; color: #0b1c2e; font-size: 1.85rem; line-height: 1.2; letter-spacing: -.035em; }
.enquiry-success p { margin: 0 0 8px; color: #627082; line-height: 1.65; }
.enquiry-success .button-secondary { color: #183b5c; background: #fff; border-color: #aab9ca; }
@media (max-width: 640px) {
  .contact-form.guided-form { padding: 24px 18px; border-radius: 12px; }
  .enquiry-content, .enquiry-step { gap: 22px; }
  .enquiry-heading h3 { font-size: 1.55rem; }
  .enquiry-heading p { font-size: .87rem; }
  .enquiry-steps { gap: 12px; }
  .enquiry-steps button { gap: 7px; font-size: .79rem; }
  .enquiry-choice > span { padding: 12px 9px; }
  .enquiry-choice strong { font-size: .82rem; }
  .enquiry-recap { gap: 12px; padding: 12px; }
  .enquiry-recap button { max-width: 76px; }
  .enquiry-actions { gap: 16px; }
  .guided-form .button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .enquiry-choice > span { transition: none; }
}
