/* =========================================================
   PREMIUM FOOTER STYLES
   ========================================================= */

.site-footer {
	--footer-bg: #0B0B0A;
	--footer-text: #D8D4CC;
	--footer-heading: #FFFFFF;
	--footer-muted: #99958D;
	--footer-link: #D8D4CC;
	--footer-link-hover: #C7A35B;
	--footer-accent: #C7A35B;
	--footer-border: #292722;
	--footer-width: 1200px;
	--footer-padding-top: 80px;
	--footer-padding-bottom: 24px;
	--footer-column-gap: 48px;
	--footer-social-size: 40px;

	position: relative;
	overflow: hidden;
	margin: 0;
	background: var(--footer-bg);
	color: var(--footer-text);
	border-top: 1px solid var(--footer-border);
}

.site-footer__container {
	width: min(var(--footer-width), calc(100% - 40px));
	margin-inline: auto;
	padding-top: var(--footer-padding-top);
	padding-bottom: var(--footer-padding-bottom);
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
	gap: var(--footer-column-gap);
	padding-bottom: 56px;
}

.site-footer__brand {
	min-width: 0;
}

.site-footer__logo {
	margin-bottom: 20px;
}

.site-footer__logo a {
	display: inline-block;
	text-decoration: none;
}

.site-footer__logo img,
.site-footer__logo .custom-logo {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 70px;
	object-fit: contain;
}

.site-footer__brand-name {
	display: inline-block;
	color: var(--footer-heading);
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 500;
	letter-spacing: .02em;
}

.site-footer__description {
	max-width: 370px;
	margin: 0;
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 1.8;
}

.site-footer__heading {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	color: var(--footer-heading);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

.site-footer__column {
	min-width: 0;
}

.site-footer .widget {
	margin: 0 0 30px;
}

.site-footer .widget:last-child {
	margin-bottom: 0;
}

.site-footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.site-footer .widget a {
	display: inline-block;
	color: var(--footer-link);
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	transition: color var(--transition);
}

.site-footer .widget a:hover {
	color: var(--footer-link-hover);
}

.site-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu li {
	margin-bottom: 10px;
}

.site-footer__menu a {
	display: inline-block;
	color: var(--footer-link);
	font-size: 14px;
	line-height: 1.7;
	text-decoration: none;
	transition: color var(--transition);
}

.site-footer__menu a:hover {
	color: var(--footer-link-hover);
}

/* Social Icons */
.site-footer__social {
	margin-top: 28px;
}

.site-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-footer__social-link {
	width: var(--footer-social-size);
	height: var(--footer-social-size);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--footer-border);
	border-radius: 50%;
	color: var(--footer-text);
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.site-footer__social-link:hover {
	background: var(--footer-accent);
	border-color: var(--footer-accent);
	color: var(--footer-bg);
	transform: translateY(-2px);
}

/* Newsletter Section */
.site-footer__newsletter {
	display: grid;
	grid-template-columns: 1fr minmax(300px, 400px);
	gap: 2rem;
	align-items: center;
	padding: 3rem 0;
	border-top: 1px solid var(--footer-border);
	border-bottom: 1px solid var(--footer-border);
	margin-bottom: 48px;
}

.site-footer__newsletter-heading {
	margin: 0 0 0.5rem;
	color: var(--footer-heading);
	font-family: var(--font-display);
	font-size: 1.8rem;
	font-weight: 500;
}

.site-footer__newsletter-description {
	margin: 0;
	color: var(--footer-muted);
	font-size: 14px;
	line-height: 1.7;
}

.site-footer__newsletter-form {
	display: flex;
	gap: 0.8rem;
}

.site-footer__newsletter-form input[type="email"] {
	flex: 1;
	padding: 0.8rem 1rem;
	border: 1px solid var(--footer-border);
	border-radius: 999px;
	background: transparent;
	color: var(--footer-text);
}

.site-footer__newsletter-form input[type="email"]::placeholder {
	color: var(--footer-muted);
}

.site-footer__newsletter-form .btn {
	white-space: nowrap;
}

/* Custom HTML */
.site-footer__custom {
	padding: 32px 0;
	border-top: 1px solid var(--footer-border);
	color: var(--footer-text);
	font-size: 14px;
	line-height: 1.8;
}

.site-footer__custom a {
	color: var(--footer-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__custom a:hover {
	color: var(--footer-link-hover);
}

/* Footer Navigation */
.site-footer__navigation {
	padding: 24px 0;
	border-top: 1px solid var(--footer-border);
	text-align: center;
}

.site-footer__navigation .site-footer__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
}

.site-footer__navigation .site-footer__menu li {
	margin: 0;
}

/* Bottom Bar */
.site-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--footer-border);
	color: var(--footer-muted);
	font-size: 12px;
	line-height: 1.6;
}

.site-footer__copyright {
	min-width: 0;
}

.site-footer__credit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	text-align: right;
}

.site-footer__designer a {
	color: var(--footer-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition), color var(--transition);
}

.site-footer__designer a:hover {
	color: var(--footer-link-hover);
	border-bottom-color: var(--footer-accent);
}

/* Responsive */
@media (max-width: 900px) {
	.site-footer__main,
	.site-footer--four .site-footer__main,
	.site-footer--three .site-footer__main,
	.site-footer--two .site-footer__main,
	.site-footer--one .site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 28px;
	}
	.site-footer__newsletter {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.site-footer__newsletter-form {
		flex-direction: column;
	}
	.site-footer__newsletter-form .btn {
		width: 100%;
	}
	.site-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.site-footer__credit {
		text-align: left;
	}
}

@media (max-width: 640px) {
	.site-footer {
		--footer-padding-top: 56px;
	}
	.site-footer__container {
		width: calc(100% - 32px);
	}
	.site-footer__main,
	.site-footer--four .site-footer__main,
	.site-footer--three .site-footer__main,
	.site-footer--two .site-footer__main,
	.site-footer--one .site-footer__main {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-bottom: 44px;
	}
	.site-footer__navigation .site-footer__menu {
		justify-content: flex-start;
		gap: 10px 20px;
	}
}
