/* ==========================================================
   Creemly Footer
   ========================================================== */

:root {
	/* Footer-specific colors */
	--creemly-footer-bg: #151918;
	--creemly-footer-text: #c9cfcd;
	--creemly-footer-heading: #ffffff;
	--creemly-footer-muted: #aeb6b3;
	--creemly-footer-meta: #858e8b;
}


/* ==========================================================
   Footer
   ========================================================== */

.site-footer {
	position: relative;
	background: var(--creemly-footer-bg);
	color: var(--creemly-footer-text);
	margin-top: 0;
}


/* ==========================================================
   Footer Container
   ========================================================== */

.site-footer .container {
	width: 100%;
	max-width: var(--creemly-container);
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}


/* ==========================================================
   Footer Main
   ========================================================== */

.footer-main {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr;
	gap: 70px;
	padding: 75px 0 65px;
}


/* ==========================================================
   Footer Columns
   ========================================================== */

.footer-column {
	min-width: 0;
}

.footer-widget {
	margin: 0;
}

.footer-widget-title {
	margin: 0 0 20px;
	color: var(--creemly-footer-heading);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.2px;
}

.footer-widget p {
	max-width: 430px;
	margin: 0;
	color: var(--creemly-footer-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
}


/* ==========================================================
   Footer Brand
   ========================================================== */

.footer-column-1 .footer-widget-title {
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
	color: var(--creemly-footer-heading);
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -0.7px;
}

.footer-column-1 .footer-widget-title::after {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	margin: 17px 0 0 5px;
	border-radius: 50%;
	background: var(--creemly-primary);
}


/* ==========================================================
   Footer Menu
   ========================================================== */

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

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

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

.footer-menu a {
	display: inline-block;
	color: var(--creemly-footer-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.footer-menu a:hover {
	color: var(--creemly-primary);
	transform: translateX(3px);
}


/* ==========================================================
   Vendor Section
   ========================================================== */

.footer-column-3 .footer-widget p {
	max-width: 390px;
	margin-bottom: 22px;
}

.footer-vendor-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 19px;
	border: 1px solid var(--creemly-primary);
	border-radius: 9px;
	background: var(--creemly-primary);
	color: var(--creemly-white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.footer-vendor-link:hover {
	background: var(--creemly-primary-dark);
	border-color: var(--creemly-primary-dark);
	color: var(--creemly-white);
	transform: translateY(-2px);
	box-shadow: var(--creemly-shadow);
}


/* ==========================================================
   Footer Bottom
   ========================================================== */

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 75px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-copyright {
	flex: 0 1 auto;
}

.footer-copyright p {
	margin: 0;
	color: var(--creemly-footer-meta);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.6;
}

.footer-bottom-menu {
	flex: 0 0 auto;
}

.footer-bottom-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 22px;
}

.footer-bottom-links li {
	margin: 0;
	padding: 0;
}

.footer-bottom-links a {
	color: var(--creemly-footer-meta);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
	color: var(--creemly-primary);
}


/* ==========================================================
   Widget Support
   ========================================================== */

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

.site-footer .footer-widget li {
	margin: 0;
	padding: 0;
}

.site-footer .footer-widget a {
	color: var(--creemly-white);
	text-decoration: none;
}

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


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1279px) {

	.site-footer .container {
		padding-left: 30px;
		padding-right: 30px;
	}

	.footer-main {
		gap: 50px;
	}

}


/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 900px) {

	.footer-main {
		grid-template-columns: 1.2fr 1fr;
		gap: 45px;
		padding: 60px 0 50px;
	}

	.footer-column-3 {
		grid-column: 1 / -1;
	}

	.footer-column-3 .footer-widget p {
		max-width: 600px;
	}

}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 600px) {

	.site-footer .container {
		padding: 0 20px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 38px;
		padding: 50px 0 40px;
	}

	.footer-column-3 {
		grid-column: auto;
	}

	.footer-widget-title {
		margin-bottom: 15px;
		font-size: 17px;
	}

	.footer-column-1 .footer-widget-title {
		font-size: 25px;
	}

	.footer-widget p {
		font-size: 13px;
		line-height: 1.75;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 15px;
		padding: 22px 0;
	}

	.footer-bottom-menu {
		width: 100%;
	}

	.footer-bottom-links {
		justify-content: flex-start;
		gap: 10px 18px;
	}

}


/* ==========================================================
   Small Mobile
   ========================================================== */

@media (max-width: 400px) {

	.site-footer .container {
		padding: 0 16px;
	}

	.footer-main {
		padding-top: 42px;
	}

	.footer-vendor-link {
		width: 100%;
	}

}
