.hero-header {
	position: absolute;
	inset: 0 0 auto;
	z-index: 20;
	padding: clamp(24px, 4.4vw, 64px) clamp(20px, 4vw, 80px) 0;
	color: var(--color-light);
}

.hero-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(132px, 13.7vw, 197px) minmax(0, 1fr);
	align-items: center;
	max-width: 1280px;
	min-height: 50px;
	margin: 0 auto;
	gap: clamp(18px, 4vw, 64px);
}

.hero-header__side {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.hero-header__side--right {
	justify-content: flex-end;
}

.hero-header__logo {
	position: static;
	justify-self: center;
	display: flex;
	width: clamp(132px, 13.7vw, 197px);
}

.hero-header__logo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.hero-header__control,
.hero-header__book,
.hero-header__season {
	border: 1px solid rgba(255, 255, 255, 0.34);
	background: rgba(17, 27, 33, 0.32);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 999px;
	color: var(--color-light) !important;
}

.hero-header__control,
.hero-header__book,
.hero-header__season-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 18px;
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-header__control {
	cursor: pointer;
}

.hero-header__control:hover,
.hero-header__season-link:hover {
	background: rgba(255, 255, 255, 0.12);
}

.hero-header__book {
	min-width: 178px;
	border-color: rgba(216, 168, 82, 0.85);
	background: var(--color-gold);
	color: var(--color-dark);
}

.hero-header__book:link,
.hero-header__book:visited,
.hero-header__book:hover,
.hero-header__book:focus,
.hero-header__book:active {
	color: var(--color-dark);
	text-decoration: none;
}

.hero-header__book:hover,
.hero-header__book:focus-visible {
	background: var(--color-gold-bright);
	transform: translateY(-1px);
}

.hero-header__icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
}

.hero-header__icon svg,
.hero-header__control svg,
.hero-header__season-link svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero-header__season {
	display: inline-flex;
	align-items: center;
	width: 191px;
	min-height: 50px;
	gap: 4px;
	padding: 4px;
	overflow: hidden;
}

.hero-header__season-link {
	flex: 1 1 0;
	min-width: 0;
	min-height: 40px;
	padding: 0 10px;
	border-radius: 999px;
	color: var(--color-light);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
}

.hero-header__season-link:link,
.hero-header__season-link:visited,
.hero-header__season-link:hover,
.hero-header__season-link:focus,
.hero-header__season-link:active {
	color: var(--color-light);
	text-decoration: none;
}

.hero-header__season-link.is-active {
	background: var(--color-gold);
	color: #ffffff !important;
}

.hero-header__season-link.is-active:link,
.hero-header__season-link.is-active:visited,
.hero-header__season-link.is-active:hover,
.hero-header__season-link.is-active:focus,
.hero-header__season-link.is-active:active {
	color: var(--color-dark);
}

.hero-header__callback {
	position: relative;
	z-index: 40;
}

.hero-header__callback-button {
	min-width: 204px;
}

.hero-header__callback-button[aria-expanded="true"] {
	border-color: rgba(216, 168, 82, 0.72);
	background: rgba(17, 27, 33, 0.46);
}

.hero-header__dropdown-arrow {
	transition: transform 180ms ease;
}

.hero-header__callback-button[aria-expanded="true"] .hero-header__dropdown-arrow {
	transform: rotate(180deg);
}

.hero-header__phone-icon {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.hero-header__contacts {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1001;
	width: min(318px, calc(100vw - 32px));
	min-width: 100%;
	overflow: hidden;
	border: 1px solid rgba(216, 168, 82, 0.36);
	border-radius: 18px;
	background: rgba(16, 23, 25, 0.92);
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
	visibility: hidden;
}

.hero-header__contacts.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.hero-header__contact-link {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 22px;
	gap: 12px;
	align-items: center;
	min-height: 56px;
	padding: 10px 14px;
	color: var(--color-light);
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.hero-header__contact-link + .hero-header__contact-link {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-header__contact-link:hover,
.hero-header__contact-link:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	outline: none;
}

.hero-header__contact-icon {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(216, 168, 82, 0.28);
	border-radius: 50%;
	background: rgba(216, 168, 82, 0.12);
	color: var(--color-gold);
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.hero-header__contact-icon::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background: currentColor;
}

.hero-header__contact-icon--phone::before {
	width: 17px;
	height: 17px;
	-webkit-mask: url("../../icons/phone.svg") center / contain no-repeat;
	mask: url("../../icons/phone.svg") center / contain no-repeat;
}

.hero-header__contact-icon--telegram::before {
	content: "T";
	width: auto;
	height: auto;
	background: none;
}

.hero-header__contact-icon--viber::before {
	content: "V";
	width: auto;
	height: auto;
	background: none;
}

.hero-header__contact-icon--whatsapp::before {
	content: "W";
	width: auto;
	height: auto;
	background: none;
}

.hero-header__contact-text {
	min-width: 0;
}

.hero-header__contact-label,
.hero-header__contact-value {
	display: block;
}

.hero-header__contact-label {
	color: rgba(247, 242, 232, 0.68);
	font-size: 12px;
	line-height: 1.25;
}

.hero-header__contact-value {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.hero-header__contact-arrow {
	display: inline-flex;
	width: 22px;
	height: 22px;
	align-items: center;
	justify-content: center;
	color: var(--color-gold);
	opacity: 0.9;
	transition: transform 160ms ease;
}

.hero-header__contact-arrow svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hero-header__contact-link:hover .hero-header__contact-arrow,
.hero-header__contact-link:focus-visible .hero-header__contact-arrow {
	transform: translateX(2px);
}

@media (max-width: 1024px) {
	.hero-header__inner {
		grid-template-columns: 1fr auto 1fr;
		gap: 16px;
	}

	.hero-header__season {
		display: none;
	}

	.hero-header__callback-button {
		min-width: 50px;
		padding-inline: 12px;
	}

	.hero-header__callback-button > span:not(.hero-header__icon) {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

@media (max-width: 640px) {
	.hero-header {
		padding-top: 18px;
	}

	.hero-header__inner {
		display: flex;
		justify-content: space-between;
	}

	.hero-header__logo {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 116px;
		transform: translate(-50%, -50%);
	}

	.hero-header__menu-toggle {
		min-width: 48px;
		padding-inline: 12px;
	}

	.hero-header__menu-toggle span:last-child {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.hero-header__book {
		min-width: auto;
		min-height: 44px;
		padding-inline: 14px;
		font-size: 13px;
	}

	.hero-header__callback {
		display: block;
	}

	.hero-header__contacts {
		position: fixed;
		top: 76px;
		right: 16px;
		width: min(360px, calc(100vw - 32px));
		min-width: 0;
	}
}

@media (max-width: 430px) {
	.hero-header__side--right {
		gap: 8px;
	}

	.hero-header__book {
		display: none;
	}
}
