/**
 * Studio Mo site footer (brand, nav, social).
 * Overrides theme .nk-footer rules from piroll-custom.min.css (dark headings on dark bg).
 */

.nk-footer.nk-footer--site {
	padding-top: 0;
	padding-bottom: 0;
	color: #e8e8e8;
	background-color: #1a2620;
}

.nk-footer.nk-footer--site h1,
.nk-footer.nk-footer--site h2,
.nk-footer.nk-footer--site h3,
.nk-footer.nk-footer--site h4,
.nk-footer.nk-footer--site h5,
.nk-footer.nk-footer--site h6 {
	color: #f0f0f0;
}

.nk-footer.nk-footer--site a {
	color: #e8e8e8;
}

.nk-footer.nk-footer--site .site-footer {
	padding: 56px 0 0;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem 2rem;
	align-items: start;
}

.site-footer__brand-logo {
	display: inline-block;
	margin-bottom: 1rem;
	line-height: 0;
}

.site-footer__brand-logo img {
	display: block;
	height: auto;
	max-width: 140px;
	width: auto;
}

.site-footer__tagline {
	margin: 0;
	max-width: 16rem;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #c9d4cb;
}

.site-footer__heading {
	margin: 0 0 1.1rem;
	font-family: "Montserrat", sans-serif;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e5c57a;
}

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

.site-footer__links li + li {
	margin-top: 0.55rem;
}

.site-footer__links a {
	display: inline-block;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.95rem;
	color: #e8e8e8;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
	color: #fff;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: #f0f0f0;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
	border-color: #e5c57a;
	transform: translateY(-2px);
}

.site-footer__social-link .fa {
	font-size: 15px;
	line-height: 1;
}

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: 3rem;
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__copy {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.82rem;
	color: #b8c4bb;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal a {
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.82rem;
	color: #b8c4bb;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus {
	color: #fff;
}

@media screen and (max-width: 991px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 575px) {
	.nk-footer.nk-footer--site .site-footer {
		padding-top: 40px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.site-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 2rem;
	}
}
