/* One Stop Header */

.osh-header,
.osh-header * {
	box-sizing: border-box;
}

.osh-header a,
.osh-header a:hover,
.osh-header a:focus,
.osh-header a:active,
.osh-header a:visited,
.osh-header a * {
	text-decoration: none !important;
}

.osh-header {
	position: relative;
	z-index: 99990;
	width: 100%;
	min-height: var(--osh-height);
	background: var(--osh-bg);
	color: var(--osh-text);
	border-bottom: 1px solid rgba(11,46,89,.08);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.osh-header--sticky {
	position: sticky;
	top: 0;
}

.admin-bar .osh-header--sticky {
	top: 32px;
}

.osh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: min(100% - 40px, 1280px);
	min-height: var(--osh-height);
	margin: 0 auto;
}

.osh-header__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
}

.osh-header__logo {
	display: block;
	width: min(var(--osh-logo-desktop), 100%);
	max-height: calc(var(--osh-height) - 20px);
	object-fit: contain;
	object-position: left center;
}

.osh-header__desktop-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(20px, 2.2vw, 34px);
	margin-left: auto;
}

.osh-header__desktop-nav a {
	position: relative;
	padding: 30px 0;
	color: var(--osh-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	transition: color .2s ease;
}

.osh-header__desktop-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	height: 2px;
	border-radius: 999px;
	background: var(--osh-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.osh-header__desktop-nav a:hover,
.osh-header__desktop-nav a:focus-visible {
	color: var(--osh-accent);
}

.osh-header__desktop-nav a:hover::after,
.osh-header__desktop-nav a:focus-visible::after {
	transform: scaleX(1);
}

.osh-header__desktop-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.osh-header__phone {
	color: var(--osh-text);
	font-size: 14px;
	font-weight: 700;
}

.osh-header__cta,
.osh-header__mobile-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 19px;
	border-radius: 12px;
	background: var(--osh-accent);
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 14px 24px -17px rgba(30,136,229,.8);
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.osh-header__cta:hover,
.osh-header__cta:focus-visible,
.osh-header__mobile-cta:hover,
.osh-header__mobile-cta:focus-visible {
	transform: translateY(-2px);
	filter: brightness(.93);
	box-shadow: 0 18px 28px -17px rgba(30,136,229,.9);
}

.osh-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: rgba(30,136,229,.08);
	color: var(--osh-text);
	cursor: pointer;
}

.osh-header__toggle-line {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.osh-header__overlay {
	position: fixed;
	inset: 0;
	z-index: 99991;
	background: rgba(5,18,36,.54);
	opacity: 0;
	transition: opacity .28s ease;
}

.osh-header__overlay.is-open {
	opacity: 1;
}

.osh-header__flyout {
	position: fixed;
	z-index: 99992;
	top: 0;
	right: 0;
	width: min(88vw, 390px);
	height: 100dvh;
	padding: 20px 22px 28px;
	background: var(--osh-flyout-bg);
	color: var(--osh-flyout-text);
	box-shadow: -22px 0 54px rgba(5,18,36,.22);
	transform: translateX(105%);
	transition: transform .32s cubic-bezier(.2,.8,.2,1);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.osh-header__flyout.is-open {
	transform: translateX(0);
}

.osh-header__flyout-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(11,46,89,.1);
}

.osh-header__flyout-logo {
	display: block;
	width: min(190px, calc(100% - 62px));
	max-height: 62px;
	object-fit: contain;
	object-position: left center;
}

.osh-header__close {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: rgba(30,136,229,.08);
	color: var(--osh-flyout-text);
	cursor: pointer;
}

.osh-header__close span {
	position: absolute;
	left: 11px;
	top: 21px;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.osh-header__close span:first-child {
	transform: rotate(45deg);
}

.osh-header__close span:last-child {
	transform: rotate(-45deg);
}

.osh-header__mobile-nav {
	display: flex;
	flex-direction: column;
	padding: 22px 0;
}

.osh-header__mobile-nav a {
	display: flex;
	align-items: center;
	min-height: 58px;
	padding: 12px 4px;
	border-bottom: 1px solid rgba(11,46,89,.08);
	color: var(--osh-flyout-text);
	font-family: Poppins, Inter, sans-serif;
	font-size: 20px;
	font-weight: 600;
}

.osh-header__mobile-nav a:hover,
.osh-header__mobile-nav a:focus-visible {
	color: var(--osh-accent);
}

.osh-header__mobile-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
	padding-top: 6px;
}

.osh-header__mobile-cta,
.osh-header__mobile-phone {
	width: 100%;
	min-height: 52px;
}

.osh-header__mobile-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 18px;
	border: 1px solid rgba(11,46,89,.18);
	border-radius: 12px;
	color: var(--osh-flyout-text);
	font-size: 15px;
	font-weight: 700;
}

html.osh-menu-open,
body.osh-menu-open {
	overflow: hidden !important;
	height: 100% !important;
	overscroll-behavior: none;
	touch-action: none;
}

@media (max-width: 1024px) {
	.osh-header__inner {
		width: min(100% - 28px, 1280px);
		gap: 16px;
	}

	.osh-header__logo {
		width: min(var(--osh-logo-mobile), 64vw);
		max-height: calc(var(--osh-height) - 22px);
	}

	.osh-header__toggle {
		flex: 0 0 48px;
	}
}

@media (max-width: 782px) {
	.admin-bar .osh-header--sticky {
		top: 46px;
	}
}

@media (max-width: 480px) {
	.osh-header__inner {
		width: min(100% - 22px, 1280px);
	}

	.osh-header__flyout {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.osh-header *,
	.osh-header *::before,
	.osh-header *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
