:root{
  --eqhf-navy:#0B1D3A;
  --eqhf-blue:#1E73BE;
  --eqhf-light-blue:#6DB6E8;
  --eqhf-muted:#6B7280;
  --eqhf-bg:#F3F4F6;
  --eqhf-border:#D9E2EC;
  --eqhf-white:#fff;
}
.eqhf-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.eqhf-site-header,.eqhf-site-footer{box-sizing:border-box;font-family:Poppins,"Segoe UI",Arial,sans-serif!important}
.eqhf-site-header *,.eqhf-site-footer *{box-sizing:border-box}
.eqhf-site-header{position:relative;z-index:9990;width:100%;border-bottom:1px solid rgba(11,29,58,.09);background:rgba(255,255,255,.97);box-shadow:0 5px 22px rgba(11,29,58,.055);backdrop-filter:saturate(130%) blur(10px);-webkit-backdrop-filter:saturate(130%) blur(10px)}
.eqhf-sticky-header .eqhf-site-header{position:sticky;top:0}
body.admin-bar.eqhf-sticky-header .eqhf-site-header{top:32px}
.eqhf-header-inner{width:min(1180px,calc(100% - 36px));min-height:78px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.eqhf-logo-link{display:inline-flex;align-items:center;text-decoration:none!important;flex:0 0 auto}
.eqhf-brand-lockup{display:inline-flex;align-items:center;gap:10px;line-height:1;text-decoration:none!important}
.eqhf-brand-mark{display:block;width:48px!important;height:48px!important;max-width:none!important;object-fit:contain}
.eqhf-brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.eqhf-brand-name{display:flex;align-items:flex-end;gap:5px;white-space:nowrap;color:var(--eqhf-navy)!important;font-size:22px!important;font-weight:700!important;letter-spacing:-.035em!important;line-height:1!important}
.eqhf-brand-name strong{font:inherit!important;color:var(--eqhf-navy)!important}
.eqhf-brand-name>span{color:var(--eqhf-blue)!important}
.eqhf-brand-name small{margin-left:-2px;margin-bottom:1px;color:var(--eqhf-navy)!important;font-size:10px!important;font-weight:600!important;letter-spacing:-.01em!important;line-height:1!important}
.eqhf-brand-tagline{color:var(--eqhf-navy)!important;font-size:7.5px!important;font-weight:600!important;letter-spacing:.105em!important;text-transform:uppercase!important;white-space:nowrap!important;line-height:1.15!important}
.eqhf-brand-tagline em{color:var(--eqhf-blue)!important;font:inherit!important;font-style:normal!important}
.eqhf-primary-nav{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;padding:0}
.eqhf-primary-nav>a,.eqhf-dropdown-toggle,.eqhf-my-quote{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;margin:0!important;padding:9px 11px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;color:var(--eqhf-navy)!important;font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer!important;white-space:nowrap}
.eqhf-primary-nav>a:hover,.eqhf-dropdown-toggle:hover,.eqhf-my-quote:hover{background:#EEF7FC!important;color:var(--eqhf-blue)!important}
.eqhf-primary-nav .eqhf-header-cta{margin-left:5px!important;padding:10px 17px!important;background:var(--eqhf-blue)!important;color:#fff!important;box-shadow:0 6px 16px rgba(30,115,190,.18)!important}
.eqhf-primary-nav .eqhf-header-cta:hover{background:#1766AA!important;color:#fff!important}
.eqhf-nav-dropdown{position:relative}
.eqhf-dropdown-toggle span{margin-left:6px;font-size:12px;transition:transform .16s ease}
.eqhf-nav-dropdown.is-open .eqhf-dropdown-toggle span{transform:rotate(180deg)}
.eqhf-dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;width:290px;padding:8px;border:1px solid var(--eqhf-border);border-radius:14px;background:#fff;box-shadow:0 16px 45px rgba(11,29,58,.14);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .15s ease,transform .15s ease,visibility .15s;z-index:100}
.eqhf-nav-dropdown.is-open .eqhf-dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.eqhf-dropdown-menu a{display:block!important;padding:11px 12px!important;border-radius:9px!important;color:var(--eqhf-navy)!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important;text-decoration:none!important}
.eqhf-dropdown-menu a:hover{background:#EEF7FC!important;color:var(--eqhf-blue)!important}
.eqhf-my-quote span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:7px;padding:0 6px;border-radius:999px;background:var(--eqhf-blue);color:#fff!important;font-size:11px!important;line-height:1!important}
.eqhf-menu-toggle{display:none!important;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;padding:10px!important;border:1px solid var(--eqhf-border)!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important}
.eqhf-menu-toggle i{display:block;width:21px;height:2px;margin:4px auto;border-radius:2px;background:var(--eqhf-navy);transition:transform .18s ease,opacity .18s ease}
.eqhf-menu-toggle.is-open i:nth-of-type(1){transform:translateY(6px) rotate(45deg)}
.eqhf-menu-toggle.is-open i:nth-of-type(2){opacity:0}
.eqhf-menu-toggle.is-open i:nth-of-type(3){transform:translateY(-6px) rotate(-45deg)}

/* Core's old in-page masthead is superseded by this proper site header. */
.eqhf-header-active .eq-home .eq-brand-masthead{display:none!important}
/* Give the homepage How It Works section a stable scroll destination via JS. */
#eq-how-it-works{scroll-margin-top:105px}
#eq-services{scroll-margin-top:105px}

.eqhf-site-footer{width:100%;margin-top:60px;background:var(--eqhf-navy);color:#fff}
.eqhf-footer-inner{width:min(1180px,calc(100% - 36px));margin:0 auto;padding:52px 0 42px;display:grid;grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(145px,.7fr));gap:42px}
.eqhf-footer-brand>a{display:inline-flex;text-decoration:none!important}
.eqhf-brand-lockup.is-light .eqhf-brand-name,.eqhf-brand-lockup.is-light .eqhf-brand-name strong,.eqhf-brand-lockup.is-light .eqhf-brand-name small{color:#fff!important}
.eqhf-brand-lockup.is-light .eqhf-brand-name>span,.eqhf-brand-lockup.is-light .eqhf-brand-tagline em{color:var(--eqhf-light-blue)!important}
.eqhf-brand-lockup.is-light .eqhf-brand-tagline{color:#fff!important}
.eqhf-footer-brand>p{max-width:390px;margin:18px 0 0!important;color:#C4D3E2!important;font-size:14px!important;line-height:1.65!important}
.eqhf-contact-lines{display:flex;flex-direction:column;gap:5px;margin-top:16px}
.eqhf-contact-lines a{color:#fff!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.eqhf-contact-lines a:hover{color:var(--eqhf-light-blue)!important}
.eqhf-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.eqhf-footer-column h2{margin:2px 0 8px!important;color:#fff!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.02em!important;text-transform:none!important}
.eqhf-footer-column a{padding:1px 0!important;color:#C4D3E2!important;font-size:13px!important;font-weight:500!important;line-height:1.45!important;text-decoration:none!important}
.eqhf-footer-column a:hover{color:#fff!important;text-decoration:none!important}
.eqhf-footer-bottom{border-top:1px solid rgba(255,255,255,.11)}
.eqhf-footer-bottom>div{width:min(1180px,calc(100% - 36px));min-height:64px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#9FB3C8;font-size:12px}
.eqhf-footer-bottom>div span+span{margin-left:18px}
.eqhf-footer-email{color:#C4D3E2!important;text-decoration:none!important;font-weight:600!important}
.eqhf-footer-email:hover{color:#fff!important;text-decoration:none!important}
.eqhf-header-fallback{display:contents}

@media(max-width:980px){
  .eqhf-header-inner{min-height:72px}
  .eqhf-menu-toggle{display:block!important}
  .eqhf-primary-nav{position:absolute;left:18px;right:18px;top:calc(100% + 7px);display:none;align-items:stretch;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--eqhf-border);border-radius:15px;background:#fff;box-shadow:0 18px 44px rgba(11,29,58,.16)}
  .eqhf-primary-nav.is-open{display:flex}
  .eqhf-primary-nav>a,.eqhf-dropdown-toggle,.eqhf-my-quote{width:100%!important;justify-content:flex-start!important;padding:11px 12px!important;text-align:left!important}
  .eqhf-primary-nav .eqhf-header-cta{margin:5px 0 0!important;justify-content:center!important}
  .eqhf-nav-dropdown{width:100%}
  .eqhf-dropdown-toggle{justify-content:space-between!important}
  .eqhf-dropdown-menu{position:static;width:100%;display:none;margin:2px 0 5px;padding:4px 8px;border:0;border-left:2px solid #D6E5F0;border-radius:0;background:#F8FBFE;box-shadow:none;opacity:1;visibility:visible;transform:none}
  .eqhf-nav-dropdown.is-open .eqhf-dropdown-menu{display:block}
  .eqhf-dropdown-menu a{padding:10px!important}
  .eqhf-footer-inner{grid-template-columns:1.35fr 1fr 1fr;gap:34px}.eqhf-footer-brand{grid-column:1/-1}
}
@media(max-width:782px){body.admin-bar.eqhf-sticky-header .eqhf-site-header{top:46px}}
@media(max-width:620px){
  .eqhf-header-inner{width:min(100% - 24px,1180px);min-height:68px}
  .eqhf-brand-mark{width:42px!important;height:42px!important}
  .eqhf-brand-name{font-size:19px!important}.eqhf-brand-name small{font-size:8px!important}.eqhf-brand-tagline{font-size:6.5px!important;letter-spacing:.08em!important}
  .eqhf-primary-nav{left:12px;right:12px}
  .eqhf-footer-inner{width:min(100% - 30px,1180px);grid-template-columns:1fr 1fr;gap:32px 22px;padding-top:42px}.eqhf-footer-brand{grid-column:1/-1}.eqhf-footer-column:last-child{grid-column:1/-1}
  .eqhf-footer-bottom>div{width:min(100% - 30px,1180px);padding:17px 0;display:block;line-height:1.7}.eqhf-footer-bottom>div span{display:block}.eqhf-footer-bottom>div span+span{margin-left:0}
}
@media(max-width:390px){.eqhf-brand-copy{gap:3px}.eqhf-brand-name{font-size:17px!important}.eqhf-brand-tagline{display:none}.eqhf-footer-inner{grid-template-columns:1fr}.eqhf-footer-brand,.eqhf-footer-column:last-child{grid-column:auto}}


/* My Quote fallback dialog: used only when Core does not expose its own basket drawer. */
.eqhf-basket-overlay{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(11,29,58,.48);font-family:Poppins,"Segoe UI",Arial,sans-serif}
.eqhf-basket-overlay.is-open{display:flex}
.eqhf-basket-dialog{position:relative;width:min(480px,100%);padding:28px;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(11,29,58,.28);color:var(--eqhf-navy)}
.eqhf-basket-dialog h2{margin:0 42px 12px 0!important;color:var(--eqhf-navy)!important;font-size:24px!important;line-height:1.2!important}
.eqhf-basket-dialog p{margin:0 0 10px!important;color:#52657c!important;font-size:14px!important;line-height:1.6!important}
.eqhf-basket-dialog .eqhf-basket-empty{color:var(--eqhf-navy)!important;font-size:17px!important;font-weight:800!important}
.eqhf-basket-close{position:absolute;top:14px;right:14px;width:36px;height:36px;padding:0!important;border:0!important;border-radius:10px!important;background:#eef4fa!important;color:var(--eqhf-navy)!important;font-size:26px!important;line-height:1!important;cursor:pointer!important}
.eqhf-basket-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.eqhf-basket-actions a,.eqhf-basket-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:10px 15px!important;border-radius:10px!important;font:700 14px/1.2 Poppins,"Segoe UI",Arial,sans-serif!important;text-decoration:none!important;cursor:pointer!important}
.eqhf-basket-secondary{border:1px solid var(--eqhf-border)!important;background:#fff!important;color:var(--eqhf-navy)!important}
.eqhf-basket-primary{border:1px solid var(--eqhf-blue)!important;background:var(--eqhf-blue)!important;color:#fff!important}
@media(max-width:520px){.eqhf-basket-dialog{padding:24px 20px}.eqhf-basket-actions{flex-direction:column-reverse}.eqhf-basket-actions a,.eqhf-basket-actions button{width:100%}}
