/* ==========================================================================
   Adlon design system
   tokens → base → layout → components → templates → utilities
   Brief Phase 8. Mobile-first; breakpoints 480 / 768 / 1024 / 1280.
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/InterVariable-latin.woff2") format("woff2");
}

/* Metric-matched fallback: text doesn't shift when Inter arrives (CLS). */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107.06%;
	ascent-override: 90.44%;
	descent-override: 22.52%;
	line-gap-override: 0%;
}

:root {
	--ink-950: #0a0c10;
	--ink-900: #11141a;
	--ink-800: #1d212a;
	--ink-700: #343a46;
	--ink-600: #4f5663;
	--ink-500: #6b7280;
	--ink-400: #9aa1ad;
	--ink-300: #c9ced6;
	--ink-200: #e3e6eb;
	--ink-100: #eef0f3;
	--ink-50: #f6f7f9;
	--white: #fff;

	/* Adlon teal. 500 is the logo colour; 600/700 are deeper shades of it so white button text and teal links keep 4.5:1 contrast. */
	--brand-700: #256879;
	--brand-600: #2f7f93;
	--brand-500: #3e96ac;
	--brand-100: #d9eef3;
	--brand-50: #eef7f9;

	--success: #0f8a5f;
	--success-50: #e7f6ee;
	--warning: #b45309;
	--danger: #c2362b;
	--danger-50: #fcecea;
	/* WhatsApp buttons use the brand teal so every call to action on the site matches. */
	--wa: var(--brand-600);
	--wa-hover: var(--brand-700);

	--font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

	--fs-display: clamp(2.75rem, 1.6rem + 4.2vw, 5rem);
	--fs-h1: clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem);
	--fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
	--fs-h3: 1.375rem;
	--fs-h4: 1.125rem;
	--fs-lead: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
	--fs-body: 1.0625rem;
	--fs-sm: .9375rem;
	--fs-xs: .8125rem;

	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgb(10 12 16 / .06);
	--shadow-md: 0 8px 24px -8px rgb(10 12 16 / .12), 0 1px 2px rgb(10 12 16 / .04);
	--shadow-lg: 0 24px 64px -16px rgb(10 12 16 / .18), 0 2px 6px rgb(10 12 16 / .04);

	--ease: cubic-bezier(.2, .8, .2, 1);
	--t-fast: 160ms;
	--t: 240ms;
	--t-slow: 420ms;

	--container: 1240px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 3rem + 5vw, 8rem);
	--header-h: 72px;
	--focus: 0 0 0 3px var(--white), 0 0 0 5px var(--brand-600);
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.65;
	color: var(--ink-900);
	background: var(--white);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html.is-locked { overflow: hidden; }

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

img { border-radius: inherit; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -.022em;
	color: var(--ink-950);
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.032em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-700); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

::selection { background: var(--brand-100); color: var(--ink-950); }

hr { border: 0; border-top: 1px solid var(--ink-200); margin: 2.5rem 0; }

kbd {
	font-family: var(--font);
	font-size: .75rem;
	font-weight: 500;
	padding: .1rem .4rem;
	border: 1px solid var(--ink-200);
	border-bottom-width: 2px;
	border-radius: 6px;
	color: var(--ink-500);
	background: var(--white);
}

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

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	background: var(--ink-950);
	color: var(--white);
	border-radius: var(--radius-pill);
	transform: translateY(-200%);
	transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: none; color: var(--white); }

/* ---------- Layout ---------- */

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.container--wide { max-width: calc(1440px + 2 * var(--gutter)); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--ink-50); }
.section--dark { background: var(--ink-950); color: var(--ink-200); }
.section--dark h2,
.section--dark h3 { color: var(--white); }
/* Two plain white sections in a row share one gap; a section that follows a tinted band keeps its own top padding. */
.section:not(.section--surface):not(.section--dark) + .section:not(.section--surface):not(.section--dark) { padding-top: 0; }
.section--surface + .section--surface { padding-top: 0; }

.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
.grid--2, .grid--3, .grid--4, .grid--auto { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.split {
	display: grid;
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: start;
}
@media (min-width: 1024px) {
	.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.split--wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.split--sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
	.split--center { align-items: center; }
}

.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, .75rem); align-items: center; }

/* ---------- Typography helpers ---------- */

.display { font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.02; font-weight: 680; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-600); max-width: 62ch; }
.muted { color: var(--ink-500); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.mono { font-family: var(--mono); font-size: .9em; letter-spacing: 0; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand-600);
}
.eyebrow--pill {
	padding: .375rem .875rem;
	letter-spacing: .02em;
	text-transform: none;
	font-size: var(--fs-sm);
	font-weight: 550;
	color: var(--ink-700);
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
}
.eyebrow--pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-50); }

/* ---------- Buttons ---------- */

.btn {
	--btn-bg: var(--brand-600);
	--btn-fg: var(--white);
	--btn-border: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.375rem;
	font: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.005em;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 1px solid var(--btn-border);
	border-radius: var(--radius-pill);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
	-webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn .icon { flex: none; transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon-arrow-right,
.btn:hover .icon-arrow-up-right { transform: translateX(2px); }

.btn--primary:hover { --btn-bg: var(--brand-700); box-shadow: 0 8px 20px -8px rgb(47 127 147 / .55); }
.btn--dark { --btn-bg: var(--ink-950); }
.btn--dark:hover { --btn-bg: var(--ink-800); }
.btn--secondary { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-border: var(--ink-200); }
.btn--secondary:hover { --btn-border: var(--ink-300); --btn-fg: var(--ink-950); box-shadow: var(--shadow-sm); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); padding-inline: .75rem; }
.btn--ghost:hover { --btn-bg: var(--ink-100); }
.btn--whatsapp { --btn-bg: var(--wa); }
.btn--whatsapp:hover { --btn-bg: var(--wa-hover); box-shadow: 0 8px 20px -8px rgb(47 127 147 / .55); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink-950); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; font-size: var(--fs-xs); }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-weight: 600;
	font-size: var(--fs-sm);
}
.link-arrow .icon { transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--ink-800);
	background: transparent;
	border: 0;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--ink-100); }

/* ---------- Chips & badges ---------- */

.chip {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	min-height: 36px;
	padding: .375rem .875rem;
	font-size: var(--fs-sm);
	font-weight: 550;
	color: var(--ink-800);
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-pill);
	transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
a.chip:hover { color: var(--brand-700); border-color: var(--brand-500); background: var(--brand-50); }
.chip small { color: var(--ink-500); font-weight: 500; }
.chip--surface { background: var(--ink-50); border-color: transparent; }
.chip--sm { min-height: 28px; padding: .2rem .625rem; font-size: var(--fs-xs); }

.badge {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: .2rem .6rem;
	font-size: .75rem;
	font-weight: 600;
	border-radius: var(--radius-pill);
	color: var(--ink-700);
	background: var(--ink-100);
}
.badge--success { color: var(--success); background: var(--success-50); }
.badge--brand { color: var(--brand-700); background: var(--brand-100); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgb(255 255 255 / .82);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--ink-200); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: .625rem;
	color: var(--ink-950);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -.03em;
	flex: none;
}
.brand:hover { color: var(--ink-950); }
.brand img { display: block; height: 32px; width: auto; }

.primary-nav { display: none; margin-left: 1.5rem; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav__list { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.primary-nav__item { position: static; }
.primary-nav__link {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	height: 40px;
	padding: 0 .875rem;
	font: inherit;
	font-size: var(--fs-sm);
	font-weight: 550;
	color: var(--ink-700);
	background: none;
	border: 0;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.primary-nav__link:hover,
.primary-nav__link[aria-expanded="true"],
.primary-nav__link[aria-current="page"] { color: var(--ink-950); background: var(--ink-100); }
.primary-nav__link .icon { transition: transform var(--t) var(--ease); }
.primary-nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.site-header__search {
	display: none;
	align-items: center;
	gap: .625rem;
	height: 40px;
	min-width: 220px;
	padding: 0 .5rem 0 .875rem;
	font: inherit;
	font-size: var(--fs-sm);
	color: var(--ink-500);
	background: var(--ink-50);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.site-header__search:hover { border-color: var(--ink-300); background: var(--white); }
.site-header__search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-header__search kbd { margin-left: auto; flex: none; }
.site-header__search .icon { flex: none; }
@media (min-width: 1280px) {
	.site-header__search { display: inline-flex; width: 232px; min-width: 0; }
	.site-header__search-icon { display: none; }
}
.site-header__inner > * { min-width: 0; }
.site-header__actions { flex: none; }
.quote-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	color: var(--white);
	background: var(--brand-600);
	border-radius: var(--radius-pill);
	box-shadow: 0 0 0 2px var(--white);
}
.quote-count.is-bump { animation: bump var(--t-slow) var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.site-header__cta { display: none; margin-left: .5rem; }
@media (min-width: 768px) { .site-header__cta { display: inline-flex; } }
.menu-toggle { margin-left: .25rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mega menu */
.mega {
	position: absolute;
	top: calc(var(--header-h) - 1px);
	left: 0;
	right: 0;
	background: var(--white);
	border-top: 1px solid var(--ink-200);
	border-bottom: 1px solid var(--ink-200);
	box-shadow: 0 32px 48px -24px rgb(10 12 16 / .16);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.mega.is-open { opacity: 1; transform: none; }
.mega__inner {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	padding-block: 2rem 2.25rem;
}
.mega__inner--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); }
.mega__col h3,
.mega__heading {
	margin: 0 0 .75rem;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-500);
}
.mega__col h3 a { color: inherit; }
.mega__list { margin: 0; padding: 0; list-style: none; }
.mega__link {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .625rem .75rem;
	margin-inline: -.75rem;
	color: var(--ink-900);
	border-radius: var(--radius-sm);
	transition: background var(--t-fast) var(--ease);
}
.mega__link:hover { background: var(--ink-50); color: var(--ink-950); }
/* Text rules are scoped to .mega__text so they never reach the icon tile (also a <span>). */
.mega__text { display: block; min-width: 0; }
.mega__text strong { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.mega__text span { display: block; margin-top: .125rem; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.45; }
.mega__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 36px;
	color: var(--brand-600);
	background: var(--brand-50);
	border-radius: 10px;
}
.mega__feature {
	padding: 1.5rem;
	background: var(--ink-50);
	border-radius: var(--radius-lg);
}
.mega__feature p { font-size: var(--fs-sm); color: var(--ink-600); }

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 99;
	overflow-y: auto;
	padding: 1rem var(--gutter) 6rem;
	background: var(--white);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
.mobile-menu details { border-bottom: 1px solid var(--ink-200); }
.mobile-menu summary,
.mobile-menu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink-950);
	list-style: none;
	cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__link { border-bottom: 1px solid var(--ink-200); }
.mobile-menu ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.mobile-menu li a { display: block; padding: .5rem 0; color: var(--ink-700); }
.mobile-menu__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3rem, 2rem + 4vw, 6rem);
	overflow: hidden;
}
.hero--surface { background: var(--ink-50); }
.hero--home {
	padding-top: clamp(3rem, 2rem + 5vw, 6.5rem);
	background:
		radial-gradient(60% 50% at 85% 0%, var(--brand-50) 0%, rgb(238 247 249 / 0) 70%),
		var(--white);
}
.hero__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1024px) {
	.hero__grid--split { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
}
.hero__title { margin-bottom: 1.25rem; }
.hero__lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ink-500); }
.hero__meta span { display: inline-flex; align-items: center; gap: .375rem; }
.hero__meta .icon { color: var(--success); }
.hero__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--ink-50);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__icon-tile {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	width: 100%;
	max-width: 320px;
	margin-left: auto;
	color: var(--brand-600);
	background: linear-gradient(145deg, var(--white), var(--brand-50));
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

/* Home search */
.hero-search {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 620px;
	margin-bottom: 1.25rem;
	padding: .375rem;
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-md);
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.hero-search:focus-within { border-color: var(--brand-500); box-shadow: var(--shadow-md); }
.hero-search > .icon { flex: none; margin-left: 1rem; color: var(--ink-400); }
.hero-search input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 .875rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ink-950);
	background: transparent;
	border: 0;
	outline: 0;
}
.hero-search input::placeholder { color: var(--ink-400); }
.hero-search .btn { flex: none; }
@media (max-width: 479px) {
	.hero-search .btn span { display: none; }
	.hero-search .btn { padding-inline: 1rem; }
}
.hero-models { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2rem; font-size: var(--fs-sm); color: var(--ink-500); }

/* Hero product illustration (pure HTML/CSS, decorative) */
.hero-visual { position: relative; min-height: 440px; }
@media (max-width: 1023px) { .hero-visual { display: none; } }
.mock {
	position: absolute;
	width: min(360px, 78%);
	padding: 1.25rem;
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	font-size: var(--fs-sm);
}
.mock--search { top: 0; left: 0; animation: float 9s var(--ease) infinite; }
.mock--quote { right: 0; bottom: 0; animation: float 9s var(--ease) infinite -4.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.mock__bar {
	display: flex;
	align-items: center;
	gap: .5rem;
	height: 44px;
	padding: 0 .875rem;
	margin-bottom: .875rem;
	background: var(--ink-50);
	border-radius: 12px;
	color: var(--ink-900);
	font-weight: 600;
}
.mock__bar .icon { color: var(--ink-400); }
.mock__caret { width: 2px; height: 18px; background: var(--brand-600); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mock__label { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.mock__row { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--ink-100); }
.mock__thumb { display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden; color: var(--ink-500); background: var(--ink-50); border-radius: 10px; }
.mock__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mock__row strong { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--ink-900); }
.mock__row span { display: block; font-size: .75rem; color: var(--ink-500); }
.mock__qty { margin-left: auto; font-weight: 600; color: var(--ink-700); font-variant-numeric: tabular-nums; }
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; font-weight: 600; }
.mock__send { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .875rem; height: 40px; color: var(--white); background: var(--brand-600); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-xs); }

/* ---------- Stats ---------- */

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: var(--ink-200);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.stats__item { padding: 1.5rem 1.75rem; background: var(--white); }
.stats__value { display: block; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 680; letter-spacing: -.035em; line-height: 1.1; color: var(--ink-950); font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: .25rem; font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- Section head ---------- */

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head__text { max-width: 720px; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { margin: 0; color: var(--ink-600); font-size: var(--fs-lead); line-height: 1.55; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head--center p { margin-inline: auto; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { margin-bottom: 1.5rem; font-size: var(--fs-xs); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; color: var(--ink-500); }
.breadcrumbs li + li::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: .5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.breadcrumbs a { color: var(--ink-600); }
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs [aria-current] { color: var(--ink-900); font-weight: 550; }

/* ---------- Cards ---------- */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--ink-900);
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-lg);
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--ink-200); }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link { color: inherit; }
.card__link:hover { color: inherit; }
.card__link:focus-visible { box-shadow: none; }
.card:has(.card__link:focus-visible) { box-shadow: var(--focus); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.375rem 1.375rem; }
.card__title { margin: 0 0 .375rem; font-size: 1.0625rem; font-weight: 620; line-height: 1.3; letter-spacing: -.012em; }
.card__text { margin: 0; font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.55; }
.card__meta { margin-bottom: .5rem; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-600); letter-spacing: .01em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; }
.card__foot > * { position: relative; z-index: 1; }

.card__media {
	position: relative;
	aspect-ratio: 1;
	margin: .5rem .5rem 0;
	overflow: hidden;
	background: var(--ink-50);
	border-radius: calc(var(--radius-lg) - 6px);
}
.card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--t-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__media--wide img { object-fit: cover; mix-blend-mode: normal; }

.placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: inherit;
	color: var(--ink-300);
	background:
		radial-gradient(circle at 30% 20%, var(--white) 0, rgb(255 255 255 / 0) 60%),
		var(--ink-50);
}

/* Category card */
.card--category { padding: 1.5rem; background: var(--ink-50); border-color: transparent; }
.card--category:hover { background: var(--white); border-color: var(--ink-200); }
.card--category .card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 2.5rem;
	color: var(--brand-600);
	background: var(--white);
	border-radius: 14px;
	box-shadow: var(--shadow-sm);
}
.card--category .card__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.card--category .card__count { margin-top: auto; padding-top: 1.25rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-500); display: flex; align-items: center; justify-content: space-between; }
.card--category .card__count .icon { color: var(--ink-400); transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
.card--category:hover .card__count .icon { color: var(--brand-600); transform: translateX(4px); }
.card--category .card__image { aspect-ratio: 16 / 10; margin: -1.5rem -1.5rem 1.25rem; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card--category .card__image img { width: 100%; height: 100%; object-fit: cover; }

/* Product card */
.card--product .card__body { padding: 1rem 1.125rem 1.125rem; }
.card--product .card__title { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card--product .card__sku { font-family: var(--mono); font-size: .75rem; color: var(--ink-500); }
.card--product .card__models { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .75rem; }
.card--product .card__foot { padding-top: .875rem; }
.card--product .badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; }
.quote-add-sm {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	height: 36px;
	padding: 0 .875rem;
	font: inherit;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--ink-900);
	background: var(--ink-100);
	border: 0;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.quote-add-sm:hover { color: var(--white); background: var(--brand-600); }
.quote-add-sm.is-added { color: var(--success); background: var(--success-50); }

/* Article card */
.card--article .card__media { aspect-ratio: 16 / 10; }
.card--article .card__media img { object-fit: cover; mix-blend-mode: normal; }
.card--article .card__title { font-size: 1.125rem; }
.card--article .card__foot { font-size: var(--fs-xs); color: var(--ink-500); }

/* Feature */
.feature { padding: 1.75rem; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); height: 100%; }
.section--surface .feature { border-color: transparent; }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; color: var(--brand-600); background: var(--brand-50); border-radius: 14px; }
.feature h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--ink-600); }
.feature--plain { padding: 0; background: none; border: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { position: relative; counter-increment: step; padding: 1.75rem; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); }
.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 2rem;
	font-size: var(--fs-sm);
	font-weight: 650;
	color: var(--brand-600);
	font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.steps p { margin: 0; font-size: var(--fs-sm); color: var(--ink-600); }

/* Places (locations served) */
.places { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .places { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.places__group h3 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 1rem; }
.places__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); }
.quote-card blockquote { margin: 0 0 1.5rem; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-800); }
.quote-card .stars { margin-bottom: 1rem; }
.quote-card figcaption { margin-top: auto; font-size: var(--fs-sm); }
.quote-card figcaption strong { display: block; color: var(--ink-950); }
.quote-card figcaption span { color: var(--ink-500); }
.quote-card figcaption .quote-card__place { display: flex; align-items: center; gap: .25rem; margin-top: .375rem; font-size: var(--fs-xs); }

/* Stars: filled up to the rating, outlined after it; a half star overlays a clipped filled star. */
.stars { display: inline-flex; align-items: center; gap: 2px; color: #f5a524; line-height: 1; }
.stars .icon { flex: none; }
.stars__half { position: relative; display: inline-flex; }
.stars__half > span { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; overflow: hidden; }

.rating-summary { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding: .875rem 1.5rem .875rem 1.25rem; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.rating-summary__score { font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink-950); font-variant-numeric: tabular-nums; }
.rating-summary__text { display: grid; gap: .3rem; font-size: var(--fs-xs); color: var(--ink-500); }

/* ---------- Info graphics (location pages) ---------- */

/* Delivery journey: numbered stops joined by a moving dashed line; a vehicle travels it on wide screens. */
.journey { position: relative; --dot: 64px; --gap: 1.5rem; }
.journey__steps { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.journey__step { position: relative; min-height: var(--dot); padding-left: calc(var(--dot) + 1.25rem); }
.journey__step:not(:last-child)::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: calc(var(--dot) / 2 - 1.5px);
	top: calc(var(--dot) + 6px);
	bottom: calc(6px - var(--gap));
	width: 3px;
	background: repeating-linear-gradient(180deg, var(--brand-500) 0 6px, transparent 6px 12px);
	background-size: 3px 12px;
	animation: flow-y 1s linear infinite;
}
.journey__icon { position: absolute; z-index: 2; left: 0; top: 0; display: grid; place-items: center; width: var(--dot); height: var(--dot); color: var(--brand-600); background: var(--white); border: 2px solid var(--brand-100); border-radius: 50%; box-shadow: var(--shadow-md); }
.journey__num { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 24px; height: 24px; font-size: .75rem; font-weight: 700; line-height: 1; color: var(--white); background: var(--brand-600); border: 2px solid var(--white); border-radius: 50%; }
.journey__step h3 { margin: .5rem 0 .375rem; font-size: 1.0625rem; }
.journey__step p { margin: 0; font-size: var(--fs-sm); color: var(--ink-600); }
.journey__vehicle { display: none; }
@media (min-width: 900px) {
	.journey { --from: calc(100% / var(--steps) / 2); }
	.journey__steps { grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); }
	.journey__step { padding: calc(var(--dot) + 1.25rem) .75rem 0; text-align: center; }
	.journey__icon { left: 50%; transform: translateX(-50%); }
	.journey__step:not(:last-child)::before {
		left: calc(50% + var(--dot) / 2 + 8px);
		top: calc(var(--dot) / 2 - 1.5px);
		bottom: auto;
		width: calc(100% + var(--gap) - var(--dot) - 16px);
		height: 3px;
		background: repeating-linear-gradient(90deg, var(--brand-500) 0 6px, transparent 6px 12px);
		background-size: 12px 3px;
		animation-name: flow-x;
	}
	.journey__vehicle { position: absolute; z-index: 1; top: calc(var(--dot) / 2 - 18px); left: var(--from); display: grid; place-items: center; width: 36px; height: 36px; margin-left: -18px; color: var(--white); background: var(--brand-600); border-radius: 50%; box-shadow: 0 6px 16px -6px rgb(47 127 147 / .7); animation: journey-drive 8s var(--ease) infinite; }
	.journey--plane .journey__vehicle .icon { transform: rotate(45deg); }
}
@keyframes flow-y { to { background-position: 0 12px; } }
@keyframes flow-x { to { background-position: 12px 0; } }
@keyframes journey-drive { 0% { left: var(--from); opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: calc(100% - var(--from)); opacity: 0; } }

/* Problem to part: fault card, animated connector, fix card linked to its category */
.faults { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.fault { display: grid; gap: .5rem; }
@media (min-width: 768px) { .fault { grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.15fr); gap: 0; } }
.fault__symptom,
.fault__fix { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-lg); }
.fault__symptom { color: var(--ink-900); background: var(--danger-50); }
.fault__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--danger); background: var(--white); border-radius: 12px; }
.fault small { display: block; margin-bottom: .125rem; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); }
.fault strong { display: block; font-weight: 650; line-height: 1.35; color: var(--ink-950); }
.fault__link { display: none; }
@media (min-width: 768px) {
	.fault__link { position: relative; display: grid; place-items: center; color: var(--brand-600); }
	.fault__link::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--brand-500) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: flow-x 1s linear infinite; }
	.fault__link .icon { position: relative; width: 32px; height: 32px; padding: 6px; background: var(--white); border: 1px solid var(--brand-100); border-radius: 50%; }
}
.fault__fix { color: var(--ink-900); background: var(--white); border: 1px solid var(--ink-200); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.fault__fix:hover { color: var(--ink-900); border-color: var(--brand-500); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.fault__media { display: grid; place-items: center; flex: none; width: 64px; height: 64px; overflow: hidden; color: var(--brand-600); background: var(--brand-50); border-radius: 14px; }
.fault__media img { width: 100%; height: 100%; object-fit: cover; }
.fault__cta { display: inline-flex; align-items: center; gap: .25rem; margin-top: .375rem; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-600); }
.fault__cta .icon { transition: transform var(--t-fast) var(--ease); }
.fault__fix:hover .fault__cta .icon { transform: translateX(2px); }

/* Export documents: checked document tiles */
.docs-graphic { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.docs-graphic li { display: flex; align-items: center; gap: 1.125rem; padding: 1.125rem 1.25rem; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--ink-900); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); }
.doc-sheet { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 58px; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 6px 16px 6px 6px; }
.doc-sheet__check { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 24px; height: 24px; color: var(--white); background: var(--success); border: 2px solid var(--white); border-radius: 50%; }

/* ---------- Prose (editor content) ---------- */

.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-800); }
.prose > * + * { margin-top: 1.25em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0; }
.prose h2 { margin: 2.25em 0 .6em; font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.prose h3 { margin: 1.75em 0 .5em; font-size: 1.25rem; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ink-400); }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-100); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand-500); }
.prose blockquote { margin-inline: 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--brand-600); font-size: 1.125rem; color: var(--ink-900); }
.prose img, .prose figure { border-radius: var(--radius-md); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: .5rem; font-size: var(--fs-xs); color: var(--ink-500); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .75rem; border-bottom: 1px solid var(--ink-200); text-align: left; }
.prose code { font-family: var(--mono); font-size: .875em; padding: .1em .35em; background: var(--ink-100); border-radius: 6px; }
.prose--lead > p:first-child { font-size: var(--fs-lead); color: var(--ink-700); }

/* ---------- Spec table ---------- */

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th, .spec-table td { padding: .9rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink-100); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 42%; font-weight: 550; color: var(--ink-500); }
.spec-table td { color: var(--ink-900); font-weight: 550; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 1.5rem 0; overflow: hidden; background: var(--ink-200); border: 1px solid var(--ink-200); border-radius: var(--radius-md); }
.facts div { padding: .75rem 1rem; background: var(--white); }
.facts dt { font-size: .75rem; color: var(--ink-500); }
.facts dd { margin: .125rem 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); word-break: break-word; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--ink-200); }
.faq__item { border-bottom: 1px solid var(--ink-200); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.375rem 0;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--ink-950);
	list-style: none;
	cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--ink-400); transition: transform var(--t) var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); color: var(--brand-600); }
.faq__answer { padding: 0 0 1.5rem; max-width: 72ch; color: var(--ink-600); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__item:target summary { color: var(--brand-600); }

/* ---------- CTA band ---------- */

.cta-band {
	position: relative;
	display: grid;
	gap: 2rem;
	padding: clamp(2rem, 1.5rem + 3vw, 4rem);
	overflow: hidden;
	color: var(--ink-200);
	background:
		radial-gradient(80% 120% at 100% 0%, rgb(61 99 245 / .35) 0%, rgb(61 99 245 / 0) 60%),
		var(--ink-950);
	border-radius: var(--radius-xl);
}
@media (min-width: 1024px) { .cta-band { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; } }
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p { margin: 0; color: var(--ink-300); font-size: var(--fs-lead); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Forms ---------- */

.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .375rem; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-700); }
.field label .req { color: var(--danger); }
.field input,
.field select,
.field textarea,
.select {
	width: 100%;
	min-height: 48px;
	padding: .75rem 1rem;
	font: inherit;
	font-size: 1rem;
	color: var(--ink-950);
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: 12px;
	transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
	appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select,
.select {
	padding-right: 2.5rem;
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center;
}
.field input:hover, .field textarea:hover, .field select:hover, .select:hover { border-color: var(--ink-300); }
.field input:focus, .field textarea:focus, .field select:focus, .select:focus { outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { font-size: var(--fs-xs); color: var(--danger); }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }
.form__status { font-size: var(--fs-sm); }
.form__status.is-error { padding: .75rem 1rem; color: var(--danger); background: var(--danger-50); border-radius: 12px; }
.form__items { margin: 0; padding: .75rem 1rem; list-style: none; background: var(--ink-50); border-radius: 12px; font-size: var(--fs-sm); }
.form__items li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.form-success { display: grid; gap: 1rem; justify-items: start; padding: 2rem; background: var(--success-50); border-radius: var(--radius-lg); }
.form-success .icon { color: var(--success); }
.form-success h3 { margin: 0; }
.form-success p { margin: 0; color: var(--ink-700); }

.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.form-card h2, .form-card h3 { margin-bottom: .5rem; }
.form-card > p { color: var(--ink-600); }

.contact-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .875rem; align-items: flex-start; }
.contact-list .icon-wrap { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--brand-600); background: var(--brand-50); border-radius: 12px; }
.contact-list strong { display: block; font-size: var(--fs-xs); color: var(--ink-500); font-weight: 550; }
.contact-list a, .contact-list span { color: var(--ink-950); font-weight: 600; }

/* ---------- Product page ---------- */

.product-hero { padding-block: 1.5rem clamp(3rem, 2rem + 3vw, 5rem); }
.product-hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 1024px) { .product-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.product-hero__info { position: relative; }
@media (min-width: 1024px) { .product-hero__info { position: sticky; top: calc(var(--header-h) + 24px); } }
.product-hero h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: .75rem; }
.product-hero .lead { margin-bottom: 0; }
.buy-box { display: grid; gap: .75rem; margin-top: 1.5rem; }
.buy-box__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.buy-box__row .btn { flex: 1 1 200px; }
.qty {
	display: inline-flex;
	align-items: center;
	height: 48px;
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-pill);
}
.qty button { width: 44px; height: 100%; padding: 0; color: var(--ink-700); background: none; border: 0; border-radius: var(--radius-pill); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { color: var(--ink-950); background: var(--ink-100); }
.qty input { width: 56px; height: 100%; padding: 0; font: inherit; font-weight: 600; text-align: center; color: var(--ink-950); background: none; border: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--ink-600); }
.trust-row span { display: inline-flex; align-items: center; gap: .375rem; }
.trust-row .icon { color: var(--success); }

.gallery { display: grid; gap: .75rem; }
.gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	border-radius: var(--radius-xl);
	background: var(--ink-50);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__slide .placeholder { border-radius: var(--radius-lg); }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb {
	flex: none;
	width: 72px;
	height: 72px;
	padding: 4px;
	background: var(--ink-50);
	border: 2px solid transparent;
	border-radius: 14px;
	cursor: pointer;
	transition: border-color var(--t-fast) var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 10px; }
.gallery__thumb[aria-current="true"] { border-color: var(--brand-600); }

.subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 50;
	background: rgb(255 255 255 / .9);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-block: 1px solid var(--ink-200);
}
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
.subnav__inner { display: flex; align-items: center; gap: 1.5rem; height: 56px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: var(--fs-sm); font-weight: 550; color: var(--ink-600); padding-block: 1rem; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--ink-950); border-bottom-color: var(--ink-950); }
.subnav .btn { margin-left: auto; flex: none; }

.model-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.compat { display: grid; gap: 1.5rem; }
.compat__group h3 { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-500); margin-bottom: .75rem; }
.part-numbers { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.part-numbers li { font-family: var(--mono); font-size: var(--fs-sm); padding: .375rem .75rem; background: var(--ink-50); border-radius: 8px; color: var(--ink-800); }

/* ---------- Filter bar & pagination ---------- */

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.filter-bar__count { margin-right: auto; font-size: var(--fs-sm); color: var(--ink-500); }
.filter-bar .select { width: auto; min-height: 40px; padding-block: .5rem; font-size: var(--fs-sm); border-radius: var(--radius-pill); }
.filter-bar__reset { font-size: var(--fs-sm); font-weight: 600; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin-top: 3rem; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 .75rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--ink-700);
	border-radius: var(--radius-pill);
}
.pagination a.page-numbers:hover { background: var(--ink-100); color: var(--ink-950); }
.pagination .current { color: var(--white); background: var(--ink-950); }

/* ---------- Article ---------- */

.article-head { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) 2rem; }
.article-head h1 { max-width: 22ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ink-500); }
.article-meta .author { display: inline-flex; align-items: center; gap: .625rem; color: var(--ink-900); font-weight: 600; }
.article-meta img { width: 36px; height: 36px; border-radius: 50%; }
.article-cover { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-50); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 280px; } }
.article-aside { display: none; }
@media (min-width: 1100px) { .article-aside { display: block; } .article-aside__inner { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 1.5rem; } }
.toc { font-size: var(--fs-sm); }
.toc h2 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: .75rem; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--ink-200); }
.toc a { display: block; padding: .375rem 0 .375rem 1rem; margin-left: -1px; color: var(--ink-600); border-left: 2px solid transparent; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink-950); border-left-color: var(--brand-600); }
.takeaways { padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; background: var(--brand-50); border-radius: var(--radius-lg); }
.takeaways h2 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); margin-bottom: .75rem; }
.takeaways ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.takeaways li { display: flex; gap: .625rem; color: var(--ink-800); }
.takeaways .icon { flex: none; margin-top: .2rem; color: var(--brand-600); }
.aside-card { padding: 1.5rem; background: var(--ink-50); border-radius: var(--radius-lg); font-size: var(--fs-sm); }
.aside-card h3 { font-size: 1rem; }
.aside-card p { color: var(--ink-600); }

.author-box { display: flex; gap: 1.25rem; padding: 1.75rem; margin-top: 3rem; background: var(--ink-50); border-radius: var(--radius-lg); }
.author-box img { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.author-box h3 { font-size: 1rem; margin-bottom: .125rem; }
.author-box p { margin: .5rem 0 0; font-size: var(--fs-sm); color: var(--ink-600); }

/* ---------- Search palette ---------- */

.palette { position: fixed; inset: 0; z-index: 300; display: grid; justify-items: center; align-items: start; padding: 10vh 1rem 1rem; }
.palette[hidden] { display: none; }
.palette__backdrop { position: absolute; inset: 0; background: rgb(10 12 16 / .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade var(--t) var(--ease); }
.palette__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(680px, 100%);
	max-height: 72vh;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: 0 32px 80px -16px rgb(10 12 16 / .4);
	animation: pop var(--t) var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.palette__field { display: flex; align-items: center; gap: .75rem; padding: 0 1.25rem; border-bottom: 1px solid var(--ink-200); }
.palette__field .icon { color: var(--ink-400); flex: none; }
.palette__field input { flex: 1; min-width: 0; height: 64px; font: inherit; font-size: 1.125rem; color: var(--ink-950); background: none; border: 0; outline: 0; }
.palette__results { overflow-y: auto; padding: .5rem; }
.palette__group { padding: .5rem 0; }
.palette__group-label { padding: .5rem .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.palette__item { display: flex; align-items: center; gap: .875rem; padding: .625rem .75rem; color: var(--ink-900); border-radius: 12px; }
.palette__item:hover, .palette__item.is-active { color: var(--ink-950); background: var(--ink-50); }
.palette__thumb { display: grid; place-items: center; flex: none; width: 40px; height: 40px; overflow: hidden; color: var(--ink-400); background: var(--ink-50); border-radius: 10px; }
.palette__item.is-active .palette__thumb { background: var(--white); }
.palette__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Text rules are scoped to .palette__text so they never reach the thumbnail tile (also a <span>). */
.palette__text { display: block; min-width: 0; }
.palette__text strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.palette__text span { display: block; font-size: .75rem; color: var(--ink-500); }
.palette__item .icon-corner-down-left { margin-left: auto; color: var(--ink-400); opacity: 0; }
.palette__item.is-active .icon-corner-down-left { opacity: 1; }
.palette__empty { padding: 2rem 1rem; text-align: center; font-size: var(--fs-sm); color: var(--ink-500); }
.palette__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem; font-size: .75rem; color: var(--ink-500); border-top: 1px solid var(--ink-200); background: var(--ink-50); }
.palette__foot span { display: inline-flex; gap: .375rem; align-items: center; }

/* ---------- Quote drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 250; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(10 12 16 / .4); animation: fade var(--t) var(--ease); }
.drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(480px, 100%);
	background: var(--white);
	box-shadow: -24px 0 64px -16px rgb(10 12 16 / .25);
	animation: slide-in var(--t-slow) var(--ease);
}
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--ink-200); }
.drawer__head h2 { margin: 0; font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.5rem; }
.drawer__empty { display: grid; justify-items: center; gap: 1rem; padding: 3rem 1rem; text-align: center; color: var(--ink-500); }
.drawer__empty .icon { color: var(--ink-300); }
.quote-items { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.quote-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .875rem; align-items: center; padding: .75rem; background: var(--ink-50); border-radius: var(--radius-md); }
.quote-item__thumb { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; color: var(--ink-400); background: var(--white); border-radius: 12px; }
.quote-item__thumb img { width: 100%; height: 100%; object-fit: contain; }
.quote-item__title { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-950); line-height: 1.35; }
.quote-item__sku { font-family: var(--mono); font-size: .75rem; color: var(--ink-500); }
.quote-item__controls { display: grid; justify-items: end; gap: .25rem; }
.quote-item .qty { height: 36px; }
.quote-item .qty button { width: 32px; }
.quote-item .qty input { width: 40px; font-size: var(--fs-sm); }
.quote-item__remove { padding: 0; font: inherit; font-size: .75rem; color: var(--ink-500); background: none; border: 0; cursor: pointer; }
.quote-item__remove:hover { color: var(--danger); }

/* ---------- Toast ---------- */

.toast {
	position: fixed;
	left: 50%;
	bottom: calc(1.5rem + env(safe-area-inset-bottom));
	z-index: 400;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .75rem .75rem .75rem 1.25rem;
	font-size: var(--fs-sm);
	font-weight: 550;
	color: var(--white);
	background: var(--ink-950);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-lg);
	transform: translate(-50%, 150%);
	opacity: 0;
	transition: transform var(--t-slow) var(--ease), opacity var(--t) var(--ease);
	pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast .icon { color: #5ee0a8; }
.toast button { padding: .5rem 1rem; font: inherit; font-weight: 600; color: var(--ink-950); background: var(--white); border: 0; border-radius: var(--radius-pill); cursor: pointer; }
.has-mobile-bar .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom)); }

/* ---------- WhatsApp FAB & mobile action bar ---------- */

.wa-fab {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 90;
	display: none;
	align-items: center;
	gap: .625rem;
	height: 56px;
	padding: 0 1.25rem 0 1rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--white);
	background: var(--wa);
	border-radius: var(--radius-pill);
	box-shadow: 0 12px 32px -8px rgb(47 127 147 / .55);
	transition: transform var(--t) var(--ease), background var(--t-fast) var(--ease);
}
.wa-fab:hover { color: var(--white); background: var(--wa-hover); transform: translateY(-2px); }
@media (min-width: 768px) { .wa-fab { display: inline-flex; } }

.mobile-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: .5rem;
	padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
	background: rgb(255 255 255 / .92);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-top: 1px solid var(--ink-200);
}
.mobile-bar .btn { min-height: 44px; padding-inline: .75rem; font-size: var(--fs-xs); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) { body.has-mobile-bar { padding-bottom: 72px; } }

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(4rem, 3rem + 3vw, 6rem) 2rem; color: var(--ink-600); background: var(--ink-50); border-top: 1px solid var(--ink-200); font-size: var(--fs-sm); }
.site-footer__top { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); } }
.site-footer__brand p { max-width: 36ch; }
.site-footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer h2 { margin-bottom: 1rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-900); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink-600); }
.site-footer a:hover { color: var(--ink-950); }
.site-footer address { font-style: normal; display: grid; gap: .375rem; margin-top: 1.25rem; }
.site-footer__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.site-footer__social a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .5rem; color: var(--ink-700); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-pill); font-weight: 600; font-size: .75rem; }
.site-footer__social a:hover { color: var(--brand-600); border-color: var(--brand-500); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--ink-200); font-size: var(--fs-xs); color: var(--ink-500); }
.site-footer__bottom p { margin: 0; max-width: 80ch; }

/* ---------- Search page ---------- */

.search-head { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem; background: var(--ink-50); }
.search-head .hero-search { max-width: 760px; margin-bottom: 0; }
.tabs { display: flex; gap: .25rem; overflow-x: auto; margin: 2rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ink-200); scrollbar-width: none; }
.tabs a { display: inline-flex; gap: .375rem; padding: .875rem 1rem; font-size: var(--fs-sm); font-weight: 550; color: var(--ink-600); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink-950); }
.tabs a[aria-current="page"] { color: var(--ink-950); border-bottom-color: var(--ink-950); }
.result-group + .result-group { margin-top: 3.5rem; }
.result-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.result-group__head h2 { font-size: 1.25rem; margin: 0; }
.result-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.result-list a { display: block; padding: 1rem 1.25rem; color: var(--ink-900); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--radius-md); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.result-list a:hover { border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.result-list strong { display: block; font-weight: 600; }
.result-list span { font-size: var(--fs-sm); color: var(--ink-500); }

.empty-state { display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 2rem + 4vw, 6rem) 1rem; text-align: center; }
.empty-state .icon-wrap { display: grid; place-items: center; width: 72px; height: 72px; color: var(--ink-400); background: var(--ink-50); border-radius: 20px; }
.empty-state h2 { margin: 0; font-size: 1.5rem; }
.empty-state p { margin: 0; color: var(--ink-500); max-width: 48ch; }

.error-code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; color: var(--ink-100); }

/* ---------- Notice (editor-facing gaps shown only to logged-in editors) ---------- */

.editor-note { padding: .75rem 1rem; font-size: var(--fs-xs); color: var(--warning); background: #fdf3e3; border: 1px dashed #e8c28a; border-radius: 10px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > :nth-child(2) { transition-delay: 60ms; }
.js [data-reveal-stagger].is-in > :nth-child(3) { transition-delay: 120ms; }
.js [data-reveal-stagger].is-in > :nth-child(4) { transition-delay: 180ms; }
.js [data-reveal-stagger].is-in > :nth-child(5) { transition-delay: 240ms; }
.js [data-reveal-stagger].is-in > :nth-child(n+6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Search fields: focus shows on the field border, never as a ring ---------- */

input[type="search"]:focus,
input[type="search"]:focus-visible { outline: none; box-shadow: none; }
.site-header__search:focus-visible { box-shadow: none; border-color: var(--brand-500); background: var(--white); }
.site-header__search-icon:focus-visible { box-shadow: none; color: var(--brand-600); background: var(--brand-50); }

/* ---------- Scenes: animated illustrations instead of plain icons (parts/scene.php) ---------- */

.hero__scene { width: 100%; max-width: 580px; margin-left: auto; }
.scene {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: radial-gradient(120% 100% at 100% 0%, var(--brand-50) 0%, var(--white) 62%);
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}
.scene__stage { position: absolute; inset: 0; container-type: inline-size; }
.scene__art { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Cards are 16:10; the 4:3 stage is centred so HTML labels stay aligned with the artwork. */
.scene--card { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.scene--card .scene__stage { top: 0; bottom: auto; left: 50%; right: auto; width: auto; height: 100%; aspect-ratio: 4 / 3; transform: translateX(-50%); }

.scene__tag {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: .5em;
	max-width: 62%;
	padding: .55em .8em;
	font-size: clamp(10px, 3.3cqi, 14px);
	line-height: 1.25;
	color: var(--ink-900);
	background: var(--white);
	border: 1px solid var(--ink-200);
	border-radius: 12px;
	box-shadow: var(--shadow-md);
}
.scene__tag > span { display: grid; min-width: 0; }
.scene__tag small { font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.scene__tag strong { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.scene__tag .icon { flex: none; width: 1.15em; height: 1.15em; color: var(--brand-600); }
.scene__tag--tl { left: 5%; top: 5%; }
.scene__tag--bl { left: 5%; bottom: 5%; }
.scene__tag--br { right: 5%; bottom: 5%; }
.scene__tag--to { right: 24%; top: 4%; }
.scene__tag--c1, .scene__tag--c2, .scene__tag--c3 { right: 4%; animation: s-float 4.5s ease-in-out infinite; }
.scene__tag--c1 { top: 24%; }
.scene__tag--c2 { top: 42%; animation-delay: -1.5s; }
.scene__tag--c3 { top: 60%; animation-delay: -3s; }

.scene__flag { position: absolute; margin: 0; padding: 2cqi; background: var(--white); border: 1px solid var(--ink-200); border-radius: 3cqi; box-shadow: var(--shadow-md); }
.scene__flag img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.scene__flag figcaption { margin-top: 1.4cqi; font-size: clamp(10px, 3.2cqi, 14px); font-weight: 600; line-height: 1.2; text-align: center; color: var(--ink-900); }
.scene__flag--from { left: 6%; top: 55%; width: 25%; }
.scene__flag--to { right: 6%; top: 7%; width: 30%; }
.scene__flag--to img { transform-origin: left center; animation: s-wave 3.6s ease-in-out infinite; }
.scene--card .scene__flag figcaption { display: none; }

.s-dot { fill: var(--ink-200); }
.s-road { fill: none; stroke: var(--ink-100); stroke-width: 14; stroke-linecap: round; }
.s-block { fill: var(--brand-50); stroke: var(--ink-100); }
.s-track { fill: none; stroke: var(--brand-100); stroke-width: 9; stroke-linecap: round; }
.s-flow { fill: none; stroke: var(--brand-500); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 11; animation: s-flow 1s linear infinite; }
.s-brand { fill: var(--brand-600); }
.s-brand-500 { fill: var(--brand-500); }
.s-glass { fill: var(--brand-100); }
.s-white { fill: var(--white); }
.s-ink { fill: var(--ink-800); }
.s-rim { fill: var(--ink-700); }
.s-mute { fill: var(--ink-100); }
.s-shadow { fill: rgb(10 12 16 / .1); }
.s-paper { fill: var(--white); stroke: var(--ink-200); stroke-width: 1.5; }
.s-line-ink { fill: var(--ink-700); }
.s-line-soft { fill: var(--ink-200); }
.s-tread { fill: none; stroke: rgb(255 255 255 / .35); stroke-width: 4; stroke-linecap: round; }
.s-heat { fill: #e59a37; }
.s-heat-rim { fill: #c9781d; }
.s-wave { fill: none; stroke: #e59a37; stroke-width: 3.5; stroke-linecap: round; animation: s-rise 1.8s ease-out infinite; }
.s-cyan { fill: #1fa3c4; }
.s-magenta { fill: #d23f86; }
.s-yellow { fill: #f2b705; }
.s-dots { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 11; }
.s-dots--c { stroke: #1fa3c4; }
.s-dots--m { stroke: #d23f86; }
.s-dots--k { stroke: var(--ink-800); }
.s-box { fill: #e8d3ae; stroke: #cdb083; stroke-width: 1.5; }
.s-tape { fill: #f6ebd8; }
.s-write { fill: none; stroke: var(--ink-200); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 140; animation: s-write 5s var(--ease) infinite; }
.s-lens { fill: rgb(255 255 255 / .55); stroke: var(--brand-600); stroke-width: 7; }
.s-lens-handle { fill: none; stroke: var(--brand-700); stroke-width: 10; stroke-linecap: round; }
.s-tray { fill: none; stroke: var(--ink-300); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.s-arrow-line { fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.s-text { fill: var(--white); font: 700 11px var(--font); letter-spacing: .04em; }

.s-pulse { transform-box: fill-box; transform-origin: center; animation: s-pulse 2s ease-out infinite; }
.s-spin { transform-box: fill-box; transform-origin: center; animation: s-spin 2.4s linear infinite; }
.s-spin--rev { animation-direction: reverse; }
.s-bob { animation: s-bob 2.4s ease-in-out infinite; }
.s-bob-slow { animation: s-bob 4s ease-in-out infinite; }
.s-feed { animation: s-feed 2.4s linear infinite; }
.s-print { animation: s-print 3.2s var(--ease) infinite; }
.s-blink { animation: s-blink 1.6s steps(1) infinite; }
.s-carriage { animation: s-carriage 2.6s ease-in-out infinite alternate; }
.s-drop { animation: s-drip .9s ease-in infinite; }
.s-reveal { animation: s-reveal 2.6s linear infinite; }
.s-drop-in { animation: s-drop-in 3.2s var(--ease) infinite; }
.s-orbit { animation: s-orbit 6s ease-in-out infinite; }
.s-arrow { animation: s-arrow 1.8s var(--ease) infinite; }

@keyframes s-flow { to { stroke-dashoffset: -24; } }
@keyframes s-pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(2.8); opacity: 0; } }
@keyframes s-spin { to { transform: rotate(360deg); } }
@keyframes s-bob { 50% { transform: translateY(-6px); } }
@keyframes s-float { 50% { transform: translateY(-5px); } }
@keyframes s-feed { 0% { transform: translateX(-30px); opacity: 0; } 12%, 85% { opacity: 1; } 100% { transform: translateX(290px); opacity: 0; } }
@keyframes s-print { 0% { transform: translateY(-50px); opacity: 0; } 15% { opacity: 1; } 75% { transform: translateY(30px); opacity: 1; } 100% { transform: translateY(36px); opacity: 0; } }
@keyframes s-blink { 50% { opacity: .35; } }
@keyframes s-rise { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-14px); opacity: 0; } }
@keyframes s-carriage { from { transform: translateX(-100px); } to { transform: translateX(100px); } }
@keyframes s-drip { from { transform: translateY(0); opacity: 1; } to { transform: translateY(34px); opacity: 0; } }
@keyframes s-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes s-drop-in { 0% { transform: translateY(-70px); opacity: 0; } 30% { transform: translateY(0); opacity: 1; } 38% { transform: translateY(-6px); } 46%, 85% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
@keyframes s-write { 0% { stroke-dashoffset: 140; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes s-orbit { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-40px, -50px); } 50% { transform: translate(-70px, -10px); } 75% { transform: translate(-30px, 20px); } }
@keyframes s-arrow { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(4px); } }
@keyframes s-wave { 50% { transform: perspective(260px) rotateY(-14deg) skewY(-1.5deg); } }

.scene__static { display: none; }
@media (prefers-reduced-motion: reduce) {
	.scene [data-motion] { display: none; }
	.scene__static { display: inline; }
}

/* Flags (export markets) */
.flag { display: inline-block; flex: none; width: 20px; height: 14px; object-fit: contain; vertical-align: middle; }
.site-footer .flag { margin-right: .375rem; }
.site-footer__credit a { color: var(--ink-700); font-weight: 600; }

/* ---------- Mega menu layouts, WP menus, callout ---------- */

.mega__col--span { grid-column: span 3; }
.mega__list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.mega__inner:not(.mega__inner--catalog) { display: block; }
.mega__list--links { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .25rem 2rem; }
.mega__link[aria-current="page"] { background: var(--brand-50); }

.primary-nav .menu-item > a {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 .875rem;
	font-size: var(--fs-sm);
	font-weight: 550;
	color: var(--ink-700);
	border-radius: var(--radius-pill);
}
.primary-nav .menu-item > a:hover,
.primary-nav .current-menu-item > a { color: var(--ink-950); background: var(--ink-100); }
.primary-nav .menu { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }

.callout {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem 1.75rem;
	color: var(--ink-900);
	background: var(--brand-50);
	border-radius: var(--radius-lg);
	transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.callout:hover { color: var(--ink-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.callout > span:nth-child(2) { display: grid; gap: .25rem; flex: 1; }
.callout .eyebrow { margin: 0; }
.callout strong { font-size: 1.125rem; }
.callout__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; color: var(--brand-600); background: var(--white); border-radius: 14px; }
.callout > .icon { flex: none; color: var(--brand-600); }

a.card--category { color: var(--ink-900); }
a.card--category:hover { color: var(--ink-950); }

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
.w-full { width: 100%; }

/* Block editor alignment inside prose */
.prose .alignwide { max-width: none; }
.prose .wp-block-image img { border-radius: var(--radius-md); }

@media print {
	.site-header, .site-footer, .wa-fab, .mobile-bar, .subnav, .drawer, .palette, .cta-band { display: none !important; }
	body { padding: 0 !important; }
}
