/* ОСНОВНОЙ CSS БЕЗ ДУБЛИРОВАНИЯ СТАТИСТИКИ */
@font-face {
	font-family: 'Russo One';
	src: url('/fonts/RussoOne-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--primary: #4A5568;        /* Темно-серый */
	--primary-dark: #003d7c;   /* Еще темнее */
	--secondary: #C7A57F;      /* Бежевый (оставить ваш любимый) */
	--light: #EFEFF1;
	--gray: #CBD5E0;           /* Светло-серый */
	--bg-dark: #F7FAFC;        /* Светлый вместо темного */
	--bg-light: #FFFFFF;       /* Чисто белый */
	--home-bg: #FAF5F0;        /* Теплый бежеватый */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Manrope', sans-serif;
	background: var(--light);
	color: var(--secondary);
	overflow-x: hidden;
}

body.home-page {
	background-color: #EFEFF1;
}

.logo-with-text {
	display: flex;
	align-items: center;
	gap: 15px;
}

.company-name-multiline {
	display: flex;
	flex-direction: column;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: bolder;
}

.company-line {
	font-size: 14px;
	margin-bottom: 2px;
	white-space: nowrap;
	font-family: 'Russo One';
	font-size: medium;
}

.company-line-1 {
	font-size: 16px;
	color: #003d7c; /* --primary-dark */
}

.company-line-2 {
	color: #C7A57F; /* --secondary */
	font-size: 16px;
	font-weight: 600;
}

.company-line-3 {
	color: #003d7c; /* --primary-dark */
	font-size: 16px;
	letter-spacing: 1px;
}


.company-name {
	color: #003d7c; /* --primary-dark */
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	letter-spacing: 0.2px;
}

.container {
	max-width: calc(100% - 40px);
	margin: 0 auto;
	padding: 0 40px;
}

/* Фон для разных страниц */
.nav-modern {
	width: 100%;
	padding: 23px 0;
	background: var(--light);
	box-sizing: border-box;
}

.nav-content {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px;
}

body.home-page .nav-modern {
	background: var(--light);
}

/* Логотип слева */
.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.03);
}

.logo-img {
	width: 130px;
	height: auto;
	display: block;
}

/* Навигационные ссылки по центру */
.nav-links {
	display: flex;
	justify-content: center;
	gap: 25px;
	align-items: center;
}

.nav-link {
	text-decoration: none;
	color: var(--primary-dark); /* Темный цвет */
	font-weight: 500;
	font-size: 19px;
	letter-spacing: 0.3px;
	position: relative;
	padding: 10px 0;
	margin: 0 15px;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary);
	transition: width 0.3s ease;
}

.nav-link:hover {
	color: var(--primary);
}

.nav-link:hover::after {
	width: 100%;
}
/* Кнопка "Обсудить проект" справа */
.cta-button {
	background: var(--primary);
	color: white;
	border: none;
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.cta-button:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
}

/* Бургер-меню справа (скрыт на десктопе) */
.burger-menu {
	display: none;
	position: relative;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--primary);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.3s ease;
	z-index: 1001;
}

.burger-menu:hover {
	transform: scale(1.05);
}

.burger-menu__inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 18px;
}

.burger-line {
	display: block;
	position: absolute;
	width: 100%;
	height: 2px;
	background-color: white;
	border-radius: 1px;
	transition: all 0.3s ease;
}

.burger-line:nth-child(1) {
	top: 0;
}

.burger-line:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.burger-line:nth-child(3) {
	bottom: 0;
}

/* Анимация бургера в крестик */
.burger-menu.active .burger-line:nth-child(1) {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
	opacity: 0;
	transform: translateX(-10px);
}

.burger-menu.active .burger-line:nth-child(3) {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

.hero {
	padding: 80px 30px;
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	border-radius: 0 0 100px 100px;
}

/* Фон через псевдоэлемент */
.hero::before {
	content: '';
	position: absolute;
	top: 10px;
	left: 40px;
	right: 40px;
	bottom: 40px;
	z-index: 1;
	background: url('/images/hero-bg.jpg') center/cover no-repeat;
	border-radius: 50px;
	opacity: 0;
	transform: scale(0.95);
	animation: heroBgAppear 1.2s ease-out 0.3s forwards;
}

.hero-content {
	max-width: 50%;
	position: relative;
	z-index: 3;
	margin-left: 0;
	padding-right: 40px;
}

.hero-title {
	font-size: 4rem; /* 32px при 16px базовом */
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 30px;
	color: var(--primary-dark);
}

.hero-title span {
	color: var(--secondary);
	position: relative;
}

.hero-subtitle {
	font-size: 20px;
	color: white; /* Белый текст */
	margin-bottom: 40px;
	max-width: 600px;
	/* Обводка текста */
	text-shadow:
			1px 1px 0 var(--primary-dark),
			-1px -1px 0 var(--primary-dark),
			1px -1px 0 var(--primary-dark),
			-1px 1px 0 var(--primary-dark);
}

.services {
	padding: 80px 0;
	background: var(--bg-light);
	color: var(--primary-dark);
	border-radius: 40px;
	margin: 40px;
	position: relative;
	z-index: 2;
}

/* УБИРАЮ СТИЛИ ДЛЯ СТАТИСТИКИ, т.к. они в отдельном файле */
/* .stats и все связанные стили удалены */

.service-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 25px;
	padding: 40px;
	transition: all 0.3s;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
	transform: translateY(-10px) scale(1.02);
	background: rgba(147, 115, 234, 0.1);
	border-color: var(--primary);
	box-shadow: 0 20px 40px rgba(147, 115, 234, 0.2);
}

.service-icon {
	width: 60px;
	height: 60px;
	background: var(--gray);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	font-size: 24px;
}

.svg_gruzovik{
	background: url('/images/svg/gruzovik.svg') center/cover no-repeat;
}
.service-title {
	font-size: 24px;
	margin-bottom: 15px;
}

.contact {
	padding: 100px 0;
	background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
	color: white;
	border-radius: 40px;
	margin: 40px;
	margin-top: 40px;
}

.form-group {
	margin-bottom: 25px;
}

.form-input {
	width: 100%;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
	color: white;
	font-size: 16px;
	transition: all 0.3s;
}

.form-input:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 0 0 3px rgba(147, 115, 234, 0.2);
}

.footer {
	background: var(--secondary);
	color: white;
	padding: 80px 0 40px;
	border-radius: 40px 40px 0 0;
	margin-top: 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

.social-links {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.social-link {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.social-link:hover {
	background: var(--primary);
	transform: translateY(-3px);
}

.hero-regions {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 25px;
	padding: 30px;
	margin: 40px 0;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(147, 115, 234, 0.3);
	max-width: 600px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-regions-title {
	font-size: 20px;
	color: var(--primary);
	margin-bottom: 20px;
	font-weight: 600;
}

.regions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.region-item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--secondary);
	font-size: 16px;
	padding: 10px;
	background: rgba(147, 115, 234, 0.05);
	border-radius: 12px;
	transition: all 0.3s;
}

.region-item:hover {
	background: rgba(147, 115, 234, 0.1);
	transform: translateX(5px);
}

.region-icon {
	color: var(--primary);
	font-size: 20px;
	background: rgba(147, 115, 234, 0.1);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes heroBgAppear {
	0% {
		opacity: 0;
		transform: scale(0.95);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1024px) {
	.container {
		padding: 0 20px;
	}

	.hero-title {
		font-size: 2.8rem;
	}

	.services, .contact {
		margin: 30px;
	}

	.company-line {
		font-size: 13px;
	}

	.company-line-2 {
		font-size: 12px;
	}

	.company-line-3 {
		font-size: 15px;
	}
}

@media (max-width: 992px) {
	.burger-menu {
		display: block;
	}

	.nav-content .cta-button {
		display: none;
	}

	.nav-content {
		grid-template-columns: 1fr auto auto;
	}

	.nav-links {
		display: none;
	}

	/* Мобильное меню */
	.nav-links.active {
		display: flex;
		position: fixed;
		top: 0;
		right: 0;
		width: 300px;
		height: 100vh;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 30px;
		padding: 80px 20px;
		transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
		z-index: 1000;
		box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
	}

	.nav-links.active {
		right: 0;
	}

	.nav-link {
		font-size: 18px;
		opacity: 0;
		transform: translateX(30px);
		transition: all 0.3s ease;
	}

	.nav-links.active .nav-link {
		opacity: 1;
		transform: translateX(0);
	}

	.nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
	.nav-links.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
	.nav-links.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
	.nav-links.active .nav-link:nth-child(4) { transition-delay: 0.4s; }

	.nav-links.active .cta-button {
		display: inline-flex;
		margin-top: 20px;
		opacity: 0;
		transform: translateX(30px);
		transition: all 0.3s ease;
		transition-delay: 0.5s;
	}

	.nav-links.active .cta-button {
		opacity: 1;
		transform: translateX(0);
	}

	.company-name-multiline {
		display: none; /* Скрываем на планшетах и мобильных */
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 10px;
	}

	.logo-with-text {
		gap: 12px;
	}

	.logo-img {
		width: 120px;
	}

	/* Фон через псевдоэлемент */
	.hero::before {
		content: '';
		position: absolute;
		top: 10px;
		left: 10px;
		right: 10px;
		bottom: 10px;
		border-radius: 50px; /* Округлые углы */
	}

	.hero-title {
		font-size: 1rem; /* ~45px */
	}

	.logo-img {
		width: 120px;
	}

	.hero {
		padding: 50px 30px;
		border-radius: 0 0 30px 30px;
		min-height: 100vh;
	}

	.hero-content {
		max-width: 100%;
		padding-right: 0;
	}

	.hero-title {
		font-size: 40px;
	}

	.services {
		margin: 20px;
		border-radius: 30px;
		padding: 60px 0;
	}

	.contact {
		margin: 20px;
		border-radius: 30px;
		padding: 60px 0;
	}

	.section-title {
		font-size: 36px;
	}

	.nav-links.active {
		width: 100%;
	}

	.logo-with-text {
		gap: 10px;
	}

	.logo-img {
		width: 120px;
	}
}

@media (max-width: 480px) {
	.logo-img {
		width: 120px;
	}

	.hero-title {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.container {
		padding: 0 15px;
	}

	.burger-menu {
		width: 44px;
		height: 44px;
	}
}

.glass-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 25px;
}

.floating {
	animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-20px); }
}