/**header**/
.st__header {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.7);
	transition: all 0.3s ease-in-out;
}

.st__header.st__s_fixed {
	position: fixed;
	background: white;
	animation: showMenu 0.3s forwards;
	transform: translateY(-100%);
}


.st__header .st__s_first {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;

}

@keyframes showMenu {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(0);
	}
}


.st__header .st__s_first .st__s_logo {
	padding: 0.5rem;
	display: flex;
	align-items: start;
}

.st__header .st__s_first .st__s_logo a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.st__header .st__s_first .st__s_logo a span {
	padding-top: 0.25rem;
	font-size: var(--size-text-m-3);
	color: var(--color-darkgray);
	text-transform: uppercase;
	letter-spacing: .2rem;
}

.st__header .st__s_first .st__s_logo img {
	width: 10vw;
	height: auto;
}

@media only screen and (min-width: 1921px) and (max-width: 3840px) {
	.st__header .st__s_first .st__s_logo img {
		width: 5vw;
	}

}


.st__header .st__s_first .st__s_tips {
	flex-grow: 1;
	display: flex;
	flex-direction: row;
}

.st__header .st__s_first .st__s_tips .st__s_tip {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	padding: 0.1vh 0.1vw;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text {
	font-size: var(--size-text-m);
	line-height: 1vw;
	letter-spacing: 0.03em;
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text {
	position: relative;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_flag {
	position: absolute;
	top: -1rem;
	left: 1rem;
	filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_flag span {
	display: block;
	text-align: center;
	background: var(--color-green);
	width: 40px;
	line-height: 56px;
	color: white;
	font-weight: 600;
	font-size: var(--size-text-m-1);
	font-family: var(--number-font);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_rate {
	display: flex;
	flex-direction: column;
	padding-left: 4rem;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_rate i {
	color: gold;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_rate .st__s_stars {
	padding-bottom: 0.25rem;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_rate .st__s_desc {
	max-width: 8rem;
	font-size: var(--size-text-xs);
	font-weight: 300;
}

@media only screen and (min-width: 1921px) and (max-width: 3840px) {
	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_text .st__s_rate .st__s_desc {
		max-width: unset;
	}
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_address {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_address i {
	margin-right: 1rem;
	color: var(--color-green);
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_address .st__s_addrtext {
	font-size: var(--size-text-m-1);
	line-height: 1.2vw;
	letter-spacing: 0.03em;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog {
	justify-content: center;
	align-items: center;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog i {
	margin-right: 1rem;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog a {
	border: 1px solid var(--color-green);
	color: var(--color-green);
	background: white;
	cursor: pointer;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 1rem;
	transition: all 0.3s ease-in-out;
	text-align: center;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog a:hover {
	background: var(--color-green);
	color: white;
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals {
	justify-content: center;
	align-items: center;
	font-size: var(--size-text-m-1);
	line-height: 1vw;
	letter-spacing: 0.03em;
	display: flex;
	flex-direction: column;

}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals > span {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals > span i {
	margin-right: 0.5rem;
	width: 4px;
	height: 4px;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social {
	width: 100%;
	display: flex;
	flex-grow: 1;
	justify-content: center;
	align-items: center;
	padding-top: 0.5rem;
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 25px;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	padding: 0.5rem;
	border-radius: 50%;

}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social a i {
	color: white;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social a:first-child {
	/*background-color: #25d366;*/
}

.st__s_max{
	background-image: url('/wp-content/uploads/2025/12/max-messenger-sign-logo.svg')
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social .st__s_wa {
	background-color: #25d366;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social .st__s_vb {
	background-color: #7360f2;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social .st__s_tg {
	background-color: #27a7e7;
}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals i {
	color: var(--color-green);
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social a {
	transition: all 0.3s ease-in-out;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social a:hover {
	transform: scale(1.1);
}

/* Скрыть кнопку WhatsApp на ПК версии */
/*
@media (min-width: 961px) {
	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals .st__s_social .st__s_wa {
		display: none;
	}
}
*/


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts {
	display: flex;
	flex-direction: column;


}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_time {
	font-size: var(--size-text-m-1);
	line-height: 1vw;
	letter-spacing: 0.03em;
	display: flex;
	flex-direction: row;
	align-items: center;

}


.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_time b {
	font-family: var(--number-font);
	margin-left: 0.25rem;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_time i {
	margin-right: 0.5rem;
	width: 4px;
	height: 4px;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_phone {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: var(--size-text-m-3);
	font-weight: 700;
	color: #1C1C1C;
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
	font-family: var(--number-font);
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_callback {
	font-size: var(--size-text-m-1);
	font-weight: 700;
	color: var(--color-green);
	position: relative;
	cursor: pointer;
}

.st__s_callback.st__show_modal {
	border: 2px solid var(--color-green);
	padding: 6px 14px;
	border-radius: 10px;
}

/*
.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_callback:before {
border-bottom: 1px dashed var(--color-green);
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
transition: all 0.3s ease-in-out;
}

.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_callback:hover:before {
width: 50%;
}
*/

.st__header .st__s_mobile_menu {
	display: none;
}


/**megamenu**/
.st__header .st__s_megamenu {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	border-top: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	position: relative;
}


.st__header .st__s_megamenu > ul {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	width: 100%;
	padding-left: 0;
	list-style: none;
	margin: 0;
}

.st__header .st__s_megamenu > ul > li {
	flex-grow: 1;
}

@media(max-width:768px){
	margin-bottom: 15px;
}

.st__header .st__s_megamenu > ul > li > a {
	/* 	padding: 0.5vw; */
	display: flex;
	justify-content: center;
	text-transform: uppercase;
	align-items: center;
	font-size: var(--size-text-m-1);
	font-weight: 600;
	color: black;
	/* 	padding-top: 1rem;
	padding-bottom: 1rem; */
	padding: 15px 20px;
	font-size: 18px;
}

.st__header .st__s_megamenu a:hover {
	color: var(--color-green) !important;
}

.st__header .st__s_megamenu > ul > li.st__s_dropdown > .sub-menu {
	display: none;
}

.st__header .st__s_megamenu > ul > li.st__s_dropdown > .st__s_mega {
	display: none;
	position: absolute;
	background: white;
	left: 0;
	right: 0;
	padding: 0;
	margin: 0;
	top:calc(100% - 1px);
}

.st__header .st__s_megamenu > ul > li.st__s_dropdown:hover >a {
	background: white;
	color: var(--color-green);
}

.st__header .st__s_megamenu > ul > li.st__s_dropdown:hover .st__s_mega {
	display: block;

}

/**mega**/
/*
.st__header .st__s_megamenu > ul > li.st__s_dropdown > .st__s_mega:nth-child(2) {
display: block;
}*/

.st__s_mega .st__s_m_items {
	display: flex;
	flex-flow: row wrap;
	padding: 1rem;
	background: white;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}

.st__s_mega .st__s_m_items > li {
	width: calc(14.285% - 13px);
	overflow: hidden;
	display: flex;
	flex-direction: column;


}

.st__s_mega .st__s_m_items ul {
	display: flex;
	padding: 0;
	list-style: none;
	padding-bottom: 0.8rem;
}

.st__s_mega .st__s_m_items li a {
	color: black;
	display: block;
	font-weight: 600;
	font-size: var(--size-text-m-1);
	padding: 0.4rem;
/* 	user-select: none; */
}
body > header > div:nth-child(3) > div > ul > li.st__s_dropdown.st__s_projects > ul > div > ul > li:nth-child(2) > a {}

.st__s_m_items > li > a {
	border-bottom: 2px dashed var(--color-green);
}

.st__s_mega .st__s_m_items > li > ul {
	padding: 0;
	margin: 0;
}

/* .st__s_mega .st__s_m_items > li > ul > li{
border-right: 1px solid var(--color-extralightgray);
}
.st__s_mega .st__s_m_items > li > ul > li:last-child{
border-right:unset;
}
*/
.st__s_mega .st__s_m_items > li > ul > li a {
	font-weight: 300;

}

/* Скролл для меню Проекты на ПК версии */
.st__s_projects .st__s_mega .st__s_m_items {
	/* 	max-height: 70vh; */
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--color-green) #f1f1f1;
}

/* Стили для скроллбара в меню проектов на ПК */
.st__s_projects .st__s_mega .st__s_m_items::-webkit-scrollbar {
	width: 8px;
}

.st__s_projects .st__s_mega .st__s_m_items::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.st__s_projects .st__s_mega .st__s_m_items::-webkit-scrollbar-thumb {
	background: var(--color-green);
	border-radius: 10px;
}

.st__s_projects .st__s_mega .st__s_m_items::-webkit-scrollbar-thumb:hover {
	background: #1a8a1a;
}


/**mega*/


.st__header .st__s_megamenu > ul > li.st__s_dropdown:hover > .sub-menu {
	display: block;
}

.st__header .st__s_megamenu > ul > li.st__s_dropdown > .sub-menu {
	position: absolute;
	background: white;
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.3);
	list-style: none;
	padding: 1rem;

}

.st__header .st__s_megamenu > ul > li.st__s_dropdown > .sub-menu a {
	/* 	padding: 0.25rem; */
	display: flex;
	text-transform: uppercase;
	/* 	font-size: var(--size-text-m); */
	font-weight: 600;
	color: black;
	font-size: 16px;
	padding: 12px 8px;
}


.st__header .st__s_megamenu .st__s_dropdown > a:after {
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	margin-left: 1rem;
}

.st__header .st__s_megamenu .st__s_mobile_header {
	display: none;
}


@media (max-width: 1400px) {
	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog a {
		max-width: 8rem;
		font-size: var(--size-text-xs);
		font-weight: 600;
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_catalog i {
		display: none;
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_phone {
		font-size: var(--size-text-m-2);
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_soclals {
		font-size: var(--size-text-xs);
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_time {
		font-size: var(--size-text-xs);
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_address .st__s_addrtext {
		font-size: var(--size-text-xs);
	}

	.st__header .st__s_first .st__s_tips .st__s_tip.st__s_contacts .st__s_callback {
		font-size: var(--size-text-xs);
	}

}

@media (max-width: 768px) {
	.st__header {
		position: fixed;
		background: white;
		animation: showMenu 0.3s forwards;
		transform: translateY(-100%);
	}
	.st__s_mega .st__s_m_items li a {
		font-size: var(--size-text-m1);
	}
	.st__header .st__s_megamenu .st__s_dropdown > a:after{
		display: none;
	}
	.st__header .st__s_first .st__s_logo a span {
		font-size: 12px !important;
	}
	.st__header .st__s_first .st__s_logo {
		padding: 0;
	}

	.st__header .st__s_megamenu > ul > li.st__s_dropdown > .sub-menu {
		display: flex;
		position: relative;
		box-shadow: none;
		flex-direction: column;
		align-items: center;
		padding: 0 0 15px 0;
	}
}
