/**
 * Airox Header widget styles.
 * Everything is scoped under .airox-header / .airox-offcanvas to avoid
 * conflicts with the theme or other plugins.
 *
 * Colors:  yellow #CCD99C | text #F2F2F2 | off-canvas bg #000000
 */

.airox-header {
	position: fixed;
	top: 28px;
	left: 0;
	width: 100%;
	padding: 0 30px;
	box-sizing: border-box;
	z-index: 9999;
	color: #F2F2F2;
	font-family: "Helvetica Neue", Arial, sans-serif;
}

.airox-header::before {
	display: none;
}

/*
 * Floating glass capsule.
 * The translucent black surface and backdrop blur let the page move visibly
 * underneath the fixed header, matching the supplied scrolling reference.
 */
.airox-header__inner {
	position: relative;
	width: 100%;
	max-width: 1780px;
	margin: 0 auto;
	background:
		linear-gradient(100deg,
			rgba(4, 4, 5, .88) 0%,
			rgba(10, 10, 13, .80) 66%,
			rgba(75, 115, 36, .58) 100%);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
	border: 1px solid rgba(242, 242, 242, .24);
	border-radius: 82px;
	box-shadow:
		0 16px 42px rgba(0, 0, 0, .40),
		inset 0 1px 0 rgba(242, 242, 242, .08);
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
	animation: airox-header-enter .6s cubic-bezier(.22, .8, .25, 1) both;
	transition: background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

/* A restrained blue tint on the right, like the reference capsule. */
.airox-header__inner::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 0 0 auto;
	width: 31%;
	background: radial-gradient(circle at 100% 50%, rgba(75, 115, 36, .30), rgba(75, 115, 36, 0) 72%);
	pointer-events: none;
}

/*
 * On scroll the capsule keeps exactly the same size and position. The visible
 * movement comes from the page passing behind the translucent blurred surface.
 */
@media (min-width: 1101px) {
	.airox-header.is-scrolled .airox-header__inner {
		background:
			linear-gradient(100deg,
				rgba(3, 3, 4, .84) 0%,
				rgba(9, 9, 12, .76) 66%,
				rgba(75, 115, 36, .54) 100%);
		border-color: rgba(242, 242, 242, .20);
		box-shadow:
			0 18px 46px rgba(0, 0, 0, .46),
			inset 0 1px 0 rgba(242, 242, 242, .07);
	}
}

@keyframes airox-header-enter {
	from {
		opacity: 0;
		transform: translate3d(0, -18px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.airox-header__inner {
		background: linear-gradient(100deg, #050506 0%, #111116 70%, #233613 100%);
	}
}

/* ---------- Desktop contact bar ---------- */
.airox-header__topbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 24px;
	padding: 10px 44px 2px;
}

.airox-topbar__contact {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.airox-topbar__email,
.airox-topbar__phone {
	color: #F2F2F2;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
	white-space: nowrap;
	transition: color .2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.airox-topbar__separator {
	color: rgba(242, 242, 242, .7);
	font-size: 15px;
	line-height: 1;
}

.airox-topbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex: 0 0 auto;
}

.airox-topbar__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

.airox-topbar__text {
	display: inline-block;
}

.airox-topbar__email:hover,
.airox-topbar__phone:hover {
	color: #CCD99C;
}

.airox-topbar__social {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 9px;
}

.airox-topbar__social a {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(242, 242, 242, .55);
	border-radius: 7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #F2F2F2;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.airox-topbar__social a:hover,
.airox-topbar__social a:focus-visible {
	background: #CCD99C;
	color: #111;
	border-color: #CCD99C;
}

.airox-topbar__social svg {
	max-width: 17px;
	max-height: 17px;
}

/* ---------- Main bar ---------- */
.airox-header__main {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 5px 44px 17px;
}

.airox-header__logo {
	flex: 0 0 auto;
}

.airox-header__logo img {
	display: block;
	width: 150px;
	height: auto;
	padding-top: 10px;
}

.airox-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.airox-nav__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 40px;
}

.airox-nav__menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #F2F2F2;
	text-decoration: none;
	font-size: 17px;
	line-height: 1;
	padding: 8px 0;
	position: relative;
	white-space: nowrap;
}

.airox-nav__menu > li > a .airox-caret {
	margin-top: 1px;
}

/* Active + hover yellow underline. */
.airox-nav__menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #CCD99C;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}

.airox-nav__menu > li.is-active > a::after,
.airox-nav__menu > li > a:hover::after {
	transform: scaleX(1);
}

.airox-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
}

.airox-header__search,
.airox-header__burger {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: #F2F2F2;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.airox-header__burger {
	display: none; /* shown on smaller screens */
}

/* ---------- Off-canvas (mobile) menu ---------- */
.airox-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 10000;
	visibility: hidden;
	pointer-events: none;
}

.airox-offcanvas.is-open {
	visibility: visible;
	pointer-events: auto;
}

.airox-offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 8, 20, 0.55);
	opacity: 0;
	transition: opacity .3s ease;
}

.airox-offcanvas.is-open .airox-offcanvas__backdrop {
	opacity: 1;
}

.airox-offcanvas__panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 430px;
	max-width: 85%;
	background: #000;
	padding: 40px 44px;
	box-sizing: border-box;
	transform: translateX(100%);
	transition: transform .35s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.airox-offcanvas.is-open .airox-offcanvas__panel {
	transform: translateX(0);
}

.airox-offcanvas__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 34px;
}

.airox-offcanvas__logo img {
	display: block;
	width: 150px;
	height: auto;
}

.airox-offcanvas__lang {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #F2F2F2;
}

.airox-offcanvas__lang .airox-flag {
	width: 26px;
	height: auto;
	border-radius: 2px;
}

.airox-offcanvas__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
}

.airox-offcanvas__menu li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 0;
}

.airox-offcanvas__menu li a {
	color: #F2F2F2;
	text-decoration: none;
	font-size: 19px;
}

.airox-offcanvas__menu li.is-active a,
.airox-offcanvas__menu li.is-underlined a {
	position: relative;
}

.airox-offcanvas__menu li.is-underlined a {
	border-bottom: 2px solid #CCD99C;
	padding-bottom: 3px;
	display: inline-block;
}

.airox-offcanvas__menu .airox-caret {
	color: #F2F2F2;
	opacity: .85;
}

.airox-offcanvas__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 30px;
	padding-top: 10px;
}

.airox-offcanvas__social a {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(242, 242, 242, .55);
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #F2F2F2;
	transition: background .2s ease, color .2s ease;
}

.airox-offcanvas__social a:hover {
	background: #CCD99C;
	color: #111;
	border-color: #CCD99C;
}

.airox-offcanvas__close {
	position: absolute;
	top: 34px;
	left: -46px;
	background: none;
	border: 0;
	color: #F2F2F2;
	cursor: pointer;
	line-height: 0;
	padding: 0;
}

/* ---------- Responsive ---------- *
 * Breakpoint chosen at 1100px (confirm the exact desktop->burger point).
 */
@media (max-width: 1100px) {
	.airox-header {
		top: 0;
		padding: 0;
	}

	.airox-header__inner {
		max-width: none;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: rgba(0, 0, 0, .88);
		box-shadow: none;
		animation: none;
		transform: none !important;
	}

	.airox-header__inner::after {
		display: none;
	}

	.airox-header__topbar,
	.airox-header__nav,
	.airox-header__search {
		display: none;
	}

	.airox-header__main {
		justify-content: space-between;
		padding: 18px 22px;
	}

	.airox-header__burger {
		display: inline-flex;
	}

	.airox-header__logo img {
		width: 140px;
	}
}

@media (max-width: 480px) {
	.airox-offcanvas__panel {
		width: 100%;
		max-width: 100%;
		padding: 34px 24px;
	}

	.airox-offcanvas__close {
		left: auto;
		right: 20px;
		top: 30px;
	}
}