/* Site header — colors from CSS variables only */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	padding: 1.25rem var(--arb-gutter);
	z-index: 1000;
	background: transparent;
	border-bottom: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-100%);
	font-family: var(--arb-font);
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 1rem;
}

.header .aura-unit-nav {
    width: 100%;
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid rgb(225 225 225) !important;
}

.header.is-sticky .aura-unit-nav,
.header.is-about-header .aura-unit-nav,
.header.is-normal .aura-unit-nav {
	border-top-color: rgba(255, 255, 255, 0.16);
}

.header .aura-unit-nav__item.is-done .aura-unit-nav__link,
.header .aura-unit-nav__item.is-current .aura-unit-nav__text,
.header .aura-unit-nav__item.is-pending .aura-unit-nav__text {
	color: var(--arb-text);
}

.header .aura-unit-nav__item.is-pending .aura-unit-nav__text {
	opacity: 0.45;
}

.header .aura-unit-nav__arrow,
.header .aura-unit-nav__home-icon {
	color: inherit;
}

.header .aura-unit-nav__arrow path,
.header .aura-unit-nav__home-icon path {
	fill: currentColor;
}

.header.is-sticky .aura-unit-nav__arrow,
.header.is-sticky .aura-unit-nav__home-icon,
.header.is-about-header .aura-unit-nav__arrow,
.header.is-about-header .aura-unit-nav__home-icon,
.header.is-normal .aura-unit-nav__arrow,
.header.is-normal .aura-unit-nav__home-icon {
	color: var(--arb-bg);
}

.header.is-sticky .aura-unit-nav__item.is-done .aura-unit-nav__link,
.header.is-sticky .aura-unit-nav__item.is-current .aura-unit-nav__text,
.header.is-sticky .aura-unit-nav__item.is-pending .aura-unit-nav__text,
.header.is-about-header .aura-unit-nav__item.is-done .aura-unit-nav__link,
.header.is-about-header .aura-unit-nav__item.is-current .aura-unit-nav__text,
.header.is-about-header .aura-unit-nav__item.is-pending .aura-unit-nav__text,
.header.is-normal .aura-unit-nav__item.is-done .aura-unit-nav__link,
.header.is-normal .aura-unit-nav__item.is-current .aura-unit-nav__text,
.header.is-normal .aura-unit-nav__item.is-pending .aura-unit-nav__text {
	color: var(--arb-bg);
}

.header.is-sticky .aura-unit-nav__item.is-pending .aura-unit-nav__text,
.header.is-about-header .aura-unit-nav__item.is-pending .aura-unit-nav__text,
.header.is-normal .aura-unit-nav__item.is-pending .aura-unit-nav__text {
	opacity: 0.45;
}

.header.is-ready {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.header.is-sticky {
	padding-top: 15px;
    padding-bottom: 15px;
	background: var(--arb-text);
	border-bottom: 1px solid var(--arb-border);
	box-shadow: 0 8px 24px var(--arb-shadow);
}

.header.is-sticky .nav-link {
	font-size: 1rem;
}

.header.is-sticky img.logo__image {
    height: 3rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--arb-text);
	text-decoration: none;
	line-height: 1;
	transition: color 0.35s ease;
}

.logo:hover,
.logo:focus-visible {
	color: var(--arb-text);
	opacity: 0.9;
}

.header.is-sticky .logo,
.header.is-sticky .logo:hover,
.header.is-sticky .logo:focus-visible {
	color: var(--arb-bg);
}

.logo__image {
	display: block;
	height: 4rem;
	width: auto;
	max-width: 12rem;
	object-fit: contain;
	transition: filter 0.35s ease, height 0.35s;
	filter: brightness(0) invert(1);
}

/* Invert light logos when sticky on light background */
.header.is-sticky .logo__image {
	filter: none;
}

.nav-menu {
	display: flex;
	align-items: center;
}

.nav-menu__list {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header .nav-link {
	color: var(--arb-text) !important;
	text-decoration: none;
	font-size: 1.125rem;
	line-height: 1.5rem;
	font-weight: 600;
	opacity: 0.85;
	transition: opacity 0.3s ease, transform 0.3s ease, color 0.35s ease, font-size 0.35s ease;
}

.header.is-sticky .nav-link {
	color: var(--arb-bg) !important;
}

.header .nav-link:hover,
.header .nav-link:focus-visible,
.header .current-menu-item > .nav-link {
	opacity: 1;
}

.header .nav-link:hover,
.header .nav-link:focus-visible {
	color: var(--arb-bg) !important;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.lang-switcher {
	user-select: none;
}

.lang-switcher__list {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lang-switcher__sep {
	color: var(--arb-text);
	opacity: 0.35;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	pointer-events: none;
}

.lang-switcher__link {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--arb-text);
	opacity: 0.55;
	transition: opacity 0.25s ease, color 0.35s ease;
}

.lang-switcher__link:hover,
.lang-switcher__link:focus-visible {
	opacity: 1;
	outline: none;
}

.lang-switcher__link.is-current,
.lang-switcher__item.is-active .lang-switcher__link {
	opacity: 1;
	cursor: default;
}

.header.is-sticky .lang-switcher__sep,
.header.is-sticky .lang-switcher__link {
	color: var(--arb-bg);
}

.btn-contact {
	background-color: var(--arb-bg);
	color: var(--arb-text);
	padding: 0.7rem 1.6rem;
	border-radius: 5px;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
	white-space: nowrap;
}

.header.is-sticky .btn-contact {
	background-color: var(--arb-bg);
	color: var(--arb-text);
}

.btn-contact:hover,
.btn-contact:focus-visible {
	background-color: var(--arb-hover-light);
	color: var(--arb-bg);
	transform: scale(1.04);
}

.header.is-sticky .btn-contact:hover,
.header.is-sticky .btn-contact:focus-visible {
	background-color: var(--arb-hover-dark);
	color: var(--arb-text);
}

/* About Us: sticky-like colors/background, keep normal logo + nav size */
.header.is-about-header {
	background: var(--arb-text);
	border-bottom: 1px solid var(--arb-border);
	box-shadow: 0 8px 24px var(--arb-shadow);
}

.header.is-about-header .logo,
.header.is-about-header .logo:hover,
.header.is-about-header .logo:focus-visible {
	color: var(--arb-bg);
}

.header.is-about-header .logo__image {
	filter: none;
}

.header.is-about-header .nav-link {
	color: var(--arb-bg) !important;
}

.header.is-about-header .nav-link:hover,
.header.is-about-header .nav-link:focus-visible {
	color: var(--arb-bg) !important;
}

.header.is-about-header .lang-switcher__sep,
.header.is-about-header .lang-switcher__link {
	color: var(--arb-bg);
}

.header.is-about-header .btn-contact {
	background-color: var(--arb-bg);
	color: var(--arb-text);
}

.header.is-about-header .btn-contact:hover,
.header.is-about-header .btn-contact:focus-visible {
	background-color: var(--arb-hover-dark);
	color: var(--arb-text);
}

/* Normal (in-flow) header — sticky colors + logo, relative position */
.header.is-normal {
	position: relative;
	top: auto;
	left: auto;
	opacity: 1;
	visibility: visible;
	transform: none;
	padding-top: 15px;
	padding-bottom: 15px;
	background: var(--arb-text);
	border-bottom: 1px solid var(--arb-border);
	box-shadow: 0 8px 24px var(--arb-shadow);
}

.header.is-normal .nav-link {
	font-size: 1rem;
	color: var(--arb-bg) !important;
}

.header.is-normal .nav-link:hover,
.header.is-normal .nav-link:focus-visible {
	color: var(--arb-bg) !important;
}

.header.is-normal img.logo__image {
	height: 3rem;
}

.header.is-normal .logo,
.header.is-normal .logo:hover,
.header.is-normal .logo:focus-visible {
	color: var(--arb-bg);
}

.header.is-normal .logo__image {
	filter: none;
}

.header.is-normal .lang-switcher__sep,
.header.is-normal .lang-switcher__link {
	color: var(--arb-bg);
}

.header.is-normal .btn-contact {
	background-color: var(--arb-bg);
	color: var(--arb-text);
}

.header.is-normal .btn-contact:hover,
.header.is-normal .btn-contact:focus-visible {
	background-color: var(--arb-hover-dark);
	color: var(--arb-text);
}

.header.is-normal.is-sticky-enabled {
	position: sticky;
	top: 0;
	z-index: 1000;
}

@media (max-width: 868px) {
	.nav-menu {
		display: none;
	}
}
