/*
Theme Name: mvrholding
Theme URI: http://example.com/my-custom-theme
Author: Dmitry Nabozhev
Author URI: 
Description: Это тема для WordPress mvrholding
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mvrholding
*/

/* Основные стили шрифтов */
body {
	font-family: "Circe", Arial, sans-serif;
	font-weight: 300;
	/* Light по умолчанию */
	line-height: 1.6;
	color: #333;
}

/* Стили для обычного текста */
p,
li,
a,
span,
div {
	font-weight: 300;
	/* Light */
}

/* Стили для полужирного текста */
strong,
b {
	font-weight: 700;
	/* Bold */
}

/* Стили для заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	/* Regular */
	line-height: 1.2;
	margin-bottom: 0.5em;
}

/* Дополнительные классы для шрифтов */
.font-light {
	font-weight: 300 !important;
}

.font-regular {
	font-weight: 400 !important;
}

.font-bold {
	font-weight: 700 !important;
}


/* Main Header Styles */
.main_header {
	position: relative;
	width: 100%;
	height: 1080px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.header_top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0px 100px 0 90px;
}

.header_logo img {
	margin-top: 40px;
	width: 205px;
	height: 157px;
	object-fit: contain;
}

.header_menu_wrapper {
	position: relative;
}

.hamburger_icon {
	width: 80px;
	height: 123px;
	background: rgba(255, 255, 255, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.hamburger_icon span {
	display: block;
	width: 30px;
	height: 2px;
	background: #000;
	margin: 4px 0;
	transition: all 0.3s ease;
	position: absolute;
	left: 25px;
}


.hamburger_icon span:nth-child(1) {
	top: 50px;
}

.hamburger_icon span:nth-child(2) {
	top: 60px;
}

.hamburger_icon span:nth-child(3) {
	top: 70px;
}

/* When menu is active - transform to close icon */
.main_navigation.active+.hamburger_icon {
	background: #fff;
}

.main_navigation.active+.hamburger_icon span:nth-child(1) {
	transform: rotate(45deg);
	top: 60px;
}

.main_navigation.active+.hamburger_icon span:nth-child(2) {
	opacity: 0;
}

.main_navigation.active+.hamburger_icon span:nth-child(3) {
	transform: rotate(-45deg);
	top: 60px;
}

/* Remove the separate close icon */
.menu_close_icon {
	display: none !important;
}

.main_navigation {
	position: absolute;
	top: 0;
	right: 80px;
	width: 0;
	height: 123px;
	background: #fff;
	overflow: hidden;
	transition: width 0.3s ease;
	display: flex;
	align-items: end;
}

.main_navigation.active {
	width: 510px;
	padding-right: 20px;
	/*width: fit-content;*/

}

.primary_menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0 40px;
	margin-left: 40px;
}

.primary_menu li {
	margin-right: 40px;
	display: flex;
	margin-top: -46px;
}

.primary_menu li:last-child {
	margin-right: 0;
}

.primary_menu a {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-style: normal;
	font-size: 18px;
	line-height: 100%;
	color: rgba(0, 0, 0, 1);
	text-decoration: none;
	transition: color 0.3s ease;
	width: max-content;
}

.primary_menu a:hover {
	color: rgba(0, 0, 0, 0.7);
}

.menu_close_icon {
font-size: 60px;
	cursor: pointer;
	margin-left: 0px;
	display: none;
}

.main_navigation.active .menu_close_icon {
display: block;
	height: 82px;
	margin-right: 30px;
}

.header_bottom {
	width: 100%;
	height: 394px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0;
}

.header_slide {
	max-width: 390px;

}

.header_slide h3 {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-style: normal;
	font-size: 24px;
	line-height: 100%;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.header_slide p {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-style: normal;
	font-size: 18px;
	line-height: 24px;
}

/*секция practices*/

/* Practices Section */
.practices {
	padding: 80px 0;
	background-color: #fff;
}

.practices .container {
	max-width: 1520px;
	margin: 0 auto;
	padding: 0 20px;
}

.practices h2 {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 34px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 1);
	margin-bottom: 60px;
text-transform: uppercase;
}

.practice-item {
	display: flex;
	margin-bottom: 0px;
	background-color: #f2f2f2;
	position: relative;
	overflow: hidden;
	/*min-height: 460px;*/
}

.practice-item:last-child {
	margin-bottom: 0;
}

.practice-item::before {
	content: '';
	position: absolute;
	top: 0px;
	right: 377px;
	width: 767px;
	height: 432px;
	background-image: url('/wp-content/themes/mvrholding/img/ring.svg');
	background-repeat: no-repeat;
	background-position: right center;
	opacity: 1;
	z-index: 0;
}



.text-block,
.image-block {
	width: 50%;
	position: relative;
	z-index: 1;
}

.text-block {
	padding: 130px 128px;
}

.text-block h3 {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 28px;
	line-height: 30px;
	color: #235fa7;
	margin-bottom: 20px;
}

.text-block p {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;
	line-height: 22px;
	color: #4b4b4b;
}

.image-block {
	overflow: hidden;
	/* Обрезаем всё, что выходит за границы */
	position: relative;
	height: 460px;
	/* Фиксированная высота для декстоп версии */
}

.image-block img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Заполняет блок с сохранением пропорций */
	transition: transform 0.5s ease;
	/* Плавное масштабирование */
	transform-origin: center center;
	/* Точка трансформации по центру */
}

.image-block:hover img {
	transform: scale(1.05);
	/* Увеличение на 5% при наведении */
}









/* DEAR SIRS */
/* Dear Sirs Section */
.dear_sirs {
	padding: 40px 0;
}

.dear_sirs .container {
	max-width: 1520px;
	margin: 0 auto;
	padding: 0 20px;
}

.dear_sirs_wrapper {
	display: flex;
	gap: 0px;
	align-items: flex-start;
}

.dear_sirs_image {
	width: 571px;
	flex-shrink: 0;
}

.dear_sirs_image img {
	width: 100%;
	height: 681px;
	object-fit: cover;
	display: block;
}

.dear_sirs_content {
	flex-grow: 1;
}

.dear_sirs_content h1 {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 34px;
	line-height: 1.2;
	color: rgba(75, 75, 75, 1);
	margin-bottom: 28px;
	text-transform: uppercase;
}

.dear_sirs_text {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;

	color: #333;
}

.dear_sirs_text p {
	font-size: 18px;
	line-height: 24px;

}

.dear_sirs_text p br {display: block; margin-bottom: 7px;}

.podpis {width: 163px;}

/* Responsive Styles */
@media (max-width: 1366px) {
	.dear_sirs_image {
		width: 471px;
	}

	.dear_sirs_image img {
		height: 581px;
	}
}



@media (max-width: 768px) {
	.dear_sirs {
		padding: 60px 0;
	}

	.dear_sirs_content h1 {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.dear_sirs_text {
		font-size: 16px;
	}
}



/* Commitment Section */
.commitment {
	margin-top: 50px;



	position: relative;
	overflow: hidden;
}

.commitment::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('/wp-content/themes/mvrholding/img/ring_big.svg');
	background-repeat: no-repeat;
	background-position: top center;
	z-index: 2;
}

.commitment .container {
	max-width: 1520px;
	margin: 0 auto;
	position: relative;
		padding: 100px 60px;

		background-color: #F2F2F2;
}

.commitment h2 {
	position: relative;
	z-index: 5;
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 34px;
	color: rgba(75, 75, 75, 1);
	margin-bottom: 20px;
	text-transform: uppercase;
}

.commitment p {
	position: relative;
	z-index: 5;
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;
	line-height: 22px;
	color: #333;
}

.commitment p.intro-text {
	margin-bottom: 36px;
}

.commitment p.outro-text {
	margin-top: 60px;
}

.projects-grid {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 50px;
	margin: 0 auto;
	max-width: 1520px;
}

.project-item {
	/*background: white;*/
	padding: 0px;
	border-radius: 8px;
	/*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);*/
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.project-icon {
	width: 100px;
	height: 100px;

	margin-bottom: 20px;
}

.project-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.project-item h3 {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 24px;
	color: #235fa7;
	margin-bottom: 15px;

}

.project-item p {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 16px;
	line-height: 18px;
	color: rgba(75, 75, 75, 1);

	margin-left: 0;
	margin-right: 0;
}

.logo_mobile {display: none;}
/* Responsive Styles */
@media (max-width: 992px) {
	.commitment {
		padding: 40px 30px;
	}

	.projects-grid {
		grid-template-columns: 1fr 1fr;
		max-width: fit-content;
	}
}

@media (max-width: 768px) {
	.commitment {
		padding: 60px 20px;
	}

	.commitment h2 {
		font-size: 28px;
	}

	.commitment p {
		font-size: 16px;
	}

	.project-item {
		padding: 0px;
	}
}


/* Contacts Map Section */
.contacts_map {
	padding: 100px 0;
	position: relative;

}



.contacts_info::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('/wp-content/themes/mvrholding/img/ring_rotate.svg');
	background-repeat: no-repeat;
	background-position: 70px 116px;
	opacity: 1;
	z-index: 0;
}

.contacts_map .container {
	max-width: 1520px;
	margin: 0 auto;
	padding: 0 0px;
	position: relative;
	z-index: 1;
}

.contacts_map_wrapper {
	display: flex;
	min-height: 460px;
}

.contacts_info {
	width: 515px;
	padding: 80px 60px;
	display: flex;
	flex-direction: column;
	background-color: #F2F2F2;
	position: relative;
}

.contact-item {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;
	line-height: 1.4;
	color: rgba(0, 0, 0, 1);
	margin-bottom: 10px;
	transition: color 0.3s ease;
	position: relative;
	z-index: 5;
}

.contact-item.phone {font-size: 34px;}

.contact-item:last-child {
	margin-bottom: 0;
}

.contact-item.phone:hover,
.contact-item.email:hover {
	color: #1a4a8a;
}

.map_wrapper {
	flex: 1;

}

#yandex-map {
	width: 1003px;
	height: 100%;
	min-height: 460px;
}

/* Responsive Styles */
@media (max-width: 1366px) {
	.contacts_info {
		width: 450px;
		padding: 40px;
	}

	.contact-item {
		font-size: 20px;
		margin-bottom: 25px;
	}
}


	.contacts_info {
		width: 100%;
		padding: 40px 20px;
	}

	#yandex-map {
		min-height: 400px;
	}

	.contact-item {
		font-size: 18px;
		margin-bottom: 20px;
	}


@media (max-width: 768px) {
	.contacts_map {
		padding: 60px 0;
		background-color: #F2F2F2;
	}

	#yandex-map {
		min-height: 300px;
	}
}


#yandex-map .ymaps-2-1-79-map:nth-child(2) {
	display: none !important;
}


/* Main Footer Styles */
.main_footer {
	background-color: #ffffff;
	background-image: url('/wp-content/themes/mvrholding/img/footer_bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 68px 0;
	position: relative;
}



.main_footer .container {
	max-width: 1520px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 1;

}
.main_footer::after {
	width: 80%;
	height: 1px;
	background-color: #CACBCE;
	position: absolute;
	content: '';
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 auto;
}

/* Footer Logo */
.footer_logo {
	height: 123px;
	display: flex;
	align-items: center;
	opacity: 0.8;
}

.footer_logo:hover {opacity: 1;}

.footer_logo img {
	height: 100%;
	width: auto;
	object-fit: contain;
}

/* Footer Navigation */
.footer_navigation {
	flex-grow: 1;
	padding: 0 40px;
}

.footer_navigation .primary_menu {
	display: flex;
padding-left: 40px;
	list-style: none;
	margin: 0;

}

.footer_navigation .primary_menu li {
	margin: 0 20px;
}

.footer_navigation .primary_menu a {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	position: relative;
}

.footer_navigation .primary_menu a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background-color: #235fa7;
	transition: width 0.3s ease;
}

.footer_navigation .primary_menu a:hover {
	color: #235fa7;
}

.footer_navigation .primary_menu a:hover::after {
	width: 100%;
}
/* Footer Contacts */
.footer_contacts_info {
	display: flex;
	flex-direction: column;
	align-items: start;
}

.footer_contacts_info .contact-item {
	font-family: "Circe", sans-serif;
	font-weight: 350;
	font-size: 18px;
	color: rgba(0, 0, 0, 1);
	margin-bottom: 12px;
	transition: color 0.3s ease;
}

.footer_contacts_info .contact-item:first-child {font-size: 34px;}

.footer_contacts_info .contact-item:last-child {
	margin-bottom: 0;
}

.footer_contacts_info .contact-item.phone:hover,
.footer_contacts_info .contact-item.email:hover {
	color: #235fa7;
}

/* Hover effect for logo */
.hvr-bob {
	display: inline-block;
	vertical-align: middle;
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	transition-duration: 0.3s;
}

.hvr-bob:hover {
	transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
	.footer_navigation .primary_menu li {
		margin: 0 15px;
	}
}

@media (max-width: 768px) {
	.main_footer .container {
		flex-direction: column;
		text-align: center;
	}

	.footer_logo {
		margin-bottom: 30px;
		height: 100px;
	}

	.footer_navigation {
		padding: 0;
		margin-bottom: 30px;
		width: 100%;
	}

	.footer_navigation .primary_menu {
		flex-wrap: wrap;
	}

	.footer_navigation .primary_menu li {
		margin: 0 10px 10px;
	}

	.footer_contacts_info {
		align-items: center;
	}
}

@media (max-width: 768px) {
	.main_footer {
		padding: 40px 0;
	}

	.footer_logo {
		height: 80px;
	}

	.footer_navigation .primary_menu {
		flex-direction: column;
	}

	.footer_navigation .primary_menu li {
		margin: 0 0 10px;
	}
}
/* Альтернативная стрелка через CSS */
.back-to-top::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border-top: 2px solid rgba(67, 113, 169, 1);
	border-right: 2px solid rgba(67, 113, 169, 1);
	transform: rotate(-45deg);
	margin-top: 6px;
}

/* Кнопка "Наверх" */
.back-to-top {
	display: none;
	/* По умолчанию скрыта */
	position: absolute;
	left: 20px;
	top: 50px;
	bottom: 20px;
	width: 50px;
	height: 50px;
	background-color: #F2F2F2;
	border: 1px solid rgba(67, 113, 169, 1);
	border-radius: 50%;
	cursor: pointer;
	z-index: 999;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

.back-to-top:hover {
	background-color: rgba(67, 113, 169, 0.1);
}

.back-to-top svg {
	margin-top: 5px;
}

/* Показываем только на мобильных */
@media (max-width: 767px) {
	.back-to-top {
		display: flex;
	}
}

/* Показываем кнопку при скролле */
.back-to-top.visible {
	display: flex;
}