/* =========================================================================
   HNZ Constructions — global footer
   ========================================================================= */

.site-footer {
	background: var(--c-footer);
	color: #fff;
}

.site-footer__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	max-width: var(--container);
	margin-inline: auto;
	padding: 4.75rem var(--gutter) 3.125rem;
}

.site-footer__brand {
	display: flex;
	align-items: center;
}

.site-footer .logo__image {
	width: 180px;
	max-height: none;
	height: auto;
}

.site-footer__column {
	border-top: 0;
	padding-top: 0;
}

.site-footer__column-title,
.site-footer__address {
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: var(--fw-medium);
	line-height: 16px;
	letter-spacing: 0;
	color: #fff;
}

.site-footer__column-title {
	margin: 0 0 10px;
}

.site-footer__address {
	display: inline-block;
	margin: 0;
	font-style: normal;
	text-decoration: none;
}

.site-footer__address p {
	margin: 0;
}

.site-footer__email {
	transition: opacity 220ms ease;
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
	opacity: 0.68;
}

.site-footer__bar {
	max-width: var(--container);
	padding: 0 var(--gutter);
	margin-inline: auto;
}

.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	
	margin-inline: auto;
	padding: 1.375rem 0 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 82%);
}

.site-footer__copyright,
.site-footer__credit {
	margin: 0;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: var(--fw-medium);
	line-height: 16px;
	letter-spacing: 0;
	color: #fff;
}

.site-footer__credit a {
	color: inherit;
	text-decoration: none;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

@media (min-width: 48em) {
	.site-footer__inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 3rem;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 75em) {
	.site-footer__inner {
		grid-template-columns: minmax(20rem, 1fr) repeat(3, max-content);
		column-gap: clamp(4rem, 6vw, 7rem);
		row-gap: 0;
	}

	.site-footer__brand {
		grid-column: auto;
	}
}

@media (max-width: 47.9375em) {
	.site-footer__inner {
		padding-top: 3.5rem;
		padding-bottom: 2.75rem;
	}

	.site-footer__bar-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}
