/* ===========================================
   Footer - Three Columns  |  Premium layout
   =========================================== */

/* ---- Top row: Logo | Nav | Email + Social ---- */
.footer-row-main .top-footer-row {
	display: flex;
	flex-direction: column;
}

.footer-row-main .footer-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--gutter-xxl);
}

/* Column 1 – Logo (left) */
.footer-column-one {
	justify-self: start;
}

.footer-column-one .site-title {
	font-family: "adobe-garamond-pro", serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 2.4rem;
}

.footer-logo a {
	display: inline-block;
}

.footer-logo :is(svg, img) {
	display: block;
	width: auto;
	height: 82.24px;
}

/* Column 2 – Nav (centred, horizontal) */
.footer-column-two {
	justify-self: center;
}

.footer-column-two .menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--gutter-xs) var(--gutter-xl);
	font-size: var(--font-l);
}

.footer-column-two .menu ul li a {
	position: relative;
	display: inline-block;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* Column 3 – Email + Social (right-aligned, stacked) */
.footer-column-three {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: var(--gutter-s);
}

.footer-email-link {
	font-family: "adobe-garamond-pro", serif;
	font-weight: 400;
	font-size: var(--font-xl);
	letter-spacing: 0.06em;
	transition: opacity 0.3s ease;
}

.footer-email-link:hover,
.footer-email-link:focus-visible {
	opacity: var(--low-opacity);
}

.footer-social-links .social-links {
	gap: var(--gutter-s);
}

/* ---- Bottom footer sub-row (logos / business info) ---- */
.bottom-footer-row {
	display: grid;
	gap: var(--gutter-xl);
	grid-template-columns: 1fr auto;
}

.bottom-footer-row .bottom-logos {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gutter);
}

.bottom-footer-row .bottom-logos img {
	max-height: 43px;
	width: auto;
}

.bottom-footer-row .business-info {
	text-align: right;
}

/* =====================
   Responsive
   ===================== */

@media all and (max-width: 1115px) {
	.footer-row-main .footer-top {
		grid-template-columns: 1fr;
		gap: var(--gutter-xl);
		justify-items: center;
		text-align: center;
	}

	.footer-column-one {
		order: 1;
		justify-self: center;
	}

	.footer-column-two {
		order: 2;
		justify-self: center;
	}

	.footer-column-two .menu ul {
		justify-content: center;
	}

	.footer-column-three {
		order: 3;
		justify-self: center;
		align-items: center;
	}

	.footer-social-links .social-links {
		gap: var(--gutter-l);
	}

	.footer-email-link {
		font-size: var(--font-l);
	}
}

@media all and (max-width: 550px) {
	.bottom-footer-row {
		gap: var(--gutter-l);
		grid-template-columns: 1fr;
	}

	.bottom-footer-row .bottom-logos {
		justify-content: center;
	}

	.bottom-footer-row .business-info {
		text-align: center;
	}

	.footer-column-two .menu ul {
		gap: var(--gutter-xs) var(--gutter-l);
	}
}

@media all and (max-width: 375px) {
	.social-links {
		gap: var(--gutter);
	}
}