/*!
Theme Name: Tax Lawyer
Theme URI: http://underscores.me/
Author: Programador TOP
Author URI: https://programador.top/
Description: Web site for the best tax lawyer in the world and my best friend
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tax-lawyer
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
/*@import url('https://fonts.googleapis.com/css?family=Mukta:300,400,700,900|Playfair+Display:400,400i,700,700i,900,900i&display=swap');*/
@import "./assets/css/flaticon.css";

html[lang="en-US"],
html[lang="en"] {
	--font-text: 'Mukta', sans-serif;
	--font-title: 'Playfair Display', serif;
	font-family: 'Playfair Display', serif;
}
html[lang="ru-RU"],
html[lang="ru"] {
	--font-text: 'Merriweather', serif;
	--font-title: 'PT Sans', sans-serif;
	font-family: 'PT Sans', sans-serif;
}
:root {
	--black: #1b1b1b;
	--white: #ffffff;
	--gold: #c29032;
	--gray-black: #333333;
	--gray-light: #777777;
}
* {
	margin: 0;
	padding: 0;
	text-decoration: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	list-style-type: none;
}

.wrapper-page {
	display: flex;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.side-bare-hf {
	width: 270px;
	min-width: 270px;
	background: var(--white);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 50px 30px 30px 30px;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	z-index: 1001;
	transition: margin-left 0.7s ease-in-out;
	overflow-x: hidden;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-box-shadow: 0 0 30px rgb(0 0 0 / 5%);
	box-shadow: 0 0 30px rgb(0 0 0 / 5%);
}
.side-bare-hf::-webkit-scrollbar {
	display: none;
}
.header {
	display: flex;
	flex-direction: column;
}
.header .logo {
	text-align: center;
	transition: opacity 0.7s;
	opacity: 1;
}
.header .logo:hover {
	text-align: center;
	opacity: 0.8
}
.header .logo img {
	width: 100px;
}
.header .logo .name {
	color: var(--gold);
	font-weight: 500;
	font-size: 22px;
	line-height: 120%;
	margin-bottom: 5px;
}
.header .logo .proffecion {
	display: block;
	text-align: center;
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--gray-light);
	font-weight: 500;
	line-height: 1.75em;
	font-family: var(--font-text);
	text-transform: uppercase;
}
.header .menu {
	margin: 50px 0 30px;
	list-style: none;
	padding: 0;
}
.header .menu li {
	margin: 0 0 5px;
}
.header .menu li a {
	padding: 0 0 3px 0;
	font-size: 17px;
	line-height: 1.75em;
	color: var(--gray-black);
	display: flex;
	align-items: center;
	transition: color 0.7s;
}
.header .menu li.current_page_item a{
	color: var(--gold);
}
.header .menu li:hover a{
	color: var(--gold);
}
.header .menu li .icon-star {
	margin-right: 10px;
	font-size: 8px;
	vertical-align: middle;
	transition: color 0.7s;
}
.header .menu li.current_page_item .icon-star {
	color: var(--gold);
}
.header .menu li:hover .icon-star {
	color: var(--gold);
}
.header .contact-info {
	color: var(--gold);
	font-size: 16px;
	font-weight: 400;
	font-family: var(--font-text);
	letter-spacing: 2px;
	text-transform: uppercase;
}
.header .contact-info .text{
	margin-bottom: 5px;
}
.header .contact-info .tel a{
	font-size: 20px;
	font-family: var(--font-text);
	color: #1b1b1b;
	transition: color 0.7s;
}
.header .contact-info .tel a:hover{
	color: var(--gold);
}
.header .socials{
	display: flex;
	align-items: center;
	margin: 30px 0;
}
.header .socials a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 5px;
	border: 1px solid rgba(0, 0, 0, 0.07);
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	transition: color 0.7s;
	border-radius: 50%;
	font-size: 17px;
	color: var(--gold);
}
.header .socials a:hover {
	border: 1px solid var(--gold);
	color: var(--gray-black);
	fill: var(--gray-black);
}
.header .socials a svg{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	text-align: center;
	transition: all 0.3s ease-in-out;
	border-radius: 50%;
	fill: var(--gold);
}
.footer-sidebar {
	display: flex;
	justify-content: center;
	align-items: center;
}
.footer-sidebar .copy-right-text {
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--gray-light);
	line-height: 1.5em;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 0;
	text-align: center;
}

.content {
	width: calc(100% - 270px);
	margin-left: auto;
	overflow-y: auto;
	transition: margin-left 0.5s ease-in-out;

	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.content::-webkit-scrollbar {
	display: none;
}
.sidebar-toggle {
	display: none;
}

@media screen and (max-width: 768px) {
	.side-bare-hf {
		position: unset;
		margin-left: -270px;
		/*transform: translateX(-100%);*/
	}
	.side-bare-hf.active {
		margin-left: 0;
		/*transform: translateX(0);*/
	}
	.content {
		margin-left: 0;
		width: 100%;
		min-width: 100%;
	}

	.sidebar-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		position: fixed;
		width: 40px;
		height: 40px;
		top: 15px;
		left: 15px;
		z-index: 9999;
		background: #c29032;
		color: #fff;
		border: none;
		border-radius: 50%;
		padding: 10px;
		cursor: pointer;
		transition: left 0.7s ease-in-out;
	}
	.sidebar-toggle.active  {
		left: 285px;
	}
	.sidebar-toggle.active i {
		transition: 0.7s;
	}
	.sidebar-toggle.active i:before {
		content: '\f00d'; /* Иконка FA для крестика */
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
	}
}


/* Slider */
.slider-main {
	position: relative;
	overflow: hidden;
}
.slider-main .slide {
	display: none;
	justify-content: center;
	align-items: center;
	height: 100vh;
	position: relative;
	background-position: center;
	background-size: cover;
}
.slider-main .slide::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none; /* Чтобы затемнение не блокировало элементы под ним */
}
.slider-main .slide.active {
	display: flex;
}
.slider-main .slider-content {
	position: relative;
	text-align: center;
	color: #fff;
	z-index: 2;
	max-width: 500px;
}
.slider-main h1 {
	font-size: 36px;
	color: var(--gold);
	margin-bottom: 10px;
	font-weight: 900;
}
.slider-main p {
	font-size: 16px;
	font-weight: 100;
}
.slider-main .slider-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}
.slider-main .slider-arrow {
	cursor: pointer;
	font-size: 24px;
	color: var(--white);
	padding: 10px;
	background: var(--gold);
	opacity: 0.3;
	transition: opacity 0.7s;
}
.slider-main .slider-arrow:hover {
	opacity: 0.8;
}
.slider-main .slider-dots {
	position: absolute;
	bottom: 20px;
	left: 96%;
	/*transform: rotate(90deg);*/
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	align-items: center;
}
.slider-main .dot {
	width: 12px;
	height: 12px;
	background: transparent;
	border: 2px solid var(--white);
	border-radius: 50%;
	margin: 3px 0;
	display: inline-block;
	cursor: pointer;
}
.slider-main .dot:hover {
	opacity: 0.7;
}
.slider-main .dot.active {
	border-color: var(--gold);
}
@media screen and (max-width: 500px) {
	.slider-main h1 {
		font-size: 26px;
		word-break: break-word;
	}
	.slider-main .slide {
		padding: 0 20px;
	}
	.section-title .heading {
		font-size: 22px;
		word-break: break-word;
	}
}
/* ======= Header Section Area ======= */
.section-title {
	text-align: left;
	margin-bottom: 40px;
}
.section-title .heading-meta {
	display: block;
	font-family: var(--font-text);
	font-size: 14px;
	color: #c29032;
	font-weight: 700;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 5px;
}
.section-title .heading {
	font-size: 30px;
	color: #000;
	margin-bottom: 0;
	font-weight: 100;
	letter-spacing: 5px;
}
.section-title .heading span{
	color: var(--gold);
}

/* ======= Case Studies ======= */
.cases {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.cases .container {
	width: 93%;
	margin: 0 auto;
}
.cases-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 60px 30px;
}
.case-item {
	flex: 1 1 calc(33.333% - 30px); /* 3 колонки с промежутком 30px */
	background: #fff;
	box-shadow: 0 25px 75px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 5px;
	position: relative;
}
.case-item:hover {
	/*transform: translateY(-10px);*/
	box-shadow: 0 35px 85px rgba(0, 0, 0, 0.1);
}
.case-item .image-container {
	position: relative;
	overflow: hidden;
}
.case-item .image-container img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease, filter 0.5s ease;
}
.case-item:hover .image-container img {
	transform: scale(1.1);
	filter: brightness(70%);
}
.case-item .image-container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
	transition: background 0.5s ease;
}
.case-item .case-content {
	padding: 15px;
	text-align: center;
	left: 5%;
	bottom: -35px;
	position: absolute;
	z-index: 2;
	background: var(--white);
	box-shadow: 0 25px 75px rgb(0 0 0 / 5%);
	width: 90%;
	transition: bottom 0.7s ease;
}
.case-item:hover .case-content {
	bottom: 15px;
}
.case-item .case-content:hover {
	bottom: 15px;
}
.case-item .case-content a {
	text-decoration: none;
	color: #000;
	transition: color 0.3s ease;
}
.case-item .case-content a:hover h5 {
	color: #c29032;
}
.case-item .case-content h5 {
	font-size: 20px;
	font-weight: 500;
}

/* Responsive */
@media screen and (max-width: 1230px) {
	.case-item .case-content h5 {
		font-size: 14px;
	}
}
@media screen and (max-width: 992px) {
	.case-item {
		flex: 1 1 calc(50% - 30px); /* 2 колонки */
	}
}

@media screen and (max-width: 500px) {
	.case-item {
		flex: 1 1 100%;
	}
}



/* ======= Сетка услуг ======= */
.services {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.services .container {
	width: 93%;
	margin: 0 auto;
}
.services-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: space-between;
}
.service-item {
	background: #fff;
	flex: 1 1 calc(33.333% - 30px);
	height: 150px;
	padding: 15px;
	box-shadow: 0 25px 75px rgba(0, 0, 0, 0.07);
	border-radius: 8px;
	transition: transform 0.3s ease, border-bottom 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.service-icon {
	width: 42px;
	min-width: 42px;
	height: 42px;
	min-height: 42px;
	font-size: 30px;
	color: #c29032;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
}
.service-icon img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.service-content .services-heading a{
	font-size: 18px;
	color: var(--black);
	transition: color 0.3s ease;
}
.service-content .services-heading {
	margin-bottom: 10px;
}
.service-content p {
	font-size: 15px;
	color: #777;
	opacity: 0;
	transition: color 0.3s ease, opacity 0.3s ease;
}
.service-content .more {
	font-size: 12px;
	color: var(--gold);
	opacity: 0;
	transition: color 0.3s ease, opacity 0.3s ease;
	margin-bottom: 5px;
}
.service-item:hover {
	border-bottom: 3px solid #c29032;
}
.service-item:hover .service-icon {
	transform: translateY(-200%);
}
.service-item .service-content {
	transform: translateY(0);
	transition: all 0.3s ease;
}
.service-item:hover .service-content {
	transform: translateY(-50%);
}
.service-item:hover .services-heading a {
	color: #c29032;
}
.service-item:hover p {
	opacity: 1;
	color: #555;
}
.service-item:hover .more {
	opacity: 1;
}
@media (max-width: 992px) {
	.service-item {
		flex: 1 1 calc(50% - 30px);
	}
}
@media (max-width: 768px) {
	.services-grid {
		flex-direction: column;
		align-items: center;
	}
	.service-item {
		width: 100%;
	}
}


/* ======= Секция Отзывов ======= */
.testimonials {
	padding: 80px 50px 50px;
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 100px;
}
.testimonials .testimonial-header {
	display: flex;
	flex-direction: column;
	color: #fff;
	width: 320px;
	min-width: 320px;
	padding: 0 30px 15px 0;
}
.testimonials .testimonial-header h4 {
	font-size: 30px;
	color: var(--gold);
	margin-bottom: 20px;
	font-weight: 100;
}
.testimonials .testimonial-header p {
	font-family: var(--font-text);
	font-size: 15px;
	line-height: 130%;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #ddd;
}
.testimonials .testimonial-row {
	display: flex;
	width: 100%;
}
.testimonials .testimonial-slider {
	width: 100%;
	position: relative;
	overflow: hidden;
}
.testimonial-slide {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transform: translateX(100%);
}
.testimonial-slide.active {
	display: block;
	opacity: 1;
	transform: translateX(0);
}
.testimonial-slide .item-box {
	background: rgba(255, 255, 255, 0.9);
	padding: 30px;
	border-radius: 8px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-bottom: 3px solid transparent;
	transition: transform 0.3s ease, border-bottom 0.3s ease;
	max-width: 1070px;
}
.testimonial-slide .item-box:hover {
	border-bottom: 3px solid var(--gold);
}
.testimonial-slide .quote img {
	width: 50px;
	height: auto;
	margin-bottom: 20px;
}
.testimonial-slide .item-box p {
	font-family: var(--font-text);
	font-size: 16px;
	color: #555;
	margin-bottom: 20px;
	transition: color 0.3s ease;
	min-height: 40px;
}
.testimonial-slide .item-box .info {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}
.testimonial-slide .author-img img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	margin-right: 15px;
	transition: transform 0.3s ease;
}
.testimonial-slide .cont h6 {
	font-family: var(--font-text);
	font-size: 18px;
	color: #000;
	margin-bottom: 5px;
	transition: color 0.3s ease;
}
.testimonial-slide .cont h6 a{
	font-family: var(--font-text);
	font-size: 18px;
	color: #000;
	transition: color 0.3s ease;
}
.testimonial-slide .cont h6:hover a{
	color: var(--gold);
}
.testimonial-slide .cont span {
	font-family: var(--font-text);
	font-size: 14px;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 2px;
}
.testimonial-header .testimonial-nav {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	pointer-events: none; /* Чтобы клики проходили через контейнер */
	max-width: max-content;
}
.testimonial-header .testimonial-prev,
.testimonial-header .testimonial-next {
	cursor: pointer;
	font-size: 20px;
	color: var(--gold);
	background: rgba(0, 0, 0, 0.8);
	padding: 5px 10px;
	transition: background 0.3s ease, color 0.3s ease;
	pointer-events: all;
	margin-right: 15px;
}
.testimonial-header .testimonial-prev:hover,
.testimonial-header .testimonial-next:hover {
	background: var(--gold);
	color: #fff;
}
.testimonial-dots {
	text-align: end;
	margin-top: 20px;
}
.testimonial-dots .dot {
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
	transition: background 0.3s ease;
	border: 2px solid var(--white);
}
.testimonial-dots .dot.active {
	border: 2px solid var(--gold);
}
@media (max-width: 992px) {
	.testimonials .testimonial-row {
		display: flex;
		width: 100%;
		flex-direction: column;
	}
}
@media (max-width: 768px) {
	.testimonials {
		padding: 50px 20px;
	}
	.testimonials .testimonial-header {
		width: 100%;
		min-width: unset;
	}
}
/* ======= Секция Featured News ======= */
.blog {
	padding: 60px 0;
	background-color: #f9f9f9;
	margin-bottom: 80px;
}
.blog .container {
	width: 93%;
	margin: 0 auto;
}
.blog .blog-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}
.blog .blog-entry {
	flex: 1 1 calc(33.333% - 30px);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, border-bottom 0.3s ease;
	display: flex;
	flex-direction: column;
	box-shadow: 0 25px 75px rgb(0 0 0 / 7%);
}
.blog .blog-entry:hover {
	border-bottom: 3px solid var(--gold);
}
.blog .blog-img {
	position: relative;
	overflow: hidden;
	transition: transform 0.7s ease;
	width: 100%;
	height: 233px;
}
.blog .blog-entry:hover .blog-img img{
	transform: scale(1.05);
}
.blog .blog-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.blog .desc {
	padding: 20px;
	text-align: left;
	position: relative;
	transition: all 0.3s ease;
}
.blog .blog-category a {
	font-size: 14px;
	color: var(--gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 10px;
	display: inline-block;
}
.blog .blog-category a:hover {
	color: var(--gray-black);
}
.blog .desc h4 {
	font-size: 20px;
	color: var(--black);
	transition: color 0.3s ease;
	margin-bottom: 20px;
	min-height: 52px;
}
.blog .desc h4 a {
	color: var(--black);
	transition: color 0.3s ease;
}
.blog .desc h4 a:hover {
	color: var(--gold);
}
.blog .blog-date {
	display: flex;
	font-size: 12px;
	color: var(--black);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: end;
	width: 100%;
	justify-content: flex-end;
}
@media (max-width: 1190px) {
	.blog .desc h4 {
		font-size: 16px;
	}
}
@media (max-width: 992px) {
	.blog  .blog-entry {
		flex: 1 1 calc(50% - 30px);
		width: 100%;
	}
}
@media (max-width: 768px) {
	.blog  .blog-grid {
		flex-direction: column;
		align-items: center;
	}
	.blog   .blog-entry {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* ======= Секция Clients ======= */
.profiles {
	padding: 60px 0;
	background-color: #f9f9f9;
}
.profiles .container {
	width: 93%;
	margin: 0 auto;
}
.profiles .swiper-container {
	width: 100%;
	padding: 20px 0;
	overflow: hidden;
}
.profiles .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}
.profiles .swiper-slide > a{
	width: 239px;
	height: 124px;
	background-color: var(--white);
	transition: transform 0.3s ease;
	padding: 10%;
}
.profiles .swiper-slide > a img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.profiles .client-logo:hover img {
	transform: scale(1.1); /* Увеличение логотипа при наведении */
}

/* ======= Footer ======= */
.footer{
	width: 100%;
	margin-left: auto;
	display: flex;
	flex-direction: column;
	padding: 60px 20px;
	background: #1b1b1b;
}
.footer .logo {
	text-align: center;
	opacity: 1;
	transition: opacity 0.7s;
}
.footer .logo:hover {
	text-align: center;
	opacity: 0.6
}
.footer .logo img {
	width: 100px;
}
.footer .logo .name {
	color: var(--gold);
	font-weight: 500;
	font-size: 22px;
	line-height: 120%;
	margin-bottom: 5px;
}
.footer .logo .proffecion {
	display: block;
	text-align: center;
	font-size: 12px;
	letter-spacing: 3px;
	color: var(--white);
	font-weight: 500;
	line-height: 1.75em;
	font-family: var(--font-text);
	text-transform: uppercase;
	margin-bottom: 22px;
}
.footer .footer-sidebar {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.footer .footer-sidebar .copy-right-text {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	color: var(--gray-light);
	line-height: 1.5em;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 3px;
	text-align: center;
	margin-bottom: 5px;
}
.footer .footer-sidebar .copy-right-text a{
	margin: 10px;
	color: var(--gold);
}

/* ======= Секция Why Choose Us ======= */
.why-choose-us {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.why-choose-us .container {
	width: 93%;
	margin: 0 auto;
}
.why-choose-us .content-wrapper {
	display: flex;
	justify-content: space-between;
}
.why-choose-us .image-container,
.why-choose-us .text-container {
	flex: 1 1 100%;
}
.why-choose-us .image-container {
	padding-right: 30px;
}
.why-choose-us .image-container img{
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: contain;
}
.why-choose-us .text-container {
	display: flex;
	flex-direction: column;
}
.why-choose-us .text-container h2,
.why-choose-us .text-container h3{
	color: #000;
	font-weight: 500;
	line-height: 1.5em;
	margin: 0 0 15px 0;
}
.why-choose-us .text-container p{
	font-family: var(--font-text);
	font-size: 15px;
	line-height: 1.75em;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #777;
}
.why-choose-us .logo {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: max-content;
	margin: 20px 0;
}
.why-choose-us .logo img {
	width: 100px;
}
.why-choose-us .logo .name {
	color: var(--gold);
	font-weight: 500;
	font-size: 22px;
	line-height: 120%;
	margin-bottom: 5px;
}
.why-choose-us .logo .proffecion {
	display: block;
	text-align: center;
	font-size: 12px;
	letter-spacing: 3px;
	color: var(--gray-light);
	font-weight: 500;
	line-height: 1.75em;
	font-family: var(--font-text);
	text-transform: uppercase;
}
@media (max-width: 1150px) {
	.why-choose-us .content-wrapper {
		flex-direction: column;
	}
	.why-choose-us .image-container {
		padding-right: 0;
	}
}

/* ======= Секция FAQ ======= */

.faq {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.faq .container {
	width: 93%;
	margin: 0 auto;
}
.faq .faq-content {
	display: flex;
	width: 100%;
	justify-content: space-between;
}
.faq .faqs-accordion,
.faq .sidebar {
	flex: 1;
	padding-left: 20px;
}
.faq .sidebar-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	padding-left: 30px;
}
.faq .accordion {
	display: flex;
	flex-direction: column;
}
.faq .accordion-item {
	background: #fff;
	-webkit-box-shadow: 0 25px 98px 0 rgb(0 0 0 / 10%);
	box-shadow: 0 25px 98px 0 rgb(0 0 0 / 10%);
	cursor: pointer;
	position: relative;
	margin-bottom: 20px;
}
.faq .accordion-title {
	padding: 15px 35px 15px 15px;
	cursor: pointer;
	position: relative;
	background-color: var(--white);
	transition: background-color 0.7s;
	font-size: 22px;
	font-weight: 500;
}
.faq .accordion-item.active .accordion-title {
	color: var(--white);
	background-color: var(--gold);
}
.faq .accordion-title:hover {
	color: var(--white);
	background-color: var(--gold);
}
.faq .accordion-title::after {
	content: '\002B'; /* Плюс */
	font-size: 20px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.7s;
}
.faq .accordion-item.active .accordion-title::after {
	transform: translateY(-50%) rotate(45deg); /* Плюс превращается в крест */
}
.faq .accordion-content {
	max-height: 0;
	overflow: hidden;
	padding: 0 15px;
	transition: max-height 0.7s ease-in-out, padding 0.7s ease-in-out;
	font-family: var(--font-text);
	font-size: 15px;
	line-height: 1.75em;
	font-weight: 400;
	color: #777;
}
.faq .accordion-item.active .accordion-content {
	max-height: 500px;
	padding: 15px;
}
@media (max-width: 910px) {
	.faq .faq-content {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.faq .sidebar-image {
		width: 100%;
		padding-left: 0;
		max-width: 450px;
	}
	.faq .faqs-accordion, .faq .sidebar {
		padding-left: 0;
	}
}


/* ======= Секция Контактов ======= */
.contact {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.contact .container {
	width: 93%;
	margin: 0 auto;
}
.contact .map-section {
	margin-bottom: 40px;
}
.contact .contact-content {
	display: flex;
	justify-content: space-between;
}
.contact .contact-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: relative;
	width: 100%;
}
.contact .contact-item {
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 15px;
	border-radius: 8px;
	box-shadow: 0 25px 98px 0 rgb(0 0 0 / 10%);
	transition: background-color 0.3s;
}
.contact .contact-item .icon {
	font-size: 40px;
	color: var(--gold);
	margin-right: 15px;
}
.contact .contact-item:hover {
	background-color: var(--gold);
	color: var(--white);
}
.contact .contact-item:hover .icon{
	color: var(--white);
}
.contact .contact-details h5 {
	margin: 0 0 5px 0;
	font-size: 16px;
	color: var(--gray-black);
}
.contact .contact-item:hover .contact-details h5 {
	color: var(--white);
}
.contact .contact-details h6 {
	margin: 0;
	font-size: 14px;
	color: var(--black);
}
.contact .contact-item:hover .contact-details h6 {
	color: var(--white);
}
.contact .contact-form {
	max-width: 600px;
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 25px 98px 0 rgb(0 0 0 / 10%);
	margin-left: 20px;
	width: 100%;
}
.contact .contact-form h4 {
	color: #000;
	font-weight: 500;
	line-height: 1.5em;
	margin: 0 0 15px 0;
	font-size: 1.5rem;
}
.contact .contact-form > p {
	font-family: var(--font-text);
	font-size: 15px;
	line-height: 1.75em;
	font-weight: 400;
	margin: 0 0 15px 0;
	color: #777;
}
.contact .form-row {
	display: flex;
	gap: 15px;
	justify-content: space-between;
	margin-bottom: 20px;
	width: 100%;
}
.contact .form-group {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.contact .wpcf7-form-control {
	padding: 10px 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s;
	display: flex;
	width: 100%;
}
.contact .wpcf7-form-control:focus {
	border-color: var(--gold);
	outline: none;
}
.contact .wpcf7-submit {
	background-color: var(--gold);
	color: #fff;
	padding: 12px 25px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s;
	margin-top: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}
.contact .btn-contact:hover {
	background-color: var(--black);
}
@media (max-width: 1050px) {
	.contact .contact-content {
		flex-direction: column;
	}
	.contact .contact-form {
		max-width: unset;
		margin: 40px 0 0 0;
	}
}
@media (max-width: 800px) {
	.contact .form-row {
		flex-direction: column;
	}
}


/* ======= Секция Blog ======= */
.blog {
	padding: 90px 0;
	background-color: #fff;
	width: 100%;
}
.blog .container {
	width: 93%;
	margin: 0 auto;
}
.blog .blog-wrapper {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.blog .blog-content {
	display: flex;
	flex-direction: column;
	width: 70%;
}

.blog .blog-content .blog-posts {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.blog .blog-content .blog-posts .blog-entry {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
}
.blog .blog-content .blog-posts .blog-entry .blog-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.blog .blog-content .blog-posts .blog-entry .desc {
	padding: 15px;
}
.blog .blog-content .blog-posts .blog-entry .desc .category-time {
	margin-bottom: 15px;
	font-size: 12px;
	color: #777 !important;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;

}
.blog .blog-content .blog-posts .blog-entry .desc .category-time a {
	color: #c29032;
	text-decoration: none;
}
.blog .blog-content .blog-posts .blog-entry .desc .category-time a:hover {
	text-decoration: underline;
}
.blog .blog-content .blog-posts .blog-entry .desc h3 {
	font-size: 25px;
	line-height: 1.5em;
	margin-bottom: 25px;
	color: var(--black);
}
.blog .blog-content .blog-posts .blog-entry .desc h3 a{
	color: var(--black);
}
.blog .blog-content .blog-posts .blog-entry .desc p {
	font-size: 14px;
	color: #777;
	line-height: 150%;
}

/* Пагинация */
.pagination-container {
	text-align: center;
	margin-top: 20px;
}
.pagination {
	display: inline-flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 15px;
}
.pagination li {
	background-color: #fff;
	border: 1px solid #c29032;
	color: #000;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-weight: 400;
	box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-text);
	font-size: 15px;
}
.pagination li a{
	width: 100%;
	color: #000;
}
.pagination .page-numbers:hover {
	background-color: #c29032;
	color: #fff;
}
.pagination li span.current {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #c29032;
	color: #fff;
	border-color: #c29032;
	width: 100%;
}
.pagination .next.page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.sidebar {
	display: flex;
	width: 25%;
	flex-direction: column;
}

.sidebar .sidebar-block {
	margin-bottom: 30px;
}
.sidebar .sidebar-block-title {
	color: #000;
	font-weight: 500;
	font-size: 24px;
	margin-bottom: 20px;
}
.sidebar .sidebar-block.search .form {
	display: flex;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
}
.sidebar-block.search .search-field {
	flex: 1;
	padding: 9px 15px;
	height: auto;
	background-color: #fff;
	box-shadow: none;
	display: block;
	width: 100%;
	font-family: var(--font-text);
	font-size: 15px;
	line-height: 1.7em;
	color: #777;
	background-image: none;
	border: 2px solid #f4f4f4;
}
.sidebar-block.search .search-submit {
	background-color: #c29032;
	border: none;
	color: #fff;
	padding: 10px 15px;
	cursor: pointer;
	transition: background-color 0.3s;
}
.sidebar-block.search .search-submit:hover {
	background-color: #a6782b;
}
.sidebar-block.recent-posts .latest {
	margin-bottom: 15px;
}
.sidebar-block.recent-posts .latest a {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: #000;
	line-height: 1.5em;
	font-size: 15px;
	transition: 0.7s;
}
.sidebar-block.recent-posts .latest .txt1 {
	margin-bottom: 6px;
}
.sidebar-block.recent-posts .latest:hover .txt1 {
	font-weight: 900;
}
.sidebar-block.recent-posts .latest .txt2 {
	font-size: 14px;
	color: #777;
}
.sidebar-block.recent-posts .latest:hover .txt2 {
	color: var(--gold);
}
.sidebar-block.categories ul,
.sidebar-block.tag-cloud .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sidebar-block.categories ul li a,
.sidebar-block.tag-cloud .tagcloud a {
	font-size: 14px;
	color: var(--black);
	transition: 0.7s;
}
.sidebar-block.categories ul li:hover a {
	color: var(--gold);
}
.sidebar-block.tag-cloud .tagcloud a {
	padding: 5px 10px;
	background-color: #fff;
	border-radius: 4px;
	transition: background-color 0.3s;
	border: 2px solid var(--gold);
}
.sidebar-block.tag-cloud .tagcloud a:hover {
	background-color: #c29032;
	color: #fff;
}

/* ======= Адаптивность ======= */
@media (max-width: 950px) {
	.blog-wrapper {
		flex-direction: column;
	}
	.blog .blog-content {
		width: 100%;
		margin-bottom: 50px;
	}
	.sidebar {
		width: 100%;
	}
}





/* 404 */
.error-404 {
	text-align: center;
	padding: 50px;
}
.error-404 h1 {
	font-size: 36px;
	color: #333;
}
.error-404 p {
	font-size: 18px;
	color: #666;
}
.error-404 a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	background-color: #e6101b;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	cursor: pointer;
}
.error-404 a:hover {
	background-color: #e94c89;
}
@media (max-width: 600px) {
	.error-404 h1 {
		font-size: 24px;
	}
	.error-404 p {
		font-size: 16px;
	}
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
}

.previous-post, .next-post {
	width: 45%;
}
.previous-post a{
	display: flex;
	flex-direction: row-reverse;
}
.previous-post a, .next-post a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
	background-color: #f9f9f9; /* Пример фона */
	padding: 10px;
	border-radius: 5px;
	transition: background-color 0.3s;
	flex-direction: column-reverse;
	justify-content: center;
	gap: 10px;
}
.previous-post a:hover, .next-post a:hover {
	background-color: #e0e0e0; /* Пример изменения фона при наведении */
}
.previous-post img, .next-post img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 15px;
}
.nav-title {
	font-size: 14px;
	color: #555;
}
.post-title {
	font-size: 16px;
	font-weight: bold;
	margin-left: 5px;
	text-align: center;
}
.fa-angle-right {
	margin-left: 10px;
	color: #333;
}
.fa-angle-left {
	margin-right: 10px;
	color: #333;
}

@media (max-width: 600px) {
	.post-navigation {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 25px;
	}
	.previous-post, .next-post {
		width: 100%;
	}
}


.blog.post-page .blog-img {
	height: auto;
}
.blog.post-page .blog-img img{
	height: auto;
	object-fit: contain;
}
.blog.post-page .desc {
	padding: 20px 0;
}
.blog.post-page .content {
	width: 100%;
	margin-left: 0;
}

.blog.post-page .blog-content .blog-posts .blog-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.blog.post-page .blog-content .blog-posts .desc {
	padding: 15px;
}
.blog.post-page .blog-content .blog-posts .desc .category-time {
	margin-bottom: 15px;
	font-size: 12px;
	color: #777 !important;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;

}
.blog.post-page .blog-content .blog-posts .desc .category-time a {
	color: #c29032;
	text-decoration: none;
}
.blog.post-page .blog-content .blog-posts .desc .category-time a:hover {
	text-decoration: underline;
}
.blog.post-page .blog-content .blog-posts .desc h3 {
	font-size: 25px;
	line-height: 1.5em;
	margin-bottom: 25px;
	color: var(--black);
}
.blog.post-page .blog-content .blog-posts .desc h3 a{
	color: var(--black);
}
.blog.post-page .blog-content .blog-posts .desc p {
	font-size: 14px;
	color: #777;
	line-height: 150%;
	margin-bottom: 20px;
}
.blog.post-page .blog-content .blog-posts ol,
.blog.post-page .blog-content .blog-posts ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 20px;
}
.blog.post-page .desc h4 {
	margin-bottom: 10px;
	min-height: unset;
}

/* Прелоадер */
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff; /* Цвет фона прелоадера */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

/* Контейнер загрузчика */
.loader {
	text-align: center;
}

/* Спиннер */
.spinner {
	border: 8px solid #f3f3f3; /* Светлый цвет фона */
	border-top: 8px solid var(--gold); /* Цвет спиннера */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

/* Анимация спиннера */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Процент загрузки */
.percentage {
	font-size: 3em;
	color: var(--gold);
	margin-bottom: 30px;
}
#preloader .logo {
	text-align: center;
}
#preloader .logo img {
	width: 100px;
}
#preloader .logo .name {
	color: var(--gold);
	font-weight: 500;
	font-size: 22px;
	line-height: 120%;
	margin-bottom: 5px;
}
#preloader .logo .proffecion {
	display: block;
	text-align: center;
	font-size: 10px;
	letter-spacing: 3px;
	color: var(--gray-light);
	font-weight: 500;
	line-height: 1.75em;
	font-family: var(--font-text);
	text-transform: uppercase;
}
