/* =============================================
   LaundDry — Footer
   ============================================= */

/* --- Footer shell --- */
.ld-footer {
	background: var(--ld-green);
	color: var(--ld-bg);
	padding: 0 20px;
	overflow: hidden;
}

.ld-footer__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding-top: 78px;
}

.ld-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.4fr;
	gap: 48px 40px;
	align-items: start;
}

.ld-footer__col {
	min-width: 0;
}

/* --- Brandkolom --- */
.ld-logo--footer .ld-logo__img {
	width: 148px;
	filter: brightness(0) invert(1);
}

.ld-footer__blurb {
	margin: 20px 0 0;
	font-family: var(--ld-font-body);
	font-size: 14.5px;
	line-height: 1.68;
	color: rgba(236, 235, 232, .7);
	max-width: 34ch;
}

.ld-footer__status {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 20px 0 0;
	font-family: var(--ld-font-body);
	font-size: 14px;
	color: var(--ld-bg);
}

.ld-footer .ld-dot {
	background: #5fd18f;
}

.ld-footer .ld-dot::after {
	border-color: #5fd18f;
}

/* --- Kolomkoppen en lijsten --- */
.ld-footer__head {
	margin: 0 0 18px;
	font-family: var(--ld-font-body);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--ld-accent);
}

.ld-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ld-footer__list li {
	margin: 0 0 11px;
}

.ld-footer__list a,
.ld-footer__directions {
	font-family: var(--ld-font-body);
	font-size: 15px;
	color: rgba(236, 235, 232, .82);
	text-decoration: none;
	transition: color .2s var(--ld-ease);
}

.ld-footer__list a:hover,
.ld-footer__list a:focus-visible,
.ld-footer__directions:hover,
.ld-footer__directions:focus-visible {
	color: #fff;
}

.ld-footer__address {
	margin: 0 0 14px;
	font-family: var(--ld-font-body);
	font-size: 15px;
	font-style: normal;
	line-height: 1.62;
	color: rgba(236, 235, 232, .82);
}

.ld-footer__directions {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(153, 171, 160, .45);
	color: var(--ld-accent);
}

.ld-footer__directions svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.ld-footer__list--contact li:last-child {
	margin-bottom: 0;
}

/* --- Nieuwsbrief --- */
.ld-footer__col--news .ld-footer__blurb {
	margin: -4px 0 18px;
	max-width: none;
}

.ld-news {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 6px 6px 18px;
	border-radius: 999px;
	background: rgba(236, 235, 232, .1);
	border: 1px solid rgba(236, 235, 232, .2);
	transition: border-color .2s var(--ld-ease), background-color .2s var(--ld-ease);
}

.ld-news:focus-within {
	background: rgba(236, 235, 232, .16);
	border-color: rgba(236, 235, 232, .45);
}

.ld-news__input {
	flex: 1;
	min-width: 0;
	height: 38px;
	border: 0;
	background: none;
	font-family: var(--ld-font-body);
	font-size: 14.5px;
	color: var(--ld-bg);
	outline: none;
}

.ld-news__input::placeholder {
	color: rgba(236, 235, 232, .5);
}

.ld-news__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ld-bg);
	color: var(--ld-green);
	cursor: pointer;
	transition: transform .2s var(--ld-ease), background-color .2s var(--ld-ease);
}

.ld-news__submit:hover,
.ld-news__submit:focus-visible {
	background: #fff;
	transform: translateX(2px);
}

.ld-news__submit svg {
	width: 16px;
	height: 16px;
}

.ld-news__msg {
	margin: 10px 0 0;
	min-height: 18px;
	font-family: var(--ld-font-body);
	font-size: 13px;
	color: var(--ld-accent);
}

.ld-news__msg.is-error {
	color: #f0a9a0;
}

/* --- Socials --- */
.ld-social {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.ld-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--ld-bg);
	box-shadow: inset 0 0 0 1px rgba(236, 235, 232, .25);
	transition: background-color .2s var(--ld-ease), color .2s var(--ld-ease);
}

.ld-social a:hover,
.ld-social a:focus-visible {
	background: var(--ld-bg);
	color: var(--ld-green);
}

.ld-social svg {
	width: 18px;
	height: 18px;
}

/* --- Oversized wordmark --- */
.ld-footer__wordmark {
	width: 100%;
	margin: 72px 0 0;
	line-height: 0;
}

.ld-footer__wordmark img {
	display: block;
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: .14;
}

/* --- Bottom bar --- */
.ld-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	margin-top: 26px;
	padding: 14px 0 18px;
	border-top: 1px solid rgba(236, 235, 232, .14);
}

.ld-footer__copy {
	margin: 0;
	font-family: var(--ld-font-body);
	font-size: 12.5px;
	color: rgba(236, 235, 232, .55);
}

.ld-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ld-footer__legal li {
	margin: 0;
}

.ld-footer__legal a {
	font-family: var(--ld-font-body);
	font-size: 12.5px;
	color: rgba(236, 235, 232, .55);
	text-decoration: none;
	transition: color .2s var(--ld-ease);
}

.ld-footer__legal a:hover,
.ld-footer__legal a:focus-visible {
	color: var(--ld-bg);
}

/* --- Wijkpagina's: "Laundromat near …" (onder het logo) --- */
.ld-footer__areas {
	max-width: 300px;
	margin-top: 24px;
	font-family: var(--ld-font-body);
	font-size: 13px;
	line-height: 1.5;
}

.ld-footer__areas-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: rgba(236, 235, 232, .5);
}

.ld-footer__areas ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ld-footer__areas li {
	margin: 0;
}

.ld-footer__areas a {
	color: rgba(236, 235, 232, .78);
	text-decoration: none;
	transition: color .2s var(--ld-ease);
}

.ld-footer__areas a:hover,
.ld-footer__areas a:focus-visible {
	color: var(--ld-bg);
	text-decoration: underline;
}

@media (max-width: 1080px) {
	.ld-footer__areas {
		max-width: 520px;
	}
}

@media (max-width: 700px) {
	.ld-footer__areas {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.ld-footer__areas ul {
		justify-content: center;
	}
}

/* --- Breakpoints --- */
@media (max-width: 1080px) {
	.ld-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 46px 36px;
	}

	.ld-footer__col--brand {
		grid-column: 1 / -1;
	}

	.ld-footer__col--news {
		grid-column: 1 / -1;
		max-width: 420px;
	}

	/* Ruimte zodat de bottom bar niets afdekt */
	.ld-footer__bar {
		padding-bottom: calc(90px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 700px) {
	.ld-footer__inner {
		padding-top: 58px;
	}

	.ld-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 38px 24px;
	}

	.ld-footer__wordmark {
		margin-top: 52px;
	}

	.ld-footer__bar {
		flex-direction: column;
		align-items: flex-start;
	}
}
	.ld-news,
	.ld-news__submit,
	.ld-social a,
	.ld-footer__list a {
		transition-duration: .01ms;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ld-news,
	.ld-news__submit,
	.ld-social a,
	.ld-footer__list a {
		transition-duration: .01ms;
	}
}


/* --- Contactblokken --- */
.ld-footer__item {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-bottom: 16px;
}

.ld-footer__ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(236, 235, 232, .1);
	color: var(--ld-accent);
	margin-top: 2px;
}

.ld-footer__ico svg {
	width: 14px;
	height: 14px;
}

.ld-footer__label {
	display: block;
	margin-bottom: 3px;
	font-family: var(--ld-font-body);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: var(--ld-accent);
}

.ld-footer__item a {
	font-family: var(--ld-font-body);
	font-size: 14.5px;
	color: rgba(236, 235, 232, .82);
	text-decoration: none;
	transition: color .2s var(--ld-ease);
}

.ld-footer__item a:hover {
	color: #fff;
}

.ld-footer__head--spaced {
	margin-top: 26px;
}

.ld-footer__note {
	margin: 12px 0 0;
	font-family: var(--ld-font-body);
	font-size: 13px;
	line-height: 1.6;
	color: rgba(236, 235, 232, .6);
}

.ld-footer__grid {
	grid-template-columns: 1.15fr 1.05fr 1.1fr .8fr;
}

.ld-footer__col--brand .ld-social {
	margin-top: 20px;
}

@media (max-width: 1080px) {
	.ld-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ld-footer__col--brand {
		grid-column: 1 / -1;
	}
}


/* --- Mobiel: gecentreerd --- */
@media (max-width: 700px) {
	.ld-footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 32px;
	}

	.ld-footer__blurb {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.ld-footer__status,
	.ld-social,
	.ld-footer__item,
	.ld-footer__legal {
		justify-content: center;
	}

	.ld-footer__item {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.ld-footer__col--news .ld-footer__blurb,
	.ld-news__msg {
		text-align: center;
	}

	.ld-footer__bar {
		align-items: center;
		text-align: center;
	}

	.ld-logo--footer {
		display: inline-block;
	}

	.ld-logo--footer .ld-logo__img {
		margin: 0 auto;
	}
}
