.site-header {
	position: relative;
	z-index: 1;
	width: 100%;
}

.site-header__top {
	position: relative;
	height: 98px;
	background: var(--color-soft-blue);
}

.site-header__top-inner {
	min-height: 56px;
	padding: 10px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
	line-height: 1.5;
}

.site-header__top-left,
.site-header__top-right,
.site-header__city,
.site-header__toolbar,
.site-header__nav,
.site-header__logo {
	display: flex;
	align-items: center;
}

.site-header__top-left {
	gap: 40px;
}

.site-header__top-right {
	gap: 40px;
}

.site-header__city {
	gap: 8px;
}

.site-header__city img {
	display: block;
	width: 20px;
	height: 20px;
}

.site-header__toolbar {
	min-height: 123px;
	flex-direction: column;
	gap: 8px;
	padding-top: 24px;
	background: linear-gradient(to top, var(--color-white) 46.635%, var(--color-soft-blue) 100%);
}

.site-header__logo {
	position: relative;
	width: 459px;
	height: 53px;
	justify-content: center;
	overflow: hidden;
}

.site-header__logo img {
	position: absolute;
	left: -5.31%;
	top: -62.38%;
	display: block;
	width: 115.25%;
	max-width: none;
	height: 230.59%;
	object-fit: fill;
}

.site-header__nav {
	justify-content: center;
	gap: 20px;
	height: 38px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.33;
}

.site-header__nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 100%;
	padding: 0 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.12s ease;
}

.site-header__nav-link span {
	position: relative;
	display: inline-block;
	padding: 2px 0;
}

/* underline that grows from the center */
.site-header__nav-link span::after,
.site-header__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__link {
	position: relative;
	cursor: pointer;
	transition: color 0.2s ease;
}

.site-header__link::after {
	height: 1px;
	bottom: -1px;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
	color: #0a56a8;
}

.site-header__nav-link:hover span::after,
.site-header__nav-link:focus-visible span::after,
.site-header__link:hover::after,
.site-header__link:focus-visible::after {
	transform: scaleX(1);
}

.site-header__link:hover,
.site-header__link:focus-visible {
	color: #0a56a8;
}

.site-header__nav-link:active {
	transform: translateY(1px) scale(0.97);
}

.site-header__nav-link:focus-visible,
.site-header__link:focus-visible {
	outline: 2px solid var(--color-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
	.site-header__nav-link,
	.site-header__nav-link span::after,
	.site-header__link,
	.site-header__link::after {
		transition: color 0.15s ease;
	}

	.site-header__nav-link:active {
		transform: none;
	}
}

.site-header__divider {
	color: var(--color-divider);
	font-family: var(--font-divider);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
}

.site-header__top-inner,
.site-header__top-inner a,
.site-header__top-inner span {
	white-space: nowrap;
}

/* tablet: the tagline repeats the hero text, drop it so the top bar fits one line */
@media (max-width: 899px) {
	.site-header__tagline {
		display: none;
	}

	.site-header__top-inner {
		padding-inline: 24px;
	}
}

@media (max-width: 767px) {
	.site-header__top-inner {
		display: none;
	}

	.site-header__logo {
		width: 314px;
		height: 36px;
	}

	.site-header__nav {
		gap: 8px;
		height: 38px;
		font-size: 16px;
		line-height: 1.38;
	}

	.site-header__nav-link {
		padding: 0 8px;
	}

	.site-header__toolbar {
		min-height: 98px;
		padding-top: 24px;
		gap: 0;
	}
}

@media (max-width: 359px) {
	.site-header__logo {
		width: min(314px, calc(100vw - 32px));
	}

	.site-header__nav {
		gap: 2px;
		font-size: 14px;
	}

	.site-header__nav-link {
		padding: 0 5px;
	}
}
