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

.header {
	height: 856px;
	position: relative;
	overflow: hidden;
	margin: 40px auto;
	max-width: 1840px;
	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;
	border-radius: 50px;
	width: 100%;
	height: inherit;
}

.header-content-404 {
	background-image: url(http://hr-russ-market.ru/wp-content/uploads/2025/07/Mask-group-scaled.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;    align-items: center;
	justify-content: center;    min-height: 400px;
}

.header-image img {
	height: 704px;
	border-radius: 20px;
	position: absolute;
	bottom: 17px;
	right: 17px;
	z-index: 0;
}

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

.header .header-nav {
	flex: 1;
	-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 {
	flex: 1;
	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: #FFFFFF;
	border-radius: 50px;
	height: inherit;
}

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

.header-nav a{
	font-weight: 400;
	font-size: clamp(10px, calc(10px + (22 - 10) * ((100vw - 768px) / (1840 - 768))), 22px);
	line-height: 100%;
	text-align: center;
}

.header-phone a {
	display: flex;
	align-items: center;
	gap: 55px;
	padding: 22px 61px;
	background-color: transparent;
	border: 3px solid #F85C33;
	border-radius: 50px;
	box-shadow: 3px 3px 3px 0px #001B930D;
	color: #F85C33;
	font-weight: 400;
	line-height: 100%;
	font-size: clamp(10px, calc(10px + (22 - 10) * ((100vw - 768px) / (1840 - 768))), 22px);
	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-weight: 700;
	font-size: 85px;
	line-height: 110%;
	margin-bottom: 30px;
}

.header-text strong{
	display: block;
	margin-bottom: 30px;
	font-weight: 700;
	font-size: clamp(27px, calc(27px + (35 - 27) * ((100vw - 1024px) / (1840 - 1024))), 35px);
	line-height: 110%;
}

.header-text p {
	max-width: clamp(405px, calc(405px + (808 - 405) * ((100vw - 1024px) / (1840 - 1024))), 808px);
	font-weight: 400;
	font-size: clamp(18px, calc(18px + (36 - 18) * ((100vw - 1024px) / (1840 - 1024))), 36px);
	line-height: 120%;
	margin-bottom: 30px;
}

.header-text h1 span {
	color: #F95B2E;
}

.header-text {
	box-sizing: content-box;
	padding-left: clamp(30px, calc(30px + (50 - 30) * ((100vw - 1024px) / (1840 - 1024))), 50px);
	padding-top: 345px;
	position: relative;
	z-index: 1;
}

.btn {
	background: #F85B2E;
	width: fit-content;
	border-radius: 50px;
	padding: 23px 133px 23px 93px;
	display: flex;
	font-weight: 700;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
	line-height: 100%;
	position: relative;
	overflow: hidden;
	height: 75px;
	transition: .4s;
}

header .btn {
	border: 3px solid #F85D2F;
}

header .btn .img {
	top: 0;
	right: 0;
}

.btn span {
	color: #fff;
}

.btn .img {
	transition: .4s;
}

.btn .img path {
	fill: #F85B2E;
	transition: .4s;
}

.btn:hover {
	background: #FBFBFB;
	color: #F85B2E;	
}

.btn:hover span {
	color: #F85D2F;
}

.btn:hover .img {
	background: #F85B2E;
}

.btn:hover .img path {
	fill: #fff;
}

.btn:hover .img {
	transform: scale(1.11);
}

.btn .img {
	position: absolute;
	border: 3px solid #F85D2F;
	right: 0px;
	top: 0px;
	height: 69px;
	width: 69px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	border-radius: 50%;
}

.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: #F85D2F;
	margin: 0;
}
.header-text-404 p{
	margin: 0;
    color: #F85D2F;
	font-size: clamp(60px, calc(60px + (300 - 60) * ((100vw - 360px) / (960 - 360))), 300px);
}

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

.header-image img.flower-image {
	position: absolute;
	left: 0;
	top: -10vw;
	filter: grayscale(1);
	width: 30vw;
	height: 30vw;
	object-fit: contain;
}

@media (min-width: 1024px) {
	header .btn {
		margin-left: 100px;
	}	
}

@media (max-width: 1920px) { 
	.header {
		width: 100%;
		max-width: calc(100vw - 80px);
		height: 850px;
		margin-inline: 40px;
	}
}

@media (max-width: 1900px) { 
	.header-text h1 {
		font-size: 80px;
	}	
}

@media (max-width: 1800px) { 
	.header {
		height: 750px;
	}
	.header-image img {
		height: 600px;
	}
	.header-text {
		padding-top: 320px;
	}
}

@media (max-width: 1700px) {
	.header-top-content {
		flex: 3;
		gap: 20px;
	}
	.header-nav ul, .header-phone{
		gap: 30px;
		padding: 22px 25px;
		justify-content: space-between;
	}
	.header-text h1 {
		font-size: 75px;
	}
	.header-logo_wrapper .white_bg {
		width: 100%;
	}
}

@media (max-width: 1600px) { 
	.header-text h1 {
		font-size: 70px;
	}	
}

@media (max-width: 1500px) {
	.white_bg img {
		max-width: 200px;
	}
	.header-text h1 {
		font-size: 65px;
	}
	.header-image img {
		height: 520px;
	}
	.header {
		height: 650px;
	}
	.header-text {
		padding-top: 270px;
	}
	.header-text a.btn {
		font-size: 18px;
		padding: 21px 120px;
        padding-left: 90px;
		height: 65px;
		right: 2px;
		top: 2px;
	}
	header a.btn .img {
		top: 0px;
        right: 0px;
        width: 60px;
        height: 60px;
	}
}

@media (max-width: 1400px) {
	.header-text h1 {
		font-size: 60px;
		margin-bottom: 25px;
	}
	.header-text strong{
		margin-bottom: 25px;
	}
}

@media (max-width: 1300px) {
	.header-text h1 {
		font-size: 55px;
	}
	.header-text {
		padding-top: 230px;
	}
	.header {
		height: 550px;
	}
	.header-image img {
		height: 440px;
	}
	.header-nav ul {
		gap: 15px;
	}
	.header-phone {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 1200px) {
	.header-text h1 {
		font-size: 50px;
	}
}

@media (max-width: 1100px) {
	.header-text h1 {
		font-size: 45px;
	}
	a.btn {
		font-size: 18px;
		padding: 21px 80px;
        padding-left: 60px;
		height: 50px;
		right: 2px;
		top: 2px;
	}
	a.btn .img {
		top: -1px;
        right: 0px;
        width: 46px;
        height: 46px;
	}
}

@media screen and (max-width: 1024px) {
	.header{
		margin-inline: 10px;
		max-width: unset;
		width: auto;
	}	
	.header-text{
		padding-top: 240px;
	}
	.header-phone {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 900px) {
	.header-text h1 {
		font-size: 35px;
	}
	.header-text {
		padding-top: 240px;
	}
}

@media screen and (max-width: 768px) {
	.header-image img.flower-image {
		width: 50%;
		right: 0;
		left: unset;
		display: none;
	}
	.header-top-wrapper {
		position: relative;
	}
	.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;
	}
	
	.header-text a.btn {
		float: right;
		width: 60%;
	}
	
	.header-text a.btn,
	a.btn{
		font-size: 16px;
		padding: 11px 40px;
        padding-left: 30px;
		height: 42px;
		right: 2px;
		top: 2px;
		border: 1px solid #F85D2F;
	}
	.btn svg {
		transform: scale(0.5) !important;
	}
	header a.btn .img {
		top: 1px;
        right: 0px;
        width: 38px;
        height: 38px;
	}
	
	.suitable a.btn .img {
		top: -1px;
        right: 0px;
        width: 38px;
        height: 38px;
	}

	.burger svg path {
		fill: #000
	}

	.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-404 {
		background-image: url('https://hr-russmarket.ru/wp-content/uploads/2025/07/Group-38687-scaled.webp');
	}

	.footer-bottom {
		align-items: stretch;
		flex-direction: column;
		gap: 20px;
	}
	.footer {
		padding: 0 30px;
	}
	.header {	
		margin: 20px auto;
	}

	.header-text .btn {
		padding: 1rem 25% 1rem 20%;
	}
	.footer {
		padding: 0 10px;
	}
	
	.header-text strong {
		font-size: 20px;
	}

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

@media screen and (max-width: 500px) {
	.header-image img {
		max-width: 60%;
		right: 0%;
	}
	.header-image img.flower-image {
		display: none;	
	}
}
.overlay-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #FBFBFB;
	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;
	align-items: center;
	gap: 40px;
	padding-top: 50px;
}

.overlayMenu-image {
	width: 50%;
}

.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: 0px;
    right: 10px;
	background: none;
	border: none;
	cursor: pointer;
}

@media (max-width: 1450px) { 
	.header-phone a {
		padding: 16px 23px;
		border: 2px solid #F85C33;
	}
	.header-nav ul {
		padding: 16px !important;
	}
}

.header-404 {
	height: calc(100vh - 80px);
}

.header-404 .container {
	padding-inline: 0;
	height: inherit;
}

