/* Free 15-minute call pop-up (ported from probityandethics.com, client, 25 Oct 2026; NZ palette, 30 Oct 2026).
 * Heading 'Book a Free Call' and the four questions on every screen size.
 * Laptop: a centred card over a dimmed page.
 * Phone: a compact card at the bottom of the screen with no dimming, so the
 * page stays readable behind it (Google's rule on intrusive pop-ups on mobile).
 * Closes on the x, Escape, or a click or tap anywhere outside the card. */
.hec-consult{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,26,92,.62);font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--ink,#1A1D21);line-height:1.55}
.hec-consult[hidden]{display:none}
.hec-consult *{box-sizing:border-box}
html.hec-consult-lock,html.hec-consult-lock body{overflow:hidden}
/* The Bulk Buy side card and the floating basket sit over the page; neither may cover the close button. */
html.hec-consult-open #hec-bulk-tab,html.hec-consult-open .hec-basket-float{display:none !important}
.hec-consult__card{position:relative;width:100%;max-width:540px;max-height:calc(100vh - 40px);overflow:auto;background:var(--wash,#F8FAFE);border-radius:14px;border-top:6px solid var(--gold,#F5B82E);box-shadow:0 24px 60px rgba(0,26,92,.35);padding:30px 32px 28px}
.hec-consult__card:focus{outline:none}
.hec-consult__x{position:absolute;top:8px;right:10px;width:44px;height:44px;border:0;background:none;font-size:30px;line-height:1;color:var(--grey,#5C6672);cursor:pointer;z-index:2;padding:0}
.hec-consult__x:hover{color:var(--ink,#1A1D21)}
.hec-consult__k{margin:0 0 10px !important;font-size:12.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#8A6200}
.hec-consult__h{margin:0 36px 18px 0 !important;font-family:Georgia,'Times New Roman',serif !important;font-size:30px !important;line-height:1.22 !important;font-weight:700;color:var(--navy,#00247D);letter-spacing:0 !important;text-transform:none}
.hec-consult__who{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.hec-consult__who img{width:84px;height:84px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:3px solid #fff;box-shadow:0 0 0 2px #C9D6EE}
.hec-consult__who p{margin:0 !important;font-family:inherit !important;line-height:1.4 !important}
.hec-consult__who b,.hec-consult__who span,.hec-consult__qs li,.hec-consult__free,.hec-consult__btn,.hec-consult__k{font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif !important}
.hec-consult__who b{display:block;font-size:16.5px;color:var(--navy,#00247D)}
.hec-consult__who span{display:block;font-size:13.5px;color:var(--grey,#5C6672);line-height:1.4;margin-top:2px}
.hec-consult__who .hec-consult__pg{font-size:14.5px;font-weight:600;color:var(--ink,#1A1D21)}
.hec-consult__who .hec-consult__sm{font-size:11.5px;color:#7C8894}
.hec-consult__qs{margin:0 0 16px;padding:0 0 0 20px;list-style:disc}
.hec-consult .hec-consult__qs li{margin:0 0 7px;padding-left:2px;font-size:15.5px !important;line-height:1.45 !important;list-style:disc !important}
/* The page designs set every li to 16px/28px !important inside their wrapper; the pop-up is outside it, but keep the sizes fixed. */
.hec-consult__qs li::marker{color:var(--navy-lt,#1F4BB0)}
.hec-consult__free{margin:0 0 16px;font-size:15px;font-weight:600;display:inline-block;background:#FFF1B8;border-left:4px solid #E0A800;border-radius:6px;padding:8px 12px;color:#3A2A00;color:var(--navy,#00247D)}
.hec-consult__btn{display:flex;width:100%;align-items:center;justify-content:center;min-height:52px;border:0;border-radius:8px;background:var(--gold,#F5B82E);color:var(--navy-dk,#001A5C) !important;font:inherit;font-size:16.5px;font-weight:700;text-decoration:none !important;cursor:pointer}
.hec-consult__btn:hover,.hec-consult__btn:focus{background:var(--gold-soft,#F8CD62)}
.hec-consult__btn:focus-visible{outline:3px solid var(--navy,#00247D);outline-offset:2px}
@media (max-width:760px){
  .hec-consult{inset:auto 0 0 0;padding:0;background:none;align-items:flex-end}
  .hec-consult__card{max-width:none;max-height:none;border-radius:14px 14px 0 0;padding:16px 16px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(0,26,92,.25)}
  .hec-consult__k{margin-bottom:6px;font-size:11.5px}
  .hec-consult__who{gap:10px;margin-bottom:10px}
  .hec-consult__who img{width:52px;height:52px;border-width:2px}
  .hec-consult__who b{font-size:15px}
  .hec-consult__who span{font-size:12px}
  .hec-consult__who .hec-consult__pg{font-size:13px}
  .hec-consult__who .hec-consult__sm{font-size:10.5px}
  .hec-consult__h{font-size:21px !important;margin:0 40px 10px 0 !important}
  .hec-consult__qs{margin:0 0 10px;padding:0 0 0 18px}
  .hec-consult .hec-consult__qs li{margin:0 0 3px;font-size:14px !important;line-height:1.35 !important}
  .hec-consult__free{font-size:13.5px;margin-bottom:10px;padding:6px 10px}
  .hec-consult__btn{min-height:48px;font-size:16px}
  html.hec-consult-lock,html.hec-consult-lock body{overflow:visible}
}
