.site-footer {
	border-top: 4px solid var(--sk-accent);
	background: var(--sk-black);
	color: color-mix(in srgb, var(--sk-white) 78%, transparent);
	font-size: 0.875rem;

	a {
		color: inherit;

		&:hover {
			color: var(--sk-white);
		}
	}
}

/*
	 * Matches the header container, not the narrower content container, so the
	 * footer logo lines up with the header logo as it does in the comp.
	 */

.site-footer__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	width: 100%;
	max-width: var(--sk-container);
	margin-inline: auto;
	padding: clamp(2.5rem, 5vw, 4rem) var(--sk-gutter);

	@media (min-width: 48rem) {
		grid-template-columns: 1fr 1fr;
	}
}

.site-footer__blurb {
	max-width: 22rem;
	margin-top: 1.5rem;
}

.site-footer__contact {
	display: grid;
	gap: 2rem;

	@media (min-width: 34rem) {
		grid-template-columns: repeat(2, 1fr);
	}
}

.site-footer__bar {
	border-top: 1px solid color-mix(in srgb, var(--sk-white) 12%, transparent);

	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	max-width: var(--sk-container);
	margin-inline: auto;
	padding: 1.25rem var(--sk-gutter);
	font-size: 0.75rem;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.site-footer__copyright {
	margin: 0;
	color: color-mix(in srgb, var(--sk-white) 55%, transparent);
}

/* ISO registrations and similar, bottom left of the closing bar. */
.site-footer__certification {
	margin: 0;
	color: var(--sk-support);
	font-family: var(--sk-font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-office__title {
	margin: 0 0 0.875rem;
	color: var(--sk-support);
	font-family: var(--sk-font-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-office__address {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.6;
}

.footer-office__phones {
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.6;
}

.footer-office__note {
	margin: 0.75rem 0 0;
	color: color-mix(in srgb, var(--sk-white) 55%, transparent);
	font-size: 0.75rem;
	font-style: italic;
	line-height: 1.5;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.social-nav {
	margin-top: 1.5rem;

	a {
		display: grid;
		place-items: center;
		width: 2rem;
		height: 2rem;
		border: 1px solid color-mix(in srgb, var(--sk-white) 30%, transparent);
		font-size: 0.6875rem;

		&:hover {
			border-color: var(--sk-accent);
			background: var(--sk-accent);
			text-decoration: none;
		}
	}
}

.social-nav__list {
	display: flex;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-nav__icon {
	width: 0.875rem;
	height: 0.875rem;
	fill: currentcolor;
}
