.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: #05324E;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-8);
	height: 72px;
}

.site-header__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.site-header__logo .custom-logo-link,
.site-header__logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header__logo .custom-logo {
	height: 28px;
	width: auto;
	display: block;
}

.site-header__logo-text {
	font-size: var(--fs-lg);
	font-weight: var(--fw-extrabold);
	color: var(--color-accent);
	letter-spacing: -0.02em;
}

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

.site-header__menu {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
}

.site-header__menu a {
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	color: #ffffff;
	white-space: nowrap;
	padding: 0 16px;
	transition: color var(--transition);
}

.site-header__menu a:hover,
.site-header__menu .current-menu-item > a {
	color: #ffd367;
}

.site-header__menu .menu-item-has-children {
	position: relative;
}

.site-header__menu .menu-item-has-children::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 0;
	right: 0;
	height: 12px;
}

.site-header__menu .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 6px;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
	transition: transform var(--transition);
}

.site-header__menu .menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

.site-header__menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 0;
	margin-top: 12px;
	list-style: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 101;
}

.site-header__menu .menu-item-has-children:hover > .sub-menu {
	display: block;
}

.site-header__menu .sub-menu a {
	display: block;
	padding: var(--space-3) var(--space-5);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	line-height: var(--lh-normal);
	color: var(--color-text);
	transition: color var(--transition), background-color var(--transition);
}

.site-header__menu .sub-menu a:hover {
	color: #05324E;
	background-color: rgba(0, 0, 0, 0.04);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	flex-shrink: 0;
}

.site-header__phone {
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	color: #ffffff;
	white-space: nowrap;
	transition: color var(--transition);
}

.site-header__phone:hover {
	color: #ffd367;
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	background-color: #031527;
	color: #ffffff;
	border: none;
	border-radius: 50px;
	padding: 8px 24px;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	white-space: nowrap;
	transition: background-color var(--transition);
}

.site-header__cta:hover {
	background-color: #0a2240;
}

.site-header__login {
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	color: #ffffff;
	white-space: nowrap;
	transition: color var(--transition);
	background: none;
	border: none;
	padding: 0;
	border-radius: 0;
}

.site-header__login:hover {
	color: #ffd367;
}

.site-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: var(--space-2);
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.site-header__burger-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(2) {
	opacity: 0;
}

.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-drawer-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 199;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.site-drawer-overlay--visible {
	display: block;
}

.site-drawer-overlay--open {
	opacity: 1;
}

.site-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 60%;
	height: 100%;
	background-color: #05324E;
	z-index: 200;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.site-drawer--open {
	transform: translateX(0);
}

.site-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-6) var(--space-6);
	flex-shrink: 0;
}

.site-drawer__logo .custom-logo {
	height: 28px;
	width: auto;
}

.site-drawer__logo .custom-logo-link {
	display: flex;
	align-items: center;
}

.site-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #ffffff;
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	transition: color var(--transition);
}

.site-drawer__close:hover {
	color: #ffd367;
}

.site-drawer__nav {
	flex: 1;
	padding: var(--space-4) var(--space-6);
}

.site-drawer__menu {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.site-drawer__menu a {
	display: block;
	padding: var(--space-4) 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 22px;
	color: #ffffff;
	transition: color var(--transition);
}

.site-drawer__menu a:hover,
.site-drawer__menu .current-menu-item > a {
	color: #ffd367;
}

.site-drawer__menu .menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.site-drawer__menu .menu-item-has-children > a {
	flex: 1;
	padding-right: var(--space-6);
}

.site-drawer__menu .drawer-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: calc(var(--space-4) * 2 + 22px);
	align-self: flex-start;
	flex-shrink: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: #ffffff;
	transition: color var(--transition);
}

.site-drawer__menu .drawer-toggle:hover {
	color: #ffd367;
}

.site-drawer__menu .drawer-toggle svg {
	width: 12px;
	height: 12px;
	transition: transform var(--transition);
}

.site-drawer__menu .menu-item-has-children.is-open > .drawer-toggle svg {
	transform: rotate(180deg);
}

.site-drawer__menu .sub-menu {
	list-style: none;
	flex-basis: 100%;
	display: none;
}

.site-drawer__menu .sub-menu.is-open {
	display: block;
}

.site-drawer__menu .sub-menu a {
	font-size: 16px;
	font-weight: 500;
}

.site-drawer__actions {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
}

.site-drawer__actions .site-header__phone {
	display: block;
}

.site-drawer__actions .site-header__cta {
	justify-content: flex-start;
	align-self: flex-start;
}

.site-drawer__actions .site-header__login {
	display: block;
	text-align: left;
}

@media (max-width: 1200px) {
	.site-header__nav {
		display: none;
	}

	.site-header__burger {
		display: flex;
	}
}

@media (min-width: 1201px) {
	.site-header__burger {
		display: none;
	}
}

@media (max-width: 768px) {
	.site-header__phone,
	.site-header__cta {
		display: none;
	}

	.site-drawer__actions .site-header__cta {
		display: inline-flex;
	}

	.site-drawer {
		width: 80%;
	}
}
