/* ==================== ФУТЕР ==================== */

.footer {
	background-color: var(--primary-dark);
	color: #fff;
	padding: 80px 0 30px;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--secondary) 0%, rgba(199, 165, 127, 0.3) 100%);
}

.footer .container {
	position: relative;
	z-index: 2;
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 60px;
	margin-bottom: 60px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Брендовая секция */
.footer-brand {
	max-width: 400px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

.footer-logo-img {
	width: 50px;
	height: auto;
	filter: brightness(0) invert(1);
}

.footer-company-name {
	font-family: 'Manrope', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.footer-company-name div:first-child {
	color: #fff;
}

.footer-company-name div:nth-child(2) {
	color: #fff;
}

.footer-company-name div:last-child {
	color: var(--secondary);
}

.footer-description {
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* Сетка колонок */
.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.footer-column-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

.footer-column-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background-color: var(--secondary);
}

/* Ссылки */
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links li:last-child {
	margin-bottom: 0;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
	padding-left: 0;
}

.footer-links a::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background-color: var(--secondary);
	transition: width 0.3s ease;
}

.footer-links a:hover {
	color: var(--secondary);
	padding-left: 8px;
}

.footer-links a:hover::before {
	width: 100%;
}

/* Контакты */
.footer-contacts {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
	flex-shrink: 0;
	color: var(--secondary);
}

.footer-contact-item a,
.footer-contact-item span {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.3s ease;
}

.footer-contact-item a:hover {
	color: var(--secondary);
}

/* Нижняя часть футера */
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
	display: flex;
	gap: 15px;
}

.footer-social-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.footer-social-link:hover {
	background-color: var(--secondary);
	color: #fff;
	border-color: var(--secondary);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(199, 165, 127, 0.3);
}

.footer-copyright {
	text-align: center;
}

.footer-copyright p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	margin: 0 0 5px 0;
}

.footer-policy-link {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-policy-link:hover {
	color: var(--secondary);
}

/* Кнопка "Наверх" */
.footer-back-to-top {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.footer-back-to-top:hover {
	background-color: var(--secondary);
	color: #fff;
	border-color: var(--secondary);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(199, 165, 127, 0.3);
}

/* Адаптивность */
@media (max-width: 1024px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-grid {
		gap: 30px;
	}
}

@media (max-width: 768px) {
	.footer {
		padding: 60px 0 25px;
	}

	.footer-top {
		margin-bottom: 40px;
		padding-bottom: 30px;
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.footer-brand {
		max-width: 100%;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 25px;
		text-align: center;
	}

	.footer-copyright {
		order: 2;
	}

	.footer-back-to-top {
		order: 3;
	}
}

@media (max-width: 480px) {
	.footer {
		padding: 50px 0 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.footer-logo {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.footer-column-title {
		margin-bottom: 20px;
	}

	.footer-links a {
		font-size: 0.9rem;
	}

	.footer-contact-item a,
	.footer-contact-item span {
		font-size: 0.9rem;
	}
}