/**
 * LGCM Global — front end styles.
 *
 * Hand authored: there is no node/npm on the host, so this file ships as is.
 * Order follows the page: tokens, base, layout, components, templates, media.
 */

/* -------------------------------------------------------------------------
 * 1. Tokens
 * ---------------------------------------------------------------------- */

:root {
	/* Brand. Official values supplied by the client: black, white and yellow
	   are the primaries, red and the brighter yellow are secondary accents.
	   The -dark variants are hover states derived from the official hues. */
	--ink: #000000;
	--ink-2: #1d1d1f;
	--ink-3: #33343a;
	--red: #b01823;
	--red-dark: #8b131c;
	--yellow: #e69403;
	--yellow-dark: #bf7b03;

	/* Secondary accent from the brand sheet. Not used by default; kept here
	   so it is on hand without hunting for the hex again. */
	--yellow-2: #ffde00;

	/* Neutrals. */
	--white: #ffffff;
	--paper: #f6f7f8;
	--paper-2: #eceef0;
	--line: #dcdfe3;
	--line-2: #c6cad0;
	--muted: #5f636b;
	--muted-2: #8a8f97;

	/* Type. */
	--font: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
	--font-head: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--fs-xs: 0.75rem;
	--fs-sm: 0.8125rem;
	--fs-base: 0.9375rem;
	--fs-md: 1.0625rem;
	--fs-lg: 1.25rem;
	--fs-xl: 1.5rem;
	--fs-2xl: 2rem;
	--fs-3xl: 2.5rem;
	--fs-4xl: 3.25rem;

	/* Space. */
	--sp-1: 4px;
	--sp-2: 8px;
	--sp-3: 12px;
	--sp-4: 16px;
	--sp-5: 24px;
	--sp-6: 32px;
	--sp-7: 48px;
	--sp-8: 64px;
	--sp-9: 96px;

	/* Shell. */
	--wrap: 1280px;
	--wrap-narrow: 860px;
	--gutter: 20px;

	--radius: 4px;
	--radius-lg: 8px;

	--shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06), 0 1px 3px rgba(17, 17, 17, 0.08);
	--shadow: 0 2px 6px rgba(17, 17, 17, 0.08), 0 8px 24px rgba(17, 17, 17, 0.08);
	--shadow-lg: 0 12px 40px rgba(17, 17, 17, 0.16);

	--header-h: 72px;
	--ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* -------------------------------------------------------------------------
 * 2. Base
 * ---------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink-2);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Every inline theme icon gets a safe intrinsic size. Component rules below
   can still opt into a larger size, but a missing selector can no longer turn
   a 24px SVG into a full-width illustration. */
.lgcm-icon {
	width: 1.25em;
	height: 1.25em;
	flex: 0 0 auto;
}

a {
	color: var(--red);
	text-decoration: none;
	transition: color 0.18s var(--ease);
}

a:hover,
a:focus-visible {
	color: var(--red-dark);
}

button {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--sp-3);
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-wrap: balance;
}

p,
ul,
ol,
table,
figure,
blockquote {
	margin: 0 0 var(--sp-4);
}

p:last-child,
ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: var(--sp-6) 0;
}

:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 2px;
}

::selection {
	background: var(--yellow);
	color: var(--ink);
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: clip;
}

.site-main {
	flex: 1 0 auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: var(--sp-4);
	z-index: 999;
	padding: var(--sp-2) var(--sp-4);
	background: var(--ink);
	color: var(--white);
	font-weight: 700;
	border-radius: 0 0 var(--radius) var(--radius);
	transition: top 0.18s var(--ease);
}

.skip-link:focus {
	top: 0;
	color: var(--white);
}

/* -------------------------------------------------------------------------
 * 3. Layout
 * ---------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: var(--wrap-narrow);
}

.section {
	padding-block: var(--sp-9);
}

.section--tight {
	padding-block: var(--sp-7);
}

.section__head {
	max-width: 720px;
	margin-bottom: var(--sp-6);
}

.section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-4);
	max-width: none;
}

.section__title {
	margin: 0;
	font-size: var(--fs-2xl);
	text-transform: uppercase;
}

.section__title--sm {
	font-size: var(--fs-xl);
}

.section__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: var(--sp-3);
	background: linear-gradient(90deg, var(--yellow) 0 50%, var(--red) 50% 100%);
}

.section__head--row .section__title::after {
	margin-bottom: 0;
}

.section__sub {
	margin: var(--sp-3) 0 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

/* -------------------------------------------------------------------------
 * 4. Rich text
 * ---------------------------------------------------------------------- */

.rte,
.entry-content {
	font-size: var(--fs-md);
	line-height: 1.75;
}

.rte h2,
.entry-content h2 {
	margin-top: var(--sp-7);
	font-size: var(--fs-xl);
}

.rte h3,
.entry-content h3 {
	margin-top: var(--sp-6);
	font-size: var(--fs-lg);
}

.rte > :first-child,
.entry-content > :first-child {
	margin-top: 0;
}

.rte ul,
.rte ol,
.entry-content ul,
.entry-content ol {
	padding-left: 1.35em;
}

.rte li,
.entry-content li {
	margin-bottom: var(--sp-2);
}

.rte blockquote,
.entry-content blockquote {
	padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
	border-left: 4px solid var(--yellow);
	color: var(--ink-3);
	font-size: var(--fs-lg);
	font-style: italic;
}

.rte img,
.entry-content img {
	border-radius: var(--radius);
}

.rte table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-base);
}

.rte th,
.rte td,
.entry-content th,
.entry-content td {
	padding: var(--sp-3);
	border: 1px solid var(--line);
	text-align: left;
}

.rte th,
.entry-content th {
	background: var(--paper);
}

.entry-content .alignleft {
	float: left;
	margin: 0 var(--sp-5) var(--sp-4) 0;
}

.entry-content .alignright {
	float: right;
	margin: 0 0 var(--sp-4) var(--sp-5);
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.wp-caption-text,
figcaption {
	margin-top: var(--sp-2);
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* -------------------------------------------------------------------------
 * 5. Buttons and chips
 * ---------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: 13px 24px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: var(--red);
	color: var(--white);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	transition: background 0.18s var(--ease), color 0.18s var(--ease),
		border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:hover,
.btn:focus-visible {
	background: var(--red-dark);
	color: var(--white);
	transform: translateY(-1px);
}

.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.btn--primary {
	background: var(--red);
	border-color: var(--red);
}

.btn--ghost {
	background: transparent;
	border-color: var(--ink);
	color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--white);
}

.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
	background: var(--white);
	border-color: var(--white);
	color: var(--ink);
}

.btn--outline {
	background: var(--white);
	border-color: var(--line-2);
	color: var(--ink);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	background: var(--paper);
	border-color: var(--ink);
	color: var(--ink);
}

.btn--sm {
	padding: 9px 16px;
	font-size: var(--fs-xs);
}

.btn--lg {
	padding: 17px 34px;
	font-size: var(--fs-base);
}

.link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--red);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.link-btn:hover {
	color: var(--red-dark);
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
		color 0.18s var(--ease);
}

.icon-btn:hover,
.icon-btn:focus-visible {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--white);
}

.icon-btn svg {
	width: 20px;
	height: 20px;
}

.icon-btn--wa {
	border-color: #25d366;
	color: #1da851;
}

.icon-btn--wa:hover,
.icon-btn--wa:focus-visible {
	background: #25d366;
	border-color: #25d366;
	color: var(--white);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink-3);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
		color 0.18s var(--ease);
}

.chip:hover,
.chip:focus-visible {
	border-color: var(--ink);
	color: var(--ink);
}

.chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.chips-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* -------------------------------------------------------------------------
 * 6. Top bar
 * ---------------------------------------------------------------------- */

.topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--fs-xs);
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	min-height: 38px;
	padding-block: var(--sp-1);
}

.topbar__text {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	letter-spacing: 0.02em;
}

.topbar__text::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--yellow);
}

.topbar__meta {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
}

.topbar__meta a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	font-weight: 600;
}

.topbar__meta a:hover {
	color: var(--yellow);
}

.topbar__meta svg {
	width: 15px;
	height: 15px;
}

/* -------------------------------------------------------------------------
 * 7. Header
 * ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s var(--ease);
}

.site-header.is-stuck {
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
	min-height: var(--header-h);
}

/* Logo. */

.custom-logo-link,
.lgcm-logo {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: var(--sp-2);
}

.custom-logo,
.lgcm-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 46px;
}

.lgcm-logo--text {
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	color: var(--ink);
}

.lgcm-logo--text:hover {
	color: var(--ink);
}

.lgcm-logo__word {
	font-family: var(--font-head);
	font-size: var(--fs-lg);
	font-style: italic;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
	text-transform: uppercase;
}

.lgcm-logo__bars {
	display: block;
	width: 100%;
	min-width: 92px;
	height: 6px;
	background: linear-gradient(90deg, var(--yellow) 0 52%, var(--red) 52% 100%);
}

/* Primary nav. */

.nav-primary {
	flex: 1 1 auto;
}

.nav-primary__list,
.nav-primary__list ul {
	display: flex;
	align-items: center;
	gap: var(--sp-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-primary__list > li {
	position: relative;
}

.nav-primary__list > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: var(--sp-3) var(--sp-3);
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nav-primary__list > li > a::after {
	content: "";
	position: absolute;
	left: var(--sp-3);
	right: var(--sp-3);
	bottom: 14px;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s var(--ease);
}

.nav-primary__list > li:hover > a::after,
.nav-primary__list > li:focus-within > a::after,
.nav-primary__list > .current-menu-item > a::after,
.nav-primary__list > .current-menu-parent > a::after,
.nav-primary__list > .current-menu-ancestor > a::after,
.nav-primary__list > .current_page_item > a::after {
	transform: scaleX(1);
}

.nav-primary__list .menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 7px;
	height: 7px;
	margin-left: 3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

/* Dropdown. */

.nav-primary__list > li > ul {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	display: block;
	min-width: 250px;
	padding: var(--sp-2) 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--red);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
		visibility 0.18s;
}

.nav-primary__list > li:hover > ul,
.nav-primary__list > li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-primary__list > li > ul li {
	width: 100%;
}

.nav-primary__list > li > ul a {
	display: block;
	padding: 9px var(--sp-4);
	color: var(--ink-3);
	font-size: var(--fs-base);
	font-weight: 600;
}

.nav-primary__list > li > ul a:hover,
.nav-primary__list > li > ul a:focus-visible {
	background: var(--paper);
	color: var(--red);
}

/* Header actions. */

.site-header__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--sp-2);
}

.site-header__cta {
	white-space: nowrap;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	cursor: pointer;
}

.burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: var(--ink);
	transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Search panel. */

.search-panel {
	padding-block: var(--sp-4);
	background: var(--paper);
	border-top: 1px solid var(--line);
}

.search-panel[hidden] {
	display: none;
}

.search-form {
	display: flex;
	gap: var(--sp-2);
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px var(--sp-4);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--white);
	font-size: var(--fs-md);
}

.search-form__input:focus {
	border-color: var(--ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.35);
}

.search-form__submit {
	flex: none;
}

/* Mobile drawer. */

.drawer {
	display: none;
	border-top: 1px solid var(--line);
	background: var(--white);
	max-height: calc(100vh - var(--header-h));
	overflow-y: auto;
	overscroll-behavior: contain;
}

.drawer[hidden] {
	display: none;
}

.drawer__inner {
	padding: var(--sp-4) var(--gutter) var(--sp-6);
}

.drawer__list,
.drawer__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.drawer__list li {
	border-bottom: 1px solid var(--line);
}

.drawer__list a {
	display: block;
	padding: var(--sp-3) 0;
	color: var(--ink);
	font-size: var(--fs-md);
	font-weight: 700;
}

.drawer__list ul {
	padding-bottom: var(--sp-2);
}

.drawer__list ul li {
	border: 0;
}

.drawer__list ul a {
	padding: 7px 0 7px var(--sp-4);
	color: var(--muted);
	font-size: var(--fs-base);
	font-weight: 500;
}

.drawer__contact {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	margin-top: var(--sp-5);
}

/* -------------------------------------------------------------------------
 * 8. Hero
 * ---------------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--ink);
	overflow: hidden;
}

.hero__track {
	display: flex;
	transition: transform 0.6s var(--ease);
	will-change: transform;
}

.hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-height: clamp(420px, 56vw, 660px);
	display: flex;
	align-items: center;
}

.hero__media {
	position: absolute;
	inset: 0;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(10, 10, 12, 0.9) 0%,
		rgba(10, 10, 12, 0.55) 45%,
		rgba(10, 10, 12, 0.15) 100%
	);
}

.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: var(--sp-8);
}

.hero__content {
	max-width: 640px;
	color: var(--white);
}

.hero__slide[data-align="center"] .hero__content {
	margin-inline: auto;
	text-align: center;
}

.hero__slide[data-align="right"] .hero__content {
	margin-left: auto;
	text-align: right;
}

.hero__slide[data-align="center"] .hero__scrim,
.hero__slide[data-align="right"] .hero__scrim {
	background: linear-gradient(
		180deg,
		rgba(10, 10, 12, 0.35) 0%,
		rgba(10, 10, 12, 0.75) 100%
	);
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin-bottom: var(--sp-4);
	padding: 6px 14px;
	background: var(--yellow);
	color: var(--ink);
	font-size: var(--fs-xs);
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero__title {
	margin: 0;
	color: var(--white);
	font-size: clamp(2rem, 5.2vw, var(--fs-4xl));
	line-height: 1.05;
	text-transform: uppercase;
}

.hero__text {
	margin: var(--sp-4) 0 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--fs-md);
	max-width: 52ch;
}

.hero__slide[data-align="center"] .hero__text {
	margin-inline: auto;
}

.hero__slide[data-align="right"] .hero__text {
	margin-left: auto;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-6);
}

.hero__slide[data-align="center"] .hero__actions {
	justify-content: center;
}

.hero__slide[data-align="right"] .hero__actions {
	justify-content: flex-end;
}

/* Hero controls. */

.hero__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.18s var(--ease);
}

.hero__nav:hover,
.hero__nav:focus-visible {
	background: var(--red);
}

.hero__nav svg {
	width: 24px;
	height: 24px;
}

.hero__nav--prev {
	left: 0;
}

.hero__nav--next {
	right: 0;
}

.hero__dots {
	position: absolute;
	bottom: var(--sp-5);
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: var(--sp-2);
}

[data-slider-dot] {
	width: 34px;
	height: 4px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background 0.18s var(--ease);
}

[data-slider-dot]:hover {
	background: rgba(255, 255, 255, 0.7);
}

[data-slider-dot].is-active {
	background: var(--yellow);
}

/* -------------------------------------------------------------------------
 * 9. Trust bar
 * ---------------------------------------------------------------------- */

.trust {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.trust__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sp-5);
	margin: 0;
	padding-block: var(--sp-6);
	list-style: none;
}

.trust__item {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-4);
}

.trust__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--red);
}

.trust__icon svg {
	width: 24px;
	height: 24px;
}

.trust__title {
	margin: 0 0 2px;
	font-size: var(--fs-md);
	text-transform: uppercase;
}

.trust__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* -------------------------------------------------------------------------
 * 10. Category grid
 * ---------------------------------------------------------------------- */

.section--cats {
	background: var(--white);
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--sp-5);
}

/* The home page has exactly five top-level machine families. Keeping them in
   one row makes the catalogue hierarchy immediately readable on desktop. */
.lgcm-front .cat-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.cat-card:hover {
	border-color: var(--ink);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.cat-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--paper-2);
	overflow: hidden;
}

.cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.cat-card:hover .cat-card__img {
	transform: scale(1.04);
}

.cat-card__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--line-2);
}

.cat-card__img--empty svg {
	width: 56px;
	height: 56px;
}

.cat-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--sp-2);
	padding: var(--sp-5);
}

.cat-card__title {
	margin: 0;
	font-size: var(--fs-md);
	text-transform: uppercase;
}

/* Optional term description, shown on the applications grid when set. */
.cat-card__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
	line-height: 1.55;
}

.cat-card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--sp-3);
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cat-card__link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s var(--ease);
}

.cat-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.cat-card:hover .cat-card__link {
	color: var(--red);
}

.cat-card:hover .cat-card__link svg {
	transform: translateX(4px);
}

.cat-card__subs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-1) var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.cat-card__subs a {
	position: relative;
	z-index: 2;
	color: var(--muted);
}

.cat-card__subs a:hover {
	color: var(--red);
}

/* -------------------------------------------------------------------------
 * 11. Cards
 * ---------------------------------------------------------------------- */

.grid,
.card-grid {
	display: grid;
	gap: var(--sp-5);
}

.grid--products {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid--attachments {
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.card-grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card-grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
		transform 0.2s var(--ease);
}

.card:hover {
	border-color: var(--ink);
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--paper);
	overflow: hidden;
}

.card--attachment .card__media {
	aspect-ratio: 1 / 1;
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.card:hover .card__img {
	transform: scale(1.04);
}

.card__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--line-2);
}

.card__img--empty svg {
	width: 48px;
	height: 48px;
}

.card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: var(--sp-5);
}

.card__eyebrow {
	margin-bottom: 6px;
	color: var(--muted-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.card__title {
	margin: 0;
	font-size: var(--fs-md);
	text-transform: uppercase;
}

.card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--sp-4);
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.card__link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s var(--ease);
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card:hover .card__link {
	color: var(--red);
}

.card:hover .card__link svg {
	transform: translateX(4px);
}

.card__model {
	margin: 4px 0 0;
	color: var(--red);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.card__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--sp-2) var(--sp-4);
	margin: var(--sp-3) 0 0;
	padding: var(--sp-3) 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.card__spec {
	min-width: 0;
	color: var(--ink-3);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.card__spec dt,
.card__spec dd {
	margin: 0;
	text-align: left;
}

.card__spec dt {
	line-height: 1.35;
}

.card__spec dd {
	margin-top: 3px;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.35;
}

.card__text,
.card__excerpt {
	margin: var(--sp-2) 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.card__meta {
	margin: 0 0 var(--sp-2);
	color: var(--muted-2);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--sp-4);
	color: var(--red);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.card__cta svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s var(--ease);
}

.card:hover .card__cta svg {
	transform: translateX(4px);
}

/* -------------------------------------------------------------------------
 * 12. Build band, stats, why, global
 * ---------------------------------------------------------------------- */

.section--build {
	background: var(--paper);
	border-block: 1px solid var(--line);
}

.build {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: var(--sp-8);
}

.build__text {
	color: var(--muted);
	font-size: var(--fs-md);
}

.build__steps {
	margin: var(--sp-5) 0;
	padding: 0;
	list-style: none;
}

.build__steps li {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-3) 0;
	border-bottom: 1px solid var(--line);
	font-weight: 700;
}

.build__step-no {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--yellow);
	font-family: var(--font-head);
	font-size: var(--fs-sm);
}

.build__media img,
.build__img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.stats {
	background: var(--ink);
	color: var(--white);
}

.stats__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--sp-5);
	margin: 0;
	padding-block: var(--sp-7);
	list-style: none;
	text-align: center;
}

.stats__item + .stats__item {
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stats__number {
	display: block;
	color: var(--yellow);
	font-family: var(--font-head);
	font-size: var(--fs-3xl);
	line-height: 1.1;
}

.stats__label {
	display: block;
	margin-top: var(--sp-2);
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--fs-sm);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--sp-5);
}

.why-card {
	padding: var(--sp-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--yellow);
	border-radius: var(--radius);
	transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.why-card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}

.why-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: var(--sp-4);
	background: var(--paper);
	border-radius: var(--radius);
	color: var(--red);
}

.why-card__icon svg {
	width: 24px;
	height: 24px;
}

.why-card__title {
	margin: 0 0 var(--sp-2);
	font-size: var(--fs-md);
	text-transform: uppercase;
}

.why-card__text {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.section--why {
	background: var(--paper);
}

.section--global {
	background: var(--white);
}

.global {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: var(--sp-8);
}

.global--text-only {
	grid-template-columns: minmax(0, 1fr);
}

.global--text-only .global__intro {
	max-width: 880px;
}

.global__text {
	color: var(--muted);
	font-size: var(--fs-md);
}

.global__list {
	display: grid;
	gap: var(--sp-4);
	margin: var(--sp-5) 0 0;
	padding: 0;
	list-style: none;
}

.global--text-only .global__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
	margin-top: var(--sp-6);
}

.global__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--sp-3);
	padding-bottom: var(--sp-4);
	border-bottom: 1px solid var(--line);
}

.global--text-only .global__item {
	align-items: start;
	min-height: 126px;
	padding: var(--sp-4);
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--red);
	border-radius: var(--radius-md);
}

.global__pin {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: var(--paper);
	border-radius: 50%;
	color: var(--red);
}

.global__pin svg {
	width: 18px;
	height: 18px;
}

.global__region {
	display: block;
	margin-top: 3px;
	color: var(--muted-2);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.global__place {
	display: block;
	font-weight: 700;
	color: var(--ink);
}

.global__place strong {
	display: block;
	font-size: 1rem;
	line-height: 1.35;
}

.global__phone {
	display: inline-block;
	margin-top: var(--sp-2);
	font-size: 0.95rem;
	line-height: 1.4;
}

.global__media img {
	width: 100%;
	border-radius: var(--radius-lg);
}

/* -------------------------------------------------------------------------
 * 13. CTA band and inquiry
 * ---------------------------------------------------------------------- */

.cta-band {
	background: var(--ink);
	background-image: linear-gradient(120deg, #17171a 0%, #26272c 100%);
	color: var(--white);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	padding-block: var(--sp-7);
}

.cta-band__title {
	margin: 0;
	color: var(--white);
	font-size: var(--fs-xl);
	text-transform: uppercase;
}

.cta-band__text {
	margin: var(--sp-2) 0 0;
	color: rgba(255, 255, 255, 0.75);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.section--inquiry {
	background: var(--paper);
	border-top: 1px solid var(--line);
}

.inquiry {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: var(--sp-8);
	align-items: start;
}

.inquiry__text {
	margin: var(--sp-3) 0 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

.inquiry__contact {
	display: grid;
	gap: var(--sp-3);
	margin: var(--sp-5) 0 0;
	padding-inline: 0;
	padding-top: var(--sp-5);
	border-top: 1px solid var(--line);
	list-style: none;
}

.inquiry__contact li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	gap: var(--sp-3);
	min-height: 52px;
	padding: var(--sp-3) var(--sp-4);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}

.inquiry__contact a {
	display: inline-block;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
}

.inquiry__contact li > span:not(.screen-reader-text) {
	color: var(--ink-3);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
}

.inquiry__contact a:hover {
	color: var(--red);
}

.inquiry__contact svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--red);
}

.inquiry__form {
	padding: var(--sp-6);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.form-shell--fallback {
	text-align: left;
}

.form-context {
	margin: 0 0 var(--sp-4);
	padding-bottom: var(--sp-3);
	border-bottom: 1px solid var(--line);
	color: var(--muted-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.form-fallback__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-4);
}

/* Plugin form fields, normalised. */

.inquiry__form input[type="text"],
.inquiry__form input[type="email"],
.inquiry__form input[type="tel"],
.inquiry__form input[type="url"],
.inquiry__form input[type="number"],
.inquiry__form select,
.inquiry__form textarea {
	width: 100%;
	padding: 11px var(--sp-3);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--white);
	font-family: inherit;
	font-size: var(--fs-base);
	color: var(--ink-2);
}

.inquiry__form textarea {
	min-height: 130px;
	resize: vertical;
}

.inquiry__form input:focus,
.inquiry__form select:focus,
.inquiry__form textarea:focus {
	border-color: var(--ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.3);
}

.inquiry__form label {
	display: block;
	margin-bottom: 5px;
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--ink-3);
}

.inquiry__form button[type="submit"],
.inquiry__form input[type="submit"],
.inquiry__form .ff-btn-submit {
	padding: 13px 26px;
	border: 0;
	border-radius: var(--radius);
	background: var(--red);
	color: var(--white);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.18s var(--ease);
}

.inquiry__form button[type="submit"]:hover,
.inquiry__form input[type="submit"]:hover,
.inquiry__form .ff-btn-submit:hover {
	background: var(--red-dark);
}

/* -------------------------------------------------------------------------
 * 14. Footer
 * ---------------------------------------------------------------------- */

.site-footer {
	margin-top: auto;
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--fs-sm);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--yellow);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: var(--sp-7);
	padding-block: var(--sp-8) var(--sp-7);
}

.footer-col__title {
	margin: 0 0 var(--sp-4);
	color: var(--white);
	font-size: var(--fs-sm);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-col__title--stack {
	margin-top: var(--sp-5);
}

.footer-col--brand .lgcm-logo__word,
.footer-col--brand .lgcm-logo--text {
	color: var(--white);
}

.footer-col--brand .lgcm-logo__img {
	max-height: 52px;
}

.footer-about {
	margin: var(--sp-4) 0 var(--sp-5);
	max-width: 40ch;
	line-height: 1.7;
}

.footer-list,
.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-list li,
.footer-col ul li {
	margin-bottom: var(--sp-2);
}

.footer-col ul ul {
	margin-top: var(--sp-2);
	padding-left: var(--sp-3);
}

.footer-contact {
	display: grid;
	gap: var(--sp-3);
}

.footer-contact li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--sp-3);
	margin: 0;
	line-height: 1.55;
}

.footer-contact svg {
	width: 17px;
	height: 17px;
	margin-top: 3px;
	color: var(--yellow);
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius);
	transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
		color 0.18s var(--ease);
}

.social a:hover {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--ink);
}

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

.site-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: var(--fs-xs);
}

.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding-block: var(--sp-4);
}

.copyright {
	margin: 0;
}

.site-footer__bar ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Floating WhatsApp. */

.float-wa {
	position: fixed;
	right: var(--sp-4);
	bottom: var(--sp-4);
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;
	color: var(--white);
	box-shadow: var(--shadow-lg);
	transition: transform 0.18s var(--ease);
}

.float-wa:hover,
.float-wa:focus-visible {
	color: var(--white);
	transform: scale(1.06);
}

.float-wa svg {
	width: 28px;
	height: 28px;
}

/* -------------------------------------------------------------------------
 * 15. Page header and breadcrumbs
 * ---------------------------------------------------------------------- */

.breadcrumbs {
	padding-block: var(--sp-3);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
	font-size: var(--fs-xs);
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: var(--sp-2);
	color: var(--line-2);
}

.breadcrumbs__item a {
	color: var(--muted);
}

.breadcrumbs__item a:hover {
	color: var(--red);
}

.breadcrumbs__item[aria-current] {
	color: var(--ink);
	font-weight: 700;
}

.page-head {
	position: relative;
	padding-block: var(--sp-8);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.page-head--image {
	background-position: center;
	background-size: cover;
	border-bottom: 0;
}

.page-head--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(10, 10, 12, 0.86) 0%,
		rgba(10, 10, 12, 0.5) 100%
	);
}

.page-head .wrap {
	position: relative;
	z-index: 2;
}

.page-head__title {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
	text-transform: uppercase;
}

.page-head__sub {
	margin: var(--sp-3) 0 0;
	max-width: 62ch;
	color: var(--muted);
	font-size: var(--fs-md);
}

.page-head--image .page-head__title {
	color: var(--white);
}

.page-head--image .page-head__sub {
	color: rgba(255, 255, 255, 0.82);
}

/* -------------------------------------------------------------------------
 * 16. Archive
 * ---------------------------------------------------------------------- */

.archive-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: var(--sp-7);
	align-items: start;
	padding-block: var(--sp-7) var(--sp-9);
}

.filters {
	position: sticky;
	top: calc(var(--header-h) + var(--sp-4));
}

.filters__group + .filters__group {
	margin-top: var(--sp-6);
}

.filters__title {
	margin: 0 0 var(--sp-3);
	font-size: var(--fs-sm);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.filters__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.filters__list li {
	border-bottom: 1px solid var(--line);
}

.filters__link {
	display: block;
	padding: 9px 0;
	color: var(--ink-3);
	font-size: var(--fs-base);
	font-weight: 600;
}

.filters__link:hover {
	color: var(--red);
}

.filters__link.is-active {
	color: var(--red);
}

.filters__sub {
	margin: 0 0 var(--sp-2);
	padding: 0 0 0 var(--sp-4);
	list-style: none;
	border: 0;
}

.filters__sub li {
	border: 0;
}

.filters__sub .filters__link {
	padding: 5px 0;
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.filters__help {
	margin-top: var(--sp-6);
	padding: var(--sp-4);
	background: var(--paper);
	border-radius: var(--radius);
}

.filters__help-text {
	margin: 0 0 var(--sp-3);
	color: var(--muted);
	font-size: var(--fs-sm);
}

.archive-count,
.filters__count {
	margin: 0 0 var(--sp-5);
	color: var(--muted);
	font-size: var(--fs-sm);
}

.empty {
	padding: var(--sp-8) var(--sp-5);
	background: var(--paper);
	border: 1px dashed var(--line-2);
	border-radius: var(--radius);
	text-align: center;
}

.empty__title {
	margin: 0 0 var(--sp-2);
	font-family: var(--font-head);
	font-size: var(--fs-lg);
	color: var(--ink);
}

.empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
}

/* Pagination. */

.pagination,
.page-links {
	margin-top: var(--sp-7);
}

.pagination .nav-links,
.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
}

.page-numbers,
.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 var(--sp-3);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink-3);
	font-weight: 700;
}

.page-numbers:hover,
.page-links a:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.page-numbers.current,
.page-links > span:not(.screen-reader-text) {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.page-numbers.dots {
	border-color: transparent;
	background: none;
}

.page-numbers svg {
	width: 18px;
	height: 18px;
}

/* -------------------------------------------------------------------------
 * 17. Single machine
 * ---------------------------------------------------------------------- */

.product__hero {
	padding-block: var(--sp-7);
	background: var(--white);
}

.product-top,
.product__hero-inner {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: var(--sp-7);
	align-items: start;
}

.product__gallery,
.product-gallery {
	position: relative;
}

.product__stage,
.product-gallery__main {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.product__frame {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.product__frame.is-active {
	opacity: 1;
	visibility: visible;
}

.product__frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.product__frame--empty,
.product-gallery__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--line-2);
}

.product__frame--empty svg,
.product-gallery__empty svg {
	width: 72px;
	height: 72px;
}

.product__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-3);
}

[data-gallery-thumb] {
	width: 84px;
	height: 64px;
	padding: 0;
	border: 2px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.18s var(--ease);
}

[data-gallery-thumb] img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

[data-gallery-thumb]:hover {
	border-color: var(--line-2);
}

[data-gallery-thumb].is-active {
	border-color: var(--red);
}

/* Machine intro column. */

.product__eyebrow,
.product-intro__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin-bottom: var(--sp-3);
	color: var(--muted-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.product__eyebrow a {
	color: var(--muted-2);
}

.product__eyebrow a:hover {
	color: var(--red);
}

.product__title,
.product-intro__title {
	margin: 0;
	font-size: clamp(1.6rem, 3.4vw, var(--fs-2xl));
	text-transform: uppercase;
}

.product__model,
.product-intro__model,
.product-intro__code {
	display: inline-block;
	margin-top: var(--sp-2);
	padding: 4px 12px;
	background: var(--yellow);
	color: var(--ink);
	font-size: var(--fs-sm);
	font-weight: 800;
	letter-spacing: 0.06em;
}

.product__tagline {
	margin: var(--sp-4) 0 0;
	color: var(--ink-3);
	font-size: var(--fs-lg);
	line-height: 1.5;
}

.product__summary,
.product-intro__text {
	margin: var(--sp-4) 0 0;
	color: var(--muted);
}

/* Key specs. */

.product__keyspecs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--sp-3);
	margin: var(--sp-5) 0 0;
	padding: 0;
	list-style: none;
}

.product__keyspec {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--sp-3);
	align-items: center;
	padding: var(--sp-3);
	background: var(--paper);
	border-radius: var(--radius);
}

.product__keyspec-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: var(--white);
	border-radius: var(--radius);
	color: var(--red);
}

.product__keyspec-icon svg {
	width: 18px;
	height: 18px;
}

.product__keyspec dt {
	color: var(--muted-2);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.product__keyspec dd {
	margin: 0;
	color: var(--ink);
	font-weight: 700;
}

.product__actions,
.product-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-5);
}

.product__quicklinks {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	margin: var(--sp-5) 0 0;
	padding: var(--sp-4) 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.product__quicklinks a {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
}

.product__quicklinks svg {
	width: 18px;
	height: 18px;
}

.product-intro__apps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: var(--sp-5) 0 0;
	padding: 0;
	list-style: none;
}

/* Overview and highlights. */

.product__overview {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: var(--sp-7);
	align-items: start;
}

.product__highlights {
	margin: 0;
	padding: var(--sp-6);
	background: var(--paper);
	border-left: 3px solid var(--yellow);
	border-radius: 0 var(--radius) var(--radius) 0;
	list-style: none;
}

.product__highlights li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: var(--sp-3);
	align-items: start;
	margin-bottom: var(--sp-3);
}

.product__highlights li:last-child {
	margin-bottom: 0;
}

.product__highlights svg {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--red);
}

.product__more-highlights {
	margin-top: var(--sp-4);
}

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

.ticklist li {
	position: relative;
	margin-bottom: var(--sp-3);
	padding-left: 28px;
	color: var(--ink-3);
}

/* The tick and plus marks are drawn by the pseudo-elements below. Hide the
   redundant inline SVG emitted by legacy templates to avoid duplicate icons. */
.ticklist li > .lgcm-icon {
	display: none;
}

.ticklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 8px;
	border-left: 2.5px solid var(--red);
	border-bottom: 2.5px solid var(--red);
	transform: rotate(-45deg);
}

.ticklist--plus li::before {
	top: 9px;
	width: 13px;
	height: 13px;
	border: 0;
	transform: none;
	background:
		linear-gradient(var(--muted-2), var(--muted-2)) center / 100% 2.5px no-repeat,
		linear-gradient(var(--muted-2), var(--muted-2)) center / 2.5px 100% no-repeat;
}

.product__video {
	margin-top: var(--sp-6);
}

.product__video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: var(--radius);
}

/* Spec table. */

.section--specs {
	background: var(--paper);
	border-block: 1px solid var(--line);
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--white);
	border: 1px solid var(--line);
	font-size: var(--fs-base);
}

.spec-table th,
.spec-table td {
	padding: var(--sp-3) var(--sp-4);
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.spec-table th {
	width: 38%;
	background: var(--paper);
	color: var(--muted);
	font-weight: 600;
}

.spec-table td {
	color: var(--ink);
	font-weight: 700;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
	border-bottom: 0;
}

.spec-table--compact th,
.spec-table--compact td {
	padding: 9px var(--sp-3);
	font-size: var(--fs-sm);
}

/* Equipment columns. */

.equipment {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--sp-7);
}

.equipment__col .section__title--sm {
	margin-bottom: var(--sp-4);
}

/* Downloads. */

.downloads {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.download {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-4) var(--sp-5);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.download:hover {
	border-color: var(--ink);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

.download svg {
	width: 22px;
	height: 22px;
	flex: none;
	color: var(--red);
}

.download__label {
	font-weight: 700;
}

.download__size {
	display: block;
	color: var(--muted-2);
	font-size: var(--fs-xs);
	font-weight: 500;
}

.section--attach,
.section--related {
	background: var(--white);
}

/* -------------------------------------------------------------------------
 * 18. Blog, search results
 * ---------------------------------------------------------------------- */

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin-bottom: var(--sp-4);
	color: var(--muted-2);
	font-size: var(--fs-sm);
}

.entry-meta__sep {
	color: var(--line-2);
}

.entry-meta__cats a {
	font-weight: 700;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--line);
}

.section--prose {
	padding-block: var(--sp-7) var(--sp-8);
}

.result-list {
	display: grid;
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.result {
	padding-bottom: var(--sp-4);
	border-bottom: 1px solid var(--line);
}

.result__link {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: var(--fs-md);
}

.result__link:hover {
	color: var(--red);
}

.result__excerpt {
	margin: var(--sp-2) 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.search-again {
	max-width: 520px;
	margin-top: var(--sp-5);
}

.search-again .search-form {
	max-width: none;
	padding-inline: 0;
}

/* -------------------------------------------------------------------------
 * 19. Configurator
 * ---------------------------------------------------------------------- */

.config {
	padding-bottom: var(--sp-8);
}

.config__steps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin: 0;
	padding: var(--sp-5) 0;
	list-style: none;
	counter-reset: none;
}

.config__step {
	display: flex;
	flex: 1 1 200px;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-3) var(--sp-4);
	background: var(--paper);
	border-bottom: 3px solid var(--line);
	color: var(--muted);
	font-weight: 700;
}

.config__step.is-active {
	background: var(--white);
	border-bottom-color: var(--red);
	color: var(--ink);
}

.config__step.is-done {
	color: var(--ink-3);
	border-bottom-color: var(--yellow);
}

.config__step-no {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--line);
	color: var(--white);
	font-family: var(--font-head);
	font-size: var(--fs-sm);
}

.config__step.is-active .config__step-no {
	background: var(--red);
}

.config__step.is-done .config__step-no {
	background: var(--yellow);
	color: var(--ink);
}

.config__panel {
	display: none;
	padding-block: var(--sp-6);
}

.config__panel.is-active {
	display: block;
}

.config__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: var(--sp-4);
}

.config__grid--att {
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

/* Selectable card. */

.config-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.config-card:hover {
	border-color: var(--line-2);
	box-shadow: var(--shadow-sm);
}

.config-card.is-selected {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(196, 22, 42, 0.12);
}

.config-card[hidden] {
	display: none;
}

.config-card__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.config-card__input:focus-visible + .config-card__media {
	outline: 3px solid var(--yellow);
	outline-offset: -3px;
}

.config-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--paper);
	overflow: hidden;
}

.config-card--att .config-card__media {
	aspect-ratio: 1 / 1;
}

.config-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.config-card__placeholder {
	width: 44px;
	height: 44px;
	margin: auto;
	color: var(--line-2);
}

.config-card__tick {
	position: absolute;
	top: var(--sp-2);
	right: var(--sp-2);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.config-card__tick svg {
	width: 15px;
	height: 15px;
}

.config-card.is-selected .config-card__tick {
	opacity: 1;
	transform: scale(1);
}

.config-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	padding: var(--sp-4);
}

.config-card__eyebrow {
	color: var(--muted-2);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.config-card__title {
	color: var(--ink);
	font-family: var(--font-head);
	font-size: var(--fs-base);
	line-height: 1.3;
	text-transform: uppercase;
}

.config-card__code {
	color: var(--red);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.config-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-1) var(--sp-3);
	margin-top: var(--sp-2);
	padding-top: var(--sp-2);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.config__hint,
.config__none {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	margin-bottom: var(--sp-4);
	padding: var(--sp-3) var(--sp-4);
	background: var(--paper);
	border-left: 3px solid var(--yellow);
	color: var(--ink-3);
	font-size: var(--fs-sm);
}

.config__hint[hidden],
.config__none[hidden] {
	display: none;
}

.config__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--sp-3);
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--line);
}

.config__nav .btn:only-child {
	margin-left: auto;
}

/* Review step. */

.config__review {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: var(--sp-7);
	align-items: start;
}

.config__summary {
	padding: var(--sp-5);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.config__summary h3 {
	margin: 0 0 var(--sp-3);
	font-size: var(--fs-md);
	text-transform: uppercase;
}

.config__summary ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.config__summary li {
	display: flex;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-sm);
}

.config__summary li:last-child {
	border-bottom: 0;
}

.config__summary-title {
	font-weight: 700;
	color: var(--ink);
}

.config__summary-empty {
	margin: 0;
	color: var(--muted);
}

.config__whatsapp {
	margin: var(--sp-4) 0 0;
}

/* -------------------------------------------------------------------------
 * 20. Responsive
 * ---------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.lgcm-front .cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1080px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--sp-6);
	}

	.archive-layout {
		grid-template-columns: 1fr;
	}

	/* The rail becomes a scrolling chip row: no JS, no hidden state. */
	.filters {
		position: static;
		padding-bottom: var(--sp-5);
		border-bottom: 1px solid var(--line);
	}

	.filters__group + .filters__group {
		margin-top: var(--sp-4);
	}

	.filters__list {
		display: flex;
		gap: var(--sp-2);
		overflow-x: auto;
		padding-bottom: var(--sp-2);
		border-top: 0;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.filters__list li {
		border-bottom: 0;
	}

	.filters__link {
		padding: 7px 14px;
		border: 1px solid var(--line);
		border-radius: 999px;
		white-space: nowrap;
	}

	.filters__link.is-active {
		background: var(--ink);
		border-color: var(--ink);
		color: var(--white);
	}

	/* Nested children flatten into the same row. */
	.filters__sub {
		display: contents;
		padding: 0;
	}

	.filters__help {
		display: none;
	}
}

@media (max-width: 960px) {
	:root {
		--sp-9: 64px;
		--sp-8: 48px;
	}

	/* Nav collapses into the drawer. */
	.nav-primary,
	.site-header__cta {
		display: none;
	}

	.burger {
		display: flex;
	}

	.drawer:not([hidden]) {
		display: block;
	}

	.trust__list {
		grid-template-columns: 1fr;
		gap: var(--sp-4);
	}

	.build,
	.global,
	.inquiry,
	.product-top,
	.product__hero-inner,
	.product__overview,
	.equipment,
	.config__review {
		grid-template-columns: 1fr;
		gap: var(--sp-6);
	}

	.build__media,
	.global__media {
		order: -1;
	}

	.global--text-only .global__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stats__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats__item:nth-child(odd) {
		border-left: 0;
	}

	.stats__item:nth-child(3),
	.stats__item:nth-child(4) {
		padding-top: var(--sp-5);
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	.hero__nav {
		display: none;
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 16px;
	}

	.topbar__meta {
		gap: var(--sp-4);
	}

	.topbar__text {
		display: none;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.product__keyspecs {
		grid-template-columns: 1fr;
	}

	.spec-table th {
		width: 46%;
	}

	.config__step-label {
		display: none;
	}

	.config__step {
		flex: 1 1 auto;
		justify-content: center;
		padding: var(--sp-3);
	}

	.config__nav {
		flex-direction: column-reverse;
	}

	.config__nav .btn {
		width: 100%;
	}

	.cta-band__actions .btn,
	.hero__actions .btn {
		width: 100%;
	}

	.float-wa {
		width: 48px;
		height: 48px;
	}

	.downloads .download {
		width: 100%;
	}

	.lgcm-front .cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.global--text-only .global__list {
		grid-template-columns: 1fr;
	}

	.global--text-only .global__item {
		min-height: 0;
	}
}

@media (max-width: 520px) {
	.section__title {
		font-size: var(--fs-xl);
	}

	.grid--products,
	.grid--attachments,
	.cat-grid,
	.card-grid--3,
	.card-grid--4 {
		grid-template-columns: 1fr;
	}

	.lgcm-front .cat-grid {
		grid-template-columns: 1fr;
	}

	.config__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.config-card__body {
		padding: var(--sp-3);
	}
}

/* -------------------------------------------------------------------------
 * 21. Motion and print
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.topbar,
	.site-header,
	.site-footer,
	.float-wa,
	.hero__nav,
	.hero__dots,
	.section--inquiry,
	.config__nav,
	.filters,
	.product__actions {
		display: none !important;
	}

	body {
		color: #000;
		font-size: 11pt;
	}

	.product__frame {
		position: static;
		opacity: 1;
		visibility: visible;
	}

	.product__frame:not(.is-active) {
		display: none;
	}

	a {
		color: #000;
		text-decoration: underline;
	}
}
