/* Sweet James Global Header — 2026 redesign. Scoped: every rule lives under .sjgh-root. */

.sjgh-root {
	--sj-navy: #0a1254;
	--sj-gold: #FFFF00;
	--sj-gold-hover: #F5F500;
	--sj-paper: #FAFAF7;
	--sj-ink: #0A0E2C;
	--sj-muted: #6B6F85;
	--sj-line: rgba(10, 14, 44, 0.10);
	--sj-success: #0E8A5F;
	--r-sm: 12px;
	--r-md: 16px;
	--r-lg: 20px;
	--r-xl: 24px;
	--r-pill: 999px;
	--e-1: 0 1px 2px rgba(10,14,44,.04), 0 2px 6px rgba(10,14,44,.04);
	--e-3: 0 4px 12px rgba(10,14,44,.08), 0 16px 32px rgba(10,14,44,.08);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 180ms;
	--dur-med: 320ms;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	font-size: 17px;
	line-height: 1.55;
}
.sjgh-root *, .sjgh-root *::before, .sjgh-root *::after { box-sizing: border-box; }
.sjgh-root a { text-decoration: none; color: inherit; }
.sjgh-root button { font-family: inherit; cursor: pointer; border: 0; background: none; margin: 0; }
.sjgh-root img { max-width: 100%; display: block; border: 0; }

/* ─── Theme/kit shield ───
 * The Elementor kit and theme set global a/button colors, fonts and paddings
 * that would bleed into a site-wide header; these overrides keep the header
 * self-contained no matter what page it renders on. */
.sjgh-root a, .sjgh-root button {
	font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: -0.005em !important;
	box-shadow: none !important;
	outline-offset: 2px;
}
.sjgh-root button {
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 999px;
	padding: 0;
	line-height: inherit !important;
}
.sjgh-announce, .sjgh-announce a, .sjgh-announce span { color: #fff !important; }
.sjgh-nav .sjgh-toplink { color: #fff !important; display: inline-flex !important; font-size: 15px !important; font-weight: 500 !important; padding: 10px 14px !important; }
.sjgh-item:hover > .sjgh-toplink, .sjgh-item.sjgh-open > .sjgh-toplink { background-color: rgba(255,255,255,.08) !important; }
.sjgh-phone-pill, .sjgh-phone-pill .sjgh-phone-num { color: #fff !important; }
.sjgh-cta { color: #0A0E2C !important; background-color: #FFFF00 !important; }
.sjgh-cta:hover { background-color: #F5F500 !important; }
.sjgh-panel a { color: #0A0E2C !important; }
.sjgh-panel .sjgh-col-head, .sjgh-panel-foot a { color: #0a1254 !important; }
.sjgh-drawer-panel a, .sjgh-drawer-panel button { color: #fff !important; }
.sjgh-drawer-panel .sjgh-cta { color: #0A0E2C !important; }
.sjgh-drawer-panel .sjgh-acc-link { color: rgba(255,255,255,0.85) !important; }
.sjgh-drawer-panel .sjgh-acc-sub { color: rgba(255,255,255,0.6) !important; }
.sjgh-burger, .sjgh-drawer-close { color: #fff !important; }

.sjgh-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ─── Announcement bar ─── */
.sjgh-announce { background: var(--sj-navy); color: #fff; font-size: 13px; padding: 10px 0; letter-spacing: 0.01em; }
.sjgh-announce .sjgh-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.sjgh-announce-left { display: flex; align-items: center; gap: 10px; }
.sjgh-announce-left a { text-decoration: none; }
.sjgh-announce-left a:hover { text-decoration: underline; }
.sjgh-announce-right { display: flex; gap: 24px; font-size: 12px; opacity: 0.8; }
.sjgh-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--sj-success); display: inline-block; animation: sjghPulse 2.4s infinite; }
@keyframes sjghPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(14,138,95,.5); }
	50% { box-shadow: 0 0 0 8px rgba(14,138,95,0); }
}

/* ─── Nav bar ─── */
.sjgh-nav {
	position: relative; z-index: 9990;
	background: var(--sj-navy); color: #fff;
	border-bottom: 1px solid transparent;
	transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.sjgh-nav.sjgh-fixed {
	position: fixed; top: 0; left: 0; right: 0;
	background: rgba(10, 18, 84, 0.72);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 1px 20px rgba(0,0,0,0.18);
}
body.admin-bar .sjgh-nav.sjgh-fixed { top: 32px; }
.sjgh-nav-spacer { display: none; }
.sjgh-nav-spacer.sjgh-active { display: block; }

.sjgh-nav-inner { display: flex; align-items: center; gap: 40px; padding: 18px 32px; }
/* Elementor's global `.elementor img { height: auto }` outranks a bare class rule */
.sjgh-logo img { height: 40px !important; width: auto !important; max-width: none !important; }

/* ─── Desktop links ─── */
.sjgh-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.sjgh-item { position: relative; }
.sjgh-toplink {
	color: inherit; padding: 10px 14px; font-size: 15px; font-weight: 500;
	display: flex; align-items: center; gap: 6px; letter-spacing: -0.005em;
	border-radius: var(--r-pill); background: transparent;
	transition: background var(--dur-fast) var(--ease-out);
	white-space: nowrap;
}
.sjgh-toplink svg { opacity: 0.7; margin-left: 4px; transition: transform var(--dur-fast) var(--ease-out); }
.sjgh-item:hover > .sjgh-toplink, .sjgh-item.sjgh-open > .sjgh-toplink { background: rgba(255,255,255,.08); }
.sjgh-item.sjgh-open > .sjgh-toplink svg { transform: rotate(180deg); }

/* ─── Panels ─── */
.sjgh-panel {
	position: absolute; top: 100%; left: 0;
	background: #fff; color: var(--sj-ink);
	box-shadow: var(--e-3); border: 1px solid var(--sj-line);
	display: none;
}
.sjgh-item.sjgh-open > .sjgh-panel { display: block; animation: sjghFadeDown .22s var(--ease-out); }
@keyframes sjghFadeDown {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.sjgh-panel--list { min-width: 240px; padding: 16px 8px 8px; border-radius: var(--r-lg); margin-top: 8px; }
.sjgh-panel--list a { display: block; padding: 12px 14px; font-size: 14px; border-radius: var(--r-sm); font-weight: 500; }
.sjgh-panel--list a:hover { background: var(--sj-paper); }

.sjgh-panel--mega { left: -20px; width: 640px; padding: 32px 24px 24px; border-radius: var(--r-xl); }
.sjgh-panel--cols { left: -20px; width: 640px; padding: 32px 24px 24px; border-radius: var(--r-xl); }
.sjgh-panel-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sj-muted); margin-bottom: 14px; }

.sjgh-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.sjgh-mega-grid a {
	display: flex; align-items: center; gap: 14px; padding: 10px 12px;
	border-radius: var(--r-md); transition: background var(--dur-fast) var(--ease-out);
}
.sjgh-mega-grid a:hover { background: var(--sj-paper); }
.sjgh-mega-ico {
	flex: 0 0 44px; height: 44px; border-radius: var(--r-md);
	background: var(--sj-paper); display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--sj-line);
}
.sjgh-mega-ico i { font-size: 18px; color: var(--sj-navy); }
.sjgh-mega-label { font-size: 14px; font-weight: 500; }

.sjgh-cols-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; }
.sjgh-col { display: flex; flex-direction: column; gap: 2px; }
.sjgh-col-head { font-size: 14px; font-weight: 700; color: var(--sj-navy); padding: 8px 10px; border-radius: var(--r-sm); }
.sjgh-col-head:hover { background: var(--sj-paper); }
.sjgh-col-link { font-size: 13.5px; font-weight: 500; color: var(--sj-ink); padding: 7px 10px; border-radius: var(--r-sm); }
.sjgh-col-link:hover { background: var(--sj-paper); }

.sjgh-panel-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sj-line); }
.sjgh-panel-foot a { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px; font-size: 14px; font-weight: 600; color: var(--sj-navy); }
.sjgh-panel-foot a i { font-size: 13px; }

/* ─── Right actions ─── */
.sjgh-actions { display: flex; gap: 12px; align-items: center; }
.sjgh-phone-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px 8px 8px; border-radius: var(--r-pill);
	font-size: 14px; font-weight: 600; color: #fff;
	transition: background var(--dur-fast) var(--ease-out);
	white-space: nowrap;
}
.sjgh-phone-pill:hover { background: rgba(255,255,255,.08); }
.sjgh-phone-dot {
	width: 28px; height: 28px; border-radius: 99px; background: var(--sj-gold);
	display: inline-flex; align-items: center; justify-content: center;
}
.sjgh-phone-dot i { font-size: 12px; color: var(--sj-ink); }
.sjgh-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 20px; min-height: 44px;
	font-weight: 600; font-size: 14px; letter-spacing: -0.005em;
	border-radius: var(--r-pill);
	background: var(--sj-gold); color: var(--sj-ink);
	box-shadow: var(--e-1); white-space: nowrap;
	transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.sjgh-cta:hover { background: var(--sj-gold-hover); box-shadow: var(--e-3); transform: translateY(-1px); color: var(--sj-ink); }
.sjgh-cta i { font-size: 12px; }
.sjgh-show-mobile { display: none; }
.sjgh-burger { display: none !important; width: 44px !important; height: 44px !important; align-items: center; justify-content: center; padding: 0; color: #fff; flex: 0 0 auto; }
.sjgh-burger svg, .sjgh-drawer-close svg { display: block !important; width: 22px !important; height: 22px !important; }
.sjgh-drawer-close svg { width: 16px !important; height: 16px !important; }

/* ─── Drawer ─── */
.sjgh-drawer { position: fixed; inset: 0; z-index: 99999; pointer-events: none; overflow: hidden; }
.sjgh-drawer.sjgh-open { pointer-events: auto; }
.sjgh-drawer-scrim {
	position: absolute; inset: 0; background: rgba(4,7,28,0.55);
	opacity: 0; transition: opacity 320ms var(--ease-out);
}
.sjgh-drawer.sjgh-open .sjgh-drawer-scrim { opacity: 1; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sjgh-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
	background: linear-gradient(45deg, #0a1254 33.33%, #003399 100%); color: #fff;
	transform: translateX(100%); transition: transform 380ms var(--ease-out);
	display: flex; flex-direction: column; padding: 18px 22px 26px; overflow-y: auto;
}
.sjgh-drawer.sjgh-open .sjgh-drawer-panel { transform: translateX(0); box-shadow: -16px 0 48px rgba(0,0,0,0.35); }
.sjgh-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sjgh-drawer-top img { height: 34px; width: auto; }
.sjgh-drawer-close {
	width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08);
	color: #fff; display: flex; align-items: center; justify-content: center; padding: 0;
}
.sjgh-drawer-body { flex: 1; }
.sjgh-acc { border-bottom: 1px solid rgba(255,255,255,0.12); }
.sjgh-acc-head {
	width: 100% !important; display: flex !important; justify-content: space-between; align-items: center;
	padding: 15px 0 !important; font-size: 16px !important; font-weight: 600 !important; color: #fff !important; text-align: left;
}
.sjgh-acc-head svg { transition: transform 240ms var(--ease-out); opacity: 0.7; flex: 0 0 auto; }
.sjgh-acc.sjgh-open .sjgh-acc-head svg { transform: rotate(180deg); }
.sjgh-acc-body { display: grid; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 320ms var(--ease-out), opacity 320ms var(--ease-out); }
.sjgh-acc.sjgh-open .sjgh-acc-body { max-height: 800px; opacity: 1; }
.sjgh-acc-inner { display: grid; gap: 2px; padding-bottom: 14px; }
.sjgh-acc-link {
	display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700;
	color: rgba(255,255,255,0.85); padding: 8px 0 8px 4px;
}
.sjgh-acc-link i { color: #fff; width: 18px; text-align: center; font-size: 13px; }
.sjgh-acc-link--nested { padding-left: 34px; font-weight: 500; }
.sjgh-acc-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding: 10px 0 4px 4px; display: block; }
.sjgh-drawer-foot { display: grid; gap: 10px; margin-top: 22px; }
.sjgh-drawer-foot .sjgh-cta { width: 100%; padding: 14px 20px; font-size: 15px; }
.sjgh-ghost {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 20px; border-radius: var(--r-pill);
	border: 1.5px solid rgba(255,255,255,0.35); color: #fff; font-weight: 600; font-size: 15px;
}
.sjgh-ghost i { font-size: 13px; }
.sjgh-drawer-note { font-size: 12px; color: rgba(255,255,255,0.62); text-align: center; }
.sjgh-drawer-note a { text-decoration: underline; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
	.sjgh-dot { animation: none; }
	.sjgh-item.sjgh-open > .sjgh-panel { animation: none; }
	.sjgh-drawer-scrim, .sjgh-drawer-panel, .sjgh-acc-body, .sjgh-cta { transition: none; }
}

/* ─── Squeeze: 7 top-level items — drop the phone pill first ─── */
@media (max-width: 1240px) {
	.sjgh-phone-pill { display: none; }
	.sjgh-nav-inner { gap: 24px; }
}

/* ─── Tablet / mobile (≤960px) ─── */
@media (max-width: 960px) {
	.sjgh-container { padding: 0 20px; }
	.sjgh-announce-right { display: none; }
	.sjgh-links { display: none; }
	.sjgh-phone-pill { display: none; }
	.sjgh-hide-mobile { display: none; }
	.sjgh-show-mobile { display: inline-flex; }
	.sjgh-burger { display: inline-flex !important; width: 40px !important; height: 40px !important; }
	.sjgh-nav-inner { padding: 12px 16px; gap: 10px; }
	.sjgh-logo img { height: 34px !important; }
	.sjgh-drawer-top img { height: 34px !important; width: auto !important; }
	.sjgh-actions { gap: 8px; margin-left: auto; }
	.sjgh-cta { padding: 10px 14px; font-size: 13px; min-height: 42px; }
	.sjgh-cta:hover { transform: none; box-shadow: var(--e-1); }
	body.admin-bar .sjgh-nav.sjgh-fixed { top: 46px; }
}
@media (max-width: 782px) {
	body.admin-bar .sjgh-nav.sjgh-fixed { top: 46px; }
}

/* ─── Sticky mobile call bar (footer template button 4516daf) ───
 * Site chrome: prototype's StickyMobileBar — full-width docked bar with
 * translucent navy blur, button spanning inside. Mobile/tablet only. */
@media (max-width: 960px) {
	.elementor-element-4516daf {
		position: fixed !important; left: 0 !important; right: 0 !important;
		bottom: 0 !important; top: auto !important;
		width: 100% !important; max-width: 100% !important; margin: 0 !important;
		z-index: 9980;
		background: rgba(10, 18, 84, 0.72);
		-webkit-backdrop-filter: saturate(180%) blur(18px);
		backdrop-filter: saturate(180%) blur(18px);
		border-top: 1px solid rgba(255,255,255,0.08);
		padding: 10px 12px calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
	}
	.elementor-element-4516daf .elementor-button-wrapper { width: 100%; }
	.elementor-element-4516daf a.elementor-button { width: 100% !important; display: flex !important; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.28) !important; }
	.elementor-location-footer { padding-bottom: 96px; }
}
@media (min-width: 961px) {
	.elementor-element-4516daf { display: none !important; }
}
