/* =========================================================
   Header — Fixed + Transparent → Solid on Scroll
   ========================================================= */

.elementor-location-header .elementor-top-section {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	transition:
		background-color 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
		padding-top 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
		padding-bottom 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
		box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
		backdrop-filter 0.4s ease,
		-webkit-backdrop-filter 0.4s ease;
}

/* Scrolled: dark frosted glass */
.elementor-location-header .elementor-top-section.lvc-header-scrolled {
	background-color: rgba(9, 22, 50, 0.92) !important;
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 24px rgba(0, 0, 0, 0.22);
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

/* Ensure header never clips the logo */
.elementor-location-header .elementor-top-section,
.elementor-location-header .elementor-top-section .elementor-container {
	overflow: visible !important;
}

/* ---- Header Layout: Nav | Logo (absolute center) | CTA ---- */

/* Container — flex with space-between, relative for abs logo */
.elementor-635 .elementor-element-608b415e > .elementor-container {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	position: relative !important;
}

/* Nav — shrink to content, CTA — fill remaining space (desktop only) */
@media (min-width: 1025px) {
	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-33193a6f {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: calc(50% - 90px) !important;
	}
	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-31c1f7f {
		flex: 1 1 0% !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* Nav — single line, left-aligned */
.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-33193a6f .elementor-widget-wrap {
	justify-content: flex-start !important;
}

.elementor-635 .elementor-element-33193a6f .ekit-wid-con,
.elementor-635 .elementor-element-33193a6f .elementskit-menu-container {
	white-space: nowrap !important;
}

.elementor-635 .elementor-element-33193a6f ul {
	white-space: nowrap !important;
	display: flex !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	flex-wrap: nowrap !important;
}

.elementor-635 .elementor-element-33193a6f ul li a {
	padding: 0 12px !important;
	font-size: 15px !important;
}

.elementor-635 .elementor-element-33193a6f ul li:first-child a {
	padding-left: 0 !important;
}

/* Logo — absolute center over entire container */
.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-451f30cd {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: auto !important;
	max-width: none !important;
	z-index: 2 !important;
	pointer-events: auto !important;
	text-align: center !important;
}

.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-451f30cd .elementor-widget-wrap {
	justify-content: center !important;
}

/* CTA — right-aligned, nowrap */
.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-31c1f7f .elementor-widget-wrap {
	justify-content: flex-end !important;
	flex-wrap: nowrap !important;
	gap: 12px !important;
}

/* Logo — match button height */
.elementor-location-header .elementor-top-section .elementor-widget-image img,
.elementor-location-header .elementor-top-section .elementskit-nav-logo img {
	max-height: 140px !important;
	width: auto;
	transition: max-height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Shrink logo further on scroll */
.elementor-location-header .elementor-top-section.lvc-header-scrolled .elementor-widget-image img,
.elementor-location-header .elementor-top-section.lvc-header-scrolled .elementskit-nav-logo img {
	max-height: 100px !important;
}

/* ===== Mobile: logo vertically centered, scaled for mobile ===== */
@media (max-width: 767px) {
	/* Hamburger column — constrain width */
	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-33193a6f {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: 48px !important;
		overflow: hidden !important;
	}

	/* CTA column — constrain width */
	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-31c1f7f {
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-451f30cd {
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
	}

	.elementor-location-header .elementor-top-section .elementor-widget-image img,
	.elementor-location-header .elementor-top-section .elementskit-nav-logo img {
		max-height: 70px !important;
	}

	.elementor-635 .elementor-element-608b415e > .elementor-container {
		min-height: 70px !important;
		padding: 8px 16px !important;
	}

	.elementor-635 .elementor-top-section {
		min-height: 70px !important;
	}
}

/* ===== Mobile/Tablet: compact scrolled header ===== */
@media (max-width: 1024px) {
	/* Hamburger column — constrain on tablet too */
	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-33193a6f {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: 48px !important;
		overflow: hidden !important;
	}

	.elementor-635 .elementor-element-608b415e .elementor-column.elementor-element-31c1f7f {
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.elementor-location-header .elementor-top-section.lvc-header-scrolled {
		padding-top: 2px !important;
		padding-bottom: 2px !important;
		min-height: 54px !important;
	}

	.elementor-635 .lvc-header-scrolled .elementor-element.elementor-element-608b415e > .elementor-container {
		min-height: 54px !important;
		padding: 2px 16px !important;
	}

	.elementor-location-header .lvc-header-scrolled .elementor-widget-image img {
		max-height: 50px !important;
		height: 50px !important;
	}
}
