.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #cbddeb;
  border-top: 5px solid #ffdd00;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 31, 54, .12);
}
.enquiry-panel { padding: clamp(24px, 4vw, 48px); min-width: 0; }
.contact-grid h2 {
  margin: 0 0 18px;
  font: clamp(2rem, 3.5vw, 2.8rem)/1.1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.035em;
}
.form-intro { max-width: 620px; color: #40566a; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.contact-grid form { margin-top: 28px; }
.contact-grid form p { margin: 0 0 20px; }
.contact-grid label { display: block; margin-bottom: 7px; font-weight: 700; }
.contact-grid input:not([type="checkbox"]), .contact-grid textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #687f91;
  border-radius: 9px; background: #f7fafc; color: #09213a; font: inherit;
}
.contact-grid textarea { resize: vertical; min-height: 150px; }
.contact-grid input:focus-visible, .contact-grid textarea:focus-visible {
  outline: 3px solid #005fcc; outline-offset: 2px; border-color: #0568e8;
}
.service-options { min-width: 0; margin: 8px 0 24px; padding: 18px; border: 1px solid #cbddeb; border-radius: 12px; background: #f4f8fc; }
.service-options legend { padding: 0 7px; font-weight: 800; }
.contact-grid .field-hint { color: #40566a; font-size: .88rem; margin-bottom: 14px; }
.service-choices { display: grid; gap: 9px; }
.service-choices label {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 12px;
  border: 1px solid #d8e3ec; border-radius: 8px; background: #fff; cursor: pointer;
  font-size: .94rem; font-weight: 600;
}
.service-choices label:hover { border-color: #0969e8; }
.service-choices label:has(input:checked) { background: #e8f2ff; border-color: #0969e8; }
.service-choices input { width: 19px; height: 19px; flex-shrink: 0; margin: 0; accent-color: #0969e8; }
.form-note { margin-top: 17px !important; color: #40566a; font-size: .82rem; }
.contact-details {
  padding: clamp(24px, 3.5vw, 40px);
  background: linear-gradient(155deg, #0a3558, #071b2c);
  color: #fff; min-width: 0;
}
.contact-details .eyebrow { color: #ffdd00; }
.contact-details address, .contact-details p { color: #d7e6f2; font-style: normal; }
.contact-details address { padding: 22px 0; border-top: 1px solid #ffffff26; border-bottom: 1px solid #ffffff26; }
.contact-details strong { color: #fff; }
.contact-details a { color: #ffdd00; font-weight: 800; overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-details a:focus-visible { outline-color: #ffdd00; }
.contact-details a[href^="tel:"] { font-size: 1.6rem; text-decoration: none; }
@media (max-width: 840px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry-panel, .contact-details { padding: 24px 20px; }
  .service-options { padding: 12px; }
  .contact-grid .button { width: 100%; }
}

.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { color: #174a2e; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status.is-error { color: #9b2525; }
.form-status:focus-visible { outline: 3px solid #005fcc; outline-offset: 4px; }
.contact-grid button:disabled { opacity: .7; cursor: wait; }

/* Keep the single submit action prominent beneath the comments field. */
#enquiry-form .enquiry-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  margin-top: 8px;
  background: #075ccc;
  border: 2px solid #075ccc;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  visibility: visible;
}
#enquiry-form .enquiry-submit:hover { background: #004aa9; border-color: #004aa9; }
