/* Основные цвета */
:root {
	--primary: #FF6F00;
	--primary-dark: #E65100;
	--primary-light: #FFB74D;
	--secondary: #212121;
	--light: #FFFFFF;
	--gray: #757575;
	--light-gray: #F5F5F5;
	--dark-gray: #333333;
	--border-radius: 1.4rem;
	--gradient-primary: linear-gradient(135deg, #FF8F00 0%, #FF6F00 100%);
	--gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #212121 100%);
	--box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Общие стили */
body { font-family: 'Fira Sans', Arial, sans-serif; color: var(--secondary); line-height: 1.6; margin: 0; padding: 0; -webkit-font-smoothing: antialiased;background:#fff; }
body.home { background:var(--secondary) }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: var(--secondary); transition: all 0.3s ease; }
/*a:hover { color: var(--primary); }*/

.nowrap{ white-space: nowrap; }


h1,h2,h3 { font-family: 'Montserrat'; }



/* Кнопки */
.btn-order { background: var(--gradient-primary); color: var(--light); border: none; border-radius: var(--border-radius); padding: 0.7rem 1.3rem; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3); }
.btn-order:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4); }
.btn-order:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.2); transform: skewX(-20deg); transition: all 0.5s ease; }
.btn-order:hover:before { left: 100%; }
.btn-order i { font-size: 1rem; }

/* Хедер */
.main-header { background-color: rgba(18, 18, 18, 0.97); backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; padding: 15px 0; transition: all 0.3s ease; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1); }
.main-header.scrolled { padding: 10px 0; background-color: rgba(18, 18, 18, 0.98); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-block { display: flex; align-items: center;max-height:50px; }
.logo-link { display: block; }
.main-logo { max-height: 70px; transition: all 0.3s ease; }
.scrolled .main-logo { max-height: 60px; }

.header-controls { display: flex; align-items: center; }
.header-contacts { display: flex; align-items: center; }
.phone-number { display: flex; align-items: center; color: var(--light); font-weight: 500; margin-right: 20px; position: relative;font-size:1.8rem; }
.phone-number i { color: var(--primary); margin-right: 8px; transition: all 0.3s ease; }
.phone-number:hover { color: var(--primary-light); }
.phone-number:hover i { transform: rotate(-15deg); }

.header-controls .social-media { display: flex; align-items: center; margin-right: 20px; }
.header-controls .social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); color: var(--light); margin-left: 8px; transition: all 0.3s ease; }
.header-controls .social-icon:hover { background-color: var(--primary); transform: translateY(-3px); }

.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 0; width: 30px; height: 25px; position: relative; z-index: 1002; }
.toggle-line { display: block; width: 100%; height: 2px; background-color: var(--light); position: absolute; left: 0; transition: all 0.3s ease; }
.toggle-line:nth-child(1) { top: 0; }
.toggle-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.toggle-line:nth-child(3) { bottom: 0; }
.menu-toggle.active .toggle-line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle.active .toggle-line:nth-child(2) { opacity: 0; }
.menu-toggle.active .toggle-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.main-nav { margin-top: 15px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 15px; transition: all 0.3s ease; }
.scrolled .main-nav { margin-top: 10px; padding-top: 10px; }
.nav-menu { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { color: var(--light); font-weight: 500; padding: 8px 16px; display: block; position: relative; }
.nav-menu > li > a:before { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: var(--primary); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-menu > li > a:hover:before, .nav-menu > li.current-menu-item > a:before { width: 50%; }
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a { color: var(--primary); }

.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; width: 200px; background-color: var(--secondary); padding: 10px 0; border-radius: var(--border-radius); box-shadow: var(--box-shadow); visibility: hidden; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; z-index: 1001; }
.nav-menu > li:hover > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-menu .sub-menu li { display: block; }
.nav-menu .sub-menu a { color: var(--light); padding: 8px 20px; display: block; font-size: 0.95rem; }
.nav-menu .sub-menu a:hover { background-color: rgba(255, 255, 255, 0.05); color: var(--primary); }

/* Адаптивность */
@media (max-width: 991px) {
	.header-contacts { margin-right: 5px;margin-left:5px; }
	.main-header .btn-order span { display: none; }
	.main-header .btn-order { padding: 0.7rem; border-radius: 50%; }
	.social-icon { width: 32px; height: 32px; font-size: 0.9rem; }

	.menu-toggle { display: block; }
	.main-nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px; height: 100vh; background-color: var(--secondary); padding: 80px 20px 20px; overflow-y: auto; transition: all 0.4s ease; z-index: 1001; box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2); }
	.main-nav.active { right: 0; }

	.nav-menu { flex-direction: column; }
	.nav-menu > li { margin-bottom: 10px; }
	.nav-menu > li > a { padding: 12px 5px; }

	.nav-menu .sub-menu { position: static; width: 100%; padding: 0 0 0 15px; background-color: transparent; box-shadow: none; visibility: visible; opacity: 1; transform: none; display: none; }
	.nav-menu > li.menu-item-has-children.active > .sub-menu { display: block; }
	.nav-menu > li.menu-item-has-children > a:after { content: '\f107'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; margin-left: 8px; }
	.nav-menu > li.menu-item-has-children.active > a:after { content: '\f106'; }
}

@media (max-width: 767px) {
	.phone-number span { display: none; }
	.phone-number { margin-right: 15px; font-size: 1.2rem; }
}

@media (max-width: 576px) {
	.main-logo { max-height: 40px; }
	.scrolled .main-logo { max-height: 35px; }
	.social-media { margin-right: 15px; }
	.social-icon { width: 30px; height: 30px; margin-left: 5px; }
}











/* Стили для главной страницы - Hero секция */
.front-page { margin-top: 0; }
.hero-banner { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; color: var(--light); overflow: hidden; }

/* Фон баннера */
.hero-background { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; background: url('/ta/i/sauna_main.webp') no-repeat center; background-size: cover; }
.hero-overlay { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 100%); }


/* Контент баннера */
.hero-content { /*max-width: 650px;*/ position: relative; z-index: 2;max-width:fit-content }
.hero-title { font-size: 3.6rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; text-shadow: 0 0 20px rgba(0,0,0,0.3); }
.hero-title span { display: block; color: var(--primary-light); position: relative; }
.hero-title span:after { content: ''; position: absolute; bottom: -5px; left: 0; width: 80px; height: 3px; background: var(--primary); }

.hero-description { margin-bottom: 30px; font-size: 1.2rem; opacity: 0.9; }
.hero-description p { margin-bottom: 0; line-height: 1.6; }

/* Кнопки */
.hero-buttons { display: flex; gap: 20px; /*margin-bottom: 40px;*/align-items: center; }
.btn-primary { background: var(--gradient-primary); border: none; color: var(--light); padding: 1rem 2rem; border-radius: var(--border-radius); font-weight: 500; font-size: 1.1rem; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2); }
.btn-primary:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.2); transform: skewX(-15deg); transition: all 0.5s ease; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255, 111, 0, 0.3); }
.btn-primary:hover:before { left: 100%; }

.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--light); padding: 1rem 2rem; border-radius: var(--border-radius); font-weight: 500; font-size: 1.1rem; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; position: relative; overflow: hidden; }
.btn-outline:before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: var(--primary); transition: all 0.3s ease; z-index: -1; }
.btn-outline:hover { color: var(--light); transform: translateY(-5px); }
.btn-outline:hover:before { width: 100%; }
.btn-outline i { font-size: 1.2rem; transition: all 0.3s ease; }
.btn-outline:hover i { transform: rotate(-15deg); }

/* Бейджи с преимуществами */
.hero-features { display: flex; flex-wrap: wrap; gap: 15px; }
.feature-badge { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); padding: 10px 15px; border-radius: 30px; transition: all 0.3s ease; }
.feature-badge i { color: var(--primary); }
.feature-badge span { font-size: 0.9rem; font-weight: 500; }
.feature-badge:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }


/* Стили для блока подписки на Дзен */

.adv-line { display: flex;justify-content: space-between;gap:3rem; }


/*
.dzen-subscription { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); padding: 20px 25px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; transition: all 0.3s ease;gap:1rem; }
.dzen-subscription:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); }
.dzen-subscription:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(0, 0, 0, 0) 60%); z-index: 0; }

.dzen-promo { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.dzen-icon { width: 50px; height: 50px; background: transparent; border-radius: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.dzen-icon img {  }

.dzen-message h3 { margin: 0 0 5px; font-size: 18px; font-weight: 700; color: var(--primary-light); }
.dzen-message p { margin: 0; font-size: 14px; opacity: 0.9; }

.dzen-btn { display: flex; align-items: center; gap: 10px; background: var(--gradient-primary); color: var(--light); padding: 12px 22px; border-radius: var(--border-radius); font-weight: 600; font-size: 16px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(255, 111, 0, 0.2); white-space: nowrap;min-width: fit-content; }
.dzen-btn:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.2); transform: skewX(-15deg); transition: all 0.5s ease; }
.dzen-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 111, 0, 0.3); color: var(--light); }
.dzen-btn:hover:before { left: 100%; }
.dzen-btn i { transition: all 0.3s ease; }
.dzen-btn:hover i { transform: translateX(5px); }


@media (max-width: 991px) { .adv-line{ flex-direction: column; } }
@media (max-width: 767px) {
	.dzen-subscription { flex-direction: column; gap: 20px; text-align: center; }
	.dzen-promo { flex-direction: column; gap: 15px; }
	.dzen-btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
	.dzen-message h3 { font-size: 16px; }
	.dzen-message p { font-size: 13px; }
}

*/




/* ====================== Блок подписки на Дзен ====================== */
.dzen-subscription {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	padding: 26px 28px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.dzen-subscription:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dzen-subscription:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255, 111, 0, 0.08) 0%, transparent 70%);
	z-index: 0;
	pointer-events: none;
}

/* ====================== Верхняя часть (заголовок + кнопка) ====================== */
.dzen-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	position: relative;
	z-index: 1;
}

.dzen-promo {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.dzen-icon {
	width: 54px;
	height: 54px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.dzen-icon img {
	width: 32px;
	height: 32px;
}

.dzen-message h3 {
	margin: 0 0 6px 0;
	font-size: 19px;
	font-weight: 700;
	color: var(--primary-light);
	line-height: 1.3;
}

.dzen-message p {
	margin: 0;
	font-size: 14.5px;
	opacity: 0.92;
	line-height: 1.4;
}

.dzen-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--gradient-primary);
	color: var(--light);
	padding: 13px 26px;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(255, 111, 0, 0.25);
	white-space: nowrap;
	flex-shrink: 0;
	margin-top:1rem;
}

.dzen-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(255, 111, 0, 0.35);
}

.dzen-btn i {
	transition: transform 0.3s ease;
}

.dzen-btn:hover i {
	transform: translateX(6px);
}

/* ====================== Нижняя часть — виджеты Дзен ====================== */
.dzen-widget-area {
	position: relative;
	z-index: 1;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 8px;
}

/* Контейнер, в который плагин кладёт карточки */
.dzen-widget-area .dzen-widget-item {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
}

/* Каждая карточка от плагина Widget for Yandex Zen */
.dzen-widget-area .dzen-card {
	flex: 1 1 20%;
	min-width: 180px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	max-width:22%;
}

.dzen-widget-area .dzen-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 111, 0, 0.3);
}

/* Стили внутри карточки (на случай, если нужно подправить) */
.dzen-widget-area .dzen-card a {
	display: block;
	color: inherit;
	text-decoration: none;
}

/* Скрываем заголовки виджетов */
.dzen-widget-title,
.widget-title,
.dzen-widget-item h3,
.dzen-widget-item h4,
.dzen-widget-item .widgettitle {
	display: none !important;
}

/* ====================== Адаптивность ====================== */
@media (max-width: 991px) {
	.dzen-header {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 20px;
	}

	.dzen-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.dzen-subscription {
		padding: 22px 20px;
	}

	.dzen-promo {
		flex-direction: column;
		gap: 16px;
	}

	.dzen-widget-area .dzen-widget-item {
		gap: 14px;
	}

	.dzen-widget-area .dzen-card {
		flex: 1 1 100%;           /* на мобильных — в один столбец */
	}
}

@media (max-width: 576px) {
	.dzen-message h3 {
		font-size: 17px;
	}

	.dzen-message p {
		font-size: 13.5px;
	}

	.dzen-icon {
		width: 48px;
		height: 48px;
	}

	.dzen-icon img {
		width: 28px;
		height: 28px;
	}
}



.dzen-card {
	max-width: none;
	font-family: 'Fira Sans', Arial, sans-serif;;
}







/* Кнопка прокрутки вниз */
.hero-scroll { position: absolute; bottom: 30px; left: 0; width: 100%; text-align: center; z-index: 2; }
.scroll-down { display: inline-flex; flex-direction: column; align-items: center; color: var(--light); font-size: 0.9rem; transition: all 0.3s ease; opacity: 0.7; }
.scroll-down span { margin-bottom: 5px; }
.scroll-down i { font-size: 1.2rem; animation: bounce 2s infinite; }
.scroll-down:hover { opacity: 1; color: var(--primary-light); transform: translateY(-3px); }

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-10px); }
	60% { transform: translateY(-5px); }
}

/* Адаптивность */
@media (max-width: 1199px) {
	.hero-title { font-size: 3.5rem; }
}

@media (max-width: 991px) {
	.hero-banner { height: auto; padding: 70px 0 100px; }
	.hero-title { font-size: 2rem; }
	.hero-content { max-width: 100%; text-align: center; }
	.hero-title span:after { left: 50%; transform: translateX(-50%); }
	.hero-buttons { justify-content: center; }
	.hero-features { justify-content: center; }
}

@media (max-width: 767px) {
	.hero-banner { padding: 130px 0 80px; }
	.hero-title { font-size: 2.5rem; }
	.hero-description { font-size: 1.1rem; }
	.btn-primary, .btn-outline { padding: 0.8rem 1.5rem; font-size: 1rem; }
}

@media (max-width: 576px) {
	.hero-title { font-size: 2rem; }
	.hero-buttons { flex-direction: column; }
	.btn-primary, .btn-outline { width: 100%; justify-content: center; }
	.feature-badge { width: 100%; justify-content: center; }
}





/* Классы для анимаций */
.animate-fade-up, .animate-fade-down, .animate-fade-left, .animate-fade-right {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.animate-fade-up.animate, .animate-fade-down.animate,
.animate-fade-left.animate, .animate-fade-right.animate {
	opacity: 1;
	visibility: visible;
}

.animate-fade-up {
	transform: translateY(30px);
}

.animate-fade-down {
	transform: translateY(-30px);
}

.animate-fade-left {
	transform: translateX(-30px);
}

.animate-fade-right {
	transform: translateX(30px);
}

.animate-fade-up.animate, .animate-fade-down.animate,
.animate-fade-left.animate, .animate-fade-right.animate {
	transform: translate(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }










/* Стили для секции наших работ */
body.home .works-section { padding: 100px 0; background-color: #121212; color: var(--light); position: relative; }
body.home .works-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/brick-pattern.png'); opacity: 0.05; pointer-events: none; }

/* Заголовок секции */
body.home .section-header { text-align: center; margin-bottom: 60px; position: relative; }
body.home .header-icon { margin-bottom: 20px; }
body.home .header-icon i { font-size: 2.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
body.home .section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; position: relative; display: inline-block; }
body.home .section-title:after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary); }
body.home .section-subtitle { max-width: 700px; margin: 20px auto 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); }

/* Фильтр категорий */
body.home .filter-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
body.home .filter-btn { background: transparent; border: 2px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); padding: 0.6rem 1.2rem; border-radius: var(--border-radius); cursor: pointer; font-weight: 500; transition: all 0.3s ease; }
body.home .filter-btn:hover,body.home .filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--light); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 111, 0, 0.2); }

/* Сетка работ */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.work-item { transition: all 0.5s ease; }
.work-card { background: rgba(255, 255, 255, 0.03); border-radius: var(--border-radius); overflow: hidden; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.work-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }

/* Изображение работы */
.work-image { position: relative; height: 250px; overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; }
.work-card:hover .work-image img { transform: scale(1.1); }
.work-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.work-card:hover .work-overlay { opacity: 1; }

/* Кнопки работы */
.work-buttons { display: flex; gap: 15px; transform: translateY(20px); transition: all 0.3s ease 0.1s; }
.work-card:hover .work-buttons { transform: translateY(0); }
.work-preview, .work-link { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--light); transition: all 0.3s ease; position: relative; overflow: hidden; }
.work-preview:before, .work-link:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: rgba(255, 255, 255, 0.2); transition: all 0.3s ease; transform: skewX(-15deg); }
.work-preview:hover, .work-link:hover { transform: scale(1.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.work-preview:hover:before, .work-link:hover:before { left: 100%; }

/* Контент карточки */
.work-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.work-content { color:#fff; }
.work-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 15px; position: relative; padding-bottom: 15px; }
.work-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: var(--primary); transition: all 0.3s ease; }
.work-card:hover .work-title:after { width: 80px; }

/* Метаданные работы */
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.work-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.work-tag { display: inline-block; background: rgba(255, 111, 0, 0.1); color: var(--primary-light); font-size: 0.75rem; padding: 3px 10px; border-radius: 15px; }
.work-date { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.work-desc { margin-bottom: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-top: auto; }

/* Кнопка просмотра всех работ */
.works-action { text-align: center; margin-top: 30px; }
.btn-large { padding: 1.2rem 2.5rem; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; }
.btn-large i { transition: all 0.3s ease; }
.btn-large:hover i { transform: translateX(5px); }

/* Анимация для фильтрации */
.work-item.hidden { opacity: 0; transform: scale(0.8); position: absolute; pointer-events: none; }
.work-item.visible { opacity: 1; transform: scale(1); }
.work-item.fade-in { animation: fadeIn 0.5s forwards; }
.work-item.fade-out { animation: fadeOut 0.5s forwards; }

@keyframes fadeIn {
	from { opacity: 0; transform: scale(0.8); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
	from { opacity: 1; transform: scale(1); }
	to { opacity: 0; transform: scale(0.8); }
}

/* Адаптивность */
@media (max-width: 1199px) {
	.works-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 991px) {
	.works-section { padding: 80px 0; }
	body.home .section-title { font-size: 2.5rem; }
}

@media (max-width: 767px) {
	.works-section { padding: 60px 0; }
	body.home .section-title { font-size: 2.2rem; }
	.works-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
	.filter-tags { gap: 10px; }
	.filter-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
}

@media (max-width: 576px) {
	body.home .section-title { font-size: 2rem; }
	.works-grid { grid-template-columns: 1fr; max-width: 350px; margin-left: auto; margin-right: auto; }
	.btn-large { padding: 1rem 2rem; width: 100%; justify-content: center; }
}


















/* Стили для секции Почему нам доверяют */
.trust-section { padding: 100px 0; background-color: #1a1a1a; position: relative; overflow: hidden; }
.trust-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/sauna_main.webp'); opacity: 0.03; animation: heat-animate 30s linear infinite; }

@keyframes heat-animate {
	0% { background-position: 0 0; }
	100% { background-position: 100px 100px; }
}

.trust-section .section-header { margin-bottom: 70px; }
.trust-section .section-title { color: var(--light); }
.trust-section .header-icon i { background: linear-gradient(135deg, #FFB74D 0%, #FF6F00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }


.trust-rl-block {  }

/* Контент блока */
.trust-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }

/* Видео блок */
.trust-video { position: relative; }
.video-wrapper { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.video-wrapper img { width: 100%; height: auto; display: block; transition: all 0.5s ease; }
.video-wrapper:hover img { transform: scale(1.05); }
.video-play { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.3); opacity: 0; transition: all 0.3s ease; }
.video-wrapper:hover .video-play { opacity: 1; }
.play-btn { width: 80px; height: 80px; background: var(--primary); border: none; border-radius: 50%; color: var(--light); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 30px rgba(255, 111, 0, 0.5); position: relative; }
.play-btn:before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--primary); animation: pulse 2s infinite; }
.play-btn i { font-size: 1.8rem; margin-left: 5px; }
.play-btn:hover { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 111, 0, 0.7); }

@keyframes pulse {
	0% { transform: scale(1); opacity: 1; }
	100% { transform: scale(1.5); opacity: 0; }
}



/* Стили для видео-модального окна */
.video-modal {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.9);display: flex;align-items: center;justify-content: center;z-index: 9999;opacity: 0;visibility: hidden;transition: opacity 0.3s, visibility 0.3s;}
.video-modal.active {opacity: 1;visibility: visible;}
.video-modal-content {position: relative;width: 90%;max-width: 900px;}
.video-modal .video-container {position: relative;padding-top: 56.25%;overflow: hidden;background: #000;}
.video-container iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.video-close-btn {position: absolute;top: -40px;right: -40px;width: 40px;height: 40px;background: var(--primary);color: #fff;border: none;border-radius: 50%;font-size: 24px;line-height: 1;cursor: pointer;z-index: 1;}
@media (max-width: 767px) {.video-close-btn {top: -50px;right: 0;}}




















/* Особенности доверия */
.trust-features { display: flex; flex-direction: column; gap: 1rem;height: 100%;justify-content: space-between; }
.trust-feature { display: flex; gap: 20px; align-items: flex-start; background: rgba(255, 255, 255, 0.03); border-radius: var(--border-radius); padding: 28px; transform: translateX(30px); opacity: 1; transition: all 0.5s ease; }
.trust-feature.animate { transform: translateX(0); opacity: 1; }
.feature-icon { min-width: 60px; height: 60px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2); margin-top: 5px; }
.feature-icon i { font-size: 1.5rem; color: var(--light); }
.feature-content h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: var(--light); }
.feature-content p { color: rgba(255, 255, 255, 0.7); margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; }

/* Статистика */
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.stat-item { text-align: center; background: rgba(255, 255, 255, 0.03); border-radius: var(--border-radius); padding: 25px 15px; transition: all 0.3s ease; }
.stat-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); background: rgba(255, 111, 0, 0.1); }
.stat-counter { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; position: relative; display: inline-block; }
.stat-counter:after { content: ''; position: absolute; bottom: 0px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; background: var(--primary); }
.stat-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* Кнопка заказа */
.trust-action { margin-top: 30px; text-align: center; }
.trust-action .btn-order { display: inline-flex; padding: 1rem 2rem; font-size: 1.1rem; }

/* Адаптивность */
@media (max-width: 1199px) {
	.trust-content { gap: 30px; }
	.trust-feature { padding: 20px; }
	.feature-icon { min-width: 50px; height: 50px; }
	.feature-icon i { font-size: 1.3rem; }
	.feature-content h3 { font-size: 1.2rem; }
}

@media (max-width: 991px) {
	.trust-section { padding: 80px 0; }
	.trust-content { grid-template-columns: 1fr; }
	.trust-video { margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
	.trust-feature { transform: translateX(0); opacity: 1; }
}

@media (max-width: 767px) {
	.trust-section { padding: 60px 0; }
	.trust-feature { flex-direction: column; align-items: center; text-align: center; padding: 20px; gap: 15px; }
	.feature-content h3 { font-size: 1.1rem; }
	.trust-stats { grid-template-columns: 1fr; gap: 15px; }
	.stat-item { padding: 15px; }
	.stat-counter { font-size: 2rem; }
	.trust-action .btn-order { width: 100%; justify-content: center; }
}





















/* Стили для секции "Что мы строим" */
.services-section { padding: 100px 0; background-color: #0c0c0c; color: var(--light); position: relative; overflow: hidden; }

/* Фоновый паттерн секции */
.services-bg-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/section-fire.webp') no-repeat center center / cover; opacity: 0.06; pointer-events: none; }

/* Заголовок секции */
.services-section .section-header { margin-bottom: 70px; }
.services-section .section-title { color: var(--light); }
.services-section .header-icon i { color: var(--primary); }

/* Контейнер услуг */
.services-container { position: relative; z-index: 1; }

/* Сетка услуг */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }

/* Карточка услуги */
.service-item { perspective: 1000px; }
.service-card { background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%); border-radius: var(--border-radius); overflow: hidden; padding: 40px 30px; position: relative; height: 100%; transform-style: preserve-3d; transition: all 0.5s ease; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
.service-card:hover { transform: translateY(-10px) rotateX(5deg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }

/* Иконка услуги */
.service-icon { width: 70px; height: 70px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; position: relative; z-index: 1; box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2); }
.service-icon i { font-size: 1.8rem; color: var(--light); }
.service-card:hover .service-icon { animation: pulse-icon 1.5s infinite; }

@keyframes pulse-icon {
	0% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.5); }
	70% { box-shadow: 0 0 0 15px rgba(255, 111, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
}

/* Заголовок услуги */
.service-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 15px; position: relative; padding-bottom: 15px; color: var(--light); }
.service-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: var(--primary); transition: all 0.3s ease; }
.service-card:hover .service-title:after { width: 70px; background: linear-gradient(90deg, var(--primary) 0%, rgba(255, 111, 0, 0.3) 100%); }

/* Описание услуги */
.service-desc { color: rgba(255, 255, 255, 0.7); margin-bottom: 25px; font-size: 0.95rem; line-height: 1.6; }

/* Ссылка услуги */
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 500; position: relative; transition: all 0.3s ease; }
.service-link span { position: relative; }
.service-link span:after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--primary); transition: all 0.3s ease; }
.service-link i { font-size: 0.9rem; transition: all 0.3s ease; }
.service-link:hover { color: var(--primary-light); }
.service-link:hover span:after { width: 100%; }
.service-link:hover i { transform: translateX(5px); }

/* Декоративный элемент */
.service-decoration { position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: var(--primary); opacity: 0.05; border-radius: 0 0 0 100%; z-index: 0; transition: all 0.5s ease; }
.service-card:hover .service-decoration { width: 150px; height: 150px; opacity: 0.1; }
.service-card:before { content: ''; position: absolute; width: 100%; height: 3px; bottom: 0; left: 0; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: all 0.5s ease; }
.service-card:hover:before { transform: scaleX(1); }

/* Информационный блок */
.services-info { background: linear-gradient(135deg, rgba(40, 40, 40, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%); border-radius: var(--border-radius); padding: 40px; display: flex; flex-wrap: wrap; gap: 30px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; }
.services-info:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: url('/ta/i/section-service-info.webp') no-repeat center center / cover; opacity: 0.15; pointer-events: none; }

.info-text { flex: 1; min-width: 300px; }
.info-text h3 { font-size: 1.6rem; margin-bottom: 20px; color: var(--light); }
.info-text p { color: rgba(255, 255, 255, 0.8); margin-bottom: 25px; font-size: 1rem; line-height: 1.7; }

.info-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.info-features li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.info-features i { color: var(--primary); font-size: 1.1rem; }

.info-action { display: flex; align-items: center; justify-content: center; min-width: 250px; }
.btn-gradient { background: var(--gradient-primary); color: var(--light); border: none; border-radius: var(--border-radius); padding: 1rem 2rem; font-size: 1.1rem; font-weight: 500; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3); }
.btn-gradient:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); transform: skewX(-25deg); transition: all 0.7s ease; }
.btn-gradient:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255, 111, 0, 0.4); }
.btn-gradient:hover:before { left: 100%; }

/* Адаптивность */
@media (max-width: 1199px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.service-card { padding: 30px 25px; }
}

@media (max-width: 991px) {
	.services-section { padding: 80px 0; }
	.info-features { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.services-section { padding: 60px 0; }
	.services-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
	.services-info { padding: 30px; flex-direction: column; }
	.info-action { width: 100%; }
	.btn-gradient { width: 100%; justify-content: center; }
}


















/* Стили для секции про хромистый чугун */
.chugun-section { padding: 100px 0; background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%); position: relative; overflow: hidden; }
.chugun-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/castiron-bg.webp') no-repeat center center / cover; opacity: 0.2; pointer-events: none; }

/* Контейнер блока */
.chugun-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Блок с изображением */
.chugun-image { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.chugun-image img { width: 100%; height: auto; display: block; transition: all 0.5s ease; }
.chugun-image:hover img { transform: scale(1.05); }

/* Декоративные элементы изображения */
.image-decoration { position: absolute; bottom: 0; left: 0; width: 100%; height: 30%; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); }
.image-badge { position: absolute; bottom: 30px; right: 30px; background: var(--primary); color: var(--light); padding: 15px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); transform: rotate(-5deg); z-index: 2; }
.badge-number { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.badge-text { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Контент блока */
.chugun-content { color: var(--light); }
.content-label { display: inline-block; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 15px; position: relative; padding-left: 30px; }
.content-label:before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--primary); transform: translateY(-50%); }
.content-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.content-description { margin-bottom: 40px; }
.content-description p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: 0; }

/* Особенности хромистого чугуна */
.chugun-features { margin-bottom: 40px; }
.feature-row { display: flex; gap: 30px; margin-bottom: 30px; }
.feature-row:last-child { margin-bottom: 0; }
.chugun-feature { flex: 1; display: flex; gap: 15px; }
.feature-icon { min-width: 50px; height: 50px; background: rgba(255, 111, 0, 0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.3rem; transition: all 0.3s ease; }
.chugun-feature:hover .feature-icon { background: var(--primary); color: var(--light); transform: scale(1.1) rotate(10deg); }
.feature-text h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; color: var(--light); }
.feature-text p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 0; }

/* Кнопка действия */
.chugun-action { margin-top: 40px; }
.btn-outline-light { display: inline-flex; align-items: center; gap: 10px; border: 2px solid rgba(255, 255, 255, 0.3); background: transparent; color: var(--light); padding: 1rem 2rem; border-radius: var(--border-radius); font-weight: 500; transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-outline-light:before { content: ''; position: absolute; width: 0; height: 100%; top: 0; left: 0; background: rgba(255, 255, 255, 0.1); transition: all 0.3s ease; z-index: -1; }
.btn-outline-light i { transition: all 0.3s ease; }
.btn-outline-light:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-outline-light:hover:before { width: 100%; }
.btn-outline-light:hover i { transform: translateX(5px); }

/* Адаптивность */
@media (max-width: 1199px) {
	.chugun-container { gap: 40px; }
	.content-title { font-size: 2.2rem; }
}

@media (max-width: 991px) {
	.chugun-section { padding: 80px 0; }
	.chugun-container { grid-template-columns: 1fr; }
	.chugun-image { max-width: 600px; margin: 0 auto 40px; }
	.feature-row { flex-direction: column; gap: 20px; }
}

@media (max-width: 767px) {
	.chugun-section { padding: 60px 0; }
	.content-title { font-size: 2rem; }
	.image-badge { bottom: 20px; right: 20px; padding: 10px; }
	.badge-number { font-size: 2rem; }
	.chugun-action { text-align: center; }
	.btn-outline-light { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
	.content-title { font-size: 1.8rem; }
}












/* Стили для секции про отделку саун */
.sauna-section { padding: 100px 0; background-color: #121212; position: relative; overflow: hidden; }
.sauna-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/sauna_main.webp') no-repeat center center / cover; opacity: 0.05; pointer-events: none; }

/* Контейнер блока */
.sauna-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Контент блока */
.sauna-content { color: var(--light); }
.sauna-content .content-label { display: inline-block; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 15px; position: relative; padding-left: 30px; }
.sauna-content .content-label:before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--primary); transform: translateY(-50%); }
.sauna-content .content-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.sauna-content .content-description { margin-bottom: 40px; }
.sauna-content .content-description p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); line-height: 1.7; margin-bottom: 0; }

/* Особенности отделки саун */
.sauna-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 40px; }
.sauna-feature { display: flex; gap: 15px; align-items: flex-start; }
.sauna-feature .feature-icon { min-width: 45px; height: 45px; background: rgba(255, 111, 0, 0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; transition: all 0.3s ease; }
.sauna-feature:hover .feature-icon { transform: translateY(-5px); background: var(--primary); color: var(--light); box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2); }
.sauna-feature .feature-text h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; color: var(--light); }
.sauna-feature .feature-text p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 0; }

/* Список услуг */
.sauna-list { margin-bottom: 40px; padding: 25px; background: rgba(255, 255, 255, 0.03); border-radius: var(--border-radius); border-left: 3px solid var(--primary); }
.sauna-list h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; color: var(--light); }
.sauna-list ul { padding-left: 20px; margin: 0; }
.sauna-list li { color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; position: relative; list-style-type: none; }
.sauna-list li:before { content: '\f00c'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--primary); margin-right: 10px; font-size: 0.9rem; }
.sauna-list li:last-child { margin-bottom: 0; }

/* Кнопка действия */
.sauna-action { margin-top: 30px; }
.sauna-action .btn-primary { display: inline-flex; align-items: center; gap: 10px; }
.sauna-action .btn-primary i { transition: all 0.3s ease; }
.sauna-action .btn-primary:hover i { transform: translateX(5px); }

/* Галерея саун */
.sauna-gallery { position: relative; }
.gallery-main { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); margin-bottom: 20px; }
.gallery-main img { width: 100%; height: auto; display: block; transition: all 0.5s ease; }
.gallery-main:hover img { transform: scale(1.05); }
.gallery-badge { position: absolute; bottom: 20px; right: 20px; background: var(--primary); color: var(--light); border-radius: 10px; padding: 10px 15px; display: flex; align-items: center; gap: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); z-index: 2; }
.badge-icon { font-size: 1.8rem; line-height: 1; }
.badge-text { display: flex; flex-direction: column; }
.badge-text span:first-child { font-size: 1.1rem; font-weight: 700; }
.badge-text span:last-child { font-size: 0.8rem; opacity: 0.9; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-thumb { border-radius: 10px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.gallery-thumb img { width: 100%; height: 100px; object-fit: cover; display: block; transition: all 0.3s ease; }
.gallery-thumb:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); }
.gallery-thumb:hover img { transform: scale(1.1); }

.gallery-main:before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); z-index: 1; }

/* Анимация для галереи */
.sauna-gallery { transform: perspective(1000px) rotateY(-5deg); transition: all 0.5s ease; }
.sauna-gallery:hover { transform: perspective(1000px) rotateY(0); }

/* Адаптивность */
@media (max-width: 1199px) {
	.sauna-container { gap: 40px; }
	.sauna-content .content-title { font-size: 2.2rem; }
	.sauna-features { gap: 20px; }
}

@media (max-width: 991px) {
	.sauna-section { padding: 80px 0; }
	.sauna-container { grid-template-columns: 1fr; }
	.sauna-gallery { order: -1; max-width: 600px; margin: 0 auto 40px; transform: perspective(1000px) rotateY(0); }
}

@media (max-width: 767px) {
	.sauna-section { padding: 60px 0; }
	.sauna-content .content-title { font-size: 2rem; }
	.sauna-features { grid-template-columns: 1fr; }
	.gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
	.gallery-thumb img { height: 80px; }
	.sauna-action { text-align: center; }
	.sauna-action .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
	.sauna-content .content-title { font-size: 1.8rem; }
	.gallery-badge { bottom: 10px; right: 10px; padding: 8px 12px; }
	.badge-icon { font-size: 1.5rem; }
	.badge-text span:first-child { font-size: 1rem; }
	.badge-text span:last-child { font-size: 0.7rem; }
}







/* Стили для секции "О мастере" - светлая версия */
.master-section { padding: 100px 0; background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%); color: var(--secondary); position: relative; overflow: hidden; border-radius:2rem;margin:3rem auto;max-width:1300px; }
.master-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/brick-pattern.png'); opacity: 0.03; pointer-events: none; background-size: 200px; }

/* Контейнер блока */
.master-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }

/* Фото мастера */
.master-photo { position: relative; }
.photo-frame { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.photo-frame img { width: 100%; height: auto; display: block; transition: all 0.5s ease; }
.photo-frame:hover img { transform: scale(1.05); }
.frame-decoration { position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.05); }

/* Бейдж с опытом */
.experience-badge { position: absolute; top: 30px; right: -20px; background: var(--gradient-primary); color: var(--light); padding: 15px 25px; border-radius: var(--border-radius); text-align: center; box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2); z-index: 2; transform: rotate(5deg); }
.experience-badge:before { content: ''; position: absolute; bottom: -10px; right: 20px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid var(--primary-dark); }
.badge-number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.badge-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Информация о мастере */
.master-info { padding-left: 20px; }
.info-label { display: inline-block; color: var(--primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 10px; }
.info-title { font-size: 3rem; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 15px; color: var(--secondary); }
.info-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 3px; background: var(--primary); }

/* Цитата мастера */
.master-quote { position: relative; background: rgba(255, 111, 0, 0.05); border-radius: var(--border-radius); padding: 25px 30px 25px 50px; margin-bottom: 30px; }
.master-quote i { position: absolute; top: 20px; left: 20px; color: var(--primary); font-size: 1.5rem; opacity: 0.5; }
.master-quote p { font-size: 1.1rem; font-style: italic; color: var(--secondary); line-height: 1.6; margin-bottom: 0; }

/* Биография мастера */
.master-biography { margin-bottom: 30px; }
.master-biography p { color: var(--gray); line-height: 1.7; margin-bottom: 15px; }
.master-biography p:last-child { margin-bottom: 0; }

/* Навыки мастера */
.master-skills { margin-bottom: 40px; }
.skill-item { margin-bottom: 20px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.skill-title i { color: var(--primary); font-size: 1.1rem; }
.skill-title h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0; color: var(--secondary); }
.skill-bar { background: rgba(0, 0, 0, 0.05); border-radius: 50px; height: 10px; overflow: hidden; position: relative; }
.skill-level { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: 50px; transition: width 1.5s ease; }
.skill-level span { position: absolute; right: 10px; top: -20px; font-size: 0.8rem; font-weight: 600; color: var(--secondary); }

/* Кнопки действия */
.master-action { display: flex; gap: 20px; }
.master-action .btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.master-action .btn-outline:hover { background: rgba(255, 111, 0, 0.05);color:#fff; }
.master-action .btn-outline, .master-action .btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 1rem 1.5rem; border-radius: var(--border-radius); font-weight: 500; transition: all 0.3s ease; }
.master-action .btn-outline i, .master-action .btn-primary i { transition: all 0.3s ease; }
.master-action .btn-outline:hover i, .master-action .btn-primary:hover i { transform: translateX(5px); }

/* Адаптивность */
@media (max-width: 1199px) {
	.master-container { gap: 40px; }
	.info-title { font-size: 2.5rem; }
}

@media (max-width: 991px) {
	.master-section { padding: 80px 0; }
	.master-container { grid-template-columns: 1fr; }
	.master-photo { max-width: 500px; margin: 0 auto 40px; }
	.master-info { padding-left: 0; }
}

@media (max-width: 767px) {
	.master-section { padding: 60px 0; }
	.info-title { font-size: 2.2rem; }
	.master-quote p { font-size: 1rem; }
	.master-action { flex-direction: column; }
	.master-action .btn-outline, .master-action .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
	.info-title { font-size: 2rem; }
	.experience-badge { right: 0; top: 20px; padding: 10px 20px; }
	.badge-number { font-size: 2rem; }
	.master-quote { padding: 20px 20px 20px 40px; }
	.master-quote i { font-size: 1.2rem; left: 15px; top: 15px; }
}















 /* Стили для секции "Отзывы клиентов" (адаптированы для Slick) */
.testimonials-section { padding: 100px 0; background-color: #121212; color: var(--light); position: relative; overflow: hidden; }

/* Фоновый паттерн */
.testimonials-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255, 111, 0, 0.4) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.4; pointer-events: none; }

/* Заголовок секции */
.testimonials-section .section-header { margin-bottom: 60px; }
.testimonials-section .section-title { color: var(--light); }
.testimonials-section .header-icon i { color: var(--primary); }

/* Контейнер отзывов */
.testimonials-container { position: relative; max-width: 800px; margin: 0 auto; }

/* Слайдер отзывов (Slick) */
.testimonials-slider { margin-bottom: 50px; }
.testimonial-item { padding: 10px; }

/* Карточка отзыва */
.testimonial-card { background: linear-gradient(135deg, rgba(50, 50, 50, 0.6) 0%, rgba(30, 30, 30, 0.7) 100%); border-radius: var(--border-radius); padding: 35px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; height: 100%; }
.testimonial-card:before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gradient-primary); }
.testimonial-card:after { content: '\f10e'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; position: absolute; bottom: 20px; right: 25px; font-size: 4rem; color: rgba(255, 111, 0, 0.1); z-index: 0; }

/* Рейтинг отзыва */
.testimonial-rating { display: flex; gap: 5px; margin-bottom: 20px; }
.testimonial-rating i { color: #FFD700; font-size: 1.1rem; }

/* Текст отзыва */
.testimonial-text { position: relative; z-index: 1; margin-bottom: 30px; }
.testimonial-text p { font-size: 1.15rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); font-style: italic; margin-bottom: 0; }

/* Автор отзыва */
.testimonial-author { display: flex; align-items: center; gap: 15px; position: relative; z-index: 1; }
.author-photo { width: 60px; height: 60px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); border: 2px solid rgba(255, 255, 255, 0.1); }
.author-info h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 5px; color: var(--light); }
.author-info p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0; }

/* Стили для стрелок Slick */
.slick-prev, .slick-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; z-index: 10; display: flex !important; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.slick-prev:before, .slick-next:before { font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--light); font-size: 16px; opacity: 1; }
.slick-prev { left: -60px; color:#fff;}
.slick-next { right: -60px; color:#fff;}
.slick-prev:hover, .slick-next:hover { background: var(--primary); transform: translateY(-50%) scale(1.1); }

/* Стили для точек Slick */
.slick-dots { position: relative; bottom: 0; display: flex !important; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
.slick-dots li { margin: 0 5px; }
.slick-dots li button { width: 12px; height: 12px; padding: 0; background: rgba(255, 255, 255, 0.2); border: none; border-radius: 50%; font-size: 0; line-height: 0; cursor: pointer; transition: all 0.3s ease; }
.slick-dots li button:before { display: none; }
.slick-dots li.slick-active button { background: var(--primary); transform: scale(1.2); }
.slick-dots li:hover button { background: rgba(255, 111, 0, 0.5); }

/* Эффект наведения на карточку */
.testimonial-card { transition: all 0.3s ease; }
.testimonial-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.testimonial-card:hover:before { background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-light) 100%); }

/* Кнопка действия */
.testimonials-action { text-align: center; margin-top: 20px; }
.testimonials-action .btn-order { display: inline-flex; align-items: center; gap: 10px; padding: 1rem 2rem; font-size: 1.1rem; }
.testimonials-action .btn-order i { transition: all 0.3s ease; }
.testimonials-action .btn-order:hover i { transform: rotate(-15deg); }

/* Адаптивность */
@media (max-width: 991px) {
	.testimonials-section { padding: 80px 0; }
	.testimonial-card { padding: 25px; }
	.testimonial-text p { font-size: 1.05rem; }
	.slick-prev { left: -20px; }
	.slick-next { right: -20px; }
}

@media (max-width: 767px) {
	.testimonials-section { padding: 60px 0; }
	.testimonial-card { padding: 20px; }
	.testimonial-text p { font-size: 1rem; }
	.author-photo { width: 50px; height: 50px; }
	.author-info h4 { font-size: 1rem; }
	.testimonials-action .btn-order { width: 100%; justify-content: center; }
	.slick-prev, .slick-next { display: none !important; }
}

@media (max-width: 576px) {
	.testimonial-card:after { font-size: 3rem; }
	.testimonial-author { flex-direction: column; align-items: flex-start; gap: 10px; }
	.author-info { text-align: left; }
}



















   /* Стили для архива портфолио */

body.post-type-archive-portfolio,
body.tax-portfolio_section,
body.single-portfolio,
body.tax-portfolio_tag { background:#fff; }

.portfolio-archive {padding-top: 8rem; /* Компенсируем высоту фиксированного хедера */
}

/* Hero секция портфолио с центрированием */
.portfolio-hero { position: relative; padding: 3rem 0 1rem; color: var(--secondary); background-color: var(--light); overflow: hidden; text-align: center;margin-bottom:2rem; }
.portfolio-hero__content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.portfolio-hero__title { font-size: 3rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 25px; display: inline-block; }
.portfolio-hero__title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary); }
.portfolio-hero__description { font-size: 1.2rem; line-height: 1.6; color: var(--secondary); max-width: 1200px; margin: 0 auto; }


/* Основной контент портфолио */
.portfolio-content {padding-bottom: 80px;background-color: var(--light);}
.portfolio-layout {display: grid;grid-template-columns: 300px 1fr;gap: 40px;}

/* Сайдбар */
.portfolio-sidebar {position: relative;}
.portfolio-sidebar__inner {position: sticky;top: 10rem; /* компенсируем высоту хедера + немного отступа */
	background: #f5f5f5;/*border:1px solid #999;*/border-radius: var(--border-radius);overflow: hidden;color: var(--secondary);/*box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.1);*/}
.portfolio-sidebar__title {padding: 1rem;margin: 0;font-size: 0.8rem;text-transform:uppercase;background:#a5b1ca4d;color: var(--secondary);;font-weight:600;position: relative;border-bottom: 1px solid #00000022;}
.portfolio-sidebar__title::before {content: '';position: absolute;right: 20px;top: 50%;transform: translateY(-50%);width: 30px;height: 30px;background-color: #a5b1ca4d;border-radius: 50%;z-index: 1;}
.portfolio-sidebar__title::after {content: '\f07c';font-family: 'Font Awesome 6 Pro';font-weight: 900;position: absolute;right: 27px;top: 53%;transform: translateY(-50%);color:  var(--secondary);z-index: 2;font-size:0.8rem;}
.portfolio-sidebar .portfolio-sections {list-style: none;padding: 1rem 0;margin: 0;}
.portfolio-sections__item {border-bottom: 1px solid rgba(255, 255, 255, 0.05);}
.portfolio-sections__item:last-child {border-bottom: none;}
.portfolio-sections__item.active .portfolio-sections__link {background-color: #b0bdd633;color: var(--secondary);}
.portfolio-sections__item.active .portfolio-sections__icon {background-color: #a5b1ca4d;color: var(--secondary);}
.portfolio-sections__link {display: flex;align-items: center;padding: 5px 15px;color: rgba(10, 10, 10, 0.8);text-decoration: none;transition: all 0.3s ease;}
.portfolio-sections__link:hover {background-color: rgba(255, 255, 255, 0.05);color: var(--secondary);}
.portfolio-sections__icon {width: 36px;height: 36px;background-color: #a5b1ca4d;border-radius: 50%;display: flex;align-items: center;justify-content: center;margin-right: 15px;transition: all 0.3s ease;}
.portfolio-sections__link:hover .portfolio-sections__icon {background-color: #a5b1ca4d;color: var(--light);transform: scale(1.1);}
.portfolio-sections__name {flex-grow: 1;font-weight: 500;line-height:110%;font-size:0.9rem;}
.portfolio-sections__count {background-color: #a5b1ca4d;border-radius: 30px;padding: 2px 8px;font-size: 0.8rem;min-width: 30px;text-align: center;transition: all 0.3s ease;}
.portfolio-sections__item.active .portfolio-sections__count { background-color: #a5b1ca4d; }
.portfolio-sections__link:hover .portfolio-sections__count {background-color:#a5b1ca4d;color: var(--light);}
.portfolio-sidebar__cta {padding: 1rem;text-align: center;position: relative;overflow: hidden;border-top: 1px solid #00000022;background:#b0bdd633}
.portfolio-sidebar__cta::before {;position: absolute;top: 0;right: 0;width: 80px;height: 80px;background: linear-gradient(135deg, transparent 0%, rgba(255, 111, 0, 0.3) 100%);border-radius: 0 0 0 80px;}
.portfolio-sidebar__cta-title {font-size: 1.2rem;margin-bottom: 15px;color: var(--secondary);}
.portfolio-sidebar__cta-text {font-size: 0.95rem;margin-bottom: 20px;color: var(--secondary);}
.portfolio-sidebar__cta .btn-order {display: flex;justify-content: center;width: 100%;}

/* Сетка проектов */
.portfolio-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));gap: 30px;margin-bottom: 50px;}

/* Карточка проекта */
.portfolio-card {background-color: var(--light);border-radius: var(--border-radius);overflow: hidden;box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);transition: all 0.3s ease;height: 100%;display: flex;flex-direction: column;position: relative;}
.portfolio-card:hover {transform: translateY(-10px);box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);}
.portfolio-card::before {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 4px;background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);transform: scaleX(0);transform-origin: left;transition: transform 0.5s ease;}
.portfolio-card:hover::before {transform: scaleX(1);}
.portfolio-card__image {position: relative;height: 0;padding-bottom: 120%; /* соотношение сторон 3:2 */
	overflow: hidden;display: block;}
.portfolio-card__image img {position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;transition: transform 0.5s ease;}
.portfolio-card:hover .portfolio-card__image img {transform: scale(1.1);}
.portfolio-card__overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.5);display: flex;align-items: center;justify-content: center;opacity: 0;transition: all 0.3s ease;}
.portfolio-card:hover .portfolio-card__overlay {opacity: 1;}
.portfolio-card__buttons {display: flex;gap: 15px;transform: translateY(20px);transition: all 0.3s ease 0.1s;}
.portfolio-card:hover .portfolio-card__buttons {transform: translateY(0);}
.portfolio-card__preview, .portfolio-card__link {width: 50px;height: 50px;background: var(--primary);border-radius: 50%;display: flex;align-items: center;justify-content: center;color: var(--light);transition: all 0.3s ease;cursor: pointer;}
.portfolio-card__preview:hover, .portfolio-card__link:hover {transform: scale(1.1);background: var(--primary-dark);}
.portfolio-card__content {padding: 25px;display: flex;flex-direction: column;flex-grow: 1;background-color: #fff;}
.portfolio-card__title {font-size: 1.3rem;font-weight: 600;margin-bottom: 15px;line-height: 1.3;}
.portfolio-card__title a {color: var(--secondary);text-decoration: none;transition: color 0.3s ease;}
.portfolio-card__title a:hover {color: var(--primary);}
.portfolio-card__meta {display: flex;justify-content: space-between;margin-bottom: 15px;color: var(--gray);font-size: 0.9rem;}
.portfolio-card__section a {color: var(--primary);text-decoration: none;}
.portfolio-card__section a:hover {text-decoration: underline;}
.portfolio-card__excerpt {color: var(--gray);margin-bottom: 20px;line-height: 1.6;flex-grow: 1;}
.portfolio-card__footer {display: flex;justify-content: space-between;align-items: center;margin-top: auto;border-top: 1px solid rgba(0, 0, 0, 0.05);padding-top: 15px;}
.portfolio-card__more {display: flex;align-items: center;gap: 8px;color: var(--primary);font-weight: 500;text-decoration: none;transition: all 0.3s ease;}
.portfolio-card__more i {transition: transform 0.3s ease;}
.portfolio-card__more:hover {color: var(--primary-dark);}
.portfolio-card__more:hover i {transform: translateX(5px);}
.portfolio-card__price {color: var(--secondary);font-weight: 600;font-size: 0.95rem;}

/* Пагинация */
.list-pagination {margin-top: 50px;text-align: center;}
.list-pagination ul {display: inline-flex;list-style: none;padding: 0;margin: 0;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);border-radius: var(--border-radius);overflow: hidden;}
.list-pagination__item {margin: 0;}
.list-pagination__link {display: flex;align-items: center;justify-content: center;min-width: 40px;height: 40px;padding: 0 15px;background-color: var(--light);color: var(--secondary);text-decoration: none;border-right: 1px solid rgba(0, 0, 0, 0.05);transition: all 0.3s ease;}
.list-pagination__item:last-child .list-pagination__link {border-right: none;}
.list-pagination__link.active {background-color: var(--primary);color: var(--light);}
.list-pagination__link:hover:not(.active) {background-color: rgba(0, 0, 0, 0.02);color: var(--primary);}
.next.page-numbers { display: flex;align-items: center;justify-content: center;height: 40px;padding: 0 15px; }
.next.page-numbers i { margin-left:0.5rem; }
.prev.page-numbers { display: flex;align-items: center;justify-content: center;height: 40px;padding: 0 15px; }
.prev.page-numbers i { margin-right:0.5rem; }


/* Пустой результат */
.portfolio-empty {text-align: center;padding: 60px 20px;background-color: rgba(0, 0, 0, 0.02);border-radius: var(--border-radius);}
.portfolio-empty__icon {font-size: 4rem;color: rgba(0, 0, 0, 0.1);margin-bottom: 20px;}
.portfolio-empty__title {font-size: 1.8rem;margin-bottom: 15px;color: var(--secondary);}
.portfolio-empty__text {font-size: 1.1rem;color: var(--gray);max-width: 500px;margin: 0 auto;}

/* Адаптивность */
@media (max-width: 1199px) {
	.portfolio-layout {	grid-template-columns: 300px 1fr;gap: 30px;}
	.portfolio-sidebar__title {font-size: 1.2rem;}
}

@media (max-width: 991px) {
	.portfolio-layout {	grid-template-columns: 1fr;}
	.portfolio-sidebar {	display: flex;overflow-x: auto;margin-bottom: 30px;}
	.portfolio-sidebar__inner {	display: flex;flex-direction: column;width: 100%;position: static;}
	.portfolio-sections {	display: flex;flex-wrap: nowrap;overflow-x: auto;padding: 15px;}
	.portfolio-sections__item {	border-bottom: none;margin-right: 10px;flex-shrink: 0;}
	.portfolio-sections__link {	padding: 10px 15px;background-color: rgba(255, 255, 255, 0.05);border-radius: 30px;}
	.portfolio-sections__icon {	width: 30px;height: 30px;font-size: 0.9rem;}
	.portfolio-sidebar__cta {	display: none;}
	.portfolio-sections__count { margin-left:0.5rem; }

}

@media (max-width: 767px) {
	.portfolio-archive {	padding-top: 80px;}
	.portfolio-hero { padding: 2.5rem 0; }
	.portfolio-hero__title {	font-size: 2.2rem;}
	.portfolio-hero__description {	font-size: 1.1rem;}
	.portfolio-grid {	grid-template-columns: 1fr;max-width: 400px;margin-left: auto;margin-right: auto;}
}

@media (max-width: 576px) {
	.portfolio-hero { padding: 2rem 0; } .portfolio-hero__title { font-size: 2.2rem; }
	.portfolio-card__meta {	flex-direction: column;gap: 5px;}
	.portfolio-pagination__link {	min-width: 35px;height: 35px;padding: 0 10px;font-size: 0.9rem;}
}























   /* Обновленные стили для детальной страницы проекта */
.portfolio-container { padding-top: 12rem; /* Отступ от верхнего меню */ }

/* Общий контейнер */
.portfolio-single { max-width: 1200px; margin: 0 auto 60px; border-radius: var(--border-radius); overflow: hidden; /*background-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);*/ }

/* Заголовок проекта */
.project-header { background-color: #232323; color: var(--light); padding: 1rem 2rem; position: relative; }
.project-header__inner { display: flex; flex-direction: column; }
.project-header__content { max-width: 100%; }

/* Секция проекта (категория) */
.project-section { margin-bottom: 15px; }
.project-section a { display: inline-block; padding: 5px 15px; background: rgba(255, 111, 0, 0.08); border-radius: 20px; color: var(--primary); font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; }
.project-section a:hover { background: var(--primary); color: var(--light); transform: translateY(-2px); }

/* Заголовок */
.project-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: var(--light); }

/* Теги проекта */
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.project-tag { display: inline-block; padding: 5px 12px; background: rgba(255, 125, 0, 0.16); border-radius: 20px; color: var(--light); font-size: 0.8rem; transition: all 0.3s ease; text-decoration: none; }
.project-tag:hover { background: var(--primary); color: var(--light); transform: translateY(-2px); }

/* Мета-информация */
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.project-date { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; }
.project-date i { color: var(--primary); font-size: 1rem; }
.date_and_back {display: flex;gap: 2rem;}


/* Информация о цене */
.project-price-info { display: flex; flex-wrap: wrap; gap: 15px; }
.project-price { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; background: rgba(0, 0, 0, 0.03); padding: 5px 12px; border-radius: 20px; }
.project-price i { color: var(--primary); font-size: 0.9rem; }
.project-price-materials { }
.project-price-job { }

/* Кнопка возврата */
.btn-back { display: flex; align-items: center; gap: 8px; color: var(--gray); font-weight: 500; padding: 5px 12px; background: rgba(0, 0, 0, 0.03); border-radius: 20px; transition: all 0.3s ease; text-decoration: none; }
.btn-back i { transition: transform 0.3s ease; }
.btn-back:hover { color: var(--primary); background: rgba(255, 111, 0, 0.08); }
.btn-back:hover i { transform: translateX(-5px); }

/* Заглавное изображение */
.project-featured-image { position: relative; width: 100%; overflow: hidden; }
.featured-image-wrapper { width: 100%; }
.project-featured-image img { width: 100%; height: auto; display: block; }

/* Основной контент */
.project-content { padding: 0 2rem 0 1rem; background-color: #fff;margin:0 auto;max-width:1024px; }
.project-content__inner { max-width: 900px; margin: 0 auto; }
h1.project-cont-title { font-size: 2.4rem;font-weight: 600;margin-bottom: 1rem;position: relative;padding-bottom: 0px;display: inline-block; }

/* Блоки контента */
.content-block { margin-bottom: 50px; }
.content-block:last-child { margin-bottom: 0; }
.block-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 15px; color: var(--secondary); }
.block-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--primary); }

/* Текстовый блок */
.text-block { line-height: 1.8; color: var(--secondary); }
.text-content h2 { font-size: 1.8rem; font-weight: 700; margin: 40px 0 20px; color: var(--secondary); }
.text-content h3 { font-size: 1.4rem; font-weight: 600; margin: 30px 0 15px; color: var(--secondary); }
.text-content p { margin-bottom: 20px; }
.text-content ul, .text-content ol { margin-bottom: 20px; padding-left: 25px; }
.text-content li { margin-bottom: 10px; }
.text-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.text-content a { color: var(--primary); text-decoration: underline; transition: all 0.3s ease; }
.text-content a:hover { color: var(--primary-dark); }

/* Галерея изображений */
.single-image { margin-bottom: 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.single-image img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.single-image:hover img { transform: scale(1.02); }

/* Слайдер */
.gallery-slider { margin: 1rem -0.7rem 2rem;  border-radius: 10px; overflow: hidden; }
.slider-item img { width: 100%; height: auto; }

/* Стрелки слайдера */
.gallery-slider .slick-prev, .gallery-slider .slick-next { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; z-index: 10; transition: all 0.3s ease; }
.gallery-slider .slick-prev:before, .gallery-slider .slick-next:before { font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--secondary); opacity: 1; }
.gallery-slider .slick-prev { left: 20px; }
.gallery-slider .slick-next { right: 20px; }
.gallery-slider .slick-prev:hover, .gallery-slider .slick-next:hover { background: var(--primary); }
.gallery-slider .slick-prev:hover:before, .gallery-slider .slick-next:hover:before { color: var(--light); }


/* Обновленные стили для галереи-слайдера */
.gallery-slider { margin-bottom: 30px; }
.gallery-slider .slider-item { padding: 0 10px; }
.gallery-slider .slider-item a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.gallery-slider .slider-item img { width: 100%; height: auto; display: block; }
.gallery-slider .slider-item a:hover { transform: translateY(-5px); }


/* Точки слайдера */
.gallery-slider .slick-dots { bottom: 15px; }
.gallery-slider .slick-dots li button:before { color: var(--light); opacity: 0.7; }
.gallery-slider .slick-dots li.slick-active button:before { color: var(--primary); opacity: 1; }

/* Видеоблок */
.video-container { position: relative;padding-bottom: 56.25%;overflow: hidden;max-width: 100%;height: auto;border-radius:1.4rem; }
.video-container iframe { position: absolute;top: 0;left: 0;width: 100%;height: 100%; }

/* Масонри галерея */
.masonry-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 15px; }
.masonry-item { position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.masonry-item:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); opacity: 0; transition: all 0.3s ease; }
.masonry-item a:before { content: '\f00e'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--light); font-size: 1.5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); z-index: 2; opacity: 0; transition: all 0.3s ease; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover:after { opacity: 1; }
.masonry-item:hover a:before { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* Раздел похожих проектов */
.related-projects { padding: 60px 0; background-color: #f8f8f8; }
.related-projects .section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 40px; position: relative; padding-bottom: 15px; display: block; color: var(--secondary); }
.related-projects .section-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary); }


.no-related { margin:0 auto 2rem;text-align:center;color:#999; }
.related-slider { margin: 0 40px 40px; }
.related-item { padding: 10px; }
.related-card { background-color: #fff; border-radius: var(--border-radius); overflow: hidden; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.related-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.related-thumb { position: relative; display: block; height: 0; padding-bottom: 66.67%; overflow: hidden; }
.related-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.related-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%); opacity: 0; transition: all 0.3s ease; }
.related-card:hover .related-thumb img { transform: scale(1.1); }
.related-card:hover .related-overlay { opacity: 1; }
.related-content { padding: 20px; }
.related-title { font-size: 1.0rem; font-weight: 600; margin-bottom: 0; line-height: 1.4; }
.related-title a { color: var(--secondary); transition: color 0.3s ease; text-decoration: none; }
.related-title a:hover { color: var(--primary); }

.all-projects-link { text-align: center; }
.single-portfolio .btn-outline { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--primary); color: var(--secondary); background: transparent; padding: 12px 25px; border-radius: var(--border-radius); font-weight: 500; transition: all 0.3s ease; text-decoration: none; }
.single-portfolio .btn-outline i { transition: transform 0.3s ease; }
.single-portfolio .btn-outline:hover { background: var(--primary); color: var(--light); transform: translateY(-3px); }
.single-portfolio .btn-outline:hover i { transform: translateX(5px); }

/* Slick стили для слайдера похожих проектов */
.related-projects .slick-prev, .related-projects .slick-next { width: 40px; height: 40px;  background: var(--primary); border-radius: 50%; z-index: 10; transition: all 0.3s ease; top:40%;}
.related-projects .slick-prev:before, .related-projects .slick-next:before { font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--secondary); opacity: 1; }
.related-projects .slick-prev { left: -20px; }
.related-projects .slick-next { right: -20px; }
.related-projects .slick-prev:hover, .related-projects .slick-next:hover { background: var(--primary); }
.related-projects .slick-prev:hover:before, .related-projects .slick-next:hover:before { color: var(--light); }

/* Адаптивность */
@media (max-width: 1199px) {
	.project-title { font-size: 2.2rem; }
}

@media (max-width: 991px) {
	.portfolio-container { padding-top: 100px; }
	.project-content { padding: 40px 30px; }
	.gallery-slider .slick-track { display: flex; align-items: center; }
}

@media (max-width: 767px) {
	.portfolio-container { padding-top: 80px; }
	.portfolio-single { margin-bottom: 40px; }
	.project-header { padding: 25px 20px; }
	.project-title { font-size: 1.8rem; }
	.project-meta { flex-direction: column; align-items: flex-start; gap: 15px; }
	.project-price-info { width: 100%; margin: 5px 0; }
	/* Улучшаем отображение блоков с ценами */
	.project-price { margin-bottom: 8px; width: 100%; justify-content: flex-start; background: rgba(255, 255, 255, 0.1); }
	.project-price i { min-width: 20px; text-align: center; }
	.project-content { padding: 30px 20px; }
	.related-slider { margin: 0 20px 30px; }
	/* Улучшаем кнопку возврата */
	.btn-back {  }
}

@media (max-width: 576px) {
	.project-title { font-size: 1.6rem; }
	.project-price, .btn-back { width: 100%; justify-content: center; }
	.block-title { font-size: 1.6rem; }
	.related-projects { padding: 40px 0; }
	/* Дополнительные стили для самых маленьких экранов */
	.project-header { padding: 20px 15px; }
	.project-section a { width: auto; margin-right: 5px; }
	.project-tags { margin-bottom: 15px; }
	.project-tag { margin-bottom: 5px; }
	.btn-back { gap: 3px; font-size:0.8rem;font-weight: 400; padding: 5px; transition: all 0.3s ease; text-decoration: none; }
	.project-date span { white-space:nowrap; }
	.gallery-slider .slider-item { padding: 0 5px; }
}







































/* Стили для архива статей */

body.post-type-archive-articles,
body.tag,
body.single-articles { background:#fff; }

.articles-archive { padding-top: 8rem; /* Компенсируем высоту фиксированного хедера */ }

/* Hero секция статей с центрированием */
.articles-hero { position: relative; padding: 3rem 0 1rem; color: var(--secondary); background-color: var(--light); overflow: hidden; text-align: center; margin-bottom: 2rem; }
.articles-hero__content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.articles-hero__title { font-size: 3rem; font-weight: 800; margin-bottom: 20px; position: relative; padding-bottom: 25px; display: inline-block; }
.articles-hero__title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary); }
.articles-hero__description { font-size: 1.2rem; line-height: 1.6; color: var(--secondary); max-width: 600px; margin: 0 auto; }

/* Основной контент статей */
.articles-content { padding-bottom: 80px; background-color: var(--light); }
.articles-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; }

/* Сайдбар */
.articles-sidebar { position: relative; }
.articles-sidebar__inner { position: sticky; top: 10rem; /* компенсируем высоту хедера + немного отступа */ background: #f5f5f5; border-radius: var(--border-radius); overflow: hidden; color: var(--secondary); }
.articles-sidebar__title { padding: 1rem; margin: 0; font-size: 0.8rem; text-transform: uppercase; background: #a5b1ca4d; color: var(--secondary); font-weight: 600; position: relative; border-bottom: 1px solid #00000022; }
.articles-sidebar__title::before { content: ''; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; background-color: #a5b1ca4d; border-radius: 50%; z-index: 1; }
.articles-sidebar__title::after { content: '\f02b'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; position: absolute; right: 27px; top: 53%; transform: translateY(-50%); color: var(--secondary); z-index: 2; font-size: 0.8rem; }

/* Теги статей */
.sidebar-tags { padding: 15px; }
.sidebar-tags__all { margin-bottom: 20px; }
.sidebar-tags__all-link { display: flex; align-items: center; padding: 10px 15px; color: rgba(10, 10, 10, 0.8); text-decoration: none; transition: all 0.3s ease; background-color: rgba(255, 255, 255, 0.3); border-radius: 30px; }
.sidebar-tags__all.active .sidebar-tags__all-link { background-color: #b0bdd633; color: var(--secondary); }
.sidebar-tags__all-icon { width: 36px; height: 36px; background-color: #a5b1ca4d; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; transition: all 0.3s ease; }
.sidebar-tags__all.active .sidebar-tags__all-icon { background-color: #a5b1ca4d; color: var(--secondary); }
.sidebar-tags__all-link:hover { background-color: rgba(255, 255, 255, 0.5); color: var(--secondary); }
.sidebar-tags__all-link:hover .sidebar-tags__all-icon { background-color: #a5b1ca4d; color: var(--secondary); transform: scale(1.1); }
.sidebar-tags__all-name { flex-grow: 1; font-weight: 500; }
.sidebar-tags__all-count { background-color: #a5b1ca4d; border-radius: 30px; padding: 2px 8px; font-size: 0.8rem; min-width: 30px; text-align: center; transition: all 0.3s ease; }
.sidebar-tags__all.active .sidebar-tags__all-count { background-color: #a5b1ca4d; }
.sidebar-tags__all-link:hover .sidebar-tags__all-count { background-color: #a5b1ca4d; color: var(--light); }

.img-two-box { display:flex;gap:2rem;justify-content: space-evenly; }
.img-two-box .img-item img { border-radius:1.4rem; }

/* Облако тегов */
.sidebar-tags__cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tags__item { display: inline-block; padding: 5px 12px; background-color: rgba(255, 255, 255, 0.5); border-radius: 20px; color: var(--secondary); font-size: 0.85rem; text-decoration: none; transition: all 0.3s ease; }
.sidebar-tags__item.active { background-color: var(--primary); color: #fff; }
.sidebar-tags__item:hover { background-color: var(--primary-light); color: #fff; transform: translateY(-2px); }
.sidebar-tags__name { margin-right: 5px; }
.sidebar-tags__count { font-size: 0.75rem; opacity: 0.8; }

/* Блок "Нужна консультация" */
.articles-sidebar__cta { padding: 1rem; text-align: center; position: relative; overflow: hidden; border-top: 1px solid #00000022; background: #b0bdd633; }
.articles-sidebar__cta::before { position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: linear-gradient(135deg, transparent 0%, rgba(255, 111, 0, 0.3) 100%); border-radius: 0 0 0 80px; }
.articles-sidebar__cta-title { font-size: 1.2rem; margin-bottom: 15px; color: var(--secondary); }
.articles-sidebar__cta-text { font-size: 0.95rem; margin-bottom: 20px; color: var(--secondary); }
.articles-sidebar__cta .btn-order { display: flex; justify-content: center; width: 100%; }

/* Сетка статей */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; margin-bottom: 50px; }

/* Карточка статьи */
.article-card { background-color: var(--light); border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; position: relative; }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.article-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.article-card:hover::before { transform: scaleX(1); }
.article-card__image { position: relative; height: 0; padding-bottom: 56.25%; /* соотношение сторон 16:9 */ overflow: hidden; display: block; }
.article-card__image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-card__image img { transform: scale(1.1); }
.article-card__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; }
.article-card:hover .article-card__overlay { opacity: 1; }
.article-card__buttons { display: flex; gap: 15px; transform: translateY(20px); transition: all 0.3s ease 0.1s; }
.article-card:hover .article-card__buttons { transform: translateY(0); }
.article-card__preview, .article-card__link { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--light); transition: all 0.3s ease; cursor: pointer; }
.article-card__preview:hover, .article-card__link:hover { transform: scale(1.1); background: var(--primary-dark); }
.article-card__content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; background-color: #fff; }
.article-card__title { font-size: 1.3rem; font-weight: 600; margin-bottom: 15px; line-height: 1.3; }
.article-card__title a { color: var(--secondary); text-decoration: none; transition: color 0.3s ease; }
.article-card__title a:hover { color: var(--primary); }
.article-card__meta { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--gray); font-size: 0.9rem; }
.article-card__tag a { color: var(--primary); text-decoration: none; font-weight: 500; }
.article-card__tag a:hover { text-decoration: underline; }
.article-card__date { color: var(--gray); font-style: italic; }
.article-card__excerpt { color: var(--gray); margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }
.article-card__footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid rgba(0, 0, 0, 0.05); padding-top: 15px; }
.article-card__more { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 500; text-decoration: none; transition: all 0.3s ease; }
.article-card__more i { transition: transform 0.3s ease; }
.article-card__more:hover { color: var(--primary-dark); }
.article-card__more:hover i { transform: translateX(5px); }
.article-card__readtime { color: var(--gray); font-size: 0.85rem; display: flex; align-items: center; }
.article-card__readtime:before { content: '\f017'; font-family: 'Font Awesome 6 Pro'; font-weight: 400; margin-right: 5px; }


/* Пустой результат */
.articles-empty { text-align: center; padding: 60px 20px; background-color: rgba(0, 0, 0, 0.02); border-radius: var(--border-radius); }
.articles-empty__icon { font-size: 4rem; color: rgba(0, 0, 0, 0.1); margin-bottom: 20px; }
.articles-empty__title { font-size: 1.8rem; margin-bottom: 15px; color: var(--secondary); }
.articles-empty__text { font-size: 1.1rem; color: var(--gray); max-width: 500px; margin: 0 auto; }

/* Адаптивность */
@media (max-width: 1199px) {
	.articles-layout { grid-template-columns: 250px 1fr; gap: 30px; }
	.articles-sidebar__title { font-size: 1.2rem; }
}

@media (max-width: 991px) {
	.articles-layout { grid-template-columns: 1fr; }
	.articles-sidebar { display: block; margin-bottom: 30px; }
	.articles-sidebar__inner { position: static; }
	.sidebar-tags__cloud { display: flex; flex-wrap: wrap; padding: 5px; }
	.articles-sidebar__cta { display: none; }
}

@media (max-width: 767px) {
	.articles-archive { padding-top: 80px; }
	.articles-hero { padding: 2.5rem 0; }
	.articles-hero__title { font-size: 2.2rem; }
	.articles-hero__description { font-size: 1.1rem; }
	.articles-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 576px) {
	.articles-hero { padding: 2rem 0; }
	.articles-hero__title { font-size: 2rem; }
	.article-card__meta { flex-direction: column; gap: 5px; }
	.articles-pagination__link { min-width: 35px; height: 35px; padding: 0 10px; font-size: 0.9rem; }
}





/* Обновленные стили для детальной страницы статьи */
.article-container { padding-top: 12rem; /* Отступ от верхнего меню */ }

/* Общий контейнер */
.article-single { max-width: 1200px; margin: 0 auto 60px; border-radius: var(--border-radius); background-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

/* Заголовок статьи */
.article-header { background-color: #232323; color: var(--light); padding: 2rem 2rem 1.5rem; position: relative;border-radius:1.4rem 1.4rem 0 0; }
.article-header__inner { display: flex; flex-direction: column; }
.article-header__content { max-width: 100%; }

/* Заголовок */
.article-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: var(--light); }

/* Теги статьи */
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.article-tag { display: inline-block; padding: 5px 12px; background: rgba(255, 125, 0, 0.16); border-radius: 20px; color: var(--light); font-size: 0.8rem; transition: all 0.3s ease; text-decoration: none; }
.article-tag:hover { background: var(--primary); color: var(--light); transform: translateY(-2px); }

/* Мета-информация */
.article-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.date-and-back { display: flex; gap: 2rem; align-items: center; }
.article-date { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; }
.article-date i { color: var(--primary); font-size: 1rem; }
.article-readtime { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; background: rgba(255, 255, 255, 0.1); padding: 5px 12px; border-radius: 20px; }
.article-readtime i { color: var(--primary); font-size: 0.9rem; }

/* Кнопка возврата */
.btn-back { display: flex; align-items: center; gap: 8px; color: var(--gray); font-weight: 500; padding: 5px 12px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; transition: all 0.3s ease; text-decoration: none; }
.btn-back i { transition: transform 0.3s ease; }
.btn-back:hover { color: var(--primary); background: rgba(255, 255, 255, 0.2); }
.btn-back:hover i { transform: translateX(-5px); }

/* Заглавное изображение */
.article-featured-image { position: relative; width: 100%; overflow: hidden; }
.featured-image-wrapper { width: 100%; }
.article-featured-image img { width: 100%; height: auto; display: block; }

/* Основной контент */
.article-body { padding: 60px 40px; background-color: #fff; }
.article-body__inner { max-width: 700px; margin: 0 auto; }

/* Блоки контента */
.article-block { margin-bottom: 50px; }
.article-block:last-child { margin-bottom: 0; }
.article-block__title { font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 15px; color: var(--secondary); }
.article-block__title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--primary); }

/* Изображения в блоке */
.article-block__image { margin-bottom: 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.article-block__image img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.article-block__image:hover img { transform: scale(1.02); }
.article-block__image--top { margin-bottom: 30px; }
.article-block__image--bottom { margin-top: 30px; }

/* Разметка с изображением слева и текстом справа */
.article-block__layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; margin-bottom: 20px; }
.article-block__sidebar { }
.article-block__main { }
.article-block__image--left { margin-bottom: 20px; }
.article-block__images-left { display: flex; flex-direction: column; gap: 20px; }
.article-block__image--multiple { }

/* Текстовый блок */
.article-block__text { line-height: 1.8; color: var(--secondary); }
.article-block__text h2, .article-block__main h2 { font-size: 1.8rem; font-weight: 700; margin: 40px 0 20px; color: var(--secondary); }
.article-block__text h3, .article-block__main h3 { font-size: 1.4rem; font-weight: 600; margin: 30px 0 15px; color: var(--secondary); }
.article-block__text p, .article-block__main p { margin-bottom: 20px; }
.article-block__text ul, .article-block__text ol, .article-block__main ul, .article-block__main ol { margin-bottom: 20px; padding-left: 25px; }
.article-block__text li, .article-block__main li { margin-bottom: 10px; }
.article-block__text a, .article-block__main a { color: var(--primary); text-decoration: underline; transition: all 0.3s ease; }
.article-block__text a:hover, .article-block__main a:hover { color: var(--primary-dark); }

/* Слайдер галереи в блоке */
.article-block__gallery { margin: 30px 0; }
.article-block__single-image { margin-bottom: 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.article-block__single-image img { width: 100%; height: auto; display: block; }

/* Стили для слайдера галереи */
.article-gallery-slider { margin: 0 -10px; }
.article-gallery-slider .slider-item { padding: 0 10px; }
.article-gallery-slider .slider-item a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.article-gallery-slider .slider-item img { width: 100%; height: auto; display: block; }
.article-gallery-slider .slider-item a:hover { transform: translateY(-5px); }

/* Стрелки слайдера */
.article-gallery-slider .slick-prev, .article-gallery-slider .slick-next { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; z-index: 10; transition: all 0.3s ease; }
.article-gallery-slider .slick-prev:before, .article-gallery-slider .slick-next:before { font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--secondary); opacity: 1; }
.article-gallery-slider .slick-prev { left: 20px; }
.article-gallery-slider .slick-next { right: 20px; }
.article-gallery-slider .slick-prev:hover, .article-gallery-slider .slick-next:hover { background: var(--primary); }
.article-gallery-slider .slick-prev:hover:before, .article-gallery-slider .slick-next:hover:before { color: var(--light); }

/* Галерея в конце статьи */
.article-footer-gallery { margin-top: 60px; }
.article-footer-gallery__title { font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; position: relative; padding-bottom: 15px; color: var(--secondary); text-align: center; }
.article-footer-gallery__title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }

/* Масонри галерея */
.masonry-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 15px; }
.masonry-item { position: relative; overflow: hidden; border-radius: 10px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.masonry-item:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.3); opacity: 0; transition: all 0.3s ease; }
.masonry-item a:before { content: '\f00e'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--light); font-size: 1.5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); z-index: 2; opacity: 0; transition: all 0.3s ease; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item:hover:after { opacity: 1; }
.masonry-item:hover a:before { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* Раздел похожих статей */
.related-articles { padding: 60px 0; background-color: #f8f8f8; }
.related-articles .section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 40px; position: relative; padding-bottom: 15px; display: block; color: var(--secondary); }
.related-articles .section-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary); }

.no-related { margin: 0 auto 2rem; text-align: center; color: #999; }


.all-articles-link { text-align: center; }
.single-articles .btn-outline { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--primary); color: var(--secondary); background: transparent; padding: 12px 25px; border-radius: var(--border-radius); font-weight: 500; transition: all 0.3s ease; text-decoration: none; }
.single-articles .btn-outline i { transition: transform 0.3s ease; }
.single-articles .btn-outline:hover { background: var(--primary); color: var(--light); transform: translateY(-3px); }
.single-articles .btn-outline:hover i { transform: translateX(5px); }

/* Slick стили для слайдера похожих статей */
.related-articles .slick-prev, .related-articles .slick-next { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.8); border-radius: 50%; z-index: 10; transition: all 0.3s ease; }
.related-articles .slick-prev:before, .related-articles .slick-next:before { font-family: 'Font Awesome 6 Pro'; font-weight: 900; color: var(--secondary); opacity: 1; }
.related-articles .slick-prev { left: -20px; }
.related-articles .slick-next { right: -20px; }
.related-articles .slick-prev:hover, .related-articles .slick-next:hover { background: var(--primary); }
.related-articles .slick-prev:hover:before, .related-articles .slick-next:hover:before { color: var(--light); }

/* Адаптивность */
@media (max-width: 1199px) {
	.article-title { font-size: 2.2rem; }
}

@media (max-width: 991px) {
	.article-container { padding-top: 100px; }
	.article-body { padding: 40px 30px; }
	.article-block__layout { grid-template-columns: 1fr; gap: 20px; }
	.article-block__sidebar { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
	.article-block__image--left, .article-block__image--multiple { width: calc(50% - 10px); margin-bottom: 0; }
	.article-block__images-left { display: flex; flex-wrap: wrap; width: 100%; gap: 15px; }
	.related-slider .slick-track { display: flex; align-items: center; }
}

@media (max-width: 767px) {
	.article-container { padding-top: 80px; }
	.article-single { margin-bottom: 40px; }
	.article-header { padding: 25px 20px; }
	.article-title { font-size: 1.8rem; }
	.article-meta { flex-direction: column; align-items: flex-start; gap: 15px; }
	.date-and-back { width: 100%; justify-content: space-between; }
	.article-body { padding: 30px 20px; }
	.article-block__title { font-size: 1.6rem; }
	.article-block__sidebar { flex-direction: column; }
	.article-block__image--left, .article-block__image--multiple { width: 100%; }
	.related-slider { margin: 0 20px 30px; }
}

@media (max-width: 576px) {
	.article-title { font-size: 1.6rem; }
	.article-readtime, .btn-back { width: 100%; justify-content: center; }
	.article-block__title { font-size: 1.5rem; }
	.related-articles { padding: 40px 0; }
	/* Дополнительные стили для самых маленьких экранов */
	.article-header { padding: 20px 15px; }
	.article-tags { gap: 8px; margin-bottom: 15px; }
	.article-tag { margin-bottom: 5px; }
	.btn-back { gap: 3px; font-size: 0.8rem; font-weight: 400; padding: 5px; }
	.article-date span { white-space: nowrap; }
	.article-gallery-slider .slider-item { padding: 0 5px; }
}



.time-meta {display: flex;}


/* Кнопка оглавления */
.article-toc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	padding: 6px 12px;
	background-color: rgba(255, 255, 255, 0.1);
	border: none;
	border-radius: 20px;
	color: var(--gray);
	font-size: 0.9rem;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

.article-toc-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
	color: var(--primary);
}

/* Всплывающее оглавление */
.article-toc-popup {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 10px;
	width: 280px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	z-index: 100;
}

.article-toc-popup__title {
	padding: 12px 15px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #333;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.article-toc-popup__list {
	max-height: 300px;
	overflow-y: auto;
	padding: 10px 0;
}

.article-toc-popup__item {
	display: block;
	padding: 8px 15px;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.article-toc-popup__item:hover {
	background-color: rgba(0, 0, 0, 0.03);
	color: var(--primary);
}






/* Стили для оглавления в статье (в стиле Дзена) */

/* Обертка для содержимого статьи и навигации */
.article-with-navigation {
	position: relative;
	display: flex;
}

/* 1. Верхнее компактное оглавление */
.article-top-contents {
	background-color: #f8f8f8;
	border-radius: 10px;
	margin: 20px 0 30px;
	padding: 15px 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.article-top-contents__title {
	font-size: 1rem;
	font-weight: 600;
	color: #666;
	margin-bottom: 12px;
}

.article-top-contents__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.article-top-contents__item {
	color: var(--primary);
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	display: block;
	padding: 4px 0;
}

.article-top-contents__item:hover {
	color: var(--primary-dark);
	text-decoration: underline;
}

.article-top-contents__show-more {
	background: none;
	border: none;
	color: #888;
	font-size: 0.9rem;
	cursor: pointer;
	text-align: left;
	padding: 5px 0;
	margin-top: 5px;
	transition: all 0.2s ease;
}

.article-top-contents__show-more:hover {
	color: var(--primary);
	text-decoration: underline;
}

/* 2. Навигационный контейнер (в стиле Дзена) */
.article-navigation-container {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: fit-content;
}

/* Sticky контейнер для навигации */
.article-navigation-sticky {
	position: sticky;
	top: 150px; /* Регулируйте в зависимости от высоты хедера */
	display: flex;
	align-items: flex-start;
	height: fit-content;
}

/* Индикатор навигации (вертикальная полоса с иконкой) */
.article-navigation-indicator {
	width: 36px;
	height: 36px;
	background-color: #f8f8f8;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	margin-right: 10px;
	z-index: 1;
	transition: all 0.3s ease;
}

.article-navigation-indicator:hover {
	background-color: #f0f0f0;
}

/* Иконка "гамбургер" */
.nav-icon-bars {
	position: relative;
	width: 18px;
	height: 14px;
}

.nav-icon-bars::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 2px;
	background-color: #666;
	top: 0;
	left: 0;
	box-shadow: 0 6px 0 0 #666, 0 12px 0 0 #666;
}

/* Панель с полным оглавлением */
.article-navigation-panel {
	background-color: #f8f8f8;
	width: 0;
	overflow: hidden;
	border-radius: 5px;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
	transition: width 0.3s ease, opacity 0.3s ease;
	opacity: 0;
	z-index: 0;
	position: absolute;
	left: 36px; /* Ширина индикатора + отступ */
}

/* Состояние при наведении или клике на "Показать еще" */
.article-navigation-container.show-full-toc .article-navigation-panel {
	width: 250px;
	opacity: 1;
	z-index: 2;
}

/* Заголовок панели */
.article-navigation-panel__title {
	padding: 15px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #555;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Список элементов оглавления */
.article-navigation-panel__list {
	max-height: 70vh;
	overflow-y: auto;
	padding: 10px 0;
}

.article-navigation-panel__item {
	display: block;
	padding: 8px 15px;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.2s ease;
	position: relative;
}

.article-navigation-panel__item:hover {
	background-color: rgba(0, 0, 0, 0.03);
	color: var(--primary);
}

.article-navigation-panel__item.active {
	color: var(--primary);
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.03);
}

.article-navigation-panel__item.active::before {
	content: '';
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 70%;
	background-color: var(--primary);
	border-radius: 2px;
}

/* Стилизация скроллбара */
.article-navigation-panel__list::-webkit-scrollbar {
	width: 4px;
}

.article-navigation-panel__list::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
}

.article-navigation-panel__list::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 2px;
}

.article-navigation-panel__list::-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.15);
}

/* Регулируем отступы для основного контейнера статьи */
.article-body {
	width: 100%;
	padding-left: 40px; /* Отступ для навигации */
}

/* Адаптивность */
@media (max-width: 992px) {
	.article-with-navigation {
		display: block; /* Убираем flex на мобильных */
	}

	.article-body {
		padding-left: 0; /* Убираем отступ на мобильных */
	}

	.article-navigation-container {
		display: none; /* Скрываем навигацию на мобильных */
	}
}










/*.page-container { margin:12rem auto 5rem;background:#fff;border-radius:2rem; }   */






















































/* Футер */
.main-footer { background-color: #121212; color: var(--light); position: relative; padding: 80px 0 30px; margin-top: auto; }

/* Огненный разделитель вверху футера */
.footer-fire-divider { position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gradient-primary); transform: translateY(-50%); z-index: 1; box-shadow: 0 0 20px rgba(255, 111, 0, 0.6); }
.footer-fire-divider:before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('/ta/i/fire-pattern.webp') repeat-x; background-size: contain; opacity: 0.7; animation: fire-animation 30s linear infinite; }

@keyframes fire-animation {
	0% { background-position: 0 0; }
	100% { background-position: 1000px 0; }
}

.footer-content { position: relative; }

/* Блоки футера */
.footer-blocks { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; margin-bottom: 50px; }
.footer-block { position: relative; }

/* Блок с информацией о бренде */
.brand-info { display: flex; flex-direction: column; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { width: 90px; height: auto; filter: drop-shadow(0 0 10px rgba(255, 111, 0, 0.3)); transition: all 0.3s ease; }
.footer-logo:hover img { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(255, 111, 0, 0.5)); }
.brand-description { color: rgba(255, 255, 255, 0.7); margin-bottom: 20px; line-height: 1.7; }
.master-signature { margin-top: auto; font-weight: 500; color: var(--light); }
.master-signature span { position: relative; display: inline-block; font-size: 1.5rem; color: var(--primary-light); margin-bottom: 5px; }
.master-title { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 1px; }

/* Заголовки блоков */
.footer-title { color: var(--primary); font-size: 1.1rem; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background-color: var(--primary); }

/* Меню в футере */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; position: relative; }
.footer-links a { color: rgba(255, 255, 255, 0.7); display: block; transition: all 0.3s ease; position: relative; padding-left: 15px; }
.footer-links a:before { content: '\f105'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--primary); opacity: 0; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--primary-light); padding-left: 20px; }
.footer-links a:hover:before { opacity: 1; }

/* Контакты в футере */
.footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-contacts li { display: flex; align-items: flex-start; margin-bottom: 15px; }
.footer-contacts i { color: var(--primary); margin-right: 12px; margin-top: 5px; transition: all 0.3s ease; }
.footer-contacts a, .footer-contacts span { color: rgba(255, 255, 255, 0.7); transition: all 0.3s ease; }
.footer-contacts a:hover { color: var(--primary-light); }
.footer-contacts a:hover + i { transform: scale(1.1); }

/* Социальные сети */
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 25px; }
.footer-social a { width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; transition: all 0.3s ease; position: relative; overflow: hidden; }
.footer-social a:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: var(--gradient-primary); z-index: -1; transition: all 0.3s ease; }
.footer-social a:hover { color: var(--light); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.footer-social a:hover:before { left: 0; }

/* Кнопка призыва к действию */
.footer-cta { width: 100%; margin-top: 10px; display: flex; justify-content: center; }

/* Нижняя часть футера */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.copyright { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); }
.policy-links a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
.policy-links a:hover { color: var(--primary); }

/* Модальное окно */









/* Стили для модальной формы заказа печи */
.modal-content { background-color: #fff; border: none; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); overflow: hidden; }
.modal-header { background: var(--gradient-primary); color: #fff; border-bottom: none; padding: 20px 25px; }
.modal-header .modal-title { font-weight: 700; font-size: 24px; margin: 0; }
.modal-header .btn-close { filter: brightness(0) invert(1); opacity: 0.8; transition: all 0.2s ease; }
.modal-header .btn-close:hover { opacity: 1; transform: rotate(90deg); }



.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.modal-title {
	margin-bottom: 5px;
	font-weight: 700;
}

.modal-subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
}

.form-intro {
	margin-bottom: 20px;
	font-size: 16px;
	color: #555;
	line-height: 1.5;
}



.modal-body { padding: 30px; background-color: #fff; }

/* Стили для формы */
.pech-form-wrapper { position: relative; }
.form-fields { transition: all 0.3s ease; }
.input-group { margin-bottom: 20px; }
.input-group label { color: #333; font-weight: 500; margin-bottom: 8px; display: block; }

/* Стили для полей ввода */
.wpcf7-form-control { width: 100%; }


.modal-body .input-group .wpcf7-form-control {
	width: 100%;
	max-width: 100%;
}

.modal-body .input-group {
	width: 100%;
	margin-bottom: 20px;
	display:block;
}

.form-on-contact .input-group {
	width: 100%;
	margin-bottom: 20px;
	display:block;
}


.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	background-color: #f8f8f8;
	border: 1px solid #e0e0e0;
	color: #333;
	padding: 15px;
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
	border-color: var(--primary);
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
	outline: none;
}

.wpcf7-form textarea {
	height: 120px;
	resize: vertical;
}

/* Стили для чекбокса */
.acceptance-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
	margin-top: 3px;
	margin-right: 10px;
	width: 18px;
	height: 18px;
	accent-color: var(--primary);
}

.acceptance-text {
	font-size: 14px;
	color: #555;
}

.acceptance-text a {
	color: var(--primary);
	font-weight: 500;
	text-decoration: none;
}

.acceptance-text a:hover {
	text-decoration: underline;
}

/* Стили для кнопки отправки */
.submit-button {
	width: 100%;
	background: var(--gradient-primary) !important;
	color: #fff !important;
	border: none !important;
	padding: 16px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 18px !important;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.submit-button:hover {
	box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3) !important;
	transform: translateY(-2px);
}

.submit-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(255, 111, 0, 0.2) !important;
}

/* Сообщение об успешной отправке */
.form-success-message, .form-limit-message {
	/*position: absolute; */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 30px;
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.form-success-message.active, .form-limit-message.active {
	opacity: 1;
	visibility: visible;
}

.success-icon, .limit-icon {
	font-size: 42px;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.success-icon {
	background: #eafbf0;
	color: #38c172;
}

.limit-icon {
	background: #fff8e6;
	color: #f39c12;
}

.form-success-message h3, .form-limit-message h3 {
	color: #333;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

.form-success-message p, .form-limit-message p {
	color: #666;
	font-size: 16px;
	margin-bottom: 10px;
}

.call-us {
	margin-top: 15px;
	font-weight: 500;
}

.call-us a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.countdown-timer {
	font-weight: 700;
	color: var(--primary);
}

/* Анимация для формы */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.pech-form-wrapper {
	animation: fadeIn 0.5s ease forwards;
}

/* Спиннер загрузки */
.wpcf7-spinner {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

/* Стилизация сообщений об ошибках */
.wpcf7-not-valid-tip {
	color: #dc3545;
	font-size: 14px;
	margin-top: 5px;
}

.wpcf7-response-output {
	margin: 20px 0 0 !important;
	padding: 10px 15px !important;
	border-radius: 8px;
	font-size: 14px;
	color: #333;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #dc3545 !important;
	background-color: rgba(220, 53, 69, 0.1);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #28a745 !important;
	background-color: rgba(40, 167, 69, 0.1);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
	.modal-body { padding: 20px; }
	.modal-header { padding: 15px 20px; }
	.modal-header .modal-title { font-size: 20px; }
	.submit-button { padding: 14px !important; font-size: 16px !important; }
}






















/*
.modal-content { background-color: #1A1A1A; border: none; border-radius: var(--border-radius); overflow: hidden; }
.modal-header { background: var(--gradient-primary); color: var(--light); border-bottom: none; padding: 15px 20px; }
.modal-title { font-weight: 600; }
.btn-close { filter: brightness(0) invert(1); }
.modal-body { padding: 25px; }
.modal-body .wpcf7 form { margin-bottom: 0; }
.modal-body label { color: var(--light); font-weight: 500; margin-bottom: 8px; display: block; }
.modal-body input[type="text"], .modal-body input[type="email"], .modal-body input[type="tel"], .modal-body textarea { width: 100%; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--light); padding: 12px 15px; border-radius: var(--border-radius); margin-bottom: 15px; transition: all 0.3s ease; }
.modal-body input[type="text"]:focus, .modal-body input[type="email"]:focus, .modal-body input[type="tel"]:focus, .modal-body textarea:focus { border-color: var(--primary); background-color: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2); outline: none; }
.modal-body textarea { height: 120px; resize: vertical; }
.modal-body input[type="submit"] { width: 100%; background: var(--gradient-primary); color: var(--light); border: none; padding: 12px 15px; border-radius: var(--border-radius); font-weight: 500; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.modal-body input[type="submit"]:hover { box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3); transform: translateY(-2px); } */

/* Адаптивность */
@media (max-width: 1199px) {
	.footer-blocks { grid-template-columns: 1fr 1fr; }
	.footer-block:nth-child(1), .footer-block:nth-child(3) { grid-column: 1; }
	.footer-block:nth-child(2), .footer-block:nth-child(4) { grid-column: 2; }
	.footer-block { margin-bottom: 30px; }
}

@media (max-width: 767px) {
	.footer-blocks { grid-template-columns: 1fr; }
	.footer-block:nth-child(n) { grid-column: 1; }
	.footer-bottom { flex-direction: column; }
	.copyright { margin-bottom: 15px; text-align: center; }
	.policy-links { text-align: center; }
	.main-footer { padding: 60px 0 30px; }
}

@media (max-width: 576px) {
	.footer-social { justify-content: center; }
	.cta-block { text-align: center; }
	.footer-title { text-align: center; }
	.footer-title:after { left: 50%; transform: translateX(-50%); }
	.footer-logo { text-align: center; }
	.brand-description, .master-signature { text-align: center; }
}






















/* Стили для шаблона page.php в стиле блога */

/* Общий контейнер */
.page-container { padding-top: 12rem; /* Отступ от верхнего меню */ }
.page-single { max-width: 1200px; margin: 0 auto 60px; border-radius: var(--border-radius); background-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

/* Шапка страницы */
.page-header { background-color: #232323; color: var(--light); padding: 2rem 2rem 1.5rem; position: relative; border-radius: 1.4rem 1.4rem 0 0; }
.page-header__inner { display: flex; flex-direction: column; }
.page-header__content { max-width: 100%; }

/* Заголовок */
.page-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: var(--light); }

/* Описание страницы */
.page-description { font-size: 1.1rem; line-height: 1.6; margin-bottom: 20px; color: var(--gray-light); }

/* Мета-информация */
.page-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.date-and-back { display: flex; gap: 2rem; align-items: center; }
.page-date { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.95rem; }
.page-date i { color: var(--primary); font-size: 1rem; }

/* Кнопка возврата */
.btn-back { display: flex; align-items: center; gap: 8px; color: var(--gray); font-weight: 500; padding: 5px 12px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; transition: all 0.3s ease; text-decoration: none; }
.btn-back i { transition: transform 0.3s ease; }
.btn-back:hover { color: var(--primary); background: rgba(255, 255, 255, 0.2); }
.btn-back:hover i { transform: translateX(-5px); }

/* Заглавное изображение */
.page-featured-image { position: relative; width: 100%; overflow: hidden; }
.featured-image-wrapper { width: 100%; }
.page-featured-image img { width: 100%; height: auto; display: block; }

/* Основной контент */
.page-body { padding: 60px 40px; background-color: #fff; }
.page-body__inner { max-width: 700px; margin: 0 auto; }

/* Блок контента */
.page-block { margin-bottom: 40px; }
.page-block:last-child { margin-bottom: 0; }
.page-block__content { }
.page-block__text { line-height: 1.8; color: var(--text); }
.page-block__text p { margin-bottom: 1.5rem; }
.page-block__text h2 { font-size: 1.8rem; font-weight: 700; margin: 0rem 0 1rem; color: var(--secondary); }
.page-block__text h3 { font-size: 1.5rem; font-weight: 600; margin: 0rem 0 1rem; color: var(--secondary); }
.page-block__text ul, .page-block__text ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.page-block__text li { margin-bottom: 0.5rem; }
.page-block__text img { max-width: 100%; height: auto; border-radius: 8px; margin:0 0 1.5rem 0; }
.page-block__text blockquote { padding: 1.5rem; margin: 1.5rem 0; background-color: var(--light); border-left: 4px solid var(--primary); font-style: italic; color: var(--secondary); }
.page-block__text a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }
.page-block__text a:hover { color: var(--secondary); text-decoration: underline; }
.img-left-width-text {display: grid;grid-template-columns: 225px 1fr;gap: 2rem;}


.about-rb { border-radius:1.4rem;background:#f5f5f5;padding:1rem;margin-bottom:2rem; }
.about-rb img,.about-rb p { margin-bottom:0; }
@media (max-width: 768px) { .img-left-width-text { display:flex;flex-direction: column;gap:1rem;} }




/* Стили для пустой страницы */
.page-empty { text-align: center; padding: 60px 20px; }
.page-empty__icon { font-size: 4rem; color: var(--primary-light); margin-bottom: 20px; }
.page-empty__title { font-size: 2rem; margin-bottom: 15px; color: var(--secondary); }
.page-empty__text { font-size: 1.1rem; color: var(--text-light); max-width: 500px; margin: 0 auto 30px; }
.page-empty__action { }

/* Адаптивные стили */
@media (max-width: 992px) {
	.page-title { font-size: 2.2rem; }
	.page-body { padding: 40px 30px; }
}

@media (max-width: 768px) {
	.page-container { padding-top: 9rem; }
	.page-title { font-size: 1.8rem; }
	.page-header { padding: 1.5rem 1.5rem 1.2rem; }
	.page-body { padding: 30px 20px; }
	.date-and-back { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 576px) {
	.page-title { font-size: 1.5rem; }
}







/* Стили для страницы контактов (креативная версия) */

/* Баннер контактов */
.contacts-banner {background: linear-gradient(45deg, #232323, #3d3d3d);padding: 80px 0 60px;position: relative;overflow: hidden;color: var(--light);border-radius: 1.4rem;}

.banner-particles {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: url('/ta/i/section-fire.webp');opacity: 0.2;animation: float 60s linear infinite;z-index: 2;}


.banner-content {position: relative;z-index: 10;text-align: center;max-width: 800px;margin: 0 auto;}

.contacts-title {position:Relative;font-size: 2.5rem;font-weight: 700;margin-bottom: 15px;line-height: 1.2;color: var(--light);}

.contacts-title::after {content: '';position: absolute;bottom: 0;left: 50%;transform: translateX(-50%);width: 100px;height: 4px;background: var(--primary);border-radius: 2px;}

.contacts-description {font-size: 1.2rem;line-height: 1.6;color: var(--gray-light);max-width: 600px;margin: 0 auto;}

/* Анимация для частиц и огня */
@keyframes float {
	0% { background-position: 0 0; }
	100% { background-position: 1000px 1000px; }
}

@keyframes flicker {
	0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { transform: scaleX(1.05) scaleY(1.05); opacity: 0.3; }
	20%, 24%, 55% { transform: scaleX(1) scaleY(1); opacity: 0.4; }
}

/* Основное содержимое */
.contacts-body {padding: 60px 0;background-color: var(--light); max-width:900px;margin-left:auto;margin-right:auto;}

.contacts-intro {max-width: 800px;margin: 0 auto 50px;text-align: center;font-size: 1.1rem;line-height: 1.8;}

/* Карточки контактов */
.contacts-cards {display: grid;grid-template-columns: 1fr 1fr;gap: 2rem;margin-bottom: 3rem;margin-left:-6rem;margin-right:-6rem;}

.contact-card {background: #fff;border-radius: 15px;overflow: hidden;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);padding: 1rem;position: relative;z-index: 1;display: flex;align-items: flex-start;gap: 20px;min-height: 200px;transition: transform 0.3s ease, box-shadow 0.3s ease;}

.contact-card:hover {	transform: translateY(-10px);	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);}

.card-bg {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-repeat: no-repeat;background-position: bottom right;background-size: 120px;opacity: 0.1;z-index: -1;transition: opacity 0.3s ease;}

.contact-card:hover .card-bg {opacity: 0.15;}

.address-card .card-bg {background-image: url('/ta/i/chimney.webp');}
.phone-card .card-bg {background-image: url('/ta/i/fire-icon.png');}

.email-card .card-bg {background-image: url('/ta/i/stove-icon.webp');}

.contacts-body .card-icon {font-size: 2.5rem;color: var(--primary);transition: transform 0.3s ease;}

@media (min-width: 768px) and (max-width: 992px) {
	.contacts-body .card-icon {
		display: none;
	}
}



.contact-card:hover .card-icon {transform: scale(1.1);}

.contacts-body .card-content {flex: 1;}

.contacts-body .card-title {font-size: 1.4rem;margin-bottom: 15px;color: var(--secondary);font-weight: 700;}

.contacts-body .card-info {color: var(--text);}

.contacts-body .info-item {margin-bottom: 10px;display: flex;gap: 10px;flex-direction: column;}

.contacts-body .info-item:last-child {margin-bottom: 0;}

.contacts-body .info-item a {color: var(--secondary);text-decoration: none;font-weight: 500;position: relative;transition: color 0.3s ease;}

.hover-effect {position: relative;display: inline-block;}
.hover-effect::before {content: '';position: absolute;bottom: -2px;left: 0;width: 0;height: 2px;background-color: var(--primary);transition: width 0.3s ease;}

.hover-effect:hover {color: var(--primary);}

.hover-effect:hover::before {width: 100%;}

.contacts-body .info-note {font-size: 0.9rem;color: var(--text-light);font-style: italic;}
.card-info-item { font-size:1.1rem; }


/* Социальные сети */
.contacts-body .social-networks {margin-bottom: 60px;}

.contacts-body .section-title {font-size: 2rem;margin-bottom: 30px;text-align: center;position: relative;padding-bottom: 15px;color: var(--secondary);}

.contacts-body .section-title::after {content: '';position: absolute;bottom: 0;left: 50%;transform: translateX(-50%);width: 80px;height: 3px;background: var(--primary);border-radius: 2px;}
.contacts-body .section-desc {text-align: center;max-width: 700px;margin: 0 auto 40px;font-size: 1.1rem;line-height: 1.7;color: var(--text-light);}
.contacts-body .social-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));gap: 20px;}
.contacts-body .social-item {background: #fff;border-radius: 15px;overflow: hidden;box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);padding: 20px;display: flex;align-items: center;
gap: 20px;text-decoration: none;transition: transform 0.3s ease, box-shadow 0.3s ease;position: relative;z-index: 1;}

.contacts-body .social-item::before {content: '';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: var(--primary);opacity: 0;transition: opacity 0.3s ease;z-index: -1;}

.contacts-body .social-item:hover {transform: translateY(-5px);box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);color: #fff;}

.contacts-body .social-item:hover::before {opacity: 1;}

.contacts-body .social-icon {font-size: 2rem;color: var(--primary);transition: color 0.3s ease, transform 0.3s ease;}

.contacts-body .social-item:hover .social-icon {transform: scale(1.2);color: #fff;}

.contacts-body .social-info {flex: 1;}

.contacts-body .social-name {font-size: 1.2rem;font-weight: 600;color: var(--secondary);transition: color 0.3s ease;}

.contacts-body .social-desc {font-size: 0.9rem;color: var(--text-light);transition: color 0.3s ease;}

.contacts-body .social-item:hover .social-name,.social-item:hover .social-desc {color: #fff;}

.contacts-body .social-arrow {font-size: 1.2rem;color: var(--text-light);opacity: 0;transform: translateX(-20px);transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;}

.contacts-body .social-item:hover .social-arrow {opacity: 1;transform: translateX(0);color: #fff;}

/* Брендовые цвета для социальных сетей */
.brand-facebook .social-icon { color: #3b5998; }
.brand-vk .social-icon { color: #4C75A3; }
.brand-instagram .social-icon { color: #C13584; }
.brand-youtube .social-icon { color: #FF0000; }
.brand-telegram .social-icon { color: #0088cc; }
.brand-dzen .social-icon { color: #000000; }
.brand-dzen .social-icon { width:28px;height:auto; }

.social-item.brand-dzen {  }
.social-item.brand-dzen .social-name { line-height:100%; }

.brand-facebook:hover::before { background: #3b5998; }
.brand-vk:hover::before { background: #4C75A3; }
.brand-instagram:hover::before { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.brand-youtube:hover::before { background: #FF0000; }
.brand-telegram:hover::before { background: #0088cc; }
.brand-dzen:hover::before { background: #000000; }
.brand-dzen .social-icon { color:#fff; }



/* Форма обратной связи */
.contact-form-area {margin-bottom: 60px;}

.form-intro {margin-bottom: 3rem;}

.form-placeholder {background: #fff;border-radius: 15px;border: 2px dashed var(--primary-light);padding: 60px 20px;text-align: center;max-width: 800px;margin: 0 auto;}

.placeholder-icon {font-size: 4rem;color: var(--primary-light);margin-bottom: 20px;animation: bounce 2s ease infinite;}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-20px); }
	60% { transform: translateY(-10px); }
}

.placeholder-text h3 {font-size: 1.8rem;margin-bottom: 10px;color: var(--secondary);}

.placeholder-text p {color: var(--text-light);font-size: 1.1rem;}

/* Дополнительная информация */
.contact-extra {max-width: 800px;margin: 0 auto;padding: 30px;background: #fff;border-radius: 15px;box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);}

/* Адаптивные стили */
@media (max-width: 1200px) {
	.contacts-body {max-width: 960px;}
	.contacts-cards {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));margin-left:0;margin-right:0;
	}
}

@media (max-width: 992px) {
	.contacts-banner {
		padding: 60px 0 40px;
	}

	.contacts-title {
		font-size: 2.5rem;
	}

	.contacts-description {
		font-size: 1.1rem;
	}
}

@media (max-width: 768px) {
	.contacts-banner {
		padding: 50px 0 30px;
		border-radius: 0 0 30px 30px;
	}

	.contacts-title {
		font-size: 2rem;
	}

	.contact-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 25px 20px;
	}

	.card-icon {
		margin-bottom: 15px;
	}

	.info-item {
		flex-direction: column;
		align-items: center;
	}

	.social-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.contacts-banner {
		margin-top: 60px;
	}

	.contacts-title {
		font-size: 1.8rem;
	}

	.contacts-cards {
		grid-template-columns: 1fr;
	}

	.section-title {
		font-size: 1.6rem;
	}

	.form-placeholder {
		padding: 40px 15px;
	}
}









.btn-contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }

.btn-contact-btn.btn-outline { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 20px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; border: 2px solid transparent; position: relative; overflow: hidden; }

.btn-contact-btn.btn-outline::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s ease; }

.btn-contact-btn.btn-outline:hover::before { left: 100%; }

.btn-contact-btn.btn-outline span { position: relative; z-index: 2; }

.btn-contact-btn.btn-outline i { position: relative; z-index: 2; font-size: 18px; transition: transform 0.3s ease; }

.btn-contact-btn.btn-outline:hover i { transform: scale(1.1) rotate(5deg); }

.btn-contact-btn.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.btn-contact-btn.btn-outline:active { transform: translateY(0); }

.btn-contact-btn.btn-outline:nth-child(1) { background: linear-gradient(135deg, #ff6b35, #f15a24); color: white; border-color: #ff6b35; }
.btn-contact-btn.btn-outline:nth-child(1):hover { background: linear-gradient(135deg, #f15a24, #e0441b); box-shadow: 0 8px 25px rgba(255,107,53,0.4); }

.btn-contact-btn.btn-outline:nth-child(2) { background: linear-gradient(135deg, #25d366, #128c7e); color: white; border-color: #25d366; }
.btn-contact-btn.btn-outline:nth-child(2):hover { background: linear-gradient(135deg, #128c7e, #0f7a6e); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }

.btn-contact-btn.btn-outline:nth-child(3) { background: linear-gradient(135deg, #0088cc, #005580); color: white; border-color: #0088cc; }
.btn-contact-btn.btn-outline:nth-child(3):hover { background: linear-gradient(135deg, #005580, #004466); box-shadow: 0 8px 25px rgba(0,136,204,0.4); }

.btn-contact-btn.btn-outline:nth-child(4) { background: linear-gradient(135deg, #4c75a3, #2d4373); color: white; border-color: #4c75a3; }
.btn-contact-btn.btn-outline:nth-child(4):hover { background: linear-gradient(135deg, #2d4373, #1e2e5a); box-shadow: 0 8px 25px rgba(76,117,163,0.4); }

@media (max-width: 768px) {
	.btn-contact-block { grid-template-columns: 1fr; gap: 12px; }
	.btn-contact-btn.btn-outline { padding: 14px 16px; font-size: 15px; }
	.btn-contact-btn.btn-outline i { font-size: 16px; }
}

@media (max-width: 480px) {
	.btn-contact-btn.btn-outline { padding: 12px 14px; font-size: 14px; gap: 10px; }
	.btn-contact-btn.btn-outline span { font-size: 14px; }
}
















  /* Стили для новой секции наших работ */
body.home .new_works-section { padding: 100px 0; background-color: #121212; color: var(--light); position: relative; }
body.home .new_works-section:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('/ta/i/brick-pattern.png'); opacity: 0.05; pointer-events: none; }

/* Заголовок новой секции */
body.home .new_section-header { text-align: center; margin-bottom: 60px; position: relative; }
body.home .new_header-icon { margin-bottom: 20px; }
body.home .new_header-icon i { font-size: 2.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
body.home .new_section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; position: relative; display: inline-block; }
body.home .new_section-title:after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary); }
body.home .new_section-subtitle { max-width: 700px; margin: 20px auto 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); }

/* Сетка новых работ */
.new_works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px; }
.new_work-item { transition: all 0.5s ease; }
.new_work-card { background: rgba(255, 255, 255, 0.03); border-radius: var(--border-radius); overflow: hidden; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); color: inherit; }
.new_work-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); color: inherit; }

/* Изображение новой работы */
.new_work-image { position: relative; height: 350px; overflow: hidden; }
.new_work-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; }
.new_work-card:hover .new_work-image img { transform: scale(1.1); }
.new_work-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.new_work-card:hover .new_work-overlay { opacity: 1; }

/* Кнопка новой работы */
.new_work-button { transform: translateY(20px); transition: all 0.3s ease 0.1s; }
.new_work-card:hover .new_work-button { transform: translateY(0); }
.new_work-link { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--light); transition: all 0.3s ease; position: relative; overflow: hidden; font-size: 1.2rem; cursor: pointer; }
.new_work-link:before { content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: -100%; background: rgba(255, 255, 255, 0.2); transition: all 0.3s ease; transform: skewX(-15deg); }
.new_work-card:hover .new_work-link { transform: scale(1.15); box-shadow: 0 8px 20px rgba(255, 111, 0, 0.4); }
.new_work-card:hover .new_work-link:before { left: 100%; }

/* Контент новой карточки */
.new_work-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.new_work-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0; text-align: center; position: relative; color: #fff; transition: all 0.3s ease; }
.new_work-title:after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--primary); transition: all 0.3s ease; }
.new_work-card:hover .new_work-title:after { width: 100%; }
.new_work-card:hover .new_work-title { color: var(--primary-light); }

/* Кнопка просмотра всех новых работ */
.new_works-action { text-align: center; margin-top: 30px; }
.new_btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 1rem 2rem; background: var(--gradient-primary); color: var(--light); border: none; border-radius: var(--border-radius); font-weight: 600; transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 1; }
.new_btn-primary:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: all 0.6s ease; z-index: -1; }
.new_btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 111, 0, 0.3); color: var(--light); }
.new_btn-primary:hover:before { left: 100%; }
.new_btn-large { padding: 1.2rem 2.5rem; font-size: 1.1rem; }
.new_btn-large i { transition: all 0.3s ease; }
.new_btn-large:hover i { transform: translateX(5px); }

/* Адаптивность новой секции */
@media (max-width: 1199px) {
	.new_works-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 991px) {
	.new_works-section { padding: 80px 0; }
	body.home .new_section-title { font-size: 2.5rem; }
	.new_works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.new_works-section { padding: 60px 0; }
	body.home .new_section-title { font-size: 2.2rem; }
	.new_works-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.new_work-image { height: 200px; }
	.new_work-content { padding: 20px; }
	.new_work-title { font-size: 1.2rem; }
}

@media (max-width: 576px) {
	body.home .new_section-title { font-size: 2rem; }
	.new_works-grid { grid-template-columns: 1fr; max-width: 350px; margin-left: auto; margin-right: auto; }
	.new_work-image { height: 250px; }
	.new_btn-large { padding: 1rem 2rem; width: 100%; justify-content: center; }
}

.nav-menu > li.menu-cat-item a {
	background: #ff8200;
	border-radius: 0.7rem;
	padding-left: 33px;
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item.menu-cat-item > a ,.nav-menu > li.menu-cat-item a:hover { color:#ffffffaa }


.nav-menu > li.menu-cat-item a:after {
	color: #fff;
	content: "\f06d";
	left: 9px;
	position: absolute;
	font-size: 1.2rem;
	font-family: 'Font Awesome 6 Pro';
	top: 5px;
}



.dzen-subscription {
	/* твои текущие стили */
}

.dzen-widget-area {
	margin-top: 20px;     /* отступ сверху от кнопки */
	/* или любой другой отступ, который тебе нужен */
}
























/* =====================================================
   PROJECT BODY — двухколоночный лейаут
   левая колонка: картинка (40%, sticky)
   правая колонка: контент (60%)
   ===================================================== */

.project-body {
    padding: 40px 0 60px;
}

.project-body__inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* --- Левая колонка: картинка --- */
.project-body__image {
    flex: 0 0 40%;
    max-width: 40%;
}

.project-featured-image {
    position: sticky;
    top: 20px; /* отступ от верха вьюпорта при залипании */
}

.project-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 800px;
    object-fit: contain; /* не обрезаем, просто вписываем */
    border-radius: 1.4rem;  /* опционально */
}

/* --- Правая колонка: контент --- */
.project-body__content {
    flex: 0 0 60%;
    max-width: 60%;
    min-width: 0; /* важно для flex + overflow */
}

/* =====================================================
   Адаптив: на мобилках — в столбик, картинка сверху
   ===================================================== */
@media (max-width: 768px) {
    .project-body__inner {
        flex-direction: column;
        gap: 24px;
    }

    .project-body__image,
    .project-body__content {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .project-featured-image {
        position: static; /* sticky отключаем на мобилке */
    }
}










.cont-bottom-meta { font-size:0.8rem;background: #f5f5f5;
	padding: 0.8rem;
	border-radius: 0.7rem; }
.cont-project-tags {  }
.cont-project-tags-name {
	font-weight: 600;
}
.cont-project-tags .simple-project-tag { color:#ff6f00 }




.new_project-header__content {
	display: flex;
	align-items: center;
	gap: 12px;
}

.new_project-header__content .date_and_back {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.new_project-header__content .btn-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--color-text-secondary, #6b7280);
	text-decoration: none;
	padding: 5px 10px;
	border: 0.5px solid rgba(0,0,0,0.18);
	border-radius: 8px;
	background: #ffffff;
	transition: background 0.15s, border-color 0.15s;
}

.new_project-header__content .btn-back:hover {
	background: #f5f5f4;
	border-color: rgba(0,0,0,0.28);
	color: #111;
}

.new_project-header__content .project-section a {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	font-weight: 500;
	color: #3C3489;
	text-decoration: none;
	padding: 5px 12px;
	border-radius: 8px;
	background: #EEEDFE;
	transition: background 0.15s;
}

.new_project-header__content .project-section { margin-bottom:0; }

.new_project-header__content .project-section a:hover {
	background: #CECBF6;
}




.project-content  .content-block { margin-top:2rem; }














.proj-gallery-wrap {position:relative;width:100%;}

/* === Главный слайдер === */
.proj-main-slider {position:relative;width:100%;border-radius:8px;overflow:hidden;background:#1a1a1a;}
.proj-main-slide {position:relative;display:block;}
.proj-main-link {position:relative;display:block;overflow:hidden;cursor:zoom-in;}
.proj-main-img {width:100%;height:auto;display:block;object-fit:cover;max-height:520px;transition:transform .35s ease;}
.proj-main-link:hover .proj-main-img {transform:scale(1.03);}

/* Иконка лупы */
.proj-main-zoom {position:absolute;bottom:12px;right:12px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;opacity:0;transition:opacity .25s;pointer-events:none;}
.proj-main-link:hover .proj-main-zoom {opacity:1;}

/* Slick-стрелки главного слайдера */
.proj-main-slider .slick-prev,.proj-main-slider .slick-next {position:absolute;top:50%;transform:translateY(-50%);z-index:10;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.45);border:none;cursor:pointer;display:flex!important;align-items:center;justify-content:center;color:#fff;font-size:14px;transition:background .2s;}
.proj-main-slider .slick-prev {left:10px;}
.proj-main-slider .slick-next {right:10px;}
.proj-main-slider .slick-prev:hover,.proj-main-slider .slick-next:hover {background:rgba(0,0,0,.75);}
.proj-main-slider .slick-prev:before,.proj-main-slider .slick-next:before {display:none;}

/* === Слайдер миниатюр === */
.proj-nav-slider {margin-top:8px;padding:0 30px;}
.proj-nav-slide {padding:0 4px;cursor:pointer;outline:none;}
.proj-nav-img {width:100%;height:72px;object-fit:cover;border-radius:4px;border:2px solid transparent;transition:border-color .2s,opacity .2s;opacity:.65;display:block;}
.proj-nav-slide:hover .proj-nav-img {opacity:.9;}
.proj-nav-slide.slick-current .proj-nav-img {border-color:#c8a96e;opacity:1;}

/* Slick-стрелки навигатора */
.proj-nav-slider .slick-prev,.proj-nav-slider .slick-next {position:absolute;top:50%;transform:translateY(-50%);z-index:10;width:24px;height:24px;background:transparent;border:none;cursor:pointer;color:var(--color-text-secondary,#888);font-size:13px;display:flex!important;align-items:center;justify-content:center;padding:0;transition:color .2s;}
.proj-nav-slider .slick-prev {left:4px;}
.proj-nav-slider .slick-next {right:4px;}
.proj-nav-slider .slick-prev:hover,.proj-nav-slider .slick-next:hover {color:var(--color-text-primary,#333);}
.proj-nav-slider .slick-prev:before,.proj-nav-slider .slick-next:before {display:none;}

/* Заглушка без фото */
.proj-gallery-empty .proj-no-photo {width:100%;max-width:300px;margin:0 auto;display:block;opacity:.35;border-radius:8px;}

/* === Адаптив === */
@media (max-width:991px) {
	.proj-main-img {max-height:420px;}
	.proj-nav-img {height:60px;}
}
@media (max-width:575px) {
	.proj-main-img {max-height:320px;}
	.proj-nav-img {height:52px;}
	.proj-nav-slider {padding:0 24px;}
}



/* ===== Хлебные крошки (pg-breadcrumbs) — добавить в /ta/s/styles.css ===== */

.pg-breadcrumbs { margin-bottom: 1rem; font-size: 0.85rem; line-height: 1.4; }
.pg-breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.pg-breadcrumbs__item { display: inline-flex; align-items: center; }
.pg-breadcrumbs__item:not(:last-child)::after { content: "\2192"; margin-left: 0.35rem; opacity: 0.5; }
.pg-breadcrumbs__link { color: inherit; opacity: 0.75; text-decoration: none; transition: opacity 0.2s ease; }
.pg-breadcrumbs__link:hover { opacity: 1; text-decoration: underline; }
.pg-breadcrumbs__current { opacity: 0.95; font-weight: 500; }

/* На страницах архива крошки лежат в тёмном hero — наследуют его цвет текста. */
/* На сингле проекта (светлый фон) — тоже inherit, подстроятся автоматически. */

@media (max-width: 576px) { .pg-breadcrumbs { font-size: 0.78rem; } }