/* Footer */

.footer__logo-swapper {
	display: inline-block;

	& > .footer__logo {
		height: 75px;
		opacity: 1;
		transition: var(--global-transition);
	}
	& > .footer__animated-logo {
		position: absolute;
		top: -15px;
		left: -15px;
		height: 106px;
		opacity: 0;
		transition: var(--global-transition);
	}
	&:hover > .footer__logo {
		opacity: 0;
	}

	&:hover > .footer__animated-logo {
		opacity: 1;
	}
}

.footer__grid {
	grid-column-gap: 3rem;
	grid-row-gap: 3rem;
	flex-flow: row;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-columns: 1fr;
	justify-content: space-between;
	align-items: stretch;
	display: grid;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer__list-heading {
	font-size: 1.1rem;
	color: var(--brand-color--orange);
}

.footer__list .link-wrapper span {
	display: block;
}

.container--sub-footer {
	display: flex;
	justify-content: space-between;
}

.container--sub-footer span {
	font-size: 1.1rem;
	font-weight: 300;
}

/* Contact Banner */

.contact-banner .container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-banner__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 550px;
	margin: 0 auto;
	text-align: center;
}

.contact-banner__heading {
	font-size: 2.5rem;
	line-height: 3.25rem;
}

.contact-banner__logo {
	position: absolute;
	height: 200%;
	transform: translateX(-200px) rotate(-40deg);
	transition: all 4.5s ease-in-out;
	pointer-events: none;
	& > path {
		transform-origin: center;
		transform: scale(0.98);
		fill: none;
		stroke: var(--brand-color--black);
		stroke-width: 0.8px;
		stroke-linejoin: round;
		stroke-opacity: 0.3;
	}
	&.visible {
		transform: translateX(0) rotate(0deg);
	}
}

@media screen and (min-width: 50rem) {
	.container--footer {
		grid-column-gap: 5rem;
		grid-row-gap: 5rem;
		flex-flow: row;
		grid-template-rows: auto;
		grid-template-columns: .25fr 1fr;
		grid-auto-columns: 1fr;
		justify-content: space-between;
		align-items: stretch;
		display: grid;
	}
}

@media screen and (min-width: 28rem) and (max-width: 50rem) {
	.container--footer {
		display: flex;
		flex-direction: column;
	}

	.footer__grid {
		margin-top: 2rem;
		grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 28rem) {
	.container--footer {
		display: flex;
		flex-direction: column;
	}

	.footer__grid {
		margin-top: 2rem;
		flex-flow: row;
		grid-template-rows: auto;
		grid-template-columns: 1fr;
		grid-auto-columns: 1fr;
		justify-content: space-between;
		align-items: stretch;
		display: grid;
	}
}