/* =========================================================================
   SWE Technologies — frontend theme
   Layout: steel-plate industrial. Navy brand field, one crimson accent,
   condensed display type for headings, mono for spec data (MOC, units).
   Built on Bootstrap 5.3 (grid + components); everything visual lives here.
   ========================================================================= */
:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--steel: #eef1f6;          /* alternate section ground, slightly blue-biased grey */
	--steel-2: #e3e8f0;
	--plate: #eef1f6;          /* light 'display plate' behind product photos */
	--line: #d6dde8;
	--fg: #172033;
	--muted: #5b667a;
	--brand: #0f276c;          /* SWE navy (logo) — used as a background */
	--brand-deep: #0a1a4a;
	--brand-ink: #0f276c;      /* navy used as text */
	--accent: #90182a;         /* theme crimson — CTAs only */
	--accent-hover: #a92135;
	--accent-ink: #90182a;
	--on-dark: #ffffff;
	--on-dark-muted: rgba(255,255,255,.72);
	--shadow: 0 1px 2px rgba(15,39,108,.06), 0 8px 24px rgba(15,39,108,.08);

	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--radius: 4px;
	--section-y: clamp(3.5rem, 7vw, 6rem);

	/* Bootstrap hooks */
	--bs-body-font-family: var(--font-body);
	--bs-body-color: var(--fg);
	--bs-body-bg: var(--bg);
	--bs-link-color: var(--brand-ink);
	--bs-link-color-rgb: 15,39,108;
	--bs-link-hover-color: var(--accent-ink);
	--bs-primary: #0f276c;
	--bs-primary-rgb: 15,39,108;
	--bs-border-color: var(--line);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--fg);
	background: var(--bg);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, .swe-display {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: .005em;
	line-height: 1.05;
	color: var(--fg);
	text-wrap: balance;
}
h5, h6 { font-family: var(--font-body); font-weight: 600; color: var(--fg); }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.text-muted { color: var(--muted) !important; }
::selection { background: var(--brand); color: #fff; }

.swe-section { padding-block: var(--section-y); }
.swe-section--steel { background: var(--steel); }
.swe-mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }

/* Section heading: eyebrow + title + lead, left-aligned */
.swe-eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
	margin-bottom: .9rem;
}
.swe-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.swe-title { font-size: clamp(2.1rem, 4.2vw, 3.25rem); margin-bottom: .9rem; }
.swe-lead { color: var(--muted); font-size: 1.075rem; max-width: 60ch; margin-bottom: 0; }
.swe-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.75rem; }
.swe-head > div { min-width: 0; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius); letter-spacing: .01em; }
.btn-primary, .swe-btn {
	--bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
	--bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover);
	--bs-btn-active-bg: var(--accent-hover); --bs-btn-active-border-color: var(--accent-hover);
	--bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff;
}
.swe-btn {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .8rem 1.4rem; font-size: .95rem; font-weight: 600;
	background: var(--accent); color: #fff; border: 1px solid var(--accent);
	border-radius: var(--radius); text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}
.swe-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.swe-btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.swe-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.swe-btn--outline { background: transparent; border-color: var(--line); color: var(--fg); }
.swe-btn--outline:hover { background: var(--steel); border-color: var(--brand-ink); color: var(--brand-ink); }
.swe-btn .fa-arrow-right { transition: transform .2s ease; }
.swe-btn:hover .fa-arrow-right { transform: translateX(3px); }
.swe-link {
	font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--brand-ink);
	display: inline-flex; align-items: center; gap: .45rem;
}
.swe-link:hover { color: var(--accent-ink); }

/* ---------- Utility bar (Admin > Website Menu > Top Bar) ---------- */
.swe-utility { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .8rem; }
.swe-utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.swe-utility a { color: var(--muted); text-decoration: none; }
.swe-utility a:hover { color: var(--brand-ink); }
.swe-utility__links, .swe-utility__contact { display: flex; flex-wrap: wrap; align-items: center; }
.swe-utility__links a { text-transform: uppercase; letter-spacing: .04em; }
.swe-utility__links a + a::before, .swe-utility__contact a + a::before { content: "|"; color: var(--line); margin-inline: .7rem; }
.swe-utility__contact a { font-weight: 600; }
.swe-utility__quote i { margin-right: .25rem; }

/* ---------- Main header + mega menu (Admin > Website Menu > Main Menu) ---------- */
.swe-mh { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; background: var(--brand); color: #fff; }
.swe-mh__bar { position: relative; display: flex; align-items: stretch; gap: 1.5rem; }
.swe-mh__logo { display: flex; align-items: center; padding-block: .9rem; flex-shrink: 0; }
.swe-mh__logo img { height: 74px; width: auto; }
.swe-mh__nav { margin-left: auto; display: flex; }
.swe-mtabs { display: flex; list-style: none; margin: 0; padding: 0; }
.swe-mtab { display: flex; }
.swe-mtab__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	min-width: 150px; padding: 1.1rem 1.25rem 1.3rem; color: #fff; text-decoration: none; position: relative;
	transition: background .2s ease;
}
.swe-mtab + .swe-mtab .swe-mtab__link { box-shadow: inset 1px 0 0 rgba(255,255,255,.16); }
.swe-mtab__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.swe-mtab__title::after { content: ""; display: block; width: 64px; height: 1px; background: rgba(255,255,255,.55); margin: .65rem auto .55rem; }
.swe-mtab__sub { font-size: .86rem; line-height: 1.25; opacity: .85; max-width: 15ch; }
.swe-mtab__expand { display: none; }
.swe-mtab__link:hover, .swe-mtab__link:focus-visible { color: #fff; }
.swe-mpanel {
	position: absolute; left: calc(var(--bs-gutter-x, 1.5rem) * .5); right: calc(var(--bs-gutter-x, 1.5rem) * .5); top: 100%;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem;
	padding: 1.75rem 2rem; background: var(--surface); color: var(--fg);
	border-top: 4px solid var(--brand-deep); box-shadow: 0 18px 40px rgba(10,26,74,.22);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.swe-mpanel__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; align-content: start; }
.swe-mpanel__cards:only-child { grid-column: 1 / -1; }
.swe-mcard { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-decoration: none; color: var(--fg); text-align: center; }
.swe-mcard__img { width: 100%; aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; background: var(--plate); overflow: hidden; }
.swe-mcard__img img { width: 100%; height: 100%; object-fit: contain; padding: .9rem; mix-blend-mode: multiply; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.swe-mcard__title { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.swe-mcard:hover { color: var(--brand-ink); }
.swe-mcard:hover .swe-mcard__img img { transform: scale(1.06); }
.swe-mpanel__list { border-left: 1px solid var(--line); padding-left: 2rem; min-width: 230px; }
.swe-mpanel__list:only-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
.swe-mpanel__list:only-child ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 2rem; }
.swe-mpanel__heading { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.swe-mpanel__list ul { list-style: square; margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; }
.swe-mpanel__list li::marker { color: var(--fg); }
.swe-mpanel__list a { color: var(--fg); text-decoration: none; font-size: .93rem; }
.swe-mpanel__list a:hover { color: var(--accent-ink); }
.swe-mh__toggle { display: none; }
.swe-mh__mobile-extra { display: none; }
.swe-burger { display: block; width: 22px; height: 2px; background: #fff; position: relative; }
.swe-burger::before, .swe-burger::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; }
.swe-burger::before { top: -7px; } .swe-burger::after { top: 7px; }

@media (min-width: 992px) {
	.swe-mtab:hover .swe-mtab__link, .swe-mtab:focus-within .swe-mtab__link, .swe-mtab.is-current .swe-mtab__link { background: var(--brand-deep); }
	.swe-mtab.has-panel:hover .swe-mtab__link::after, .swe-mtab.has-panel:focus-within .swe-mtab__link::after {
		content: ""; position: absolute; left: 50%; bottom: .45rem; transform: translateX(-50%);
		border: 5px solid transparent; border-top-color: #fff;
	}
	.swe-mtab.has-panel:hover .swe-mpanel, .swe-mtab.has-panel:focus-within .swe-mpanel { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
	.swe-mtab__link { min-width: 0; padding-inline: .85rem; }
	.swe-mtab__title { font-size: 1.05rem; }
	.swe-mh__logo img { height: 60px; }
}
@media (max-width: 991.98px) {
	.swe-mh__bar { align-items: center; justify-content: space-between; }
	.swe-mh__logo img { height: 52px; }
	.swe-mh__toggle { display: grid; place-items: center; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(255,255,255,.35); }
	.swe-mh__nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
		background: var(--brand-deep); max-height: calc(100vh - 80px); overflow-y: auto; padding-bottom: 1rem;
	}
	.swe-mh.is-open .swe-mh__nav { display: flex; }
	.swe-mtabs { flex-direction: column; }
	.swe-mtab { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.12); }
	.swe-mtab__link { flex: 1; align-items: flex-start; text-align: left; min-width: 0; padding: .9rem 1rem; }
	.swe-mtab + .swe-mtab .swe-mtab__link { box-shadow: none; }
	.swe-mtab__title::after { display: none; }
	.swe-mtab__sub { max-width: none; margin-top: .2rem; }
	.swe-mtab__expand { display: grid; place-items: center; width: 56px; background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.12); color: #fff; }
	.swe-mtab__expand i { transition: transform .2s ease; }
	.swe-mtab.is-expanded .swe-mtab__expand i { transform: rotate(180deg); }
	.swe-mpanel { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 1rem; box-shadow: none; border-top: 0; }
	.swe-mtab.is-expanded .swe-mpanel { display: grid; }
	.swe-mpanel__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
	.swe-mcard__title { font-size: .75rem; }
	.swe-mpanel__list { border-left: 0; padding-left: 0; min-width: 0; }
	.swe-mh__mobile-extra { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding: 1rem; }
	.swe-mh__mobile-extra a:not(.swe-btn) { color: var(--on-dark-muted); text-decoration: none; font-size: .9rem; }
	.swe-mh__mobile-extra .swe-btn { width: 100%; justify-content: center; margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.swe-hero { position: relative; background: var(--brand-deep); color: #fff; overflow: hidden; }
.swe-hero .carousel-item { position: relative; min-height: clamp(460px, 62vh, 620px); }
.swe-hero__img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 80% center;
}
.swe-hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,26,74,.96) 0%, rgba(10,26,74,.88) 38%, rgba(10,26,74,.35) 68%, rgba(10,26,74,.05) 100%);
}
.swe-hero__body {
	position: relative; z-index: 2; min-height: inherit;
	display: flex; flex-direction: column; justify-content: center;
	padding-block: 4.5rem 7.5rem; max-width: 640px;
}
.swe-hero__body.text-center { margin-inline: auto; align-items: center; }
.swe-hero__body.text-end { margin-left: auto; align-items: flex-end; }
.swe-hero .swe-eyebrow { color: #fff; opacity: .85; }
.swe-hero h1, .swe-hero h2 {
	color: inherit; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600;
	line-height: .98; margin-bottom: 1.2rem; text-transform: none;
}
.swe-hero p { color: inherit; opacity: .85; font-size: 1.1rem; max-width: 46ch; margin-bottom: 2rem; }
.swe-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.swe-hero .carousel-indicators {
	justify-content: flex-start; margin: 0; left: 0; right: 0; bottom: 5.25rem;
	max-width: var(--site-max, 1320px); padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-inline: auto; gap: .4rem;
}
.swe-hero .carousel-indicators [data-bs-target] {
	width: 42px; height: 3px; margin: 0; border: 0; opacity: .35; background: #fff;
}
.swe-hero .carousel-indicators .active { opacity: 1; background: #fff; }
@media (max-width: 767.98px) {
	.swe-hero__shade { background: linear-gradient(180deg, rgba(10,26,74,.7) 0%, rgba(10,26,74,.92) 70%); }
	.swe-hero__img { object-position: 85% center; }
}
@media (prefers-reduced-motion: no-preference) {
	.swe-hero .carousel-item.active .swe-hero__body > * { animation: swe-rise .7s cubic-bezier(.2,.7,.2,1) both; }
	.swe-hero .carousel-item.active .swe-hero__body > *:nth-child(2) { animation-delay: .08s; }
	.swe-hero .carousel-item.active .swe-hero__body > *:nth-child(3) { animation-delay: .16s; }
	.swe-hero .carousel-item.active .swe-hero__body > *:nth-child(4) { animation-delay: .24s; }
}
@keyframes swe-rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Capability strip that overlaps the hero edge */
.swe-caps { position: relative; z-index: 5; margin-top: -3.5rem; }
.swe-caps__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.swe-cap { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 1.4rem; }
.swe-cap + .swe-cap { border-left: 1px solid var(--line); }
.swe-cap i { font-size: 1.35rem; color: var(--accent-ink); margin-top: .2rem; width: 1.5rem; text-align: center; }
.swe-cap strong { display: block; font-size: .98rem; color: var(--fg); line-height: 1.3; }
.swe-cap span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }
@media (max-width: 991.98px) {
	.swe-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.swe-cap:nth-child(3) { border-left: 0; }
	.swe-cap:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
	.swe-caps { margin-top: -2.5rem; }
	.swe-caps__grid { grid-template-columns: minmax(0, 1fr); }
	.swe-cap + .swe-cap { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Equipment / category tiles ---------- */
.swe-range { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.swe-tile {
	position: relative; display: flex; flex-direction: column; background: var(--surface);
	text-decoration: none; color: var(--fg); padding: 1.5rem 1.5rem 1.4rem; min-width: 0;
	transition: background .25s ease;
}
.swe-tile__media {
	aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-items: center;
	background: var(--plate); margin-bottom: 1.2rem; overflow: hidden;
}
.swe-tile__media img {
	width: 100%; height: 100%; object-fit: contain; padding: 1.1rem;
	mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.swe-tile__media img.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.swe-tile__code { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.swe-tile h3 { font-size: 1.55rem; margin: .25rem 0 .4rem; color: var(--fg); }
.swe-tile p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.swe-tile .swe-link { margin-top: auto; }
.swe-tile:hover { background: var(--bg); color: var(--fg); }
.swe-tile:hover .swe-tile__media img { transform: scale(1.05); }
.swe-tile:hover h3 { color: var(--brand-ink); }

/* ---------- Pillars (split with plant photo) ---------- */
.swe-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.swe-split__media { position: relative; }
.swe-split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.swe-split__plate {
	position: absolute; left: -1px; bottom: -1px; background: var(--brand); color: #fff;
	padding: 1.1rem 1.4rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; line-height: 1.7;
}
.swe-split__plate b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0; font-weight: 600; }
.swe-pillars { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.swe-pillar { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.swe-pillar i { font-size: 1.3rem; color: var(--brand-ink); margin-top: .25rem; }
.swe-pillar h3 { font-size: 1.45rem; margin-bottom: .3rem; }
.swe-pillar p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 991.98px) { .swe-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Industries ---------- */
.swe-industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.swe-ind {
	position: relative; display: block; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden;
	color: #fff; text-decoration: none; background: var(--brand-deep);
}
.swe-ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.swe-ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,74,0) 35%, rgba(10,26,74,.92) 100%); }
.swe-ind__label { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.15rem; }
.swe-ind__label h3 { color: #fff; font-size: 1.7rem; margin: 0 0 .15rem; }
.swe-ind__label span { font-size: .87rem; opacity: .82; }
.swe-ind:hover img { transform: scale(1.06); }
.swe-ind:hover { color: #fff; }
@media (max-width: 991.98px) { .swe-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .swe-industries { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Product cards ---------- */
.swe-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.5rem; }
.swe-card {
	display: flex; flex-direction: column; background: var(--surface);
	border: 1px solid var(--line); min-width: 0; height: 100%;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.swe-card:hover { border-color: var(--brand-ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.swe-card__media { display: block; aspect-ratio: 1 / 1; max-width: 100%; background: var(--plate); overflow: hidden; }
.swe-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; mix-blend-mode: multiply; }
.swe-card__media img.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.swe-card__body { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.swe-card__body h3, .swe-card__body h6 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin: 0; line-height: 1.1; }
.swe-card__body h3 a, .swe-card__body h6 a { color: var(--fg); text-decoration: none; }
.swe-card__body h3 a:hover, .swe-card__body h6 a:hover { color: var(--brand-ink); }
.swe-card__body p { font-size: .88rem; color: var(--muted); margin: 0; }
.swe-spec {
	display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: .7rem;
	font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em;
}
.swe-spec span { border: 1px solid var(--line); padding: .15rem .45rem; color: var(--muted); }

/* ---------- Process (real sequence) ---------- */
.swe-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--brand-ink); }
.swe-step { padding: 1.6rem 1.5rem 0 0; position: relative; min-width: 0; }
.swe-step::before {
	counter-increment: step; content: "STEP " counter(step, decimal-leading-zero);
	display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--accent-ink); margin-bottom: .9rem;
}
.swe-step::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--brand-ink); border-radius: 50%; }
.swe-section--steel .swe-step::after { background: var(--steel); }
.swe-step h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.swe-step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 991.98px) { .swe-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 575.98px) { .swe-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Testimonials ---------- */
.swe-review { background: var(--surface); border: 1px solid var(--line); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.swe-review__stars { color: #c98a12; letter-spacing: .15em; font-size: .9rem; }
.swe-review blockquote { margin: 0; font-size: .98rem; color: var(--fg); }
.swe-review__who { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.swe-review__who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.swe-review__who strong { display: block; font-size: .92rem; }
.swe-review__who small { color: var(--muted); }

/* ---------- CTA band ---------- */
.swe-cta { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.swe-cta::before {
	content: ""; position: absolute; inset: 0; opacity: .08;
	background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
	background-size: 32px 32px;
}
.swe-cta .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.swe-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5rem; }
.swe-cta p { color: var(--on-dark-muted); margin: 0; max-width: 52ch; }
.swe-cta > .container > div { min-width: 0; }

/* ---------- Page hero (inner pages) ---------- */
.swe-pagehead { background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.swe-pagehead::before {
	content: ""; position: absolute; inset: 0; opacity: .06;
	background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
	background-size: 32px 32px;
}
.swe-pagehead .container { position: relative; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.swe-pagehead h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); margin: .5rem 0 0; }
.swe-pagehead p { color: var(--on-dark-muted); margin: .75rem 0 0; max-width: 62ch; }
.swe-pagehead .breadcrumb { margin: 0; padding: 0; background: none; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.swe-pagehead .breadcrumb-item, .swe-pagehead .breadcrumb-item a { color: var(--on-dark-muted); text-decoration: none; }
.swe-pagehead .breadcrumb-item a:hover { color: #fff; }
.swe-pagehead .breadcrumb-item.active { color: #fff; }
.swe-pagehead .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); content: "/"; }

/* Inner page building blocks */
.swe-panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.swe-panel h2, .swe-panel h4 { font-size: 1.9rem; margin-bottom: 1rem; }
.form-control, .form-select { border-radius: var(--radius); border-color: var(--line); padding: .7rem .9rem; font-size: .95rem; background-color: var(--surface); color: var(--fg); }
.form-control:focus, .form-select:focus { border-color: var(--brand-ink); box-shadow: 0 0 0 3px rgba(15,39,108,.12); }
.form-label { font-size: .82rem; font-weight: 600; color: var(--fg); margin-bottom: .35rem; }
.swe-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.swe-contact-list li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .9rem; align-items: start; }
.swe-contact-list i { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--steel); color: var(--brand-ink); }
.swe-contact-list small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.swe-contact-list span { overflow-wrap: anywhere; }
.swe-gallery-main { border: 1px solid var(--line); background: var(--plate); }
.swe-gallery-main img { height: 460px; object-fit: contain; padding: 1.5rem; mix-blend-mode: multiply; }
.swe-thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.swe-thumbs img { width: 72px; height: 72px; object-fit: contain; background: var(--plate); border: 1px solid var(--line); padding: .3rem; cursor: pointer; }
.swe-thumbs img:hover { border-color: var(--brand-ink); }
.nav-tabs { border-bottom: 1px solid var(--line); gap: .25rem; }
.nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-weight: 600; padding: .8rem 1.1rem; border-radius: 0; }
.nav-tabs .nav-link.active { color: var(--brand-ink); border-bottom-color: var(--accent); background: none; }
.swe-tabbody { padding-block: 1.75rem; }
.swe-spec-table th { width: 35%; background: var(--steel) !important; font-weight: 600; font-size: .9rem; }
.swe-spec-table td { font-family: var(--font-mono); font-size: .85rem; }
.page-content { max-width: 75ch; font-size: 1.02rem; }
.page-content h2, .page-content h3 { margin-top: 2rem; margin-bottom: .75rem; }
.pagination { --bs-pagination-color: var(--brand-ink); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-border-radius: var(--radius); }
.swe-album { display: block; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); height: 100%; transition: border-color .2s ease; }
.swe-album:hover { border-color: var(--brand-ink); color: var(--fg); }
.swe-album img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.swe-album div { padding: 1rem 1.1rem; }
.swe-album h3 { font-size: 1.35rem; margin: 0; }
.swe-empty { text-align: center; color: var(--muted); padding-block: 3rem; border: 1px dashed var(--line); }

/* ---------- Footer ---------- */
.swe-footer { background: var(--brand-deep); color: var(--on-dark-muted); font-size: .92rem; }
.swe-footer__top { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.swe-footer img.swe-footer__logo { height: 52px; width: auto; margin-bottom: 1.25rem; }
.swe-footer h4 { color: #fff; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.swe-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.swe-footer a { color: var(--on-dark-muted); text-decoration: none; }
.swe-footer a:hover { color: #fff; }
.swe-footer__contact li { display: flex; gap: .7rem; } .swe-footer__contact i { color: #fff; opacity: .55; margin-top: .3rem; width: 1rem; }
.swe-footer__contact span { overflow-wrap: anywhere; }
.swe-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.swe-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.swe-social a:hover { background: var(--accent); border-color: var(--accent); }
.swe-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .82rem; }
@media (max-width: 991.98px) { .swe-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .swe-footer__top { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   Landing layout: category, product and CMS pages
   banner -> breadcrumb -> centered intro -> solutions -> mosaic -> enquiry
   ========================================================================= */
.swe-banner { position: relative; background: var(--brand-deep); min-height: clamp(220px, 30vw, 380px); display: flex; align-items: center; overflow: hidden; }
.swe-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.swe-banner__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,74,.9) 0%, rgba(10,26,74,.55) 45%, rgba(10,26,74,0) 80%); }
.swe-banner__body { position: relative; z-index: 2; color: #fff; padding-block: 2.5rem; }
.swe-banner__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; margin: 0 0 .6rem; max-width: 16ch; text-wrap: balance; }
.swe-banner__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; margin: 0; max-width: 40ch; opacity: .9; }
@media (max-width: 767.98px) { .swe-banner__shade { background: rgba(10,26,74,.62); } }

.swe-crumbs { border-bottom: 1px solid var(--line); background: var(--surface); }
.swe-crumbs .breadcrumb { margin: 0; padding-block: .8rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.swe-crumbs .breadcrumb-item, .swe-crumbs .breadcrumb-item a { color: var(--muted); text-decoration: none; }
.swe-crumbs .breadcrumb-item a:hover { color: var(--brand-ink); }
.swe-crumbs .breadcrumb-item.active { color: var(--fg); }
.swe-crumbs .breadcrumb-item + .breadcrumb-item::before { content: "//"; color: var(--line); }

.swe-intro { padding-block: clamp(2.75rem, 6vw, 4.5rem) 0; text-align: center; }
.swe-intro__title { font-size: clamp(2.5rem, 6vw, 4.2rem); color: var(--brand-ink); margin: 0 auto .5rem; max-width: 22ch; }
.swe-intro__sub { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--accent-ink); margin: 0 auto 1.5rem; line-height: 1.15; }
.swe-intro__text { margin-inline: auto; max-width: 78ch; color: var(--muted); font-size: 1rem; text-align: center; }
.swe-intro__text p { margin-bottom: .9rem; }
.swe-intro__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.swe-btn--wide { min-width: 200px; justify-content: center; text-transform: uppercase; letter-spacing: .08em; font-size: .88rem; }
.swe-divider { display: flex; align-items: center; gap: 1.25rem; max-width: 640px; margin: clamp(2.5rem, 5vw, 3.75rem) auto clamp(2.5rem, 5vw, 3.5rem); }
.swe-divider::before, .swe-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.swe-divider img { width: 34px; height: 34px; padding: 5px; border: 1px solid var(--line); background: var(--plate); }

.swe-solutions { padding-block: clamp(2.5rem, 5vw, 4rem); }
.swe-solutions__title { text-align: center; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--fg); margin: 0 auto 2.75rem; max-width: 26ch; }
.swe-solutions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; max-width: 1040px; margin-inline: auto; }
.swe-solutions__grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
.swe-solutions__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.swe-solution { text-align: center; min-width: 0; }
.swe-solution__icon { width: 104px; height: 104px; margin: 0 auto 1.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--steel); border: 1px solid var(--line); color: var(--brand-ink); font-size: 2.3rem; transition: background .25s ease, color .25s ease; }
.swe-solution:hover .swe-solution__icon { background: var(--brand); color: #fff; }
.swe-solution h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 .35rem; color: var(--fg); }
.swe-solution p { font-size: .92rem; color: var(--muted); margin: 0 auto; max-width: 34ch; }
@media (max-width: 767.98px) { .swe-solutions__grid, .swe-solutions__grid--2 { grid-template-columns: minmax(0, 1fr); } }

.swe-mosaic-wrap { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.swe-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 15vw, 200px); grid-auto-flow: dense; gap: 8px; max-width: 1040px; margin-inline: auto; }
.swe-mosaic__item { display: block; overflow: hidden; background: var(--steel); }
.swe-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.swe-mosaic__item:hover img { transform: scale(1.04); }
.swe-mosaic__item.m-c2 { grid-column: span 2; }
.swe-mosaic__item.m-c4 { grid-column: 1 / -1; }
.swe-mosaic__item.m-r2 { grid-row: span 2; }
@media (max-width: 575.98px) {
	.swe-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
	.swe-mosaic__item.m-r2:not(.m-c2):not(.m-c4) { grid-row: span 1; }
}

.swe-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.swe-overview__media { background: var(--plate); border: 1px solid var(--line); aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; }
.swe-overview__media img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; mix-blend-mode: multiply; }
.swe-overview__body { min-width: 0; }
.swe-overview__h { font-size: 1.7rem; margin: 1.75rem 0 1rem; }
@media (max-width: 991.98px) { .swe-overview { grid-template-columns: minmax(0, 1fr); } }

.swe-enquiry { background: var(--steel); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.swe-enquiry__head { text-align: center; max-width: 66ch; margin: 0 auto 2.5rem; }
.swe-enquiry__head h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--brand-ink); margin-bottom: .25rem; }
.swe-enquiry__sub { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--fg); margin-bottom: .9rem; }
.swe-enquiry__head p:last-child { color: var(--muted); margin: 0; }
.swe-enquiry__form { max-width: 820px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.5rem); }
.swe-enquiry .alert { max-width: 820px; margin-inline: auto; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float-btn {
	position: fixed; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: 22px; width: 56px; height: 56px;
	background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 28px; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 1050; transition: transform .2s ease;
}
.whatsapp-float-btn:hover { color: #fff; transform: scale(1.07); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Turnkey project cards ---------- */
.swe-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; }
.swe-proj {
	display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
	color: var(--fg); text-decoration: none; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.swe-proj:hover { color: var(--fg); border-color: var(--brand-ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.swe-proj__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-deep); }
.swe-proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.swe-proj:hover .swe-proj__media img { transform: scale(1.04); }
.swe-proj__body { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.swe-proj__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.swe-proj__title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; line-height: 1.1; }
.swe-proj__role { font-size: .88rem; font-weight: 600; color: var(--brand-ink); }
.swe-proj__text { font-size: .92rem; color: var(--muted); }
.swe-proj .swe-link { margin-top: auto; padding-top: .4rem; }

/* ---------- Project facts strip ---------- */
.swe-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	margin: 0; border-top: 2px solid var(--brand-ink); border-bottom: 1px solid var(--line);
}
.swe-facts > div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--line); min-width: 0; }
.swe-facts > div:last-child { border-right: 0; }
.swe-facts dt { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.swe-facts dd { margin: 0; font-weight: 600; color: var(--fg); }
.swe-facts dd a { color: var(--brand-ink); }

/* ---------- Process line: machines of a turnkey project in order ---------- */
.swe-line {
	list-style: none; margin: 0; padding: 0; counter-reset: line;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2.25rem 1.5rem;
}
.swe-line__step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.swe-line__label {
	display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem;
	font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--fg);
}
.swe-line__label::before {
	counter-increment: line; content: counter(line, decimal-leading-zero);
	display: inline-grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem;
	background: var(--brand); color: #fff; font-family: var(--font-mono); font-size: .8rem;
}
.swe-line__step:not(:last-child)::after {
	content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute;
	right: -1.15rem; top: .55rem; color: var(--accent-ink); font-size: .85rem;
}
.swe-line__card {
	display: flex; flex-direction: column; gap: .35rem; flex: 1; background: var(--surface); border: 1px solid var(--line);
	padding: 0 0 1.1rem; color: var(--fg); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.swe-line__card:hover { color: var(--fg); border-color: var(--brand-ink); box-shadow: var(--shadow); }
.swe-line__media { display: block; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: var(--plate); margin-bottom: .6rem; }
.swe-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; mix-blend-mode: multiply; }
.swe-line__name, .swe-line__text, .swe-line__card .swe-link { padding-inline: 1.1rem; }
.swe-line__name { font-weight: 600; }
.swe-line__text { font-size: .86rem; color: var(--muted); }
.swe-line__card .swe-link { margin-top: auto; padding-top: .3rem; }
@media (max-width: 575.98px) { .swe-line__step::after { display: none; } }

/* ---------- Page builder (Admin > Home Page) extras ---------- */
.swe-section--navy { background: var(--brand-deep); color: #fff; }
.swe-section--navy .swe-title, .swe-section--navy h3, .swe-section--navy .swe-eyebrow { color: #fff; }
.swe-section--navy .swe-lead, .swe-section--navy .swe-step p, .swe-section--navy .swe-pillar p { color: var(--on-dark-muted); }
.swe-section--navy .swe-step::after { background: var(--brand-deep); }
.swe-section--navy .swe-btn--outline { color: #fff; border-color: rgba(255,255,255,.6); }
.swe-caps--flat { margin-top: 0; padding-block: 2rem; }
.swe-split--reverse > :first-child { order: 2; }
@media (max-width: 991.98px) { .swe-split--reverse > :first-child { order: 0; } }
.swe-steps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); }
@media (max-width: 991.98px) { .swe-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .swe-steps { grid-template-columns: minmax(0, 1fr); } }
.swe-textblock { max-width: 820px; }

.swe-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin: 0; border-top: 2px solid var(--brand-ink); }
.swe-stats > div { padding: 1.6rem 1.25rem 0 0; min-width: 0; }
.swe-stats dt { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--brand-ink); }
.swe-stats dd { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; }
.swe-section--navy .swe-stats { border-color: rgba(255,255,255,.5); }
.swe-section--navy .swe-stats dt { color: #fff; }
.swe-section--navy .swe-stats dd { color: var(--on-dark-muted); }

.swe-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 991.98px) { .swe-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .swe-cards { grid-template-columns: minmax(0, 1fr); } }
.swe-xcard {
	display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
	color: var(--fg); text-decoration: none; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.swe-xcard:hover { color: var(--fg); border-color: var(--brand-ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.swe-xcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--plate); }
.swe-xcard__media img { width: 100%; height: 100%; object-fit: cover; }
.swe-xcard__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem; flex: 1; }
.swe-xcard__icon { font-size: 1.6rem; color: var(--brand-ink); margin-bottom: .25rem; }
.swe-xcard__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.swe-xcard__text { font-size: .93rem; color: var(--muted); }
.swe-xcard .swe-link { margin-top: auto; padding-top: .4rem; }

/* Spam trap field on enquiry forms: hidden from people, bots fill it */
.swe-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Turnkey projects: industry filter */
.swe-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.swe-filter__btn {
	padding: .5rem 1.1rem; font: 600 .9rem var(--font-body); color: var(--brand-ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.swe-filter__btn:hover { border-color: var(--brand-ink); }
.swe-filter__btn.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-dark); }
.swe-filter__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.swe-proj[hidden] { display: none; }

/* =================== Product detail page =================== */
.swe-pd-hero { padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem); }
.swe-pd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
@media (max-width: 991.98px) { .swe-pd-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.swe-pd-gal { min-width: 0; }
.swe-pd-gal__main {
	position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; cursor: zoom-in;
	background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius);
}
.swe-pd-gal__main img { width: 100%; height: 100%; object-fit: contain; padding: clamp(1rem, 4%, 2.25rem); mix-blend-mode: multiply; transition: transform .25s ease; }
.swe-pd-gal__main.is-zoom img { transform: scale(1.9); }
.swe-pd-gal__zoom {
	position: absolute; right: .75rem; bottom: .75rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
	background: var(--surface); color: var(--brand-ink); border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.swe-pd-gal__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .6rem; margin-top: .75rem; }
.swe-pd-gal__thumb {
	position: relative; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; display: grid; place-items: center;
	background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--brand-ink);
}
.swe-pd-gal__thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.swe-pd-gal__thumb.is-active, .swe-pd-gal__thumb:hover { border-color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-ink); }
.swe-pd-gal__thumb--video img { mix-blend-mode: normal; filter: brightness(.7); }
.swe-pd-gal__thumb--video i { position: absolute; font-size: 1.6rem; color: #fff; }
.swe-pd-gal__thumb--video:not(:has(img)) i { color: var(--accent); }

.swe-pd-sum { min-width: 0; }
.swe-pd-sum .swe-eyebrow { text-decoration: none; margin-bottom: .9rem; }
.swe-pd-sum__title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--brand-ink); margin-bottom: .5rem; line-height: 1.02; }
.swe-pd-sum__sub { font-size: 1.15rem; font-weight: 600; color: var(--accent-ink); margin-bottom: .9rem; }
.swe-pd-sum__desc { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.swe-pd-hl { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .55rem; }
.swe-pd-hl li { display: flex; gap: .65rem; align-items: baseline; }
.swe-pd-hl i { color: var(--brand-ink); flex-shrink: 0; }
.swe-pd-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.swe-pd-qs div { padding: .8rem 1rem; border-bottom: 1px solid var(--line); min-width: 0; }
.swe-pd-qs div:nth-child(odd) { border-right: 1px solid var(--line); }
.swe-pd-qs div:nth-last-child(-n+2):nth-child(odd), .swe-pd-qs div:last-child { border-bottom: 0; }
.swe-pd-qs dt { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.swe-pd-qs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.swe-pd-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.swe-pd-cta__wa { display: inline-flex; align-items: center; gap: .45rem; padding: .8rem 1rem; font-weight: 600; color: #128c4b; text-decoration: none; }
.swe-pd-cta__wa:hover { color: #0b6b38; text-decoration: underline; }
.swe-pd-cta__wa i { font-size: 1.3rem; }
.swe-pd-sum__call { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
.swe-pd-sum__call a { color: var(--brand-ink); font-weight: 600; }

/* In-page tabs */
.swe-pd-tabs { position: sticky; top: var(--pd-tabs-top, 0px); z-index: 1020; background: var(--surface); border-block: 1px solid var(--line); }
.swe-pd-tabs ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.swe-pd-tabs ul::-webkit-scrollbar { display: none; }
.swe-pd-tabs a {
	display: block; padding: 1rem .9rem; white-space: nowrap; text-decoration: none; color: var(--muted);
	font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.swe-pd-tabs a:hover { color: var(--brand-ink); }
.swe-pd-tabs a.is-active { color: var(--brand-ink); border-bottom-color: var(--accent); }

/* Body: main column + sticky quote card */
.swe-pd-body { padding-block: clamp(2.5rem, 5vw, 4rem); }
.swe-pd-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 991.98px) { .swe-pd-body__grid { grid-template-columns: minmax(0, 1fr); } .swe-pd-side { display: none; } }
.swe-pd-main { min-width: 0; }
.swe-pd-sec { scroll-margin-top: calc(var(--pd-tabs-top, 0px) + 5.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.swe-pd-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.swe-pd-sec__title { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--brand-ink); margin-bottom: 1.25rem; }
#enquiry, #applications { scroll-margin-top: calc(var(--pd-tabs-top, 0px) + 3.5rem); }

.swe-pd-feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.swe-pd-feat__item { padding: 1.25rem; background: var(--steel); border-radius: var(--radius); border-top: 3px solid var(--brand); }
.swe-pd-feat__num { font-family: var(--font-mono); font-size: .75rem; color: var(--accent-ink); letter-spacing: .1em; }
.swe-pd-feat__item h3 { font-size: 1.3rem; margin: .35rem 0 .4rem; }
.swe-pd-feat__item p { margin: 0; color: var(--muted); font-size: .93rem; }

.swe-pd-spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.swe-pd-spec th, .swe-pd-spec td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.swe-pd-spec tbody tr:not(.swe-pd-spec__group) th { width: 40%; font-weight: 600; color: var(--fg); }
.swe-pd-spec td { font-family: var(--font-mono); font-size: .88rem; }
.swe-pd-spec tbody tr:not(.swe-pd-spec__group):nth-child(even) { background: var(--steel); }
.swe-pd-spec__group th { background: var(--brand); color: var(--on-dark); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.swe-pd-note { margin: .75rem 0 0; color: var(--muted); font-size: .88rem; }

.swe-pd-models { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.swe-pd-models:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.swe-pd-models table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.swe-pd-models th, .swe-pd-models td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; }
.swe-pd-models td { font-family: var(--font-mono); font-size: .86rem; }
.swe-pd-models thead th { background: var(--brand); color: var(--on-dark); font-weight: 600; }
.swe-pd-models tbody th { position: sticky; left: 0; background: var(--surface); font-weight: 700; color: var(--brand-ink); }
.swe-pd-models tbody tr:nth-child(even) td, .swe-pd-models tbody tr:nth-child(even) th { background: var(--steel); }
.swe-pd-models tbody tr:last-child > * { border-bottom: 0; }

.swe-pd-video { position: relative; aspect-ratio: 16 / 9; background: #0b1020; border-radius: var(--radius); overflow: hidden; }
.swe-pd-video iframe, .swe-pd-video video, .swe-pd-video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.swe-pd-video__play { padding: 0; background: #0b1020; cursor: pointer; }
.swe-pd-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.swe-pd-video__icon {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 4.5rem; height: 4.5rem; display: grid; place-items: center;
	background: var(--accent); color: #fff; border-radius: 50%; font-size: 1.5rem; transition: transform .2s ease, background .2s ease;
}
.swe-pd-video__play:hover .swe-pd-video__icon { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }

.swe-pd-faq details { border-bottom: 1px solid var(--line); }
.swe-pd-faq details:first-child { border-top: 1px solid var(--line); }
.swe-pd-faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.swe-pd-faq summary::-webkit-details-marker { display: none; }
.swe-pd-faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; line-height: 1; color: var(--accent-ink); }
.swe-pd-faq details[open] summary::after { content: "−"; }
.swe-pd-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.swe-pd-faq p { margin: 0 0 1.1rem; color: var(--muted); max-width: 70ch; }

.swe-pd-side { position: sticky; top: calc(var(--pd-tabs-top, 0px) + 4.5rem); }
.swe-pd-quote { padding: 1.5rem; background: var(--brand); color: var(--on-dark); border-radius: var(--radius); display: grid; gap: .75rem; }
.swe-pd-quote__title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; margin: 0; line-height: 1.1; }
.swe-pd-quote__text { color: var(--on-dark-muted); font-size: .93rem; margin: 0 0 .25rem; }
.swe-pd-quote .swe-btn--outline { color: #fff; border-color: rgba(255,255,255,.45); }
.swe-pd-quote .swe-btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.swe-pd-quote__links { list-style: none; padding: .75rem 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: .5rem; font-size: .9rem; }
.swe-pd-quote__links li { display: flex; gap: .6rem; align-items: baseline; min-width: 0; }
.swe-pd-quote__links i { width: 1rem; color: var(--on-dark-muted); }
.swe-pd-quote__links a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.swe-pd-quote__links a:hover { text-decoration: underline; }

/* Mobile quote bar */
.swe-pd-bar { display: none; }
@media (max-width: 991.98px) {
	.swe-pd-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; gap: .5rem; align-items: center;
		padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
		box-shadow: 0 -6px 18px rgba(15,39,108,.08);
	}
	.swe-pd-bar .swe-btn { flex: 1; justify-content: center; }
	.swe-pd-bar__icon { width: 3rem; height: 3rem; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--brand-ink); font-size: 1.2rem; text-decoration: none; }
	body:has(.swe-pd-bar) { padding-bottom: 4.5rem; }
	body:has(.swe-pd-bar) .whatsapp-float-btn { display: none; }
}

/* Image viewer */
.swe-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,12,24,.94); }
.swe-lb[open] { display: grid; place-items: center; }
.swe-lb::backdrop { background: rgba(8,12,24,.94); }
.swe-lb img { max-width: min(92vw, 1400px); max-height: 84dvh; object-fit: contain; background: #fff; border-radius: var(--radius); }
.swe-lb__close, .swe-lb__nav { position: absolute; width: 3rem; height: 3rem; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.swe-lb__close:hover, .swe-lb__nav:hover { background: rgba(255,255,255,.24); }
.swe-lb__close { top: 1rem; right: 1rem; }
.swe-lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.swe-lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.swe-lb__count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-family: var(--font-mono); font-size: .8rem; }

/* ---------- Touch devices: easier to tap checkboxes ---------- */
@media (pointer: coarse) {
	.form-check-input { width: 1.35em; height: 1.35em; margin-top: .1em; }
	.form-check { padding-left: 2em; }
	.form-check .form-check-input { margin-left: -2em; }
}

/* ---------- Product page: more videos ---------- */
.swe-pd-vnow { margin: .85rem 0 .6rem; font-size: .9rem; color: var(--muted); }
.swe-pd-vnow strong { color: var(--brand); font-weight: 600; }
.swe-pd-vlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .9rem; }
.swe-pd-vcard { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.swe-pd-vcard:hover { border-color: var(--brand); box-shadow: 0 8px 22px rgba(15, 39, 108, .1); transform: translateY(-2px); }
.swe-pd-vcard:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.swe-pd-vcard.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.swe-pd-vcard__img { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1020; }
.swe-pd-vcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swe-pd-vcard__img i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(144, 24, 42, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; padding-left: 2px; }
.swe-pd-vcard.is-active .swe-pd-vcard__img::after { content: "Playing"; position: absolute; left: .5rem; top: .5rem; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 4px; }
.swe-pd-vcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: .6rem .75rem .7rem; font-size: .9rem; font-weight: 500; color: var(--ink, #0f172a); line-height: 1.35; }
@media (max-width: 575.98px) {
	.swe-pd-vlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.swe-pd-vcard__title { font-size: .82rem; padding: .5rem .6rem .6rem; }
}

/* =====================================================================
   Wide screens: the site grows with the monitor instead of staying a
   narrow 1320px box. Text scales a little so proportions stay the same.
   ===================================================================== */
:root { --site-max: 1320px; }
@media (min-width: 1600px) { :root { --site-max: 1480px; } }
@media (min-width: 1920px) { :root { --site-max: 1720px; } html { font-size: 17px; } }
@media (min-width: 2400px) { :root { --site-max: 2080px; } html { font-size: 18px; } }
@media (min-width: 3200px) { :root { --site-max: 2600px; } html { font-size: 20px; } }
@media (min-width: 1400px) { .container, .container-xxl, .container-xl { max-width: var(--site-max); } }

/* =====================================================================
   Category page
   ===================================================================== */
.cat-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--brand-deep); }
.cat-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,26,74,.95) 0%, rgba(10,26,74,.82) 45%, rgba(10,26,74,.35) 100%); }
.cat-hero__body { padding-block: clamp(1.1rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.4vw, 1.9rem); }
.cat-hero__crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .6rem; padding: 0; margin: 0 0 .6rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.cat-hero__crumbs li { color: rgba(255,255,255,.9); }
.cat-hero__crumbs li + li::before { content: "/"; margin-right: .6rem; color: rgba(255,255,255,.45); }
.cat-hero__crumbs a { color: rgba(255,255,255,.65); text-decoration: none; }
.cat-hero__crumbs a:hover { color: #fff; }
.cat-hero__eyebrow { color: #fff; opacity: .85; font-size: .68rem; }
.cat-hero__title { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: clamp(1.75rem, 3.2vw, 2.7rem); line-height: 1.05; margin: .25rem 0 .45rem; max-width: 24ch; }
.cat-hero__lead { color: var(--on-dark-muted); font-size: .95rem; max-width: 70ch; margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cat-hero__actions .swe-btn { padding: .6rem 1.1rem; font-size: .9rem; }
.cat-hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 0 0 0 1rem; }
.cat-hero__stats li { display: flex; align-items: baseline; gap: .4rem; padding: 0 1rem; border-left: 1px solid rgba(255,255,255,.22); }
.cat-hero__stats strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; font-weight: 600; }
.cat-hero__stats span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }

.cat-main { padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-y); }
.cat-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 992px) { .cat-layout { grid-template-columns: clamp(200px, 15%, 260px) minmax(0, 1fr); gap: clamp(1.5rem, 2.2vw, 2.5rem); align-items: start; } }

/* sidebar */
.cat-side { display: grid; gap: .9rem; }
@media (min-width: 992px) { .cat-side { position: sticky; top: calc(var(--header-h, 135px) + 1rem); } }
.cat-side__box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cat-side__title { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; padding: .75rem 1rem .4rem; }
.cat-side__nav ul { list-style: none; margin: 0; padding: 0 0 .35rem; }
.cat-side__nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .42rem 1rem; color: var(--fg); text-decoration: none; font-weight: 500; font-size: .9rem; line-height: 1.3; border-left: 3px solid transparent; transition: background .15s, color .15s; }
.cat-side__nav > ul > li > a i { font-size: .7rem; color: var(--muted); transition: transform .15s; }
.cat-side__nav > ul > li > a:hover { background: var(--steel); color: var(--brand-ink); }
.cat-side__nav > ul > li > a:hover i { transform: translateX(3px); }
.cat-side__nav a.is-active { color: var(--brand-ink); background: var(--steel); border-left-color: var(--accent); font-weight: 600; }
.cat-side__nav ul ul { padding: 0 0 .3rem 1rem; }
.cat-side__nav ul ul a { display: block; padding: .28rem 1rem .28rem .65rem; font-size: .84rem; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); }
.cat-side__nav ul ul a:hover, .cat-side__nav ul ul a.is-active { color: var(--brand-ink); border-left-color: var(--accent); }
.cat-help { padding: 1rem; background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-help__icon { display: none !important; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.cat-help h2 { font-family: var(--font-display); color: #fff; font-size: 1.15rem; line-height: 1.1; margin: 0 0 .35rem; }
.cat-help p { color: var(--on-dark-muted); font-size: .84rem; line-height: 1.45; margin: 0 0 .75rem; }
.cat-help .swe-btn { padding: .5rem .9rem; font-size: .85rem; }
.cat-help .swe-btn { justify-content: center; }
.cat-help__line { display: flex; align-items: center; gap: .5rem; margin-top: .55rem; color: #fff; text-decoration: none; font-weight: 500; font-size: .85rem; }
.cat-help__line:hover { color: #fff; text-decoration: underline; }

/* phone / tablet: categories as a swipeable row; the sidebar list is hidden there */
.cat-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 1.5rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex: 0 0 auto; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; background: #fff; }
.cat-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 992px) { .cat-chips { display: none; } }
@media (max-width: 991.98px) {
	.cat-side__nav { display: none; }
	.cat-side { order: 2; }
}

/* content blocks */
.cat-block + .cat-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cat-block__title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--brand-ink); font-weight: 600; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.cat-count { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .5rem; border-radius: 999px; background: var(--steel); color: var(--brand-ink); font-family: var(--font-mono); font-size: .85rem; font-weight: 500; }

.cat-ranges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.cat-range { display: flex; align-items: center; gap: 1rem; padding: .75rem 1.1rem .75rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.cat-range:hover { border-color: var(--brand-ink); box-shadow: var(--shadow); color: var(--fg); }
.cat-range__img { width: 84px; aspect-ratio: 1; flex-shrink: 0; background: var(--plate); display: grid; place-items: center; overflow: hidden; }
.cat-range__img img { width: 100%; height: 100%; object-fit: contain; padding: .35rem; }
.cat-range__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cat-range__body strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--brand-ink); font-weight: 600; }
.cat-range__body small { color: var(--muted); font-size: .85rem; }
.cat-range > i { color: var(--accent); font-size: .85rem; }

/* toolbar */
.cat-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.cat-toolbar__tools { display: flex; align-items: center; gap: .6rem; flex: 0 1 26rem; min-width: 0; }
.cat-search { position: relative; flex: 1 1 auto; min-width: 0; margin: 0; }
.cat-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
.cat-search input { width: 100%; height: 44px; padding: 0 1rem 0 2.4rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .92rem; color: var(--fg); background: #fff; }
.cat-search input:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 3px rgba(15,39,108,.12); }
.cat-view { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.cat-view button { width: 44px; height: 42px; border: 0; background: #fff; color: var(--muted); }
.cat-view button + button { border-left: 1px solid var(--line); }
.cat-view button.is-active { background: var(--brand); color: #fff; }
.cat-view button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* product cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-card[hidden] { display: none; }
.cat-card:hover { border-color: var(--brand-ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform .35s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__badge { position: absolute; top: .75rem; left: .75rem; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 2px; }
.cat-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.15rem; }
.cat-card__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; margin: 0 0 .45rem; }
.cat-card__title a { color: var(--brand-ink); text-decoration: none; }
.cat-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.cat-card { position: relative; }
.cat-card__text { color: var(--muted); font-size: .92rem; margin: 0 0 .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__specs { margin: 0 0 1rem; padding: .7rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .3rem; }
.cat-card__specs div { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }
.cat-card__specs dt { font-weight: 400; color: var(--muted); }
.cat-card__specs dd { margin: 0; font-family: var(--font-mono); color: var(--fg); text-align: right; }
.cat-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.cat-card__foot a { position: relative; z-index: 1; }
.cat-card__quote { font-size: .82rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; padding: .35rem .7rem; border: 1px solid rgba(144,24,42,.3); border-radius: var(--radius); }
.cat-card__quote:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* list view */
.cat-grid[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.cat-grid[data-view="list"] .cat-card { flex-direction: row; }
.cat-grid[data-view="list"] .cat-card:hover { transform: none; }
.cat-grid[data-view="list"] .cat-card__media { width: clamp(150px, 28%, 280px); aspect-ratio: auto; min-height: 180px; flex-shrink: 0; }
.cat-grid[data-view="list"] .cat-card__body { padding: 1.25rem 1.5rem; }
.cat-grid[data-view="list"] .cat-card__text { -webkit-line-clamp: 3; }
.cat-grid[data-view="list"] .cat-card__specs { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); column-gap: 2rem; }

.cat-noresult { padding: 2rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.cat-noresult i { margin-right: .4rem; }
.cat-about .page-content { max-width: 80ch; }

@media (max-width: 575.98px) {
	.cat-hero__stats { margin: .35rem 0 0; flex-basis: 100%; }
	.cat-hero__stats li { padding: 0 .8rem; }
	.cat-hero__stats li:first-child { padding-left: 0; border-left: 0; }
	.cat-hero__stats strong { font-size: 1.2rem; }
	.cat-hero__actions .swe-btn { padding: .5rem .85rem; font-size: .82rem; }
	.cat-hero__lead { font-size: .88rem; }
	.cat-toolbar__tools { flex-basis: 100%; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.cat-card__body { padding: .8rem .85rem .9rem; }
	.cat-card__title { font-size: 1.15rem; }
	.cat-card__text { font-size: .85rem; }
	.cat-card__specs { display: none; }
	.cat-card__foot { flex-direction: column; align-items: flex-start; gap: .5rem; }
	.cat-card__quote { display: none; }
	.cat-grid[data-view="list"] .cat-card__media { width: 110px; min-height: 0; }
	.cat-grid[data-view="list"] .cat-card__media img { padding: .5rem; }
	.cat-grid[data-view="list"] .cat-card__body { padding: .8rem .9rem; }
}
@media (max-width: 359.98px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } }
/* very wide screens: keep the video player a comfortable size */
.swe-pd-video, .swe-pd-vnow, .swe-pd-vlist { max-width: 1200px; }
