/* =========================================================
   S&G Paneltech & Fastening Systems — 2026 redesign
   Palette sampled from the logo: teal swoosh + charcoal slate
   ========================================================= */
:root {
  --teal: #2596b4;
  --teal-600: #1c7a93;
  --teal-700: #155f73;
  --teal-300: #63c5de;
  --teal-100: #d3eef5;
  --teal-50: #edf8fb;
  --slate: #3f5257;
  --slate-700: #2c3b3f;
  --slate-800: #1d2a2e;
  --slate-900: #121c1f;
  --ink: #0d1517;
  --text: #2c3b3f;
  --muted: #64777c;
  --line: #e1e9eb;
  --bg: #f6f9fa;
  --white: #ffffff;

  --grad: linear-gradient(135deg, var(--teal-300) 0%, var(--teal) 45%, var(--teal-700) 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(18, 28, 31, .06);
  --shadow: 0 18px 50px -18px rgba(18, 28, 31, .25);
  --shadow-teal: 0 20px 50px -15px rgba(37, 150, 180, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
main, .footer { overflow-x: clip; }
.section--tint { background: var(--white); }
.section--dark { background: var(--slate-900); color: #c6d3d6; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--font-head);
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--teal-300); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.h-xl { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 700; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.section--dark .lead, .hero .lead { color: #a9bcc1; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px;
  border-radius: 999px; font: 600 .95rem/1 var(--font-head); letter-spacing: .01em; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(160px circle at var(--bx) var(--by), var(--teal-300), transparent 70%);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--slate-900); color: #fff; }
.btn--dark:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-700); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 14px 0 auto 0; z-index: 100; transition: inset .4s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 2px 12px 2px 26px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 10px 40px -12px rgba(18, 28, 31, .22);
  transition: padding .4s var(--ease), background .4s;
}
.header.is-scrolled { inset: 8px 0 auto 0; }
.header.is-scrolled .nav { padding-block: 0; background: rgba(255, 255, 255, .9); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 76px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand-logo { height: 60px; }
.brand-logo--footer { height: 120px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 10px 15px; border-radius: 999px; font: 500 .92rem/1 var(--font-body); color: var(--slate-700);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-links a.active { color: var(--teal-700); background: var(--teal-50); font-weight: 600; }
.nav-cta { padding: 12px 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--slate-900); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(37, 150, 180, .28), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(63, 82, 87, .7), transparent 60%), var(--slate-900);
  color: #fff; padding: 140px 0 90px;
}
.hero::before { /* engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator.text-grad { background: none; color: inherit; }
.rotator span {
  grid-area: 1/1; opacity: 0; visibility: hidden; transform: translateY(40%); filter: blur(6px); transition: all .7s var(--ease);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator span.on { opacity: 1; visibility: visible; transform: none; filter: none; }
.rotator span.off { opacity: 0; visibility: visible; transform: translateY(-40%); filter: blur(6px); }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-badges div { font-size: .85rem; color: #93a8ad; }
.hero-badges strong { display: block; font: 700 1.6rem/1.2 var(--font-head); color: #fff; }

.hero-visual { position: relative; aspect-ratio: 1; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; will-change: transform; }
.ring--1 { border-top-color: var(--teal); border-left-color: var(--teal); animation: spin 18s linear infinite; box-shadow: -6px -6px 18px -10px rgba(37, 150, 180, .6); }
.ring--2 { inset: 7%; border-bottom-color: rgba(255, 255, 255, .35); border-right-color: rgba(255, 255, 255, .35); animation: spin 26s linear infinite reverse; }
.ring--3 { inset: 14%; border: 1px dashed rgba(99, 197, 222, .28); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img {
  position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; background: #e9eff0;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255, 255, 255, .04);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; transform: scale(1.3); transform-origin: 50% 80%; transition: transform 1.2s var(--ease); }
.hero-visual:hover .hero-img img { transform: scale(1.38); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .82rem; color: #d6e3e6; animation: bob 6s ease-in-out infinite; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.float-card strong { display: block; color: #fff; font: 600 .95rem/1.2 var(--font-head); }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex: none; }
.float-card .ico svg { width: 20px; height: 20px; color: #fff; }
.float-card--a { top: 10%; left: -4%; }
.float-card--b { bottom: 12%; right: -6%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal-300); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { min-height: auto; padding: 170px 0 90px; }
.page-hero .hero-grid { grid-template-columns: 1.25fr .75fr; }
.page-hero .hero-visual { width: 100%; max-width: 420px; justify-self: end; }
.page-hero .hero-img img { object-position: center; transform: scale(1.02); transform-origin: center; }
.page-hero .hero-visual:hover .hero-img img { transform: scale(1.08); }
.page-hero .hero-img--crop img { object-position: 50% 100%; transform: scale(1.3); transform-origin: 50% 80%; }
.page-hero .hero-visual:hover .hero-img--crop img { transform: scale(1.38); }
.page-hero .hero-img { background: #fff; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #8ea3a8; margin-bottom: 18px; }
.crumbs a:hover { color: var(--teal-300); }

/* ---------- Marquee ---------- */
.marquee { background: var(--teal); color: #fff; overflow: hidden; padding: 20px 0; position: relative; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font: 600 1.15rem/1 var(--font-head); white-space: nowrap; letter-spacing: .01em; }
.marquee span::after { content: "✦"; font-size: .9rem; color: var(--teal-100); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame--small { position: absolute; width: 48%; aspect-ratio: 1; right: -8%; bottom: -10%; border: 8px solid var(--bg); }
.about-media .stamp {
  position: absolute; top: -28px; left: -28px; width: 120px; height: 120px; border-radius: 50%; background: var(--slate-900);
  display: grid; place-items: center; color: #fff; text-align: center; box-shadow: var(--shadow);
}
.stamp svg { position: absolute; inset: 0; animation: spin 20s linear infinite; }
.stamp svg text { font: 600 9.5px var(--font-head); letter-spacing: 3.2px; fill: var(--teal-300); text-transform: uppercase; }
.stamp b { font: 700 1.4rem/1 var(--font-head); }
.checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--teal-50)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7a93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 36px 30px; transition: background .3s; }
.stat:hover { background: var(--teal-50); }
.stat strong { display: block; font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.stat strong sup { font-size: .5em; color: var(--teal); vertical-align: top; position: relative; top: .25em; }
.stat > span { color: var(--muted); font-size: .92rem; }

/* ---------- Category cards (spotlight + tilt) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; transform-style: preserve-3d; will-change: transform;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(37, 150, 180, .14), transparent 45%);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--teal-100); }
.card:hover::after { opacity: 1; }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(160deg, #fff, var(--teal-50)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 26px 28px 30px; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .74rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--bg); color: var(--slate); border: 1px solid var(--line); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 600 .92rem/1 var(--font-head); color: var(--teal-700); }
.card-link svg { width: 16px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(5px); }
.card--feature { grid-row: span 2; background: var(--slate-900); border-color: transparent; color: #b8c8cc; display: flex; flex-direction: column; }
.card--feature h3 { color: #fff; font-size: 1.8rem; }
.card--feature .card-media { aspect-ratio: auto; flex: 1; min-height: 260px; background: #e9eff0; }
.card--feature p { color: #a2b5ba; }
.card--feature .tag { background: rgba(255, 255, 255, .06); color: #cfe0e4; border-color: rgba(255, 255, 255, .1); }
.card--feature .card-link { color: var(--teal-300); }

/* ---------- Bento (why us) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; padding: 34px; border-radius: var(--radius-lg); background: var(--slate-800); border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden; transition: transform .5s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-6px); border-color: rgba(99, 197, 222, .4); }
.tile::before { /* gradient border sheen */
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(37, 150, 180, .35), transparent 70%); transition: transform .8s var(--ease);
}
.tile:hover::before { transform: scale(1.4); }
.tile .num { font: 700 .82rem/1 var(--font-head); color: var(--teal-300); letter-spacing: .1em; margin-bottom: 40px; display: block; }
.tile h3 { font-size: 1.3rem; position: relative; }
.tile p { color: #93a8ad; font-size: .95rem; position: relative; margin: 0; }
.tile .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(37, 150, 180, .15); color: var(--teal-300); margin-bottom: 26px; position: relative; }
.tile .ico svg { width: 26px; height: 26px; }
.t-1 { grid-column: span 4; background: linear-gradient(135deg, var(--teal-700), var(--teal) 70%, var(--teal-300)); border: 0; }
.t-1 p { color: #e1f4f8; font-size: 1.08rem; max-width: 560px; }
.t-1 .ico { background: rgba(255, 255, 255, .18); color: #fff; }
.t-1::before { background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%); }
.t-2 { grid-column: span 2; } .t-3, .t-4, .t-5 { grid-column: span 2; }

/* ---------- Global presence ---------- */
.globe-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.loc {
  padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.loc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.loc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.code { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--slate-900); color: #fff; font: 700 .9rem/1 var(--font-head); letter-spacing: .04em; }
.loc .role { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-700); background: var(--teal-50); padding: 6px 10px; border-radius: 999px; }
.loc h3 { font-size: 1.15rem; margin-bottom: 4px; }
.loc p { font-size: .88rem; color: var(--muted); margin: 0; }
.map { position: relative; aspect-ratio: 1.6; border-radius: var(--radius-lg); background: var(--slate-900); overflow: hidden; }
.map svg.dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 4px rgba(99, 197, 222, .25); }
.pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal-300); animation: ping 2.4s var(--ease) infinite; }
.pin span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 .78rem/1 var(--font-head); color: #fff; background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 8px; }
.pin--hq { background: #fff; }
.pin--left span { left: auto; right: 20px; }
@keyframes ping { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Logos strip ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.logo-box { height: 104px; display: grid; place-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.logo-box img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.logo-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logo-box:hover img { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; padding: clamp(48px, 7vw, 84px); border-radius: 36px; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(600px 300px at 15% 0%, rgba(99, 197, 222, .45), transparent 60%), var(--grad);
}
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); right: -160px; bottom: -260px; }
.cta::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 36px solid rgba(18, 28, 31, .12); left: -100px; top: -150px; }
.cta h2 { color: #fff; position: relative; }
.cta p { position: relative; color: #e2f4f8; max-width: 580px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; position: relative; }
.cta .btn--primary { background: #fff; color: var(--teal-700); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .35); }
.cta .btn--primary::before { background: radial-gradient(160px circle at var(--bx) var(--by), var(--teal-100), transparent 70%); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8ea3a8; padding: 90px 0 30px; font-size: .92rem; position: relative; overflow: hidden; }
.footer::before { content: "S&G"; position: absolute; right: -2vw; bottom: -6vw; font: 700 28vw/1 var(--font-head); color: rgba(255, 255, 255, .025); letter-spacing: -.05em; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; position: relative; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--teal-300); }
.footer-bottom { position: relative; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .12); transition: all .3s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Product catalogue (filter grid) ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 .9rem/1 var(--font-body); color: var(--slate-700);
  cursor: pointer; transition: all .25s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip.active { background: var(--slate-900); border-color: var(--slate-900); color: #fff; }
.chip .count { opacity: .55; margin-left: 4px; font-size: .8em; }
.search { position: relative; }
.search input { width: 280px; max-width: 100%; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .92rem; transition: border-color .25s, box-shadow .25s; }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product {
  position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s, border-color .3s;
}
.product.hide { display: none; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.product-img { aspect-ratio: 1; padding: 18px; background: radial-gradient(circle at 50% 40%, #fff, var(--bg)); display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.product:hover .product-img img { transform: scale(1.08) rotate(-2deg); }
.product-info { padding: 16px 18px 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-info h3 { font-size: 1rem; margin: 0; }
.product-info small { display: block; color: var(--muted); font-size: .76rem; margin-top: 3px; }
.product .enq {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.product:hover .enq { background: var(--teal); color: #fff; transform: rotate(-45deg); }
.product .enq svg { width: 16px; }
.empty { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty.show { display: block; }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl {
  display: flex; align-items: center; gap: 22px; padding: 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.dl:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.dl .file { position: relative; flex: none; width: 58px; height: 70px; border-radius: 10px; background: var(--grad); display: grid; place-items: end center; padding-bottom: 10px; color: #fff; font: 700 .72rem/1 var(--font-head); letter-spacing: .08em; }
.dl .file::before { content: ""; position: absolute; top: 0; right: 0; border-width: 0 16px 16px 0; border-style: solid; border-color: var(--bg) var(--bg) rgba(255, 255, 255, .35) rgba(255, 255, 255, .35); border-radius: 0 10px 0 6px; }
.dl h3 { font-size: 1.05rem; margin: 0 0 4px; }
.dl p { margin: 0; font-size: .86rem; color: var(--muted); }
.dl .go { margin-left: auto; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--teal-700); transition: all .35s var(--ease); }
.dl:hover .go { background: var(--teal); border-color: var(--teal); color: #fff; }
.dl .go svg { width: 18px; transition: transform .35s var(--ease); }
.dl:hover .go svg { transform: translateY(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.office {
  position: relative; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); margin-bottom: 20px;
  transition: box-shadow .4s, border-color .3s;
}
.office:hover { box-shadow: var(--shadow); border-color: var(--teal-100); }
.office-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.office-head h3 { margin: 0; font-size: 1.25rem; }
.office-head small { display: block; color: var(--muted); font-size: .84rem; }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #f1f4f5; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { background: #e5f7ee; color: #17895a; }
.status.open::before { animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.office-lines { display: grid; gap: 12px; font-size: .94rem; }
.office-lines div { display: flex; gap: 12px; align-items: flex-start; }
.office-lines svg { width: 18px; flex: none; color: var(--teal); margin-top: 3px; }
.office-lines a:hover { color: var(--teal-700); text-decoration: underline; }
.offices-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offices-mini .office { margin: 0; padding: 24px; }

.form-card { position: sticky; top: 110px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--slate-900); color: #b8c8cc; overflow: hidden; }
.form-card::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -160px; top: -160px; background: radial-gradient(circle, rgba(37, 150, 180, .45), transparent 70%); }
.form-card h2 { color: #fff; position: relative; font-size: 1.9rem; }
.form-card > p { position: relative; }
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05);
  color: #fff; font: inherit; font-size: .95rem; transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical;
}
.field select { appearance: none; padding-top: 22px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 17px; top: 16px; font-size: .95rem; color: #7f969b; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-300); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(37, 150, 180, .2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-300); }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form-note { grid-column: 1 / -1; font-size: .8rem; color: #7f969b; margin: 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: .92rem; border-radius: 12px; display: none; }
.form-status.ok, .form-status.err { display: block; padding: 12px 16px; }
.form-status.ok { background: rgba(23, 137, 90, .18); color: #7be0b0; border: 1px solid rgba(123, 224, 176, .3); }
.form-status.err { background: rgba(220, 70, 70, .15); color: #ffb3b3; border: 1px solid rgba(255, 179, 179, .3); }
.map-embed { margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { transform: translateX(-50px); }
.reveal-r { transform: translateX(50px); }
.reveal-s { transform: scale(.92); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--slate-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--teal); }
.to-top svg { width: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-links.mobile {
    display: flex; position: fixed; inset: 84px 16px auto 16px; flex-direction: column; align-items: stretch; padding: 14px; gap: 2px;
    background: #fff; border-radius: 24px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-12px) scale(.98); pointer-events: none;
    transition: all .35s var(--ease);
  }
  .menu-open .nav-links.mobile { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links.mobile a { padding: 14px 18px; font-size: 1rem; }
  .hero-grid, .about-grid, .globe-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-row: auto; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about-media { max-width: 520px; margin: 0 auto 30px; }
  .form-card { position: relative; top: 0; }
  .page-hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero .hero-visual { justify-self: center; max-width: 340px; }
}
@media (min-width: 1081px) { .nav-links.mobile { display: flex; } }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .t-1, .t-2, .t-3, .t-4, .t-5 { grid-column: auto; }
  .cards, .dl-grid, .locations, .offices-mini, .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card--a { left: 0; } .float-card--b { right: 0; }
  .brand-logo { height: 60px; }
  .header.is-scrolled .brand-logo { height: 52px; }
  .search, .search input { width: 100%; }
  .about-media .frame--small { right: 0; }
  .about-media .stamp { left: 0; }
  .dl { padding: 20px; gap: 16px; }
  .reveal-l, .reveal-r { transform: translateY(40px); }
  .page-hero .hero-visual { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Panel Systems: catalogue groups ---------- */
.h-md { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.gtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gtile {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.gtile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.gtile-img { flex: none; width: 72px; height: 72px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, var(--bg)); display: grid; place-items: center; padding: 8px; }
.gtile-img img { width: 100%; height: 100%; object-fit: contain; }
.gtile-txt strong { display: block; font: 600 1rem/1.2 var(--font-head); color: var(--ink); }
.gtile-txt small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.ps-toolbar { position: sticky; top: 92px; z-index: 20; flex-wrap: nowrap; padding: 10px 12px; margin-inline: -12px; border-radius: 22px; background: rgba(246, 249, 250, .97); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -18px rgba(18, 28, 31, .35); }
.ps-toolbar .chips { flex-wrap: nowrap; overflow-x: auto; min-width: 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 24px; }
.ps-toolbar .chips::-webkit-scrollbar { display: none; }
.ps-toolbar .chip { flex: none; }
.ps-toolbar .search { flex: none; }
.ps-toolbar .search input { width: 250px; }
.sc { scroll-margin-top: 200px; }
.ps-result { min-height: 1.4em; color: var(--muted); font-size: .9rem; margin: -18px 0 18px; }
.pgroup { padding: 56px 0 8px; border-top: 1px solid var(--line); scroll-margin-top: 170px; }
.pgroup:first-of-type { border-top: 0; padding-top: 12px; }
.pgroup.hide { display: none; }
.pgroup-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.pgroup-head p { color: var(--muted); max-width: 680px; margin: 0; }
.pgroup-pg { display: inline-block; font: 600 .74rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); padding: 7px 11px; border-radius: 999px; margin-bottom: 14px; }
.pgroup-dl { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 13px 20px; }
.pgroup-dl:hover { border-color: var(--teal); color: var(--teal-700); }
.pgroup-dl:hover svg { transform: translateY(3px); }
.pgroup-dl small { color: var(--muted); font: 500 .76rem/1 var(--font-body); }
.pgroup-sub { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.pgroup-sub span { background: var(--slate-900); color: #fff; border-radius: 999px; padding: 3px 9px; letter-spacing: 0; }
.ptypes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 36px; }
.ptypes .product-img { padding: 14px; }
.ptypes .product-info { padding: 12px 14px 14px; }
.ptypes .product-info h3 { font-size: .95rem; }
.ptypes .product.hide, .sc.hide { display: none; }
.series { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.series[data-collapsed] .sc:nth-child(n+13) { display: none; }
.sc {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.sc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.sc:target { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.sc-img { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.sc-img img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform .6s var(--ease); }
.sc:hover .sc-img img { transform: scale(1.06); }
.sc-info { padding: 10px 12px 12px; border-top: 1px solid var(--line); flex: 1; padding-right: 44px; }
.sc-info h4 { font-size: .92rem; margin: 0 0 3px; letter-spacing: 0; }
.sc-info p { font-size: .76rem; line-height: 1.35; color: var(--muted); margin: 0 0 6px; }
.sc-pg { font-size: .7rem; color: var(--teal-700); font-weight: 600; }
.sc-enq { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); transition: background .3s, color .3s, transform .3s var(--ease); }
.sc-enq svg { width: 14px; }
.sc:hover .sc-enq { background: var(--teal); color: #fff; transform: rotate(-45deg); }
.more { display: block; margin: 18px auto 0; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 .9rem/1 var(--font-head); color: var(--ink); cursor: pointer; transition: border-color .3s, color .3s; }
.more:hover { border-color: var(--teal); color: var(--teal-700); }
.more[hidden] { display: none; }
.ps-enc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.ps-enc .ptypes { margin: 0; grid-template-columns: 1fr; max-width: 320px; justify-self: end; width: 100%; }
@media (max-width: 1080px) {
  .gtiles { grid-template-columns: 1fr 1fr; }
  .ps-toolbar { top: 88px; }
  .ps-enc { grid-template-columns: 1fr; }
  .ps-enc .ptypes { justify-self: start; }
}
@media (max-width: 760px) {
  .gtiles { grid-template-columns: 1fr; }
  .pgroup-head { flex-direction: column; align-items: flex-start; }
  .ps-toolbar { position: static; flex-wrap: wrap; margin-inline: 0; padding: 0; background: none; backdrop-filter: none; box-shadow: none; }
  .ps-toolbar .chips { width: 100%; padding-bottom: 6px; }
  .ps-toolbar .search, .ps-toolbar .search input { width: 100%; }
  .series { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ptypes { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .series[data-collapsed] .sc:nth-child(n+9) { display: none; }
}

/* ---------- Series cards link to their details page ---------- */
.sc-link { color: inherit; }
.sc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sc-link:hover { color: var(--teal-700); }
.sc-enq { z-index: 2; }

/* ---------- Series details page ---------- */
.h-sm { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.h-sm .cnt { background: var(--slate-900); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .8rem; letter-spacing: 0; }
.sd-hero { padding: 150px 0 56px; background: linear-gradient(180deg, var(--teal-50), var(--bg)); }
.sd-hero .crumbs { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sd-hero .crumbs a { color: var(--teal-700); }
.sd-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.sd-photo { aspect-ratio: 1; max-width: 340px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; place-items: center; padding: 36px; box-shadow: var(--shadow-sm); }
.sd-photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.sd-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; margin: 4px 0 6px; }
.sd-sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--slate); margin-bottom: 26px; }
.sd-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 34px; margin: 0 0 30px; }
.sd-facts dt { font: 600 .72rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.sd-facts dd { margin: 0; font: 600 1rem/1.3 var(--font-head); color: var(--ink); }
.sd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-actions .btn--outline svg { width: 16px; }
.sd-body { padding-top: 56px; }
.sd-cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.spec-b { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.spec-b h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin: 0 0 10px; }
.spec-b ul { margin: 0; padding-left: 18px; }
.spec-b li { margin: 4px 0; font-size: .95rem; }
.sd-info .h-sm + .spec-b { margin-top: 0; }
.sd-info .h-sm:not(:first-child) { margin-top: 34px; }
.codes { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.codes code { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .86rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.fine { font-size: .85rem; color: var(--muted); }
.sd-ask { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: var(--slate-900); color: #b8c8cc; display: grid; gap: 6px; }
.sd-ask strong { color: #fff; font: 600 1.15rem/1.2 var(--font-head); }
.sd-ask .btn { justify-self: start; margin-top: 10px; background: var(--teal); }
.sd-sheet { margin: 0; position: sticky; top: 110px; }
.sd-sheet figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font: 600 .9rem/1 var(--font-head); color: var(--ink); }
.sd-sheet figcaption a { display: inline-flex; gap: 6px; align-items: center; color: var(--teal-700); font-size: .85rem; }
.sd-sheet figcaption svg { width: 16px; }
.sd-sheet img { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.sd-rel .series { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (max-width: 1080px) {
  .sd-grid, .sd-cols { grid-template-columns: 1fr; }
  .sd-photo { max-width: 360px; }
  .sd-sheet { position: static; }
  .sd-hero { padding-top: 120px; }
}
@media (max-width: 760px) {
  .sd-facts { grid-template-columns: 1fr 1fr; }
  .sd-photo { padding: 22px; }
}

/* ---------- Fastening Systems: sections, sub-sections, wide product cards ---------- */
.subsec { margin-bottom: 30px; }
.subsec.hide { display: none; }
.series--wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sc--wide .sc-img { aspect-ratio: 4 / 3; background: #fff; }
.sc--wide .sc-img img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
.sc--wide .sc-info h4 { font-size: .95rem; line-height: 1.3; }
.sc--wide .sc-info p { font-size: .8rem; }
.gtile-img img[src*="fastening/"] { object-fit: cover; border-radius: 8px; }

/* ---------- Product details page (fastening) ---------- */
.sd-grid--wide { grid-template-columns: minmax(300px, 520px) 1fr; }
.sd-photo--wide { aspect-ratio: 1200 / 780; max-width: 520px; padding: 0; overflow: hidden; position: relative; }
.sd-photo--wide img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.sd-title--sm { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.hero-badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: #d9a02a; color: #1e2e36; font: 600 .72rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 6px 11px; }
.pd-cols { display: grid; grid-template-columns: 1fr; gap: 34px; max-width: 980px; }
.pd-cols .prose p { color: var(--slate); font-size: 1.04rem; max-width: 72ch; }
.pd-cols .prose p + p { margin-top: 12px; }
.pd-b > p { color: var(--muted); }
.pd-cols .tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pd-cols table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .93rem; }
.pd-cols th, .pd-cols td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-cols thead th { font: 600 .72rem/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--teal-50); }
.pd-cols tr:last-child td, .pd-cols tr:last-child th { border-bottom: 0; }
.pd-cols td { font-variant-numeric: tabular-nums; }
.pd-cols table.spec { min-width: 0; }
.pd-cols table.spec th { width: 34%; background: var(--teal-50); font: 600 .74rem/1.35 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); border-right: 1px solid var(--line); }
.pd-cols table.sizes td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; white-space: nowrap; }
.pd-cols table.sizes tbody tr:nth-child(even) { background: #f7fafb; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ticks li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 4px; background: var(--teal); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.specline { display: flex; flex-wrap: wrap; gap: 8px; }
.specline span { font: 600 .8rem/1 var(--font-head); padding: 9px 13px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }
.ds-note { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.pd-cols .sd-ask { margin-top: 0; }
/* Nord-Lock explainer blocks */
.nl-how { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.nl-how figure, .nl-jg, .nl-cams figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.nl-how img, .nl-jg img, .nl-steps img, .nl-cams img { width: 100%; height: auto; display: block; }
.nl-how figcaption, .nl-jg figcaption, .nl-cams figcaption { font-size: .86rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.nl-how figcaption b, .nl-jg figcaption b { color: var(--ink); font-size: .95rem; }
.nl-ab { max-width: 200px; text-align: center; }
.nl-ab span { display: inline-block; font: 700 1.5rem/1 var(--font-head); color: var(--teal); border: 2px solid var(--teal); border-radius: 999px; padding: 10px 16px; }
.nl-ab p { font-size: .86rem; color: var(--muted); margin: 10px 0 0; }
.nl-mat th a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; font-weight: 700; }
.nl-mat th img { width: 84px; height: auto; mix-blend-mode: multiply; }
.nl-mat td { font-size: .86rem; }
.nl-jgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nl-jg img { max-width: 150px; margin: 0 auto; }
.nl-not { margin-top: 12px; background: #fdf3f2; border: 1px solid #e9b3ae; border-left: 4px solid #c9473c; border-radius: 10px; padding: 14px 16px; }
.nl-not ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.nl-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.nl-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.nl-steps li::before { content: counter(s); position: absolute; top: 8px; left: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.nl-steps li > img { max-height: 190px; object-fit: contain; }
.nl-steps span { font-size: .88rem; color: var(--muted); }
.nl-cams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nl-black { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.nl-black img { width: 100%; height: auto; border-radius: 8px; }
.nl-black p { margin: 0; color: var(--muted); }
.jk-line { stroke-dashoffset: 0 !important; }
@media (max-width: 1080px) { .sd-grid--wide { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .ticks { grid-template-columns: 1fr; }
  .nl-how { grid-template-columns: 1fr 1fr; } .nl-ab { grid-column: 1 / -1; grid-row: 1; max-width: none; }
  .nl-jgs { grid-template-columns: 1fr 1fr; } .nl-black { grid-template-columns: 1fr; } .nl-cams { grid-template-columns: 1fr; }
  .series--wide { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Careers ---------- */
.perks { display: grid; gap: 14px; }
.perk { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.perk-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.perk-ico svg { width: 22px; }
.perk h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }
.roles { margin-top: 24px; padding: 22px; border-radius: var(--radius); background: var(--teal-50); }
.roles h3 { font-size: 1.05rem; margin-bottom: 12px; }
.roles ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { background: #fff; border: 1px solid var(--teal-100); border-radius: 999px; padding: 8px 14px; font: 600 .86rem/1 var(--font-head); color: var(--teal-700); }
.roles p { margin: 0; color: var(--muted); font-size: .9rem; }
.form .file { grid-column: 1 / -1; display: grid; gap: 8px; padding: 14px 16px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 14px; color: #a9c0c5; font-size: .85rem; }
.form .file input { color: #dce8ea; font: inherit; }
.form .file input::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--teal); color: #fff; font: 600 .82rem/1 var(--font-head); cursor: pointer; }

/* nav fits 6 links */
.nav-links a { white-space: nowrap; }
.nav-cta { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1280px) { .nav-links a { padding: 10px 10px; font-size: .86rem; } .nav { gap: 12px; } .nav-cta { padding: 13px 18px; } }

/* ---------- Technical & Standards dropdown ---------- */
.has-dd { position: relative; display: flex; align-items: center; }
.has-dd > a { padding-right: 6px !important; }
.dd-toggle { border: 0; background: none; width: 26px; height: 32px; margin-left: -2px; border-radius: 999px; display: grid; place-items: center; color: var(--slate-700); cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.dd-toggle svg { width: 15px; height: 15px; }
.dd-toggle:hover { background: var(--teal-50); color: var(--teal-700); }
.dd {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 620px; z-index: 120;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 6px 22px; padding: 18px; border-radius: 22px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(18, 28, 31, .35);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s, transform .22s var(--ease), visibility .22s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.has-dd:hover .dd-toggle, .has-dd.open .dd-toggle { transform: rotate(180deg); }
.dd-col { display: flex; flex-direction: column; gap: 2px; }
.dd-h { font: 600 .68rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); padding: 4px 10px 8px; }
.nav-links .dd a { display: block; padding: 8px 10px; border-radius: 10px; font: 500 .88rem/1.25 var(--font-body); color: var(--slate-700); white-space: normal; }
.nav-links .dd a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav-links .dd-tools a b { display: block; font: 600 .9rem/1.2 var(--font-head); color: var(--ink); }
.nav-links .dd-tools a small { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.nav-links .dd-tools a:hover b { color: var(--teal-700); }
.nav-links .dd-charts { display: grid; grid-template-columns: 1fr; align-content: start; }
.nav-links .dd .dd-all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 12px; font: 600 .86rem/1 var(--font-head); color: var(--teal-700); }
@media (max-width: 1080px) {
  .has-dd { flex-wrap: wrap; }
  .has-dd > a { flex: 1; }
  .dd-toggle { width: 44px; height: 44px; }
  .dd, .has-dd:hover .dd, .has-dd:focus-within .dd { position: static; transform: none; width: 100%; display: none; opacity: 1; visibility: visible; pointer-events: auto;
    grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 14px; background: var(--bg); padding: 10px; margin: 4px 0 6px; }
  .has-dd.open .dd { display: grid; transform: none; }
  .has-dd:hover .dd-toggle { transform: none; }
  .has-dd.open .dd-toggle { transform: rotate(180deg); }
  .nav-links .dd a { padding: 10px 12px; }
  .nav-links .dd-tools a small { display: none; }
  .nav-links .dd-charts { grid-template-columns: 1fr 1fr; }
  .nav-links .dd-charts .dd-h { grid-column: 1 / -1; }
  .nav-links.mobile { max-height: calc(100vh - 110px); overflow-y: auto; }
}

/* ---------- Certifications we hold / Standards we follow ---------- */
.qa-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 22px; align-items: stretch; }
.qa-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.qa-panel--cert { background: var(--slate-900); border-color: transparent; color: #b8c8cc; }
.qa-panel--cert h3 { color: #fff; }
.qa-head { display: flex; gap: 14px; align-items: flex-start; }
.qa-head h3 { font-size: 1.35rem; margin: 2px 0 4px; }
.qa-head p { margin: 0; font-size: .92rem; color: var(--muted); }
.qa-panel--cert .qa-head p { color: #a2b5ba; }
.qa-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.qa-panel--cert .qa-ico { background: rgba(37, 150, 180, .18); color: var(--teal-300); }
.qa-ico svg { width: 22px; }
.logos--cert { grid-template-columns: repeat(2, 1fr); }
.logos--std { grid-template-columns: repeat(3, 1fr); }
figure.logo-box { margin: 0; height: auto; min-height: 118px; grid-template-rows: 1fr auto; gap: 8px; }
figure.logo-box figcaption { font: 600 .74rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qa-panel--cert .logo-box img { filter: none; opacity: 1; }
@media (max-width: 1080px) { .qa-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .logos--std { grid-template-columns: repeat(2, 1fr); } }

/* ---------- datasheet pages on self-clinching product pages ---------- */
.pd-b .ds { display: block; max-width: 760px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s var(--ease); }
.pd-b .ds:hover { border-color: var(--teal); transform: translateY(-2px); }
.pd-b .ds img { width: 100%; height: auto; display: block; }

/* fix: keep group-tile images inside their box (tall images overflowed) */
.gtile-img { position: relative; overflow: hidden; display: block; width: 72px; height: 72px; padding: 0; }
.gtile-img img, .gtile-img img[src*="fastening/"] { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; object-fit: contain; border-radius: 0; }
