.site-footer,
footer#colophon,
footer.site-footer {
	background: #f8f9fb;
	color: #374151;
	margin: 0;
	width: 100%;
	border-top: 1px solid #e5e7eb;
}

.footer-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	width: 100%;
}

.footer-newsletter {
	background: #fff;
	padding: 48px 0;
	border-bottom: 1px solid #e5e7eb;
}

.footer-newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.footer-newsletter-content {
	flex: 1;
	min-width: 260px;
	max-width: 420px;
}

.footer-newsletter-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #1f2937;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.footer-newsletter-text {
	font-size: 0.9375rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.55;
}

.footer-newsletter-form {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
	flex-shrink: 0;
}

.footer-newsletter-form input[type="email"] {
	min-width: 280px;
	padding: 12px 18px;
	font-size: 0.9375rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: #ff6b35;
	box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.footer-main {
	padding: 56px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 64px 48px;
	align-items: start;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-logo {
	line-height: 1;
}

.footer-logo .custom-logo-link {
	display: inline-block;
	text-decoration: none;
}

.footer-logo .custom-logo-link img {
	max-height: 44px;
	width: auto;
	height: auto;
	display: block;
}

.footer-logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1f2937;
	letter-spacing: -0.02em;
}

.footer-logo-link {
	text-decoration: none;
	color: inherit;
}

.footer-logo-link:hover {
	color: #ff6b35;
}

.footer-description p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6b7280;
	max-width: 340px;
}

.footer-nav-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-nav-heading {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #9ca3af;
	margin: 0;
}

#footer-menu,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	column-gap: 32px;
	row-gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer-menu li,
.footer-menu li {
	margin: 0;
	padding: 0;
}

#footer-menu a,
.footer-menu a {
	display: block;
	padding: 8px 0;
	color: #4b5563;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

#footer-menu a:hover,
.footer-menu a:hover {
	color: #ff6b35;
}

.footer-bottom {
	margin-top: 48px;
	padding: 24px 0 32px;
	border-top: 1px solid #e5e7eb;
}

.footer-copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: #9ca3af;
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

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

	.footer-description p {
		max-width: none;
	}

	.footer-nav-col {
		border-top: 1px solid #e5e7eb;
		padding-top: 32px;
	}
}

@media (max-width: 768px) {
	.footer-container {
		padding: 0 20px;
	}

	.footer-newsletter {
		padding: 36px 0;
	}

	.footer-newsletter-inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		gap: 24px;
	}

	.footer-newsletter-content {
		max-width: none;
	}

	.footer-newsletter-form {
		flex-direction: column;
		align-items: stretch;
	}

	.footer-newsletter-form input[type="email"] {
		min-width: 0;
		width: 100%;
		box-sizing: border-box;
	}

	.footer-main {
		padding: 40px 0 0;
	}

	.footer-grid {
		gap: 32px;
	}

	.footer-logo .custom-logo-link img {
		max-height: 40px;
	}

	#footer-menu,
	.footer-menu {
		flex-direction: column;
		column-gap: 0;
		row-gap: 0;
	}

	#footer-menu a,
	.footer-menu a {
		padding: 10px 0;
		border-bottom: 1px solid #f3f4f6;
	}

	#footer-menu li:last-child a,
	.footer-menu li:last-child a {
		border-bottom: none;
	}

	.footer-bottom {
		margin-top: 36px;
		padding: 20px 0 28px;
		text-align: center;
	}

	.footer-copyright {
		font-size: 0.8125rem;
	}
}
