#headerCanvas {
	width: 100%;
	height: 100%
}

.header {
	height: calc(100vh - 80px);
	position: relative;
	overflow: hidden;
	margin: 40px auto;
	max-width: 1840px;
	padding: 0 40px;
	margin-bottom: clamp(100px, calc(100px + (150 - 100) * ((100vw - 360px) / (960 - 360))), 150px) !important;	
}
.js-hide-on {
	display: none;
}
.header-content {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	background-image: url('https://hr-russmarket.ru/wp-content/uploads/2025/07/Mask-group-scaled-1.webp');
	background-size: cover;
	background-position: center;
	border-radius: 50px;
	width: 100%;
	height: inherit;
}

.header-content-404 {
	background-image: url('https://hr-russmarket.ru/wp-content/uploads/2025/07/Group-38687-scaled.webp');
	align-items: center;
}
.header-image img {
	max-width: 35%;
	height: auto;
	border-radius: 20px;
	position: absolute;
	bottom: 0px;
	right: 3%;
	z-index: 0;
}

.header li {
	list-style-type: none;
	white-space: nowrap
}

.header .header-nav {
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.header .header-nav li a:hover {
	border-bottom: 1px solid
}

.header-top-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: absolute;
	top: 0;
	z-index: 20;
	justify-content: space-between;
	width: 100%;
}

.header-logo_wrapper {
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center
}

.header-logo_wrapper .white_bg {
	background: none;
	padding: 18px 33px 15px 45px
}

.header-wrapper {
	position: absolute;
	width: 100%;
	-webkit-clip-path: url(#clipPathId);
	clip-path: url(#clipPathId);
	background: linear-gradient(180deg, #E8EFF8 0%, #EEEEF7 27.41%, #FFEAF6 100%);
	border-radius: 50px;
	height: inherit;
}

.header-nav ul {
	display: flex;
	align-items: center;
	gap: 55px;
	padding: 22px 61px;
	background-color: #fff;
	border-radius: 50px;
	font-weight: 400;
	box-shadow: 3px 3px 3px 0px #001B930D;
}

.header-nav a{
	font-family: "Loos Wide", sans-serif;
	font-weight: 400;
	font-size: clamp(16px, calc(18px + (20 - 16) * ((100vw - 360px) / (960 - 360))), 20px);
	line-height: 100%;
	text-align: center;
}
.header-phone a {
	display: flex;
	align-items: center;
	gap: 55px;
	padding: 22px 61px;
	background-color: #001B93;
	border-radius: 50px;
	box-shadow: 3px 3px 3px 0px #001B930D;
	color: #fff;
	font-family: "Loos Wide", sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 100%;
	font-size: clamp(10px, calc(10px + (20 - 10) * ((100vw - 360px) / (960 - 360))), 20px);
	white-space: nowrap;
	transition:.4s;
}

.header-top-right{
	display: flex;
	align-items: center;
	gap: 80px;
}

.header-top-content{
	padding-top: 0px;
	padding-inline: 21px;
	align-items: center;
	gap: 50px;
}

.header-top-content{
	display: flex;
	position: relative;
	justify-content: space-between;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
	z-index: 10;
}

.header-text h1 {
	font-family: "Loos Wide", sans-serif;
	font-weight: 500;
	font-size: clamp(26px, calc(26px + (60 - 26) * ((100vw - 360px) / (960 - 360))), 60px);
	line-height: 110%;
	margin-bottom: 40px;
}

.header-text h1 span {
	color: #001B93;
}
.header-text {
	box-sizing: content-box;
	padding:200px;
	padding-bottom: 105px;
	position: relative;
	z-index: 1;
}
.header-text p {
	font-family: "Loos Wide", sans-serif;
	font-weight: 400;
	font-size: clamp(18px, calc(18px + (32 - 18) * ((100vw - 360px) / (960 - 360))), 32px);
	line-height: 120%;
	margin-bottom: 40px;
}


@media (max-width: 1500px) {
	.header-text h1 {
		font-size: clamp(26px, calc(26px + (60 - 26) * ((100vw - 360px) / (960 - 360))), 52px);
	}
	
	.header-text p {
		font-size: clamp(18px, calc(18px + (32 - 18) * ((100vw - 360px) / (960 - 360))), 28px);
	}
}

.header-text .btn {
	background: #fff;
	width: fit-content;
	border-radius: 50px;
	padding: 3% 16% 3% 13%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #001B93;
	font-family: "Loos Wide", sans-serif;
	font-weight: 500;
	font-size: clamp(16px, calc(16px + (22 - 16) * ((100vw - 360px) / (960 - 360))), 22px);
	line-height: 100%;
	position: relative;
	overflow: hidden;
}

.header-text .btn:hover {
	background: #001B93;
	color: #fff;
}

.btn img {
	position: absolute;
	right: 15%;
	top: 50%;
	transform: translateY(-50%);
	height: 1.2em;
	transition: opacity 0.4s ease;
}

.btn .img-default {
	opacity: 1;
}

.btn .img-hover {
	opacity: 0;
}

.btn:hover .img-default {
	opacity: 0;
}

.btn:hover .img-hover {
	opacity: 1;
}
.header-text .btn img {
	position: absolute;
	right: 1%;
	height: 90%;
}

.white_bg img{
	width:100%;
}

.burger {
	display: none
}


.header-text-404 {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding-top: 150px;
}
.header-text-404 h1{
	color: #001B93;
	margin: 0;
}
.header-text-404 p{
	margin: 0;
	color: #001B93;
	font-size: clamp(60px, calc(60px + (300 - 60) * ((100vw - 360px) / (960 - 360))), 300px);
}

.header-text .btn-404 {
	white-space: nowrap;
	width: 80%;
	padding: 4%;
}

@media screen and (max-width: 1700px) {
	.header-text {
		padding: 150px 150px 50px 150px;
	}
}
@media (max-width: 1500px) {
	.header-nav ul li:nth-child(2) {
		display: none !important;
	}
}

@media screen and (max-width: 1200px) {
	.header-text .btn{
		margin-left: auto;
	}
	.header-text h1 br.js-hide-on-mobile {
		display: none !important;
	}
	.header-text h1 br.js-hide-on{
		display: block;
	}
	.burger {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		background: no-repeat;
		border: none;
		width: 40px;
		height: 40px;
		margin-right: 10px;
		position: relative;
		top: -5px;
	}

	.burger svg path {
		fill: #000
	}
	.header-text {
		padding: 80px 30px 50px 30px;
	}

	.header-top-content {
		display: none;
	}

	.header-wrapper {
		background: none;
		-webkit-clip-path: none;
	}

	.header-top-wrapper {
		justify-content: space-between;
	}

	.header-wrapper {
		margin-left: 0px;
		margin-right: 0px;	
	}


	.header-logo_wrapper .white_bg {
		background: none;
		padding: 10px 30px;
	}

	.header-content {
		justify-content: center;
		background-image: url(https://hr-russmarket.ru/wp-content/uploads/2025/07/Frame-277135165.png);
	}
	.header-content-404 {
		background-image: url('https://hr-russmarket.ru/wp-content/uploads/2025/07/Group-38687-scaled.webp');
	}
	.header-image img {
		max-width: 30%;
		height: auto;
		border-radius: 20px;
		position: absolute;
		bottom: 0px;
		right: 5%;
	}

	.header-text h1 {
		margin-top: 70px;
	}
}

@media screen and (max-width: 1024px) {
	.footer-bottom {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}
	.footer {
		padding: 0 30px;
	}
	.header {	
		margin: 20px auto;
	}
}
@media screen and (max-width: 768px) {
	.header-text .btn {
		padding: 1rem 25% 1rem 20%;
	}
	.footer {
		padding: 0 10px;
	}

	.header-image img {
		max-width: 60%;
		right: 0%;
	}
	.header-logo_wrapper .white_bg {
		background: none;
		padding: 18px 10px;
	}
}

@media screen and (max-width: 500px) {
	.header-image img {
		max-width: 60%;
		right: 0%;
	}
}
.overlay-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #EEEEF7 0%, #FFEAF6 100%);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px 20px;
}

.overlay-menu.open {
	transform: translateX(0);
}

.overlay-content {
	width: 100%;
	max-width: 1200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	position: relative;
}

.overlay-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	gap: 20px;
}

.overlay-list li a {
	font-family: "Loos Wide", sans-serif;
	font-weight: 400;
	line-height: 100%;
	font-size: clamp(36px, calc(36px + (80 - 36) * ((100vw - 360px) / (960 - 360))), 80px);
	color: #171717;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
}

.overlay-contact {
	text-align: center;
	margin-bottom: 20px;
}

.overlay-contact p {
	font-family: "Loos Wide", sans-serif;
	font-weight: 400;
	line-height: 100%;
	font-size: clamp(20px, calc(20px + (22 - 20) * ((100vw - 360px) / (960 - 360))), 22px);
	color: #171717;
	margin: 10px 0;
}

.overlay-contact a {
	text-decoration: none;
	color: #171717;
}

.overlay-close {
	position: absolute;
	top: 10px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
}
