/* Verto Header & Mega Menu */
body.vbh-on #masthead:not(.vbh),
body.vbh-on .site-header:not(.vbh),
body.vbh-on .ast-mobile-header-wrap,
body.vbh-on #ast-mobile-header { display: none !important; }

#verto-header {
	--vbh-gold: #334155;
	--vbh-gold-2: #ADB8C9;
	--vbh-navy: #0F172A;
	--vbh-ink: #0F172A;
	--vbh-ivory: #FFFFFF;
	--vbh-line: #CED5DF;
	--vbh-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
	--vbh-h: 84px;
	position: relative;
	z-index: 9990;
	font-family: inherit;
	color: var(--vbh-navy);
	-webkit-font-smoothing: antialiased;
}
#verto-header.is-sticky { position: sticky; top: 0; }
body.admin-bar #verto-header.is-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar #verto-header.is-sticky { top: 0; } }
#verto-header *, #verto-header *::before, #verto-header *::after { box-sizing: border-box; }
#verto-header ul { list-style: none; margin: 0; padding: 0; }
#verto-header li { margin: 0; }
#verto-header a { text-decoration: none; }
#verto-header button {
	appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
	font: inherit; color: inherit; line-height: inherit; letter-spacing: normal; text-transform: none; box-shadow: none; min-height: 0; width: auto; cursor: pointer; text-align: inherit;
}
#verto-header svg { display: block; flex-shrink: 0; }
#verto-header [hidden] { display: none !important; }
#verto-header :focus-visible { outline: 2px solid var(--vbh-gold); outline-offset: 2px; }
.vbh-grow { flex-grow: 1; }

/* ---------- Bar ---------- */
#verto-header .vbh-bar {
	position: relative; z-index: 3; height: var(--vbh-h); display: flex; align-items: center; gap: 28px;
	padding: 0 clamp(16px, 3.6vw, 56px); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--vbh-line);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s;
}
#verto-header.is-scrolled .vbh-bar { box-shadow: 0 14px 34px -24px rgba(15, 23, 42, .55); }
#verto-header .vbh-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--vbh-navy); font-weight: 800; font-size: 24px; letter-spacing: .06em; line-height: 1; }
#verto-header .vbh-logo img { display: block; width: auto; max-width: 220px; object-fit: contain; }
#verto-header .vbh-logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--vbh-navy); color: var(--vbh-gold); display: flex; align-items: center; justify-content: center; font-family: var(--vbh-mono); font-size: 15px; letter-spacing: 0; }
#verto-header .vbh-nav { flex-grow: 1; min-width: 0; }
#verto-header .vbh-links { display: flex; align-items: center; gap: 2px; }
#verto-header .vbh-li { position: relative; }
#verto-header .vbh-link {
	display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 12px; background: transparent;
	color: var(--vbh-navy); font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .2s, color .2s;
}
#verto-header .vbh-link:hover, #verto-header .vbh-link.is-current { background: rgba(15, 23, 42, .06); color: var(--vbh-navy); }
#verto-header .vbh-trigger[aria-expanded="true"] { background: var(--vbh-navy); color: var(--vbh-ivory); }
#verto-header .vbh-chev { display: flex; transition: transform .25s; }
#verto-header .vbh-chev svg { width: 14px; height: 14px; }
#verto-header .vbh-trigger[aria-expanded="true"] .vbh-chev { transform: rotate(180deg); color: var(--vbh-gold); }
#verto-header .vbh-count { font-family: var(--vbh-mono); font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 999px; background: var(--vbh-gold); color: var(--vbh-navy); line-height: 1; }
#verto-header .vbh-drop {
	position: absolute; left: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--vbh-line);
	box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s;
}
#verto-header .has-drop:hover .vbh-drop, #verto-header .has-drop:focus-within .vbh-drop { opacity: 1; visibility: visible; transform: none; }
#verto-header .vbh-drop a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--vbh-navy); font-weight: 500; }
#verto-header .vbh-drop a:hover { background: rgba(51, 65, 85, .14); color: var(--vbh-navy); }

#verto-header .vbh-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
#verto-header .vbh-search-btn {
	display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 14px; border-radius: 12px; border: 1px solid #D1D5DB; background: #FFFFFF;
	color: #64748B; font-size: 14px;
}
#verto-header .vbh-search-btn:hover { border-color: var(--vbh-gold); background: #FFFFFF; color: var(--vbh-navy); }
#verto-header .vbh-search-btn svg { color: var(--vbh-navy); width: 16px; height: 16px; }
#verto-header kbd, #verto-header .vbh-kbd { font-family: var(--vbh-mono); font-size: 11px; line-height: 1; padding: 4px 6px; border-radius: 6px; border: 1px solid #D1D5DB; color: var(--vbh-navy); background: transparent; box-shadow: none; }
#verto-header .vbh-icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #D1D5DB; background: #FFFFFF; color: var(--vbh-navy); display: none; align-items: center; justify-content: center; }
#verto-header .vbh-icon-btn:hover { border-color: var(--vbh-gold); background: #FFFFFF; color: var(--vbh-navy); }
#verto-header .vbh-cta {
	display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 14px; background: var(--vbh-gold); color: var(--vbh-navy);
	font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(51, 65, 85, .9); transition: transform .2s, box-shadow .2s;
}
#verto-header .vbh-cta:hover { color: var(--vbh-navy); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(51, 65, 85, .95); }
#verto-header .vbh-burger { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--vbh-navy); color: var(--vbh-ivory); font-weight: 700; font-size: 14px; }
#verto-header .vbh-burger:hover { background: var(--vbh-navy); color: var(--vbh-ivory); }
#verto-header .vbh-burger svg { color: var(--vbh-gold); }

/* ---------- Mega panels (desktop) ---------- */
@keyframes vbh-in { from { opacity: 0; transform: translate(-50%, -10px) scale(.985); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes vbh-scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes vbh-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes vbh-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes vbh-bar { 0% { width: 18%; } 50% { width: 86%; } 100% { width: 18%; } }
@keyframes vbh-pane { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
#verto-header .vbh-mega {
	position: absolute; left: 50%; top: calc(var(--vbh-h) + 10px); z-index: 2; width: min(1360px, calc(100vw - 48px)); transform: translateX(-50%);
	border-radius: 26px; background: var(--vbh-ink); color: var(--vbh-ivory); border: 1px solid rgba(51, 65, 85, .35);
	box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; animation: vbh-in .28s cubic-bezier(.2, .8, .2, 1);
	background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px;
}
#verto-header .vbh-mega::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(51, 65, 85, .22), transparent 65%); pointer-events: none; }
#verto-header .vbh-fx { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; pointer-events: none; }
#verto-header .vbh-fx::after { content: ""; display: block; width: 40%; height: 2px; background: linear-gradient(90deg, transparent, var(--vbh-gold), transparent); animation: vbh-scan 3.2s linear infinite; }
#verto-header .vbh-mega-top {
	position: relative; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 28px; border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-family: var(--vbh-mono); font-size: 12.5px; color: rgba(255, 255, 255, .6);
}
#verto-header .vbh-mega-top .vbh-kbd { border-color: rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .65); }
#verto-header .vbh-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; animation: vbh-pulse 1.8s ease-in-out infinite; }
#verto-header .vbh-path b { color: var(--vbh-gold); font-weight: 500; }
#verto-header .vbh-mega-foot {
	position: relative; display: flex; align-items: center; gap: 28px; min-height: 54px; padding: 10px 28px; border-top: 1px solid rgba(255, 255, 255, .08);
	background: rgba(9, 16, 26, .35); font-size: 13.5px; color: rgba(255, 255, 255, .75); flex-wrap: wrap;
}
#verto-header .vbh-mega-foot b { color: var(--vbh-gold); }
#verto-header .vbh-mega-foot a { color: var(--vbh-ivory); font-weight: 600; }
#verto-header .vbh-mega-foot a:hover { color: var(--vbh-gold); }

/* Services: rail + panes */
#verto-header .vbh-svc { position: relative; display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: repeat(var(--vbh-rows, 7), auto) 1fr; }
#verto-header .vbh-cat {
	grid-column: 1; display: flex; align-items: center; gap: 14px; width: calc(100% - 28px); min-height: 62px; margin: 0 14px; padding: 10px 14px; border-radius: 14px;
	border: 1px solid transparent; background: transparent; color: rgba(255, 255, 255, .82); text-align: left; transition: background .2s, border-color .2s, color .2s;
}
#verto-header .vbh-cat:first-of-type { margin-top: 16px; }
#verto-header .vbh-cat:hover { background: rgba(255, 255, 255, .06); color: var(--vbh-ivory); }
#verto-header .vbh-cat.is-active { background: linear-gradient(90deg, rgba(51, 65, 85, .22), rgba(51, 65, 85, .04)); border-color: rgba(51, 65, 85, .55); color: var(--vbh-ivory); }
#verto-header .vbh-cat-icon {
	width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: var(--vbh-mono); font-size: 13px; font-weight: 600;
	background: rgba(255, 255, 255, .06); color: var(--vbh-gold); border: 1px solid rgba(255, 255, 255, .1); transition: all .2s;
}
#verto-header .vbh-cat.is-active .vbh-cat-icon { background: var(--vbh-gold); color: var(--vbh-navy); border-color: var(--vbh-gold); }
#verto-header .vbh-cat-text { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
#verto-header .vbh-cat-name { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
#verto-header .vbh-cat-count { font-family: var(--vbh-mono); font-size: 11px; color: rgba(255, 255, 255, .5); }
#verto-header .vbh-cat-chev { display: flex; transition: transform .2s; }
#verto-header .vbh-cat.is-active .vbh-cat-chev { color: var(--vbh-gold); }
#verto-header .vbh-pane {
	grid-column: 2; grid-row: 1 / -1; display: none; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; padding: 24px 22px 22px 30px;
	border-left: 1px solid rgba(255, 255, 255, .08); min-width: 0;
}
#verto-header .vbh-pane.is-active { display: grid; animation: vbh-pane .3s ease; }
#verto-header .vbh-pane-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
#verto-header .vbh-pane-head { display: flex; align-items: flex-end; gap: 16px; }
#verto-header .vbh-pane-copy { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; min-width: 0; }
#verto-header .vbh-pane-tag { font-family: var(--vbh-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--vbh-gold); white-space: pre; }
#verto-header .vbh-pane-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--vbh-ivory); }
#verto-header .vbh-pane-text { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .7); max-width: 560px; }
#verto-header .vbh-pane-all {
	display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(51, 65, 85, .6); color: var(--vbh-gold);
	font-weight: 600; font-size: 14px; white-space: nowrap; flex-shrink: 0; transition: background .2s;
}
#verto-header .vbh-pane-all svg { width: 14px; height: 14px; }
#verto-header .vbh-pane-all:hover { background: rgba(51, 65, 85, .14); color: var(--vbh-gold); }
#verto-header .vbh-pane-all--foot { display: none; }
#verto-header .vbh-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#verto-header .vbh-sub {
	display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .10); background: rgba(255, 255, 255, .03);
	color: var(--vbh-ivory); transition: background .2s, border-color .2s, transform .2s; min-width: 0;
}
#verto-header a.vbh-sub:hover, #verto-header .vbh-sub.is-current { background: rgba(51, 65, 85, .10); border-color: rgba(51, 65, 85, .55); color: var(--vbh-ivory); }
#verto-header a.vbh-sub:hover { transform: translateY(-2px); }
#verto-header .vbh-sub-n {
	width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: rgba(51, 65, 85, .14); border: 1px solid rgba(51, 65, 85, .35); color: var(--vbh-gold);
	display: flex; align-items: center; justify-content: center; font-family: var(--vbh-mono); font-size: 12px; font-weight: 600;
}
#verto-header .vbh-sub-text { display: flex; flex-direction: column; gap: 3px; flex-grow: 1; min-width: 0; }
#verto-header .vbh-sub-t { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
#verto-header .vbh-sub-d { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .62); }
#verto-header .vbh-sub-go { color: var(--vbh-gold); opacity: 0; transform: translateX(-6px); transition: all .2s; }
#verto-header a.vbh-sub:hover .vbh-sub-go { opacity: 1; transform: none; }

#verto-header .vbh-feat {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; overflow: hidden;
	background: linear-gradient(160deg, #223044, var(--vbh-navy)); border: 1px solid rgba(51, 65, 85, .4); min-height: 360px;
}
#verto-header .vbh-live { align-self: flex-start; font-family: var(--vbh-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(74, 222, 128, .12); color: #86EFAC; border: 1px solid rgba(74, 222, 128, .35); }
#verto-header .vbh-feat-t { font-size: 22px; font-weight: 800; line-height: 1.15; color: var(--vbh-ivory); }
#verto-header .vbh-feat-d { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); padding-right: 6px; }
#verto-header .vbh-scan { display: flex; flex-direction: column; gap: 8px; padding: 12px; margin-right: 92px; border-radius: 12px; background: rgba(9, 16, 26, .45); border: 1px solid rgba(255, 255, 255, .08); font-family: var(--vbh-mono); font-size: 11px; color: rgba(255, 255, 255, .6); }
#verto-header .vbh-scan-txt i { font-style: normal; animation: vbh-pulse 1s infinite; }
#verto-header .vbh-scan-bar { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#verto-header .vbh-scan-bar i { display: block; height: 6px; border-radius: 3px; background: var(--vbh-gold); animation: vbh-bar 3s ease-in-out infinite; }
#verto-header .vbh-scan-bar--2 i { background: var(--vbh-ivory); opacity: .5; width: 60%; animation: none; }
#verto-header .vbh-feat-buddy { position: absolute; right: 10px; bottom: 62px; width: 138px; height: auto; animation: vbh-bob 4s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4)); pointer-events: none; }
#verto-header .vbh-feat-btn {
	margin-top: auto; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; background: var(--vbh-gold); color: var(--vbh-navy);
	font-weight: 700; font-size: 15px; position: relative; z-index: 1;
}
#verto-header .vbh-feat-btn:hover { color: var(--vbh-navy); filter: brightness(1.06); }

/* Tools mega */
#verto-header .vbh-tools-wrap { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); }
#verto-header .vbh-tools-intro { display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; border-right: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(51, 65, 85, .10), transparent 60%); }
#verto-header .vbh-cmd { font-family: var(--vbh-mono); font-size: 12px; letter-spacing: .08em; color: var(--vbh-gold); }
#verto-header .vbh-tools-h { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--vbh-ivory); }
#verto-header .vbh-tools-p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
#verto-header .vbh-ticks { display: flex; flex-direction: column; gap: 8px; font-family: var(--vbh-mono); font-size: 12.5px; color: rgba(255, 255, 255, .75); }
#verto-header .vbh-tools-intro img { width: 170px; height: auto; margin: auto auto 0; animation: vbh-bob 4s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
#verto-header .vbh-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 28px; }
#verto-header .vbh-tool {
	display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
	color: var(--vbh-ivory); transition: border-color .2s, transform .2s, background .2s;
}
#verto-header .vbh-tool:hover { border-color: rgba(51, 65, 85, .7); transform: translateY(-3px); background: rgba(51, 65, 85, .06); color: var(--vbh-ivory); }
#verto-header .vbh-tool-top { display: flex; align-items: center; gap: 8px; }
#verto-header .vbh-tool-tag { font-family: var(--vbh-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; background: rgba(51, 65, 85, .15); color: var(--vbh-gold); border: 1px solid rgba(51, 65, 85, .4); }
#verto-header .vbh-tool-time { margin-left: auto; font-family: var(--vbh-mono); font-size: 11px; color: rgba(255, 255, 255, .55); }
#verto-header .vbh-tool-t { font-size: 19px; font-weight: 800; line-height: 1.2; }
#verto-header .vbh-tool-d { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
#verto-header .vbh-tool-go { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--vbh-gold); }
#verto-header .vbh-tool-go svg { width: 14px; height: 14px; }

/* Scrim */
#verto-header .vbh-scrim { position: fixed; inset: 0; z-index: -1; background: rgba(9, 16, 26, .55); animation: vbh-fade .2s ease; }
@keyframes vbh-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Search (Ctrl+K) ---------- */
#verto-header .vbh-search { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(9, 16, 26, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: vbh-fade .18s ease; }
#verto-header .vbh-search-box { width: min(640px, 100%); border-radius: 20px; background: var(--vbh-ink); color: var(--vbh-ivory); border: 1px solid rgba(51, 65, 85, .45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); overflow: hidden; }
#verto-header .vbh-search-row { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 62px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--vbh-gold); }
#verto-header .vbh-search-row input { flex-grow: 1; min-width: 0; height: 60px; border: 0; background: transparent; color: var(--vbh-ivory); font: inherit; font-size: 18px; outline: none; box-shadow: none; padding: 0; }
#verto-header .vbh-search-row input::placeholder { color: rgba(255, 255, 255, .45); }
#verto-header .vbh-search-row .vbh-kbd { border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); padding: 6px 8px; }
#verto-header .vbh-results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
#verto-header .vbh-results a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--vbh-ivory); }
#verto-header .vbh-results a.is-on, #verto-header .vbh-results a:hover { background: rgba(51, 65, 85, .14); color: var(--vbh-ivory); }
#verto-header .vbh-results .vbh-r-k { flex-shrink: 0; min-width: 84px; font-family: var(--vbh-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--vbh-gold); }
#verto-header .vbh-results .vbh-r-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#verto-header .vbh-results .vbh-r-t b { font-weight: 700; }
#verto-header .vbh-results .vbh-r-t small { font-size: 12.5px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#verto-header .vbh-results mark { background: none; color: #93C5FD; text-decoration: underline; text-underline-offset: 3px; }
#verto-header .vbh-search-foot { display: flex; gap: 14px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-family: var(--vbh-mono); font-size: 11px; color: rgba(255, 255, 255, .45); }

/* ---------- Drawer (tablet + phone) ---------- */
#verto-header .vbh-drawer { position: fixed; inset: 0; z-index: 5; display: flex; flex-direction: column; background: var(--vbh-ink); color: var(--vbh-ivory); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; animation: vbh-fade .2s ease; }
body.admin-bar #verto-header .vbh-drawer { top: 46px; }
@media (min-width: 783px) { body.admin-bar #verto-header .vbh-drawer { top: 32px; } }
#verto-header .vbh-drawer-top { flex-shrink: 0; height: 68px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--vbh-ivory); border-bottom: 1px solid var(--vbh-line); }
#verto-header .vbh-drawer-top .vbh-logo { font-size: 21px; }
#verto-header .vbh-close { display: flex; background: var(--vbh-navy); border-color: var(--vbh-navy); color: var(--vbh-gold); }
#verto-header .vbh-close:hover { background: var(--vbh-navy); color: var(--vbh-gold); }
#verto-header .vbh-drawer-body { flex-grow: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 14px; }
#verto-header .vbh-drawer-body > * { flex-shrink: 0; }
#verto-header .vbh-drawer-search { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); font-size: 15px; text-align: left; }
#verto-header .vbh-drawer-search:hover { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
#verto-header .vbh-drawer-search svg { color: var(--vbh-gold); width: 16px; height: 16px; }
#verto-header .vbh-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
#verto-header .vbh-tab { flex: 1; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: transparent; color: var(--vbh-ivory); font-weight: 600; font-size: 15px; }
#verto-header .vbh-tab:hover { background: rgba(255, 255, 255, .06); color: var(--vbh-ivory); }
#verto-header .vbh-tab.is-active { background: var(--vbh-gold); color: var(--vbh-navy); font-weight: 700; }
#verto-header .vbh-tabpane { display: none; }
#verto-header .vbh-tabpane.is-active { display: block; }
#verto-header .vbh-drawer .vbh-svc { grid-template-columns: 280px minmax(0, 1fr); gap: 0 14px; }
#verto-header .vbh-drawer .vbh-cat { width: 100%; margin: 0 0 4px; min-height: 56px; padding: 8px 12px; }
#verto-header .vbh-drawer .vbh-cat:first-of-type { margin-top: 0; }
#verto-header .vbh-drawer .vbh-pane { grid-template-columns: minmax(0, 1fr); padding: 18px; border: 1px solid rgba(51, 65, 85, .35); border-radius: 18px; background: rgba(255, 255, 255, .04); align-self: start; }
#verto-header .vbh-drawer .vbh-pane-head .vbh-pane-all { display: none; }
#verto-header .vbh-drawer .vbh-pane-all--foot { display: inline-flex; align-self: flex-start; }
#verto-header .vbh-drawer .vbh-pane-title { font-size: 22px; }
#verto-header .vbh-drawer .vbh-subs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
#verto-header .vbh-drawer .vbh-sub { padding: 12px 14px; }
#verto-header .vbh-drawer .vbh-sub-go { opacity: 1; transform: none; }
#verto-header .vbh-drawer .vbh-feat { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 16px 18px; }
#verto-header .vbh-drawer .vbh-feat .vbh-scan, #verto-header .vbh-drawer .vbh-feat .vbh-feat-d { display: none; }
#verto-header .vbh-drawer .vbh-feat-buddy { position: static; width: 64px; order: -1; animation: none; }
#verto-header .vbh-drawer .vbh-feat-t { font-size: 17px; flex: 1 1 140px; }
#verto-header .vbh-drawer .vbh-live { order: -1; flex-basis: 100%; display: none; }
#verto-header .vbh-drawer .vbh-feat-btn { margin: 0; padding: 0 16px; height: 44px; font-size: 14px; }
#verto-header .vbh-drawer .vbh-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 10px; }
#verto-header .vbh-buddy-tip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: linear-gradient(120deg, #223044, var(--vbh-navy)); border: 1px solid rgba(51, 65, 85, .4); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
#verto-header .vbh-buddy-tip img { width: 62px; height: auto; flex-shrink: 0; animation: vbh-bob 4s ease-in-out infinite; }
#verto-header .vbh-drawer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#verto-header .vbh-drawer-links a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); color: var(--vbh-ivory); font-weight: 600; text-align: center; }
#verto-header .vbh-drawer-links a:hover { border-color: var(--vbh-gold); color: var(--vbh-gold); }
#verto-header .vbh-drawer-bar { flex-shrink: 0; display: flex; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); background: #0D1522; }
#verto-header .vbh-drawer-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); color: var(--vbh-ivory); font-weight: 600; font-size: 14px; white-space: nowrap; }
#verto-header .vbh-drawer-bar a svg { color: var(--vbh-gold); width: 17px; height: 17px; }
#verto-header .vbh-drawer-bar a.is-main { flex: 1.4; background: var(--vbh-gold); border-color: var(--vbh-gold); color: var(--vbh-navy); font-weight: 700; }
#verto-header .vbh-drawer-bar a:hover { color: var(--vbh-ivory); border-color: var(--vbh-gold); }
#verto-header .vbh-drawer-bar a.is-main:hover { color: var(--vbh-navy); }
html.vbh-lock, html.vbh-lock body { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
	#verto-header .vbh-bar { gap: 18px; }
	#verto-header .vbh-link { padding: 0 11px; font-size: 15px; }
	#verto-header .vbh-search-label, #verto-header .vbh-search-btn kbd { display: none; }
	#verto-header .vbh-search-btn { width: 44px; padding: 0; justify-content: center; }
	#verto-header .vbh-svc { grid-template-columns: 290px minmax(0, 1fr); }
	#verto-header .vbh-pane { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (min-width: 1100px) { #verto-header .vbh-drawer { display: none !important; } }
@media (max-width: 1099px) {
	#verto-header { --vbh-h: 72px; }
	#verto-header .vbh-nav, #verto-header .vbh-mega { display: none !important; }
	#verto-header .vbh-search-btn { display: flex; width: 44px; height: 44px; padding: 0; justify-content: center; flex: none; }
	#verto-header .vbh-bar { justify-content: space-between; }
	#verto-header .vbh-burger, #verto-header .vbh-icon-btn { display: flex; }
	#verto-header .vbh-actions { margin-left: auto; }
}
@media (max-width: 699px) {
	#verto-header { --vbh-h: 64px; }
	#verto-header .vbh-bar { gap: 8px; padding: 0 12px; }
	#verto-header .vbh-logo { font-size: 20px; }
	#verto-header .vbh-logo img { max-width: 150px; max-height: 40px; }
	#verto-header .vbh-cta { display: none; }
	#verto-header .vbh-burger { padding: 0 12px; }
	/* Phone menu: services open and close in place */
	#verto-header .vbh-drawer .vbh-svc { display: flex; flex-direction: column; gap: 6px; }
	#verto-header .vbh-drawer .vbh-cat { margin: 0; border-color: rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
	#verto-header .vbh-drawer .vbh-cat.is-active { border-radius: 14px 14px 0 0; border-bottom-color: transparent; }
	#verto-header .vbh-drawer .vbh-cat-chev { transform: rotate(90deg); }
	#verto-header .vbh-drawer .vbh-cat.is-active .vbh-cat-chev { transform: rotate(-90deg); }
	#verto-header .vbh-drawer .vbh-pane { margin-top: -6px; padding: 4px 12px 14px; border-radius: 0 0 14px 14px; border-top: 0; background: rgba(51, 65, 85, .07); border-color: rgba(51, 65, 85, .55); animation: none; }
	#verto-header .vbh-drawer .vbh-pane-copy { display: none; }
	#verto-header .vbh-drawer .vbh-subs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	#verto-header .vbh-drawer .vbh-sub { padding: 10px; gap: 0; min-height: 48px; background: rgba(9, 16, 26, .4); }
	#verto-header .vbh-drawer .vbh-sub-n, #verto-header .vbh-drawer .vbh-sub-d, #verto-header .vbh-drawer .vbh-sub-go { display: none; }
	#verto-header .vbh-drawer .vbh-sub-t { font-size: 13.5px; }
	#verto-header .vbh-drawer .vbh-feat { display: none; }
	#verto-header .vbh-drawer .vbh-tools { grid-template-columns: minmax(0, 1fr); }
	#verto-header .vbh-drawer .vbh-tool { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 14px; gap: 4px 12px; }
	#verto-header .vbh-drawer .vbh-tool-top { order: 0; }
	#verto-header .vbh-drawer .vbh-tool-time, #verto-header .vbh-drawer .vbh-tool-d, #verto-header .vbh-drawer .vbh-tool-go { display: none; }
	#verto-header .vbh-drawer .vbh-tool-t { font-size: 15.5px; flex: 1 1 0; }
	#verto-header .vbh-drawer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	#verto-header *, #verto-header *::before, #verto-header *::after { animation: none !important; transition: none !important; }
}
html.vbh-lock .vbx-buddy { display: none !important; }

/* ---------- Compact mega menu (desktop): fits on one screen ---------- */
@media (min-width: 1100px) {
	#verto-header .vbh-mega { top: calc(var(--vbh-h) + 6px); width: min(1280px, calc(100vw - 48px)); border-radius: 22px; max-height: calc(100vh - var(--vbh-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
	body.admin-bar #verto-header .vbh-mega { max-height: calc(100vh - var(--vbh-h) - 56px); }
	#verto-header .vbh-mega-top { height: 40px; padding: 0 22px; font-size: 11.5px; }
	#verto-header .vbh-mega-top .vbh-kbd { padding: 3px 6px; }
	#verto-header .vbh-svc { grid-template-columns: 290px minmax(0, 1fr); }
	#verto-header .vbh-cat { min-height: 0; margin: 0 10px; width: calc(100% - 20px); padding: 7px 10px; gap: 11px; border-radius: 12px; }
	#verto-header .vbh-cat:first-of-type { margin-top: 10px; }
	#verto-header .vbh-cat:last-of-type { margin-bottom: 10px; }
	#verto-header .vbh-cat-icon { width: 32px; height: 32px; border-radius: 9px; font-size: 11.5px; }
	#verto-header .vbh-cat-name { font-size: 14.5px; line-height: 1.25; }
	#verto-header .vbh-cat-count { font-size: 10.5px; }
	#verto-header .vbh-cat-chev svg { width: 15px; height: 15px; }
	#verto-header .vbh-pane { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; padding: 16px 18px 16px 22px; }
	#verto-header .vbh-pane-main { gap: 12px; }
	#verto-header .vbh-pane-head { gap: 12px; }
	#verto-header .vbh-pane-copy { gap: 4px; }
	#verto-header .vbh-pane-tag { font-size: 11px; }
	#verto-header .vbh-pane-title { font-size: 23px; }
	#verto-header .vbh-pane-text { font-size: 13.5px; line-height: 1.5; }
	#verto-header .vbh-pane-all { height: 36px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
	#verto-header .vbh-subs { gap: 8px; }
	#verto-header .vbh-sub { padding: 10px 12px; gap: 11px; border-radius: 12px; }
	#verto-header .vbh-sub-n { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
	#verto-header .vbh-sub-t { font-size: 14.5px; }
	#verto-header .vbh-sub-d { font-size: 12.5px; }
	#verto-header .vbh-feat { min-height: 0; padding: 16px; gap: 9px; border-radius: 16px; }
	#verto-header .vbh-live { font-size: 10px; padding: 4px 8px; }
	#verto-header .vbh-feat-t { font-size: 18px; }
	#verto-header .vbh-feat-d { font-size: 12.5px; }
	#verto-header .vbh-scan { padding: 9px 10px; gap: 6px; margin-right: 84px; }
	#verto-header .vbh-feat-buddy { width: 104px; bottom: 54px; right: 6px; }
	#verto-header .vbh-feat-btn { height: 40px; font-size: 14px; border-radius: 10px; margin-top: auto; }
	#verto-header .vbh-feat { padding-bottom: 16px; }
	#verto-header .vbh-feat-d { padding-right: 0; }
	#verto-header .vbh-mega-foot { min-height: 40px; padding: 8px 22px; gap: 22px; font-size: 12.5px; }
	/* Free Tools panel */
	#verto-header .vbh-tools-wrap { grid-template-columns: 290px minmax(0, 1fr); }
	#verto-header .vbh-tools-intro { padding: 22px; gap: 10px; }
	#verto-header .vbh-tools-h { font-size: 24px; }
	#verto-header .vbh-tools-p { font-size: 13.5px; line-height: 1.5; }
	#verto-header .vbh-ticks { font-size: 11.5px; gap: 6px; }
	#verto-header .vbh-tools-intro img { width: 120px; }
	#verto-header .vbh-tools { padding: 18px; gap: 12px; }
	#verto-header .vbh-tool { padding: 14px 16px; gap: 7px; border-radius: 14px; }
	#verto-header .vbh-tool-t { font-size: 16px; }
	#verto-header .vbh-tool-d { font-size: 12.5px; }
	#verto-header .vbh-tool-go { font-size: 13px; padding-top: 2px; }
}
@media (max-width: 699px) {
	#verto-header .vbh-drawer-bar { gap: 6px; padding-left: 12px; padding-right: 12px; }
	#verto-header .vbh-drawer-bar a { flex: 0.85; gap: 6px; padding: 0 8px; font-size: 13.5px; white-space: normal; line-height: 1.15; text-align: center; }
	#verto-header .vbh-drawer-bar a.is-main { flex: 1.5; font-size: 14px; }
}

/* Line the header up with the page content (same 1240px column as every section and the footer),
   and centre the menu between the logo and the buttons. */
#verto-header .vbh-bar {
	padding-left: max(clamp(20px, 4vw, 40px), calc((100% - 1240px) / 2 + clamp(20px, 4vw, 40px)));
	padding-right: max(clamp(20px, 4vw, 40px), calc((100% - 1240px) / 2 + clamp(20px, 4vw, 40px)));
}
@media (min-width: 1101px) {
	#verto-header .vbh-nav { display: flex; justify-content: center; }
	#verto-header .vbh-links { justify-content: center; }
}

/* Bigger header logo (update 52). */
#verto-header .vbh-bar .vbh-logo img { height: 52px !important; max-width: 280px; }
@media (max-width: 1100px) { #verto-header .vbh-bar .vbh-logo img { height: 48px !important; } }
@media (max-width: 699px) { #verto-header .vbh-bar .vbh-logo img { height: 44px !important; max-height: 44px; max-width: 180px; } }
