/* Elanza header — matches the Elanza Digital design system */

/* Force the Elanza design's font (Nunito) everywhere we've built content
   with Elementor HTML widgets — Woodmart's theme CSS otherwise targets
   headings directly (h1/h2/h3) with its own default font, which wins
   over inheritance from our wrapper's inline font-family. */
.elanza-header,
.elanza-header *,
.elanza-footer,
.elanza-footer *,
.elementor-widget-html,
.elementor-widget-html * {
	font-family: 'Nunito', sans-serif !important;
}

.elanza-header {
	position: sticky;
	top: 0;
	z-index: 999;
	width: 100%;
	background: linear-gradient(160deg, #02203D 0%, #03396C 46%, #0B0713 100%);
	background-color: #02203D;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	font-family: 'Nunito', sans-serif;
}

.elanza-header__inner {
	position: relative;
	max-width: 1920px;
	margin: 0 auto;
	height: 95px;
	padding: 0 clamp(20px, 4.2vw, 80px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(16px, 2vw, 40px);
}

.elanza-header__brand {
	flex: 0 0 auto;
	font-weight: 700;
	font-size: clamp(20px, 1.6vw, 26px);
	letter-spacing: 0.1em;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

.elanza-header__nav {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.1vw, 40px);
}

.elanza-header__nav > a,
.elanza-services-group > a {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
}

.elanza-header__nav > a:hover,
.elanza-services-group > a:hover {
	color: #9DBEDA;
}

.elanza-services-group {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
}

.elanza-caret {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.elanza-caret::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	transform: rotate(45deg) translate(-1px, -1px);
}

.elanza-mega-panel {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 30;
	background: rgba(6,6,8,0.97);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 14px;
	padding: 28px 32px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: 18px 44px;
	width: 600px;
	box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.elanza-services-group:hover .elanza-mega-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
	pointer-events: auto;
}

.elanza-mega-panel a {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	text-decoration: none;
	color: rgba(255,255,255,0.85);
}

.elanza-mega-panel a:hover {
	color: #fff;
}

.elanza-mega-panel a:hover .elanza-mega-icon {
	background: #245A8D;
}

.elanza-mega-icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	background: #03396C;
	flex: 0 0 auto;
	display: block;
}

.elanza-mega-title {
	display: block;
	font-weight: 700;
	font-size: 14.5px;
}

.elanza-mega-sub {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: rgba(255,255,255,0.55);
}

.elanza-mega-full {
	grid-column: 1 / -1;
}

.elanza-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.5vw, 26px);
}

.elanza-btn-speak {
	background: #03396C;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 24px;
	border-radius: 30px;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 6px 22px rgba(3,57,108,0.35);
	transition: background 0.2s ease;
}

.elanza-btn-speak:hover {
	background: #245A8D;
	color: #fff;
}

.elanza-nav-toggle {
	display: none;
	width: 34px;
	height: 30px;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.elanza-nav-toggle span {
	display: block;
	width: 30px;
	height: 2px;
	background: #fff;
}

.elanza-nav-toggle span:nth-child(2) {
	width: 22px;
	margin-left: auto;
}

.elanza-drawer-nav {
	display: none;
	flex-direction: column;
	border-top: 1px solid rgba(255,255,255,0.08);
	background: rgba(6,6,8,0.96);
	backdrop-filter: blur(14px);
	padding: 14px clamp(20px, 4.2vw, 80px) 30px;
}

.elanza-drawer-nav a {
	font-size: 17px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255,255,255,0.07);
}

.elanza-drawer-nav a:last-child {
	border-bottom: none;
}

.elanza-header.is-menu-open .elanza-drawer-nav {
	display: flex;
}

@media (max-width: 1180px) {
	.elanza-header__nav {
		display: none;
	}

	.elanza-nav-toggle {
		display: flex;
	}
}
