.site-header {
	padding: 36px 20px 0;
	background: transparent;
}

html {
	scroll-padding-top: 128px;
}

section[id] {
	scroll-margin-top: 128px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(170px, 280px) minmax(680px, 1fr);
	grid-template-rows: auto;
	column-gap: 28px;
	width: min(1720px, 100%);
	min-height: 72px;
	padding: 12px 64px 12px 44px;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	backdrop-filter: none;
}

.site-header__logo {
	grid-column: 1;
	grid-row: 1;
	align-self: center;
}

.site-header__logo a {
	display: block;
	width: min(100%, 195px);
}

.site-header__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-header__right {
	position: absolute;
	top: 15px;
	right: max(84px, calc((100% - 1720px) / 2 + 84px));
	z-index: 2;
	display: flex;
	gap: 18px;
}

.site-header__tel,
.site-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 37px;
	padding: 4px 17px;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(90deg, #b4e6f3, #66c5e8);
	font-size: 17px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.site-header__tel {
	flex-direction: row;
}

.site-header__tel strong {
	font-size: 24px;
	letter-spacing: 0.03em;
}

.site-header__hours {
	font-size: 14px;
	font-weight: 700;
}

.site-header__action-icon {
	display: grid;
	place-items: center;
	width: 29px;
	height: 29px;
	flex: 0 0 29px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
}

.site-header__action-icon img {
	width: 16px;
	height: 16px;
	filter: invert(77%) sepia(36%) saturate(727%) hue-rotate(160deg) brightness(94%);
}

.site-header__nav {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	justify-self: end;
}

.site-header__nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(25px, 2.7vw, 52px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__nav a {
	color: #4d4d4d;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.16em;
	white-space: nowrap;
}

.site-header__mobile-contact {
	display: none;
}

@media (max-width: 1040px) {
	.site-header__inner {
		grid-template-columns: minmax(220px, 300px) 1fr auto;
		grid-template-rows: auto;
		min-height: 80px;
		padding: 14px 24px;
	}

	.site-header__logo {
		grid-row: 1;
	}

	.site-header__logo a {
		width: min(100%, 195px);
	}

	.site-header__right {
		display: none;
	}

	.site-header__menu-button {
		grid-column: 3;
		grid-row: 1;
		display: block;
		justify-self: end;
	}

	.site-header__nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: stretch;
		max-height: calc(100svh - 140px);
		overflow-y: auto;
	}

	.site-header__nav ul {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 4px;
		width: 100%;
	}

	.site-header__nav li {
		width: 100%;
	}

	.site-header__nav .site-header__mobile-contact {
		display: block;
	}

	.site-header__nav a {
		display: block;
		width: 100%;
		padding: 10px 12px;
		border-radius: 12px;
		text-align: center;
		white-space: normal;
	}
}

@media (max-width: 680px) {
	html {
		scroll-padding-top: 90px;
	}

	section[id] {
		scroll-margin-top: 90px;
	}

	.site-header {
		padding: 10px 8px 0;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		width: calc(100% - 8px);
		min-height: 66px;
		padding: 10px 14px;
		border-radius: 22px;
	}

	.site-header__logo a {
		width: min(100%, 180px);
	}

	.site-header__menu-button {
		grid-column: 2;
	}

	.site-header__nav {
		grid-column: 1 / -1;
	}
}
