/* Site footer ([maisy_footer], inc/footer.php). Loads on every page.
   Green like the header, gold stitch lines; Lansdowne caps throughout, like the header links. */

.mm-footer {
	--ft-green: #132e17;
	--ft-charcoal: #262323;
	--ft-gold: #c9ac6f;
	--ft-gold-light: #e3cd9a;
	--ft-cream: #f4ecdf;
	--ft-muted: #cfc4b2;
	--ft-line: rgba(201, 172, 111, 0.35);
	position: relative;
	background: var(--ft-green);
	color: var(--ft-cream);
	font-family: "Lansdowne", "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.6;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-top: 3px solid var(--ft-gold);
}
.mm-footer::before {
	/* the stitch: a dashed gold seam just inside the top edge */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	border-top: 1px dashed var(--ft-line);
}
.mm-footer *,
.mm-footer *::before,
.mm-footer *::after {
	box-sizing: border-box;
}
.mm-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 72px 40px 0;
}
.mm-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}
.mm-footer a:hover,
.mm-footer a:focus-visible {
	color: var(--ft-gold-light);
}
.mm-footer a:focus-visible {
	outline: 2px solid var(--ft-gold);
	outline-offset: 3px;
}
.mm-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mm-footer p {
	margin: 0;
}

/* Headings: small gold caps, like the shop's eyebrows */
.mm-footer .mm-footer__heading {
	margin: 0 0 18px;
	font-family: "Lansdowne", "Times New Roman", serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.3;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ft-gold);
}

/* ---- Top: brand + three link columns ---- */
.mm-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 56px;
}
.mm-footer__logo-link {
	display: inline-block;
	margin-bottom: 20px;
}
.mm-footer img.mm-footer__logo {
	display: block;
	width: 180px;
	height: auto;
}
.mm-footer__text {
	max-width: 34ch;
	color: var(--ft-muted);
}
.mm-footer__address {
	margin-top: 14px !important;
	color: var(--ft-muted);
}
.mm-footer__email {
	margin-top: 14px !important;
}
.mm-footer__email a {
	color: var(--ft-cream);
	border-bottom: 1px solid var(--ft-line);
}
.mm-footer__socials {
	display: flex;
	gap: 10px;
	margin-top: 22px !important;
}
.mm-footer__socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--ft-line);
	border-radius: 50%;
	color: var(--ft-gold);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mm-footer__socials a:hover,
.mm-footer__socials a:focus-visible {
	background: var(--ft-gold);
	border-color: var(--ft-gold);
	color: var(--ft-green);
}

.mm-footer__links li + li {
	margin-top: 10px;
}
.mm-footer__links a {
	color: var(--ft-cream);
}
.mm-footer__links a[aria-current="page"] {
	color: var(--ft-gold);
}

/* ---- Band: our brands + badges ---- */
.mm-footer__band {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 64px;
	padding: 40px 0;
	border-top: 1px dashed var(--ft-line);
	border-bottom: 1px dashed var(--ft-line);
}
.mm-footer__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 40px;
}
.mm-footer__group--badges {
	text-align: right;
}
.mm-footer__group--badges .mm-footer__logos {
	justify-content: flex-end;
	gap: 24px 28px;
}
.mm-footer__brand-link {
	display: block;
	opacity: 0.9;
	transition: opacity 0.15s ease, transform 0.2s ease;
}
.mm-footer__brand-link:hover,
.mm-footer__brand-link:focus-visible {
	opacity: 1;
	transform: translateY(-2px);
}
.mm-footer img.mm-footer__brand {
	display: block;
	width: auto;
	height: auto;
	max-height: 64px;
	max-width: 230px;
}
.mm-footer img.mm-footer__badge {
	display: block;
	width: auto;
	height: 76px;
	max-width: 160px;
	object-fit: contain;
}

/* ---- Legal bar ---- */
.mm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px 32px;
	padding: 22px 0 26px;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--ft-muted);
}
.mm-footer__responsible {
	display: flex;
	align-items: center;
	gap: 14px;
}
.mm-footer img.mm-footer__resp-img {
	display: block;
	width: auto;
	height: 48px;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.mm-footer__inner {
		padding: 56px 32px 0;
	}
	.mm-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 32px;
	}
	.mm-footer__about {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 32px;
		align-items: start;
	}
	.mm-footer__logo-link {
		grid-row: span 3;
		margin: 0;
	}
	.mm-footer img.mm-footer__logo {
		width: 150px;
	}
}

/* ---- Phone ---- */
@media (max-width: 767px) {
	.mm-footer {
		font-size: 15px;
	}
	.mm-footer__inner {
		padding: 48px 16px 0;
	}
	.mm-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 20px;
		padding-bottom: 40px;
	}
	.mm-footer__about {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.mm-footer__logo-link {
		margin-bottom: 18px;
	}
	.mm-footer img.mm-footer__logo {
		width: 150px;
	}
	.mm-footer__text {
		max-width: 32ch;
	}
	.mm-footer__socials {
		justify-content: center;
	}
	.mm-footer__socials a {
		width: 44px;
		height: 44px;
	}
	.mm-footer__links li + li {
		margin-top: 4px;
	}
	.mm-footer__links a {
		display: inline-block;
		padding: 6px 0; /* comfortable tap targets */
	}
	.mm-footer__band {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 32px 0;
	}
	.mm-footer__group--badges {
		text-align: center;
	}
	.mm-footer__logos {
		justify-content: center;
	}
	.mm-footer img.mm-footer__brand {
		max-height: 52px;
		max-width: 150px;
	}
	.mm-footer img.mm-footer__badge {
		height: 64px;
	}
	.mm-footer__legal {
		flex-direction: column;
		text-align: center;
	}
	.mm-footer__company span {
		display: block;
	}
	.mm-footer__company .mm-footer__sep {
		display: none;
	}
	.mm-footer__responsible {
		flex-direction: column;
		gap: 10px;
	}
}
