/* Bricolage Grotesque (headings) + Instrument Sans (text). SIL Open Font License, see assets/fonts/OFL-*.txt. Self-hosted. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-display.woff2") format("woff2"); font-weight: 600 900; font-stretch: 75% 112.5%; font-style: normal; font-display: swap; }

/* ============================================================
   Safety Plus World UK — public site
   Palette: ink, paper, hi-vis tag yellow, steel.
   Type: Bricolage Grotesque (headings) + Instrument Sans (text) + Saira (industrial display: hero, range codes, figures).
   ============================================================ */


:root {
  --ink: #231F20;
  --ink-2: #2F2A2B;
  --ink-3: #3B3536;
  --paper: #EDEFEB;
  --white: #FFFFFF;
  --hivis: #FFD100;
  --hivis-dk: #E0B700;
  --steel: #56626B;
  --steel-lt: #8A949B;
  --line: #C9CFCA;
  --line-dk: #48403F;
  --ok: #2E7D4F;
  --warn: #B86E00;
  --stop: #C8261D;
  --fme: #E0560F;
  --loto: #C3221A;
  --info: #3F5C9A;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --tag-radius: 14px;

  --f: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --fd: "Saira", "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --fh: "Bricolage Grotesque", "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-0: .875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: 1.375rem;
  --fs-4: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-5: clamp(2rem, 1.2rem + 2.8vw, 3.25rem);
  --fs-6: clamp(2.6rem, 1.2rem + 5vw, 5.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--hivis-dk); }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 2px; border-radius: 2px; }
.sec--white :focus-visible, .card :focus-visible { outline-color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 700; font-family: var(--fh); font-optical-sizing: auto; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--hivis); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.muted { color: var(--steel); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Type ---------- */
.h2 { font-size: var(--fs-5); font-family: var(--fh); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.h2--sm { font-size: var(--fs-4); }
.h3 { font-size: var(--fs-3); font-family: var(--fh); font-weight: 800; margin-top: 1.4em; }
.h3:first-child { margin-top: 0; }
.link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .6em 1.15em;
  font: inherit; font-weight: 700; font-size: var(--fs-1); line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 52px; padding: .75em 1.4em; font-size: var(--fs-2); }
.btn--sm { min-height: 38px; padding: .4em .9em; font-size: var(--fs-0); }
.btn--block { width: 100%; justify-content: flex-start; margin-top: 10px; white-space: normal; text-align: left; }
.btn--hivis { background: var(--hivis); color: var(--ink); }
.btn--hivis:hover { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-ink { border-color: var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: var(--hivis); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--hivis); color: var(--hivis); }

/* ---------- Brand plate (TY-FLOT / FEND) ---------- */
.brandplate {
  display: inline-block; padding: .3em .8em; margin-top: 1rem;
  border: 2px solid currentColor; border-radius: 2px;
  font-weight: 800; font-family: var(--fh); letter-spacing: .04em; font-size: var(--fs-3); line-height: 1.1;
}
.brandplate--sm { font-size: var(--fs-0); margin: 0 0 .6rem; padding: .2em .6em; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-dk); }
.hdr__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.logo img { max-height: 54px; width: auto; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo__txt b { font-size: 1.05rem; font-weight: 800; font-family: var(--fh); }
.logo__txt span { font-size: .8rem; color: var(--steel-lt); letter-spacing: .02em; }
.brand-mark { color: var(--white); flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; }
.nav__list { list-style: none; display: flex; gap: 0; margin-left: 8px; }
.nav__btn {
  display: inline-flex; align-items: center; gap: 4px; height: 76px; padding: 0 10px; white-space: nowrap;
  background: none; border: 0; color: var(--white); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav__btn .ic { transition: transform .2s; }
.nav__btn:hover, .nav__item.is-current > .nav__btn { border-bottom-color: var(--hivis); }
.nav__btn[aria-expanded="true"] { border-bottom-color: var(--hivis); }
.nav__btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__cta { display: flex; gap: 10px; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink-2); border-top: 1px solid var(--line-dk); border-bottom: 4px solid var(--hivis);
  display: none; padding: 32px 0 36px;
}
.mega.is-open { display: block; }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.mega__inner--cols { grid-template-columns: repeat(3, 1fr); }
.mega__title, .mega__head { font-size: var(--fs-3); font-weight: 800; font-family: var(--fh); margin: 0 0 .4em; text-decoration: none; display: block; color: var(--white); }
.mega__head:hover { color: var(--hivis); }
.mega__intro p:not(.mega__title) { color: var(--steel-lt); }
.mega__links { list-style: none; columns: 2; column-gap: 32px; }
.mega__inner--cols .mega__links { columns: 1; margin-bottom: 14px; }
.mega__links--one { columns: 1; max-width: 420px; }
.mega__links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line-dk); text-decoration: none; color: #E6E3E1; break-inside: avoid; }
.mega__links a:hover { color: var(--hivis); }
.mega .brandplate { color: var(--hivis); }

.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 8px var(--gut) 40px; overflow-y: auto; display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; margin: 0; }
  .nav__btn { height: auto; width: 100%; padding: 16px 0; justify-content: space-between; border-bottom: 1px solid var(--line-dk); font-size: var(--fs-2); }
  .nav__btn:hover, .nav__item.is-current > .nav__btn, .nav__btn[aria-expanded="true"] { border-bottom-color: var(--line-dk); color: var(--hivis); }
  .mega { position: static; padding: 8px 0 16px; border: 0; background: none; }
  .mega__inner, .mega__inner--cols { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .mega__intro { display: none; }
  .mega__links { columns: 1; }
  .mega__head { font-size: var(--fs-2); }
  .nav__cta { flex-direction: column; margin-top: 20px; }
}

/* ---------- Industrial hero ---------- */
.ihero { position: relative; background: #0b0d10; color: var(--white); overflow: hidden; isolation: isolate; }
.ihero__bg { position: absolute; inset: 0 0 auto 0; height: min(78vh, 760px); min-height: 520px; z-index: -1; }
.ihero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; filter: brightness(1.12) saturate(1.05); }
.ihero__bg::after { /* darken the sky behind the words, fade into the panels */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,13,.35) 0%, rgba(8,10,13,.08) 40%, rgba(8,10,13,0) 60%, rgba(11,13,16,.75) 90%, #0b0d10 100%),
    linear-gradient(90deg, rgba(8,10,13,.5) 0%, rgba(8,10,13,.15) 45%, transparent 70%);
}
.ihero__head { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(36px, 6vw, 72px); }
.ihero__kicker { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: #E6E2DD; font-size: var(--fs-1); }
.ihero__kicker::before { content: ""; width: 34px; height: 6px; background: repeating-linear-gradient(-45deg, var(--hivis) 0 7px, #0b0d10 7px 14px); }
.ihero__title {
  font-family: var(--fd); font-stretch: 112%; font-weight: 900; text-transform: uppercase;
  font-size: 65px; line-height: 1.02; letter-spacing: .01em;
  margin: 0 0 18px; max-width: none; text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
@media (max-width: 1100px) { .ihero__title { font-size: clamp(1.9rem, 1rem + 4vw, 65px); } }
.ihero__title span { display: block; }
.ihero__title-2 { color: inherit; }
.ihero__text { margin: 0; max-width: 58ch; font-size: var(--fs-2); color: #DAD6D2; text-shadow: 0 1px 10px rgba(0,0,0,.6); }

/* Range panels: heavy, framed, colour-coded like the hardware itself */
.ranges { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 0 clamp(40px, 5vw, 64px); margin: 0; }
.range { --c: var(--fme); --on: #120c08; --frame: #2a1405; }
.range--orange { --c: var(--fme); --on: #140c06; --frame: #6a2b06; }
.range--steel  { --c: #2b3036; --on: var(--white); --frame: #0d0f12; }
.range--red    { --c: var(--loto); --on: var(--white); --frame: #5c0d09; }
.range__link {
  position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--c); color: var(--on);
  border: 3px solid var(--frame);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.range--steel .range__link { background: linear-gradient(180deg, #353b42, #1f2328); }
.range__link::before, .range__link::after { /* bolt heads in the top corners */
  content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f2f4f6, #6b737c 70%); box-shadow: 0 1px 1px rgba(0,0,0,.6);
}
.range__link::before { left: 10px; } .range__link::after { right: 10px; }
.range__link:hover, .range__link:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 26px 48px rgba(0,0,0,.65); }
.range__link:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }
.range__head { display: flex; flex-direction: column; gap: 2px; padding: 26px 24px 12px; }
.range__code { font-family: var(--fd); font-stretch: 112%; font-weight: 900; font-size: clamp(2.4rem, 1.4rem + 2.4vw, 3.6rem); line-height: .9; letter-spacing: .01em; }
.range--steel .range__code { color: var(--hivis); }
.range__title { min-height: 2.4em; font-family: var(--fd); font-stretch: 100%; font-weight: 700; text-transform: uppercase; font-size: var(--fs-1); letter-spacing: .04em; line-height: 1.2; }
.range__strap { display: flex; flex-wrap: wrap; gap: 0; padding: 0 24px 16px; font-family: var(--fd); font-weight: 700; text-transform: uppercase; font-size: var(--fs-0); letter-spacing: .08em; }
.range__strap span + span::before { content: "|"; margin: 0 10px; opacity: .55; }
.range__media { display: block; position: relative; margin: 0 12px; border: 2px solid rgba(0,0,0,.45); background: #111; aspect-ratio: 16 / 11; overflow: hidden; }
.range__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.range__link:hover .range__media img { transform: scale(1.04); }
.range__foot { display: flex; flex-direction: column; gap: 14px; padding: 16px 24px 24px; margin-top: auto; }
.range__sectors { font-size: var(--fs-0); line-height: 1.45; opacity: .92; }
.range__cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: var(--fs-0);
  background: #0b0d10; color: var(--white); border: 2px solid #0b0d10;
}
.range--steel .range__cta { background: var(--hivis); color: #0b0d10; border-color: var(--hivis); }
.range__link:hover .range__cta { background: var(--white); color: #0b0d10; border-color: var(--white); }
@media (max-width: 1000px) {
  .ranges { grid-template-columns: 1fr; max-width: 640px; }
  .range__media { aspect-ratio: 16 / 9; }
  .range__title { min-height: 0; }
  .ihero__bg img { object-position: 68% bottom; }
}

/* Brands bar: brushed steel plate */
.brandbar { background: linear-gradient(180deg, #e9ecef, #c4c9ce 55%, #b3b9bf); color: #0b0d10; border-top: 4px solid var(--hivis); }
.brandbar__inner { display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brandbar__label { margin: 0; font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-0); color: #3b4148; }
.brandbar__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.brandbar__list li { display: flex; align-items: center; padding: 0 28px; }
.brandbar__list li + li { border-left: 2px solid #8a9198; }
.brandbar__list li:first-child { padding-left: 0; }
.brandbar__list span { font-family: var(--fd); font-stretch: 125%; font-weight: 900; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: .02em; line-height: 1; }
.brandbar__list img { max-height: 44px; width: auto; }

/* At-a-glance figures */
.statbar { background: #15181c; color: var(--white); border-bottom: 1px solid var(--line-dk); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats__item { padding: 24px 20px 26px 0; border-right: 1px solid var(--line-dk); display: flex; flex-direction: column-reverse; gap: 4px; }
.stats__item + .stats__item { padding-left: 20px; }
.stats__item:last-child { border-right: 0; }
.stats dd { margin: 0; font-family: var(--fd); font-stretch: 112%; font-weight: 900; font-size: var(--fs-4); line-height: 1; color: var(--white); }
.stats dt { color: var(--steel-lt); font-size: var(--fs-0); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(3) { padding-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line-dk); }
}
@media (max-width: 520px) { .brandbar__list li { padding: 0 16px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: var(--white); }
.sec__head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec__head .h2 { margin-bottom: .3em; }
.sec__lead { font-size: var(--fs-2); color: var(--steel); max-width: 60ch; margin: 0; }
.sec--ink .sec__lead { color: #CFCBC9; margin-bottom: 1.5em; }

/* Button row used on several pages */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Range cards (solutions) ---------- */
.tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tagcard {
  position: relative; display: flex; flex-direction: column; padding: 0 0 26px;
  background: var(--white); border: 2px solid #2b3036; box-shadow: 0 10px 24px rgba(11,13,16,.12);
}
.tagcard__band { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 24px 16px; margin-bottom: 20px; background: var(--c, var(--fme)); color: var(--on, #140c06); }
.tagcard--orange { --c: var(--fme); --on: #140c06; }
.tagcard--steel { --c: #2b3036; --on: var(--hivis); }
.tagcard--red { --c: var(--loto); --on: var(--white); }
.tagcard__code { font-family: var(--fd); font-stretch: 112%; font-weight: 900; font-size: 2rem; line-height: 1; }
.tagcard__brand { margin: 0; font-family: var(--fd); font-stretch: 125%; font-weight: 900; font-size: var(--fs-1); letter-spacing: .04em; opacity: .9; }
.tagcard__title { font-size: var(--fs-3); margin: 0 24px .3em; }
.tagcard__title a { text-decoration: none; }
.tagcard__title a::after { content: ""; position: absolute; inset: 0; } /* whole-card click */
.tagcard__tagline { color: var(--steel); margin: 0 24px 14px; }
.tagcard__topics { list-style: none; margin: 0 24px 24px; border-top: 1px solid var(--line); }
.tagcard__topics a { position: relative; z-index: 1; display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.tagcard__topics a:hover { color: var(--steel); text-decoration: underline; }
.tagcard__more { position: relative; z-index: 1; margin: auto 24px 0; align-self: flex-start; font-weight: 800; text-decoration: underline; text-decoration-color: var(--c, var(--hivis-dk)); text-decoration-thickness: 3px; }
.tagcard--steel .tagcard__more { text-decoration-color: var(--hivis-dk); }
.tagcard:hover { border-color: #0b0d10; }
@media (max-width: 960px) { .tags { grid-template-columns: 1fr; max-width: 620px; } }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sec--white .pcard { background: var(--paper); border-color: transparent; }
.pcard__media { display: block; aspect-ratio: 4 / 3; background: var(--ink-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__ph {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 16px; color: var(--hivis);
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(255,209,0,.08) 18px 36px),
    var(--ink-2);
}
.pcard__ph span { font-weight: 800; font-family: var(--fh); font-size: var(--fs-2); letter-spacing: .04em; }
.pcard__ph .ic { align-self: flex-end; opacity: .9; }
.pcard__ph--lg { min-height: 380px; border-radius: var(--radius); }
.pcard__ph--lg span { font-size: var(--fs-4); }
.pcard__body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-0); color: var(--steel); margin-bottom: .5em; }
.pcard__meta span { font-variant-numeric: tabular-nums; }
.pcard__title { font-size: var(--fs-2); font-weight: 700; line-height: 1.25; }
.pcard__title a { text-decoration: none; }
.pcard__title a:hover { text-decoration: underline; }
.pcard__desc { color: var(--steel); font-size: var(--fs-0); flex: 1; }

/* Stock badges */
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-0); font-weight: 700; white-space: nowrap; }
.stock i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.stock--low_stock i { background: var(--warn); }
.stock--on_order i { background: var(--info); }
.stock--out_of_stock i { background: var(--stop); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 0 0 16px; }

/* ---------- Ink split: benefits + B2B ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 0 0 32px; }
.benefits li { display: flex; gap: 14px; }
.benefits .ic { color: var(--hivis); flex-shrink: 0; margin-top: 2px; }
.benefits h3 { font-size: var(--fs-2); margin-bottom: .25em; }
.benefits p { margin: 0; color: #CFCBC9; font-size: var(--fs-0); }
.benefits--light .ic { color: var(--ink); background: var(--hivis); border-radius: 50%; padding: 3px; }
.benefits--light p { color: var(--steel); }
.benefits--light { margin-top: 32px; }
.benefits--compact { grid-template-columns: 1fr; gap: 16px; }
.b2bpanel { background: var(--hivis); color: var(--ink); padding: 28px; border-radius: var(--radius); }
.b2bpanel__title { font-size: var(--fs-4); font-family: var(--fh); }
.b2bpanel ul { list-style: none; border-top: 2px solid var(--ink); }
.b2bpanel a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 2px solid var(--ink); text-decoration: none; }
.b2bpanel a span { display: flex; flex-direction: column; }
.b2bpanel b { font-size: var(--fs-2); }
.b2bpanel small { font-size: var(--fs-0); }
.b2bpanel a:hover .ic { transform: translateX(4px); }
.b2bpanel .ic { transition: transform .15s; flex-shrink: 0; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Courses ---------- */
.courses { list-style: none; border-top: 2px solid var(--ink); }
.course { display: grid; grid-template-columns: 120px 1fr 220px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.course:hover .course__title { text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 3px; }
.course__date { display: flex; flex-direction: column; font-size: var(--fs-0); color: var(--steel); line-height: 1.2; }
.course__date b { font-size: var(--fs-5); font-family: var(--fh); color: var(--ink); line-height: 1; }
.course__main { display: flex; flex-direction: column; gap: 4px; }
.course__title { font-size: var(--fs-3); font-weight: 800; line-height: 1.2; }
.course__sum { color: var(--steel); }
.course__facts { display: flex; flex-direction: column; font-size: var(--fs-0); color: var(--steel); }
.course__facts span:first-child { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .course { grid-template-columns: 80px 1fr; } .course__facts { grid-column: 2; flex-direction: row; gap: 12px; flex-wrap: wrap; } .course__date b { font-size: var(--fs-4); } }

/* ---------- Partners ---------- */
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: grid; place-items: center; min-height: 110px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.logos img { max-height: 56px; width: auto; }
.logos span { font-weight: 800; font-family: var(--fh); font-size: var(--fs-2); letter-spacing: .02em; }
.partners { list-style: none; margin-top: 32px; border-top: 2px solid var(--ink); }
.partner { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.partner__logo { display: grid; place-items: center; min-height: 100px; background: var(--paper); padding: 16px; font-weight: 800; font-family: var(--fh); text-align: center; }
.partner h3 { font-size: var(--fs-3); margin-bottom: .1em; }
.partner__meta { color: var(--steel); font-size: var(--fs-0); }
@media (max-width: 600px) { .partner { grid-template-columns: 1fr; } }

/* ---------- Social ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border-top: 6px solid var(--steel); }
.post--linkedin { border-top-color: #0A66C2; }
.post--youtube { border-top-color: #E62117; }
.post--instagram { border-top-color: #C13584; }
.post--facebook { border-top-color: #1877F2; }
.post--x { border-top-color: var(--ink); }
.post__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post__body { padding: 18px 20px 22px; }
.post__meta { display: flex; justify-content: space-between; font-size: var(--fs-0); color: var(--steel); }
.post__platform { font-weight: 800; color: var(--ink); }
.post__title { font-size: var(--fs-2); line-height: 1.3; }
.post__title a { text-decoration: none; }
.post__title a:hover { text-decoration: underline; }
.post__text { color: var(--steel); font-size: var(--fs-0); margin: 0; }
.channels { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 32px; }
.channel { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--ink); color: var(--white); text-decoration: none; border-radius: var(--radius); }
.channel:hover { background: var(--ink-3); }
.channel .ic { color: var(--hivis); }
.channel span { display: flex; flex-direction: column; line-height: 1.25; }
.channel small { color: var(--steel-lt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips a { padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: var(--fs-0); font-weight: 600; }
.chips a[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ---------- CTA block ---------- */
.cta { background: var(--hivis); color: var(--ink); padding: clamp(56px, 7vw, 96px) 0; }
.cta__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.cta__title { font-size: var(--fs-5); font-weight: 800; font-family: var(--fh); max-width: 16ch; }
.cta__text { font-size: var(--fs-2); max-width: 50ch; margin-bottom: 1.6em; }
.cta__offices { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.office { padding: 16px 0; border-bottom: 1px solid rgba(35,31,32,.35); }
.office h3 { font-size: var(--fs-1); font-weight: 800; margin-bottom: .2em; }
.office p { margin: 0; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Hub row (Apply / Portal / Training / Social) ---------- */
.hub { background: var(--ink-2); color: var(--white); padding: 48px 0; border-top: 4px solid var(--hivis); }
.hub__title { font-size: var(--fs-3); font-family: var(--fh); margin-bottom: 20px; }
.hub__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); }
.hub__tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; height: 100%; padding: 22px 22px 24px; background: var(--ink-2); text-decoration: none; transition: background-color .15s; }
.hub__tile:hover { background: var(--ink); }
.hub__icon { align-self: center; color: var(--hivis); --icon-fill: var(--ink-2); margin-bottom: 8px; }
.hub__label { font-weight: 800; font-size: var(--fs-2); font-family: var(--fh); }
.hub__text { color: var(--steel-lt); font-size: var(--fs-0); }
@media (max-width: 860px) { .hub__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .hub__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #D7D3D1; padding: 64px 0 24px; font-size: var(--fs-0); }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; gap: 32px; }
.ftr__brand p { margin: 16px 0 0; max-width: 32ch; }
.ftr__small { color: var(--steel-lt); }
.ftr__h { color: var(--white); font-weight: 800; font-size: var(--fs-1); margin-bottom: 12px; }
.ftr ul { list-style: none; }
.ftr li { margin-bottom: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--hivis); text-decoration: underline; }
.ftr__contact li { display: flex; gap: 8px; align-items: flex-start; }
.ftr__contact a { display: inline-flex; gap: 8px; overflow-wrap: anywhere; }
.ftr__contact .ic { flex-shrink: 0; color: var(--hivis); }
.ftr__base { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 20px; color: var(--steel-lt); }
.ftr__base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line-dk); }
.ftr__base p { margin: 0; }
.ftr__social { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- Page head ---------- */
.phead { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.phead--dark { background: var(--ink); color: var(--white); border-bottom: 0; }
.phead__title { font-size: var(--fs-5); font-weight: 800; font-family: var(--fh); letter-spacing: -.03em; max-width: 20ch; margin-bottom: .3em; }
.phead__lead { font-size: var(--fs-2); color: var(--steel); max-width: 62ch; margin: 0; }
.phead--dark .phead__lead { color: #CFCBC9; }
.phead--dark .brandplate { color: var(--hivis); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-0); color: var(--steel); margin-bottom: 24px; }
.phead--dark .crumbs { color: var(--steel-lt); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs--dark { color: var(--steel); }

/* B2B tab strip */
.tabs { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 10; }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 16px 14px; white-space: nowrap; text-decoration: none; font-weight: 600; color: var(--steel); border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--hivis); }
.tabs + .sec { padding-top: clamp(36px, 5vw, 64px); }

/* ---------- Article layout ---------- */
.article { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.sidenav { align-self: start; position: sticky; top: 100px; }
.sidenav__h { font-weight: 800; font-family: var(--fh); font-size: var(--fs-2); margin-bottom: 8px; }
.sidenav ul { list-style: none; border-top: 2px solid var(--ink); margin-bottom: 16px; }
.sidenav a { display: block; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; text-decoration: none; }
.sidenav a:hover { background: var(--paper); }
.sidenav a[aria-current="page"] { border-left-color: var(--hivis); font-weight: 700; background: var(--paper); }
.article__img { margin-bottom: 32px; border-radius: var(--radius); }
@media (max-width: 860px) { .article { grid-template-columns: 1fr; } .sidenav { position: static; } }

.prose { max-width: 70ch; font-size: var(--fs-2); line-height: 1.7; }
.prose--narrow { margin-bottom: 32px; }
.prose h2 { font-size: var(--fs-4); font-family: var(--fh); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-3); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--hivis-dk); font-size: 1.2em; }
.prose a { text-decoration-color: var(--hivis-dk); text-decoration-thickness: 2px; font-weight: 600; }
.prose em { color: var(--steel); font-size: var(--fs-1); }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--fs-1); }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.topiclist { list-style: none; margin-top: 32px; border-top: 2px solid var(--ink); }
.topiclist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.topiclist a span { display: flex; flex-direction: column; gap: 2px; }
.topiclist b { font-size: var(--fs-2); }
.topiclist small { color: var(--steel); font-size: var(--fs-0); }
.topiclist .ic { flex-shrink: 0; transition: transform .15s; }
.topiclist a:hover .ic { transform: translateX(4px); }
.topiclist a:hover b { text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 2px; }
.card .topiclist { margin-top: 8px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding: 20px 24px; background: var(--hivis); border-radius: var(--radius); }
.inline-cta p { margin: 0; font-weight: 700; font-size: var(--fs-2); }

/* ---------- Product page ---------- */
.product__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product__media img { border-radius: var(--radius); width: 100%; }
.product__title { font-size: var(--fs-5); font-family: var(--fh); font-weight: 800; }
.product__lead { font-size: var(--fs-2); color: var(--steel); }
.product__detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.facts { margin: 24px 0 28px; border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); display: flex; gap: 6px; align-items: center; }
.facts dd { margin: 0; font-weight: 600; }
.facts dd a { display: inline-flex; gap: 6px; align-items: center; }
.facts--row { margin-top: 0; }
.specs { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--steel); font-weight: 500; padding-right: 16px; }
@media (max-width: 860px) { .product__grid, .product__detail { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 110px 1fr; } }

/* ---------- Catalogues ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.cat { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.cat__cover { aspect-ratio: 3 / 2.3; background: var(--ink); }
.cat__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat__ph { display: flex; flex-direction: column; height: 100%; padding: 22px; color: var(--white); border-left: 14px solid var(--hivis); }
.cat__ph b { color: var(--hivis); font-size: var(--fs-4); font-family: var(--fh); font-weight: 800; letter-spacing: .03em; line-height: 1; }
.cat__ph span { margin-top: auto; font-weight: 700; font-size: var(--fs-2); line-height: 1.25; max-width: 18ch; }
.cat__ph small { color: var(--steel-lt); margin-top: 6px; }
.cat__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.cat__body p:not(.pcard__meta) { color: var(--steel); font-size: var(--fs-0); flex: 1; }
.cat__body .pcard__meta { width: 100%; }
.cat__title { font-size: var(--fs-3); }

/* ---------- Documents ---------- */
.docs { list-style: none; border-top: 2px solid var(--ink); margin-bottom: 32px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc__icon { color: var(--steel); flex-shrink: 0; }
.doc__main { flex: 1; min-width: 0; }
.doc__title { font-weight: 700; margin: 0; }
.doc__meta { margin: 0; color: var(--steel); font-size: var(--fs-0); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.doc__state { color: var(--steel); font-size: var(--fs-0); white-space: nowrap; }
@media (max-width: 600px) { .doc { flex-wrap: wrap; } .doc .btn, .doc__state { margin-left: 42px; } }

/* ---------- Tables, filters ---------- */
.tablewrap { overflow-x: auto; margin-bottom: 16px; border-top: 2px solid var(--ink); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th { text-align: left; font-size: var(--fs-0); color: var(--steel); font-weight: 600; padding: 12px 12px 10px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th.num, .table td.num { text-align: right; }
.table td a { font-weight: 600; }
.table tbody tr:hover { background: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 20px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-0); font-weight: 600; }
.searchbar { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); margin-bottom: 40px; max-width: 720px; }
.searchbar input { flex: 1; border: 0; font: inherit; font-size: var(--fs-2); padding: 8px 0; background: transparent; min-width: 0; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { outline: 3px solid var(--hivis); outline-offset: 2px; }
.sec--white .searchbar { background: var(--paper); }

/* ---------- Forms ---------- */
.formsplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.formsplit--wide { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 900px) { .formsplit, .formsplit--wide { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.sec--white .card { background: var(--paper); border-color: transparent; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form--narrow { max-width: 720px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: var(--fs-0); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
input, select, textarea {
  font: inherit; font-size: var(--fs-1); font-weight: 400; color: var(--ink);
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--white); border: 1.5px solid #9AA39E; border-radius: var(--radius);
}
.filters input, .filters select { min-width: 200px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hivis); }
input:disabled { background: var(--paper); color: var(--steel); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
legend { font-weight: 800; font-family: var(--fh); font-size: var(--fs-2); margin-bottom: 10px; padding: 0; }
.checks { display: flex; flex-direction: column; gap: 6px; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: var(--fs-1); }
.check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.form .btn { align-self: flex-start; }
.form .muted { font-size: var(--fs-0); margin: 0; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; margin-bottom: 8px; }
.alert--ok { background: #E1F1E6; color: #164D2C; border-left: 5px solid var(--ok); }
.alert--err { background: #FBE7E5; color: #7B1711; border-left: 5px solid var(--stop); }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.choice__item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 2px solid var(--ink); border-radius: var(--radius); text-decoration: none; }
.choice__item span { color: var(--steel); font-size: var(--fs-0); }
.choice__item--hi { background: var(--ink); color: var(--white); }
.choice__item--hi span { color: #CFCBC9; }
.choice__item--hi .ic { color: var(--hivis); }
.choice__item:hover b { text-decoration: underline; }
@media (max-width: 520px) { .choice { grid-template-columns: 1fr; } }

.empty { padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--steel); }
.empty p { margin: 0; }
.contactlist { list-style: none; margin-top: 24px; border-top: 2px solid var(--ink); }
.contactlist li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contactlist .ic { flex-shrink: 0; margin-top: 2px; }
.contactlist div { display: flex; flex-direction: column; }

/* ---------- Portal ---------- */
.phead--portal { padding-bottom: 0; }
.portalhead__co { color: var(--steel-lt); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.tier { display: inline-block; padding: 2px 8px; background: var(--hivis); color: var(--ink); font-size: .75rem; font-weight: 800; border-radius: 2px; vertical-align: middle; }
.ptabs { display: flex; gap: 4px; margin-top: 24px; overflow-x: auto; }
.ptabs a { display: inline-flex; gap: 6px; align-items: center; padding: 14px 16px; text-decoration: none; color: #CFCBC9; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.ptabs a:last-child { margin-left: auto; }
.ptabs a:hover { color: var(--white); }
.ptabs a[aria-current="page"] { color: var(--white); border-bottom-color: var(--hivis); }
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash__tile { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--white); border-left: 8px solid var(--hivis); border-radius: var(--radius); text-decoration: none; }
.dash__tile b { font-size: var(--fs-5); font-family: var(--fh); line-height: 1; }
.dash__tile span { color: var(--steel); }
.dash__tile:hover span { text-decoration: underline; }
@media (max-width: 700px) { .dash { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 50vh; }
.nf__code { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; font-family: var(--fh); line-height: .9; margin: 0 0 .1em; color: var(--hivis); -webkit-text-stroke: 3px var(--ink); }

@media print {
  .hdr, .hub, .ftr, .cta, .tabs, .sidenav, form { display: none !important; }
  body { background: #fff; }
}

/* ---------- Select2 (themed) ---------- */
.select2-container { font-size: var(--fs-1); }
.select2-container--default .select2-selection--single {
  height: 46px; border: 1.5px solid #9AA39E; border-radius: var(--radius); background: var(--white);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 43px; padding-left: 12px; padding-right: 36px; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; width: 34px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--ink) transparent transparent; border-width: 6px 5px 0; margin-left: -5px; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent var(--ink); border-width: 0 5px 6px; }
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single { border-color: var(--ink); box-shadow: 0 0 0 3px var(--hivis); }
.select2-dropdown { border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.select2-results__option { padding: 9px 12px; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--ink); color: var(--white); }
.select2-container--default .select2-results__option--selected { background: #FFF3B0; }
.select2-search--dropdown .select2-search__field { min-height: 38px; border-radius: var(--radius); }
.filters .select2-container { min-width: 240px; }

/* ---------- DataTables (themed) ---------- */
.dt-container { margin-bottom: 16px; }
.dt-container .dt-layout-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; }
.dt-container .dt-layout-row.dt-layout-table { display: block; overflow-x: auto; border-top: 2px solid var(--ink); margin-bottom: 14px; }
.dt-container .dt-layout-cell { padding: 0; }
.dt-container .dt-search, .dt-container .dt-length { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-0); }
.dt-container .dt-search input { min-width: 260px; min-height: 42px; margin: 0; }
.dt-container .dt-length select { width: auto; min-height: 40px; padding: 6px 8px; }
.dt-container .dt-info { color: var(--steel); font-size: var(--fs-0); }
.dt-container .dt-paging { display: flex; flex-wrap: wrap; gap: 4px; }
div.dt-container .dt-paging .dt-paging-button {
  min-width: 38px; min-height: 38px; padding: 6px 10px; margin: 0; border: 1px solid var(--line) !important; border-radius: var(--radius);
  background: var(--white) !important; color: var(--ink) !important; font: inherit; font-weight: 600; cursor: pointer;
}
div.dt-container .dt-paging .dt-paging-button:hover:not(.disabled):not(.current),
div.dt-container .dt-paging .dt-paging-button:focus-visible:not(.current) { border-color: var(--ink) !important; background: var(--paper) !important; color: var(--ink) !important; box-shadow: none; }
div.dt-container .dt-paging .dt-paging-button.current:hover { background: var(--ink) !important; color: var(--white) !important; }
div.dt-container .dt-paging .dt-paging-button:active:not(.disabled) { box-shadow: none; }
div.dt-container .dt-paging .dt-paging-button.current { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important; }
div.dt-container .dt-paging .dt-paging-button.disabled, div.dt-container .dt-paging .dt-paging-button.disabled:hover { opacity: .4; cursor: default; background: var(--white) !important; color: var(--ink) !important; }
.tablewrap .dt-container .dt-layout-table { border-top: 0; }
table.dataTable { margin: 0 !important; }
table.dataTable thead th { position: relative; white-space: nowrap; }
table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc { cursor: pointer; padding-right: 26px; }
table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc { color: var(--ink); }
table.dataTable > tbody > tr > * { box-shadow: none !important; }
table.dataTable td.dt-type-numeric, table.dataTable th.dt-type-numeric { text-align: left; }
table.dataTable td.num, table.dataTable th.num { text-align: right; }
@media (max-width: 640px) { .dt-container .dt-search input { min-width: 0; width: 100%; } .dt-container .dt-search { width: 100%; } }

.sku { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Sign-in extras ---------- */
.form .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.form .label-row a { font-weight: 500; color: var(--steel); }
.form .label-row a:hover { color: var(--ink); }
.captcha { min-height: 78px; }
.captcha__note { margin: 0; color: var(--stop); font-size: var(--fs-0); }
@media (max-width: 400px) { .form .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }

/* ---------- Show/hide password ---------- */
.pw { position: relative; display: block; width: 100%; }
.pw > input { width: 100%; padding-right: 48px !important; }
.pw__toggle {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 36px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: #56626B; cursor: pointer;
}
.pw__toggle:hover { color: #231F20; background: rgba(35,31,32,.06); }
.pw__toggle:focus-visible { outline: 3px solid #FFD100; outline-offset: 0; color: #231F20; }
.pw__toggle:disabled { cursor: not-allowed; opacity: .4; background: transparent; }
.pw__toggle svg { display: block; }
input::-ms-reveal, input::-ms-clear { display: none; } /* avoid a second eye in Edge */

/* ---------- Product category / topic hero: words left, application image right ---------- */
.phero { --accent: var(--hivis); position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  min-height: clamp(400px, 36vw, 540px); display: flex; align-items: center; }
.phero--fme  { --accent: var(--fme); }
.phero--loto { --accent: var(--loto); }
.phero__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(54%, 900px); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 16%, #000 42%);
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 16%, #000 42%); }
.phero__media::after { /* settle the image into the charcoal at top and bottom edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(35,31,32,.55) 0, rgba(35,31,32,0) 18%, rgba(35,31,32,0) 82%, rgba(35,31,32,.6) 100%); }
.phero__inner { position: relative; width: 100%; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.phero__text { max-width: 55%; }
.phero .crumbs { color: var(--steel-lt); }
.phero__title { font-size: var(--fs-5); font-weight: 800; font-family: var(--fh); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 .45em; max-width: 18ch; }
.phero__strap { margin: 0 0 1rem; padding-left: 14px; border-left: 4px solid var(--accent);
  font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25;
  font-size: clamp(1.05rem, .85rem + .7vw, 1.4rem); max-width: 34ch; }
.phero__lead { font-size: var(--fs-2); color: #CFCBC9; max-width: 54ch; margin: 0; }
.phero .brandplate { color: var(--hivis); margin-top: 1.4rem; }

/* tighter rhythm on product pages so sections run on without dead space */
.sec--flow { padding: clamp(40px, 4.5vw, 60px) 0 clamp(44px, 5vw, 64px); }
.sec--flow + .sec--flow { padding-top: clamp(36px, 4vw, 52px); }
.sec--flow .sec__head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.sec--flow .inline-cta { margin-bottom: 0; }

@media (max-width: 900px) {
  .phero { display: block; min-height: 0; }
  .phero__media { position: relative; width: 100%; height: clamp(220px, 56vw, 340px); }
  .phero__media img { object-position: 60% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .phero__media::after { background: linear-gradient(180deg, rgba(35,31,32,.45) 0, rgba(35,31,32,0) 30%); }
  .phero__inner { padding-top: 8px; }
  .phero__text { max-width: none; }
}

/* Brand plates: one per brand, logo when uploaded under Strategic partners */
.brandplates { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1rem; }
.brandplates .brandplate { margin: 0; }
.phero .brandplates { margin-top: 1.4rem; }
.brandplate--logo { padding: .3em .7em; background: var(--white); border-color: var(--white); }
.brandplate--logo img { display: block; height: 1.5em; width: auto; max-width: 9em; object-fit: contain; }
.brandplate--sm.brandplate--logo img { height: 1.3em; }
.mega__col .brandplates { margin: 0 0 .6rem; }

/* Tighter reading rhythm on inner pages: less air between lines and blocks,
   so the product links and downloads below come into view sooner */
.phead { padding: clamp(32px, 4vw, 52px) 0 clamp(28px, 3.5vw, 44px); }
.phero { min-height: clamp(360px, 30vw, 470px); }
.phero__inner { padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(32px, 4vw, 52px); }
.prose { line-height: 1.55; }
.prose p { margin-bottom: .75em; }
.prose h2 { margin-top: 1.1em; margin-bottom: .4em; }
.prose h3 { margin-top: 1em; margin-bottom: .35em; }
.prose ul, .prose ol { margin-bottom: .8em; }
.prose li { margin-bottom: .2em; }
.sec--flow .inline-cta { margin-top: 24px; }
.sec--flow .topiclist { margin-top: 20px; }
.topiclist a { padding: 12px 0; }
.tabs + .sec--flow { padding-top: clamp(28px, 3.5vw, 44px); }
.sec--flow .h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.sec--flow .cats { margin-bottom: 0; }

/* ---------- Home hero: compact headline + logo, range panels fit the first screen ---------- */
.ihero__head { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ihero__words { min-width: 0; }
.ihero .ihero__title { font-size: clamp(1.55rem, .9rem + 1.45vw, 2.45rem); max-width: none; margin-bottom: 12px; }
.ihero__kicker { margin-bottom: 12px; }
.ihero__text { font-size: var(--fs-1); max-width: 62ch; }
.ihero__logo { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.ihero__logo img { display: block; max-height: clamp(64px, 11vh, 120px); max-width: min(320px, 28vw); width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
.ihero__logo--mark svg { width: clamp(56px, 8vh, 80px); height: auto; filter: drop-shadow(0 4px 18px rgba(0,0,0,.55)); }
.ihero__logo-txt { display: flex; flex-direction: column; line-height: 1.05; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.ihero__logo-txt b { font-family: var(--fh); font-weight: 800; font-size: clamp(1.3rem, .8rem + 1vw, 1.9rem); letter-spacing: -.01em; }
.ihero__logo-txt span { font-family: var(--fd); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--hivis); font-size: clamp(.8rem, .6rem + .35vw, 1rem); margin-top: 4px; }

@media (min-width: 1000px) and (min-height: 620px) {
  /* header is 77px; the hero words + the three panels fill exactly one screen */
  .ihero__fold { display: flex; flex-direction: column; height: calc(100vh - 77px); height: calc(100svh - 77px); max-height: 860px; }
  .ihero__bg { height: 100%; min-height: 0; max-height: 860px; }
  .ihero__head { flex: 0 0 auto; padding-top: clamp(18px, 4vh, 48px); padding-bottom: clamp(14px, 3vh, 32px); }
  .ihero__panels { flex: 1 1 auto; min-height: 0; padding-bottom: clamp(14px, 2.6vh, 28px); }
  .ihero__panels .ranges { height: 100%; padding: 0; grid-template-rows: 100%; }
  .ihero__panels .range { min-height: 0; }
  .ihero__panels .range__head { padding: clamp(12px, 2.2vh, 22px) 22px 6px; }
  .ihero__panels .range__code { font-size: clamp(2rem, .6rem + 4.2vh, 3.3rem); }
  .ihero__panels .range__title { min-height: 0; font-size: var(--fs-0); }
  .ihero__panels .range__strap { padding: 0 22px clamp(8px, 1.4vh, 14px); font-size: .74rem; }
  .ihero__panels .range__media { flex: 1 1 0; min-height: 70px; aspect-ratio: auto; }
  .ihero__panels .range__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(10px, 1.6vh, 16px) 22px clamp(12px, 2vh, 20px); }
  .ihero__panels .range__foot { min-height: 6.4rem; } /* same footer height on all three, so the photos line up */
  .ihero__panels .range__sectors { font-size: .8rem; line-height: 1.35; text-wrap: pretty; }
  .ihero__panels .range__cta { flex: 0 0 auto; align-self: center; padding: 8px 12px; }
}
@media (max-width: 999px) {
  .ihero__head { flex-direction: column-reverse; align-items: flex-start; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .ihero__logo img { max-width: 220px; max-height: 70px; }
}

/* Our brands: logo tiles (placeholder tile until a logo is uploaded) */
.brandbar__list { gap: 16px; }
.brandbar__list li, .brandbar__list li:first-child { padding: 0; }
.brandbar__list li + li { border-left: 0; }
.brandtile { display: flex; align-items: center; justify-content: center; height: 60px; min-width: 170px; padding: 8px 20px;
  background: var(--white); border: 1px solid rgba(0,0,0,.08); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.brandtile img { display: block; max-height: 42px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.brandtile--empty { gap: 8px; background: rgba(255,255,255,.55); border: 2px dashed #7d848b; box-shadow: none; color: #3b4148; }
.brandtile--empty span { font-family: var(--fd); font-weight: 900; font-stretch: 120%; font-size: 1.15rem; letter-spacing: .02em; }
.brandtile--empty small { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
@media (max-width: 520px) { .brandtile { min-width: 140px; height: 52px; } }
@media (max-width: 699px) { .ihero__logo { display: none; } }

/* Why distributors choose us: full width now the B2B box has gone */
.whyus .benefits { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .whyus .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .whyus .benefits { grid-template-columns: 1fr; } }

/* "Download a copy" before the PDF is uploaded */
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.soon { display: block; margin-top: 6px; font-size: .78rem; color: var(--steel); }
.doc__act { display: flex; flex-direction: column; align-items: flex-end; }
.doc__act .soon { margin-top: 4px; }
@media (max-width: 600px) { .doc__act { align-items: flex-start; margin-left: 42px; } }

/* Safety Plus World UK Limited logo (built-in PNG, replaceable in Settings) */
.logo__img { display: block; height: 48px; width: auto; }
.logo__img--ftr { height: 60px; }
.ihero__logo img { max-height: clamp(80px, 15vh, 150px); max-width: min(400px, 30vw); filter: drop-shadow(0 6px 22px rgba(0,0,0,.6)); }
@media (max-width: 900px) { .logo__img { height: 40px; } }
/* DROPS photo is a branded collage: show it whole so the FEND / TY-FLOT logos aren't cropped */
.range--steel .range__media { background: #0e0f11; }
.range--steel .range__media img { object-fit: contain; }
/* the built-in DROPS collage fills the frame like FME and LOTO; keep the products in view */
.range__media--drops img { object-fit: cover !important; object-position: 50% 50%; }
.logo__img { height: 54px; }
.logo__img--ftr { height: auto; width: 260px; max-width: 100%; }
.ftr__brand .logo { display: block; width: 260px; max-width: 100%; }
.ftr__brand .logo__img--ftr { width: 100%; }
.ftr__brand .logo__img--ftr { height: auto !important; }
.ftr__brand .logo img { max-height: none; }
.partner__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
/* new square panel photos: show them whole in the DROPS box, fill the FME box */
.range--orange .range__media img { object-position: 50% 45%; }

/* ---------- Product catalogue: categories, cards, product page ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.catcard { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 14px; height: 100%; padding: 12px 14px 12px 12px;
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--hivis); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s; }
.sec--white .catcard { background: var(--paper); }
.sec:not(.sec--white) .catcard { background: var(--white); }
.catcard:hover, .catcard.is-current { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.catcard__media { display: grid; place-items: center; width: 84px; height: 72px; background: var(--white); border-radius: 4px; overflow: hidden; color: var(--steel-lt); }
.catcard__media img { width: 100%; height: 100%; object-fit: contain; }
.catcard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.catcard__name { font-family: var(--fh); font-weight: 800; font-size: var(--fs-2); line-height: 1.15; }
.catcard__meta { font-size: var(--fs-0); color: var(--steel); }
.catcard .ic { transition: transform .15s; }
.catcard:hover .ic { transform: translateX(4px); }

.sidenav small { color: var(--steel-lt); font-weight: 400; }
.catfilter input { min-width: min(320px, 100%); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.pgrid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pcard__media { background: var(--white); }
.pcard__media img { object-fit: contain; padding: 10px; }
.pcard__parts { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: var(--fs-0); font-weight: 700; color: var(--ink); }
.catabout { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 75ch; color: var(--steel); }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic { flex-shrink: 0; margin-top: 3px; color: var(--hivis-dk); }

.gallery__main { display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; border-radius: 0; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumb { width: 84px; height: 66px; padding: 4px; background: var(--white); border: 2px solid var(--line); border-radius: 4px; cursor: pointer; }
.gallery__thumb.is-on, .gallery__thumb:hover { border-color: var(--ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__series { margin: -4px 0 14px; font-family: var(--fd); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); }
.product__features { margin: 0 0 18px; font-size: var(--fs-1); }

.parts { margin-top: clamp(28px, 4vw, 44px); }
.parts__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.parts__head .h3 { margin: 0; }
.parts__filter { min-width: min(280px, 100%); padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.tablewrap { overflow-x: auto; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.parts__table { width: 100%; border-collapse: collapse; font-size: var(--fs-0); }
.parts__table th, .parts__table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.parts__table thead th { position: sticky; top: 0; background: var(--ink); color: var(--white); font-weight: 700; white-space: nowrap; }
.parts__table tbody tr:nth-child(even) { background: var(--paper); }
.parts__table tbody tr:hover { background: #fff7cc; }
.parts__table .sku { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-weight: 700; white-space: nowrap; }
.parts__notes { padding: 14px 18px; background: var(--paper); border-left: 4px solid var(--hivis); border-radius: var(--radius); font-size: var(--fs-0); color: var(--steel); }
.parts__notes p { margin: 0 0 .3em; }
@media (max-width: 600px) { .catcard { grid-template-columns: 64px 1fr auto; } .catcard__media { width: 64px; height: 56px; } }
.catgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ticks--cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.catabout .h4 { font-size: var(--fs-1); margin: 1em 0 .5em; color: var(--ink); }
.catapps { margin: 0 0 22px; padding: 16px 18px; background: var(--paper); border-left: 5px solid var(--hivis); border-radius: var(--radius); }
.catapps__h { margin: 0 0 10px; font-size: var(--fs-1); font-family: var(--fd); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.catapps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; font-size: var(--fs-0); }
.catapps__list li { display: flex; gap: 6px; align-items: flex-start; }
.catapps__list .ic { flex-shrink: 0; margin-top: 2px; color: var(--hivis-dk); }
/* the hidden attribute must win over component display rules (filters hide cards and rows this way) */
[hidden] { display: none !important; }
.browse-btn { margin-top: 40px; }

/* ---------- Training page: one section per range, numbered course cards */
.tintro { padding-bottom: clamp(32px, 4vw, 48px); }
.tjump { margin: 28px 0 0; }
.tsec__code { display: inline-block; font-family: var(--fd); font-weight: 800; letter-spacing: .08em; font-size: var(--fs-0); padding: 3px 10px; margin: 0 0 10px; background: var(--ink); color: var(--hivis); border-radius: 2px; }
.tsec__code--orange { background: var(--fme); color: var(--ink); }
.tsec__code--red { background: var(--loto); color: var(--white); }
/* course rows: number | title, level and description | suitable for + enquire */
.course--row { grid-template-columns: 120px 1fr 300px; align-items: start; padding: 28px 0; }
.course__num b { font-family: var(--fd); font-size: clamp(2.4rem, 4vw, 3.2rem); }
.course__main { gap: 6px; }
.course__level { font-size: var(--fs-0); font-weight: 700; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.course--row .course__title { margin: 0; }
.course--row .course__title a { text-decoration: none; color: inherit; }
.course--row .course__title a:hover { text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 3px; }
.course--row .course__sum { margin: 4px 0 0; }
.course__meta { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: var(--fs-0); color: var(--steel); }
.course__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.course__fit { margin: 0; font-size: var(--fs-0); color: var(--steel); }
.course__fit b { display: block; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.course__btn { text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) {
  .course--row { grid-template-columns: 64px 1fr; gap: 12px 20px; }
  .course--row .course__side { grid-column: 2; }
}
.tshow__level { margin: 0 0 18px; }
.tshow__fit { margin: 24px 0; max-width: 60ch; border-top: 0; padding-top: 0; }
.tcard__level { font-size: var(--fs-0); font-weight: 700; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; }
.tcard__fit b { display: block; font-size: var(--fs-0); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tcard__fit p { margin: 0; color: var(--steel); }
/* home page: training grouped by range, same rows as the Training page */
.tgroup + .tgroup { margin-top: clamp(36px, 5vw, 56px); }
.tgroup[hidden] + .tgroup, .tgroup + .tgroup[hidden] { margin-top: 0; }
.ttabs { margin: 0 0 8px; }
.ttabs button { padding: 8px 18px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font: inherit; font-size: var(--fs-0); font-weight: 600; color: var(--ink); cursor: pointer; }
.ttabs button:hover { background: var(--white); }
.ttabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tgroup__more { margin: 18px 0 0; }
.tgroup__title { display: flex; align-items: center; gap: 12px; font-family: var(--fh); font-size: var(--fs-3); font-weight: 800; margin: 0 0 14px; }
.tgroup__title .tsec__code { margin: 0; }
.tgroup__title a { color: inherit; text-decoration: none; }
.tgroup__title a:hover { text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 3px; }
/* home page: compact training rows (full text stays on the Training page) */
.tgroup .course--row { padding: 20px 0; }
.tgroup .course__sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tgroup .course__num b { font-size: clamp(2rem, 3vw, 2.5rem); }
.tgroup .course__side { gap: 12px; }
/* products page: catalogue download above "Browse the range"; part tables: catalogue page column */
.range__cat { margin: 0 0 28px; }
.parts__table .parts__page { text-align: center; white-space: nowrap; }
.parts__table td.parts__page a { font-weight: 700; }
/* Training page filters: bigger orange buttons */
.tjump { gap: 8px; }
.tjump a { padding: 6px 14px; font-size: var(--fs-0); font-weight: 600; border: 1px solid var(--fme); border-radius: 999px; text-decoration: none; background: var(--fme); color: var(--white); transition: background .15s, border-color .15s; }
.tjump a:hover, .tjump a:focus-visible { background: #B8440A; border-color: #B8440A; color: var(--white); }
.form .form__help { font-weight: 400; color: var(--steel); font-size: .82rem; }

/* ---------- home panels: ribbon across the photo (e.g. Coming soon) */
.range__media { position: relative; overflow: hidden; }
.range__ribbon { position: absolute; top: 50%; left: -10%; right: -10%; transform: translateY(-50%) rotate(-12deg); background: var(--hivis); color: var(--ink); text-align: center; font-family: var(--fd); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .14em; text-transform: uppercase; padding: 10px 0; box-shadow: 0 6px 18px rgba(0,0,0,.45); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); pointer-events: none; }

/* ---------- Resources page: FAQs */
.faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.faq__tabs button { padding: 6px 14px; border: 1px solid var(--fme); border-radius: 999px; background: transparent; color: #B8440A; font: inherit; font-size: var(--fs-0); font-weight: 600; cursor: pointer; }
.faq__tabs button:hover { background: rgba(224, 86, 15, .1); }
.faq__tabs button[aria-selected="true"] { background: var(--fme); color: var(--white); }
.faq__label { margin: 0 0 6px; font-size: var(--fs-0); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.faq__intro { max-width: 80ch; margin: 0 0 28px; padding: 20px 24px; background: var(--white); border-left: 5px solid var(--fme); }
.faq__intro p:last-child { margin: 0; font-size: var(--fs-2); line-height: 1.55; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-2); line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__q { text-decoration: underline; text-decoration-color: var(--hivis-dk); text-decoration-thickness: 3px; }
.faq__item summary svg { transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__num { font-family: var(--fd); font-weight: 800; color: #B8440A; }
.faq__a { padding: 0 36px 24px 68px; max-width: calc(80ch + 104px); }
.faq__a .prose p { margin: 0 0 12px; }
.faq__key { margin-top: 8px; padding: 14px 18px; background: rgba(255, 210, 0, .18); border-left: 5px solid var(--hivis); }
.faq__key p:last-child { margin: 0; font-weight: 600; }
.faq__steps { margin: 0; padding-left: 18px; font-weight: 500; }
.faq__steps li { margin: 4px 0; }
.faq__note { max-width: 80ch; margin-top: 28px; color: var(--steel); font-size: var(--fs-0); }
.faq__note p { margin: 0 0 10px; }
@media (max-width: 700px) {
  .faq__item summary { grid-template-columns: 40px 1fr 20px; font-size: var(--fs-1); }
  .faq__a { padding: 0 0 20px 0; }
}
.sec--white .faq__intro { background: var(--paper); }
/* range pages: "Coming soon" text next to the range heading (from the range's Ribbon field) */
.h2__badge { margin-left: .3em; font-size: .8em; font-weight: 700; color: var(--steel); letter-spacing: -.01em; white-space: nowrap; }
/* range pages: yellow "Coming Soon" ribbon above the title (Admin > Solutions, can be hidden) */
.phero__ribbon { display: inline-block; margin: 0 0 14px; padding: 8px 18px; background: var(--hivis); color: var(--ink); font-family: var(--fd); font-weight: 800; font-size: clamp(.95rem, 1.6vw, 1.2rem); letter-spacing: .14em; text-transform: uppercase; border: 3px solid var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.4); transform: rotate(-2deg); }
