/**
 * Static site footer (team grid + legal bar). No Elementor classes.
 */

/* Override template.css fixed footer. */
#sfc-site-footer.c-footer {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	width: 100%;
	z-index: 5;
}

body.no-footer #sfc-site-footer.c-footer {
	display: block !important;
}

.c-footer__inner {
	width: 100%;
}

/* —— Team —— */
.c-footer-team {
	background: #050b20;
	padding: 2rem 1rem 2.5rem;
}

.c-footer-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 40px;
}

@media (max-width: 768px) {
	.c-footer-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.c-footer-team__grid {
		grid-template-columns: 1fr;
	}
}

.c-footer-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}

.c-footer-contact__icon {
	color: #0ab467;
	font-size: 30px;
	line-height: 1;
	margin-bottom: 0.75rem;
}

.c-footer-contact__body {
	width: 100%;
}

.c-footer-contact__name {
	margin: 0 0 0.5rem;
	font-size: 22px;
    font-weight: 300;
	color: #fff;
}

.c-footer-contact__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: #ADADAD;
	display: flex;
    flex-direction: column;
}

.c-footer-contact__text a {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: #ADADAD;
}

.c-footer-contact__role {
	color: #0ab467;
	font-weight: 500;
	text-transform: uppercase;
}

/* Same colour as body lines — avoids “link blue” on dark bg */
.c-footer-contact__email {
	display: inline;
	color: inherit;
	word-break: break-word;
}

/* —— SEO sitemap —— */
.c-footer-sitemap {
	background: #050b20;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.75rem 1rem 1.25rem;
}

.c-footer-sitemap__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.c-footer-sitemap__title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	text-align: center;
}

.c-footer-sitemap__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 2rem;
	align-items: start;
}

.c-footer-sitemap__col--logo {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
}

.c-footer-sitemap__logo-link {
	display: inline-block;
	line-height: 0;
}

.c-footer-sitemap__logo-img {
	display: block;
	max-width: 200px;
	width: 100%;
	height: auto;
}

.c-footer-sitemap__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.5rem 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.c-footer-sitemap__item {
	margin: 0;
}

#sfc-site-footer .c-footer-sitemap__link {
	color: #adadad !important;
	text-decoration: none !important;
	font-size: 0.9375rem;
	-webkit-text-fill-color: #adadad;
	transition: color 0.2s ease;
}

#sfc-site-footer .c-footer-sitemap__link:hover,
#sfc-site-footer .c-footer-sitemap__link:focus {
	color: #0ab467 !important;
	-webkit-text-fill-color: #0ab467;
}

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

	.c-footer-sitemap__col--logo {
		grid-column: 1 / -1;
		order: 3;
		padding-top: 0.25rem;
	}
}

@media (max-width: 560px) {
	.c-footer-sitemap__cols {
		grid-template-columns: 1fr;
	}

	.c-footer-sitemap__col--logo {
		grid-column: auto;
		order: 3;
	}
}

/* —— Legal bar —— */
.c-footer-legal {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 14px 24px;
	background: #050b20;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.c-footer-legal__copy {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: #fff;
	white-space: nowrap;
	flex: 0 1 auto;
	min-width: 0;
}

.c-footer-legal__nav {
	flex: 0 0 auto;
	min-width: 0;
}

.c-footer-legal__list {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: flex-end;
	white-space: nowrap;
}

/* Win over template.css link / .sfc-site-footer a:not([class]) rules */
#sfc-site-footer .c-footer-legal__list a,
#sfc-site-footer .c-footer-legal__nav a {
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 0.9375rem;
	-webkit-text-fill-color: #ffffff;
}

#sfc-site-footer .c-footer-legal__list a:hover,
#sfc-site-footer .c-footer-legal__list a:focus,
#sfc-site-footer .c-footer-legal__nav a:hover,
#sfc-site-footer .c-footer-legal__nav a:focus {
	color: #0ab467 !important;
	-webkit-text-fill-color: #0ab467;
}

@media (max-width: 700px) {
	.c-footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.c-footer-legal__copy {
		white-space: normal;
	}

	.c-footer-legal__list {
		flex-wrap: wrap;
		justify-content: center;
		white-space: normal;
	}
}
