/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/

.site-footer {
	background-color: var(--bg-footer);
	padding: 4rem 0 2rem;
	
	margin-top: 4rem;
	font-family: "Plus Jakarta Sans", sans-serif;

}

.footer_class{
	display:flex;
	flex-direction:column;
	color: var(--text-primary) !important; 
}

.footer-content {
	display: flex;
	gap: 3rem;

}


.site-footer  .container{
		max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
	margin-bottom: 3rem;
}

.footer-content > *{
	flex:1;
}

.footer-section {
	color: var(--text-secondary);
}

.footer-title {
font-weight: 600;
font-size: 18px;
line-height: 156%;
color: var(--text-primary);
}

.footer-description {
font-weight: 400;
font-size: 16px;
line-height: 150%;
color: var(--text-muted);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact-item {
	font-size: 1rem;
	color: var(--text-secondary);
}

.contact-item strong {
	color: var(--text-primary);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: var(--text-link);
}

/* Newsletter Section */
.footer-newsletter {
	max-width: 392px;
	width:100%;
	flex:1 0 392px;
	border-radius: 12px;
padding: 32px;
	background: var(--bg-card);
}

.footer-newsletter .footer-title{
	font-weight: 600;
font-size: 20px;
line-height: 120%;
	margin: 0 0 10px;
text-align: center;
color: var(--text-primary);
}

.newsletter-description {
font-weight: 400;
font-size: 16px;
line-height: 150%;
		margin: 0 0 30px;

text-align: center;
color: var(--text-muted);
}

.newsletter-form {
	width: 100%;
}

.newsletter-input {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.newsletter-input input {
	padding: 0.75rem 1rem;
	border: 1px solid var(--border-medium);
	border-radius: 6px;
	font-size: 1rem;
	background-color: var(--bg-secondary);
	color: var(--text-primary);
	transition: border-color 0.3s ease;
}

.newsletter-input input:focus {
	outline: none;
	border-color: var(--border-focus);
}

.newsletter-input input::placeholder {
	color: var(--text-muted);
}

.newsletter-btn {
	padding: 0.75rem 1.5rem;
	background-color: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-family: "Work Sans", sans-serif;
}

.newsletter-btn:hover {
	background-color: var(--color-primary-hover);
}

/* Footer Bottom */
.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
	display: flex;
	margin-top:2rem;
	justify-content: space-between;
	align-items: center;
}

.footer-copyright {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* SVG логотип в футере */
.footer-copyright svg {
	transition: filter 0.3s ease;
}

/* Инверсия SVG логотипа для темной темы */
[data-theme="dark"] .footer-copyright svg {
	filter: invert(1);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .footer-copyright svg {
		filter: invert(1);
	}
}

.footer-logo {
	background-color: var(--bg-logo, #181a2a);
	color: var(--text-logo, white);
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	font-size: 1.25rem;
	font-weight: 700;
	transition: all 0.3s ease;
}

.footer-copyright p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 1rem;
}

.footer-legal {
	display: flex;
	gap: 2rem;
}

.footer-legal a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.footer-legal a:hover {
	color: var(--text-link);
}

/* WordPress Menu Support */
.footer-legal-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 2rem;
}

.footer-legal-menu li {
	margin: 0;
}

.footer-legal-menu a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 1rem;
	transition: color 0.3s ease;
}

.footer-legal-menu a:hover {
	color: var(--text-link);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
	.footer-content {
		grid-template-columns: 1fr 1fr;
		display:grid;
		padding:0 !important;
		gap: 2rem;
		        padding: 0 16px;
	}
	
	.newsletter-input input{
		background-image:none !important;
	}
	
	.footer-newsletter {
		max-width: none;
	}
}

@media screen and (max-width: 768px) {
	.site-footer {
		padding: 3rem 0 1.5rem;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
	
	.footer-legal {
		justify-content: center;
		gap: 1rem;
	}
}

@media screen and (max-width: 480px) {
	.site-footer {
		padding: 2rem 0 1rem;
	}
	
	.footer-content {
		gap: 1.5rem;
	}
	
	.footer-title {
		font-size: 1rem;
		margin-bottom: 1rem;
	}
	
	.footer-description,
	.newsletter-description {
		font-size: 0.875rem;
	}
	
	.footer-legal {
		flex-direction: column;
		gap: 0.5rem;
	}
} 