header .nav{gap:20px}header #main-menu{padding:0;margin:0;align-items:center;gap:20px}header #main-menu>li{white-space:nowrap}header .expertise-menu{position:relative}header .expertise-menu summary{cursor:pointer;list-style:none;color:var(--muted);font-weight:600}header .expertise-menu summary::-webkit-details-marker{display:none}header .expertise-menu summary span{margin-left:5px}header .expertise-menu details[open] summary{color:var(--cp-blue)}header #main-menu .expertise-links{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:calc(100% + 16px);left:-18px;min-width:245px;margin:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px #0b22401a;list-style:none}header .expertise-links a{display:block;padding:12px;border-radius:8px;color:var(--navy)}header .expertise-links a:hover{background:#eef5fb}header .expertise-menu details:not([open]) .expertise-links{display:none!important}header .nav summary:focus-visible,header .nav a:focus-visible{outline:2px solid var(--cp-blue);outline-offset:4px}
@media(min-width:1251px){header #main-menu{display:flex!important;font-size:.82rem;gap:16px}header .nav .burger{display:none!important}header .nav-cta .btn-primary{white-space:nowrap;padding:12px 18px;font-size:.86rem}}
@media(max-width:1250px){header .nav{justify-content:flex-start;gap:16px}header .nav-cta{margin-left:auto}header .nav>nav{position:static}header .nav .burger{display:block!important;flex-shrink:0}header #main-menu{display:none!important}header #main-menu.is-open{display:flex!important;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:12px 22px 20px;background:#fff;border-bottom:1px solid var(--line);max-height:calc(100dvh - 74px);overflow-y:auto;box-shadow:0 12px 20px #0b224014}header #main-menu>li>a,header .expertise-menu summary{display:block;padding:13px 0;white-space:normal}header #main-menu .expertise-links{position:static;min-width:0;border:0;box-shadow:none;background:#f2f6fb;margin:0 0 8px;padding:4px 8px}header .nav-cta .btn-primary{white-space:nowrap}}
@media(max-width:400px){header .nav{gap:10px}header .nav-cta .btn-primary{font-size:.72rem;padding:10px}header .logo img{height:44px}header .nav .burger{padding:4px}}

/* Keep navigation disclosure independent from content accordions. */
header .expertise-menu details,header .expertise-menu details[open]{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
header .expertise-menu summary{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 0;margin:0;font:inherit;line-height:1.4;border:0;background:transparent}
header .expertise-menu summary::after{content:none!important;display:none!important}
header .expertise-menu summary span{display:block;width:7px;height:7px;margin:0 0 4px 2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);font-size:0;transition:transform .2s}
header .expertise-menu details[open] summary span{transform:rotate(225deg);margin-bottom:-3px}
header #main-menu .expertise-links{top:calc(100% + 8px);padding:9px;border-radius:16px;box-shadow:0 14px 36px #0b22401f}
header .expertise-links a{font-size:.88rem;font-weight:600;padding:13px 14px;line-height:1.5}
@media(max-width:1250px){header .expertise-menu summary{justify-content:space-between;padding:13px 0}header #main-menu .expertise-links{box-shadow:none;border-radius:10px}}
@media(prefers-reduced-motion:reduce){header .expertise-menu summary span{transition:none}}
