/* Able Pro Design — header & mega menu (blue / white / green). All classes prefixed apd-. */
.apd-header, .apd-drawer, .apd-mobilebar {
  --apd-navy: #0B1F3C; --apd-blue: #1F6FEB; --apd-blue-deep: #1557C0; --apd-sky: #5AB0FF; --apd-ice: #EEF5FE;
  --apd-green: #16A34A; --apd-green-deep: #0F7F39; --apd-green-light: #4ADE80; --apd-mint: #E3F7EA;
  --apd-line: #DCE5F0; --apd-line-dark: #22406A; --apd-text: #0E1B2C; --apd-muted: #56657A;
  --apd-display: "Bricolage Grotesque", "Segoe UI", sans-serif; --apd-body: "Manrope", "Segoe UI", sans-serif; --apd-mono: "JetBrains Mono", ui-monospace, monospace;
  font-family: var(--apd-body); line-height: 1.5; box-sizing: border-box;
}
.apd-header *, .apd-drawer *, .apd-mobilebar * { box-sizing: border-box; }
.apd-header a, .apd-drawer a, .apd-mobilebar a { text-decoration: none; }
.apd-header button, .apd-drawer button { font: inherit; cursor: pointer; margin: 0; }
.apd-header ul { list-style: none; margin: 0; padding: 0; }
.apd-ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.apd-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* sticky host: the Elementor header wrapper that contains our header */
[data-elementor-type="header"]:has(.apd-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 999; }
.apd-header-host, .apd-header-host .elementor-widget-shortcode, .apd-header-host .elementor-shortcode { width: 100%; padding: 0 !important; margin: 0 !important; }
.apd-preview-wrap { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; }
.apd-previewing [data-elementor-type="header"]:not(:has(.apd-header)) { display: none; }

/* topbar */
.apd-topbar { background: var(--apd-navy); color: #A3B5CC; font-size: 13px; transition: margin .25s; }
.apd-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.apd-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; color: #fff; }
.apd-topbar a { color: #A3B5CC; display: inline-flex; gap: 6px; align-items: center; }
.apd-topbar a:hover { color: #fff; }
.apd-topbar .apd-ico { width: 15px; height: 15px; color: var(--apd-sky); }
.apd-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--apd-green-light); box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: apd-pulse 2s infinite; }
@keyframes apd-pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.apd-header.is-scrolled .apd-topbar { margin-top: -38px; }

/* main bar */
.apd-bar { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; position: relative; }
.apd-header.is-scrolled .apd-bar { border-color: var(--apd-line); box-shadow: 0 10px 26px -20px rgba(11,31,60,.45); }
.apd-bar__inner { display: flex; align-items: center; gap: 20px; height: 82px; transition: height .25s; }
.apd-header.is-scrolled .apd-bar__inner { height: 70px; }
.apd-logo { flex: none; display: flex; align-items: center; }
.apd-logo img { max-height: 54px; width: auto; height: auto; display: block; }
.apd-header.is-scrolled .apd-logo img { max-height: 46px; }
.apd-brand { display: flex; align-items: center; gap: 10px; color: var(--apd-navy); }
.apd-brand__mark { width: 44px; height: 44px; border-radius: 12px; background: var(--apd-blue); color: #fff; display: grid; place-items: center; }
.apd-brand__fan { width: 26px; height: 26px; }
.apd-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.apd-brand__text strong { font-family: var(--apd-display); font-size: 21px; font-weight: 800; }
.apd-brand__text small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--apd-green-deep); font-weight: 700; margin-top: 3px; }

/* nav */
.apd-nav { margin: 0 auto; }
.apd-nav__list { display: flex; gap: 2px; }
.apd-nav__item { position: static; }
.apd-has-drop { position: relative; }
.apd-nav__link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--apd-text) !important; font-family: var(--apd-body); font-weight: 700; font-size: 15px; white-space: nowrap; position: relative; transition: background .2s, color .2s; line-height: 1.2; }
.apd-nav__link:hover, .apd-nav__link[aria-expanded="true"] { background: var(--apd-ice); color: var(--apd-blue) !important; }
.apd-nav__link.is-current { color: var(--apd-blue) !important; }
.apd-nav__link.is-current::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--apd-green); }
.apd-chev { width: 13px; height: 13px; transition: transform .25s; }
.apd-nav__link[aria-expanded="true"] .apd-chev { transform: rotate(180deg); }

/* mega panel */
.apd-mega { position: absolute; left: 0; right: 0; top: 100%; padding: 12px 24px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.apd-has-mega.is-open .apd-mega { opacity: 1; visibility: visible; transform: none; }
.apd-mega__inner { max-width: 1232px; margin: 0 auto; background: #fff; border: 1px solid var(--apd-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11,31,60,.06), 0 24px 50px -20px rgba(11,31,60,.35); display: grid; grid-template-columns: 1fr 290px; overflow: hidden; }
.apd-mega__cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 8px; padding: 26px; }
.apd-mega__col { padding: 6px 10px; }
.apd-mega__head { display: flex; align-items: center; gap: 10px; font-family: var(--apd-display); font-weight: 800; font-size: 17px; color: var(--apd-navy) !important; margin-bottom: 12px; }
.apd-mega__head:hover { color: var(--apd-blue) !important; }
.apd-mega__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--apd-ice); color: var(--apd-blue); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.apd-mega__ico .apd-ico { width: 22px; height: 22px; }
.apd-mega__head:hover .apd-mega__ico { background: var(--apd-blue); color: #fff; }
.apd-mega__col ul { display: grid; gap: 2px; border-left: 2px solid var(--apd-ice); margin-left: 19px !important; padding-left: 12px !important; }
.apd-mega__col li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--apd-muted) !important; font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s, transform .15s; }
.apd-mega__col li a:hover, .apd-mega__col li a[aria-current] { background: var(--apd-ice); color: var(--apd-blue) !important; transform: translateX(3px); }
.apd-mega__promo { position: relative; overflow: hidden; background: linear-gradient(160deg, #1A4E9E 0%, var(--apd-navy) 100%); color: #fff; padding: 28px 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.apd-mega__fan { position: absolute; width: 190px; height: 190px; right: -50px; top: -50px; color: rgba(255,255,255,.1); animation: apd-spin 18s linear infinite; }
@keyframes apd-spin { to { transform: rotate(360deg); } }
.apd-mega__promo p { position: relative; font-family: var(--apd-display); font-size: 20px; line-height: 1.2; font-weight: 700; margin: 0 0 16px; color: #fff; }
.apd-mega__all { position: relative; margin-top: 12px; color: #C9D8EC !important; font-weight: 700; font-size: 14px; }
.apd-mega__all:hover { color: #fff !important; }
.apd-label { position: relative; display: inline-flex; align-items: center; gap: 8px; font-family: var(--apd-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--apd-green-light); margin-bottom: 8px; }
.apd-label::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* simple dropdown */
.apd-drop { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--apd-line); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(11,31,60,.35); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 50; }
.apd-has-drop.is-open .apd-drop { opacity: 1; visibility: visible; transform: none; }
.apd-drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--apd-text) !important; font-weight: 600; font-size: 14.5px; }
.apd-drop a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--apd-line); flex: none; transition: background .2s; }
.apd-drop a:hover { background: var(--apd-ice); color: var(--apd-blue) !important; }
.apd-drop a:hover::before { background: var(--apd-green); }
.apd-drop .apd-drop__all { margin-top: 6px; border-top: 1px solid var(--apd-line); border-radius: 0 0 8px 8px; color: var(--apd-blue) !important; justify-content: space-between; font-weight: 800; }
.apd-drop .apd-drop__all::before { display: none; }
.apd-drop__all .apd-ico { width: 15px; height: 15px; }

/* CTA */
.apd-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.apd-phone { display: flex; align-items: center; gap: 10px; color: var(--apd-navy) !important; font-family: var(--apd-display); font-weight: 800; font-size: 17px; line-height: 1.1; }
.apd-phone small { display: block; font-family: var(--apd-body); font-size: 11px; font-weight: 700; color: var(--apd-muted); letter-spacing: .06em; text-transform: uppercase; }
.apd-phone__ico { width: 40px; height: 40px; border-radius: 50%; background: var(--apd-mint); color: var(--apd-green); display: grid; place-items: center; transition: background .2s, color .2s; }
.apd-phone:hover .apd-phone__ico { background: var(--apd-green); color: #fff; }
.apd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; font-family: var(--apd-body); font-weight: 800; font-size: 15px; white-space: nowrap; transition: background .2s, transform .2s, color .2s, border-color .2s; line-height: 1.2; position: relative; }
.apd-btn:hover { transform: translateY(-2px); }
.apd-btn--green { background: var(--apd-green); color: #fff !important; box-shadow: 0 10px 22px -12px rgba(22,163,74,.8); }
.apd-btn--green:hover { background: var(--apd-green-deep); }
.apd-btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff !important; }
.apd-btn--outline-light:hover { background: #fff; color: var(--apd-navy) !important; }
.apd-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--apd-blue); color: #fff; place-items: center; padding: 0; }
.apd-burger .apd-ico { width: 22px; height: 22px; }

/* drawer */
.apd-drawer { position: fixed; inset: 0; z-index: 100000; background: rgba(11,31,60,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.apd-drawer.is-open { opacity: 1; visibility: visible; }
.apd-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--apd-navy); color: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); overflow-y: auto; }
.apd-drawer.is-open .apd-drawer__panel { transform: none; }
.apd-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--apd-line-dark); }
.apd-drawer__head .apd-label { margin: 0; }
.apd-drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--apd-line-dark); background: none; color: #fff; display: grid; place-items: center; padding: 0; }
.apd-drawer__nav { padding: 6px 22px; flex: 1; }
.apd-drawer__link, .apd-acc__btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 16px 0; border: 0; border-bottom: 1px solid var(--apd-line-dark); background: none; color: #fff !important; font-family: var(--apd-display); font-size: 21px; font-weight: 700; text-align: left; }
.apd-acc__btn[aria-expanded="true"] .apd-chev { transform: rotate(180deg); color: var(--apd-green-light); }
.apd-acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.apd-acc.is-open .apd-acc__body { grid-template-rows: 1fr; }
.apd-acc__inner { min-height: 0; overflow: hidden; }
.apd-acc__body a { display: flex; align-items: center; gap: 10px; color: #A3B5CC !important; font-weight: 600; }
.apd-acc__all { padding: 12px 0 6px; color: var(--apd-green-light) !important; font-weight: 800 !important; }
.apd-acc__head { padding: 12px 0 4px; color: #fff !important; font-weight: 800 !important; }
.apd-acc__head .apd-ico { color: var(--apd-sky); width: 20px; height: 20px; }
.apd-acc__sub { padding: 7px 0 7px 30px; font-size: 15px; }
.apd-acc__sub:hover { color: #fff !important; }
.apd-drawer__foot { padding: 20px 22px; display: grid; gap: 10px; border-top: 1px solid var(--apd-line-dark); }
.apd-mobilebar { display: none; }

/* responsive */
@media (max-width: 1280px) {
  .apd-phone small { display: none; }
  .apd-nav__link { padding: 10px 9px; font-size: 14.5px; }
}
@media (max-width: 1140px) {
  .apd-phone { display: none; }
}
@media (max-width: 1024px) {
  .apd-nav, .apd-cta__book { display: none; }
  .apd-burger { display: grid; }
  .apd-bar__inner { justify-content: space-between; height: 70px; }
  .apd-topbar__right { display: none; }
  .apd-mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990; background: var(--apd-navy); border-top: 1px solid var(--apd-line-dark); padding-bottom: env(safe-area-inset-bottom); }
  .apd-mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; color: #fff !important; font-weight: 800; font-family: var(--apd-body); }
  .apd-mobilebar__book { background: var(--apd-green); }
  body:has(.apd-mobilebar) { padding-bottom: 54px; }
}
@media (max-width: 680px) {
  .apd-wrap { padding: 0 16px; }
  .apd-topbar p { font-size: 12px; }
  .apd-logo img { max-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .apd-header *, .apd-drawer * { animation: none !important; transition: none !important; }
}

/* Hardening against theme / Elementor kit button & link styles */
.apd-header button.apd-nav__link, .apd-header button.apd-nav__link:hover, .apd-header button.apd-nav__link:focus,
.apd-drawer button.apd-acc__btn, .apd-drawer button.apd-acc__btn:hover, .apd-drawer button.apd-acc__btn:focus,
.apd-drawer button.apd-drawer__close, .apd-header button.apd-burger { border: 0 !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; min-height: 0 !important; }
.apd-header button.apd-nav__link { background: none !important; font-family: var(--apd-body) !important; font-size: 15px !important; font-weight: 700 !important; padding: 10px 12px !important; color: var(--apd-text) !important; }
.apd-header button.apd-nav__link:hover, .apd-header button.apd-nav__link[aria-expanded="true"] { background: var(--apd-ice) !important; color: var(--apd-blue) !important; }
.apd-drawer button.apd-acc__btn { background: none !important; color: #fff !important; font-family: var(--apd-display) !important; font-size: 21px !important; font-weight: 700 !important; padding: 16px 0 !important; border-bottom: 1px solid var(--apd-line-dark) !important; border-radius: 0 !important; }
.apd-drawer button.apd-drawer__close { background: none !important; color: #fff !important; border: 1px solid var(--apd-line-dark) !important; border-radius: 50% !important; padding: 0 !important; }
.apd-header button.apd-burger { background: var(--apd-blue) !important; color: #fff !important; padding: 0 !important; border-radius: 12px !important; }
@media (max-width: 1280px) { .apd-header button.apd-nav__link { padding: 10px 9px !important; font-size: 14.5px !important; } }
.apd-header a:focus-visible, .apd-header button:focus-visible, .apd-drawer a:focus-visible, .apd-drawer button:focus-visible { outline: 2px solid var(--apd-blue) !important; outline-offset: 2px; }
/* ---------- No red anywhere: Fluent Forms required marks & validation in brand colours ---------- */
.fluentform .ff-el-is-required.asterisk-right label::after,
.fluentform .ff-el-is-required.asterisk-left label::before { color: #1F6FEB !important; }
.fluentform .ff-el-is-error .ff-el-form-control,
.fluentform .ff-el-is-error .ff-el-form-control:focus { border-color: #F59E0B !important; box-shadow: 0 0 0 3px rgba(245,158,11,.18) !important; }
.fluentform .error, .fluentform .text-danger, .fluentform .ff-el-is-error label, .fluentform .ff-el-is-error .ff-el-form-check-label,
.ff-errors-in-stack, .ff-errors-in-stack .error, .ff-message-error { color: #0B1F3C !important; }
.fluentform .error.text-danger { font-weight: 600; font-size: 13px; }
.fluentform .error.text-danger::before { content: "\26A0\FE0E  "; color: #D97706; }
.ff-errors-in-stack, .ff-message-error { background: #FFF7E6 !important; border-color: #F59E0B !important; }

/* ---------- Homepage quick-request form card ---------- */
.ap-form-card { background: #fff; border: 1px solid #DCE5F0; border-radius: 20px; padding: 32px !important; box-shadow: 0 1px 2px rgba(11,31,60,.06), 0 24px 50px -28px rgba(11,31,60,.35); }
.ap-form-card .fluentform .ff-el-form-control { border: 1.5px solid #DCE5F0 !important; border-radius: 10px !important; background: #EEF5FE !important; padding: 12px 14px !important; font-size: 15px !important; color: #0E1B2C !important; }
.ap-form-card .fluentform .ff-el-form-control:focus { border-color: #1F6FEB !important; background: #fff !important; }
.ap-form-card .fluentform .ff-el-input--label label { font-weight: 700 !important; color: #0E1B2C !important; font-size: 14px !important; }
.ap-form-card .fluentform .ff-btn-submit { background: #16A34A !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 15px 30px !important; font-weight: 800 !important; font-size: 16px !important; width: 100%; box-shadow: 0 10px 24px -12px rgba(22,163,74,.8); }
.ap-form-card .fluentform .ff-btn-submit:hover { background: #0F7F39 !important; }
@media (max-width: 680px) { .ap-form-card { padding: 22px !important; } }
/* Placeholder for images whose files are missing */
img.apd-img-missing { object-fit: cover; background: #0B1F3C; }

/* Top bar: one tidy line on phones */
.apd-topbar__left { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apd-topbar .apd-topbar__call { display: none; color: #fff; font-weight: 700; white-space: nowrap; }
@media (max-width: 1024px) {
  .apd-topbar .apd-topbar__right { display: none; }
  .apd-topbar .apd-topbar__call { display: inline-flex; }
  .apd-topbar__inner { min-height: 36px; gap: 12px; }
}
@media (max-width: 680px) {
  .apd-topbar .apd-topbar__areas { display: none; }
  .apd-topbar p, .apd-topbar .apd-topbar__call { font-size: 12.5px; }
}
/* Accessible contrast for white text on green buttons (WCAG AA) */
.apd-mobilebar__book, .apd-cta__book { background: #15803D !important; }
.apd-cta__book:hover { background: #166534 !important; }
