/* =========================================================================
   Handknitted — Footer
   ========================================================================= */

.site-footer {
	background: #f9f9f9;
	border-top: 1px solid var(--hk-brand); /* 1px cyan accent line, per the design */
	padding-block: clamp(2.75rem, 5vw, 4.5rem);
	color: #8d9094;
}

.site-footer__inner {
	max-width: var(--hk-wide-width);
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr auto;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

/* ---- Columns ------------------------------------------------------------ */
.footer-col {
	min-width: 0;
}

/* Left column: logo + address */
.footer-logo {
	display: inline-block;
	margin-bottom: 2rem;
}
.footer-logo img {
	display: block;
	height: 46px;
	width: auto;
}
.footer-about {
	font-style: normal;
	font-size: 0.9375rem;
	line-height: 1.4; /* design rows sit ~19px apart */
	color: #8d9094;
}

/* Heading + menu groups */
.footer-col__group + .footer-col__group {
	margin-top: 1.5rem;
}
.footer-col__title {
	margin: 0 0 0.4rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--hk-ink);
	line-height: 1.2;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-menu li {
	margin: 0 0 0.15rem;
	/* the li's own strut sets the line box — the anchor's line-height alone
	   can't tighten it */
	line-height: 1.3;
}
.footer-menu a,
.footer-menu span {
	display: inline-block;
	color: #8d9094;
	font-size: 0.9375rem;
	line-height: 1.3; /* design rows sit ~19px apart */
	text-decoration: none;
	transition: color 0.15s ease;
}
.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--hk-brand);
	text-decoration: none;
}

/* Payment cards (right) — design: bottom-aligned with the columns */
.footer-col--cards {
	justify-self: end;
	align-self: end;
}
.footer-cards {
	display: block;
	height: auto;
	max-width: 320px;
	width: 100%;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem 2rem;
	}
	.footer-col--cards {
		grid-column: 1 / -1;
		justify-self: start;
		align-self: auto;
		margin-top: 0.5rem;
	}
}

@media (max-width: 560px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}
