/**
 * Airox Header widget styles.
 * Scoped under .airox-header / .airox-offcanvas to avoid theme/plugin clashes.
 *
 * Palette (sampled from the reference screenshots):
 *   top bar bg   #323436
 *   accent lime  #84C018  (contact icons + search button)
 *   brand green  #466B1F  (nav active/hover underline)
 *   main bar bg  #FCFFF5
 *   dark text    #222222
 *   topbar text  #E6E8E4
 */

.airox-header {
	--airox-topbar-bg: #323436;
	--airox-accent: #84C018;
	--airox-accent-dark: #6fa310;
	--airox-green: #466B1F;
	--airox-mainbar-bg: #FCFFF5;
	--airox-text: #222222;
	--airox-topbar-text: #E6E8E4;

	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	box-sizing: border-box;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: var(--airox-text);
}

.airox-header *,
.airox-header *::before,
.airox-header *::after {
	box-sizing: border-box;
}

/* Shared centered container so the top bar and main bar align edge-to-edge. */
.airox-header__bar {
	width: 100%;
	max-width: none;
	margin: 0 auto;
	/* Match the hero content's desktop left guide while retaining enough
	 * horizontal room for the existing navigation and search form. */
	padding-left: 9%;
	padding-right: 3%;
}

/* ---------- Top contact bar (#323436) ---------- */
.airox-header__topbar {
	width: 100%;
	background: var(--airox-topbar-bg);
}

.airox-header__topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 44px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.airox-topbar__contact {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
	flex-wrap: wrap;
}

.airox-topbar__phone,
.airox-topbar__email {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--airox-topbar-text);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
	white-space: nowrap;
	transition: color .2s ease;
}

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

.airox-topbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex: 0 0 auto;
	color: var(--airox-accent); /* lime green icons */
}

.airox-topbar__icon svg {
	width: 18px;
	height: 18px;
	display: block;
	overflow: visible;
}

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

.airox-topbar__follow-label {
	color: var(--airox-topbar-text);
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
}

.airox-topbar__social {
	display: flex;
	align-items: center;
	gap: 8px;
}

.airox-topbar__social a {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(242, 242, 242, .35);
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--airox-topbar-text);
	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: var(--airox-accent);
	color: #1b1b1b;
	border-color: var(--airox-accent);
}

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

/* ---------- Main bar (cream) ---------- */
.airox-header__main {
	width: 100%;
	background: transparent;
	border-bottom: 1px solid transparent;
}

.airox-header__main .airox-header__bar {
	display: flex;
	align-items: center;
	gap: 26px;
	min-height: 74px;
	padding-top: 8px;
	padding-bottom: 8px;
}

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

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

@media (min-width: 1025px) {
	/* The supplied PNG contains a small transparent left gutter. Pull only the
	 * image artwork back so its visible edge aligns with phone + hero text. */
	.airox-header__logo img {
		transform: translateX(-12px);
	}

	/* The supplied final SVG has a tight viewBox and needs no legacy PNG offset. */
	.airox-header__logo img.airox-header__logo-image--final-svg {
		transform: none;
	}
}

.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: 30px;
}

.airox-nav__menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--airox-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .3px;
	line-height: 1;
	padding: 8px 0;
	position: relative;
	white-space: nowrap;
	text-transform: uppercase;
	transition: color .2s ease;
}

/* Dropdown carets removed to match the approved header design.
 * (The off-canvas language selector caret is intentionally left intact.) */
.airox-nav__menu .airox-caret,
.airox-offcanvas__menu .airox-caret {
	display: none;
}

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

.airox-nav__menu > li.is-active > a,
.airox-nav__menu > li > a:hover {
	color: var(--airox-green);
}

.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: 16px;
}

/* ---------- Search box ---------- */
.airox-header__search {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e5dd;
	border-radius: 999px;
	padding: 4px 4px 4px 20px;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.airox-header__search:focus-within {
	border-color: var(--airox-accent);
	box-shadow: 0 0 0 3px rgba(132, 192, 24, .16);
}

.airox-header__search .airox-header__search-input,
.airox-header__search input[type="search"].airox-header__search-input {
	-webkit-appearance: none;
	appearance: none;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	margin: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	font-size: 14px;
	line-height: 1.2;
	color: #333;
	width: 210px;
	max-width: 42vw;
	padding: 7px 0;
	font-family: inherit;
}

.airox-header__search-input::placeholder {
	color: #9aa39a;
	opacity: 1;
}

/* Strip the browser's native search-field UI (clear button, decorations). */
.airox-header__search-input::-webkit-search-decoration,
.airox-header__search-input::-webkit-search-cancel-button,
.airox-header__search-input::-webkit-search-results-button,
.airox-header__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.airox-header__search-btn {
	flex: 0 0 auto;
	width: 45px;
	height: 45px;
	margin-left: 8px;
	border: 0;
	border-radius: 50%;
	background: var(--airox-accent);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	transition: background .2s ease;
}

.airox-header__search-btn:hover,
.airox-header__search-btn:focus-visible {
	background: var(--airox-accent-dark);
}

/* ---------- Burger (mobile trigger) ---------- */
.airox-header__burger {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: var(--airox-text);
	cursor: pointer;
	display: none; /* shown on smaller screens */
	align-items: center;
	line-height: 0;
}



/* ---------- 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(10, 12, 8, 0.5);
	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: #ffffff;
	color: var(--airox-text);
	padding: 34px 34px;
	transform: translateX(100%);
	transition: transform .35s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
}

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

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

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

/* Off-canvas search */
.airox-header__search--oc {
	margin-bottom: 22px;
	width: 100%;
}

.airox-header__search--oc .airox-header__search-input {
	width: 100%;
	max-width: none;
	flex: 1 1 auto;
}

/*
 * Off-canvas search input: raise specificity to match the base
 * `.airox-header__search input[type="search"].airox-header__search-input`
 * rule (which otherwise leaks `width: 210px; max-width: 42vw`). Without this
 * the input stays capped and the round search button stops mid-row, leaving
 * empty space on the right. Making the input fill the row pushes the button
 * flush to the right edge. Off-canvas (mobile) only; desktop search unchanged.
 */
.airox-header__search--oc input[type="search"].airox-header__search-input {
	width: 100%;
	max-width: none;
	flex: 1 1 auto;
}

.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;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.airox-offcanvas__menu li a {
	color: var(--airox-text);
	text-decoration: none;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .3px;
}

.airox-offcanvas__menu li.is-active a {
	color: var(--airox-green);
	position: relative;
}

.airox-offcanvas__menu .airox-caret {
	color: var(--airox-text);
	opacity: .7;
}

.airox-offcanvas__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 26px;
	padding-top: 6px;
}

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

.airox-offcanvas__social a:hover {
	background: var(--airox-accent);
	color: #1b1b1b;
	border-color: var(--airox-accent);
}

.airox-offcanvas__close {
	position: absolute;
	top: 30px;
	left: -46px;
	background: #fff;
	border: 0;
	color: var(--airox-text);
	cursor: pointer;
	line-height: 0;
	padding: 8px;
	border-radius: 50%;
}

/* ============================================================= *
 * RESPONSIVE
 * Desktop (>1024) : full top bar + inline nav + search box
 * Tablet (<=1024) : nav + search move into the off-canvas; burger shown
 * Mobile (<=600)  : contact bar condenses; "Follow Us on" + social hide
 * ============================================================= */
@media (max-width: 1200px) {
	.airox-header__bar {
		padding-left: 8%;
		padding-right: 3%;
	}
	.airox-nav__menu {
		gap: 22px;
	}
	.airox-header__search-input {
		width: 150px;
	}
}

@media (max-width: 1024px) {
	.airox-header__bar {
		padding-left: 6%;
		padding-right: 6%;
	}

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

	.airox-header__main .airox-header__bar {
		justify-content: space-between;
		min-height: 64px;
	}

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

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

@media (max-width: 600px) {
	.airox-header__bar {
		padding-left: 16px;
		padding-right: 16px;
	}

	.airox-header__topbar-inner {
		justify-content: center;
		min-height: 40px;
	}

	.airox-topbar__contact {
		gap: 16px;
		justify-content: center;
	}

	.airox-topbar__phone,
	.airox-topbar__email,
	.airox-topbar__follow-label {
		font-size: 12.5px;
	}

	/* Social lives in the off-canvas menu on phones to keep the bar clean. */
	.airox-topbar__follow {
		display: none;
	}

	.airox-header__main .airox-header__bar {
		min-height: 58px;
	}

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

	.airox-offcanvas__panel {
		width: 100%;
		max-width: 100%;
		padding: 30px 22px;
	}

	.airox-offcanvas__close {
		left: auto;
		right: 18px;
		top: 26px;
	}
}

@media (max-width: 380px) {
	.airox-topbar__contact {
		flex-direction: column;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.airox-offcanvas__panel,
	.airox-offcanvas__backdrop,
	.airox-nav__menu > li > a::after {
		transition: none;
	}
}
/* -------------------------------------------------------------------------
 * v1.4.81 — Our History main-header treatment.
 * Keep the reusable Home header and dark top contact bar unchanged globally.
 * /our-history/ and /our-management/ receive the approved white-on-photo main navigation.
 * ---------------------------------------------------------------------- */
.airox-header--history .airox-header__main {
	background: transparent !important;
}

.airox-header--history .airox-nav__menu > li > a {
	/* Route skin wins over any Elementor-saved Header color control. */
	color: #ffffff !important;
}

.airox-header--history .airox-nav__menu > li.is-active > a,
.airox-header--history .airox-nav__menu > li > a:hover,
.airox-header--history .airox-nav__menu > li > a:focus-visible {
	color: var(--airox-accent) !important;
}

.airox-header--history .airox-nav__menu > li > a::after {
	background: var(--airox-accent);
}

/* On tablet/mobile the transparent main bar still overlays the dark hero.
 * Keep the burger visible; the light off-canvas panel itself stays unchanged. */
.airox-header--history .airox-header__burger {
	color: #ffffff;
}

.airox-header--history .airox-header__burger svg,
.airox-header--history .airox-header__burger svg * {
	stroke: currentColor;
}

/* -------------------------------------------------------------------------
 * v1.5.11 — Our Management = Our History header, exactly.
 *
 * The Management route now receives only the History visual variant in PHP,
 * and its main logo is forcibly swapped to the same bundled white/green SVG.
 * These declarations intentionally carry enough specificity to defeat stale
 * Elementor header color values without changing Home/About/Products headers.
 * ---------------------------------------------------------------------- */
.airox-header--history .airox-header__logo img.airox-header__logo-image--final-svg {
	display: block;
}

/* -------------------------------------------------------------------------
 * v1.4.83 — Our History tablet/mobile header overlay repair.
 *
 * The desktop Header stays exactly as before. On <=1024px the History route
 * still uses the same reusable Header markup, but its main bar must sit over
 * the photographic hero. Lock the responsive logo/burger dimensions here so
 * an Elementor-saved desktop logo-width value cannot enlarge the mobile bar.
 * ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.airox-header--history .airox-header__main {
		background: transparent;
	}

	.airox-header--history .airox-header__main .airox-header__bar {
		min-height: 64px;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.airox-header--history .airox-header__logo img,
	.airox-header--history .airox-header__logo img.airox-header__logo-image--final-svg {
		width: 132px !important;
		height: auto !important;
		transform: none !important;
	}

	.airox-header--history .airox-header__actions {
		display: flex;
		align-items: center;
		margin-left: auto;
	}

	.airox-header--history .airox-header__burger {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		color: #ffffff !important;
	}
}

@media (max-width: 600px) {
	.airox-header--history .airox-header__main .airox-header__bar {
		min-height: 58px;
		height: 58px;
		padding: 5px 16px !important;
	}

	.airox-header--history .airox-header__logo img,
	.airox-header--history .airox-header__logo img.airox-header__logo-image--final-svg {
		width: 120px !important;
		max-width: 120px !important;
	}

	.airox-header--history .airox-header__burger {
		flex: 0 0 30px;
	}
}

/* -------------------------------------------------------------------------
 * v1.5.10 — compact mobile header + Our Management dark-hero treatment.
 *
 * Our Management reuses the approved Our History photographic hero. The PHP
 * now gives that route the same .airox-header--history visual class, while the
 * rules below hard-lock the mobile logo/burger and keep phone + email on one
 * compact line instead of allowing the saved Elementor logo width or the
 * <=380px legacy stack rule to create an oversized header.
 * ---------------------------------------------------------------------- */
@media (max-width: 600px) {
	.airox-header__topbar-inner {
		min-height: 42px;
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.airox-topbar__contact,
	.airox-topbar__contact {
		width: 100%;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: center;
		gap: clamp(8px, 3vw, 14px);
	}

	.airox-topbar__phone,
	.airox-topbar__email {
		min-width: 0;
		gap: 5px;
		font-size: clamp(10.5px, 3.05vw, 12px);
		line-height: 1.2;
	}

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

	/* Elementor can save a desktop logo-width selector with higher specificity.
	 * !important is intentional here: the mobile header must stay 120px. */
	.airox-header__logo img,
	.airox-header__logo img.airox-header__logo-image--final-svg {
		width: 120px !important;
		max-width: 120px !important;
		height: auto !important;
		transform: none !important;
	}

	.airox-header__main .airox-header__bar {
		height: 58px;
		min-height: 58px;
		padding: 5px 16px !important;
	}

	.airox-header__burger {
		flex: 0 0 30px;
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 380px) {
	/* Override the old two-line contact layout: both contacts fit on one line
	 * with the compact v1.5.10 sizing above. */
	.airox-topbar__contact {
		flex-direction: row !important;
		gap: 8px;
	}

	.airox-header__bar {
		padding-left: 12px;
		padding-right: 12px;
	}

	.airox-topbar__phone,
	.airox-topbar__email {
		font-size: 10.5px;
	}
}
