.site-header {
	position: sticky;
	z-index: 30;
	top: 0;
	border-bottom: 1px solid rgba(210, 226, 242, 0.76);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
}

.mobile-header,
.mobile-menu {
	display: none;
}

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

.site-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	color: var(--color-heading);
	text-decoration: none;
}

.site-logo:hover {
	text-decoration: none;
}

.site-logo img {
	display: block;
	width: 150px;
	height: auto;
}

.site-navigation ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 31px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation a {
	color: #172849;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 38px;
	padding: 0 19px;
	border-radius: 999px;
	background: #074aa6;
	box-shadow: 0 6px 16px rgba(0, 59, 142, 0.16);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.site-header__phone img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.site-header__phone:hover {
	color: #ffffff;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.site-header__inner {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 12px 0;
	}

	.site-navigation {
		order: 3;
		width: 100%;
		overflow-x: auto;
	}

	.site-navigation ul {
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 18px;
		white-space: nowrap;
	}
}

@media (max-width: 640px) {
	.site-header {
		border-bottom: 0;
		background: var(--color-brand);
		backdrop-filter: none;
	}

	.site-header__inner {
		display: none;
	}

	.mobile-header {
		display: grid;
		grid-template-columns: 86px minmax(82px, 1fr) minmax(118px, 1.45fr) 38px;
		align-items: center;
		gap: 7px;
		min-height: 70px;
		padding: 8px 14px;
		border-top: 5px solid var(--color-brand-dark);
		border-bottom: 2px solid #8bc9ff;
		background: linear-gradient(90deg, #064aa7 0%, #0a7ec7 100%);
	}

	.mobile-header__logo {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 4px;
		border-radius: 5px;
		background: #ffffff;
	}

	.mobile-header__logo img {
		width: 76px;
		height: auto;
	}

	.mobile-header__action {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		padding: 0 8px;
		border: 1px solid rgba(255, 255, 255, 0.9);
		border-radius: 5px;
		color: #ffffff;
		font-size: 11px;
		font-weight: 800;
		line-height: 1.15;
		text-align: center;
		text-decoration: none;
	}

	.mobile-header__action:hover,
	.mobile-header__action:focus {
		color: #ffffff;
		text-decoration: none;
	}

	.mobile-header__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 4px;
		width: 36px;
		height: 40px;
		border: 1px solid rgba(255, 255, 255, 0.9);
		border-radius: 5px;
		background: transparent;
		cursor: pointer;
	}

	.mobile-header__toggle span:not(.screen-reader-text) {
		display: block;
		width: 20px;
		height: 3px;
		border-radius: 999px;
		background: #ffffff;
	}

	.mobile-menu {
		display: block;
		position: fixed;
		z-index: 35;
		top: 70px;
		bottom: 0;
		left: 0;
		width: 100vw;
		max-height: calc(100vh - 70px);
		overflow-y: auto;
		padding: 16px 18px 28px;
		border-right: 1px solid #d7e3ec;
		background: #f5faff;
		box-shadow: 14px 0 28px rgba(8, 42, 92, 0.14);
		transform: translateX(-104%);
		visibility: hidden;
		pointer-events: none;
		transition: transform 260ms ease, visibility 0s linear 260ms;
		will-change: transform;
	}

	.mobile-menu__close {
		position: absolute;
		top: 2px;
		right: 14px;
		width: 34px;
		height: 34px;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.mobile-menu__close::before,
	.mobile-menu__close::after {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 18px;
		height: 2px;
		border-radius: 999px;
		background: var(--color-brand);
		content: "";
	}

	.mobile-menu__close::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.mobile-menu__close::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.mobile-menu.is-open {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
		transition: transform 260ms ease;
	}

	.mobile-menu__section {
		padding: 0 0 24px;
		border-bottom: 1px solid #a9cdea;
	}

	.mobile-menu__section + .mobile-menu__section {
		padding-top: 18px;
	}

	.mobile-menu__section h2 {
		margin: 0;
		color: #172849;
		font-size: 18px;
		font-weight: 500;
		line-height: 1.25;
	}

	.mobile-menu__section h3 {
		margin: 0 0 14px;
		color: var(--color-brand);
		font-size: 13px;
		font-weight: 800;
		line-height: 1.25;
		text-transform: uppercase;
	}

	.mobile-menu__grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.mobile-menu__grid li {
		min-width: 0;
	}

	.mobile-menu__grid a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 46px;
		padding: 8px 10px;
		border: 1px solid #eef3f7;
		border-radius: 4px;
		background: #ffffff;
		box-shadow: 0 4px 10px rgba(18, 55, 88, 0.04);
		color: #263348;
		font-size: 11px;
		line-height: 1.25;
		text-align: center;
		text-decoration: none;
	}

	.mobile-menu__section--links {
		display: grid;
		gap: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.mobile-menu__section--links a {
		padding: 16px 0;
		border-bottom: 1px solid #7cc5ee;
		color: #172849;
		font-size: 18px;
		text-decoration: none;
	}

	.site-header__inner {
		gap: 10px;
		justify-content: flex-start;
	}

	.site-logo img {
		width: 112px;
	}

	.site-header__phone {
		display: none;
	}
}
