.header .nav{gap:18px}
/* Match the reference header proportions while retaining the requested links. */
@media(min-width:1181px){
 .header .header-in{grid-template-columns:130px minmax(0,1fr) 384px;gap:36px}
 .jlt-demo .header .h-phone{display:inline-flex}
}
@media(min-width:1181px) and (max-width:1300px){
 .header .header-in{gap:24px}
 .header .nav{gap:12px}
}
@media(min-width:1181px) and (max-width:1500px){
 .header .header-in{grid-template-columns:130px minmax(0,1fr) auto;gap:24px}
 .jlt-demo .header .h-phone{display:none}
 .header .nav{gap:12px}
}
.jlt-nav-item{position:relative;flex:none;min-width:0}
.jlt-nav-heading{display:flex;align-items:center;gap:0}
.header .nav .jlt-nav-heading>a{padding-inline:0}
.jlt-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:44px;border-radius:10px;color:#b2b8bd}
.jlt-submenu-toggle:hover,.jlt-submenu-toggle[aria-expanded=true]{background:transparent;color:var(--blue)}
.header .nav .jlt-submenu-toggle svg{color:inherit;transition:transform .2s}
.jlt-submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.header .nav .jlt-submenu{position:absolute;z-index:50;inset-inline-start:0;top:calc(100% + 8px);width:310px;max-width:calc(100vw - 40px);padding:8px;background:#fff;border:1px solid #e6ebf2;border-radius:18px;box-shadow:0 16px 45px rgba(30,48,92,.14);list-style:none;margin:0}
.header .nav .jlt-submenu[hidden]{display:none}
.jlt-nav-item::after{content:"";position:absolute;top:100%;inset-inline:0;height:10px}
.header .nav .jlt-submenu a{display:flex;width:100%;height:auto;min-height:44px;padding:10px 12px;margin:0;border-radius:12px;white-space:normal;text-align:start;font-size:14px;line-height:1.8;color:#526177;transition:background .15s,color .15s}
.header .nav .jlt-submenu a:hover,.header .nav .jlt-submenu a:focus-visible,.header .nav .jlt-submenu a.on{background:#eef4fb;color:var(--blue)}
.header .nav .jlt-submenu li:first-child>a{font-weight:700;color:var(--blue);border-bottom:1px solid #edf0f5;border-radius:10px 10px 0 0;margin-bottom:4px}
.jlt-nav-item:has(.jlt-submenu .on)>.jlt-nav-heading>a{color:var(--blue)}
.header .nav .jlt-nav-heading>a.on,.header .nav>a.on:not(:first-child){background:transparent;color:var(--blue);width:auto;min-width:0;height:50px;padding:0;margin:0;border-radius:0;font-weight:inherit}
@media(max-width:1180px){
 .header .nav{gap:0}
 .jlt-nav-heading{justify-content:space-between;width:100%}
 .header .nav .jlt-nav-heading>a,.header .nav .jlt-nav-heading>a.on{flex:1;height:48px;padding-inline:14px}
 .header .nav>a.on:not(:first-child){height:48px;padding-inline:14px}
 .jlt-submenu-toggle{min-width:44px;height:44px}
 .header .nav .jlt-submenu{position:static;width:100%;max-width:none;margin:0 0 8px;padding:6px 10px;background:#f7f9fc;box-shadow:none;border:0;border-radius:14px}
 .header .nav .jlt-submenu a{min-height:44px;padding:10px 12px;font-size:14px}
 .jlt-nav-item::after{display:none}
}
@media(prefers-reduced-motion:reduce){.header .nav .jlt-submenu-toggle svg{transition:none}}
