/* =========================================================================
   SinoBarrier Industrial — main stylesheet
   Design tokens first, then layout primitives, then components.
   ========================================================================= */

:root {
	--ink: #0b1a26;
	--ink-2: #13354a;
	--ink-3: #1d4257;
	--accent: #ff6a13;
	--accent-dark: #e0560a;
	--accent-soft: rgba(255, 106, 19, .1);
	--amber: #ffb020;
	--text: #26333d;
	--muted: #6a7885;
	--line: #e2e8ee;
	--line-strong: #cfd8e0;
	--soft: #f5f8fa;
	--soft-2: #eef3f7;
	--white: #fff;
	--ok: #1c8c4a;
	--err: #c8372d;

	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--font-head: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 3px;
	--radius-lg: 5px;
	--shadow-sm: 0 1px 2px rgba(11, 26, 38, .06), 0 1px 3px rgba(11, 26, 38, .04);
	--shadow: 0 4px 18px rgba(11, 26, 38, .08);
	--shadow-lg: 0 18px 48px rgba(11, 26, 38, .16);
	--container: 1240px;
	--gap: 26px;
	--header-h: 78px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.68;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.sg-nav-locked { overflow: hidden; }

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

a { color: var(--ink-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.018em;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

table { border-collapse: collapse; width: 100%; }
button { font-family: inherit; }

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

/* Parked off-screen with a logical offset, never a physical one: in an RTL
   document the scrollable overflow region grows towards the inline-start edge
   (the left), so `left: -9999px` would add ~10000px of blank scrollable width
   and the browser paints the viewport on the empty side. */
.sg-skip {
	position: absolute;
	inset-inline-start: -9999px;
	top: 0;
	z-index: 999;
	background: var(--accent);
	color: #fff;
	padding: 12px 20px;
	font-weight: 600;
}
.sg-skip:focus { inset-inline-start: 0; color: #fff; }

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

.sg-icon { flex: none; }

/* ------------------------------------------------------------ container -- */
.sg-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.sg-main { display: block; }

/* -------------------------------------------------------------- buttons -- */
.sg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 24px;
	font-family: var(--font);
	font-size: .94rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	text-align: center;
	transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
	white-space: nowrap;
}

.sg-btn svg { transition: transform .18s ease; }
.sg-btn:hover svg { transform: translateX(3px); }

.sg-btn--primary { background: var(--accent); color: #fff; box-shadow: 0 2px 0 var(--accent-dark); }
.sg-btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 4px 14px rgba(255, 106, 19, .35); }

.sg-btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.sg-btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.sg-btn--light { background: #fff; color: var(--ink); }
.sg-btn--light:hover { background: var(--accent); color: #fff; }

.sg-btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.sg-btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.sg-btn--text { background: none; color: var(--ink-2); padding: 13px 4px; }
.sg-btn--text:hover { color: var(--accent); }
.sg-btn--text:hover svg { transform: translateX(3px); }

.sg-btn--sm { padding: 10px 18px; font-size: .875rem; }
.sg-btn--lg { padding: 16px 30px; font-size: 1rem; }

.sg-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------------------------------------------------------------- header -- */
.sg-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #fff;
	transition: box-shadow .2s ease;
}
.sg-header.is-stuck { box-shadow: 0 6px 24px rgba(11, 26, 38, .1); }

.sg-topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, .8);
	font-size: .8rem;
}
.sg-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	row-gap: 2px;
	min-height: 40px;
	padding-block: 4px;
}
.sg-topbar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	row-gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
/* The e-mail address and the phone number are single tokens: if they break
   across two lines the topbar reads as a broken table. Items may wrap as whole
   units, text inside them may not — and the anchor itself has to be a flex row
   or the icon drops onto a line of its own above the address. */
.sg-topbar__list li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.sg-topbar__list a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}
.sg-topbar__list svg { color: var(--accent); flex: none; }
.sg-topbar a { color: rgba(255, 255, 255, .85); }
.sg-topbar a:hover { color: var(--accent); }

/* ------------------------------------------------------ language switcher -- */
.sg-lang { position: relative; }
.sg-lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 4px 2px;
	color: rgba(255, 255, 255, .85);
	font: inherit;
	font-weight: 600;
	letter-spacing: .05em;
	cursor: pointer;
}
.sg-lang__toggle:hover { color: var(--accent); }
.sg-lang__toggle svg { color: var(--accent); }
.sg-lang__code { font-size: .78rem; }
.sg-lang__caret {
	width: 0;
	height: 0;
	border-inline-start: 4px solid transparent;
	border-inline-end: 4px solid transparent;
	border-top: 4px solid currentColor;
	transition: transform .2s ease;
}
.sg-lang.is-open .sg-lang__caret { transform: rotate(180deg); }

.sg-lang__menu {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 8px);
	min-width: 178px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 14px 34px rgba(11, 26, 38, .16);
	display: none;
	z-index: 300;
}
.sg-lang.is-open .sg-lang__menu { display: block; }
.sg-lang__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 11px;
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	line-height: 1.3;
}
.sg-lang__menu a:hover { background: var(--soft); color: var(--ink); }
.sg-lang__menu a.is-current { background: var(--soft-2); font-weight: 700; }
.sg-lang__native { font-weight: 600; }
.sg-lang__english { font-size: .78rem; color: var(--muted); }

.sg-header__main { background: #fff; border-bottom: 1px solid var(--line); }
.sg-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.sg-brand { flex: none; }
.sg-brand__link { display: flex; align-items: center; gap: 12px; }
.sg-brand__mark { display: block; line-height: 0; }
.sg-brand__text { display: flex; flex-direction: column; }
.sg-brand__name {
	font-family: var(--font-head);
	font-size: 1.32rem;
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -.02em;
	line-height: 1.15;
}
.sg-brand__tag {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--muted);
	font-weight: 600;
}
.custom-logo { max-height: 52px; width: auto; }

.sg-nav { margin-left: auto; }
.sg-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.sg-menu__item { position: relative; }
.sg-menu__link {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	font-size: .93rem;
	font-weight: 600;
	color: var(--ink);
	border-radius: var(--radius);
	position: relative;
}
.sg-menu__link::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 6px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.sg-menu__item:hover > .sg-menu__link::after,
.sg-menu__item.is-open > .sg-menu__link::after,
.current-menu-item > .sg-menu__link::after { transform: scaleX(1); }
.sg-menu__item:hover > .sg-menu__link,
.sg-menu__item.is-open > .sg-menu__link { color: var(--accent); }

.sg-mega-toggle {
	display: none;
	position: absolute;
	right: 0; top: 0;
	width: 44px; height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
}

/* Mega panel */
.sg-mega {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translate(-50%, 10px);
	min-width: 620px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 26px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 300;
}
.sg-menu__item:hover > .sg-mega,
.sg-menu__item.is-open > .sg-mega {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
.sg-mega__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 28px;
}
.sg-mega__col-list { list-style: none; margin: 0; padding: 0; }
.sg-mega__head {
	display: block;
	font-family: var(--font-head);
	font-size: .76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .13em;
	color: var(--accent);
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.sg-mega__col-list li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 7px 0;
	font-size: .9rem;
	color: var(--text);
}
.sg-mega__col-list li a:hover { color: var(--accent); }
.sg-mega__count { font-size: .74rem; color: var(--muted); font-weight: 600; }

.sg-mega__col--promo {
	background: var(--soft);
	border-radius: var(--radius);
	padding: 20px;
	margin: -6px;
}
.sg-mega__promo-label {
	display: block;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}
.sg-mega__promo-text { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }

.sg-header__cta { flex: none; }

.sg-nav-toggle {
	display: none;
	margin-inline-start: auto;
	width: 46px; height: 46px;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
	padding: 0;
}
.sg-nav-toggle__bars { display: block; position: relative; width: 20px; height: 14px; margin: 0 auto; }
.sg-nav-toggle__bars i {
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: var(--ink);
	transition: transform .22s ease, opacity .22s ease;
}
.sg-nav-toggle__bars i:nth-child(1) { top: 0; }
.sg-nav-toggle__bars i:nth-child(2) { top: 6px; }
.sg-nav-toggle__bars i:nth-child(3) { top: 12px; }
.sg-nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sg-nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.sg-nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero -- */
.sg-hero { position: relative; background: var(--ink); }
.sg-hero__slides { position: relative; height: clamp(520px, 68vh, 720px); }
.sg-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility .7s ease;
}
.sg-hero__slide.is-active { opacity: 1; visibility: visible; }
.sg-hero__slide.is-active .sg-hero__title { animation: sg-rise .8s .1s ease both; }
.sg-hero__slide.is-active .sg-hero__sub { animation: sg-rise .8s .22s ease both; }
.sg-hero__slide.is-active .sg-hero__actions { animation: sg-rise .8s .34s ease both; }
.sg-hero__slide.is-active .sg-hero__eyebrow { animation: sg-rise .8s .02s ease both; }

@keyframes sg-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

.sg-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(6, 16, 24, .93) 0%, rgba(8, 22, 33, .82) 42%, rgba(8, 22, 33, .35) 100%);
}
.sg-hero__body { position: relative; max-width: 780px; padding-top: 40px; padding-bottom: 60px; }
.sg-hero__eyebrow {
	display: inline-block;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--amber);
	margin-bottom: 20px;
	padding-inline-start: 44px;
	position: relative;
}
.sg-hero__eyebrow::before {
	content: "";
	position: absolute;
	inset-inline-start: 0; top: 50%;
	width: 32px; height: 2px;
	background: var(--accent);
}
.sg-hero__title { color: #fff; font-size: clamp(2.05rem, 4.4vw, 3.5rem); margin-bottom: .45em; }
.sg-hero__sub { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 620px; margin-bottom: 2em; }
.sg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.sg-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 5;
}
.sg-hero__dot {
	width: 34px; height: 3px;
	border: 0;
	background: rgba(255, 255, 255, .34);
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, width .2s ease;
}
.sg-hero__dot.is-active { background: var(--accent); width: 52px; }

/* ----------------------------------------------------------------- proof -- */
.sg-proof { background: var(--ink-2); color: #fff; }
.sg-proof__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}
.sg-proof__list li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	padding: 30px 18px;
	border-inline-end: 1px solid rgba(255, 255, 255, .12);
}
.sg-proof__list li:last-child { border-inline-end: 0; }
.sg-proof__list svg { color: var(--accent); margin-bottom: 6px; }
.sg-proof__list strong {
	font-family: var(--font-head);
	font-size: 1.42rem;
	font-weight: 800;
	letter-spacing: -.01em;
}
.sg-proof__list span { font-size: .82rem; color: rgba(255, 255, 255, .68); }

/* --------------------------------------------------------------- sections -- */
.sg-section { padding: 86px 0; }
.sg-section--tight { padding: 46px 0; }
.sg-section--soft { background: var(--soft); }
.sg-section--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.sg-section--ink h2, .sg-section--ink h3 { color: #fff; }
.sg-section--ink .sg-section-head__lead { color: rgba(255, 255, 255, .72); }

.sg-eyebrow {
	display: inline-block;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
a.sg-eyebrow:hover { color: var(--accent-dark); }

.sg-section-head { max-width: 760px; margin-bottom: 44px; }
.sg-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sg-section-head__title { margin-bottom: .4em; }
.sg-section-head__lead { color: var(--muted); font-size: 1.03rem; margin: 0; }

.sg-section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}
.sg-section-head-row .sg-section-head { margin-bottom: 32px; }

/* ----------------------------------------------------------------- lines -- */
.sg-lines__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.sg-line {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sg-line:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.sg-line__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.sg-line__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sg-line:hover .sg-line__media img { transform: scale(1.045); }
.sg-line__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.sg-line__count {
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 10px;
}
.sg-line__title { font-size: 1.55rem; margin-bottom: .5em; }
.sg-line__title a { color: var(--ink); }
.sg-line__title a:hover { color: var(--accent); }
.sg-line__desc { color: var(--muted); font-size: .95rem; }
.sg-line__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.sg-line__list li { border-bottom: 1px solid var(--line); }
.sg-line__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	font-size: .9rem;
	color: var(--text);
}
.sg-line__list a:hover { color: var(--accent); }
.sg-line__list svg { color: var(--line-strong); }
.sg-line__list a:hover svg { color: var(--accent); }
.sg-line .sg-btn { align-self: flex-start; margin-top: auto; }

/* ------------------------------------------------------------ cat tiles -- */
.sg-cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sg-cat-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 24px 56px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sg-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.sg-cat-tile__parent {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted);
}
.sg-cat-tile__name {
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
}
.sg-cat-tile__count { font-size: .82rem; color: var(--muted); }
.sg-cat-tile__arrow {
	position: absolute;
	left: 24px; bottom: 22px;
	color: var(--accent);
	transition: transform .2s ease;
}
.sg-cat-tile:hover .sg-cat-tile__arrow { transform: translateX(5px); }

/* ----------------------------------------------------------------- about -- */
.sg-about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.sg-about__media { position: relative; }
.sg-about__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.sg-about__badge {
	position: absolute;
	right: -18px; bottom: -18px;
	background: var(--accent);
	color: #fff;
	padding: 20px 24px;
	border-radius: var(--radius);
	text-align: center;
	box-shadow: var(--shadow-lg);
}
.sg-about__badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.sg-about__badge span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; opacity: .92; }
.sg-about__facts { list-style: none; margin: 0 0 30px; padding: 0; }
.sg-about__facts li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sg-about__facts svg { color: var(--accent); margin-top: 4px; }
.sg-about__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ grid -- */
.sg-grid { display: grid; gap: var(--gap); }
.sg-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sg-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------------------------------------------- cards -- */
.sg-card, .sg-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sg-card:hover, .sg-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.sg-card__media, .sg-post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.sg-card__media img, .sg-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sg-card:hover .sg-card__media img, .sg-post-card:hover .sg-post-card__media img { transform: scale(1.06); }
.sg-card__body, .sg-post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sg-card__eyebrow, .sg-post-card__date {
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 9px;
}
.sg-post-card__date { color: var(--muted); }
.sg-card__title { font-size: 1.06rem; margin-bottom: .5em; line-height: 1.35; }
.sg-card__title a { color: var(--ink); }
.sg-card__title a:hover { color: var(--accent); }
.sg-post-card__title { font-size: 1.14rem; margin-bottom: .5em; line-height: 1.35; }
.sg-post-card__title a { color: var(--ink); }
.sg-post-card__title a:hover { color: var(--accent); }
.sg-card__meta { font-size: .82rem; color: var(--muted); margin: 0 0 10px; }
.sg-card__meta span { font-weight: 700; color: var(--ink-2); }
.sg-card__excerpt, .sg-post-card__excerpt { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.sg-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	font-size: .86rem;
	font-weight: 700;
	color: var(--accent);
}
.sg-card__link svg { transition: transform .2s ease; }
.sg-card:hover .sg-card__link svg { transform: translateX(4px); }
.sg-placeholder { object-fit: contain; padding: 14%; background: var(--soft); }

/* --------------------------------------------------------------- features -- */
.sg-feature {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px 26px;
	transition: transform .22s ease, box-shadow .22s ease;
}
.sg-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sg-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: var(--radius);
	margin-bottom: 18px;
}
.sg-feature__title { font-size: 1.1rem; margin-bottom: .5em; }
.sg-feature__text { font-size: .92rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------------- faq -- */
.sg-faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.sg-faq__note { color: var(--muted); }
.sg-faq__item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 10px;
	overflow: hidden;
}
.sg-faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.sg-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.sg-faq__item summary::-webkit-details-marker { display: none; }
.sg-faq__mark { position: relative; width: 14px; height: 14px; flex: none; }
.sg-faq__mark::before, .sg-faq__mark::after {
	content: "";
	position: absolute;
	background: var(--accent);
	transition: transform .2s ease;
}
.sg-faq__mark::before { left: 0; top: 6px; width: 14px; height: 2px; }
.sg-faq__mark::after { left: 6px; top: 0; width: 2px; height: 14px; }
.sg-faq__item[open] .sg-faq__mark::after { transform: scaleY(0); }
.sg-faq__answer { padding: 0 22px 20px; }
.sg-faq__answer p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------------------ quote -- */
.sg-quote__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.sg-quote__contact { list-style: none; margin: 0; padding: 0; }
.sg-quote__contact li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .13);
	color: rgba(255, 255, 255, .8);
}
.sg-quote__contact svg { color: var(--accent); }
.sg-quote__contact a { color: #fff; }
.sg-quote__contact a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ forms -- */
.sg-form-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px;
}
.sg-section--ink .sg-form-wrap { border: 0; box-shadow: var(--shadow-lg); }
.sg-form-wrap__title { font-size: 1.2rem; margin-bottom: 1em; }
.sg-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.sg-form--compact .sg-form__grid { grid-template-columns: 1fr; }
.sg-field { margin: 0 0 16px; }
.sg-field--full { grid-column: 1 / -1; }
.sg-field label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	color: var(--ink-2);
	margin-bottom: 6px;
}
.sg-field .req { color: var(--accent); }
.sg-field input[type="text"],
.sg-field input[type="email"],
.sg-field input[type="tel"],
.sg-field input[type="search"],
.sg-field input[type="url"],
.sg-field select,
.sg-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: .94rem;
	color: var(--text);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	transition: border-color .18s ease, box-shadow .18s ease;
}
.sg-field textarea { resize: vertical; min-height: 110px; }
.sg-field input:focus, .sg-field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
.sg-field input::placeholder, .sg-field textarea::placeholder { color: #9aa6b1; }

/* Same logical-offset rule as .sg-skip above — a physical negative `left`
   would blow up the scroll width of every RTL page. */
.sg-hp { position: absolute !important; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }

.sg-form__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 6px;
}
.sg-form__note { font-size: .8rem; color: var(--muted); margin: 0; max-width: 340px; }
.sg-form__status { margin: 14px 0 0; font-size: .9rem; font-weight: 600; }
.sg-form__status.is-busy { color: var(--muted); }
.sg-form__status.is-ok { color: var(--ok); }
.sg-form__status.is-error { color: var(--err); }

.sg-alert {
	padding: 14px 18px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: .92rem;
	border-inline-start: 4px solid;
}
.sg-alert--ok { background: rgba(28, 140, 74, .08); border-color: var(--ok); color: #14663a; }
.sg-alert--error { background: rgba(200, 55, 45, .08); border-color: var(--err); color: #97271f; }

/* ----------------------------------------------------------------- footer -- */
.sg-cta-band { background: var(--accent); color: #fff; padding: 52px 0; }
.sg-cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.sg-cta-band__title { color: #fff; font-size: 1.6rem; margin-bottom: .35em; }
.sg-cta-band__text { margin: 0; max-width: 640px; color: rgba(255, 255, 255, .9); font-size: .96rem; }
.sg-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.sg-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 66px 0 0; font-size: .92rem; }
.sg-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.sg-footer__name {
	display: block;
	font-family: var(--font-head);
	font-size: 1.28rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 4px;
}
.sg-footer__legal { display: block; font-size: .8rem; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.sg-footer__about { font-size: .9rem; color: rgba(255, 255, 255, .68); }
.sg-footer__certs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sg-footer__certs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .76rem;
	font-weight: 600;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 100px;
	color: rgba(255, 255, 255, .85);
}
.sg-footer__certs svg { color: var(--accent); }
.sg-footer__title {
	font-size: .8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: #fff;
	margin-bottom: 18px;
}
.sg-footer__links, .sg-footer__contact { list-style: none; margin: 0; padding: 0; }
.sg-footer__links li { margin-bottom: 9px; }
.sg-footer__links a { color: rgba(255, 255, 255, .72); }
.sg-footer__links a:hover { color: var(--accent); }
.sg-footer__sub { padding-left: 12px; font-size: .87rem; }
.sg-footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; }
.sg-footer__contact svg { color: var(--accent); margin-top: 4px; }
.sg-footer__contact a { color: rgba(255, 255, 255, .8); }
.sg-footer__contact a:hover { color: var(--accent); }

.sg-social { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; }
.sg-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius);
	font-size: .74rem;
	font-weight: 800;
	color: rgba(255, 255, 255, .8);
}
.sg-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.sg-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 54px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .84rem;
}
.sg-footer__bottom p { margin: 0; }
.sg-footer__legal-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.sg-footer__legal-links a { color: rgba(255, 255, 255, .6); }

/* -------------------------------------------------------------------- fab -- */
.sg-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 180;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 20px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
	font-size: .9rem;
	border-radius: 100px;
	box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
	transition: transform .2s ease, box-shadow .2s ease;
}
.sg-fab:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .48); }

/* -------------------------------------------------------------- page head -- */
.sg-pagehead { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 54px 0 58px; position: relative; overflow: hidden; }
.sg-pagehead::after {
	content: "";
	position: absolute;
	right: -80px; top: -80px;
	width: 340px; height: 340px;
	background: radial-gradient(circle, rgba(255, 106, 19, .22), transparent 68%);
}
.sg-pagehead__title { color: #fff; max-width: 900px; margin-bottom: .35em; position: relative; }
.sg-pagehead__lead { max-width: 840px; font-size: 1.02rem; margin: 0; position: relative; }
.sg-pagehead .sg-breadcrumbs { position: relative; }

.sg-crumbbar { background: var(--soft); border-bottom: 1px solid var(--line); padding: 14px 0; }

.sg-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-size: .82rem;
}
.sg-crumbbar .sg-breadcrumbs ol { margin: 0; }
.sg-breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.sg-breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.sg-breadcrumbs a { color: rgba(255, 255, 255, .7); }
.sg-crumbbar .sg-breadcrumbs a { color: var(--muted); }
.sg-breadcrumbs a:hover { color: var(--accent); }
.sg-breadcrumbs span { color: rgba(255, 255, 255, .95); }
.sg-crumbbar .sg-breadcrumbs span { color: var(--ink); }

/* ---------------------------------------------------------------- listing -- */
.sg-listing { padding-top: 46px; padding-bottom: 86px; }

.sg-filters { margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.sg-filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.sg-filters a {
	display: block;
	padding: 11px 16px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--muted);
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}
.sg-filters a:hover { color: var(--ink); }
.sg-filters a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.sg-filters__sub a { font-weight: 500; font-size: .84rem; }

.sg-catblock { margin-bottom: 78px; }
.sg-catblock:last-of-type { margin-bottom: 0; }
.sg-catblock__head { margin-bottom: 22px; }
.sg-catblock__title { font-size: 1.7rem; margin-bottom: .25em; }
.sg-catblock__title a { color: var(--ink); }
.sg-catblock__title a:hover { color: var(--accent); }
.sg-catblock__desc { color: var(--muted); max-width: 780px; }
.sg-catblock__subs {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
}
.sg-catblock__subs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 100px;
	font-size: .85rem;
	font-weight: 600;
	color: var(--ink-2);
}
.sg-catblock__subs a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.sg-catblock__subs span { font-size: .74rem; color: var(--muted); }
.sg-catblock__subs a:hover span { color: rgba(255, 255, 255, .8); }
.sg-catblock__more { margin: 30px 0 0; }

.sg-listing__cta { margin-top: 70px; border-radius: var(--radius-lg); padding: 56px; }
.sg-listing__cta.sg-section { padding: 56px; }

.sg-empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* --------------------------------------------------------- product single -- */
.sg-product__top {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 56px;
	padding-top: 44px;
	padding-bottom: 56px;
}

.sg-product__stage {
	position: relative;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.sg-product__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sg-product__cert {
	position: absolute;
	left: 16px; top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	background: rgba(11, 26, 38, .9);
	color: #fff;
	font-size: .76rem;
	font-weight: 700;
	border-radius: 100px;
	backdrop-filter: blur(4px);
}
.sg-product__cert svg { color: var(--amber); }

.sg-product__thumbs {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.sg-product__thumbs button {
	display: block;
	width: 100%;
	padding: 0;
	background: none;
	border: 2px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .18s ease;
}
.sg-product__thumbs button:hover,
.sg-product__thumbs button.is-active { border-color: var(--accent); }
.sg-product__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.sg-product__cat {
	display: inline-block;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
.sg-product__title { font-size: clamp(1.85rem, 3vw, 2.6rem); margin-bottom: .3em; }
.sg-product__model { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.sg-product__model strong { color: var(--ink-2); }
.sg-product__answer { font-size: 1.03rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 18px; }
.sg-product__answer p:last-child { margin-bottom: 0; }

.sg-product__quick {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	list-style: none;
	margin: 26px 0;
	padding: 0;
	border-top: 1px solid var(--line);
}
.sg-product__quick li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--line);
}
.sg-product__quick-label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.sg-product__quick-value { font-size: .93rem; font-weight: 600; color: var(--ink); }

.sg-product__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.sg-product__assure { list-style: none; margin: 0; padding: 0; }
.sg-product__assure li { display: flex; gap: 10px; padding: 6px 0; font-size: .88rem; color: var(--muted); }
.sg-product__assure svg { color: var(--ok); margin-top: 4px; }

.sg-product__main {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 56px;
	padding-bottom: 86px;
	align-items: start;
}
.sg-product__aside { position: relative; }
.sg-aside-sticky { position: sticky; top: 108px; }
.sg-aside-help {
	margin-top: 18px;
	padding: 20px;
	background: var(--soft);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sg-aside-help__label {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 4px;
}
.sg-aside-help a { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; }
.sg-aside-help svg { color: var(--accent); }

.sg-panel { margin-bottom: 40px; }
.sg-panel__title {
	font-size: 1.32rem;
	padding-bottom: 14px;
	margin-bottom: 22px;
	border-bottom: 2px solid var(--line);
	position: relative;
}
.sg-panel__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 62px; height: 2px;
	background: var(--accent);
}
.sg-panel__note { font-size: .86rem; color: var(--muted); font-style: italic; }
.sg-panel--solo {
	background: var(--soft);
	border-radius: var(--radius-lg);
	padding: 40px;
	margin-top: 70px;
	max-width: 820px;
}
.sg-panel--ask {
	background: var(--soft);
	border-inline-start: 4px solid var(--accent);
	border-radius: var(--radius);
	padding: 30px;
}

.sg-spec-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sg-spec-table table { min-width: 520px; font-size: .92rem; }
.sg-spec-table table tr:nth-child(odd) { background: var(--soft); }
.sg-spec-table th, .sg-spec-table td {
	padding: 13px 18px;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.sg-spec-table th {
	background: var(--ink);
	color: #fff;
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	border-bottom: 0;
}
.sg-spec-table td:first-child { font-weight: 600; color: var(--ink); width: 34%; }
.sg-spec-table tr:last-child td { border-bottom: 0; }

/* A four-column table — one label column plus data columns — does not want the
   third-of-the-table label column the two-column key/value tables use. There
   the labels are a description ("Thickness of galvanized (double sides)") and
   they earn their width; here the label is "TYPE" or "NOTES" and the width goes
   to the data. `width: 1%` + nowrap collapses the column onto its longest
   label, in whichever language is being served, and `:not([colspan])` keeps the
   full-width caption row out of it. */
.sg-spec-table .sg-spec--matrix td:first-child:not([colspan]) {
	width: 1%;
	white-space: nowrap;
}

/* Cells that carry a list of properties rather than one sentence. */
.sg-spec-table td ul { margin: 0; padding: 0; list-style: none; }
.sg-spec-table td li { display: flex; gap: .6em; }
.sg-spec-table td li::before {
	content: '';
	flex: none;
	width: 5px;
	height: 5px;
	margin-top: .6em;
	border-radius: 50%;
	background: var(--accent);
}
.sg-spec-table td li + li { margin-top: 5px; }

.sg-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
.sg-ticks li { display: flex; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.sg-ticks svg { color: var(--accent); margin-top: 4px; }

.sg-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.sg-chips li {
	padding: 9px 16px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 100px;
	font-size: .86rem;
	font-weight: 600;
	color: var(--ink-2);
}

/* Chip used as an internal link (complementary components). */
.sg-chips--links li { padding: 0; }
.sg-chips--links a {
	display: block;
	padding: 9px 16px;
	color: var(--ink-2);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.sg-chips--links a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------------- article -- */
.sg-article-head { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 50px 0 56px; }
.sg-article-head__inner { max-width: 900px; }
.sg-article-head__title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.sg-article-head__lead { font-size: 1.06rem; color: rgba(255, 255, 255, .78); }
.sg-article-head__meta { font-size: .84rem; color: rgba(255, 255, 255, .58); margin: 0; }
.sg-dot-sep { margin: 0 8px; }

.sg-article { display: grid; grid-template-columns: 1fr 380px; gap: 56px; padding: 56px 24px 86px; align-items: start; }
.sg-article__media { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; }
.sg-article__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 44px;
	padding: 30px;
	background: var(--soft);
	border-radius: var(--radius-lg);
}
.sg-article__cta-text { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.06rem; }

.sg-aside-list { margin-top: 24px; }
.sg-aside-list__title { font-size: 1rem; margin-bottom: 14px; }
.sg-aside-list ul { list-style: none; margin: 0; padding: 0; }
.sg-aside-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sg-aside-list a { display: block; font-size: .93rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.sg-aside-list a:hover { color: var(--accent); }
.sg-aside-list time { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------- entry body -- */
.sg-entry { font-size: 1rem; line-height: 1.78; color: var(--text); }
.sg-entry h2 { font-size: 1.45rem; margin-top: 1.8em; }
.sg-entry h3 { font-size: 1.18rem; margin-top: 1.6em; }
.sg-entry h2:first-child, .sg-entry h3:first-child { margin-top: 0; }
.sg-entry ul, .sg-entry ol { padding-left: 1.35em; }
.sg-entry li { margin-bottom: .5em; }
.sg-entry img { border-radius: var(--radius); margin: 1.4em 0; }
.sg-entry figure { margin: 1.8em 0; }
.sg-entry figure img { margin: 0; width: 100%; height: auto; }
.sg-entry figcaption { font-size: .88rem; line-height: 1.5; color: var(--ink-2); margin-top: .7em; text-align: center; }
/* :not guard — styled buttons in rich text must keep their own colors,
   otherwise .sg-entry a (0,1,1) beats .sg-btn--primary (0,1,0) and the
   label renders accent-on-accent (invisible). */
.sg-entry a:not([class*="sg-btn"]) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.sg-entry a:not([class*="sg-btn"]):hover { color: var(--accent-dark); }
.sg-entry blockquote {
	margin: 1.6em 0;
	padding: 18px 26px;
	background: var(--soft);
	border-inline-start: 4px solid var(--accent);
	border-radius: var(--radius);
}
.sg-entry table { margin: 1.6em 0; font-size: .92rem; border: 1px solid var(--line); }
.sg-entry table th {
	background: var(--soft-2);
	font-weight: 700;
	text-align: start;
}
.sg-entry table th, .sg-entry table td { padding: 11px 14px; border: 1px solid var(--line); }
.sg-entry--page { max-width: 880px; }

/* ---------------------------------------------------------- contact cards -- */
.sg-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.sg-contact-card {
	background: #fff;
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	padding: 30px 26px;
}
.sg-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: var(--radius);
	margin-bottom: 16px;
}
.sg-contact-card__title { font-size: 1.04rem; margin-bottom: .7em; }
.sg-contact-card p { margin: 0 0 8px; font-size: .94rem; }
.sg-contact-card__note { font-size: .84rem; color: var(--muted); }

.sg-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.sg-steps li {
	position: relative;
	counter-increment: step;
	padding: 0 0 22px 46px;
}
.sg-steps li::before {
	content: counter(step);
	position: absolute;
	left: 0; top: 2px;
	width: 30px; height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	border-radius: 50%;
}
.sg-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 14px; top: 36px; bottom: 8px;
	width: 1px;
	background: var(--line);
}
.sg-steps strong { display: block; color: var(--ink); margin-bottom: 2px; }
.sg-steps span { font-size: .92rem; color: var(--muted); }
.sg-section--ink .sg-steps strong { color: #fff; }
.sg-section--ink .sg-steps span { color: rgba(255, 255, 255, .66); }
.sg-section--ink .sg-steps li:not(:last-child)::after { background: rgba(255, 255, 255, .18); }

/* --------------------------------------------------------------- feedback -- */
.sg-feedback { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.sg-feedback__title { font-size: 1.4rem; }
.sg-feedback__alt { margin-top: 32px; padding: 24px; background: var(--soft); border-radius: var(--radius-lg); }
.sg-feedback__alt h3 { font-size: 1rem; margin-bottom: .5em; }
.sg-feedback__alt p { margin: 0; font-size: .94rem; }

/* -------------------------------------------------------------- downloads -- */
.sg-downloads { display: flex; flex-direction: column; gap: 16px; }
.sg-download {
	display: grid;
	grid-template-columns: 150px 1fr auto;
	gap: 26px;
	align-items: center;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sg-download:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.sg-download__thumb { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.sg-download__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sg-download__title { font-size: 1.08rem; margin-bottom: .35em; }
.sg-download__meta {
	display: inline-block;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}
.sg-download__note { font-size: .9rem; color: var(--muted); margin: 0; }
.sg-downloads__intro { margin-top: 40px; }

/* ------------------------------------------------------------ pagination -- */
.sg-pagination { margin-top: 54px; }
.sg-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sg-pagination a, .sg-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: .9rem;
	font-weight: 600;
	color: var(--ink);
}
.sg-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.sg-pagination .current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.sg-flip { transform: rotate(180deg); }

/* ------------------------------------------------------------- searchform -- */
.sg-searchform {
	display: flex;
	gap: 10px;
	margin-top: 26px;
	max-width: 560px;
}
.sg-searchform input[type="search"] {
	flex: 1;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border-radius: var(--radius);
	font-family: inherit;
	font-size: .94rem;
}
.sg-searchform input[type="search"]::placeholder { color: rgba(255, 255, 255, .55); }
.sg-pagehead--404 .sg-searchform input[type="search"] { border-color: var(--line-strong); background: #fff; color: var(--text); }
.sg-pagehead--404 .sg-searchform input[type="search"]::placeholder { color: var(--muted); }

/* ------------------------------------------------------------- reveal fx -- */
.sg-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.sg-reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
	.sg-cats__grid { grid-template-columns: repeat(3, 1fr); }
	.sg-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.sg-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.sg-footer__col:last-child { grid-column: 1 / -1; }
	.sg-contact-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop navigation: every label is one line. A menu item that wraps to
   "About / Us" reads as a layout bug, and the row is measured against the
   brand block rather than the other way round — the brand gives way first.
   Scoped to the desktop row: the mobile drawer is a narrow column where some
   locales genuinely need a label to wrap. */
@media (min-width: 1121px) {
	.sg-menu { flex-wrap: nowrap; }
	.sg-menu__item { flex: 0 0 auto; }
	.sg-menu__link { padding: 12px 11px; white-space: nowrap; }
	.sg-header__inner { gap: 18px; }
	.sg-brand { min-width: 0; }
	.sg-brand__tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* The tightest the one-line desktop row ever gets is just above the drawer
   breakpoint: eight nav labels + the brand block + the CTA no longer fit in
   the container and "Get a quote" bleeds past the right edge. Shave the menu
   padding and the brand gap across that band instead of moving the drawer
   breakpoint up, which would cost the desktop nav ~20px of range it can
   otherwise use. */
@media (min-width: 1121px) and (max-width: 1150px) {
	.sg-menu__link { padding: 12px 8px; }
	.sg-header__inner { gap: 12px; }
	.sg-brand__link { gap: 10px; }
}

/* The topbar address is the longest single string on the page. Below this
   width it is dropped so the e-mail, the phone and the language switch all
   stay on one line — the address is still in the footer, the contact page and
   the structured data. */
@media (max-width: 1400px) {
	.sg-topbar__list li.sg-topbar__hide-md { display: none; }
	/* Same one-line rule, smaller type, so the row still ends well inside the
	   container instead of running the "Get a quote" button off the edge. */
	.sg-brand__tag { font-size: .63rem; letter-spacing: .035em; }
}

@media (max-width: 1120px) {
	.sg-nav-toggle { display: block; }
	.sg-header__cta { display: none; }

	.sg-nav {
		position: fixed;
		inset-block: 0; inset-inline-end: 0;
		width: min(380px, 88vw);
		background: #fff;
		box-shadow: -18px 0 48px rgba(11, 26, 38, .18);
		padding: 92px 22px 40px;
		overflow-y: auto;
		transform: translateX(102%);
		transition: transform .28s ease;
		z-index: 250;
		margin-inline-start: 0;
	}
	.sg-nav.is-open { transform: none; }

	.sg-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sg-menu__link {
		padding: 15px 4px;
		font-size: 1rem;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}
	.sg-menu__link::after { display: none; }
	.sg-mega-toggle { display: block; height: 53px; }
	.sg-mega-toggle::before,
	.sg-mega-toggle::after {
		content: "";
		position: absolute;
		left: 50%; top: 50%;
		background: var(--ink-2);
		transition: transform .2s ease;
	}
	.sg-mega-toggle::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
	.sg-mega-toggle::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
	.sg-menu__item.is-open .sg-mega-toggle::after { transform: translate(-50%, -50%) scaleY(0); }

	.sg-mega {
		position: static;
		transform: none;
		min-width: 0;
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding: 0 0 14px;
		display: none;
	}
	.sg-menu__item.is-open > .sg-mega { display: block; transform: none; }
	.sg-mega__inner { grid-template-columns: 1fr; gap: 20px; }
	.sg-mega__col--promo { display: none; }

	.sg-hero__slides { height: auto; min-height: 520px; }
	.sg-hero__slide { position: relative; display: none; padding: 90px 0; }
	.sg-hero__slide.is-active { display: flex; }
	.sg-hero__dots { position: static; transform: none; justify-content: center; padding: 18px 0; background: var(--ink); }
	.sg-hero__dot { background: rgba(255, 255, 255, .25); }

	.sg-about__grid,
	.sg-faq__grid,
	.sg-quote__grid,
	.sg-feedback { grid-template-columns: 1fr; gap: 44px; }

	.sg-product__top { grid-template-columns: 1fr; gap: 36px; }
	.sg-product__main { grid-template-columns: 1fr; gap: 40px; }
	.sg-aside-sticky { position: static; }
	.sg-article { grid-template-columns: 1fr; gap: 40px; }

	.sg-lines__grid { grid-template-columns: 1fr; }
	.sg-download { grid-template-columns: 120px 1fr; }
	.sg-download__action { grid-column: 2; }
}

@media (max-width: 860px) {
	.sg-section { padding: 62px 0; }
	.sg-grid--3, .sg-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.sg-cats__grid { grid-template-columns: repeat(2, 1fr); }
	.sg-proof__list { grid-template-columns: repeat(2, 1fr); }
	.sg-proof__list li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.sg-proof__list li:nth-child(2n) { border-inline-end: 0; }
	.sg-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
	.sg-ticks { grid-template-columns: 1fr; }
	.sg-about__badge { inset-inline-end: 16px; bottom: 16px; }
	.sg-listing__cta { padding: 36px; }
	.sg-product__quick { grid-template-columns: 1fr; }
	.sg-panel--solo { padding: 28px; }
	.sg-hero__eyebrow { padding-inline-start: 0; }
	.sg-hero__eyebrow::before { display: none; }
}

@media (max-width: 620px) {
	.sg-container { padding: 0 18px; }
	/* Qualified with `li` on purpose: the base rule is `.sg-topbar__list li`
	   (0-1-1) and would otherwise out-specify a bare `.sg-topbar__hide-sm`
	   (0-1-0), leaving the opening hours on screen and wrapping the whole
	   utility bar onto a second row on every phone. */
	.sg-topbar__list li.sg-topbar__hide-sm { display: none; }
	.sg-topbar__list { gap: 14px; font-size: .76rem; }
	.sg-grid--2, .sg-grid--3, .sg-grid--4, .sg-cats__grid { grid-template-columns: 1fr; }
	.sg-contact-cards { grid-template-columns: 1fr; }
	.sg-footer__grid { grid-template-columns: 1fr; }
	.sg-form__grid { grid-template-columns: 1fr; }
	.sg-product__thumbs { grid-template-columns: repeat(4, 1fr); }
	.sg-line__list { grid-template-columns: 1fr; }
	.sg-download { grid-template-columns: 1fr; }
	.sg-download__action { grid-column: 1; }
	.sg-hero__actions .sg-btn { width: 100%; }
	.sg-fab span { display: none; }
	.sg-fab { padding: 15px; border-radius: 50%; }
	.sg-cta-band__actions .sg-btn { width: 100%; }
	.sg-searchform { flex-direction: column; }
	.sg-proof__list { grid-template-columns: 1fr; }
	.sg-proof__list li { border-inline-end: 0; }
	.sg-filters ul { overflow-x: auto; flex-wrap: nowrap; }
	.sg-filters a { white-space: nowrap; }
}

@media print {
	.sg-header, .sg-footer, .sg-fab, .sg-cta-band, .sg-hero, .sg-aside-sticky { display: none !important; }
	.sg-product__main, .sg-article { grid-template-columns: 1fr; }
}

/* Respect reduced motion everywhere. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.sg-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- hub / spoke -- */
/* Child-hub block on a parent category page: one keyword anchor per
   sub-category hub, each with its own line of copy so the block is a set of
   editorial links rather than a bare list. */
.sg-range { background: var(--soft); }

.sg-range__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-range__item { display: flex; }

.sg-range__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--accent);
	border-radius: var(--radius-lg);
	background: var(--white);
	color: inherit;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s ease, transform .2s ease;
}
.sg-range__link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.sg-range__name {
	font-family: var(--font-head);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink);
}

.sg-range__desc { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

.sg-range__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--accent);
	font-size: .9rem;
	font-weight: 600;
}

/* Product -> hub link back up the hierarchy. */
.sg-product__range { margin: 6px 0 14px; color: var(--muted); font-size: .93rem; }
.sg-product__range a {
	color: var(--ink-2);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--accent-soft);
}
.sg-product__range a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Contextual in-body links. Deliberately quieter than a button so the copy
   still reads as prose. */
.sg-ilink {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--accent-soft);
}
.sg-ilink:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Catalogue index for pages built from forms (contact, downloads, feedback).
   Those pages carry almost no copy, so without this they are dead ends for
   both a crawler and a buyer who lands on them from search. */
/* One-line aside on the contact page pointing existing customers at the
   feedback form — the only body link that page has to /feedback/. */
.sg-contact-note {
	margin: 0;
	padding: 1.1rem 1.3rem;
	color: var(--muted);
	font-size: .97rem;
	background: var(--soft);
	border-inline-start: 3px solid var(--accent);
	border-radius: var(--radius);
}

.sg-rangenav { display: block; }
.sg-rangenav__title {
	margin: 0 0 1.6rem;
	font-family: var(--font-head);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.25;
}
.sg-rangenav__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1.6rem 2.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sg-rangenav__group { margin: 0; }
.sg-rangenav__head {
	display: inline-block;
	padding-bottom: 2px;
	color: var(--ink);
	font-weight: 700;
	font-size: 1.02rem;
	text-decoration: none;
	border-bottom: 2px solid var(--accent-soft);
}
.sg-rangenav__head:hover { color: var(--accent); border-bottom-color: var(--accent); }
.sg-rangenav__sublist {
	display: grid;
	gap: .4rem;
	margin: .75rem 0 0;
	padding: 0;
	list-style: none;
}
.sg-rangenav__sublist a {
	color: var(--muted);
	font-size: .93rem;
	text-decoration: none;
}
.sg-rangenav__sublist a:hover { color: var(--accent); }

@media (max-width: 620px) {
	.sg-rangenav__list { grid-template-columns: 1fr; gap: 1.3rem; }
}

@media (max-width: 900px) {
	.sg-range__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.sg-range__list { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- download gate -- */
/* The catalogue PDFs sit behind a short form. The panel is a plain div rather
   than <dialog> so the same markup works without JS: the buttons are real
   buttons, the form posts to admin-post.php, and only the reveal animation
   depends on the script. */

html.sg-gate-open { overflow: hidden; }

.sg-gate {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity .22s ease;
}
.sg-gate[hidden] { display: none; }
.sg-gate.is-open { opacity: 1; }

.sg-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 26, 38, .68);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.sg-gate__panel {
	position: relative;
	width: min(540px, 100%);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 34px 34px 30px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	transform: translateY(16px);
	transition: transform .26s cubic-bezier(.2, .8, .3, 1);
}
.sg-gate.is-open .sg-gate__panel { transform: none; }

.sg-gate__close {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}
.sg-gate__close:hover { background: var(--soft-2); color: var(--ink); }

.sg-gate__title { margin: .35em 0 .4em; font-size: 1.5rem; }

.sg-gate__lead { margin: 0 0 1.1em; color: var(--muted); font-size: .95rem; }

.sg-gate__file {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 1.4em;
	padding: 12px 15px;
	background: var(--soft);
	border-inline-start: 3px solid var(--accent);
	border-radius: var(--radius);
	font-weight: 600;
	color: var(--ink);
	font-size: .94rem;
}
.sg-gate__file-icon { display: flex; color: var(--accent); flex: none; }
.sg-gate__file-name { min-width: 0; }

.sg-gate__submit { width: 100%; }

.sg-gate__note { margin: .9em 0 0; font-size: .82rem; color: var(--muted); }

@media (max-width: 620px) {
	.sg-gate { padding: 12px; align-items: flex-start; }
	.sg-gate__panel { padding: 28px 20px 24px; max-height: calc(100vh - 24px); }
	.sg-gate__title { font-size: 1.28rem; }
}

/* ------------------------------------------------------------------ rtl -- */
/* The layout is built on logical properties, so only three things need an
   explicit right-to-left rule: letter spacing, motion direction and the
   off-canvas drawer. */

/* Arabic is a connected script — tracking tears the joins apart. */
[dir="rtl"] *,
[dir="rtl"] *::before,
[dir="rtl"] *::after { letter-spacing: normal !important; }

/* Arrows point "forward", which is leftward once the axis flips. */
[dir="rtl"] .sg-btn:hover svg,
[dir="rtl"] .sg-btn--text:hover svg { transform: translateX(-3px); }
[dir="rtl"] .sg-card:hover .sg-card__link svg { transform: translateX(-4px); }
[dir="rtl"] .sg-cat-tile:hover .sg-cat-tile__arrow { transform: translateX(-5px); }

/* The range card's arrow points "forward", which is leftward in RTL. */
[dir="rtl"] .sg-range__cta svg { transform: scaleX(-1); }
[dir="rtl"] .sg-range__link:hover .sg-range__cta svg { transform: translateX(-4px) scaleX(-1); }

/* The drawer hangs off the inline-end edge — the left side in RTL — so it
   slides out that way and throws its shadow in the opposite direction.
   Scoped to the drawer breakpoint: the untranslated desktop row must stay
   put, otherwise this shifts the whole menu off the header. */
@media (max-width: 1120px) {
	[dir="rtl"] .sg-nav {
		transform: translateX(-102%);
		box-shadow: 18px 0 48px rgba(11, 26, 38, .18);
	}
	/* Same specificity as the parked rule above (0-2-0) and later in the
	   cascade, so the open state has to be restated here or the drawer stays
	   off-screen for good in Arabic. */
	[dir="rtl"] .sg-nav.is-open { transform: none; }
}

/* Specification cells mix Arabic labels with Latin part numbers, standards and
   units. `plaintext` lets each cell choose its own base direction instead of
   dragging the numbers to the wrong end of the line. */
[dir="rtl"] .sg-spec-table th,
[dir="rtl"] .sg-spec-table td { unicode-bidi: plaintext; }

