/*
Theme Name: Solid Janon
Theme URI: https://sjsltdng.com/
Author: Solid Janon Services Int'l Ltd
Author URI: https://sjsltdng.com/
Description: A clean, professional, fully responsive theme for Solid Janon Services Int'l Ltd — calibration, inspection, certification, testing and heavy-duty equipment services. Built with the company's own logo and photography. No external CDN dependencies.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solid-janon
Tags: business, corporate, custom-logo, custom-menu, featured-images, translation-ready, right-sidebar, threaded-comments
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --navy:        #0B2A5B;
  --navy-deep:   #061B3A;
  --navy-soft:   #16437F;
  --red:         #C8102E;
  --red-dark:    #A50D25;
  --sky:         #2E7FD1;
  --sky-soft:    #E8F1FB;

  --ink:         #131A26;
  --body:        #46536A;
  --muted:       #77839A;
  --line:        #E3E8EF;

  --bg:          #FFFFFF;
  --bg-alt:      #F4F7FB;
  --bg-navy:     #0B2A5B;

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   18px;

  --shadow-sm:   0 2px 8px rgba(11, 42, 91, .06);
  --shadow:      0 10px 30px rgba(11, 42, 91, .09);
  --shadow-lg:   0 22px 55px rgba(11, 42, 91, .16);

  --container:   1200px;
  --gap:         clamp(16px, 2.4vw, 28px);
  --section-y:   clamp(56px, 7.5vw, 104px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-head: var(--font);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body.sj-nav-open { overflow: hidden; }

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

a { color: var(--navy); text-decoration: none; transition: color .25s var(--ease); }
a:hover, a:focus { color: var(--red); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.32rem); font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; }
h5 { font-size: .98rem; font-weight: 700; }
h6 { font-size: .88rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

blockquote {
  margin: 1.6em 0;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--red);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.02rem;
  color: var(--ink);
}

table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
th, td { padding: .7em .85em; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }

hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }

::selection { background: var(--red); color: #fff; }

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

/* ==========================================================================
   3. UTILITIES
   ========================================================================== */
.sj-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}
.sj-container--narrow { max-width: 860px; }
.sj-container--wide   { max-width: 1400px; }

.sj-section { padding: var(--section-y) 0; }
.sj-section--alt  { background: var(--bg-alt); }
.sj-section--navy { background: var(--bg-navy); color: #C9D6E8; }
.sj-section--navy h1, .sj-section--navy h2, .sj-section--navy h3, .sj-section--navy h4 { color: #fff; }
.sj-section--tight { padding: calc(var(--section-y) * .62) 0; }

.sj-eyebrow {
  display: inline-block;
  font-size: .745rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .85rem;
}
.sj-section--navy .sj-eyebrow { color: #FF8FA3; }

/* Links inside dark bands must never inherit the dark-navy link colour. */
.sj-section--navy a:not(.sj-btn):not(.sj-linkarrow),
.sj-cta a:not(.sj-btn) { color: #9EC8FF; text-decoration: underline; text-underline-offset: 3px; }
.sj-section--navy a:not(.sj-btn):not(.sj-linkarrow):hover,
.sj-cta a:not(.sj-btn):hover { color: #fff; }
.sj-section--navy strong, .sj-cta strong { color: #fff; }

.sj-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.sj-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sj-head p { font-size: 1.03rem; margin-top: .5rem; }

.sj-lead { font-size: clamp(1.02rem, 1.5vw, 1.13rem); color: var(--body); }

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

.sj-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.sj-skip:focus { left: 0; color: #fff; }

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

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.sj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  font-family: inherit;
}
.sj-btn svg { flex: 0 0 auto; }

.sj-btn--primary { background: var(--red); color: #fff; }
.sj-btn--primary:hover, .sj-btn--primary:focus {
  background: var(--red-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200, 16, 46, .28);
}

.sj-btn--navy { background: var(--navy); color: #fff; }
.sj-btn--navy:hover, .sj-btn--navy:focus {
  background: var(--navy-soft); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11, 42, 91, .24);
}

.sj-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.sj-btn--ghost:hover, .sj-btn--ghost:focus {
  background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px);
}

.sj-btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.sj-btn--outline:hover, .sj-btn--outline:focus {
  border-color: var(--navy); color: var(--navy); transform: translateY(-2px);
}

.sj-btn--sm { padding: 10px 18px; font-size: .875rem; }
.sj-btn--lg { padding: 17px 34px; font-size: 1rem; }
.sj-btn--block { width: 100%; }

.sj-btnrow { display: flex; flex-wrap: wrap; gap: 14px; }

.sj-linkarrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: .92rem; color: var(--navy);
}
.sj-linkarrow svg { transition: transform .25s var(--ease); }
.sj-linkarrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   5. TOP BAR
   ========================================================================== */
.sj-topbar {
  background: var(--navy-deep);
  color: #AFC1DA;
  font-size: .82rem;
  line-height: 1.4;
}
.sj-topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 44px; flex-wrap: wrap;
}
.sj-topbar__list {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.sj-topbar__list li { margin: 0; display: flex; align-items: center; gap: 8px; }
.sj-topbar a { color: #DCE6F3; }
.sj-topbar a:hover { color: #fff; }
.sj-topbar svg { color: var(--sky); flex: 0 0 auto; }

.sj-topbar__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46, 127, 209, .16);
  border: 1px solid rgba(46, 127, 209, .38);
  color: #EAF2FC;
  padding: 5px 13px; border-radius: 999px;
  font-size: .755rem; font-weight: 700; letter-spacing: .04em;
}
.sj-topbar__badge svg { color: #7FC0FF; }

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */
.sj-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.sj-header.is-stuck { box-shadow: 0 6px 26px rgba(11, 42, 91, .1); }

.sj-header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
  transition: min-height .3s var(--ease);
}
.sj-header.is-stuck .sj-header__in { min-height: 66px; }

.sj-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sj-brand img { width: auto; height: 46px; max-width: 220px; object-fit: contain; transition: height .3s var(--ease); }
.sj-header.is-stuck .sj-brand img { height: 40px; }
.sj-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.sj-brand__name { font-weight: 800; color: var(--navy); font-size: 1.05rem; letter-spacing: -.01em; }
.sj-brand__tag { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* primary nav */
.sj-nav { display: flex; align-items: center; }
.sj-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.sj-nav li { position: relative; margin: 0; }
.sj-nav a {
  display: block; padding: 10px 13px; border-radius: var(--radius-sm);
  font-size: .925rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.sj-nav a:hover, .sj-nav a:focus { color: var(--red); background: var(--bg-alt); }
.sj-nav .current-menu-item > a,
.sj-nav .current_page_item > a,
.sj-nav .current-menu-ancestor > a { color: var(--red); }

/* dropdown */
.sj-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: block;
  flex-direction: column; align-items: stretch; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.sj-nav li:hover > .sub-menu,
.sj-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sj-nav .sub-menu a { padding: 9px 12px; font-size: .885rem; font-weight: 600; border-radius: var(--radius-sm); }
.sj-nav .sub-menu .sub-menu { top: -8px; left: 100%; }

.sj-header__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.sj-header__phone { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.sj-header__phone svg { color: var(--red); }

/* hamburger */
.sj-burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  padding: 0; align-items: center; justify-content: center; flex: 0 0 auto;
}
.sj-burger span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; position: relative; transition: background .2s;
}
.sj-burger span::before, .sj-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease);
}
.sj-burger span::before { top: -6px; }
.sj-burger span::after  { top: 6px; }
.is-nav-open .sj-burger span { background: transparent; }
.is-nav-open .sj-burger span::before { top: 0; transform: rotate(45deg); }
.is-nav-open .sj-burger span::after  { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.sj-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
  background: #fff; z-index: 300; transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column; box-shadow: -14px 0 40px rgba(6, 27, 58, .2);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.is-nav-open .sj-drawer { transform: translateX(0); }
.sj-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.sj-drawer__head img { height: 38px; width: auto; }
.sj-drawer__close {
  width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 22px; line-height: 1; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.sj-drawer__body { padding: 12px 12px 24px; flex: 1 1 auto; }
.sj-drawer__body ul { list-style: none; margin: 0; padding: 0; }
.sj-drawer__body li { margin: 0; }
.sj-drawer__body a {
  display: block; padding: 13px 14px; border-radius: var(--radius-sm);
  font-weight: 700; color: var(--ink); font-size: 1rem;
  border-bottom: 1px solid rgba(227, 232, 239, .7);
}
.sj-drawer__body .sub-menu { padding-left: 12px; }
.sj-drawer__body .sub-menu a { font-weight: 600; font-size: .9rem; color: var(--body); border-bottom: 0; }
.sj-drawer__foot { padding: 0 20px 28px; flex: 0 0 auto; }
.sj-drawer__foot .sj-btn { width: 100%; margin-bottom: 10px; }
.sj-drawer__meta { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.sj-drawer__meta a { display: block; margin-bottom: 6px; color: var(--navy); font-weight: 600; }
.sj-drawer__meta span { display: block; }

.sj-overlay {
  position: fixed; inset: 0; background: rgba(6, 27, 58, .55);
  opacity: 0; visibility: hidden; z-index: 250; transition: opacity .3s, visibility .3s;
}
.is-nav-open .sj-overlay { opacity: 1; visibility: visible; }

/* ==========================================================================
   7. HERO SLIDER
   ========================================================================== */
.sj-hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}
.sj-hero__slides { position: relative; }
.sj-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
  display: flex; align-items: center;
  min-height: clamp(500px, 74vh, 720px);
}
.sj-slide.is-active { opacity: 1; visibility: visible; position: relative; z-index: 2; }

.sj-slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.sj-slide.is-active .sj-slide__bg { transform: scale(1); }
.sj-slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 27, 58, .94) 0%, rgba(6, 27, 58, .82) 42%, rgba(6, 27, 58, .45) 72%, rgba(6, 27, 58, .3) 100%);
}
.sj-slide__in { position: relative; z-index: 3; width: 100%; }
.sj-slide__content { max-width: 680px; }
.sj-slide__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(200, 16, 46, .16);
  border: 1px solid rgba(255, 143, 163, .42);
  color: #FFC2CD;
  padding: 7px 15px; border-radius: 999px;
  font-size: .735rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 20px;
}
.sj-slide__eyebrow svg { color: #FF8FA3; }
.sj-slide h1, .sj-slide h2 {
  color: #fff; font-size: clamp(1.9rem, 4.5vw, 3.15rem);
  line-height: 1.14; margin-bottom: 18px; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(6, 27, 58, .5);
}
.sj-slide p {
  color: #D3DFEF; font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 580px; margin-bottom: 30px;
  text-shadow: 0 1px 12px rgba(6, 27, 58, .55);
}
.sj-slide .sj-btnrow { margin-bottom: 0; }

.sj-hero__nav {
  position: absolute; z-index: 20; bottom: 34px; left: 0; right: 0;
  pointer-events: none;
}
.sj-hero__nav > div { pointer-events: auto; }
.sj-hero__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.sj-dots { display: flex; gap: 10px; }
.sj-dot {
  width: 34px; height: 4px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .32); padding: 0; transition: background .3s, width .3s var(--ease);
}
.sj-dot.is-active { background: var(--red); width: 54px; }
.sj-arrows { display: flex; gap: 10px; }
.sj-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .1);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--ease), border-color .25s;
  backdrop-filter: blur(4px);
}
.sj-arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }

/* ==========================================================================
   8. TRUST / STAT BAR
   ========================================================================== */
.sj-stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 30;
  margin-top: -1px;
}
.sj-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.sj-stat {
  padding: clamp(24px, 3.4vw, 40px) clamp(14px, 2.2vw, 30px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.sj-stat:last-child { border-right: 0; }
.sj-stat__num {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem); font-weight: 800;
  color: var(--navy); line-height: 1.05; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 2px;
}
.sj-stat__num em { font-style: normal; color: var(--red); }
.sj-stat__label { font-size: .875rem; color: var(--body); font-weight: 600; line-height: 1.45; }

/* ==========================================================================
   9. SPLIT (image + text)
   ========================================================================== */
.sj-split {
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.sj-split--flip .sj-split__media { order: 2; }

.sj-split__media { position: relative; }
.sj-split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); object-fit: cover;
}
.sj-split__media--stack { padding-bottom: 54px; padding-right: 42px; }
.sj-split__media--stack img:first-child { aspect-ratio: 4 / 3; }
.sj-split__media--stack img + img {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: 7px solid #fff; border-radius: var(--radius);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg);
}
.sj-split__badge {
  position: absolute; left: -14px; bottom: 34px;
  background: var(--red); color: #fff; padding: 16px 20px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-width: 210px; line-height: 1.3;
}
.sj-split__badge strong { display: block; font-size: 1.6rem; font-weight: 800; }
.sj-split__badge span { font-size: .8rem; opacity: .95; font-weight: 600; }

.sj-checklist { list-style: none; margin: 0 0 28px; padding: 0; }
.sj-checklist li {
  position: relative; padding-left: 32px; margin-bottom: 12px;
  font-size: .96rem; color: var(--ink); font-weight: 600;
}
.sj-checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B2A5B' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ==========================================================================
   10. SERVICE CARDS
   ========================================================================== */
.sj-cards { display: grid; gap: var(--gap); }
.sj-cards--3 { grid-template-columns: repeat(3, 1fr); }
.sj-cards--4 { grid-template-columns: repeat(4, 1fr); }

.sj-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
}
.sj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.sj-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.sj-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sj-card:hover .sj-card__thumb img { transform: scale(1.06); }

.sj-card__body { padding: clamp(20px, 2.3vw, 28px); display: flex; flex-direction: column; flex: 1 1 auto; }
.sj-card__body h3 { margin-bottom: .5rem; font-size: 1.12rem; }
.sj-card__body p { font-size: .93rem; margin-bottom: 16px; }
.sj-card__body .sj-linkarrow { margin-top: auto; }

.sj-card--icon { border-top: 4px solid var(--navy); }
.sj-card--icon:hover { border-top-color: var(--red); }
.sj-card__icon {
  width: 58px; height: 58px; border-radius: var(--radius-sm);
  background: var(--sky-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; transition: background .3s, color .3s;
}
.sj-card:hover .sj-card__icon { background: var(--red); color: #fff; }
.sj-card__icon svg { width: 26px; height: 26px; }

.sj-card__tag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}

/* ==========================================================================
   11. ACCREDITATION BAND
   ========================================================================== */
.sj-accred { position: relative; overflow: hidden; }
.sj-accred::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(46, 127, 209, .28), transparent 46%),
    radial-gradient(circle at 88% 78%, rgba(200, 16, 46, .2), transparent 44%);
  pointer-events: none;
}
.sj-accred__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4.6vw, 64px); align-items: center;
}
.sj-accred__media img {
  max-width: 100%; max-height: 540px; width: auto;
  margin-left: auto; margin-right: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38);
  object-fit: contain;
}
.sj-accred__seal {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 13px 18px; border-radius: var(--radius); margin-top: 26px;
}
.sj-accred__seal svg { color: #7FC0FF; flex: 0 0 auto; }
.sj-accred__seal span { font-size: .84rem; color: #C9D6E8; line-height: 1.45; }
.sj-accred__seal strong { color: #fff; }

/* ==========================================================================
   12. WHY CHOOSE US
   ========================================================================== */
.sj-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.sj-why__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px); position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s var(--ease);
}
.sj-why__item:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.sj-why__item::after {
  content: attr(data-n); position: absolute; top: 8px; right: 16px; z-index: 0;
  font-size: 2.6rem; font-weight: 800; color: var(--bg-alt); line-height: 1;
  transition: color .3s; pointer-events: none;
}
.sj-why__item:hover::after { color: var(--sky-soft); }
.sj-why__item h3 { position: relative; z-index: 1; font-size: 1.06rem; margin-bottom: .45rem; }
.sj-why__item p { position: relative; z-index: 1; font-size: .92rem; margin: 0; }

/* ==========================================================================
   13. SECTOR PILLS
   ========================================================================== */
.sj-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.sj-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: .885rem; font-weight: 600; color: var(--ink);
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.sj-pill:hover { border-color: var(--navy); transform: translateY(-2px); }
.sj-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: 0 0 auto;
}

/* ==========================================================================
   14. PRODUCTS
   ========================================================================== */
.sj-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.sj-product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.sj-product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.sj-product__img {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: var(--radius-sm); margin-bottom: 18px; overflow: hidden;
}
.sj-product__img img { max-height: 78%; width: auto; object-fit: contain; transition: transform .45s var(--ease); }
.sj-product:hover .sj-product__img img { transform: scale(1.06); }
.sj-product h3 { font-size: .98rem; margin-bottom: .6rem; }
.sj-product p { font-size: .85rem; margin-bottom: 14px; }
.sj-product .sj-linkarrow { margin-top: auto; justify-content: center; font-size: .85rem; }

/* ==========================================================================
   15. PROJECTS
   ========================================================================== */
.sj-post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.sj-post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sj-post-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.sj-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sj-post-card:hover .sj-post-card__thumb img { transform: scale(1.06); }
.sj-post-card__body { padding: clamp(20px, 2.3vw, 26px); display: flex; flex-direction: column; flex: 1 1 auto; }
.sj-post-card__meta {
  font-size: .755rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.sj-post-card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.sj-post-card h3 a { color: var(--ink); }
.sj-post-card h3 a:hover { color: var(--red); }
.sj-post-card p { font-size: .9rem; margin-bottom: 16px; }
.sj-post-card .sj-linkarrow { margin-top: auto; }

/* ==========================================================================
   16. TRAINING / LOGISTICS FEATURE ROWS
   ========================================================================== */
.sj-feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.sj-feature-row + .sj-feature-row { margin-top: var(--gap); }
.sj-feature-row__media { min-height: 300px; }
.sj-feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.sj-feature-row__body {
  padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center;
}
.sj-feature-row--flip .sj-feature-row__media { order: 2; }

/* ==========================================================================
   17. CTA BAND
   ========================================================================== */
.sj-cta {
  position: relative; overflow: hidden; background: var(--navy);
  color: #C9D6E8;
}
.sj-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(6, 27, 58, .96), rgba(11, 42, 91, .82)),
              url("assets/img/hero-crane.jpg") center / cover no-repeat;
  opacity: .95;
}
.sj-cta__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.35fr auto;
  gap: clamp(24px, 3vw, 48px); align-items: center;
}
.sj-cta h2 { color: #fff; margin-bottom: .5rem; }
.sj-cta p { margin: 0; max-width: 620px; }
.sj-cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.sj-cta__phone {
  display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.05rem;
}
.sj-cta__phone svg { color: #FF8FA3; }
.sj-cta__phone span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #93A9C6; }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.sj-footer { background: var(--navy-deep); color: #9FB2CC; font-size: .92rem; }
.sj-footer__top { padding: clamp(48px, 6vw, 76px) 0 0; }
.sj-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(26px, 3.4vw, 52px);
}
.sj-footer h4 {
  color: #fff; font-size: .95rem; margin-bottom: 20px;
  letter-spacing: .02em; position: relative; padding-bottom: 12px;
}
.sj-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px;
  background: var(--red); border-radius: 2px;
}
.sj-footer a { color: #9FB2CC; }
.sj-footer a:hover { color: #fff; }
.sj-footer ul { list-style: none; margin: 0; padding: 0; }
.sj-footer li { margin-bottom: 11px; }
.sj-footer__brand img {
  height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.sj-footer__about p { font-size: .895rem; line-height: 1.75; }
.sj-footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.sj-footer__contact svg { color: var(--red); flex: 0 0 auto; margin-top: 3px; }
.sj-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.sj-footer__social a {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07); display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--ease);
}
.sj-footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.sj-footer__social svg { width: 18px; height: 18px; }

.sj-footer__bottom {
  margin-top: clamp(36px, 4.4vw, 56px); padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .855rem;
}
.sj-footer__bottom p { margin: 0; }

/* ==========================================================================
   19. FLOATING ACTIONS
   ========================================================================== */
.sj-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 190;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.sj-float a {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(6, 27, 58, .3); color: #fff;
  transition: transform .25s var(--ease);
}
.sj-float a:hover { transform: scale(1.09) translateY(-2px); color: #fff; }
.sj-float__wa { background: #25D366; }
.sj-float__top { background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .25s var(--ease); }
.sj-float__top.is-show { opacity: 1; visibility: visible; }

/* ==========================================================================
   20. PAGE / SINGLE / BLOG
   ========================================================================== */
.sj-pagehead {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, rgba(6, 27, 58, .95), rgba(11, 42, 91, .86)),
              url("assets/img/hero-calibration.jpg") center / cover no-repeat;
  padding: clamp(38px, 5vw, 66px) 0;
  color: #C9D6E8;
}
.sj-pagehead h1 { color: #fff; margin-bottom: .35rem; font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
.sj-pagehead__crumb { font-size: .845rem; color: #93A9C6; }
.sj-pagehead__crumb a { color: #C9D6E8; }
.sj-pagehead__crumb span { margin: 0 8px; opacity: .6; }

.sj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.sj-layout--full { grid-template-columns: minmax(0, 1fr); }

.sj-entry { min-width: 0; }
.sj-entry > *:first-child { margin-top: 0; }
.sj-entry h2 { margin-top: 1.9em; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.sj-entry h3 { margin-top: 1.5em; font-size: 1.2rem; }
.sj-entry h4 { margin-top: 1.35em; }
.sj-entry img { border-radius: var(--radius); }
.sj-entry ul, .sj-entry ol { padding-left: 1.3em; }
.sj-entry ul li::marker { color: var(--red); }
.sj-entry a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sj-entry a:hover { color: var(--red-dark); }
.sj-entry a.sj-btn, .sj-entry a.sj-linkarrow { text-decoration: none; }
.sj-entry figure { margin: 1.7em 0; }
.sj-entry figcaption { font-size: .845rem; color: var(--muted); margin-top: .6em; text-align: center; }
.sj-entry iframe { max-width: 100%; border-radius: var(--radius); }

/* Elementor full-bleed passthrough */
.sj-entry--raw { border-radius: 0; }
.sj-entry--raw .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }

.sj-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.sj-widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.sj-widget h4, .sj-widget h2 {
  font-size: 1rem; margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sj-widget ul { list-style: none; margin: 0; padding: 0; }
.sj-widget li { margin-bottom: 12px; font-size: .92rem; }
.sj-widget li:last-child { margin-bottom: 0; }
.sj-widget--navy { background: var(--navy); border-color: var(--navy); color: #C9D6E8; }
.sj-widget--navy h4 { color: #fff; border-bottom-color: rgba(255, 255, 255, .16); }
.sj-widget--navy a { color: #fff; }
.sj-widget--navy .sj-btn { margin-top: 6px; }

/* pagination */
.sj-pager { display: flex; justify-content: center; gap: 8px; margin-top: clamp(32px, 4vw, 52px); }
.sj-pager .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; color: var(--navy);
}
.sj-pager .page-numbers:hover { border-color: var(--navy); }
.sj-pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.sj-pager .next, .sj-pager .prev { }

/* ==========================================================================
   21. FORMS
   ========================================================================== */
.sj-form { display: grid; gap: 18px; }
.sj-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sj-field { display: flex; flex-direction: column; gap: 7px; }
.sj-field label { font-size: .855rem; font-weight: 700; color: var(--ink); }
.sj-field label span { color: var(--red); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="date"], input[type="search"], input[type="password"],
select, textarea {
  width: 100%; padding: 13px 15px; font-size: .95rem; font-family: inherit;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .22s, box-shadow .22s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(46, 127, 209, .16);
}
textarea { min-height: 140px; resize: vertical; }
input[type="submit"], button[type="submit"] {
  padding: 14px 28px; background: var(--red); color: #fff; border: 0;
  border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem;
  cursor: pointer; font-family: inherit; transition: background .25s, transform .25s var(--ease);
  justify-self: start;
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--red-dark); transform: translateY(-2px); }

/* WP core form widgets */
.sj-form-block input:not([type="submit"]), .sj-form-block textarea, .sj-form-block select { margin-bottom: 14px; }

/* ==========================================================================
   22. MISCELLANEOUS CONTENT BLOCKS
   ========================================================================== */
.sj-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.sj-info {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 6px;
}
.sj-info__k {
  font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.sj-info__v { font-size: 1rem; font-weight: 700; color: var(--ink); }
.sj-info__v a { color: var(--navy); }

.sj-note {
  background: var(--sky-soft); border-left: 4px solid var(--sky);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem; color: var(--ink);
}

.sj-accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.sj-acc__item + .sj-acc__item { border-top: 1px solid var(--line); }
.sj-acc__btn {
  width: 100%; text-align: left; padding: 18px 22px; background: #fff; border: 0;
  font-size: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sj-acc__btn:hover { color: var(--red); }
.sj-acc__btn::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); font-weight: 400; }
.sj-acc__item.is-open .sj-acc__btn::after { content: "\2212"; }
.sj-acc__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.sj-acc__panel > div { padding: 0 22px 20px; font-size: .94rem; }
.sj-acc__item.is-open .sj-acc__panel { max-height: 900px; }

/* ==========================================================================
   23. SCROLL REVEAL
   Content stays visible when JavaScript is unavailable: the hidden state is
   scoped to .sj-js, which header.php adds only if scripting is enabled.
   ========================================================================== */
.sj-reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sj-js .sj-reveal { opacity: 0; transform: translateY(26px); }
.sj-js .sj-reveal.is-in { opacity: 1; transform: none; }
.sj-reveal--d1 { transition-delay: .08s; }
.sj-reveal--d2 { transition-delay: .16s; }
.sj-reveal--d3 { transition-delay: .24s; }
.sj-reveal--d4 { transition-delay: .32s; }

/* ==========================================================================
   24. WORDPRESS CORE CLASSES
   ========================================================================== */
.alignleft  { float: left;  margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin: 1.4em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); }
.sticky .sj-post-card { border-color: var(--sky); }
.bypostauthor > .comment-body { border-left: 3px solid var(--red); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto; width: auto; height: auto; left: 6px; top: 6px; z-index: 100000;
  padding: 14px 22px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); font-weight: 700;
}
.sj-comments { margin-top: clamp(36px, 4.5vw, 60px); }
.sj-comments ol { list-style: none; padding: 0; }
.sj-comments li { margin-bottom: 22px; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.comment-meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.comment-author img { border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: middle; }

/* ==========================================================================
   25. WOOCOMMERCE (light touch)
   ========================================================================== */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; float: none !important;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product img { border-radius: var(--radius-sm); margin: 0 auto 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 700; color: var(--ink); padding: 0; }
.woocommerce .price { color: var(--red) !important; font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .cart .button {
  background: var(--navy) !important; color: #fff !important; border-radius: var(--radius-sm) !important;
  font-weight: 700 !important; padding: 12px 22px !important; font-size: .9rem !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--red) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--red); background: var(--bg-alt); border-radius: var(--radius-sm); padding: 16px 22px;
}

/* ==========================================================================
   26. RESPONSIVE — large desktop down to small phones
   ========================================================================== */

/* ---- <=1180px : tighten nav, drop to 3-col grids ---- */
@media (max-width: 1180px) {
  .sj-nav a { padding: 10px 10px; font-size: .885rem; }
  .sj-header__phone span { display: none; }
  .sj-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
  .sj-footer__grid > *:nth-child(3) { display: none; }
  .sj-products { grid-template-columns: repeat(3, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

/* ---- <=1024px : tablet landscape — nav becomes drawer ---- */
@media (max-width: 1024px) {
  .sj-nav, .sj-header__cta .sj-btn { display: none; }
  .sj-burger { display: flex; }
  .sj-header__in { min-height: 70px; }
  .sj-brand img { height: 42px; }

  .sj-split { grid-template-columns: 1fr; gap: 34px; }
  .sj-split--flip .sj-split__media { order: 0; }
  .sj-split__media--stack { padding-bottom: 42px; padding-right: 30px; }
  .sj-split__badge { left: 0; }

  .sj-accred__grid { grid-template-columns: 1fr; gap: 34px; }
  .sj-accred__media { order: -1; }
  .sj-accred__media img { max-height: 420px; }

  .sj-cards--3, .sj-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .sj-why { grid-template-columns: repeat(2, 1fr); }
  .sj-info-grid { grid-template-columns: repeat(2, 1fr); }

  .sj-layout { grid-template-columns: minmax(0, 1fr); }
  .sj-sidebar { position: static; }

  .sj-cta__in { grid-template-columns: 1fr; }
  .sj-cta__actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }

  .sj-feature-row { grid-template-columns: 1fr; }
  .sj-feature-row--flip .sj-feature-row__media { order: 0; }
  .sj-feature-row__media { min-height: 240px; }

  .sj-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sj-stat { border-bottom: 1px solid var(--line); }
  .sj-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .sj-stat:nth-child(even) { border-right: 0; }
  .sj-stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---- <=760px : phones ---- */
@media (max-width: 760px) {
  body { font-size: 15.5px; }

  .sj-section { padding: clamp(44px, 9vw, 62px) 0; }
  .sj-head { margin-bottom: 30px; }

  .sj-topbar__in { justify-content: center; text-align: center; min-height: 0; padding: 9px 0; gap: 8px; }
  .sj-topbar__list { gap: 14px; justify-content: center; }
  .sj-topbar__list li:nth-child(3) { display: none; }
  .sj-topbar__badge { font-size: .7rem; padding: 4px 11px; }

  .sj-slide { min-height: 500px; }
  .sj-slide__bg::after {
    background: linear-gradient(170deg, rgba(6, 27, 58, .95) 0%, rgba(6, 27, 58, .9) 55%, rgba(6, 27, 58, .8) 100%);
  }
  .sj-slide__in { padding-bottom: 78px; }
  .sj-slide h1, .sj-slide h2 { font-size: clamp(1.68rem, 7vw, 2.15rem); }
  .sj-slide__eyebrow { font-size: .68rem; padding: 6px 12px; }
  .sj-slide__content { max-width: none; }
  .sj-slide p { font-size: .97rem; margin-bottom: 24px; }
  .sj-btnrow .sj-btn { width: 100%; }
  .sj-hero__nav { bottom: 22px; }
  .sj-hero__controls { justify-content: flex-start; }
  .sj-arrows { display: none; }
  .sj-dot { width: 26px; }
  .sj-dot.is-active { width: 40px; }

  .sj-cards--3, .sj-cards--4, .sj-grid--2, .sj-grid--3, .sj-grid--4 { grid-template-columns: 1fr; }
  .sj-products { grid-template-columns: repeat(2, 1fr); }
  .sj-why { grid-template-columns: 1fr; }
  .sj-info-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }

  .sj-form__row { grid-template-columns: 1fr; }
  input[type="submit"], button[type="submit"] { justify-self: stretch; width: 100%; }

  .sj-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .sj-footer__grid > *:nth-child(3) { display: block; }
  .sj-footer__bottom { justify-content: center; text-align: center; }

  .sj-split__media--stack { padding: 0 0 0; }
  .sj-split__media--stack img + img { position: static; width: 100%; border: 0; border-radius: var(--radius-lg); margin-top: 14px; }
  .sj-split__media--stack img:first-child { margin-bottom: 0; }
  .sj-split__badge { position: static; margin-top: 14px; max-width: none; }

  .sj-float a { width: 48px; height: 48px; }
  .sj-float { right: 14px; bottom: 14px; }

  .sj-card:hover, .sj-product:hover, .sj-post-card:hover, .sj-why__item:hover { transform: none; }

  blockquote { font-size: .97rem; padding: 1em 1.1em; }
  table { font-size: .88rem; }
}

/* ---- <=480px : small phones ---- */
@media (max-width: 480px) {
  .sj-products { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .sj-stat { padding: 20px 14px; }
  .sj-brand__text { display: none; }
  .sj-slide { min-height: 440px; }
  .sj-drawer { width: 100%; }
  .sj-topbar__list li:first-child { display: none; }
  .sj-slide { min-height: 470px; }
  .sj-slide h1, .sj-slide h2 { font-size: clamp(1.55rem, 7.6vw, 1.95rem); }
}

/* ---- landscape phones ---- */
@media (max-height: 520px) and (orientation: landscape) {
  .sj-slide { min-height: 420px; }
  .sj-hero__nav { display: none; }
}

/* ==========================================================================
   27. ACCESSIBILITY & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .sj-reveal { opacity: 1; transform: none; }
  .sj-js .sj-reveal { opacity: 1 !important; transform: none !important; }
  .sj-slide__bg { transform: none !important; }
}

@media print {
  .sj-topbar, .sj-header, .sj-drawer, .sj-overlay, .sj-float,
  .sj-cta, .sj-hero__nav, .sj-footer__social { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .sj-pagehead { background: none; color: #000; padding: 0 0 20px; }
  .sj-pagehead h1 { color: #000; }
  a { color: #000; text-decoration: underline; }
  .sj-layout { grid-template-columns: 1fr; }
  .sj-sidebar { display: none; }
}
