/* Targeted landing-page adjustments to reduce footer spacing and improve footer readability. */

.wrapper.pre-footer {
	margin-bottom: 2.5em;
}

.wrapper.pre-footer:after {
	height: 2.5em;
	bottom: -2.5em;
}

#footer {
	padding-top: 0;
}

#footer .inner {
	padding-top: 3em;
}

#footer .footer-top {
	margin-bottom: 2em;
    margin-top: -2em;
}

#footer .footer-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-bottom: 0;
}

#footer .footer-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5em;
	margin-bottom: 0.5em;
}

#footer .footer-block {
	padding: 1.1em 1.2em;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.5em;
	background: rgba(255, 255, 255, 0.04);
}

#footer .footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer .footer-links li {
	margin: 0 0 0.7em;
	line-height: 1.6;
}

#footer .supplier-logos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8em;
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .supplier-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.35em;
	border-radius: 0.35em;
	background: rgba(255, 255, 255, 0.03);
}

#footer .supplier-logos img {
	max-width: 100%;
	height: auto;
}

#footer .contact {
	width: 100%;
	margin-top: 0.6em;
}

@media screen and (max-width: 1280px) {
	#footer {
		margin-top: 0;
		padding-top: 0;
	}

	.wrapper.pre-footer {
		margin-bottom: 1.8em;
	}

	.wrapper.pre-footer:after {
		height: 1.8em;
		bottom: -1.8em;
	}

	#footer .inner {
		padding: 3.2em 2.5em 1.2em 2.5em;
	}

	#footer .footer-grid {
		grid-template-columns: 1fr;
	}

	#footer .supplier-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 980px) {
	#footer {
		margin-top: 0;
		padding-top: 0;
	}

	.wrapper.pre-footer {
		margin-bottom: 1.5em;
	}

	.wrapper.pre-footer:after {
		height: 1.5em;
		bottom: -1.5em;
	}

	#footer .inner {
		padding: 3em 2.25em 1.4em 2.25em;
	}

	#footer .footer-top {
		margin-bottom: 1.5em;
	}

	#footer .footer-grid {
		grid-template-columns: 1fr;
	}

	#footer .supplier-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#footer h2.major {
		font-size: 1.4em;
		padding-bottom: 0.8em;
		word-break: break-word;
		line-height: 1.3;
	}
}

@media screen and (max-width: 736px) {
	#footer .inner {
		padding-top: 2em;
	}

	#footer .footer-block {
		padding: 1em;
	}

	#footer h2.major {
		font-size: 1.2em;
	}
}

