/* ==========================================================================
   Page compositions (2026): home sections, catalogue hubs, the machine page
   and the catalogue mega menu. Built only from the LUMIX PROCUT Design
   System tokens and primitives (tokens.css, base.css, components.css).
   Breakpoints: 48em, 64em, 75em.
   ========================================================================== */

/* ---------- Shared ---------- */
.lx-section-heading--flush { margin-bottom: 0; }
.lx-section-heading--split > .lx-more { flex: none; margin-bottom: 6px; }

.card-grid--3, .card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 64em) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75em) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Eyebrow-style label used as a small section title */
.hub-subtitle, .browse-more__title {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-4);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.hub-subtitle::before, .browse-more__title::before { content: ""; flex: none; width: 26px; height: 3px; border-radius: var(--radius-full); background: var(--lumix-green); }

/* Chips: links to hubs and the brand filter (button radius, not pills) */
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 40px;
	padding: 0 var(--space-4);
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-current] { border-color: var(--lumix-green); background: var(--lumix-green); color: var(--on-brand); }
.chip__count { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__count { color: var(--on-brand); }
.chip-list--sm .chip { min-height: 32px; padding: 0 var(--space-3); font-size: 13px; }

/* Two columns: heading and help on the left, content on the right */
.split { display: grid; gap: var(--space-8); }
@media (min-width: 64em) {
	.split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-12); }
	.split__aside { position: sticky; top: calc(var(--header-height) + var(--space-8)); align-self: start; }
}
.split__note { margin: var(--space-6) 0 var(--space-3); }

/* FAQ question headings inside summary keep the summary's type */
.faq__q { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
@media (max-width: 47.99em) { .faq summary { font-size: 18px; line-height: 26px; } }

/* ==========================================================================
   Home: hero and proof points
   ========================================================================== */
.home-hero { padding-block: var(--space-8) var(--space-12); background: var(--surface); }
@media (min-width: 64em) { .home-hero { padding-block: var(--space-12) var(--space-18); } }
.home-hero__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 64em) { .home-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-12); } }
.home-hero__title { margin-top: var(--space-2); }
.home-hero__copy .lx-lead { margin-top: var(--space-6); }
.home-hero__actions { margin-top: var(--space-8); }
.home-hero__call { margin: var(--space-4) 0 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.home-hero__call a { font-weight: 700; white-space: nowrap; }
.home-hero__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); }
.home-hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 64em) { .home-hero__media img { aspect-ratio: 1; } }

.proof {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: var(--space-12) 0 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--line);
}
@media (min-width: 64em) { .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proof__item { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-4); background: var(--surface); }
@media (min-width: 48em) { .proof__item { padding: var(--space-6); } }
.proof__figure { display: block; color: var(--ink); font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.proof__figure::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: var(--space-3); border-radius: var(--radius-full); background: var(--lumix-green); }
@media (min-width: 64em) { .proof__figure { font-size: var(--heading-1-size); line-height: var(--heading-1-line); } }
.proof__label { color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }

/* ==========================================================================
   Process cards (home, Machinery page)
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--space-6); }
@media (min-width: 75em) { .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.process-card__head { display: flex; gap: var(--space-4); align-items: center; }
.process-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--lumix-green); color: var(--on-brand); }
.process-card__icon svg { width: 22px; height: 22px; }
.process-card__title { margin: 0; font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.process-card__title a { color: var(--ink); text-decoration: none; }
.process-card__title a:hover { text-decoration: underline; text-decoration-color: var(--lumix-green); }
.process-card__count { margin: 2px 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.process-card__types { margin: 0; padding: var(--space-2) 0 0; list-style: none; border-top: 1px solid var(--line); }
.process-card__types a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	min-height: 40px;
	color: var(--text);
	text-decoration: none;
}
.process-card__types a::after { content: ""; flex: none; width: 12px; height: 2px; border-radius: var(--radius-full); background: var(--line-strong); transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.process-card__types a:hover { color: var(--ink); }
.process-card__types a:hover::after { width: 20px; background: var(--lumix-green); }

.browse-more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-12); }
.browse-more__title { margin: 0; }

/* ==========================================================================
   Home: one team (deep green statement band)
   ========================================================================== */
.statement { padding-block: var(--section-space); background: var(--lumix-green-deep); color: var(--on-brand); }
.statement__head { max-width: 760px; margin-bottom: var(--space-12); }
.statement__eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-2);
	font-family: var(--font-display);
	font-size: var(--eyebrow-size);
	line-height: var(--eyebrow-line);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.statement__eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: var(--radius-full); background: var(--on-brand); }
.statement__title { margin: 0; color: var(--on-brand); font-size: var(--heading-1-size); line-height: var(--heading-1-line); font-weight: 700; }
@media (min-width: 64em) { .statement__title { font-size: var(--display-lg-size); line-height: var(--display-lg-line); } }
.statement__text { margin: var(--space-4) 0 0; max-width: var(--measure); color: var(--on-brand); font-size: var(--body-lg-size); line-height: var(--body-lg-line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-8) var(--space-6); margin: 0; padding: 0; list-style: none; }
.step { padding-top: var(--space-4); border-top: 2px solid var(--on-brand); }
.step__num { display: block; margin-bottom: var(--space-3); font-family: var(--font-display); font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.step__title { margin: 0 0 var(--space-2); color: var(--on-brand); font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.step__title a { color: inherit; text-decoration-color: var(--on-brand); }
.step__title a:hover { text-decoration-thickness: 3px; }
.step p { margin: 0; color: var(--on-brand); }
.statement :focus-visible { box-shadow: 0 0 0 2px var(--lumix-green-deep), 0 0 0 4px var(--ink); }

/* ==========================================================================
   Home: brands
   ========================================================================== */
.logo-wall a { display: grid; place-items: center; width: 100%; height: 100%; }

/* Moving logo strip: two copies of the list, scrolled by half the track */
.logo-marquee { --marquee-logo-w: 120px; --marquee-logo-h: 60px; --marquee-gap: 40px; }
.logo-marquee__track {
	display: flex;
	width: max-content;
	padding-block: var(--space-5);
	animation: logo-marquee var(--marquee-duration, 45s) linear infinite;
}
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.logo-marquee__list li { flex: none; padding-inline: var(--marquee-gap); }
.logo-marquee__list a { display: block; border-radius: var(--radius-sm); }
.logo-marquee__list img { display: block; width: var(--marquee-logo-w); height: var(--marquee-logo-h); object-fit: contain; }
.logo-marquee__track:hover,
.logo-marquee__track:focus-within,
.logo-marquee.is-paused .logo-marquee__track { animation-play-state: paused; }
@keyframes logo-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.logo-marquee__controls { display: flex; justify-content: flex-end; }
.logo-marquee__toggle { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-2); border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 13px; cursor: pointer; }
.logo-marquee__toggle:hover { color: var(--text); }
.logo-marquee__toggle[hidden] { display: none; }
.logo-marquee__toggle .icon { width: 16px; height: 16px; }
.logo-marquee__play,
.logo-marquee.is-paused .logo-marquee__pause { display: none; }
.logo-marquee.is-paused .logo-marquee__play { display: inline; }
@media (max-width: 47.99em) {
	.logo-marquee { --marquee-logo-w: 80px; --marquee-logo-h: 40px; --marquee-gap: 20px; }
}
/* Reduced motion: a still, centred grid of one copy, no button */
@media (prefers-reduced-motion: reduce) {
	.logo-marquee { -webkit-mask-image: none; mask-image: none; }
	.logo-marquee__track { width: auto; animation: none; }
	.logo-marquee__list { flex-wrap: wrap; justify-content: center; row-gap: var(--space-4); max-width: var(--container, 1200px); margin-inline: auto; }
	.logo-marquee__list[aria-hidden="true"], .logo-marquee__controls { display: none; }
}

/* ==========================================================================
   Home: get in touch
   ========================================================================== */
.home-contact__grid { display: grid; gap: var(--space-12); }
@media (min-width: 64em) { .home-contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.paths { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.paths li { display: flex; }
.path {
	display: flex;
	flex: 1;
	align-items: center;
	gap: var(--space-4);
	min-height: 88px;
	padding: var(--space-4) var(--space-4) var(--space-4) var(--space-4);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.path:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); color: var(--ink); text-decoration: none; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .path:hover { transform: none; } }
.path__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-full); background: var(--lumix-green); color: var(--on-brand); }
.path__icon svg { width: 20px; height: 20px; }
.path__body { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.path__title { color: var(--ink); font-family: var(--font-display); font-size: 17px; line-height: 24px; font-weight: 600; }
.path__text { color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.path__arrow { width: 20px; height: 20px; color: var(--ink); transition: transform var(--dur) var(--ease); }
.path:hover .path__arrow { transform: translateX(3px); }

.contact-card { padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
@media (max-width: 47.99em) { .contact-card { padding: var(--space-6); } }
.contact-card__title { margin: 0 0 var(--space-6); font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.contact-card__title::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: var(--space-3); border-radius: var(--radius-full); background: var(--lumix-green); }
.contact-card__phone { margin-bottom: var(--space-6); font-size: 24px; line-height: 32px; }
.contact-card__phone i { width: 44px; height: 44px; }
.contact-card__phone i svg { width: 18px; height: 18px; }
.contact-card__row { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-4); color: var(--text); }
.contact-card__row > svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }
.contact-card__row p { margin: 0; }
.contact-card__row strong { color: var(--ink); }
.contact-card > .lx-btn { margin-top: var(--space-2); }
.contact-card__note { margin: var(--space-3) 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.contact-card__form .wpcf7 { margin-top: var(--space-4); }

/* Green version (the home page's main call to action), styled like the CTABand */
.contact-card--brand { border-color: var(--lumix-green); background: var(--lumix-green); color: var(--on-brand); }
.contact-card--brand :is(.contact-card__title, .contact-card__lead, .contact-card__row, .contact-card__row strong, .contact-card__row > svg, .contact-card__note, .text-muted, .lx-phone, .lx-phone__label) { color: var(--on-brand); }
.contact-card__lead { margin: 0 0 var(--space-6); }
.contact-card--brand .contact-card__title::before { background: var(--on-brand); }
.contact-card--brand .lx-phone i { background: var(--on-brand); color: var(--lumix-green); }
.contact-card--brand .lx-btn--primary { background: var(--on-brand); color: var(--surface); }
.contact-card--brand .lx-btn--primary:hover { background: #000000; color: var(--surface); }
.contact-card--brand :focus-visible { box-shadow: 0 0 0 2px var(--lumix-green), 0 0 0 4px var(--ink); }

/* ==========================================================================
   Catalogue hubs (machine types and industries)
   ========================================================================== */
.hub-header .lx-eyebrow { margin-bottom: var(--space-3); }
.hub-stats { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: var(--space-6) 0 0; padding: 0; list-style: none; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.hub-stats li { display: flex; align-items: center; gap: var(--space-2); }
.hub-stats li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--lumix-green); }
.hub-header__actions { margin-top: var(--space-8); }
.hub-types { padding-bottom: 0; }

.hub-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); margin-bottom: var(--space-8); }
.hub-toolbar .lx-h2 { margin: 0; }
.filter { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.card[hidden] { display: none; }

.empty-state { max-width: 600px; padding: var(--space-8); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state__title { margin-bottom: var(--space-2); color: var(--ink); font-family: var(--font-display); font-size: var(--heading-2-size); line-height: var(--heading-2-line); font-weight: 600; }
.empty-state .lx-btn { margin-top: var(--space-2); }

.hub-heading { margin-bottom: var(--space-6); }
.compare-table { font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.compare-table thead th { white-space: nowrap; }
.compare-table tbody th { font-family: var(--font-display); font-weight: 600; }
.compare-table tbody th a { color: var(--ink); }
.compare-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.compare-table td:not(:nth-child(2)) { white-space: nowrap; }
.compare-table tbody tr:hover :is(th, td) { background: var(--surface-alt); }
.table-note { margin: var(--space-3) 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.guide { max-width: var(--measure); }
.guide > .lx-h2 { margin-bottom: var(--space-6); }

/* ==========================================================================
   Machine page: gallery, chips, brochure, "On this page", sections
   ========================================================================== */
.gallery__main { border-radius: var(--radius-lg); }
.gallery__thumbs { display: flex; gap: var(--space-3); margin: var(--space-3) 0 0; padding: 0 0 var(--space-1); list-style: none; overflow-x: auto; }
.gallery__thumb {
	display: block;
	width: 80px;
	height: 80px;
	padding: 6px;
	border: 2px solid transparent;
	border-radius: var(--radius-md);
	background: var(--surface-alt);
	transition: border-color var(--dur-fast) var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb[aria-current] { border-color: var(--ink); }

.product-summary .chip-list { margin-top: var(--space-6); }
.product-summary .key-facts { margin-top: var(--space-6); }
.product-meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: var(--space-4) 0 0; color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }

/* Download link (brochure, spec sheet, manual) */
.download {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-4);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.download:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); color: var(--ink); text-decoration: none; }
.download__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-alt); color: var(--ink); }
.download__icon svg { width: 22px; height: 22px; }
.download__body { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.download__title { color: var(--ink); font-family: var(--font-display); font-size: 16px; line-height: 22px; font-weight: 600; }
.download__meta { color: var(--text-muted); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.download__action { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); color: var(--ink); transition: border-color var(--dur-fast) var(--ease); }
.download__action svg { width: 18px; height: 18px; }
.download:hover .download__action { border-color: var(--ink); }
.download--featured { margin: 0 0 var(--space-6); }
.download--featured .download__icon { border-radius: var(--radius-full); background: var(--lumix-green); color: var(--on-brand); }
.download-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
@media (min-width: 48em) { .download-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.download-list li { display: flex; }
.download-list .download { flex: 1; }

/* "On this page": sticks under the header while the details scroll */
.section-nav {
	position: sticky;
	top: var(--header-height);
	z-index: 5;
	margin: 0 0 var(--space-8);
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.admin-bar .section-nav { top: calc(var(--header-height) + 32px); }
@media (max-width: 782px) { .admin-bar .section-nav { top: calc(var(--header-height) + 46px); } }
@media (max-width: 600px) { .admin-bar .section-nav { top: var(--header-height); } }
.section-nav ul { display: flex; gap: var(--space-6); margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: var(--text);
	font-family: var(--font-display);
	font-size: var(--nav-size);
	line-height: var(--nav-line);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.section-nav a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 26px; height: 3px; border-radius: var(--radius-full); background: var(--lumix-green); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.section-nav a:hover, .section-nav a[aria-current] { color: var(--ink); }
.section-nav a:hover::after, .section-nav a[aria-current]::after { transform: scaleX(1); }

.product-section > .lx-h2 { margin-bottom: var(--space-6); }
.product-section + .product-section { margin-top: var(--space-12); }
.product-details .product-section .table-scroll { margin-top: 0; }
.feature-list { columns: 2 16rem; column-gap: var(--space-8); }
.feature-list li { break-inside: avoid; }
.entry-content--product { padding-block: var(--space-6) 0; }

/* ==========================================================================
   Mega menu: catalogue layout (processes, then industries and brands)
   ========================================================================== */
.mega--catalogue .mega__inner { grid-template-columns: 240px minmax(0, 1fr) 280px; gap: var(--space-8) var(--space-12); }
.mega__processes { columns: 2 13rem; column-gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.mega__side .mega__label { margin-bottom: var(--space-3); }
.mega__side .mega__types { margin-bottom: var(--space-6); }
.mega__side .mega__types:last-child { margin-bottom: 0; }
.mega__types--cols { columns: 2; column-gap: var(--space-4); }
.mega__types a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.mega__help { margin: var(--space-2) 0 0; color: var(--text); font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
.mega__help a { font-weight: 700; white-space: nowrap; }

/* Phone call and quote bar: the short button (Brochure or Call) takes its own width, the quote button the rest */
.sticky-enquiry { grid-template-columns: auto minmax(0, 1fr); }

/* ==========================================================================
   Services and Spare parts pages
   ========================================================================== */
.page-header__actions { margin-top: var(--space-8); }
@media (min-width: 64em) {
	.lx-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 48em) {
	.lx-card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 75em) {
	.lx-card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lx-card-grid--4 .lx-card { padding: var(--space-6); }
	.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Old intro and Sharpening rows of the Services content: the cards above replace them */
.services-page .entry-content--legacy :is(#service-top, #service-items) { display: none; }
.services-page .entry-content--legacy { padding-top: 0; }
.services-page .entry-content--legacy #home-brand-top { margin-top: var(--space-12); }

.check-cols { columns: 2 15rem; column-gap: var(--space-8); margin: 0; }
.check-cols li { break-inside: avoid; }

.order-grid { display: grid; gap: var(--space-12); }
@media (min-width: 64em) { .order-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }

/* Numbered steps on a light ground */
.howto { display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: howto; }
.howto li { position: relative; min-height: 44px; padding-left: calc(44px + var(--space-4)); }
.howto li::before {
	counter-increment: howto;
	content: counter(howto);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-full);
	background: var(--lumix-green);
	color: var(--on-brand);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
}
.howto__title { margin: 0 0 var(--space-1); padding-top: 9px; font-size: var(--heading-2-size); line-height: var(--heading-2-line); }
.howto p { margin: 0; }

.parts-brands .entry-content--legacy { padding: 0; }
/* Brand cards: wide logo plates instead of tall photo plates, no divider rows */
.parts-brands .wpb_column:has(.vc_btn3-container) :is(.wpb_single_image, .wpb_gallery) { aspect-ratio: 16 / 9; padding: 5% 12%; background: var(--surface); }
.parts-brands .vc_row:has(.vc_separator):not(:has(.wpb_text_column, .wpb_single_image, .wpb_gallery, .vc_btn3-container)) { display: none; }

/* Phones: service and parts cards as compact rows, icon beside the text */
@media (max-width: 47.99em) {
	:is(.services-page, .parts-page) .lx-card-grid { gap: var(--space-3); }
	:is(.services-page, .parts-page) .lx-card {
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		align-items: start;
		gap: var(--space-1) var(--space-4);
		padding: var(--space-4);
	}
	:is(.services-page, .parts-page) .lx-card__icon { grid-row: 1 / span 3; width: 44px; height: 44px; }
	:is(.services-page, .parts-page) .lx-card__icon svg { width: 20px; height: 20px; }
	:is(.services-page, .parts-page) .lx-card > :not(.lx-card__icon) { grid-column: 2; }
	:is(.services-page, .parts-page) .lx-card .lx-h3 { font-size: 18px; line-height: 26px; }
	:is(.services-page, .parts-page) .lx-card p { font-size: var(--body-sm-size); line-height: var(--body-sm-line); }
	:is(.services-page, .parts-page) .lx-card .lx-more { margin-top: var(--space-2); }
	.page-header__actions .lx-btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Logo wall (Services "Brands we service"): six
   across, a short last row centred, every logo at the same optical size.
   ========================================================================== */
:is(.services-page .logo-carousel-track, .services-page .vc_images_carousel .vc_carousel-slideline-inner) {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-4);
}
:is(.services-page .logo-carousel-track > img, .services-page .vc_images_carousel .vc_item) {
	flex: 0 0 calc((100% - 5 * var(--space-4)) / 6);
	min-width: 0;
}
@media (max-width: 63.99em) {
	:is(.services-page .logo-carousel-track > img, .services-page .vc_images_carousel .vc_item) { flex-basis: calc((100% - 2 * var(--space-4)) / 3); }
}
@media (max-width: 47.99em) {
	:is(.services-page .logo-carousel-track, .services-page .vc_images_carousel .vc_carousel-slideline-inner) { gap: var(--space-3); }
	:is(.services-page .logo-carousel-track > img, .services-page .vc_images_carousel .vc_item) { flex-basis: calc((100% - var(--space-3)) / 2); }
}
.services-page .logo-carousel-track > img { padding: 24px 12% !important; }
.services-page .vc_images_carousel .vc_item img { max-height: 40px; max-width: 78%; }
/* Light grey artwork disappears in greyscale: shown darker until a darker logo is uploaded */
:is(.logo-wall, .logo-carousel-track, .vc_images_carousel) img[src*="reiserpack"] { filter: grayscale(1) brightness(0.55); }
:is(.logo-wall, .logo-carousel-track, .vc_images_carousel) img[src*="reiserpack"]:hover { filter: brightness(0.8); }

/* Services: the template prints its own brands heading; the old one in the content is hidden */
.services-page .entry-content--legacy #home-brand-top { display: none; }
.services-page .entry-content--legacy { padding-block: 0 var(--space-12); }
.services-brands { padding-bottom: var(--space-8); }
.services-brands .lx-section-heading { margin-bottom: var(--space-8); }
