@charset "UTF-8";

.header {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	padding: 24px 0;
}
.v2_header .container {
    position: relative;
}

.header--stable {
	color: #fff;
}

.header a {
	color: inherit;
}

/* Лого */

.logo {
	display: block;
	line-height: 0;
}

.logo__light {
	display: none;
}

.logo img {
	max-height: 64px;
}

.header__content {
	gap: 24px;
	width: calc((((100vw - (40px * 2)) + 24px) / 8 * 5) - 24px + 0px);
}

/* Язык */

.lang {
	margin-left: auto;
	gap: 8px;
	text-transform: uppercase;
	/* visibility: hidden; */
}

.lang__link {
	position: relative;
	padding: 2px 0;
}

.lang__link::before {
	content: "";
	display: block;
	width: 0%;
	height: 1px;
	position: absolute;
	bottom: 0px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	background: #00CB62;
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.lang__link.active::before,
.lang__link:hover::before {
	width: 100%;
}

/* Тема */

.colors-dark {
	display: none;
}

.theme-light .logo__dark {
	display: none;
}

.theme-light .logo__light {
	display: block;
}

.theme-light .colors-light {
	display: none;
}

.theme-light .colors-dark {
	display: block;
}

.theme-light .header:not(.header--stable) path[fill] {
	fill: #141414;
}

.theme-light .header:not(.header--stable) .light {
	-webkit-filter: brightness(0%) invert(0%) sepia(2%) saturate(715%) hue-rotate(17deg) brightness(84%) contrast(84%);
	filter: brightness(0%) invert(0%) sepia(2%) saturate(715%) hue-rotate(17deg) brightness(84%) contrast(84%);
}

.theme-light .header:not(.header--stable) .corner {
	border-color: #141414 !important;
}

/* Поиск */
.header__search {
	cursor: pointer;
	position: relative;
}

.header__search path {
	-webkit-transition: 0.4s;
	-o-transition: 0.4s;
	transition: 0.4s;
}

.header__search:hover path {
	opacity: 1;
}

.search-close {
	display: none;
}

.header__search.close svg {
	display: none;
}

.header__search.close .search-close {
	display: block;
}

.search {
	position: absolute;
	top: 20px;
	right: 114px;
	padding: 5px 6px 5px 16px;
	height: 56px;
	background: #232323;
	border-radius: 16px;
	gap: 12px;
	visibility: hidden;
	opacity: 0;
	transition: .4s;
	width: calc(100% - 420px);
	flex-wrap: wrap-reverse;
}

.search.show {
	visibility: visible;
	opacity: 1;
}

/* .search::before {
	content: '';
	display: block;
	width: 32px;
	height: 32px;
	position: absolute;
	top: -12px;
	right: 6px;
	background: #00CB62;
	border-radius: 4px;
	transform: rotate(45deg);
} */

.search input {
	flex: 1;
	background: none;
	font-family: "Golos Text VF";
	font-size: 16px;
	line-height: 140%;
	letter-spacing: 0.44px;
	color: #fff;
	border: none;
	outline: none !important;
}

.search input::placeholder {
	color: #646464;
	opacity: 1;
}

.search .search-icon {
	background: none;
	border: none;
	outline: none;
	order: -10;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.search .search-submit {
	padding: 0 46px;
	height: 44px;
	border-radius: 12px;
	background-color: #00C974;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #fff;
	font-size: 16px;
}
.search .search-close {
	position: absolute;
	top: 0;
	left: calc(100% + 8px);
	z-index: 2;
	width: 56px;
	height: 56px;
	background-color: #232323;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 250ms ease;
	border-radius: 16px;
}
.search .search-close:hover {
	background-color: #00CB62;
}
@media (max-width:1439px) {
	.search {
		top: 6px;
	}
}
@media (max-width:1023px) {
	.search {
		width: calc(100% - 260px);
		height: 44px;
	}
	.search .search-submit {
		height: 34px;
		padding: 0 20px;
	}
	.search .search-close {
		width: 44px;
		height: 44px;
	}
}
@media (max-width: 1600px) {
	.logo {
		width: calc((((100vw - (40px * 2)) + 24px) / 8 * 2) - 24px + 0px);
	}

	.header__content {
		width: calc((((100vw - (40px * 2)) + 24px) / 8 * 6) - 24px + 0px);
	}
}

@media (max-width: 1024px) {
	.logo {
		width: 200px;
	}

	.logo img {
		max-height: 43px;
	}

	.header__content {
		width: auto;
	}

	.search {
		right: 76px;
	}

	.lang__link {
		font-size: 18px;
	}

	.header .square-button {
		display: none;
	}

	.header .lang {
		margin-right: 18px;
	}
}

@media (max-width: 680px) {
	.header {
		padding: 10px 0;
	}

	.logo {
		width: 128px;
	}

	.logo img {
		max-height: 28px;
	}

	.header__content {
		gap: 8px;
	}

	.header__search svg {
		width: 20px;
		height: 20px;
	}

	.search {
		right: 42px;
		padding: 8px;
		border-radius: 4px;
		gap: 12px;
	}

	.search::before {
		width: 16px;
		height: 16px;
		top: -7px;
		right: 3px;
	}

	.search input {
		font-size: 14px;
		letter-spacing: 0px;
	}

	.header.fixed {
		position: fixed;
		background-color: rgba(20, 20, 20, 0.18);
	}

	.header.fixed::before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		backdrop-filter: blur(28.29px);
		background: rgba(20, 20, 20, 0.18);
		z-index: -1;
	}

}

