@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Light.woff2') format('woff2'),
		url('../fonts/Satoshi-Light.woff') format('woff'),
		url('../fonts/Satoshi-Light.ttf') format('truetype');
	font-weight: 300;
	font-display: swap;
	font-style: normal;
}

@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Regular.woff2') format('woff2'),
		url('../fonts/Satoshi-Regular.woff') format('woff'),
		url('../fonts/Satoshi-Regular.ttf') format('truetype');
	font-weight: 400;
	font-display: swap;
	font-style: normal;
}

@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Medium.woff2') format('woff2'),
		url('../fonts/Satoshi-Medium.woff') format('woff'),
		url('../fonts/Satoshi-Medium.ttf') format('truetype');
	font-weight: 500;
	font-display: swap;
	font-style: normal;
}

@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
		url('../fonts/Satoshi-Bold.woff') format('woff'),
		url('../fonts/Satoshi-Bold.ttf') format('truetype');
	font-weight: 700;
	font-display: swap;
	font-style: normal;
}

@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Black.woff2') format('woff2'),
		url('../fonts/Satoshi-Black.woff') format('woff'),
		url('../fonts/Satoshi-Black.ttf') format('truetype');
	font-weight: 900;
	font-display: swap;
	font-style: normal;
}

/* CSS Variables for Colors */
:root {
	/* Primary Brand Colors */
	--primary-color: #ca9c51;
	--primary-color-50: #ca9c5184;
	--primary-color-20: #ca9c5136;

	/* Background Colors */
	--bg-dark: #1a1a1a;
	--bg-darker: #212121;
	--bg-darkest: #1f1b1c;
	--bg-medium: #272727;
	--bg-gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	--bg-gradient-medium: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
	--bg-light: #f8f9fa;
	--bg-light-gray: #e9ecef;

	/* Text Colors */
	--text-white: #ffffff;
	--text-light: #e7e7e7;
	--text-gray: #cccccc;
	--text-medium-gray: #a6a6a6;
	--text-dark-gray: #646464;
	--text-light-gray: #f1f1f1;
	--text-black: #000000;
	--text-dark: #060606;
	--text-border-gray: #515151;
	--text-muted: #888;

	/* Accent Colors */
	--accent-gold: #d4af37;
	--accent-yellow: #ffd700;
	--accent-orange: #ff6b35;
	--accent-orange-light: #ff8e53;
	--accent-red: #ff4500;
	--accent-red-light: #ff6347;

	/* Overlay */
	--overlay-dark: #00000080;

	/* Shadow Colors */
	--shadow-dark: rgba(0, 0, 0, 0.25);
	--shadow-light: rgba(0, 0, 0, 0.15);
}

/* Variable font version (лучший вариант) */
@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-Variable.woff2') format('woff2-variations'),
		url('../fonts/Satoshi-Variable.woff') format('woff-variations'),
		url('../fonts/Satoshi-Variable.ttf') format('truetype-variations');
	font-weight: 300 900;
	font-display: swap;
	font-style: normal;
}

@font-face {
	font-family: 'Satoshi';
	src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
		url('../fonts/Satoshi-VariableItalic.woff') format('woff'),
		url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
	font-weight: 300 900;
	font-display: swap;
	font-style: italic;
}

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	max-width: 100%;
}

/* Исключение для карты */
.map-container,
.map-container *,
.process-map {
	max-width: none !important;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px; /* Отступ для фиксированного header */
	overflow-x: hidden; /* Предотвращаем горизонтальную прокрутку */
	width: 100%;
}

body {
	font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		sans-serif;
	font-weight: 500;
	line-height: 1.6;
	color: #fff;
	overflow-x: hidden; /* Предотвращаем горизонтальную прокрутку */
	width: 100%;
	position: relative;
}

/* Принудительно применяем шрифт ко всем элементам */
*,
*::before,
*::after {
	font-family: inherit;
}

/* Специально для заголовков и кнопок */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Satoshi', sans-serif;
}

button,
.btn {
	font-family: 'Satoshi', sans-serif;
}

.nav-menu a {
	font-family: 'Satoshi', sans-serif;
	font-weight: 500;
}

/* Dropdown Styles */
.dropdown {
	position: relative;
	isolation: isolate;
}

.dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
}

.dropdown-arrow {
	transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
	transform: rotate(180deg);
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(0, 0, 0, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 15px 0;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	min-width: 200px;
	list-style: none;
	margin: 10px 0 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1001;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
	background: rgba(181, 152, 122, 0.1);
	border-left-color: var(--primary-color);
	padding-left: 25px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
	.dropdown-menu {
		position: static;
		background: rgba(0, 0, 0, 0.8);
		border-radius: 0;
		box-shadow: none;
		margin: 0;
		padding: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.dropdown.active .dropdown-menu {
		display: block;
	}
}

/* Header Styles */
.header {
	position: fixed;
	top: 0px; /* Вместо margin-top */
	left: 0px; /* Вместо margin-left */
	right: 0px; /* Вместо margin-right */
	width: auto; /* Убираем width: 100% */
	z-index: 1000;
	padding: 15px 150px;
	box-sizing: border-box;
	backdrop-filter: blur(15px);
	background: rgba(0, 0, 0, 0.3);
	isolation: isolate;
}

.navbar {
	display: flex;
	align-items: center;
	max-width: 1610px;
	margin: 0 auto;
	position: relative;
	padding: 0 2rem;
	gap: 20px; /* Добавляем базовый отступ между элементами */
}

.logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 100px;
}

.logo svg {
	height: 90px;
	width: auto;
	fill: white;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 40px;
	margin: 0;
	flex: 1;
	justify-content: center;
	overflow: hidden;
	min-width: 0; /* Позволяет сжиматься */
}

.nav-menu a {
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	transition: opacity 0.3s ease;
	font-size: 16px;
	white-space: nowrap;
}

.nav-menu a:hover {
	opacity: 0.7;
}

.nav-right {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 100px;
	justify-content: flex-end;
}

.contact-btn {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	padding: 0.5rem 1.2rem;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.85rem;
}

.contact-btn:hover {
	background: #fff;
	color: #000;
}

/* Hero Section */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 2rem 0;
	padding-top: calc(2rem + 80px);
}

/* Hero Slideshow */
.hero-slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-slideshow .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.hero-slideshow .slide.active {
	opacity: 1;
}

/* Slideshow Controls */
.slideshow-controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 3;
	pointer-events: none;
}

.slide-btn {
	background: rgba(255, 215, 0, 0.2);
	border: 2px solid rgba(255, 215, 0, 0.5);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffd700;
	cursor: pointer;
	transition: all 0.3s ease;
	pointer-events: all;
	backdrop-filter: blur(10px);
}

.slide-btn:hover {
	background: rgba(255, 215, 0, 0.3);
	border-color: #ffd700;
	transform: scale(1.1);
}

.slide-btn svg {
	width: 20px;
	height: 20px;
}

/* Slideshow Indicators */
.slideshow-indicators {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 3;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: 2px solid rgba(255, 215, 0, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
	background: #ffd700;
	border-color: #ffd700;
	transform: scale(1.2);
}

/* Mobile Responsive for Slideshow */
@media (max-width: 768px) {
	.slideshow-controls {
		padding: 0 15px;
	}

	.slide-btn {
		width: 40px;
		height: 40px;
	}

	.slide-btn svg {
		width: 16px;
		height: 16px;
	}

	.slideshow-indicators {
		bottom: 20px;
		gap: 8px;
	}

	.indicator {
		width: 10px;
		height: 10px;
	}
}

.hero-container {
	display: flex;
	max-width: 1400px;
	width: 100%;
	margin: 0 auto;
	padding: 0 2rem;
	gap: 80px; /* Принудительно убираем gap */
	align-items: center;
	justify-content: center;
	z-index: 3;
	position: relative;
}

.hero-left {
	flex: 1;
	max-width: 600px;

	padding-right: 1rem; /* Добавляем небольшой отступ справа */
}

.hero-right {
	flex: 0 0 400px;
	max-width: 400px;
	margin-left: -2rem; /* Сдвигаем форму ближе к тексту */
}

/* Мобильный header с логотипом */
.mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #0000008a;
	backdrop-filter: blur(10px);
	padding: 15px 15px;
	display: none;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	z-index: 1001;
}

/* Состояние по умолчанию - серый фон */

.mobile-logo {
	display: flex;
	align-items: center;
}

.mobile-logo svg {
	width: 100px;
	height: auto;
}

/* Бургер меню кнопка */
.mobile-menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	gap: 4px;
	transition: all 0.3s ease;
}

.hamburger-line {
	width: 25px;
	height: 2px;
	background: white;
	transition: all 0.3s ease;
	transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000000cb;
	backdrop-filter: blur(10px);
	z-index: 1000;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.mobile-menu.active {
	transform: translateX(0);
}

.mobile-menu-list {
	list-style: none;
	padding: 40px 20px;
	margin: 0;
}

.mobile-menu-list li {
	margin-bottom: 20px;
}

.mobile-menu-list a {
	display: block;
	color: white;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
	color: var(--primary-color);
	padding-left: 10px;
}

/* Мобильный dropdown */
.mobile-dropdown-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mobile-dropdown-arrow {
	transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
	transform: rotate(180deg);
}

.mobile-dropdown-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
	max-height: 200px;
}

.mobile-dropdown-menu li {
	margin-bottom: 0;
}

.mobile-dropdown-menu a {
	padding: 10px 0 10px 20px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-menu a:hover {
	color: var(--primary-color);
	padding-left: 30px;
}

/* Мобильная CTA кнопка */
.mobile-menu-cta {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-form-submit-btn {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	text-align: center;
}

.mobile-form-submit-btn:hover {
	background: #a67c52;
	transform: translateY(-2px);
}

/* Advantages Section Styles */
.advantages-section {
	padding: 80px 150px;
	background: var(--bg-gradient-dark);
	position: relative;
}

.advantages-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--primary-color) 50%,
		transparent 100%
	);
}

.advantages-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 20px;
}

.advantages-header {
	margin-bottom: 60px;
}

.advantages-subtitle {
	font-size: 28px;
	font-weight: 300;
	color: #888;
	letter-spacing: 2px;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 0;
}

.advantages-subtitle::before {
	content: '';
	width: 150px;
	height: 2px;
	background: #888;
	display: block;
	flex-shrink: 0;
}

.advantages-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	margin: 0;
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 60px;
}

.advantage-item {
	background: var(--bg-gradient-medium);
	padding: 35px 25px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(181, 152, 122, 0.1);
}

.advantage-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--primary-color)
	);
	transition: transform 0.3s ease;
}

.advantage-icon {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 70px;
	height: 70px;
	background: linear-gradient(
		135deg,
		rgba(181, 152, 122, 0.15),
		rgba(181, 152, 122, 0.15)
	);
	border-radius: 50%;
	margin: 0 auto 20px;
	transition: all 0.3s ease;
	border: 2px solid rgba(181, 152, 122, 0.2);
}

.advantage-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-white);
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.advantage-description {
	font-size: 14px;
	color: var(--text-gray);
	line-height: 1.5;
	margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.advantages-section {
		padding: 60px 0;
	}

	.advantages-container {
		padding: 0 16px;
	}

	.advantages-header {
		margin-bottom: 40px;
	}

	.advantages-title {
		font-size: 32px;
	}

	.advantages-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 40px;
	}

	.advantage-item {
		padding: 32px 24px;
	}

	.advantage-icon {
		width: 64px;
		height: 64px;
		margin-bottom: 20px;
	}

	.advantage-icon svg {
		width: 36px;
		height: 36px;
	}

	.advantage-title {
		font-size: 18px;
	}

	.advantage-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.advantages-title {
		font-size: 28px;
	}

	.advantage-item {
		padding: 24px 20px;
	}
}

/* Мобильный header с логотипом */
.mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 15px 15px;
	display: none;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	z-index: 1001;
}

.mobile-logo {
	display: flex;
	align-items: center;
}

.mobile-logo svg {
	width: 100px;
	height: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
	.header {
		display: none;
	}

	.mobile-header {
		display: flex;
	}

	/* Предотвращаем горизонтальную прокрутку на мобильных */
	* {
		max-width: 100vw;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}
	
	/* Исключение для карты - разрешаем ей быть больше */
	.map-container,
	.map-container *,
	.process-map {
		max-width: none !important;
	}

	.mobile-header .mobile-logo img {
		height: 50px;
	}

	.hero {
		min-height: 100vh;
		padding: 2rem 0; /* Убираем дополнительный отступ сверху */
	}

	.hero-container {
		flex-direction: column;
		gap: 2rem;
		padding: 0 1rem;
		text-align: center;
		justify-content: center;
	}

	.hero-left {
		text-align: center;
		max-width: 100%;
		margin-top: 100px;
		order: 1;
	}

	.hero-right {
		flex: none;
		max-width: 100%;
		width: 100%;
		order: 2;
		margin-left: 0; /* Убираем отрицательный отступ для мобильных */
	}

	.hero-form {
		padding: 25px;
		max-width: 100%;
	}

	.form-row {
		flex-direction: column;
		gap: 15px;
	}

	.form-input {
		width: 100%;
	}

	.hero-title {
		font-size: 28px;
		margin-bottom: 1.5rem;
	}

	.stat-item {
		min-width: 120px;
	}

	.stat-number {
		font-size: 24px;
	}

	.stat-text {
		font-size: 14px;
	}

	.mobile-bottom-nav {
		display: block;
	}
}

@media (min-width: 769px) {
	.mobile-bottom-nav {
		display: none;
	}

	.mobile-header {
		display: none;
	}
}

/* Поддержка iPhone с вырезом */
@media (max-width: 768px) {
	.mobile-bottom-nav {
		bottom: max(20px, env(safe-area-inset-bottom));
	}
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
	.hero {
		min-height: 90vh;
		padding: 1.5rem 0;
	}

	.hero-container {
		gap: 1.5rem;
		padding: 0 0.75rem;
	}

	.hero-title {
		font-size: 24px;
		margin-bottom: 1rem;
		line-height: 1.3;
	}

	.hero-form {
		padding: 20px;
	}

	.hero-stats {
		margin-top: 1.5rem;
		gap: 0.75rem;
		flex-wrap: wrap;
	}

	.stat-item {
		min-width: 100px;
	}

	.stat-number {
		font-size: 20px;
	}

	.stat-text {
		font-size: 12px;
	}

	.hero-znacki {
		gap: 20px;
		justify-content: center;
		flex-wrap: wrap;
	}

	.hero-znacki img {
		height: 40px;
	}

	.gvp {
		height: 50px !important;
	}

	.de {
		height: 70px !important;
	}
}

/* Закомментированные стили для видео */
/* .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 2;
}

.hero-content {
	text-align: left;
	z-index: 2;
	position: relative;
}

.hero-title {
	font-size: 35px;
	margin-bottom: 2rem;
	font-weight: 400;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	color: var(--text-white);
	word-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	white-space: normal !important;
	overflow-wrap: break-word;
	max-width: 100%;
	width: 100%;
}
.hero-subtitle {
	font-size: 24px;
	margin-bottom: 2rem;
	font-weight: 400;
	line-height: 1.2;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	color: var(--text-white);
}
.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}

/* Блок с отзывами в hero */
.hero-reviews {
	margin-top: 2rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.reviews-stars {
	display: flex;
	gap: 2px;
}

.reviews-stars .star {
	color: var(--accent-yellow);
	font-size: 20px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.reviews-stars .star.half {
	background: linear-gradient(to right, var(--accent-yellow) 50%, transparent 50%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
}

.reviews-stars .star.half::before {
	content: '★';
	position: absolute;
	left: 0;
	color: rgba(255, 193, 7, 0.3);
	-webkit-text-fill-color: rgba(255, 193, 7, 0.3);
	z-index: -1;
}

.reviews-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.reviews-rating {
	font-weight: 600;
	font-size: 18px;
	color: var(--text-white);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.reviews-count {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Форма в hero */
.hero-form {
	background: rgba(255, 255, 255, 0.95);
	display: flex;
	flex-direction: column;
	gap: 10px;
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 25px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: visible;
	width: 100%;
	max-width: 450px;
	box-sizing: border-box;
	text-align: center;
}

.form-badge {
	position: absolute;
	top: -25px;
	right: 15px;
	background: linear-gradient(
		135deg,
		var(--accent-orange),
		var(--accent-orange-light)
	);
	color: white;
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
	transform: rotate(1deg);
	z-index: 10;
}

.badge-text {
	display: inline-block;
	transform: rotate(0deg);
}

.form-badge::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(
		135deg,
		var(--accent-red),
		var(--accent-red-light)
	);
	border-radius: 25px;
	z-index: -1;
	opacity: 0.3;
}

.form-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.form-description {
	color: #666;
	font-size: 1rem;
	margin-bottom: 8px; /* Уменьшаем нижний отступ с 12px до 8px */
	margin-top: 5px; /* Добавляем небольшой верхний отступ */
	font-weight: 500;
	text-align: center; /* Выравниваем по левому краю */
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.form-row {
	display: flex;
	gap: 12px;
	width: 100%;
}

.form-input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background: var(--bg-light);
	transition: all 0.3s ease;
	min-width: 0;
	box-sizing: border-box;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	background: white;
	box-shadow: 0 0 0 3px rgba(181, 152, 122, 0.1);
}

.form-textarea {
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background: var(--bg-light);
	resize: vertical;
	font-family: inherit;
	transition: all 0.3s ease;
}

.form-textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	background: white;
	box-shadow: 0 0 0 3px rgba(181, 152, 122, 0.1);
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0.5rem 0;
}

.form-checkbox input[type='checkbox'] {
	margin-top: 4px;
	flex-shrink: 0;
}

.form-checkbox label {
	font-size: 11px;
	color: #666;
	line-height: 1.4;
}

.form-submit-btn {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 15px 30px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	
	letter-spacing: 1px;
	animation: softGlow 3s ease-in-out infinite;
	box-shadow: 0 4px 15px var(--primary-color);
}

.hero-form .form-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	margin: 0 auto;
}

.form-submit-btn:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(181, 152, 122, 0.4);
	animation: none;
}

@keyframes softGlow {
	0%,
	100% {
		box-shadow: 0 4px 15px var(--primary-color);
		opacity: 0.9;
	}
	50% {
		box-shadow: 0 4px 20px rgba(181, 152, 122, 0.5),
			0 0 15px var(--primary-color);
		opacity: 1;
	}
}

/* Блок со статистикой в hero */
.hero-stats {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
}

.stat-item {
	text-align: left;
	flex: 1;
	min-width: 120px;
}

.hero-znacki {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: 20px;
	gap: 40px;
}
.hero-znacki img {
	height: 50px;
}

.gvp {
	height: 60px !important;
	border-radius: 10px;
}

.de {
	height: 90px !important;
	border-radius: 10px;
}

.stat-number {
	font-size: 27px;
	font-weight: 700;
	color: var(--text-white);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.stat-text {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	line-height: 1.3;
	font-weight: 500;
}

.btn {
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 50px;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-primary {
	display: flex;
	background: var(--primary-color);
	color: #000;
	font-weight: 400;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.btn-primary:hover {
	box-shadow: 0 4px 15px rgba(181, 152, 122, 0.4);
	transform: translateY(-2px);
}

.btn-secondary {
	display: flex;
	background: transparent;
	color: var(--text-white);
	gap: 10px;
	align-items: center;
	justify-content: center;
	fill: var(--text-white);
	border: 1px solid var(--text-white);
}

.btn-secondary:hover {
	background: var(--primary-color);
	color: #000;
	fill: #000;
	transform: translateY(-2px);
	border: 1px solid var(--primary-color);
}

/* Hero Arrow Animation */
.hero-arrow {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--primary-color);
	animation: glowPulse 2s ease-in-out infinite, bounce 2s ease-in-out infinite;
	cursor: pointer;
	z-index: 10;
}

.hero-arrow svg {
	filter: drop-shadow(0 0 10px var(--primary-color));
	transition: all 0.3s ease;
}

.hero-arrow:hover svg {
	filter: drop-shadow(0 0 20px var(--primary-color));
	transform: scale(1.1);
}

@keyframes glowPulse {
	0%,
	100% {
		filter: drop-shadow(0 0 5px var(--primary-color));
		opacity: 0.8;
	}
	50% {
		filter: drop-shadow(0 0 25px var(--primary-color))
			drop-shadow(0 0 35px var(--primary-color));
		opacity: 1;
	}
}

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

/* Мобильная адаптация стрелочки */
@media (max-width: 768px) {
	.hero-arrow {
		visibility: hidden;
		bottom: 0;
	}

	.hero-arrow svg {
		width: 35px;
		height: 35px;
	}
}

@media (max-width: 480px) {
	.hero-arrow {
		bottom: 0;
		visibility: hidden;
	}

	.hero-arrow svg {
		width: 30px;
		height: 30px;
	}
}

/* Адаптивные стили для десктопного хедера */
@media (max-width: 1400px) {
  .header {
    padding: 15px 80px;
  }
  
  .navbar {
    padding: 0 1rem;
    gap: 15px;
  }
  
  .logo svg {
    height: 80px;
  }
  
  .nav-menu {
    gap: 30px;
  }
  
  .nav-menu a {
    font-size: 15px;
  }
  
  .contact-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1200px) {
  .header {
    padding: 15px 60px;
  }
  
  .navbar {
    gap: 10px;
  }
  
  .logo svg {
    height: 70px;
  }
  
  .nav-menu {
    gap: 25px;
  }
  
  .nav-menu a {
    font-size: 14px;
  }
  
  .contact-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 15px 40px;
  }
  
  .navbar {
    gap: 8px;
  }
  
  .logo svg {
    height: 60px;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .nav-menu a {
    font-size: 13px;
  }
  
  .contact-btn {
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 900px) {
  .header {
    padding: 15px 30px;
  }
  
  .navbar {
    gap: 5px;
  }
  
  .logo svg {
    height: 55px;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .nav-menu a {
    font-size: 12px;
  }
  
  .contact-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 850px) {
  .header {
    padding: 15px 25px;
  }
  
  .logo svg {
    height: 50px;
  }
  
  .nav-menu {
    gap: 12px;
  }
  
  .nav-menu a {
    font-size: 11px;
  }
  
  .contact-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
  }
}

@media (max-width: 800px) {
  .header {
    padding: 15px 20px;
  }
  
  .logo svg {
    height: 45px;
  }
  
  .nav-menu {
    gap: 10px;
  }
  
  .nav-menu a {
    font-size: 10px;
  }
  
  .contact-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.55rem;
  }
}

@media (max-width: 780px) {
  .navbar {
    gap: 3px;
  }
  
  .logo svg {
    height: 40px;
  }
  
  .nav-menu {
    gap: 8px;
  }
  
  .nav-menu a {
    font-size: 9px;
  }
  
  .contact-btn {
    padding: 0.2rem 0.3rem;
    font-size: 0.5rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		display: none;
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: rgba(0, 0, 0, 0.95);
		backdrop-filter: blur(10px);
		flex-direction: column;
		padding: 2rem 0;
		transform: none;
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-menu li {
		text-align: center;
		margin: 1rem 0;
	}

	.contact-btn {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.btn {
		width: 250px;
	}

	/* Сетка 2x2 для значков на мобильных */
	.hero-znacki {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 20px;
		justify-items: center;
		align-items: center;
		max-width: 300px;
		margin: 20px auto 30px;
	}

	.hero-znacki img {
		height: 45px;
	}

	.gvp {
		height: 55px !important;
	}

	.de {
		height: 80px !important;
	}

	/* Мобильная адаптация для отзывов */
	.hero-reviews {
		margin-top: 1.5rem;
		justify-content: center;
		text-align: center;
	}

	.reviews-stars .star {
		font-size: 18px;
	}

	.reviews-rating {
		font-size: 16px;
	}

	.reviews-count {
		font-size: 14px;
	}
}

/* Мобильная адаптация для статистики */
@media (max-width: 768px) {
	.hero-stats {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 1rem;
		justify-items: center;
		align-items: center;
		margin-top: 2rem;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}

	.stat-item {
		min-width: 100px;
	}

	.stat-number {
		font-size: 1.4rem;
	}

	.stat-text {
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	.hero-stats {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.stat-item {
		text-align: center;
		min-width: auto;
	}
}
/* About Section - Новая структура */
.about-section {
	padding: 50px 150px;
	background: var(--bg-dark);
	color: var(--text-white);
	border-top: 1px solid var(--text-medium-gray);
}

.about-container {
	max-width: 1650px;
	margin: 0 auto;
	display: flex;
	gap: 80px;
	align-items: flex-start;
}

.about-left {
	flex: 1;
	max-width: none;
}

.about-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: 60px;
}

/* Левая часть - заголовок и текст */
.section-label {
	font-size: 28px;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 2px;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 20px;
}

.section-label::before {
	content: '';
	width: 150px;
	height: 2px;
	background: var(--text-muted);
	display: block;
	flex-shrink: 0;
}

.about-title {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 2rem;
	color: var(--text-white);
	word-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	white-space: normal !important;
	overflow-wrap: break-word;
	max-width: 100%;
	width: 100%;
}

.about-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--text-gray);
	margin-bottom: 3rem;
	max-width: 100%;
}

/* Команда - 4 маленькие картинки в ряд */
.team-grid {
	display: flex;
	gap: 20px;
	margin-bottom: 3rem;
	justify-content: flex-start;
}

.team-member {
	text-align: center;
	flex: 0 0 auto;
}

.team-photo {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 10px;
	border: 2px solid var(--primary-color);
}

.team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-position {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 3px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.team-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-white);
}

/* Правая часть - большая картинка и цитата */
.leader-photo {
	width: 300px;
	height: 300px;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 25px;
	border: 2px solid var(--primary-color);
}

.leader-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.leader-name {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 5px;
}

.leader-position {
	font-size: 16px;
	color: var(--text-muted);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
}

.leader-quote {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-gray);
	font-style: italic;
	margin-bottom: 30px;
	position: relative;
	padding: 0 20px;
}

.leader-quote::before {
	content: '"';
	font-size: 60px;
	color: var(--primary-color);
	position: absolute;
	top: -20px;
	left: -10px;
	font-family: serif;
}

.leader-quote::after {
	content: '"';
	font-size: 60px;
	color: var(--primary-color);
	position: absolute;
	bottom: -40px;
	right: -10px;
	font-family: serif;
}

.cta-btn-about {
	background: var(--primary-color);
	color: var(--text-white);
	padding: 15px 30px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.cta-btn-about:hover {
	box-shadow: 0 0 20px var(--primary-color);
	transform: translateY(-2px);
}

/* Адаптивные стили для больших планшетов и маленьких десктопов */
@media (max-width: 1200px) {
	.about-section {
		padding: 70px 80px;
	}
	
	.about-container {
		gap: 60px;
	}
	
	.about-title {
		font-size: 42px;
	}
	
	.section-label {
		font-size: 24px;
	}
	
	.section-label::before {
		width: 120px;
	}
	
	.leader-photo {
		width: 280px;
		height: 280px;
	}
	
	.team-photo {
		width: 130px;
		height: 130px;
	}
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
	.about-section {
		padding: 60px 60px;
	}

	.about-container {
		gap: 50px;
	}

	.about-title {
		font-size: 38px;
	}
	
	.about-description {
		font-size: 1rem;
	}

	.about-right {
		flex: 0 0 350px;
		margin-top: 40px;
	}

	.leader-photo {
		width: 250px;
		height: 250px;
	}
	
	.team-photo {
		width: 120px;
		height: 120px;
	}
	
	.team-grid {
		gap: 18px;
	}
	
	.section-label {
		font-size: 22px;
	}
	
	.section-label::before {
		width: 100px;
	}
}

/* Адаптивные стили для маленьких планшетов */
@media (max-width: 768px) {
	.about-section {
		padding: 50px 30px;
	}

	.about-container {
		flex-direction: column;
		gap: 40px;
		text-align: center;
	}

	.about-left,
	.about-right {
		flex: none;
		max-width: 100%;
	}
	
	.about-right {
		margin-top: 0;
	}

	.about-title {
		font-size: 32px;
	}
	
	.about-description {
		font-size: 16px;
		margin-bottom: 2.5rem;
	}

	.team-grid {
		flex-wrap: wrap;
		gap: 15px;
		justify-content: center;
		margin-bottom: 2.5rem;
	}

	.team-photo {
		width: 90px;
		height: 90px;
	}
	
	.team-position {
		font-size: 11px;
	}
	
	.team-name {
		font-size: 13px;
	}

	.leader-photo {
		width: 220px;
		height: 220px;
	}

	.leader-name {
		font-size: 22px;
	}
	
	.leader-position {
		font-size: 15px;
	}
	
	.leader-quote {
		font-size: 15px;
		padding: 0 15px;
	}
	
	.leader-quote::before,
	.leader-quote::after {
		font-size: 50px;
	}
	
	.leader-quote::before {
		top: -15px;
	}
	
	.leader-quote::after {
		bottom: -35px;
	}
	
	.section-label {
		font-size: 20px;
		justify-content: center;
	}
	
	.section-label::before {
		width: 80px;
	}
}

/* Адаптивные стили для больших телефонов */
@media (max-width: 480px) {
	.about-section {
		padding: 40px 20px;
	}
	
	.about-container {
		gap: 35px;
	}

	.about-title {
		font-size: 28px;
		margin-bottom: 1.5rem;
	}

	.about-description {
		font-size: 15px;
		margin-bottom: 2rem;
	}

	.team-grid {
		gap: 12px;
		margin-bottom: 2rem;
	}

	.team-photo {
		width: 70px;
		height: 70px;
	}

	.team-position {
		font-size: 10px;
	}

	.team-name {
		font-size: 12px;
	}

	.leader-photo {
		width: 180px;
		height: 180px;
	}
	
	.leader-name {
		font-size: 20px;
	}
	
	.leader-position {
		font-size: 14px;
	}

	.leader-quote {
		font-size: 14px;
		padding: 0 10px;
		margin-bottom: 25px;
	}
	
	.leader-quote::before,
	.leader-quote::after {
		font-size: 40px;
	}
	
	.leader-quote::before {
		top: -10px;
		left: -5px;
	}
	
	.leader-quote::after {
		bottom: -30px;
		right: -5px;
	}

	.section-label {
		font-size: 18px;
		gap: 15px;
	}

	.section-label::before {
		width: 60px;
	}
	
	.cta-btn-about {
		padding: 12px 25px;
		font-size: 15px;
	}
}

/* Адаптивные стили для маленьких телефонов */
@media (max-width: 360px) {
	.about-section {
		padding: 35px 15px;
	}
	
	.about-container {
		gap: 30px;
	}

	.about-title {
		font-size: 24px;
		margin-bottom: 1.2rem;
	}

	.about-description {
		font-size: 14px;
		margin-bottom: 1.8rem;
	}

	.team-grid {
		gap: 10px;
		margin-bottom: 1.8rem;
	}

	.team-photo {
		width: 60px;
		height: 60px;
	}

	.team-position {
		font-size: 9px;
	}

	.team-name {
		font-size: 11px;
	}

	.leader-photo {
		width: 160px;
		height: 160px;
	}
	
	.leader-name {
		font-size: 18px;
	}
	
	.leader-position {
		font-size: 13px;
	}

	.leader-quote {
		font-size: 13px;
		padding: 0 8px;
		margin-bottom: 20px;
	}
	
	.leader-quote::before,
	.leader-quote::after {
		font-size: 35px;
	}

	.section-label {
		font-size: 16px;
		gap: 12px;
	}

	.section-label::before {
		width: 50px;
	}
	
	.cta-btn-about {
		padding: 10px 20px;
		font-size: 14px;
		gap: 8px;
	}
}
/* Animation classes for scroll reveal */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.slide-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s ease-out;
}

.slide-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.slide-in-right {
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.8s ease-out;
}

.slide-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.scale-in {
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.8s ease-out;
}

.scale-in.visible {
	opacity: 1;
	transform: scale(1);
}

/* Services Tabs Section - убираем параллакс */
.services-tabs {
	padding: 50px 150px 50px 150px;
	background: var(--bg-medium);
	color: var(--text-white);
	overflow: hidden;
	height: 700px;
	display: flex;
	align-items: center;
	position: relative;
	opacity: 1;
	transform: translateY(0);
}

/* Убираем классы анимации для всей секции */
/* .services-tabs.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
}

.services-tabs.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
} */

/* Убираем параллакс фон */
/* .services-tabs::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    transform: translateZ(-1px) scale(1.1);
    animation: parallaxFloat 20s ease-in-out infinite;
    z-index: 0;
} */

@keyframes parallaxFloat {
	0%,
	100% {
		transform: translateZ(-1px) scale(1.1) translateY(0px);
	}
	50% {
		transform: translateZ(-1px) scale(1.1) translateY(-20px);
	}
}

.services-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 2;
	transform: translateZ(0);

	display: flex;
	flex-direction: column;
	justify-content: center; /* Центрируем содержимое по вертикали */
}

.services-header {
	display: flex;
	flex-direction: column; /* Добавляем вертикальное направление */
	justify-content: flex-start; /* Меняем с space-between */
	align-items: flex-start; /* Уменьшаем отступ с 80px */
	position: relative;
	transform: translateZ(10px) scale(0.99);
	opacity: 1;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
	text-align: left;
}

/* Добавляем класс для анимации */
.services-header.animate-on-scroll {
	opacity: 0;
	transform: translateY(40px) translateZ(10px) scale(0.99);
}

.services-header.animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(10px) scale(0.99);
}

.services-subtitle {
	font-size: 28px;
	font-weight: 300;
	color: #888;
	letter-spacing: 2px;
	margin-bottom: 5px; /* Увеличиваем отступ снизу */
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 0;
	position: static; /* Меняем с absolute на static */

	/* Подзаголовок видим по умолчанию */
	opacity: 1;
	transform: translateX(0);
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.services-subtitle.animate-on-scroll {
	opacity: 0;
	transform: translateX(-30px);
}

.services-subtitle.animate-in {
	opacity: 1;
	transform: translateX(0);
}

.services-subtitle::before {
	content: '';
	width: 150px;
	height: 2px;
	background: #888;
	display: block;
	flex-shrink: 0;
}

.services-main-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	flex: 1;
	word-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	white-space: normal !important;
	overflow-wrap: break-word;
	max-width: 100%;
	width: 100%;

	/* Заголовок видим по умолчанию */
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.services-main-title.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
}

.services-main-title.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.view-all-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-white);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	padding: 12px 24px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);

	/* Кнопка видима по умолчанию */
	opacity: 1;
	transform: translateY(0);
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.view-all-btn.animate-on-scroll {
	opacity: 0;
	transform: translateY(20px);
}

.view-all-btn.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.view-all-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px) translateZ(5px);
}

/* Левая часть с табами - компактная */
.services-tabs-vertical {
	width: 100%;
	max-width: 500px; /* Уменьшаем ширину с 600px */
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: flex-start;
	height: 100%;
	justify-content: center; /* Центрируем табы */

	opacity: 1;
	transform: translateX(0) translateZ(20px) scale(0.98);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

/* Убираем правила анимации при скролле */
/*
.services-tabs-vertical.animate-on-scroll {
    opacity: 0;
    transform: translateX(-40px) translateZ(20px) scale(0.98);
}

.services-tabs-vertical.animate-in {
    opacity: 1;
    transform: translateX(0) translateZ(20px) scale(0.98);
}
*/

.service-tab-vertical {
	position: relative;
	cursor: pointer;
	padding: 15px 0; /* Уменьшаем отступы с 20px */
	width: 100%;
	overflow: visible;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	opacity: 1;
	transform: translateY(0);
}

/* Закомментируем анимацию при скролле для табов */
/*
.service-tab-vertical.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.service-tab-vertical.animate-in {
    opacity: 1;
    transform: translateY(0);
}
*/

.service-tab-vertical:nth-child(1) {
	transform: translateZ(25px) scale(0.975);
}
.service-tab-vertical:nth-child(2) {
	transform: translateZ(30px) scale(0.97);
}
.service-tab-vertical:nth-child(3) {
	transform: translateZ(35px) scale(0.965);
}
.service-tab-vertical:nth-child(4) {
	transform: translateZ(40px) scale(0.96);
}
.service-tab-vertical:nth-child(5) {
	transform: translateZ(45px) scale(0.955);
}

.service-tab-vertical:nth-child(1).animate-on-scroll {
	opacity: 0;
	transform: translateY(30px) translateZ(25px) scale(0.975);
	transition-delay: 0.1s;
}
.service-tab-vertical:nth-child(2).animate-on-scroll {
	opacity: 0;
	transform: translateY(30px) translateZ(30px) scale(0.97);
	transition-delay: 0.2s;
}
.service-tab-vertical:nth-child(3).animate-on-scroll {
	opacity: 0;
	transform: translateY(30px) translateZ(35px) scale(0.965);
	transition-delay: 0.3s;
}
.service-tab-vertical:nth-child(4).animate-on-scroll {
	opacity: 0;
	transform: translateY(30px) translateZ(40px) scale(0.96);
	transition-delay: 0.4s;
}
.service-tab-vertical:nth-child(5).animate-on-scroll {
	opacity: 0;
	transform: translateY(30px) translateZ(45px) scale(0.955);
	transition-delay: 0.5s;
}

.service-tab-vertical:nth-child(1).animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(25px) scale(0.975);
}
.service-tab-vertical:nth-child(2).animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(30px) scale(0.97);
}
.service-tab-vertical:nth-child(3).animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(35px) scale(0.965);
}
.service-tab-vertical:nth-child(4).animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(40px) scale(0.96);
}
.service-tab-vertical:nth-child(5).animate-in {
	opacity: 1;
	transform: translateY(0) translateZ(45px) scale(0.955);
}

.service-word-vertical {
	font-size: 28px;
	font-weight: 700;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	display: block;
	position: relative;
	white-space: nowrap;

	z-index: 2;
	transform: translateX(0);
}

/* Эффект при наведении - слово выдвигается вправо и становится белым */
.service-tab-vertical:hover {
	transform: translateZ(20px) scale(1); /* Убираем уменьшение, оставляем только параллакс */
}

.service-tab-vertical:hover .service-word-vertical {
	color: var(--primary-color);
	transform: translateX(20px) translateZ(3px);
	font-size: 32px;
	/* text-shadow: 0 10px 30px var(--primary-color); */
}

/* Остальные слова становятся еще темнее при наведении на любое */
.services-tabs-vertical:hover .service-tab-vertical:not(:hover) {
	transform: translateZ(10px) scale(0.95);
}

.services-tabs-vertical:hover
	.service-tab-vertical:not(:hover)
	.service-word-vertical {
	color: var(--text-light);
	opacity: 1;
}

/* Активное состояние для первой услуги (как при hover) */
.service-tab-vertical.auto-active {
	transform: translateZ(20px) scale(1);
}

.service-tab-vertical.auto-active .service-word-vertical {
	color: var(--primary-color);
	transform: translateX(20px) translateZ(3px);
	font-size: 32px;
}

.service-tab-vertical.auto-active::after {
	width: 300px;
	transform: translateZ(15px);
}

/* Добавляем класс для постоянно активной услуги */
.service-tab-vertical.permanently-active {
	transform: translateZ(20px) scale(1);
}

.service-tab-vertical.permanently-active .service-word-vertical {
	color: var(--primary-color);
	transform: translateX(20px) translateZ(3px);
	font-size: 32px;
}

.service-tab-vertical.permanently-active::after {
	width: 300px;
	transform: translateZ(15px);
}

/* При наведении на любую услугу, убираем auto-active класс с первой */
.services-tabs-vertical:hover .service-tab-vertical.auto-active:not(:hover) {
	transform: translateZ(10px) scale(0.95);
}

.services-tabs-vertical:hover
	.service-tab-vertical.auto-active:not(:hover)
	.service-word-vertical {
	color: #333;
	opacity: 1;
	transform: translateX(0) translateZ(0);
	font-size: 28px;
}

.services-tabs-vertical:hover
	.service-tab-vertical.auto-active:not(:hover)::after {
	width: 0;
	transform: translateZ(5px);
}

/* При наведении на другие услуги, убираем permanently-active стили только с неактивных */
.services-tabs-vertical:hover
	.service-tab-vertical.permanently-active:not(:hover) {
	transform: translateZ(10px) scale(0.95);
}

.services-tabs-vertical:hover
	.service-tab-vertical.permanently-active:not(:hover)
	.service-word-vertical {
	color: #333;
	opacity: 1;
	transform: translateX(0) translateZ(0);
	font-size: 28px;
}

.services-tabs-vertical:hover
	.service-tab-vertical.permanently-active:not(:hover)::after {
	width: 0;
	transform: translateZ(5px);
}

/* Линия-подчеркивание при наведении с параллакс эффектом */
.service-tab-vertical::after {
	content: '';
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--primary-color) 0%,
		var(--primary-color-50) 100%
	);
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1;
	transform: translateZ(5px);
	/* box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3); */
}

.service-tab-vertical:hover::after {
	width: 300px;
	transform: translateZ(15px);
}

/* Параллакс при скролле */
@media (prefers-reduced-motion: no-preference) {
	.services-tabs {
		will-change: transform;
	}

	.services-container {
		will-change: transform;
	}

	.service-tab-vertical {
		will-change: transform;
	}
}

/* Контейнер для табов и изображений */
.services-content {
	display: flex;
	gap: 60px; /* Уменьшаем зазор между колонками */
	align-items: flex-start;
	height: 500px; /* Фиксированная высота контента */
}

/* Контейнер для изображений справа - компактная */
.services-images {
	flex: 1;
	position: relative;
	height: 100%;
	max-height: 500px; /* Ограничиваем высоту изображений */
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Убираем правила анимации, которые мешают hover-эффектам */
/*
.services-images.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.services-images.animate-on-scroll {
    opacity: 0;
    transform: translateX(40px);
}
*/

/* Изображения услуг без текста */
.services-images .service-image {
	width: 100%;
	max-width: 600px; /* Увеличиваем, так как нет текста */
	height: 500px; /* Увеличиваем высоту */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 20px;
	overflow: hidden;
	opacity: 0;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-images .service-image.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.services-images .service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

/* Полностью убираем текст с картинок */
.services-images .service-image .image-overlay {
	display: none !important;
}

.services-images .service-image .image-overlay h3,
.services-images .service-image .image-overlay p {
	display: none !important;
}

/* Адаптивные стили */
@media (max-width: 1200px) {
	.services-tabs {
		padding: 40px 60px 15px 60px;
		height: 600px; /* Меньше на средних экранах */
	}

	.services-content {
		gap: 40px;
		height: 450px;
	}

	.services-images .service-image {
		max-width: 450px;
		height: 400px;
	}

	.carousel-container {
		height: 350px;
	}
}

@media (max-width: 1024px) {
	.services-images .service-image {
		width: 500px;
		height: 500px;
		border-radius: 16px;
		box-shadow: 0 15px 45px var(--shadow-dark);
	}

	.services-images .service-image img {
		border-radius: 16px;
	}
}

@media (max-width: 768px) {
	.services-tabs {
		padding: 30px 20px 10px 20px;
		height: auto; /* На мобильных естественная высота */
	}

	.services-content {
		flex-direction: column;
		height: auto;
		gap: 30px;
	}

	.services-tabs-vertical {
		max-width: none;
		height: auto;
	}

	.services-images .service-image {
		position: relative;
		transform: none;
		max-width: 100%;
		height: 300px;
	}

	.carousel-container {
		height: 250px;
	}
}

@media (max-width: 480px) {
	.services-tabs {
		padding: 20px 15px 5px 15px;
		height: auto;
	}

	.services-images .service-image {
		width: 250px;
		height: 250px;
		border-radius: 10px;
		transform: translateX(15px) scale(0.9);
		box-shadow: 0 8px 25px var(--shadow-light);
	}

	.services-images .service-image img {
		border-radius: 10px;
	}

	.carousel-container {
		height: 200px;
	}
}

/* Скрываем изображения внутри табов на десктопе */
.service-tab-vertical .service-image {
	display: none;
}

/* Показываем изображения только на desktop */
@media (min-width: 1025px) {
	.services-images {
		display: flex !important;
	}
}

/* Стили для ссылок в табах услуг */
.service-tab-vertical a {
	text-decoration: none;
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}

.service-tab-vertical a:hover {
	text-decoration: none;
}

.service-tab-vertical a:visited {
	text-decoration: none;
	color: inherit;
}

.service-tab-vertical a:focus {
	text-decoration: none;
	outline: none;
}

/* Адаптивные стили для изображений */
@media (max-width: 1200px) {
	.services-content {
		gap: 60px;
		
	}

	.services-images {
		width: 400px;
		height: 320px;
	}
}

/* Улучшенные адаптивные стили */

/* Большие планшеты и маленькие десктопы (1024px - 1200px) */
@media (max-width: 1200px) {
	.services-tabs {
		padding: 40px 100px 15px 100px; /* Средние экраны */
		height: 600px;
	}

	.services-content {
		gap: 60px;
		
	}

	.services-images {
		right: 60px;
		top: 50%;
		transform: translateY(-50%);
		width: 450px;
		height: 450px;
	}

	.services-images .service-image {
		width: 400px;
		height: 400px;
	}

	.services-tabs-vertical {
		max-width: 500px;
	}

	.services-main-title {
		font-size: 36px;
	}

	.service-word-vertical {
		font-size: 28px;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: 34px;
	}
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
	.services-tabs {
		padding: 50px 40px;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-container {
		width: 100%;
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.services-header {
		margin-bottom: 35px;
		text-align: center;
		width: 100%;
	}

	.services-subtitle {
		font-size: 22px;
		gap: 15px;
		justify-content: center;
	}

	.services-subtitle::before {
		width: 100px;
	}

	.services-main-title {
		font-size: 42px;
		text-align: center;
	}

	.services-content {
		flex-direction: column;
		height: auto;
		gap: 30px;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-tabs-vertical {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		max-width: 100%;
		width: 100%;
		height: auto;
		justify-items: center;
	}

	.service-tab-vertical {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 12px;
		padding: 25px;
		text-align: center;
		position: relative;
		overflow: hidden;
		width: 100%;
		max-width: 350px;
		transition: none;
	}

	.service-tab-vertical:hover {
		background: rgba(255, 255, 255, 0.05);
		border-color: rgba(255, 255, 255, 0.1);
		transform: none;
		box-shadow: none;
	}

	.service-tab-vertical::after {
		display: none;
	}

	.service-word-vertical {
		font-size: clamp(22px, 5vw, 28px);
		font-weight: 600;
		color: var(--text-white);
		text-decoration: none;
		display: block;
		padding: 15px 0;
		line-height: 1.4;
		word-wrap: break-word;
		hyphens: auto;
		transform: none !important;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: clamp(22px, 5vw, 28px);
		transform: none !important;
		color: var(--text-white) !important;
	}

	/* Скрываем изображения на планшетах */
	.services-images {
		display: none;
	}
}

/* Маленькие планшеты (600px - 768px) */
@media (max-width: 768px) {
	.services-tabs {
		padding: 40px 20px;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-container {
		max-width: 100%;
		padding: 0;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.services-header {
		text-align: center;
		margin-bottom: 30px;
		width: 100%;
	}

	.services-subtitle {
		font-size: 18px;
		margin-bottom: 15px;
		justify-content: center;
	}

	.services-main-title {
		font-size: 32px;
		line-height: 1.3;
		text-align: center;
	}

	.services-content {
		flex-direction: column;
		height: auto;
		gap: 0;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-tabs-vertical {
		display: grid;
		grid-template-columns: 1fr;
		gap: 20px;
		max-width: 100%;
		width: 100%;
		height: auto;
		justify-items: center;
	}

	.service-tab-vertical {
		background: rgba(255, 255, 255, 0.05);
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-radius: 12px;
		padding: 25px;
		text-align: center;
		position: relative;
		overflow: hidden;
		width: 100%;
		max-width: 450px;
		transition: none;
	}

	.service-tab-vertical:hover {
		background: rgba(255, 255, 255, 0.05);
		border-color: rgba(255, 255, 255, 0.1);
		transform: none;
		box-shadow: none;
	}

	.service-tab-vertical::after {
		display: none;
	}

	.service-word-vertical {
		font-size: clamp(20px, 5vw, 26px);
		font-weight: 600;
		color: var(--text-white);
		text-decoration: none;
		display: block;
		padding: 15px 0;
		line-height: 1.4;
		word-wrap: break-word;
		hyphens: auto;
		transform: none !important;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: clamp(20px, 5vw, 26px);
		transform: none !important;
		color: var(--text-white) !important;
	}

	/* Скрываем изображения на мобильных */
	.services-images {
		display: none;
	}
}

/* Мобильные устройства (до 600px) */
@media (max-width: 600px) {
	.services-tabs {
		padding: 30px 20px;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-container {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.services-header {
		margin-bottom: 25px;
		width: 100%;
		text-align: center;
	}

	.services-subtitle {
		font-size: 16px;
		margin-bottom: 12px;
		justify-content: center;
	}

	.services-main-title {
		font-size: 28px;
		line-height: 1.4;
		text-align: center;
	}

	.services-content {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-tabs-vertical {
		gap: 15px;
		width: 100%;
		justify-items: center;
	}

	.service-tab-vertical {
		padding: 20px;
		border-radius: 10px;
		max-width: 400px;
	}

	.service-word-vertical {
		font-size: clamp(18px, 4.5vw, 24px);
		transform: none !important;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: clamp(18px, 4.5vw, 24px);
		transform: none !important;
		color: var(--text-white) !important;
	}

	/* Скрываем изображения на мобильных */
	.services-images {
		display: none;
	}
}

/* Очень маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
	.services-tabs {
		padding: 25px 15px;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-container {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.services-header {
		margin-bottom: 20px;
		width: 100%;
		text-align: center;
	}

	.services-subtitle {
		font-size: 14px;
		margin-bottom: 10px;
		justify-content: center;
	}

	.services-main-title {
		font-size: 24px;
		line-height: 1.4;
		text-align: center;
	}

	.services-content {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.services-tabs-vertical {
		gap: 12px;
		width: 100%;
		justify-items: center;
	}

	.service-tab-vertical {
		padding: 18px;
		border-radius: 8px;
		max-width: 350px;
	}

	.service-word-vertical {
		font-size: clamp(16px, 4vw, 22px);
		transform: none !important;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: clamp(16px, 4vw, 22px);
		transform: none !important;
		color: var(--text-white) !important;
	}

	/* Скрываем изображения на мобильных */
	.services-images {
		display: none;
	}
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
	.services-tabs {
		padding: 40px 10px;
	}

	.services-subtitle {
		font-size: 12px;
		gap: 6px;
	}

	.services-subtitle::before {
		width: 30px;
	}

	.services-main-title {
		font-size: 18px;
	}

	.service-word-vertical {
		font-size: 16px;
	}

	.service-tab-vertical:hover .service-word-vertical {
		font-size: 20px;
		transform: translateX(10px) translateZ(2px);
	}

	.service-tab-vertical .service-image {
		height: 160px;
		margin-top: 10px;
	}

	.service-tab-vertical.mobile-active .service-image {
		max-height: 160px;
	}

	.image-overlay {
		padding: 10px;
	}

	.image-overlay h3 {
		font-size: 14px;
		margin-bottom: 4px;
	}

	.image-overlay p {
		font-size: 11px;
	}
}

/* Улучшения для touch-устройств */
@media (hover: none) and (pointer: coarse) {
	.service-tab-vertical:hover {
		transform: none;
	}

	.service-tab-vertical:active {
		transform: translateZ(20px) scale(1.02);
		background: rgba(255, 255, 255, 0.08);
	}

	.service-tab-vertical:active .service-word-vertical {
		color: var(--primary-color);
		transform: translateX(10px);
	}
}

/* Улучшения производительности для мобильных */
@media (max-width: 768px) {
	.services-tabs {
		transform-style: flat;
		perspective: none;
	}

	.service-tab-vertical {
		transform: none;
		will-change: auto;
	}

	.service-tab-vertical:hover {
		transform: none;
	}

	.services-header {
		transform: none;
	}

	.services-tabs-vertical {
		transform: none;
	}
}

/* Улучшения производительности для анимаций */
@media (prefers-reduced-motion: reduce) {
	.service-tab-vertical,
	.service-word-vertical,
	.service-image {
		transition: none;
	}

	.services-tabs {
		perspective: none;
		transform-style: flat;
	}

	.service-tab-vertical {
		transform: none;
	}
}

/* Testimonials Section - Новая структура с сеткой */
.testimonials-section {
	padding: 100px 150px;
	background: var(--bg-medium);
	color: var(--text-white);
	border-top: var(--text-muted) 1px solid;
}

.testimonials-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
}

.testimonials-header {
	text-align: left;
	margin-bottom: 60px;
}

.testimonials-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	margin: 20px 0 0 0;
	word-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	white-space: normal !important;
	overflow-wrap: break-word;
	max-width: 100%;
	width: 100%;
}

.testimonials-grid-container {
	position: relative;
	overflow: visible;
}

/* Мобильные стили для отзывов */
@media (max-width: 768px) {
	.testimonial-card {
		display: none;
		width: 100%;
		margin: 0 auto;
	}
	
	.testimonial-card:first-child {
		display: block;
	}
}

.testimonials-grid {
	position: relative;
	width: 100%;
}

.testimonials-group {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transition: all 0.5s ease;
	transform: translateX(100px);
	padding-top: 15px; /* Добавляем отступ сверху для hover эффекта */
}

.testimonials-group.active {
	opacity: 1;
	visibility: visible;
	position: relative;
	transform: translateX(0);
}

.testimonial-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 20px;
	padding: 30px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.testimonial-card:hover {
	transform: translateY(-10px);
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--primary-color);
	box-shadow: 0 20px 40px var(--primary-color-20);
}

.testimonial-image {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	margin: 0 auto 20px;
	overflow: hidden;
	border: 3px solid var(--primary-color);
}

.testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.testimonial-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.quote-icon {
	font-size: 60px;
	color: var(--primary-color);
	font-family: serif;
	line-height: 1;
}

.testimonial-text {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 25px;
	min-height: 80px;
	display: flex;
	align-items: center;
	text-align: center;
}

.testimonial-author {
	margin-top: auto;
}

.author-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--primary-color);
	letter-spacing: 1.5px;
	margin: 0;
}

.testimonial-navigation {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 50px;
	padding: 10px; /* Добавляем отступы для hover эффекта кнопок */
}

.testimonial-nav-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 2px solid #515151;
	background: transparent;
	color: #515151;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	touch-action: manipulation;
}

.testimonial-nav-btn:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: scale(1.1);
}

.testimonial-nav-btn.active {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--text-black);
}

/* Testimonials Responsive - только для мобильных */
@media (max-width: 1024px) {
	.testimonials-section {
		padding: 80px 60px;
	}
}

@media (max-width: 768px) {
	.testimonials-section {
		padding: 60px 20px;
	}

	.testimonials-header {
		margin-bottom: 40px;
	}

	.testimonials-title {
		font-size: 32px;
	}

	/* Одна карточка на экране для мобильных */
	.testimonials-group {
		display: block !important; /* Убираем grid */
		max-width: 600px;
		margin: 0 auto;
	}

	/* JavaScript будет управлять отображением карточек на мобильных */

	.testimonial-card {
		padding: 30px 25px;
	}

	.testimonial-image {
		width: 140px;
		height: 140px;
		margin-bottom: 20px;
	}

	.quote-icon {
		font-size: 50px;
	}

	.testimonial-text {
		font-size: 15px;
		min-height: auto;
		margin-bottom: 20px;
	}

	.author-name {
		font-size: 17px;
	}

	.testimonial-navigation {
		margin-top: 40px;
	}

	.testimonial-nav-btn {
		width: 55px;
		height: 55px;
	}
}

@media (max-width: 480px) {
	.testimonials-section {
		padding: 40px 15px;
	}

	.testimonials-header {
		margin-bottom: 30px;
	}

	.testimonials-title {
		font-size: 24px;
		line-height: 1.2;
	}

	.section-label {
		font-size: 18px;
		gap: 10px;
	}

	.section-label::before {
		width: 60px;
	}

	.testimonials-group {
		max-width: 100%;
		gap: 25px;
	}

	.testimonial-card {
		padding: 25px 20px;
		border-radius: 16px;
	}

	.testimonial-image {
		width: 120px;
		height: 120px;
		margin-bottom: 15px;
		border-width: 2px;
	}

	.quote-icon {
		font-size: 45px;
	}

	.testimonial-text {
		font-size: 14px;
		line-height: 1.6;
		margin-bottom: 18px;
	}

	.author-name {
		font-size: 16px;
		letter-spacing: 1px;
	}

	.testimonial-navigation {
		margin-top: 35px;
		gap: 12px;
	}

	.testimonial-nav-btn {
		width: 50px;
		height: 50px;
	}

	.testimonial-nav-btn svg {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 360px) {
	.testimonials-section {
		padding: 30px 12px;
	}

	.testimonials-title {
		font-size: 22px;
	}

	.section-label {
		font-size: 16px;
		gap: 8px;
	}

	.section-label::before {
		width: 40px;
	}

	.testimonial-card {
		padding: 20px 16px;
	}

	.testimonial-image {
		width: 100px;
		height: 100px;
		margin-bottom: 12px;
	}

	.quote-icon {
		font-size: 40px;
	}

	.testimonial-text {
		font-size: 13px;
		line-height: 1.5;
		margin-bottom: 15px;
	}

	.author-name {
		font-size: 15px;
	}

	.testimonial-nav-btn {
		width: 45px;
		height: 45px;
	}

	.testimonial-nav-btn svg {
		width: 20px;
		height: 20px;
	}
}

.steps {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 80px 150px 300px 150px;
	background: var(--bg-dark);
}

/* Добавляем стили для контейнера карты */
.map-container {
	position: absolute;
	top: 60%;
	left: 150px;
	width: calc(100% - 300px);
	height: 70%;
	transform: translateY(-65%);
	z-index: 0;
	margin-top: 80px;
}

.process-map {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.step {
	margin-top: 80px;
	position: absolute;
	text-align: left;
	z-index: 1;
}

/* Теперь каждый шаг можно двигать по left */
.step:nth-child(1) {
	left: 11.5%;
}
.step:nth-child(2) {
	left: 24.5%;
}
.step:nth-child(3) {
	left: 38%;
}
.step:nth-child(4) {
	left: 51%;
}
.step:nth-child(5) {
	left: 64%;
}
.step:nth-child(6) {
	left: 77.5%;
}

.step .top {
	margin-bottom: 150px;
	font-size: 20px;
	font-weight: 500;
}

.step .bottom {
	margin-top: 20px;
	font-size: 20px;
	font-weight: 500;
}

/* Цифры в четных шагах находятся в .top, в нечетных - в .bottom */
.step:nth-child(even) .top,
.step:nth-child(odd) .bottom {
	font-weight: 700;
	font-size: 24px;
	color: var(--primary-color);
}

/* Текст в четных шагах находится в .bottom, в нечетных - в .top */
.step:nth-child(even) .bottom,
.step:nth-child(odd) .top {
	font-weight: 500;
	font-size: 20px;
	color: var(--text-light);
}

/* Адаптивные стили для заголовка */
@media (max-width: 1024px) {
	.steps {
		padding: 60px 60px 150px 60px;
	}

	.steps-header {
		top: 60px;
	}

	.steps-title {
		font-size: 36px;
	}

	.steps-subtitle {
		font-size: 16px;
	}

	.map-container {
		top: 55%;
		left: 60px;
		width: calc(100% - 120px);
	}
}

@media (max-width: 768px) {
	.steps {
		padding: 40px 20px 100px 20px;
	}

	.steps-header {
		top: 40px;
	}

	.steps-title {
		font-size: 28px;
	}

	.steps-subtitle {
		font-size: 14px;
		gap: 10px;
	}

	.steps-subtitle::before,
	.steps-subtitle::after {
		width: 40px;
	}

	.map-container {
		top: 50%;
		left: 20px;
		width: calc(100% - 40px);
	}
}

@media (max-width: 480px){
	/* Полностью переопределяем контейнер секции */
	.steps {
		display: block !important;
		position: relative !important;
		padding: 32px 16px 64px 16px !important;
		min-height: 900px !important;
		overflow: hidden !important;
		background: var(--bg-dark) !important;
		justify-content: unset !important;
		align-items: unset !important;
	}

	/* Заголовок секции */
	.testimonials-header {
		position: relative !important;
		z-index: 2 !important;
		margin-bottom: 30px !important;
		text-align: center !important;
		top: unset !important;
		left: unset !important;
		transform: unset !important;
	}

	/* Контейнер карты - ВАЖНО: размеры ДО поворота */
	.map-container {
		position: absolute !important;
		left: -250px !important; /* Сдвигаем еще левее */
		top: 70px !important;
		width: 700px !important;
		height: 850px !important;
		z-index: 0 !important;
		overflow: visible !important;
		transform: unset !important;
		margin-top: 0 !important;
	}

	/* Само изображение карты */
	.process-map {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
		transform: rotate(90deg) !important;
		transform-origin: center center !important;
		/* После поворота: ширина станет 350px, высота станет 600px */
	}

	/* Контейнер шагов - сдвигаем правее */
	.all-map {
		position: relative !important;
		margin-left: 45% !important; /* Уменьшаем отступ */
		padding-left: 8px !important;
		z-index: 1 !important;
		width: 42% !important; /* Увеличиваем ширину текстовой области */
		display: block !important;
	}

	/* Полностью переопределяем шаги */
	.all-map .step {
		position: static !important;
		left: auto !important;
		top: auto !important;
		margin: 0 0 40px 0 !important;
		padding: 15px 0 !important;
		display: flex !important;
		align-items: center !important;
		gap: 15px !important;
		text-align: left !important;
		transform: unset !important;
	}

	/* Скрываем базовые позиционирования шагов */
	.step:nth-child(1),
	.step:nth-child(2),
	.step:nth-child(3),
	.step:nth-child(4),
	.step:nth-child(5),
	.step:nth-child(6) {
		left: auto !important;
		position: static !important;
	}

	/* Порядок элементов в шаге */
	.all-map .step:nth-child(odd) .bottom { 
		order: 0 !important; 
	}
	.all-map .step:nth-child(odd) .top { 
		order: 1 !important; 
	}
	.all-map .step:nth-child(even) .top { 
		order: 0 !important; 
	}
	.all-map .step:nth-child(even) .bottom { 
		order: 1 !important; 
	}

	/* Кружок с номером */
	.all-map .step:nth-child(odd) .bottom,
	.all-map .step:nth-child(even) .top {
		width: 42px !important;
		height: 42px !important;
		border-radius: 50% !important;
		background: var(--primary-color) !important;
		color: var(--text-dark) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-weight: 700 !important;
		font-size: 18px !important;
		box-shadow: 0 4px 16px rgba(202, 156, 81, 0.3) !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
		margin-bottom: 0 !important;
		margin-top: 0 !important;
	}

	/* Текст шага */
	.all-map .step:nth-child(odd) .top,
	.all-map .step:nth-child(even) .bottom {
		font-size: 15px !important;
		font-weight: 500 !important;
		color: var(--text-light) !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		margin-bottom: 0 !important;
		margin-top: 0 !important;
		display: flex !important;
		align-items: center !important;
		word-wrap: break-word !important;
		hyphens: auto !important;
	}
}

/* Исключение для карты от глобальных ограничений */
.map-container,
.map-container *,
.process-map {
	max-width: none !important;
}

/* Для планшетов 1024px */
@media (max-width: 1024px){
	.steps {
		display: block !important;
		position: relative !important;
		padding: 60px 40px 80px 40px !important;
		min-height: 800px !important;
		overflow: hidden !important;
		background: var(--bg-dark) !important;
		justify-content: unset !important;
		align-items: unset !important;
	}

	.testimonials-header {
		position: relative !important;
		z-index: 2 !important;
		margin-bottom: 40px !important;
		text-align: center !important;
		top: unset !important;
		left: unset !important;
		transform: unset !important;
	}

	.map-container {
		position: absolute !important;
		left: -100px !important;
		top: 260px !important;
		width: 800px !important;
		height: 700px !important;
		z-index: 0 !important;
		overflow: visible !important;
		transform: unset !important;
		margin-top: 0 !important;
	}

	.process-map {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
		transform: rotate(90deg) !important;
		transform-origin: center center !important;
	}

	.all-map {
		position: relative !important;
		margin-left: 50% !important;
		padding-left: 20px !important;
		z-index: 1 !important;
		width: 45% !important;
		display: block !important;
	}

	.all-map .step {
		position: static !important;
		left: auto !important;
		top: auto !important;
		margin: 0 0 40px 0 !important;
		padding: 18px 0 !important;
		display: flex !important;
		align-items: center !important;
		gap: 18px !important;
		text-align: left !important;
		transform: unset !important;
	}

	.step:nth-child(1),
	.step:nth-child(2),
	.step:nth-child(3),
	.step:nth-child(4),
	.step:nth-child(5),
	.step:nth-child(6) {
		left: auto !important;
		position: static !important;
	}

	.all-map .step:nth-child(odd) .bottom { order: 0 !important; }
	.all-map .step:nth-child(odd) .top { order: 1 !important; }
	.all-map .step:nth-child(even) .top { order: 0 !important; }
	.all-map .step:nth-child(even) .bottom { order: 1 !important; }

	.all-map .step:nth-child(odd) .bottom,
	.all-map .step:nth-child(even) .top {
		width: 48px !important;
		height: 48px !important;
		border-radius: 50% !important;
		background: var(--primary-color) !important;
		color: var(--text-dark) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-weight: 700 !important;
		font-size: 20px !important;
		box-shadow: 0 4px 16px rgba(202, 156, 81, 0.3) !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}

	.all-map .step:nth-child(odd) .top,
	.all-map .step:nth-child(even) .bottom {
		font-size: 17px !important;
		font-weight: 500 !important;
		color: var(--text-light) !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		display: flex !important;
		align-items: center !important;
		word-wrap: break-word !important;
		hyphens: auto !important;
	}
}

/* Для планшетов 768px */
@media (max-width: 768px){
	.steps {
		display: block !important;
		position: relative !important;
		padding: 50px 30px 70px 30px !important;
		min-height: 750px !important;
		overflow: hidden !important;
		background: var(--bg-dark) !important;
		justify-content: unset !important;
		align-items: unset !important;
	}



	.testimonials-header {
		position: relative !important;
		z-index: 2 !important;
		margin-bottom: 35px !important;
		text-align: center !important;
		top: unset !important;
		left: unset !important;
		transform: unset !important;
	}

	.map-container {
		position: absolute !important;
		left: -180px !important;
		top: 240px !important;
		width: 850px !important;
		height: 750px !important;
		z-index: 0 !important;
		overflow: visible !important;
		transform: unset !important;
		margin-top: 0 !important;
	}

	.process-map {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
		transform: rotate(90deg) !important;
		transform-origin: center center !important;
	}

	.all-map {
		position: relative !important;
		margin-left: 42% !important;
		margin-top: 10px !important;
		padding-left: 15px !important;
		z-index: 1 !important;
		width: 47% !important;
		display: block !important;
	}

	.all-map .step {
		position: static !important;
		left: auto !important;
		top: auto !important;
		margin: 0 0 58px 0 !important;
		padding: 16px 0 !important;
		display: flex !important;
		align-items: center !important;
		gap: 16px !important;
		text-align: left !important;
		transform: unset !important;
	}

	.step:nth-child(1),
	.step:nth-child(2),
	.step:nth-child(3),
	.step:nth-child(4),
	.step:nth-child(5),
	.step:nth-child(6) {
		left: auto !important;
		position: static !important;
	}

	.all-map .step:nth-child(odd) .bottom { order: 0 !important; }
	.all-map .step:nth-child(odd) .top { order: 1 !important; }
	.all-map .step:nth-child(even) .top { order: 0 !important; }
	.all-map .step:nth-child(even) .bottom { order: 1 !important; }

	.all-map .step:nth-child(odd) .bottom,
	.all-map .step:nth-child(even) .top {
		width: 45px !important;
		height: 45px !important;
		border-radius: 50% !important;
		background: var(--primary-color) !important;
		color: var(--text-dark) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-weight: 700 !important;
		font-size: 19px !important;
		box-shadow: 0 4px 16px rgba(202, 156, 81, 0.3) !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}

	.all-map .step:nth-child(odd) .top,
	.all-map .step:nth-child(even) .bottom {
		font-size: 16px !important;
		font-weight: 500 !important;
		color: var(--text-light) !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		display: flex !important;
		align-items: center !important;
		word-wrap: break-word !important;
		hyphens: auto !important;
	}
}

/* Для телефонов 480px - ТЕКУЩИЕ СТИЛИ */
@media (max-width: 480px){
	.steps {
		display: block !important;
		position: relative !important;
		padding: 32px 16px 64px 16px !important;
		min-height: 900px !important;
		overflow: hidden !important;
		background: var(--bg-dark) !important;
		justify-content: unset !important;
		align-items: unset !important;
	}

	.testimonials-header {
		position: relative !important;
		z-index: 2 !important;
		margin-bottom: 30px !important;
		text-align: center !important;
		top: unset !important;
		left: unset !important;
		transform: unset !important;
	}

	.map-container {
		position: absolute !important;
		left: -250px !important;
		top: 70px !important;
		width: 700px !important;
		height: 850px !important;
		z-index: 0 !important;
		overflow: visible !important;
		transform: unset !important;
		margin-top: 0 !important;
	}

	.process-map {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
		transform: rotate(90deg) !important;
		transform-origin: center center !important;
	}

	.all-map {
		position: relative !important;
		margin-left: 45% !important;
		padding-left: 8px !important;
		z-index: 1 !important;
		margin-top: 10px !important;
		width: 42% !important;
		display: block !important;
	}

	.all-map .step {
		position: static !important;
		left: auto !important;
		top: auto !important;
		margin: 0 0 40px 0 !important;
		padding: 15px 0 !important;
		display: flex !important;
		align-items: center !important;
		gap: 15px !important;
		text-align: left !important;
		transform: unset !important;
	}

	.step:nth-child(1),
	.step:nth-child(2),
	.step:nth-child(3),
	.step:nth-child(4),
	.step:nth-child(5),
	.step:nth-child(6) {
		left: auto !important;
		position: static !important;
	}

	.all-map .step:nth-child(odd) .bottom { order: 0 !important; }
	.all-map .step:nth-child(odd) .top { order: 1 !important; }
	.all-map .step:nth-child(even) .top { order: 0 !important; }
	.all-map .step:nth-child(even) .bottom { order: 1 !important; }

	.all-map .step:nth-child(odd) .bottom,
	.all-map .step:nth-child(even) .top {
		width: 42px !important;
		height: 42px !important;
		border-radius: 50% !important;
		background: var(--primary-color) !important;
		color: var(--text-dark) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		font-weight: 700 !important;
		font-size: 18px !important;
		box-shadow: 0 4px 16px rgba(202, 156, 81, 0.3) !important;
		flex-shrink: 0 !important;
		margin: 0 !important;
	}

	.all-map .step:nth-child(odd) .top,
	.all-map .step:nth-child(even) .bottom {
		font-size: 15px !important;
		font-weight: 500 !important;
		color: var(--text-light) !important;
		line-height: 1.4 !important;
		margin: 0 !important;
		display: flex !important;
		align-items: center !important;
		word-wrap: break-word !important;
		hyphens: auto !important;
	}
}

/* Для маленьких телефонов 360px */
@media (max-width: 360px){
	.steps {
		min-height: 800px !important;
		padding: 28px 12px 60px 12px !important;
	}

	.testimonials-header {
		position: relative !important;
		z-index: 2 !important;
		margin-bottom: 0px !important;
		text-align: center !important;
		top: unset !important;
		left: unset !important;
		transform: unset !important;
	}
	
	.map-container {
		left: -200px !important;
		width: 600px !important;
		height: 700px !important;
	}

	.all-map {
		margin-left: 42% !important;
		width: 50% !important;
		margin-top: 13px !important;
		padding-left: 5px !important;
	}

	.all-map .step {
		margin: 0 0 28px 0 !important;
		gap: 12px !important;
	}

	.all-map .step:nth-child(odd) .bottom,
	.all-map .step:nth-child(even) .top {
		width: 38px !important;
		height: 38px !important;
		font-size: 16px !important;
	}

	.all-map .step:nth-child(odd) .top,
	.all-map .step:nth-child(even) .bottom {
		font-size: 14px !important;
	}
}

/* Contact Section */
.contact-section {
	position: relative;
	padding: 100px 150px;
	background: #1a1a1a;
	color: #fff;
}

.contact-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--primary-color) 50%,
		transparent 100%
	);
}

/* Contact Section Header Styles - унифицированные заголовки */
.contact-section .services-header {
	text-align: left;
	margin-bottom: 40px;
	position: relative;
}

/* Contact Section Subtitle - делаем как у всех остальных секций */
.contact-section .services-subtitle {
	font-size: 28px;
	font-weight: 300;
	color: #888;
	letter-spacing: 2px;
	margin-bottom: 5px;
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 0;
	position: static;
	opacity: 1;
	transform: translateX(0);
	transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.contact-section .services-subtitle::before {
	content: '';
	width: 150px;
	height: 2px;
	background: #888;
	display: block;
	flex-shrink: 0;
}

.contact-section .services-main-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-white);
	margin: 0;
}

.contact-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 3rem;
	display: grid;
	grid-template-columns: 1.8fr 1.2fr;
	gap: 80px;
	align-items: center;
}

.contact-content {
	max-width: 100%;
	width: 100%;
	text-align: left; /* Убеждаемся, что родительский элемент выровнен по левому краю */
}

.contact-map {
	overflow: hidden; /* ОБЯЗАТЕЛЬНО скрываем всё что выходит за границы */

	max-width: 100%;
	box-sizing: border-box;
}

.contact-map img {
	height: 700px;
	max-width: 100%;
	object-fit: contain;
	display: block;
	border: none;
	outline: none;
	box-shadow: none;
	box-sizing: border-box;
}

.contact-title {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin-bottom: 30px;
}

.contact-description {
	font-size: 18px;
	line-height: 1.6;
	color: #b8b8b8;
	margin-bottom: 20px; /* Уменьшаем нижний отступ */
	margin-top: 10px; /* Уменьшаем верхний отступ */
	text-align: left; /* Выравниваем по левому краю */
}

.contact-form-wrapper {
	background: #f4f4f4;
	padding: 40px;
	border-radius: 12px;
	max-width: 500px;
	width: 100%;
	margin-left: -50px;
}

.contact-form-wrapper .contact-form {
	margin: 0;
}

.contact-form-wrapper .form-input,
.contact-form-wrapper .form-textarea {
	background: #f8f9fa;
	border: 1px solid #ddd;
	color: #161616;
}

.contact-form-wrapper .form-input::placeholder,
.contact-form-wrapper .form-textarea::placeholder {
	color: #8b8b8b;
	font-weight: 500;
}

.contact-form-wrapper .form-submit-btn {
	width: 100%;
	margin-top: 20px;
}


/* Адаптация для планшетов */
@media (max-width: 1024px) {
	.contact-section {
		padding: 80px 40px;
	}

	.contact-container {
		max-width: 100%;
		padding: 0 20px;
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.contact-title {
		font-size: 38px;
		text-align: center;
	}

	.contact-description {
		font-size: 17px;
		text-align: center;
		margin-bottom: 30px;
	}

	.contact-map {
		text-align: center;
		margin-bottom: 40px;
	}

	.contact-map img {
		height: 600px;
		width: 100%;
		max-width: 900px;
		object-fit: contain;
	}

	.contact-info {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		justify-items: center;
		margin-top: 40px;
	}

	.contact-item:nth-child(3) {
		max-width: 450px;
		min-width: 400px;
	}

	.contact-item {
		max-width: 300px;
		width: 100%;
		justify-content: center;
		text-align: center;
		align-items: center;
	}

	.contact-form-wrapper {
		max-width: 600px;
		margin: 0 auto;
		padding: 40px 30px;
	}

	/* Адаптивные стили для заголовка контактной секции */
	.contact-section .services-subtitle {
		font-size: 24px;
		gap: 15px;
	}

	.contact-section .services-subtitle::before {
		width: 120px;
	}
	
	.contact-section .services-main-title {
		font-size: 36px;
	}
}

/* Адаптация для средних планшетов */
@media (max-width: 900px) {
	.contact-section {
		padding: 70px 30px;
	}

	.contact-container {
		gap: 50px;
	}

	.contact-title {
		font-size: 36px;
	}

	.contact-map img {

	}

	.contact-info {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
		justify-items: center;
	}

	.contact-item {
		flex-direction: column;
		text-align: center;
		align-items: center;
		gap: 10px;
	}

	.contact-details {
		text-align: center;
	}

	.contact-icon {
		width: 38px;
		height: 38px;
		flex-shrink: 0;
	}

	.contact-icon svg {
		width: 17px;
		height: 17px;
	}
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
	.contact-section {
		padding: 60px 20px;
		overflow-x: hidden; /* ОБЯЗАТЕЛЬНО скрываем горизонтальную прокрутку */
	}

	.contact-container {
		max-width: 100%;
		padding: 0 1rem;
		grid-template-columns: 1fr;
		gap: 40px;
		overflow: hidden; /* ОБЯЗАТЕЛЬНО скрываем переполнение */
		box-sizing: border-box;
	}

	.contact-title {
		font-size: 32px;
		text-align: center;
	}

	.contact-description {
		font-size: 16px;
		text-align: center;
		margin-bottom: 25px;
	}

	.services-subtitle {
		text-align: center !important;
		display: block !important;
		width: 100% !important;
	}

	.services-header {
		text-align: center !important;
		width: 100% !important;
	}

	.contact-section .services-header {
		text-align: center;
		margin-bottom: 30px;
	}

	/* Мобильные стили для подзаголовка контактов */
	.contact-section .services-subtitle {
		font-size: 18px;
		letter-spacing: 1px;
		gap: 12px;
		justify-content: center;
	}

	.contact-section .services-subtitle::before {
		width: 80px;
	}
	
	.contact-section .services-main-title {
		font-size: 26px;
		text-align: center;
	}

	.contact-map {
		margin: 0;
		
		text-align: center;
		padding: 0;
		overflow: hidden; /* ОБЯЗАТЕЛЬНО скрываем переполнение */
		box-sizing: border-box;
		position: relative;
	}

	.contact-map img {
		width: 100%;
		max-width: 100%; /* ОБЯЗАТЕЛЬНО ограничиваем */
		object-fit: cover;
		object-position: center;
		margin: 0;
		display: block;
		box-sizing: border-box;
	}

	.contact-content {
		padding: 40px 20px; /* Добавляем отступы только для контента */
		background: #1a1a1a; /* Фон для контента */
	}

	.contact-info {
		display: flex !important;
		flex-direction: column !important;
		gap: 15px !important;
		margin-top: 30px;
		align-items: stretch;
		width: 100%;
		grid-template-columns: none !important;
	}

	.contact-item {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		min-width: auto !important;
		max-width: none !important;
		width: 100% !important;
		gap: 10px !important;
		padding: 15px !important;
		background: rgba(255, 255, 255, 0.03);
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		transition: all 0.3s ease;
		margin: 0 !important;
		box-sizing: border-box;
	}

	.contact-item:hover {
		background: rgba(255, 255, 255, 0.05);
		border-color: var(--primary-color);
		transform: translateY(-2px);
	}

	.contact-icon {
		flex-shrink: 0 !important;
		width: 40px !important;
		height: 40px !important;
		margin: 0 auto !important;
	}

	.contact-icon svg {
		width: 18px !important;
		height: 18px !important;
	}

	.contact-details {
		flex: 1;
		text-align: center !important;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center !important;
	}

	.contact-label {
		font-size: 16px !important;
		margin-bottom: 6px !important;
		text-align: center !important;
		width: 100% !important;
		font-weight: 600 !important;
		color: var(--primary-color) !important;
		display: block !important;
	}

	.contact-value {
		font-size: 14px !important;
		line-height: 1.4;
		text-align: center !important;
		width: 100%;
		color: #fff;
		margin: 0;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.contact-value p {
		margin: 0;
		line-height: 1.4;
		font-size: 14px !important;
		text-align: center !important;
	}

	.contact-value p + p {
		margin-top: 2px;
	}

	.contact-form-wrapper {
		padding: 30px 20px;
		max-width: 100%;
		border-radius: 16px;
	}

	.contact-form {
		gap: 20px;
	}

	.form-input,
	.form-textarea {
		width: 100%;
		padding: 15px;
		font-size: 16px;
		border-radius: 8px;
	}

	.form-textarea {
		min-height: 120px;
	}

	.form-submit-btn {
		width: 100%;
		padding: 15px;
		font-size: 16px;
		border-radius: 8px;
		min-height: 48px;
	}
}

/* Адаптация для маленьких мобильных */
@media (max-width: 480px) {
	.contact-section {
		padding: 40px 15px;
		overflow-x: hidden;
	}

	.contact-container {
		padding: 0 0.5rem;
		gap: 30px;
		overflow: hidden;
		box-sizing: border-box;
	}

	.contact-map {
		height: 250px; /* Еще меньше для маленьких экранов */
		margin: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}

	.contact-map img {
		height: 250px;
		width: 100%;
		max-width: 100%;
		object-fit: cover;
		object-position: center;
		box-sizing: border-box;
	}

	.contact-content {
		padding: 30px 15px;
		background: #1a1a1a;
	}

	.contact-section .services-subtitle {
		font-size: 18px;
		letter-spacing: 0.5px;
		gap: 8px;
		justify-content: center;
	}

	.contact-section .services-subtitle::before {
		width: 40px;
	}
	
	.contact-section .services-main-title {
		font-size: 20px;
	}
	
	/* Адаптация контактной информации */
	.contact-info {
		grid-template-columns: 1fr;
		gap: 15px;
		align-items: center;
		margin-top: 25px;
		width: 100%;
	}
	
	.contact-item {
		flex-direction: column;
		text-align: center;
		min-width: auto;
		max-width: none;
		width: 100%;
		gap: 10px;
		min-height: auto;
		padding: 20px 15px;
		background: rgba(255, 255, 255, 0.03);
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		align-items: center;
		margin: 0 auto;
	}

	.contact-item:hover {
		background: rgba(255, 255, 255, 0.05);
		transform: translateY(-1px);
	}
	
	.contact-icon {
		width: 32px;
		height: 32px;
		align-self: center;
		margin: 0 auto 5px auto;
	}
	
	.contact-icon svg {
		width: 14px;
		height: 14px;
	}
	
	.contact-details {
		text-align: center;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.contact-label {
		font-size: 13px;
		margin-bottom: 4px;
		text-align: center;
		width: 100%;
	}
	
	.contact-value {
		font-size: 14px;
		line-height: 1.4;
		text-align: center;
		width: 100%;
	}
	
	/* Адаптация формы */
	.contact-form-wrapper {
		padding: 25px 15px;
		max-width: 100%;
		border-radius: 12px;
	}
	
	.contact-form {
		gap: 15px;
	}
	
	.form-input,
	.form-textarea {
		padding: 12px;
		font-size: 16px;
		width: 100%;
		border-radius: 6px;
	}
	
	.form-textarea {
		min-height: 100px;
	}
	
	.form-submit-btn {
		padding: 12px 20px;
		font-size: 15px;
		width: 100%;
		border-radius: 6px;
		min-height: 44px;
	}
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
	.contact-section {
		padding: 0;
		min-height: 100vh;
		overflow: hidden;
	}

	.contact-container {
		padding: 0;
		gap: 0;
		min-height: 100vh;
		overflow: hidden;
	}

	.contact-map {
		height: 76vh;
		margin: 0;
		width: 100%;
		max-width: 100vw;
		overflow: hidden;
	}

	.contact-map img {
		height: 631px;
		width: 100%;
		max-width: 100%;
		object-fit: cover;
		object-position: center;
	}

	.contact-title {
		font-size: 28px;
		text-align: center;
	}
	
	.contact-description {
		font-size: 15px;
		text-align: center;
		margin-bottom: 20px;
	}

	.contact-content {
		padding: 30px 15px;
		background: #1a1a1a;
	}

	.contact-section .services-subtitle {
		display: flex !important;
		font-size: 18px;
		letter-spacing: 0.5px;
		gap: 8px;
		justify-content: center;
		
	}

	.contact-section .services-subtitle::before {
		width: 60px;
	}
	
	.contact-section .services-main-title {
		font-size: 20px;
	}
	
	/* Адаптация контактной информации */
	.contact-info {
		grid-template-columns: 1fr;
		gap: 15px;
		align-items: center;
		margin-top: 25px;
		width: 100%;
	}
	
	.contact-item {
		flex-direction: column;
		text-align: center;
		min-width: auto;
		max-width: none;
		width: 100%;
		gap: 10px;
		min-height: auto;
		padding: 20px 15px;
		background: rgba(255, 255, 255, 0.03);
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		align-items: center;
		margin: 0 auto;
	}

	.contact-item:hover {
		background: rgba(255, 255, 255, 0.05);
		transform: translateY(-1px);
	}
	
	.contact-icon {
		width: 32px;
		height: 32px;
		align-self: center;
		margin: 0 auto 5px auto;
	}
	
	.contact-icon svg {
		width: 14px;
		height: 14px;
	}
	
	.contact-details {
		text-align: center;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.contact-label {
		font-size: 13px;
		margin-bottom: 4px;
		text-align: center;
		width: 100%;
	}
	
	.contact-value {
		font-size: 14px;
		line-height: 1.4;
		text-align: center;
		width: 100%;
	}
	
	/* Адаптация формы */
	.contact-form-wrapper {
		padding: 25px 15px;
		max-width: 100%;
		border-radius: 12px;
	}
	
	.contact-form {
		gap: 15px;
	}
	
	.form-input,
	.form-textarea {
		padding: 12px;
		font-size: 16px;
		width: 100%;
		border-radius: 6px;
	}
	
	.form-textarea {
		min-height: 100px;
	}
	
	.form-submit-btn {
		padding: 12px 20px;
		font-size: 15px;
		width: 100%;
		border-radius: 6px;
		min-height: 44px;
	}
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 360px) {
	.contact-section {
		padding: 40px 10px;
	}

	.contact-container {
		padding: 0 10px;
		gap: 25px;
	}

	.contact-title {
		font-size: 24px;
	}

	.contact-description {
		font-size: 14px;
		margin-bottom: 15px;
	}

	.contact-map {
		margin-bottom: 20px;
		text-align: right;
		padding-left: 10px;
	}

	.contact-map img {
		height: 300px;
		width: 100%;
		object-fit: contain;
		margin-left: auto;
		display: block;
	}

	.contact-section .services-subtitle {
		display: flex;
		font-size: 14px;
		letter-spacing: 0.5px;
		gap: 8px;
		justify-content: center;
	}

	.contact-section .services-subtitle::before {
		width: 40px;
	}
	
	.contact-section .services-main-title {
		font-size: 20px;
	}

	.contact-info {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 20px;
		align-items: center;
		width: 100%;
	}

	.contact-item {
		gap: 8px;
		padding: 15px 10px;
		align-items: center;
		text-align: center;
		max-width: none;
		width: 100%;
		margin: 0 auto;
	}

	.contact-icon {
		margin: 0 auto;
	}

	.contact-details {
		text-align: center;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.contact-icon {
		width: 28px;
		height: 28px;
	}

	.contact-icon svg {
		width: 12px;
		height: 12px;
	}

	.contact-label {
		font-size: 12px;
		text-align: center;
		width: 100%;
	}

	.contact-value {
		font-size: 13px;
		text-align: center;
		width: 100%;
	}

	.contact-form-wrapper {
		padding: 20px 10px;
	}

	.contact-form {
		gap: 12px;
	}

	.form-input,
	.form-textarea {
		padding: 10px;
		font-size: 16px;
	}

	.form-textarea {
		min-height: 80px;
	}

	.form-submit-btn {
		padding: 10px 15px;
		font-size: 14px;
		min-height: 40px;
	}
}

/* Оптимизация для сенсорных устройств */
@media (hover: none) and (pointer: coarse) {
	.form-input,
	.form-textarea {
		font-size: 16px !important; /* Предотвращает зум на iOS */
	}
	
	.form-submit-btn {
		min-height: 44px; /* Минимальная высота для удобного нажатия */
	}
	
	.contact-item {
		min-height: 44px;
		justify-content: center;
	}

	.contact-value a {
		display: inline-block;
		padding: 5px 0;
		min-height: 44px;
		line-height: 1.2;
	}
}

/* Дополнительные улучшения для лучшего UX */
@media (max-width: 768px) {
	.contact-value a[href^="tel:"] {
		color: var(--primary-color);
		font-weight: 600;
		text-decoration: underline;
	}

	.contact-value a[href^="mailto:"] {
		color: var(--primary-color);
		font-weight: 600;
		text-decoration: underline;
	}

	.contact-value a:active {
		background: rgba(244, 185, 66, 0.1);
		border-radius: 4px;
		padding: 2px 4px;
	}
}

/* Анимации для улучшения взаимодействия */
@media (max-width: 768px) {
	.contact-item {
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.contact-form-wrapper {
		transition: all 0.3s ease;
	}

	.form-input:focus,
	.form-textarea:focus {
		transform: scale(1.02);
		box-shadow: 0 4px 12px rgba(244, 185, 66, 0.2);
	}
}

/* Contact Info Styles */
/* Перенос контактов: снимаем жёсткие ширины и включаем гибкую сетку */
.contact-info {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 24px !important;
	justify-items: start;
	align-items: start;
	margin-top: 40px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 70px;
	flex: 1;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important; /* ключ для сжатия в гриде */
	text-align: left;
}

.contact-item:nth-child(3) {
	max-width: none !important;
	min-width: 0 !important;
}

/* Чуть компактнее на средних экранах */
@media (max-width: 1200px) {
	.contact-info {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px !important;
	}
}

/* На узких экранах — одна колонка */
@media (max-width: 900px) {
	.contact-info {
		grid-template-columns: 1fr !important;
	}
}

.contact-icon {
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.contact-icon svg {
	width: 18px;
	height: 18px;
	color: #1f1b1c;
}

.contact-details {
	flex: 1;
}

.contact-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--primary-color);
	margin: 0 0 8px 0;
	line-height: 1.2;
	min-height: 20px;
	display: flex;
	align-items: center;
}

.contact-value {
	font-size: 15px;
	color: #fff;
	margin: 0;
	line-height: 1.4;
	min-height: 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.contact-value p {
	margin: 0 0 4px 0;
	display: block;
	line-height: 1.3;
	position: relative;
	padding-left: 20px;
}

.contact-value p::before {
	content: "•";
	color: var(--primary-color);
	font-weight: bold;
	position: absolute;
	left: 0;
	top: 0;
}

.contact-value p:not(:last-child)::after {
	content: "";
	margin: 0;
}

.contact-value p:last-child {
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.contact-value a {
	color: #fff;
	text-decoration: none;
}

.contact-value p:last-child {
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Специальные стили для email адреса */
.contact-item:nth-child(2) .contact-value {
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.contact-value a:hover {
	color: #f4b942;
}

@media (max-width: 768px) {
	.contact-info {
		margin-top: 30px;
	}

	.contact-item {
		margin-bottom: 25px;
	}

	.contact-icon {
		width: 36px;
		height: 36px;
	}

	.contact-icon svg {
		width: 16px;
		height: 16px;
	}

	.contact-label {
		font-size: 13px;
	}

	.contact-value {
		font-size: 13px;
	}
}

/* Footer */
.footer {
	background: #000;
	color: #fff;
	padding: 80px 150px 0;
}

.footer-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 80px;
	margin-bottom: 60px;
}

.footer-brand {
	max-width: 400px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 20px;
}

.footer-logo img {
	height: 150px;
	object-fit: cover;
	object-position: center;
}

.footer-description {
	font-size: 16px;
	line-height: 1.6;
	color: #888;
	margin-bottom: 30px;
}

.footer-social {
	display: flex;
	gap: 15px;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: var(--primary-color);
	transform: translateY(-3px);
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.footer-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
	letter-spacing: 1px;
}

.footer-menu {
	list-style: none;
}

.footer-menu li {
	margin-bottom: 12px;
}

.footer-menu a {
	color: #888;
	text-decoration: none;
	font-size: 16px;
	transition: color 0.3s ease;
}

.footer-menu a:hover {
	color: var(--primary-color);
}

.contact-info-footer p {
	color: #888;
	font-size: 16px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 30px 0;
}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.copyright {
	color: #888;
	font-size: 14px;
}

.footer-bottom-links {
	display: flex;
	gap: 30px;
}

.footer-bottom-links a {
	color: #888;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
	color: #d4af37;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.cta-content {
		grid-template-columns: 1fr;
		gap: 50px;
		text-align: center;
	}

	.footer {
		padding: 60px 40px 0;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.footer-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.footer-brand {
		max-width: 100%;
		text-align: center;
	}

	.footer-logo {
		justify-content: center;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-bottom-content {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer-bottom-links {
		justify-content: center;
		flex-wrap: wrap;
		gap: 20px;
	}
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
	.footer {
		padding: 50px 20px 0;
	}

	.footer-container {
		padding: 0 15px;
	}

	.footer-content {
		gap: 40px;
		margin-bottom: 40px;
	}

	.footer-links {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}

	.footer-brand {
		text-align: center;
	}

	.footer-logo img {
		height: 120px;
	}

	.footer-description {
		font-size: 15px;
		text-align: center;
	}

	.footer-social {
		justify-content: center;
		gap: 12px;
	}

	.social-link {
		width: 40px;
		height: 40px;
	}

	.footer-title {
		font-size: 16px;
		text-align: center;
	}

	.footer-menu {
		text-align: center;
	}

	.footer-menu a {
		font-size: 15px;
	}

	.contact-info-footer p {
		font-size: 15px;
		justify-content: center;
	}

	.footer-bottom {
		padding: 25px 0;
	}

	.footer-bottom-content {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.footer-bottom-links {
		flex-direction: column;
		gap: 15px;
	}

	.copyright {
		font-size: 13px;
	}

	.footer-bottom-links a {
		font-size: 13px;
	}
}

/* Адаптация для маленьких мобильных */
@media (max-width: 480px) {
	.footer {
		padding: 40px 15px 0;
	}

	.footer-container {
		padding: 0 10px;
	}

	.footer-content {
		gap: 30px;
		margin-bottom: 30px;
	}

	.footer-logo img {
		height: 100px;
	}

	.footer-description {
		font-size: 14px;
		line-height: 1.5;
	}

	.footer-social {
		gap: 10px;
	}

	.social-link {
		width: 36px;
		height: 36px;
	}

	.footer-title {
		font-size: 15px;
		margin-bottom: 15px;
	}

	.footer-menu li {
		margin-bottom: 10px;
	}

	.footer-menu a {
		font-size: 14px;
	}

	.contact-info-footer p {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.footer-bottom {
		padding: 20px 0;
	}

	.footer-bottom-content {
		gap: 12px;
	}

	.footer-bottom-links {
		gap: 12px;
	}

	.copyright,
	.footer-bottom-links a {
		font-size: 12px;
	}
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 360px) {
	.footer {
		padding: 30px 10px 0;
	}

	.footer-content {
		gap: 25px;
		margin-bottom: 25px;
	}

	.footer-logo img {
		height: 80px;
	}

	.footer-description {
		font-size: 13px;
	}

	.social-link {
		width: 32px;
		height: 32px;
	}

	.footer-title {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.footer-menu a {
		font-size: 13px;
	}

	.contact-info-footer p {
		font-size: 13px;
	}

	.footer-bottom {
		padding: 15px 0;
	}

	.copyright,
	.footer-bottom-links a {
		font-size: 11px;
	}
}

/* SMS Consent Modal Styles */
.consent-link {
	color: var(--primary-color);
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.3s ease;
}

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

/* Базовые стили для всех модалок */
.modal,
.portfolio-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	animation: modalFadeIn 0.3s ease-out;
}

.modal.show,
.portfolio-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Специфичные стили для SMS Consent Modal */
#consentModal {
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
}

#consentModal .modal-content {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border-radius: 16px;
	max-width: 600px;
	width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	border: 1px solid rgba(202, 156, 81, 0.3);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	animation: modalSlideIn 0.3s ease-out;
	margin: 0 auto;
	color: #ffffff;
}

#consentModal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
	border-radius: 16px 16px 0 0;
}

#consentModal .modal-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#consentModal .modal-close {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 20px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

#consentModal .modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.4);
	transform: scale(1.1);
	color: #ff3b30;
}

#consentModal .modal-body {
	padding: 24px 32px;
	line-height: 1.6;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

#consentModal .modal-body h4 {
	color: var(--primary-color);
	font-size: 18px;
	font-weight: 600;
	margin: 20px 0 12px 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#consentModal .modal-body h4:first-child {
	margin-top: 0;
}

#consentModal .modal-body p {
	color: #cccccc;
	font-size: 15px;
	margin-bottom: 16px;
	line-height: 1.6;
}

#consentModal .modal-body ul {
	color: #e0e0e0;
	margin: 12px 0;
	padding-left: 20px;
}

#consentModal .modal-body li {
	color: #e0e0e0;
	margin: 10px 0;
	font-size: 14px;
	line-height: 1.5;
}

#consentModal .modal-body strong {
	color: var(--primary-color);
	font-weight: 600;
}

#consentModal .modal-note {
	background: linear-gradient(135deg, rgba(202, 156, 81, 0.1) 0%, rgba(202, 156, 81, 0.05) 100%);
	padding: 16px;
	border-radius: 8px;
	border-left: 4px solid var(--primary-color);
	margin-top: 20px;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#consentModal .modal-note strong {
	color: var(--primary-color);
}

#consentModal .modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 16px 32px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
	border-radius: 0 0 16px 16px;
}

#consentModal .modal-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	min-width: 120px;
}

#consentModal .modal-btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #cccccc;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

#consentModal .modal-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#consentModal .modal-btn-primary {
	background: linear-gradient(135deg, var(--primary-color) 0%, #b8935a 100%);
	color: #ffffff;
	border: 1px solid var(--primary-color);
}

#consentModal .modal-btn-primary:hover {
	background: linear-gradient(135deg, #b8935a 0%, var(--primary-color) 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(202, 156, 81, 0.4);
}

/* Общие стили для остальных модалок */
.modal-content:not(#consentModal .modal-content) {
	background: #333333;
	border-radius: 20px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	border: 1px solid rgba(202, 156, 81, 0.2);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: modalSlideIn 0.3s ease-out;
	margin: 0 auto;
	color: #ffffff;
}

/* Мобильная адаптация для SMS модалки */
@media (max-width: 768px) {
	#consentModal .modal-content {
		width: 95%;
		max-height: 90vh;
		margin: 20px;
	}

	#consentModal .modal-header,
	#consentModal .modal-body,
	#consentModal .modal-footer {
		padding-left: 20px;
		padding-right: 20px;
	}

	#consentModal .modal-header h3 {
		font-size: 20px;
	}

	#consentModal .modal-footer {
		flex-direction: column;
		gap: 8px;
	}

	#consentModal .modal-btn {
		width: 100%;
		min-width: auto;
	}

	#consentModal .modal-body {
		padding: 20px;
	}

	#consentModal .modal-body h4 {
		font-size: 16px;
	}

	#consentModal .modal-body p,
	#consentModal .modal-body li {
		font-size: 14px;
	}
}



/* Добавляем основной стиль для всех modal-content */
.modal-content,
.legal-modal-content,
.portfolio-modal-content {
	background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
	border-radius: 20px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	border: 1px solid rgba(202, 156, 81, 0.2);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: modalSlideIn 0.3s ease-out;
	margin: 0 auto;
	color: #ffffff;
}

/* Переопределяем все текстовые элементы во всех модальных окнах */
.modal .form-title,
.impressum-modal h3,
.impressum-modal h4,
.datenschutz-modal h3,
.datenschutz-modal h4,
.portfolio-modal h3 {
	color: #ffffff;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.modal .form-description,
.impressum-modal p,
.datenschutz-modal p,
.portfolio-modal p {
	color: #cccccc;
	font-size: 1rem;

	font-weight: 500;
}

.modal .form-input {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(202, 156, 81, 0.3);
	color: #ffffff;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.modal .form-input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.modal .submit-btn {
	background: linear-gradient(135deg, var(--primary-color) 0%, #b8935a 100%);
	color: #ffffff;
	border: none;
	padding: 14px 24px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
}

/* Переопределяем все текстовые элементы в модальных окнах */
.modal * {
	color: #ffffff;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px 16px;
	
}

.modal-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

.modal-close {
	font-size: 28px;
	font-weight: 300;
	color: #999;
	cursor: pointer;
	transition: color 0.3s ease;
	line-height: 1;
	background: none;
	border: none;
	padding: 0;
	width: auto;
	height: auto;
}

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

.modal-body {
	padding: 24px 32px;
	line-height: 1.6;
}

.modal-body h4 {
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	margin: 20px 0 12px 0;
}

.modal-body h4:first-child {
	margin-top: 0;
}

.modal-body p {
	color: #646464;
}

.modal-body ul {
	color: #f1f1f1;
	margin: 12px 0;
	padding-left: 20px;
}

.modal-body li {
	color: #f1f1f1;
	margin: 8px 0;
}

.modal-note {
	background: #f8f9fa;
	padding: 16px;
	border-radius: 8px;
	border-left: 4px solid var(--primary-color);
	margin-top: 20px;
	color: #000000;
}

.modal-note p {
	color: #000;
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 16px 32px 24px;
	border-top: 1px solid #eee;
}

.modal-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.modal-btn-secondary {
	background: #656565;
	color: #666;
	border: 1px solid #ddd;
}

.modal-btn-secondary:hover {
	background: #e9ecef;
	color: #333;
}

.modal-btn-primary {
	background: var(--primary-color);
	color: white;
}

.modal-btn-primary:hover {
	background: var(--primary-color);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px var(--primary-color);
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.modal-content {
		width: 95%;
		max-height: 90vh;
		margin: 20px;
	}

	.modal-header,
	.modal-body,
	.modal-footer {
		padding-left: 20px;
		padding-right: 20px;
	}

	.modal-header h3 {
		font-size: 20px;
	}

	.modal-footer {
		flex-direction: column;
	}

	.modal-btn {
		width: 100%;
	}
}

/* Модальное окно */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
}

.modal.show {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

.modal-content {
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	z-index: 10001;
	animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px 16px;
	
}

.modal-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

.modal-close {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 20px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.4);
	transform: scale(1.1);
}

.modal-body {
	padding: 0;
}

.modal-body .contact-form-wrapper {
	background: transparent;
	padding: 32px;
	border-radius: 0;
	max-width: none;
	width: 100%;
	margin: 0;
}

.modal-body .contact-form-wrapper .form-input,
.modal-body .contact-form-wrapper .form-textarea {
	background: #2a2a2a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.modal-body .contact-form-wrapper .form-input::placeholder,
.modal-body .contact-form-wrapper .form-textarea::placeholder {
	color: #888;
	font-weight: 400;
}

.modal-body .contact-form-wrapper .form-input:focus,
.modal-body .contact-form-wrapper .form-textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(202, 156, 81, 0.2);
}

.modal-body .form-description {
	color: #b8b8b8;
	text-align: left;
}

.modal-body .form-checkbox label {
	color: #b8b8b8;
}

.modal-body .consent-link {
	color: var(--primary-color);
}

.modal-body .consent-link:hover {
	color: #ff6b35;
}

/* Стили для Contact Modal */
#contactModal .modal-content {
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	z-index: 10001;
	animation: modalSlideIn 0.3s ease-out;
}

#contactModal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px 16px;
	
}

#contactModal .modal-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

#contactModal .modal-close {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 20px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

#contactModal .modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.4);
	transform: scale(1.1);
}

#contactModal .modal-body {
	padding: 0;
}

#contactModal .modal-body .contact-form-wrapper {
	background: transparent;
	padding: 32px;
	border-radius: 0;
	max-width: none;
	width: 100%;
	margin: 0;
}

#contactModal .modal-body .contact-form-wrapper .form-input,
#contactModal .modal-body .contact-form-wrapper .form-textarea {
	background: #2a2a2a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

#contactModal .modal-body .contact-form-wrapper .form-input::placeholder,
#contactModal .modal-body .contact-form-wrapper .form-textarea::placeholder {
	color: #888;
	font-weight: 400;
}

#contactModal .modal-body .contact-form-wrapper .form-input:focus,
#contactModal .modal-body .contact-form-wrapper .form-textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(202, 156, 81, 0.2);
}

#contactModal .modal-body .form-description {
	color: #b8b8b8;
	text-align: left;
}

#contactModal .modal-body .form-checkbox label {
	color: #b8b8b8;
}

#contactModal .modal-body .consent-link {
	color: var(--primary-color);
}

#contactModal .modal-body .consent-link:hover {
	color: #ff6b35;
}

/* Скрываем body overflow когда модальное окно открыто */
body.modal-open {
	overflow: hidden !important;
}

.modal-form {
	padding: 2rem;
}

.modal-title {
	font-size: 1.8rem;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 1rem;
	text-align: center;
}

.modal-description {
	color: #666;
	font-size: 1rem;
	margin-bottom: 2rem;
	text-align: center;
	line-height: 1.5;
}

/* Стили для модальных окон */
.modal .contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.modal .form-input:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 2px rgba(202, 156, 81, 0.2);
}

.modal textarea.form-input {
	min-height: 100px;
	resize: vertical;
}

.modal .checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 15px 0;
}

.modal .checkbox-container input[type='checkbox'] {
	margin-top: 3px;
}

.modal .checkbox-container label {
	color: #cccccc;
	font-size: 13px;
	line-height: 1.4;
}

.modal .checkbox-container a {
	color: var(--primary-color);
	text-decoration: underline;
}

.modal .submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(202, 156, 81, 0.3);
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px) scale(0.9);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

body.modal-open {
	overflow: hidden;
}

/* Мобильная адаптация модального окна */
@media (max-width: 768px) {
	.modal-content {
		width: 95%;
		max-height: 90vh;
		margin: 20px;
		border-radius: 16px;
	}
	
	.modal-header {
		padding: 20px 24px 16px;
	}
	
	.modal-header h3 {
		font-size: 20px;
	}
	
	.modal-close {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	
	.modal-body .contact-form-wrapper {
		padding: 24px;
	}
}

@media (max-width: 480px) {
	.modal-content {
		width: 98%;
		margin: 10px;
		border-radius: 12px;
	}
	
	.modal-header {
		padding: 16px 20px;
	}
	
	.modal-header h3 {
		font-size: 18px;
	}
	
	.modal-body .contact-form-wrapper {
		padding: 20px;
	}
}

/* Карусель без текста - только картинки */
.carousel-container {
	position: relative;
	width: 100%;
	height: 100%; /* Увеличиваем высоту, так как нет текста */
	overflow: hidden;
	border-radius: 15px;
	margin-bottom: 0; /* Убираем отступ снизу */
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 100%;
}

.carousel-slide {
	min-width: 100%;
	position: relative;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	height: 100%;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

/* Убираем все стили для текста в каруселях */
.carousel-slide .image-overlay,
.carousel-text-area {
	display: none !important;
}

.carousel-text-area h3,
.carousel-text-area p,
.image-overlay h3,
.image-overlay p {
	display: none !important;
}

.carousel-controls {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 15px;
	background: rgba(0, 0, 0, 0.5);
	padding: 10px 20px;
	border-radius: 25px;
	backdrop-filter: blur(10px);
	opacity: 0.8;
	transition: opacity 0.3s ease;
	z-index: 10;
}

.service-image:hover .carousel-controls {
	opacity: 1;
}

.carousel-btn {
	background: rgba(255, 255, 255, 0.3);
	border: none;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: white;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.5);
	transform: scale(1.1);
}

.carousel-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.carousel-btn svg {
	width: 18px;
	height: 18px;
}

/* Точки внизу по центру */
.carousel-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	background: rgba(0, 0, 0, 0.3);
	padding: 8px 15px;
	border-radius: 20px;
	backdrop-filter: blur(10px);
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: var(--primary-color);
	transform: scale(1.2);
}

.dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

/* Анимация для автопроигрывания */
.carousel-container.auto-playing .dot.active {
	animation: pulse 3s infinite;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1.2);
	}
	50% {
		transform: scale(1.4);
	}
}

/* Стрелки по бокам карусели (нормальный вид) */
.carousel-nav-side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: auto;
	right: auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;

	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

	cursor: pointer;
	opacity: 0; /* скрыты по умолчанию */
	pointer-events: none; /* и недоступны */
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;

	z-index: 1000;
}

/* Показываем стрелки только когда картинка активна или при наведении */
.service-image.active .carousel-nav-side,
.service-image:hover .carousel-nav-side {
	opacity: 1;
	pointer-events: auto;
}

/* Позиции левой/правой кнопки */
.carousel-nav-side.prev-btn {
	left: 16px;
}
.carousel-nav-side.next-btn {
	right: 16px;
}

.carousel-nav-side:hover {
	background: rgba(0, 0, 0, 0.75);
	transform: translateY(-50%) scale(1.06);
}

.carousel-nav-side svg {
	width: 20px;
	height: 20px;
}

/* Убираем старые стили carousel-controls */
.carousel-controls {
	display: none;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
	.carousel-nav-side {
		width: 36px;
		height: 36px;
	}
	.carousel-nav-side.prev-btn {
		left: 10px;
	}
	.carousel-nav-side.next-btn {
		right: 10px;
	}
	.carousel-nav-side svg {
		width: 16px;
		height: 16px;
	}

	.carousel-dots {
		bottom: 15px;
		padding: 6px 12px;
	}
}

/* Portfolio Modal Styles */
.portfolio-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.portfolio-modal.active {
	display: flex;
	opacity: 1;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(88, 88, 88, 0.05);
	backdrop-filter: blur(10px);
}

.portfolio-modal .modal-content {
	position: relative;
	width: 95%;
	max-width: 900px;
	height: 90%;
	margin: auto;
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	border-radius: 12px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(202, 156, 81, 0.2);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
	animation: modalSlideIn 0.3s ease-out;
}

.portfolio-modal .modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #ffffff;
	z-index: 10;
	font-size: 18px;
	font-weight: 300;
	line-height: 1;
}

.portfolio-modal .modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.4);
	transform: scale(1.1);
}

.portfolio-modal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
	
	background: #333333;
	border-radius: 12px 12px 0 0;
	padding-right: 60px;
}

.portfolio-modal .modal-header h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
}

.modal-title {
	font-size: 28px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 15px 0;
	line-height: 1.2;
}

.modal-specs {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.modal-spec {
	padding: 8px 16px;
	background: rgba(181, 152, 122, 0.1);
	border: 1px solid var(--primary-color);
	border-radius: 20px;
	font-size: 14px;
	color: var(--primary-color);
	font-weight: 500;
}

.modal-gallery {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-height: 0;
}

.gallery-main {
	position: relative;
	flex: 1;
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #ffffff;
	z-index: 5;
}

.gallery-nav:hover {
	background: rgba(181, 152, 122, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
	left: 20px;
}

.gallery-nav.next {
	right: 20px;
}

.gallery-thumbnails {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 10px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
	height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
	background: rgba(181, 152, 122, 0.1);
	border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 3px;
}

.thumbnail {
	flex-shrink: 0;
	width: 80px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
	border-color: var(--primary-color);
	opacity: 1;
	transform: scale(1.05);
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.modal-content {
		width: 95%;
		height: 95%;
		padding: 20px;
	}

	.modal-title {
		font-size: 22px;
	}

	.modal-specs {
		gap: 10px;
	}

	.modal-spec {
		font-size: 12px;
		padding: 6px 12px;
	}

	.gallery-nav {
		width: 40px;
		height: 40px;
	}

	.gallery-nav.prev {
		left: 10px;
	}

	.gallery-nav.next {
		right: 10px;
	}

	.thumbnail {
		width: 60px;
		height: 45px;
	}
}

@media (max-width: 480px) {
	.modal-content {
		padding: 15px;
	}

	.modal-header {
		margin-bottom: 20px;
		padding-right: 50px;
	}

	.modal-title {
		font-size: 18px;
	}

	.gallery-thumbnails {
		gap: 8px;
	}

	.thumbnail {
		width: 50px;
		height: 38px;
	}
}

/* Улучшенная плавная прокрутка */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Custom Scrollbar - Hide default scrollbar */
::-webkit-scrollbar {
	width: 0px;
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: transparent;
}

/* Firefox */
html {
	scrollbar-width: none;
}

/* Custom scroll progress bar */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(90deg, #fff 0%, #ccc 100%);
	z-index: 9999;
	transition: width 0.1s ease;
}

.scroll-progress::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, #fff 100%);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	z-index: 1000;
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-to-top:hover {
	background: #fff;
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
	transform: translateY(-1px);
}

.scroll-to-top svg {
	transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
	transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 20px;
		right: 20px;
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 480px) {
	.scroll-to-top {
		bottom: 15px;
		right: 15px;
		width: 40px;
		height: 40px;
	}

	.scroll-to-top svg {
		width: 20px;
		height: 20px;
	}
}

/* Animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.scroll-to-top {
		transition: opacity 0.3s ease;
		transform: none;
	}

	.scroll-to-top.visible {
		transform: none;
	}

	.scroll-to-top:hover {
		transform: none;
	}

	.scroll-to-top svg {
		transition: none;
	}

	.scroll-to-top:hover svg {
		transform: none;
	}
}

/* Portfolio Section Styles */
.portfolio-section {
	padding: 80px 150px;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	position: relative;
}

.portfolio-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		var(--primary-color) 50%,
		transparent 100%
	);
}

.portfolio-container {
	max-width: 1650px;
	margin: 0 auto;
	padding: 0 20px;
}

.portfolio-header {
	margin-bottom: 60px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.portfolio-card {
	background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	border: 1px solid rgba(181, 152, 122, 0.1);
	position: relative;
}

.portfolio-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		var(--primary-color)
	);
	transition: transform 0.3s ease;
}

.portfolio-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	border-color: var(--primary-color);
}

.portfolio-image {
	width: 100%;
	height: 350px;
	overflow: hidden;
	position: relative;
}

.portfolio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

/* Overlay для затемнения и кнопки */
.portfolio-image::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.portfolio-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 3;
}

.portfolio-btn {
	background: #00000080;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Satoshi', sans-serif;
	box-shadow: 0 4px 15px rgb(34, 34, 34);
	backdrop-filter: blur(2px);
}

.portfolio-btn:hover {
	background: #fff;
	color: #000;
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(255, 255, 255, 0.726);
}

/* Эффекты при наведении на карточку */
.portfolio-card:hover .portfolio-image::before {
	opacity: 1;
}

.portfolio-card:hover .portfolio-overlay {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.portfolio-card:hover .portfolio-image img {
	transform: scale(1.05);
}

.portfolio-info {
	padding: 30px 25px;
}

.portfolio-title {
	font-size: 22px;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 5px 0;
	line-height: 1.3;
}

.portfolio-specs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid rgba(181, 152, 122, 0.1);
}

.spec-item:last-child {
	border-bottom: none;
}

.spec-label {
	font-size: 16px;
	color: #cccccc;
	font-weight: 400;
}

.spec-value {
	font-size: 14px;
	color: var(--primary-color);
	font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.portfolio-section {
		padding: 60px 0;
	}

	.portfolio-container {
		padding: 0 16px;
	}

	.portfolio-header {
		margin-bottom: 40px;
	}

	.portfolio-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 30px;
	}

	.portfolio-image {
		height: 240px;
	}

	.portfolio-btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	.portfolio-info {
		padding: 24px 20px;
	}

	.portfolio-title {
		font-size: 18px;
		margin-bottom: 16px;
	}

	.spec-item {
		padding: 6px 0;
	}

	.spec-label,
	.spec-value {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.portfolio-grid {
		gap: 20px;
	}

	.portfolio-image {
		height: 220px;
	}

	.portfolio-btn {
		padding: 8px 16px;
		font-size: 13px;
	}

	.portfolio-info {
		padding: 20px 16px;
	}

	.portfolio-title {
		font-size: 16px;
	}
}

@media (max-width: 360px) {
	.about-container {
		padding: 0 8px;
		width: calc(100vw - 16px);
	}

	.section-label {
		font-size: 12px;
		letter-spacing: 0.5px;
	}

	.section-label::before {
		width: 16px;
	}

	.about-title {
		font-size: 18px;
	}

	.stat-number {
		font-size: 2rem; /* Добавил для очень маленьких экранов */
	}
}
/* Animation classes for scroll reveal */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.slide-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s ease-out;
}

.slide-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.slide-in-right {
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.8s ease-out;
}

.slide-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.scale-in {
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.8s ease-out;
}

.scale-in.visible {
	opacity: 1;
	transform: scale(1);
}
/* Улучшенная плавная прокрутка */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Impressum and Datenschutz Modal Styles */
.impressum-modal,
.datenschutz-modal {
	display: none;
	position: fixed;
	z-index: 10001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.8),
		rgba(26, 26, 26, 0.9)
	);
	backdrop-filter: blur(10px);
	animation: legalModalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.impressum-modal.show,
.datenschutz-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.legal-modal-content {
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	border-radius: 20px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	width: 90%;
	max-width: 800px;
	max-height: 85vh;
	overflow: hidden;
	position: relative;
	animation: legalModalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.legal-modal-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary-color),
		#ff6b35,
		var(--primary-color)
	);
	background-size: 200% 100%;
	animation: gradientShift 3s ease-in-out infinite;
}

.legal-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 40px 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.02);
}

.legal-modal-header h3 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	letter-spacing: -0.5px;
}

.legal-modal-close {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	font-size: 20px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.legal-modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	border-color: rgba(255, 59, 48, 0.4);
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.legal-modal-body {
	padding: 32px 40px;
	overflow-y: auto;
	max-height: calc(85vh - 140px);
	line-height: 1.7;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.legal-modal-body::-webkit-scrollbar {
	width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--primary-color), #ff6b35);
	border-radius: 4px;
	transition: background 0.3s ease;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #ff6b35, var(--primary-color));
}

.legal-modal-body h4 {
	color: #ffffff;
	font-size: 22px;
	font-weight: 600;
	margin: 32px 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--primary-color);
	position: relative;
}

.legal-modal-body h4:first-child {
	margin-top: 0;
}

.legal-modal-body h4::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 40px;
	height: 2px;
	background: #ff6b35;
}

.legal-modal-body h5 {
	color: #e0e0e0;
	font-size: 18px;
	font-weight: 500;
	margin: 24px 0 12px 0;
	position: relative;
	padding-left: 20px;
}

.legal-modal-body h5::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 16px;
	background: linear-gradient(180deg, var(--primary-color), #ff6b35);
	border-radius: 2px;
}

.legal-modal-body p {
	color: #b8b8b8;
	margin: 16px 0;
	font-size: 15px;
	line-height: 1.7;
}

.legal-modal-body p strong {
	color: #ffffff;
	font-weight: 600;
}

.legal-modal-body a {
	color: var(--primary-color);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.legal-modal-body a:hover {
	color: #ff6b35;
	border-bottom-color: #ff6b35;
}

.legal-modal-note {
	background: linear-gradient(
		135deg,
		rgba(255, 107, 53, 0.1),
		rgba(255, 107, 53, 0.05)
	);
	border: 1px solid rgba(255, 107, 53, 0.2);
	padding: 20px;
	border-radius: 12px;
	margin: 24px 0;
	position: relative;
	overflow: hidden;
}

.legal-modal-note::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--primary-color), #ff6b35);
}

.legal-modal-note p {
	color: #ffffff;
	margin: 0;
	font-weight: 500;
}

.legal-modal-note strong {
	color: var(--primary-color);
}

/* Contact Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 32px;
	
}

.modal-header h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #ffffff;
}

.modal-close {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-close:hover {
	background: rgba(255, 59, 48, 0.2);
	transform: scale(1.1);
}

.modal-form {
	padding: 32px;
}

.modal-form .form-group {
	margin-bottom: 20px;
}

.modal-form label {
	display: block;
	margin-bottom: 8px;
	color: #ffffff;
	font-weight: 500;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: #ffffff;
	font-size: 14px;
	transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(202, 156, 81, 0.2);
}

.modal-form textarea {
	resize: vertical;
	min-height: 100px;
}

.modal-form .form-submit-btn {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, var(--primary-color), #ff6b35);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-form .form-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(202, 156, 81, 0.3);
}

@keyframes legalModalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes legalModalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes gradientShift {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

/* Mobile Responsive for Legal Modals */
@media (max-width: 768px) {
	.legal-modal-content {
		width: 95%;
		max-height: 90vh;
		margin: 20px;
		border-radius: 16px;
	}

	.legal-modal-header {
		padding: 24px 24px 20px;
	}

	.legal-modal-header h3 {
		font-size: 24px;
	}

	.legal-modal-close {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.legal-modal-body {
		padding: 24px;
		max-height: calc(90vh - 120px);
	}

	.legal-modal-body h4 {
		font-size: 20px;
		margin: 24px 0 12px 0;
	}

	.legal-modal-body h5 {
		font-size: 16px;
		margin: 20px 0 10px 0;
	}

	.legal-modal-body p {
		font-size: 14px;
	}

	.modal-content {
		width: 95%;
		margin: 20px;
	}

	.modal-header {
		padding: 20px 24px;
	}

	.modal-form {
		padding: 24px;
	}
}

@media (max-width: 480px) {
	.legal-modal-content {
		width: 98%;
		margin: 10px;
		border-radius: 12px;
	}

	.legal-modal-header {
		padding: 20px 20px 16px;
	}

	.legal-modal-header h3 {
		font-size: 22px;
	}

	.legal-modal-body {
		padding: 20px;
	}

	.legal-modal-body h4 {
		font-size: 18px;
	}

	.legal-modal-body h5 {
		font-size: 15px;
		padding-left: 16px;
	}

	.legal-modal-body h5::before {
		width: 3px;
		height: 14px;
	}

	.modal-content {
		width: 98%;
		margin: 10px;
	}

	.modal-header {
		padding: 16px 20px;
	}

	.modal-header h3 {
		font-size: 20px;
	}

	.modal-form {
		padding: 20px;
	}
}

/* ==================================
   EMAIL VERIFICATION MODAL STYLES
   ================================== */

.modal-content-small {
	max-width: 500px;
}

.modal-subtitle {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin: 10px 0 0 0;
	line-height: 1.5;
}

.modal-subtitle strong {
	color: var(--primary-color);
	font-weight: 600;
}

.verification-code-container {
	padding: 20px 0;
}

.verification-code-inputs {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 20px 0;
}

.verification-code-input {
	width: 50px;
	height: 60px;
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-white);
	transition: all 0.3s ease;
	font-family: 'Courier New', monospace;
}

.verification-code-input:focus {
	outline: none;
	border-color: var(--primary-color);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.2);
}

.verification-code-input.filled {
	border-color: var(--primary-color);
	background: rgba(244, 185, 66, 0.1);
}

.verification-code-input.error {
	border-color: #ff4444;
	animation: shake 0.5s;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
	20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.verification-error {
	color: #ff4444;
	font-size: 14px;
	margin: 15px 0;
	padding: 12px;
	background: rgba(255, 68, 68, 0.1);
	border-left: 3px solid #ff4444;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.verification-error::before {
	content: '⚠️';
	font-size: 18px;
}

.verification-timer {
	text-align: center;
	margin-top: 20px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
}

.verification-timer span {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

.verification-timer strong {
	color: var(--primary-color);
	font-size: 16px;
	font-family: 'Courier New', monospace;
}

.verification-timer.expired strong {
	color: #ff4444;
}

/* Mobile responsive */
@media (max-width: 480px) {
	.verification-code-inputs {
		gap: 8px;
	}
	
	.verification-code-input {
		width: 40px;
		height: 50px;
		font-size: 24px;
	}
	
	.modal-content-small {
		width: 95%;
		margin: 10px;
	}
}

/* ==================================
   PORTFOLIO MODAL STYLES
   ================================== */

.portfolio-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.portfolio-modal.active {
	display: flex;
}

.portfolio-modal .modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(10px);
}

.portfolio-modal .modal-content {
	position: relative;
	background: #1a1a1a;
	border-radius: 20px;
	width: 95%;
	height: 90vh;
	max-width: 1800px;
	max-height: 95vh;
	z-index: 10001;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

/* Header with title and close button */
.portfolio-modal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 30px 40px;
	
	background: #333333;
	flex-shrink: 0;
}

.portfolio-modal .modal-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--text-white);
	margin: 0 0 15px 0;
	letter-spacing: -0.5px;
}

.portfolio-modal .modal-specs {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.portfolio-modal .modal-spec {
	padding: 8px 16px;
	background: rgba(244, 185, 66, 0.15);
	border: 1px solid rgba(244, 185, 66, 0.5);
	border-radius: 20px;
	color: var(--primary-color);
	font-size: 14px;
	font-weight: 600;
}

.portfolio-modal .modal-close {
	position: absolute;
	top: 30px;
	right: 40px;
	width: 44px;
	height: 44px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-white);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10003;
}

.portfolio-modal .modal-close:hover {
	background: var(--primary-color);
	transform: rotate(90deg);
}

.portfolio-modal .modal-close svg {
	width: 20px;
	height: 20px;
}

/* Gallery Area */
.modal-gallery {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	min-height: 0;
}

/* Main Image Container */
.gallery-main {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #333333;
	overflow: hidden;
	min-height: 0;
}

.gallery-main img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Navigation Arrows */
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border: none;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	color: var(--text-white);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 2;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-nav:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
	width: 24px;
	height: 24px;
}

.gallery-nav.prev {
	left: 20px;
}

.gallery-nav.next {
	right: 20px;
}

/* Thumbnails Container */
.gallery-thumbnails {
	display: flex;
	gap: 10px;
	padding: 20px 40px;
	background: #00000060;
	overflow-x: auto;
	border-radius: 12px;
	overflow-y: hidden;
	flex-shrink: 0;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.gallery-thumbnails::-webkit-scrollbar {
	height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
	background: #ffc942;
}

.thumbnail {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.05);
}

.thumbnail:hover {
	border-color: rgba(244, 185, 66, 0.6);
	transform: translateY(-2px);
}

.thumbnail.active {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.3);
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.thumbnail:hover img {
	transform: scale(1.05);
}

/* Tablet */
@media (max-width: 1024px) {
	.portfolio-modal .modal-header {
		padding: 25px 30px;
	}

	.portfolio-modal .modal-title {
		font-size: 28px;
	}

	.portfolio-modal .modal-close {
		top: 25px;
		right: 30px;
		width: 40px;
		height: 40px;
	}

	.gallery-thumbnails {
		padding: 15px 30px;
	}

	.thumbnail {
		width: 100px;
		height: 70px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.portfolio-modal .modal-content {
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.portfolio-modal .modal-header {
		padding: 20px;
	}

	.portfolio-modal .modal-title {
		font-size: 22px;
		margin-bottom: 10px;
	}

	.portfolio-modal .modal-spec {
		font-size: 12px;
		padding: 6px 12px;
	}

	.portfolio-modal .modal-close {
		top: 20px;
		right: 20px;
		width: 36px;
		height: 36px;
	}

	.portfolio-modal .modal-close svg {
		width: 18px;
		height: 18px;
	}

	.gallery-nav {
		width: 40px;
		height: 40px;
	}

	.gallery-nav svg {
		width: 20px;
		height: 20px;
	}

	.gallery-nav.prev {
		left: 10px;
	}

	.gallery-nav.next {
		right: 10px;
	}

	.gallery-thumbnails {
		padding: 15px 20px;
		gap: 8px;
	}

	.thumbnail {
		width: 80px;
		height: 60px;
	}
}

/* Contact Form: базовая адаптация без изменений карты */
.contact-form-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

.contact-form .form-row > * {
  flex: 1 1 0;
  min-width: 0;
}

.contact-form .form-input,
.contact-form .form-textarea {
  width: 100%;
  box-sizing: border-box;
}

.contact-form .form-submit-btn {
  width: 100%;
  box-sizing: border-box;
}

/* <=1600px */
@media (max-width: 1600px) {
  .contact-form-wrapper { padding: 32px; }
  .contact-form .form-row { gap: 14px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 14px 18px; font-size: 15px; }
}

/* <=1400px */
@media (max-width: 1400px) {
  .contact-form-wrapper { padding: 30px; }
  .contact-form .form-row { gap: 12px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 13px 16px; font-size: 14px; }
  .contact-form .form-submit-btn { padding: 14px 24px; font-size: 15px; }
}

/* <=1200px */
@media (max-width: 1200px) {
  .contact-form-wrapper { padding: 28px; }
  .contact-form .form-row { gap: 10px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 12px 15px; font-size: 14px; }
  .contact-form .form-submit-btn { padding: 13px 22px; font-size: 14px; }
}

/* <=1024px */
@media (max-width: 1024px) {
  .contact-form-wrapper { padding: 26px; }
  .contact-form .form-row { gap: 8px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 11px 14px; font-size: 13px; }
  .contact-form .form-submit-btn { padding: 12px 20px; font-size: 14px; }
}

/* <=900px: поля в колонку, 100% ширины */
@media (max-width: 900px) {
  .contact-form-wrapper { padding: 24px; }
  .contact-form .form-row { flex-direction: column; gap: 15px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 12px 16px; font-size: 14px; }
  .contact-form .form-submit-btn { padding: 14px 20px; font-size: 14px; }
}

/* <=800px */
@media (max-width: 800px) {
  .contact-form-wrapper { padding: 20px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 10px 14px; font-size: 13px; }
  .contact-form .form-submit-btn { padding: 12px 16px; font-size: 13px; }
}

/* <=480px */
@media (max-width: 480px) {
  .contact-form-wrapper { padding: 18px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 10px 14px; font-size: 13px; }
  .contact-form .form-submit-btn { padding: 12px 16px; font-size: 13px; }
}

/* <=360px */
@media (max-width: 360px) {
  .contact-form-wrapper { padding: 15px; }
  .contact-form .form-input,
  .contact-form .form-textarea { padding: 8px 12px; font-size: 12px; }
  .contact-form .form-submit-btn { padding: 10px 14px; font-size: 12px; }
}

/* Contact Section: снять фиксированную высоту (не трогаем карту) */
.contact-section {
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box;
}

/* Contact Form: адаптация (только форма) */
.contact-section .contact-form-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.contact-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-section .contact-form .form-row {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.contact-section .contact-form .form-row > * {
    flex: 1 1 0;
    min-width: 0;
}

.contact-section .contact-form .form-input,
.contact-section .contact-form .form-textarea,
.contact-section .contact-form .form-submit-btn {
    width: 100%;
    box-sizing: border-box;
}

/* <=1600px */
@media (max-width: 1600px) {
  .contact-section .contact-form-wrapper { padding: 32px; }
  .contact-section .contact-form .form-row { gap: 14px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 14px 18px; font-size: 15px; }
}

/* <=1400px */
@media (max-width: 1400px) {
  .contact-section .contact-form-wrapper { padding: 30px; }
  .contact-section .contact-form .form-row { gap: 12px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 13px 16px; font-size: 14px; }
  .contact-section .contact-form .form-submit-btn { padding: 14px 24px; font-size: 15px; }
}

/* <=1200px */
@media (max-width: 1200px) {
  .contact-section .contact-form-wrapper { padding: 28px; }
  .contact-section .contact-form .form-row { gap: 10px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 12px 15px; font-size: 14px; }
  .contact-section .contact-form .form-submit-btn { padding: 13px 22px; font-size: 14px; }
}

/* <=1024px */
@media (max-width: 1024px) {
  .contact-section .contact-form-wrapper { padding: 26px; }
  .contact-section .contact-form .form-row { gap: 8px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 11px 14px; font-size: 13px; }
  .contact-section .contact-form .form-submit-btn { padding: 12px 20px; font-size: 14px; }
}

/* <=900px: поля в колонку */
@media (max-width: 900px) {
  .contact-section .contact-form-wrapper { padding: 24px; }
  .contact-section .contact-form .form-row { flex-direction: column; gap: 15px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 12px 16px; font-size: 14px; }
  .contact-section .contact-form .form-submit-btn { padding: 14px 20px; font-size: 14px; }
}

/* <=800px */
@media (max-width: 800px) {
  .contact-section .contact-form-wrapper { padding: 20px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 10px 14px; font-size: 13px; }
  .contact-section .contact-form .form-submit-btn { padding: 12px 16px; font-size: 13px; }
}

/* <=480px */
@media (max-width: 480px) {
  .contact-section .contact-form-wrapper { padding: 18px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 10px 14px; font-size: 13px; }
  .contact-section .contact-form .form-submit-btn { padding: 12px 16px; font-size: 13px; }
}

/* <=360px */
@media (max-width: 360px) {
  .contact-section .contact-form-wrapper { padding: 15px; }
  .contact-section .contact-form .form-input,
  .contact-section .contact-form .form-textarea { padding: 8px 12px; font-size: 12px; }
  .contact-section .contact-form .form-submit-btn { padding: 10px 14px; font-size: 12px; }
}



