/* Shared public website controls; loaded after each page's own stylesheet. */
body { padding-bottom: 84px; }
.enquiry-launcher {
  position: fixed; right: max(20px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 19px; border: 1px solid #096c98;
  border-radius: 999px; background: #086b96; color: #fff;
  box-shadow: 0 5px 18px #174c6826; font-size: 15px; font-weight: 600;
  text-decoration: none; line-height: 1.3;
}
.enquiry-launcher svg { width: 24px; height: 24px; flex: none; }
.enquiry-launcher:hover { background: #075476; color: #fff; text-decoration: none; }
.enquiry-launcher:focus-visible, .enquiry-dialog :focus-visible { outline: 3px solid #2394c2; outline-offset: 3px; }
body.enquiry-is-open { overflow: hidden; }
.enquiry-dialog {
  width: min(680px, calc(100% - 32px)); max-width: none;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  box-sizing: border-box; margin: auto; padding: 28px;
  border: 1px solid #c9e2ed; border-radius: 20px; background: #fff;
  color: #173d51; box-shadow: 0 20px 80px #103e5638; overflow-y: auto;
  overscroll-behavior: contain; font-family: inherit;
}
.enquiry-dialog::backdrop { background: #12354b70; }
.enquiry-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.enquiry-dialog .enquiry-kicker { color: #247ba0; font-size: 10px; letter-spacing: 1.3px; margin: 0 0 8px; }
.enquiry-dialog h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.8px; margin: 0; font-weight: 600; }
.enquiry-close { flex: none; width: 44px; height: 44px; border: 1px solid #d7e8f0; border-radius: 50%; background: #f3faff; font-family: inherit; font-size: 28px; line-height: 1; color: #31566c; cursor: pointer; }
.enquiry-dialog #enquiry-intro { margin: 14px 0 18px; font-size: 14px; line-height: 1.6; color: #526e80; }
.enquiry-required { font-size: 12px; color: #526e80; margin: 0 0 12px; }
.enquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.enquiry-fields label, .enquiry-manual-copy label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 500; min-width: 0; }
.enquiry-dialog input, .enquiry-dialog select, .enquiry-dialog textarea {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px;
  padding: 10px 12px; border: 1px solid #bfd9e5; border-radius: 8px;
  background: #fbfdff; color: #173d51; font: inherit; font-size: 16px;
  line-height: 1.4; box-shadow: none;
}
.enquiry-dialog textarea { resize: vertical; }
.enquiry-dialog input::placeholder, .enquiry-dialog textarea::placeholder { color: #667e8c; opacity: 1; }
.enquiry-full { grid-column: 1 / -1; }
.enquiry-note { font-size: 12px; line-height: 1.6; color: #526e80; margin: 16px 0; }
.enquiry-note strong { font-weight: 500; overflow-wrap: anywhere; }
.enquiry-actions, .enquiry-fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.enquiry-primary { min-height: 46px; padding: 12px 20px; border: 1px solid #086b96; border-radius: 8px; background: #086b96; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.enquiry-primary:hover { background: #075476; }
.enquiry-actions a, .enquiry-fallback-actions a, .enquiry-copy { font-size: 13px; color: #126788; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-copy { padding: 10px 0; background: transparent; border: 0; cursor: pointer; font-family: inherit; }
.enquiry-result { margin-top: 18px; border-top: 1px solid #d5e7ef; padding-top: 16px; }
.enquiry-status { color: #315b70; font-size: 13px; line-height: 1.65; margin: 0 0 8px; }
.enquiry-manual-copy { margin-top: 12px; }
.enquiry-manual-copy textarea { margin-top: 8px; font-size: 13px; }
.enquiry-dialog [hidden] { display: none !important; }

/* Keep the menu within the header and let every service name wrap on phones. */
.header .services-dropdown { transform: none; box-sizing: border-box; }
.header .service-menu-grid a, .header .service-menu-grid a > span { min-width: 0; }
.header .service-menu-grid a > span { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .header.wrap { width: calc(100% - 32px); }
  .header .services-dropdown { padding: 16px; max-height: min(65vh, 520px); max-height: min(65dvh, calc(100dvh - 220px), 520px); overscroll-behavior: contain; }
  .header .service-menu-grid { grid-template-columns: 1fr; gap: 8px; }
  .header .service-menu-grid a { min-height: 62px; padding: 12px; gap: 12px; }
  .header .service-menu-grid .nav-icon { width: 30px; height: 30px; }
  .service-detail-page .service-hero-copy, .service-detail-page .service-information, .service-detail-page .scope-card { min-width: 0; }
  .service-detail-page .split-service-hero h1 { font-size: clamp(26px, 7vw, 31px); overflow-wrap: anywhere; }
  .service-detail-page .scope-card p { padding-inline: 18px; overflow-wrap: anywhere; }
}
@media (max-width: 500px) {
  .enquiry-launcher { right: 16px; font-size: 14px; padding: 11px 16px; }
  .enquiry-dialog { padding: 20px; border-radius: 16px; }
  .enquiry-dialog h2 { font-size: 25px; }
  .enquiry-fields { grid-template-columns: 1fr; gap: 14px; }
  .enquiry-actions { align-items: stretch; flex-direction: column; }
  .enquiry-actions > a { text-align: center; padding: 6px; }
}
@media print { .enquiry-launcher, .enquiry-dialog { display: none !important; } body { padding-bottom: 0; } }

.enquiry-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-primary:disabled { opacity: .7; cursor: default; }
