/* The compact global navigation shares the homepage hero's navy surface. */
.avm-subnav-space { display: none; }
.avm-subnav, .avm-subnav * { box-sizing: border-box; }
.avm-subnav { --avm-subnav-ground: #080a1d; --avm-subnav-copy: #e0e5f3; --avm-subnav-secondary: #acb8d3; --avm-subnav-active: #a5b5e8; --avm-subnav-rule: #2b3047; --avm-subnav-gutter: clamp(24px, 5.5vw, 88px); color: var(--avm-subnav-copy); font: 400 14px/1.4 Helvetica, Arial, sans-serif; }
.avm-subnav::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: var(--avm-subnav-rule); pointer-events: none; }
.avm-subnav :is(a, button, summary):focus-visible { outline: 2px solid #012fea; outline-offset: -2px; }
.avm-subnav__branch > summary:focus-visible, .avm-subnav__services a:focus-visible { outline-color: #f5a123; }
.avm-subnav ::selection { background: #012fea; color: #fff; }
.avm-subnav a { color: inherit; text-decoration: none; }
.avm-subnav__inner { display: flex; align-items: center; position: relative; max-width: 1440px; margin-inline: auto; padding-inline: var(--avm-subnav-gutter); gap: 28px; min-height: var(--avm-subnav-height); }
.avm-subnav__inner::after { content: ''; position: absolute; bottom: 0; inset-inline: var(--avm-subnav-gutter); height: 1px; background: var(--avm-subnav-rule); pointer-events: none; }
.avm-subnav__branch > summary { display: flex; align-items: center; gap: 8px; min-height: var(--avm-subnav-height); cursor: pointer; list-style: none; white-space: nowrap; }
.avm-subnav__branch > summary::-webkit-details-marker { display: none; }
.avm-subnav__branch > summary svg { width: 16px; height: 16px; flex: none; color: var(--avm-subnav-active); transition: transform .18s ease-out; }
.avm-subnav__branch[open] > summary { color: #fff; text-decoration: underline; text-decoration-color: #f5a123; text-underline-offset: 6px; }
.avm-subnav__branch[open] > summary svg { transform: rotate(180deg); }
.avm-subnav__services { display: flex; align-items: center; gap: 24px; margin-left: auto; color: var(--avm-subnav-secondary); font-size: 13px; }
.avm-subnav__services::before { content: ''; width: 1px; height: 16px; background: var(--avm-subnav-rule); }
.avm-subnav__services a { display: flex; align-items: center; min-height: var(--avm-subnav-height); white-space: nowrap; }
.avm-subnav__services a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color: #f5a123; text-underline-offset: 6px; }
.avm-subnav__panel { position: absolute; inset: 100% 0 auto; background: #fff; color: #080a1d; padding: 16px 28px 24px; box-shadow: 0 12px 24px rgb(8 10 29 / 14%); max-height: min(520px, calc(100dvh - var(--avm-header-height) - 64px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #aab5ca #f2f4f8; }
.avm-subnav__panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e2e6ed; margin-bottom: 12px; padding-bottom: 8px; }
.avm-subnav__panel-head > a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: #012fea; font-weight: 700; }
.avm-subnav__panel-head > button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 0; padding: 0; background: #edf0f5; color: #080a1d; cursor: pointer; }
.avm-subnav__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.avm-subnav__links li { min-width: 0; }
.avm-subnav__links a { display: flex; align-items: center; gap: 12px; min-height: 48px; height: 100%; padding: 8px; line-height: 1.4; overflow-wrap: anywhere; }
.avm-subnav__links a > span { min-width: 0; }
.avm-subnav__links small { display: block; font-size: 13px; color: #596174; }
.avm-subnav__links .avm-drawer__part-icon { flex: 0 0 28px; width: 28px; height: 28px; }
.avm-subnav__hose-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.avm-subnav__hose-groups > section { position: relative; min-width: 0; }
.avm-subnav__hose-groups > section + section::before { content: ''; position: absolute; inset-block: 8px; inset-inline-start: -20px; width: 1px; background: #e2e6ed; pointer-events: none; }
.avm-subnav__hose-groups h2 { margin: 8px; font: 700 16px/1.4 Helvetica, Arial, sans-serif; color: #080a1d; }
.avm-subnav__hose-groups .avm-subnav__links { grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (hover: hover) {
    .avm-subnav__branch > summary:hover, .avm-subnav__services a:hover { color: #fff; }
    .avm-subnav__branch > summary:hover { text-decoration: underline; text-decoration-color: var(--avm-subnav-active); text-underline-offset: 6px; }
    .avm-subnav__panel a:hover { color: #012fea; }
    .avm-subnav__links a:hover { background: #f2f5fa; }
    .avm-subnav__services a:hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (min-width: 761px) {
    .avm-subnav-space { --avm-subnav-height: 40px; display: block; height: var(--avm-subnav-height); }
    .avm-subnav { position: fixed; top: var(--avm-header-height); left: 0; right: 0; z-index: 54; background: var(--avm-subnav-ground); }
    html:has(.avm-subnav) { scroll-padding-top: calc(var(--avm-header-height, 80px) + 56px); }
}
@media (min-width: 761px) and (max-width: 1099px) {
    .avm-subnav-space { --avm-subnav-height: 44px; }
    .avm-subnav { --avm-subnav-gutter: 32px; font-size: 13px; }
    .avm-subnav__inner { gap: 16px; }
    .avm-subnav__services { gap: 16px; }
    .avm-subnav__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (pointer: coarse) { .avm-subnav-space { --avm-subnav-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .avm-subnav__branch > summary svg { transition: none; } }
