/**
 * Local landing pages (template "Lokale landingspagina") – loaded on that
 * template only.
 *
 * Rhythm: compact hero (text left, photo right) → local proof (warm band:
 * local text + company facts, no image) → popular packaging (shared
 * assortment cards, project.css) → editorial block (photo left, text right)
 * → compact call to action → page FAQ.
 *
 * Mobile first; two-column compositions from 1024px. Editor text uses the
 * shared .eno-prose rules (project.css); reveals come from the sitewide
 * system (data-eno-reveal-item / -group).
 */

.eno-local-page {
	width: 100%;
}

.eno-local-page figure {
	margin: 0;
}

.eno-local-page figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--eno-radius-lg);
}

/* Shared ------------------------------------------------------------------ */

.eno-local-section {
	padding-block: 4rem;
	border-top: 1px solid var(--eno-color-surface);
}

.eno-local-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eno-local-eyebrow::before {
	content: "";
	flex-shrink: 0;
	width: 1.5rem;
	height: 2px;
	background-color: var(--eno-color-orange);
}

.eno-local-title {
	margin: 0 0 1.25rem;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-lg);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* Short orange rule above the editorial H2s. */
.eno-local-title--rule::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	margin-bottom: 1.25rem;
	border-radius: 1px;
	background-color: var(--eno-color-orange);
}

.eno-local-lead {
	max-width: 36rem;
	margin: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

/* 01 Hero ----------------------------------------------------------------- */

.eno-local-hero {
	padding-block: 2rem 3.5rem;
}

.eno-local-hero__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-local-hero__content {
	max-width: 40rem;
}

.eno-local-hero__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-display);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.eno-local-hero__intro {
	margin: 1.25rem 0 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.65;
}

.eno-local-hero__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* 02 Trust points: a quiet row under a hairline, no cards. */
.eno-local-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	margin: 2rem 0 0;
	padding: 1.25rem 0 0;
	border-top: 1px solid var(--eno-color-surface-high);
	list-style: none;
}

.eno-local-trust li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1.4;
}

.eno-local-trust .eno-icon {
	flex-shrink: 0;
	color: var(--eno-color-green);
}

.eno-local-hero__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* 03 Local proof: warm band, local text with company facts beside it. ---- */

.eno-local-proof {
	border-top: 0;
	background-color: var(--eno-color-surface-low);
}

/* The band already separates it; no hairline on the section after it. */
.eno-local-proof + .eno-local-section {
	border-top: 0;
}

.eno-local-proof__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-local-proof__content {
	max-width: 44rem;
}

/* Editorial lead: the first paragraph reads darker than the rest. */
.eno-local-proof__prose > p:first-child {
	color: var(--eno-color-text);
}

/* Facts: a quiet column with hairlines, no card. */
.eno-local-facts {
	align-self: start;
	padding-top: 1.25rem;
	border-top: 2px solid var(--eno-color-orange);
}

.eno-local-facts__company {
	margin: 0 0 0.5rem;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-body-lg);
	font-weight: 700;
	line-height: 1.3;
}

.eno-local-facts__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-local-facts__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.125rem 0.75rem;
	margin: 0;
	padding-block: 0.875rem;
	border-bottom: 1px solid var(--eno-color-surface-high);
}

.eno-local-facts__item .eno-icon {
	grid-row: span 2;
	margin-top: 0.125rem;
	color: var(--eno-color-orange-dark);
}

.eno-local-facts__label {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eno-local-facts__value {
	color: var(--eno-color-text);
	font-size: var(--eno-text-body);
	line-height: 1.5;
}

.eno-local-facts__value a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--eno-color-surface-dim);
	text-underline-offset: 0.2em;
	transition: text-decoration-color 150ms var(--eno-ease);
}

.eno-local-facts__value a:hover,
.eno-local-facts__value a:focus-visible {
	color: var(--eno-color-text);
	text-decoration-color: var(--eno-color-orange);
}

.eno-local-facts__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	color: var(--eno-color-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--eno-color-surface-dim);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	transition: text-decoration-color 300ms var(--eno-ease);
}

.eno-local-facts__link:hover,
.eno-local-facts__link:focus-visible {
	color: var(--eno-color-text);
	text-decoration-color: var(--eno-color-orange);
}

.eno-local-facts__link .eno-icon {
	color: var(--eno-color-orange-dark);
	transition: transform 300ms var(--eno-ease);
}

.eno-local-facts__link:hover .eno-icon {
	transform: translateX(4px);
}

/* 04 Popular packaging ------------------------------------------------------ */

.eno-local-solutions__header {
	margin-bottom: 2rem;
}

.eno-local-solutions__header .eno-local-title {
	margin-bottom: 0;
}

.eno-local-solutions__header .eno-local-lead {
	margin-top: 1rem;
}

.eno-local-solutions__grid {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Lets each card fill its cell so a row lines up. */
.eno-local-solutions__grid > li {
	display: flex;
	min-width: 0;
	margin: 0;
}

/* 05 Editorial block: photo left, text right (the hero mirrored). -------- */

.eno-local-split {
	overflow-x: clip;
}

.eno-local-split__inner {
	display: grid;
	gap: 2.5rem;
}

.eno-local-split__media {
	position: relative;
	z-index: 0;
}

.eno-local-page .eno-local-split__media img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.eno-local-split__content {
	max-width: 40rem;
}

/* 06 Call to action: compact, light green panel; no second orange block. --- */

/* The section above already ends in generous space; only directly after
   the warm band does the panel need room of its own. */
.eno-local-cta {
	padding-block: 0 4rem;
}

.eno-local-proof + .eno-local-cta {
	padding-top: 4rem;
}

.eno-local-cta__panel {
	display: grid;
	gap: 1.75rem;
	padding: 2rem 1.5rem;
	border-left: 3px solid var(--eno-color-green);
	border-radius: var(--eno-radius-lg);
	background-color: var(--eno-color-green-bg);
}

.eno-local-cta__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-md);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.eno-local-cta__text {
	max-width: 36rem;
	margin: 0.625rem 0 0;
	color: var(--eno-color-text-muted);
	line-height: 1.6;
}

.eno-local-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* Small tablets: buttons side by side, two cards per row ------------------- */

@media (min-width: 600px) {
	.eno-local-hero__actions,
	.eno-local-cta__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.eno-local-solutions__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eno-local-solutions__grid--1 {
		grid-template-columns: minmax(0, 22rem);
	}
}

/* Tablet ------------------------------------------------------------------ */

@media (min-width: 768px) {
	.eno-local-section {
		padding-block: 5rem;
	}

	.eno-local-hero {
		padding-block: 3rem 4.5rem;
	}

	.eno-local-solutions__header {
		margin-bottom: 2.5rem;
	}

	.eno-local-solutions__grid {
		gap: 1.25rem;
	}

	.eno-local-cta {
		padding-bottom: 5rem;
	}

	.eno-local-proof + .eno-local-cta {
		padding-top: 5rem;
	}

	/* Facts in two columns while the text still runs full width. */
	.eno-local-facts__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;
	}

	.eno-local-cta__panel {
		padding: 2.5rem;
	}
}

/* Desktop ----------------------------------------------------------------- */

@media (min-width: 1024px) {
	.eno-local-hero {
		padding-block: 3.5rem 5rem;
	}

	.eno-local-hero__inner {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		gap: 4rem;
		align-items: center;
	}

	.eno-local-hero__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-local-hero__inner--text .eno-local-hero__content {
		max-width: 46rem;
	}

	.eno-local-solutions__grid {
		gap: 1.5rem;
	}

	.eno-local-solutions__grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eno-local-solutions__grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.eno-local-proof {
		padding-block: 6rem;
	}

	/* Text left, facts right. */
	.eno-local-proof__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: 5rem;
	}

	.eno-local-proof__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-local-facts {
		margin-top: 0.5rem;
	}

	.eno-local-facts__list {
		display: block;
	}

	.eno-local-split {
		padding-block: 6rem;
	}

	/* Photo left (larger), text right: the hero mirrored. */
	.eno-local-split__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4.5rem;
		align-items: center;
	}

	.eno-local-page .eno-local-split__media img {
		aspect-ratio: 5 / 4;
	}

	/* Kraft block offset behind the photo, as on the about page. */
	.eno-local-split__media::before {
		content: "";
		position: absolute;
		top: 3rem;
		right: 3rem;
		bottom: -1.5rem;
		left: -1.5rem;
		z-index: -1;
		border-radius: var(--eno-radius-lg);
		background-color: var(--eno-color-kraft-soft);
		background-image: var(--eno-corrugated);
		background-size: 40px 18px;
	}

	.eno-local-split__inner--text {
		grid-template-columns: minmax(0, 1fr);
	}

	.eno-local-split__inner--text .eno-local-split__content {
		max-width: 46rem;
	}

	/* Text left, buttons right on one line. */
	.eno-local-cta__panel {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3rem;
		align-items: center;
		padding: 2.5rem 3rem;
	}

	.eno-local-cta__actions {
		flex-wrap: nowrap;
	}
}

@media (min-width: 1280px) {
	.eno-local-hero__inner,
	.eno-local-split__inner {
		gap: 6rem;
	}

	.eno-local-proof__inner {
		gap: 7rem;
	}
}

@media (max-width: 479px) {
	.eno-local-hero__actions .eno-button,
	.eno-local-cta__actions .eno-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-local-facts__link .eno-icon {
		transition: none;
	}

	.eno-local-facts__link:hover .eno-icon {
		transform: none;
	}
}
