.quote-assistant { --qa-blue: var(--cta-custom-color, #2f6fed); --form-control-radius: 0; --form-picker-radius: 0; --form-option-radius: 0; position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 1100; color: #162840; font: 14px/1.5 Arial, sans-serif; }
/* Keep assistant controls square, with a circular launcher and rounded outer panel. */
.quote-assistant,
.quote-assistant *:not(.qa-launcher):not(.qa-panel),
.quote-assistant *::before,
.quote-assistant *::after { border-radius: 0 !important; }
@supports (appearance: base-select) {
  .quote-assistant select::picker(select) { border-radius: 0 !important; }
}
.quote-assistant[hidden], body[data-viewport="mobile"] .quote-assistant { display: none !important; }
.quote-assistant *, .quote-assistant *::before, .quote-assistant *::after { box-sizing: border-box; }
.quote-assistant [hidden] { display: none !important; }
.quote-assistant button, .quote-assistant input, .quote-assistant select, .quote-assistant textarea { font: inherit; }
.quote-assistant button { cursor: pointer; }
.quote-assistant button:disabled { cursor: wait; opacity: .65; }
.quote-assistant :focus-visible { outline: 3px solid #81afff; outline-offset: 3px; }
.qa-launcher { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--qa-blue); color: var(--cta-custom-text, #fff); box-shadow: 0 4px 8px #16284014, 0 8px 24px #1628402b, inset 0 1px 0 #ffffff24; }
.qa-launcher svg { display: block; width: 29px; height: 29px; }
.qa-launcher:hover { filter: brightness(.95); }
.qa-launcher[aria-expanded="true"] { visibility: hidden; pointer-events: none; }
.qa-panel { position: absolute; bottom: 0; right: 0; width: 370px; max-width: calc(100vw - 32px); height: min(640px, calc(100dvh - 112px)); max-height: min(640px, calc(100dvh - 112px)); display: flex; flex-direction: column; background: #fff; border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 48px #1628402b; }
.qa-header { display: flex; align-items: center; gap: 10px; padding: 15px 18px; background: #162840; color: #fff; flex-shrink: 0; }
.qa-header h2 { margin: 0; font-family: "Montserrat", Arial, sans-serif; font-size: 15px; font-weight: 700; color: inherit; line-height: 1.4; }
.qa-header p { margin: 3px 0 0; font-size: 11px; color: #c6d5e8; }
.qa-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff15; flex-shrink: 0; }
.qa-avatar svg { width: 20px; height: 20px; }
.qa-close { margin-left: auto; padding: 0; width: 32px; height: 32px; flex-shrink: 0; background: transparent; color: #d7e1ef; border: 0; border-radius: 8px; font-size: 24px !important; line-height: 1 !important; }
.qa-close:hover { background: #ffffff15; color: #fff; }
.qa-body { flex: 1; padding: 20px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; scrollbar-width: none; }
.qa-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.qa-body h3:focus { outline: none; }
.qa-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6b7c90; font-size: 11px; margin: 0 0 14px; }
.qa-progress-track { display: flex; gap: 4px; width: 80px; }
.qa-progress-track i { height: 3px; flex: 1; background: #e5eaf1; border-radius: 3px; }
.qa-progress-track .is-complete { background: var(--qa-blue); }
.qa-body h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; color: #162840; }
.qa-bubble { margin: 0 0 18px; padding: 0; font-size: 13px; line-height: 1.6; color: #637389; }
.qa-menu { display: grid; gap: 9px; }
.qa-menu > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 12px; border: 1px solid #e5eaf1; border-radius: 11px; background: #fafbfd; color: #162840; text-align: left; }
.qa-menu > button:hover { background: #edf3ff; border-color: #bfcee5; }
.qa-menu-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; color: var(--qa-blue); background: #fff; border: 1px solid #dce6f5; border-radius: 12px; box-shadow: 0 2px 4px #16284005; }
.qa-menu-icon svg { display: block; width: 24px; height: 24px; stroke-width: 1.75; }
.qa-menu strong, .qa-info-list strong { display: block; font-size: 13px; }
.qa-menu small { display: block; margin-top: 3px; color: #637389; font-size: 11px; }
.qa-info-list { display: grid; gap: 8px; }
.qa-info-list :is(a, button) { position: relative; display: block; padding: 12px 28px 12px 12px; border: 1px solid #c6d2e2; border-left: 3px solid #245ab5; border-radius: 8px; text-decoration: none; color: #162840; background: #fff; font-family: inherit; text-align: left; width: 100%; }
.qa-info-list :is(a, button)::after { content: ''; position: absolute; right: 13px; top: 18px; width: 6px; height: 6px; border: solid #245ab5; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.qa-info-list :is(a, button):hover { background: #e7efff; border-color: #245ab5; }
.qa-info-list strong { font-family: inherit; font-weight: 700; color: #162840; }
.qa-info-list span { display: block; font-size: 12px; line-height: 1.5; margin-top: 5px; color: #40516a; overflow-wrap: anywhere; }
.qa-help { color: #40516a; font-size: 12px; line-height: 1.6; margin: 16px 0 0; }
.qa-help a { color: #245ab5; text-decoration: underline; }
.qa-inline-quote { width: 100%; min-height: 46px; padding: 12px; margin-top: 14px; border: 1px solid var(--color-navy, #1f3557); border-radius: 9px; color: #fff; background: var(--color-navy, #1f3557); font-weight: 700 !important; }
.qa-inline-quote:hover { filter: brightness(.92); }
.qa-panel:is([data-view="services"], [data-view="careers"], [data-view="contact"]) .qa-body { background: #f0f3f8; }
.qa-panel:is([data-view="services"], [data-view="careers"], [data-view="contact"]) .qa-bubble { color: #40516a; }
.qa-panel[data-view="careers"] .qa-body { display: flex; flex-direction: column; }
.qa-panel[data-view="careers"] .qa-body > * { flex-shrink: 0; }
.qa-panel[data-view="careers"] .qa-help { margin-top: auto; padding-top: 16px; }
.qa-menu-return { padding: 6px 20px 10px; }
.qa-menu-return button { display: block; width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid #e5eaf1; border-radius: 10px; color: #52667f; background: #f8fafc; font-size: 12px; font-weight: 600; }
.qa-menu-return button:hover { background: #edf3ff; border-color: #c5d0df; color: #245ab5; }
.qa-body form { margin: 0; }
.qa-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.qa-field > span { font-size: 12px; font-weight: 700; }
.qa-field input, .qa-field select, .qa-field textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #c5d0df; border-radius: 9px; background: #fff; color: #162840; font-size: 16px; line-height: 24px; }
.qa-field textarea { min-height: 64px; resize: vertical; }
.qa-field input, .qa-field select { height: 42px; }
.qa-form textarea[name="additional_details"] { height: 64px; }
.qa-field:last-of-type, .qa-field:has(+ .qa-trap) { margin-bottom: 0; }
.qa-field input::placeholder, .qa-field textarea::placeholder { color: #6b7c90; font-size: 12px; }
.qa-services { margin: 0; padding: 0; border: 0; min-width: 0; }
.qa-services legend { font-size: 11px; color: #6b7c90; margin-bottom: 10px; }
.qa-services label { display: flex; flex-direction: row-reverse; justify-content: space-between; gap: 12px; align-items: center; min-height: 46px; padding: 11px 12px; border: 1px solid #e5eaf1; border-bottom: 0; margin: 0; background: #fafbfd; font-size: 13px; cursor: pointer; }
.qa-services label:first-of-type { border-radius: 10px 10px 0 0; }
.qa-services label:last-child { border-bottom: 1px solid #e5eaf1; border-radius: 0 0 10px 10px; }
.qa-services label:hover { background: #f0f5fb; }
.qa-services label:has(input:checked) { background: #edf3ff; color: #214c92; }
.qa-services input, .qa-consent input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--qa-blue); margin: 0; }
.qa-controls { flex-shrink: 0; }
.qa-controls:empty { display: none; }
.qa-actions { display: flex; align-items: center; gap: 10px; padding: 12px 20px 8px; background: #fff; }
.qa-primary { border: 0; border-radius: 7px; min-height: 36px; padding: 7px 16px; background: var(--qa-blue); color: var(--cta-custom-text, #fff); font-size: 13px; line-height: 20px; font-weight: 700 !important; flex: 1; }
.qa-back { border: 1px solid #c5d0df; border-radius: 7px; padding: 6px 12px; min-height: 36px; background: #fff; color: #162840; font-size: 13px; line-height: 20px; }
.qa-status { font-size: 12px; color: #8b331c; margin: 10px 0 0; overflow-wrap: anywhere; }
.qa-status:empty { display: none; }
.qa-footer { padding: 4px 16px 14px; text-align: center; color: #7a8798; font-size: 10px; flex-shrink: 0; }
.qa-review section { padding: 12px 0; border-bottom: 1px solid #e5eaf1; }
.qa-review section > div { display: flex; align-items: center; justify-content: space-between; }
.qa-review h4 { margin: 0; font-size: 12px; color: #162840; }
.qa-review button { border: 0; background: transparent; text-decoration: underline; color: #245ab5; padding: 8px; font-size: 12px; }
.qa-review p { margin: 6px 0; font-size: 13px; overflow-wrap: anywhere; white-space: pre-wrap; }
.qa-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; margin-top: 20px; }
.qa-consent a { color: #245ab5; text-decoration: underline; }
.qa-success { text-align: center; padding: 20px 0; }
.qa-success p { color: #40546d; }
.qa-success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e8f5ee; color: #246a45; font-size: 28px; margin-bottom: 20px; }
.qa-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Compact assistant with the site's navy header and soft blue-grey canvas. */
.qa-panel:not([hidden]) { transform-origin: bottom right; animation: qa-open 480ms cubic-bezier(.22, 1, .36, 1) both; }
.qa-panel:not([hidden]) .qa-menu > button { animation: qa-option-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
.qa-menu > button:nth-child(1) { animation-delay: 160ms; }
.qa-menu > button:nth-child(2) { animation-delay: 230ms; }
.qa-menu > button:nth-child(3) { animation-delay: 300ms; }
.qa-menu > button:nth-child(4) { animation-delay: 370ms; }
@keyframes qa-open {
  from { opacity: 0; transform: translateY(40px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes qa-option-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .qa-panel:not([hidden]),
  .qa-panel:not([hidden]) .qa-menu > button { animation: none; }
}
.qa-panel { width: 360px; height: min(520px, calc(100dvh - 48px)); max-height: min(520px, calc(100dvh - 48px)); border: 0; border-radius: 16px; background: #edf2f8; box-shadow: 0 8px 32px #16284033; }
.qa-header { padding: 10px 17px; background: var(--color-navy, #162840); color: #fff; border-bottom: 1px solid #ffffff14; }
.qa-header p { color: #c9d7eb; font-size: 12px; }
.qa-avatar { width: 34px; height: 34px; background: #ffffff14; color: #c6dcff; }
.qa-close { color: #c9d7eb; }
.qa-close:hover { background: #ffffff14; color: #fff; }
.qa-body { padding: 12px 17px; }
.qa-body h3 { margin-bottom: 4px; }
.qa-panel[data-view="home"] .qa-body { display: flex; flex-direction: column; padding-top: 18px; padding-bottom: 12px; }
.qa-panel[data-view="home"] :is(h3, .qa-bubble) { flex-shrink: 0; }
.qa-menu { flex: 1; gap: 0; grid-template-rows: repeat(4, minmax(76px, 1fr)); }
.qa-menu > button { position: relative; gap: 12px; min-height: 76px; padding: 14px 8px; border: 0; border-bottom: 1px solid #d5deeb; background: transparent; transition: background-color 150ms ease; }
.qa-menu > button:last-child { border-bottom: 0; }
.qa-menu > button:hover { background: #dfe9f8; border-color: #d5deeb; }
.qa-menu > button::after { content: ''; width: 6px; height: 6px; margin: 0 4px 0 auto; flex-shrink: 0; border: solid #657e9f; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.qa-menu > button:hover::after { border-color: var(--qa-blue); }
.qa-menu > button > span:nth-child(2) { min-width: 0; }
.qa-menu-icon { width: 28px; height: 32px; background: transparent; border: 0; box-shadow: none; }
.qa-panel:is([data-view="services"], [data-view="careers"], [data-view="contact"]) .qa-body { background: #edf2f8; }
.qa-bubble { margin-bottom: 14px; font-size: 12px; color: #40516a; }
.qa-menu small { color: #40516a; }
.qa-progress { gap: 8px; margin-bottom: 6px; color: #40516a; }
.qa-progress-track { flex: 1; width: auto; }
.qa-progress-track i { height: 5px; }
.qa-progress-track i:not(.is-complete) { background: #d3deec; }
.qa-panel[data-service-selection="true"] .qa-body { padding-top: 18px; padding-bottom: 12px; }
.qa-panel[data-service-selection="true"] .qa-bubble { margin-bottom: 14px; }
.qa-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 0; }
.qa-services legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.qa-services label, .qa-services label:first-of-type, .qa-services label:last-child { position: relative; flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 80px; padding: 18px 10px; border: 0; border-bottom: 1px solid #c6d3e3; border-radius: 0; background: transparent; color: #162840; font-size: 12px; line-height: 1.45; transition: background-color 150ms ease; }
.qa-services label:nth-last-child(-n+2) { border-bottom-color: transparent; }
.qa-services label:hover { background: #dfe9f8; }
.qa-services label:has(input:checked) { background: #dbe7fa; box-shadow: inset 3px 0 var(--qa-blue); color: #162840; }
.qa-services label:has(input:focus-visible) { outline: 3px solid #81afff; outline-offset: 3px; }
.qa-service-icon { display: grid; place-items: center; flex-shrink: 0; color: var(--qa-blue); }
.qa-service-icon svg { width: 26px; height: 26px; }
.qa-services input { position: absolute; right: 5px; top: 5px; appearance: none; width: 14px; height: 14px; margin: 0; border: 0; cursor: pointer; }
.qa-services input:checked { background: var(--qa-blue); }
.qa-services input:checked::after { content: ''; display: block; width: 4px; height: 7px; margin: 2px 0 0 5px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.qa-actions { padding: 8px 17px 6px; background: transparent; }
.qa-primary { border-radius: 7px; }
.qa-menu-return { padding: 0 17px 6px; }
.qa-menu-return button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 5px 12px; border: 0; background: transparent; color: #40516a; font-size: 11px; font-weight: 400; }
.qa-menu-return button:hover { background: transparent; color: #245ab5; text-decoration: underline; }
.qa-menu-return svg { width: 15px; height: 15px; flex-shrink: 0; }
.qa-footer { display: none; }
.qa-info-list { gap: 0; }
.qa-info-list :is(a, button) { padding: 16px 28px 16px 8px; border: 0; border-bottom: 1px solid #c6d3e3; background: transparent; }
.qa-info-list :is(a, button):last-child { border-bottom: 0; }
.qa-info-list :is(a, button):hover { background: #dfe9f8; border-color: #c6d3e3; }
.qa-info-list :is(a, button)::after { top: 22px; }
.quote-assistant .qa-field :is(input, select, textarea) { background-color: #d5e1ef; border-color: #6f89ab; color: #162840; box-shadow: none; }
.quote-assistant .qa-field :is(input, select, textarea):hover { border-color: #405f87; }
.quote-assistant .qa-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--qa-blue); outline-offset: 2px; border-color: var(--qa-blue); }
.qa-field :is(input, textarea)::placeholder { color: #40516a; }
.qa-back { background: transparent; border-color: #6f89ab; }
.qa-controls:not(:empty) { background: #dce6f2; border-top: 1px solid #adc0d8; }
.qa-menu > button, .qa-menu > button:hover,
.qa-info-list :is(a, button), .qa-info-list :is(a, button):hover { border-bottom-color: #adc0d8; }
.qa-services label, .qa-services label:first-of-type, .qa-services label:last-child { border-bottom-color: #adc0d8; }
.qa-services label:nth-last-child(-n+2) { border-bottom-color: transparent; }
.qa-services label > span:last-child { font-weight: 600; }
.qa-menu > button:last-child, .qa-info-list :is(a, button):last-child { border-bottom: 0; }
@supports (appearance: base-select) {
  .quote-assistant .qa-field select::picker(select) { background: #e3ebf5; border-color: #6f89ab; }
  .quote-assistant .qa-field select option { background: #e3ebf5; color: #162840; }
  .quote-assistant .qa-field select option:is(:hover, :focus) { background: #cbdcf3; }
  .quote-assistant .qa-field select option:checked { background: #c3d6f3; color: #162840; }
}
@media (max-width: 600px) {
  .quote-assistant { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .qa-launcher { width: 56px; height: 56px; }
  .qa-panel { height: min(520px, calc(100dvh - 32px)); max-height: min(520px, calc(100dvh - 32px)); width: min(360px, calc(100vw - 32px)); }
  .qa-body { padding: 18px 16px; }
  .qa-actions { padding: 8px 16px 6px; }
  .qa-menu-return { padding-inline: 16px; }
}
