/* ============================================================
   SITS / BE-SITS.com — v7-homepage
   style.css — Design System + Header + Hero
   Stage 2B — Capability Band + Hero Composition Refinement
   Brief: V6 Final Production Brief
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Brand palette --- */
  --color-navy-deep:    #071426;
  --color-navy-base:    #08162A;
  --color-navy-mid:     #0B1D34;
  --color-navy-card:    #0E2240;

  --color-cyan:         #22B8D6;
  --color-cyan-dim:     rgba(34, 184, 214, 0.15);
  --color-cyan-glow:    rgba(34, 184, 214, 0.28);

  /* --- Category colors --- */
  --color-safety:       #149A5B;
  --color-lifting:      #1E6FD6;
  --color-inspection:   #E53935;
  --color-engineering:  #F47B20;
  --color-compliance:   #A8B0BA;

  /* --- Surface / neutral --- */
  --color-surface-light: #F3F5F7;
  --color-white:          #FFFFFF;
  --color-charcoal:       #101827;
  --color-muted:          #6B7280;
  --color-border-dark:    rgba(255, 255, 255, 0.08);
  --color-border-cyan:    rgba(34, 184, 214, 0.22);

  /* --- Typography --- */
  --font-heading: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* --- Type scale (fluid) --- */
  --text-hero:    clamp(54px, 8vw, 90px);
  --text-h2:      clamp(30px, 4vw, 46px);
  --text-h3:      clamp(18px, 2.2vw, 24px);
  --text-body:    16px;
  --text-sm:      14px;
  --text-xs:      12px;
  --text-eyebrow: 11px;

  /* --- Layout --- */
  --container-max: 1280px;
  --container-pad: clamp(20px, 5vw, 80px);
  --header-h:      72px;
  --section-py:    clamp(72px, 9vw, 112px);

  /* --- UI --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: ease-out;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* offset anchor targets below fixed header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--color-white);
  background-color: var(--color-navy-deep);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

ul  { list-style: none; }
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  padding: 0;
}


/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}


/* ============================================================
   4. ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeUp 0.7s var(--ease-out) both;
  animation-delay: var(--delay, 0s);
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 17px 38px;
  min-height: 52px;
  transition:
    background 180ms var(--ease-std),
    color 180ms var(--ease-std),
    border-color 180ms var(--ease-std),
    transform 140ms var(--ease-std),
    box-shadow 200ms var(--ease-std);
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.btn:active { transform: scale(0.98) !important; }

/* Primary — cyan fill */
.btn--primary {
  background: var(--color-cyan);
  color: var(--color-navy-deep);
  border: 1.5px solid transparent;
  box-shadow: 0 4px 16px rgba(34, 184, 214, 0.28);
}

.btn--primary:hover {
  background: #1da5c0;
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px var(--color-cyan-glow), 0 8px 24px rgba(34, 184, 214, 0.36);
}

/* Ghost — outline on dark */
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.50);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
}

/* Small */
.btn--sm { padding: 11px 22px; font-size: 12px; min-height: 42px; }


/* ============================================================
   6. SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 320ms var(--ease-std),
    border-color 320ms var(--ease-std),
    backdrop-filter 320ms var(--ease-std);
}

.site-header.is-scrolled {
  background: rgba(7, 20, 38, 0.96);
  border-bottom-color: var(--color-border-cyan);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}


/* ============================================================
   7. LOGO — CSS FALLBACK
   (transparent SVG/PNG required from client — see DESIGN_NOTES)
   ============================================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

.logo-arc {
  display: block;
  width: 13px;
  height: 38px;
  border: 2.5px solid var(--color-safety);
  border-right: none;
  border-radius: 24px 0 0 24px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  color: var(--color-white);
  letter-spacing: 0.06em;
  line-height: 1;
  flex-shrink: 0;
}

.logo-bars {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  padding-top: 1px;
  flex-shrink: 0;
}

.lb {
  display: block;
  width: 20px;
  height: 4.5px;
  border-radius: 1px;
}

.lb--safety     { background: var(--color-safety); }
.lb--lifting    { background: var(--color-lifting); }
.lb--inspection { background: var(--color-inspection); }
.lb--compliance { background: var(--color-compliance); }


/* ============================================================
   8. DESKTOP NAVIGATION
   ============================================================ */
.nav-desktop { margin-left: auto; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--color-cyan);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out);
}

.nav-link:hover               { color: var(--color-white); }
.nav-link:hover::after,
.nav-link.is-active::after    { transform: scaleX(1); }
.nav-link.is-active           { color: var(--color-white); }

.nav-link:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}


/* ============================================================
   9. HEADER CTA — industrial, precision feel
   ============================================================ */
.header-cta {
  flex-shrink: 0;
  margin-left: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.14em;
  border-radius: 2px;
  padding: 11px 22px;
}


/* ============================================================
   10. HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background 180ms ease;
}

.hamburger:hover         { background: rgba(255, 255, 255, 0.07); }
.hamburger:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

.ham-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition:
    transform 300ms var(--ease-out),
    opacity 200ms ease;
}


/* ============================================================
   11. MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  width: min(380px, 92vw);
  background: var(--color-navy-base);
  border-left: 1px solid var(--color-border-cyan);
  display: flex;
  flex-direction: column;
  padding: 0 28px 48px;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  overflow-y: auto;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 12px;
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.50);
  transition: color 180ms ease, background 180ms ease;
}

.mobile-nav-close:hover { color: var(--color-white); background: rgba(255, 255, 255, 0.06); }
.mobile-nav-close:focus-visible { outline: 2px solid var(--color-cyan); outline-offset: 2px; }

.mobile-nav nav ul { display: flex; flex-direction: column; }

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.65);
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border-dark);
  transition:
    color 180ms ease,
    padding-left 220ms var(--ease-out);
}

.mobile-nav-link:hover { color: var(--color-white); padding-left: 10px; }

.mobile-nav-link:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.mobile-nav-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  width: 100%;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 20, 38, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }


/* ============================================================
   12. HERO — STRUCTURE
   ============================================================ */
.hero {
  position: relative;
  min-height: 860px;
  min-height: 100svh; /* hero always fills viewport — band docks to bottom edge */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.10) saturate(1.18);
}

/*
  OVERLAY:
  Left 0–30%: heavy opacity for text zone.
  Right 30–100%: controlled fade — industrial image has real presence.
  Separate top/bottom vignette for cinematic depth.
*/
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      104deg,
      rgba(7, 20, 38, 0.97) 0%,
      rgba(7, 20, 38, 0.94) 24%,
      rgba(7, 20, 38, 0.82) 38%,
      rgba(7, 20, 38, 0.44) 56%,
      rgba(7, 20, 38, 0.18) 78%,
      rgba(7, 20, 38, 0.10) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(7, 20, 38, 0.32) 0%,
      transparent 16%,
      transparent 52%,
      rgba(7, 20, 38, 0.46) 100%
    );
}

/* Content wrapper */
.hero-content-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 240px; /* clears card panel (~160px) + 48px bottom offset + breathing */
}

/*
  Thin left-edge cyan accent line — anchors the content block
  with a deliberate engineered feel. Inspired by the logo arc.
*/
.hero-content {
  max-width: 720px;
  position: relative;
  padding-left: 28px;
}

.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3%;
  bottom: 3%;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--color-cyan) 10%,
    var(--color-cyan) 85%,
    transparent 100%
  );
  opacity: 0.92;
  box-shadow: 0 0 12px rgba(34, 184, 214, 0.50);
}

/* Double arc motif — echoes logo arc, right side of hero */
.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(34, 184, 214, 0.18);
  border-right: none;
  border-radius: 190px 0 0 190px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(34, 184, 214, 0.11);
  border-right: none;
  border-radius: 300px 0 0 300px;
  pointer-events: none;
  z-index: 0;
}


/* ============================================================
   13. HERO CONTENT ELEMENTS
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 22px;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.90;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 22px;
}

.hero-subline {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}

.hero-para {
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  transition: gap 200ms ease, opacity 180ms ease;
}

.hero-text-link:hover { gap: 14px; opacity: 0.75; }

.hero-text-link:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   14. INDUSTRIAL CAPABILITY BAND
   ============================================================ */

/*
  Desktop: .hero-band is a pure positioning anchor (absolute, lifted off bottom).
  Visual card styling lives on the inner .container so it respects max-width,
  centering, and border-radius — hero image visible on sides and at bottom gap.
  Tablet/mobile: .hero-band reverts to position:relative with band-level styling.
*/
.hero-band {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  z-index: 2;
}

/* Cards float directly on the hero image — no outer wrapper visual */
.hero-band .container {
  overflow: visible;
}

/* 5 separated cards in a row on desktop */
.band-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
}

/* Individual capability cards — float directly on hero image */
.band-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px 22px 20px;
  background: rgba(7, 20, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(3, 10, 22, 0.48), 0 1px 4px rgba(3, 10, 22, 0.22);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  cursor: default;
}

.band-item:hover {
  background: rgba(7, 20, 38, 0.90);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 32px rgba(3, 10, 22, 0.60), 0 2px 8px rgba(3, 10, 22, 0.30);
}

/* Top accent bar per category */
.band-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.band-item[data-cat="safety"]::before      { background: var(--color-safety); }
.band-item[data-cat="lifting"]::before     { background: var(--color-lifting); }
.band-item[data-cat="inspection"]::before  { background: var(--color-inspection); }
.band-item[data-cat="engineering"]::before { background: var(--color-engineering); }
.band-item[data-cat="compliance"]::before  { background: var(--color-compliance); }

/* Left border accent — category color at 55% opacity, clearly differentiates cards */
.band-item[data-cat="safety"]      { border-left: 3px solid rgba(20, 154, 91, 0.55); }
.band-item[data-cat="lifting"]     { border-left: 3px solid rgba(30, 111, 214, 0.55); }
.band-item[data-cat="inspection"]  { border-left: 3px solid rgba(229, 57, 53, 0.55); }
.band-item[data-cat="engineering"] { border-left: 3px solid rgba(244, 123, 32, 0.55); }
.band-item[data-cat="compliance"]  { border-left: 3px solid rgba(168, 176, 186, 0.40); }

/* Icon — 48px, category color stroke, tinted bg */
.band-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 200ms ease, border-color 200ms ease;
}

.band-item[data-cat="safety"] .band-icon      { color: var(--color-safety); }
.band-item[data-cat="lifting"] .band-icon     { color: var(--color-lifting); }
.band-item[data-cat="inspection"] .band-icon  { color: var(--color-inspection); }
.band-item[data-cat="engineering"] .band-icon { color: var(--color-engineering); }
.band-item[data-cat="compliance"] .band-icon  { color: var(--color-compliance); }

/* Hover: icon adopts category tint */
.band-item[data-cat="safety"]:hover .band-icon      { background: rgba(20, 154,  91, 0.12); border-color: rgba(20, 154,  91, 0.34); }
.band-item[data-cat="lifting"]:hover .band-icon     { background: rgba(30, 111, 214, 0.12); border-color: rgba(30, 111, 214, 0.34); }
.band-item[data-cat="inspection"]:hover .band-icon  { background: rgba(229,  57,  53, 0.12); border-color: rgba(229,  57,  53, 0.34); }
.band-item[data-cat="engineering"]:hover .band-icon { background: rgba(244, 123,  32, 0.12); border-color: rgba(244, 123,  32, 0.34); }
.band-item[data-cat="compliance"]:hover .band-icon  { background: rgba(168, 176, 186, 0.12); border-color: rgba(168, 176, 186, 0.34); }

/* Text block */
.band-body { min-width: 0; }

.band-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 6px;
}

.band-desc {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.45;
}


/* ============================================================
   15. RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  :root { --header-h: 64px; }

  .nav-desktop,
  .header-cta  { display: none; }
  .hamburger   { display: flex; }

  .hero { min-height: 720px; }

  .hero-content-wrap {
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 56px; /* band back in normal flow — no absolute offset needed */
  }

  /* Band reverts to normal flex flow on tablet; cards float on hero image */
  .hero-band {
    position: relative;
    padding-block: 16px;
  }

  /* Band: 3-column card grid */
  .band-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    flex-wrap: unset;
  }

  /* Reset flex-only properties; card styling (background/border/radius) is inherited */
  .band-item {
    flex: none;
    padding: 18px 14px 18px 16px;
  }

  .band-icon {
    width: 40px;
    height: 40px;
  }

}


/* ============================================================
   16. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  :root { --header-h: 60px; }

  .hero {
    min-height: 100svh;
    min-height: 100vh; /* fallback */
  }

  /* Mobile: uniform overlay for full text legibility */
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(7, 20, 38, 0.92) 0%,
        rgba(7, 20, 38, 0.87) 45%,
        rgba(7, 20, 38, 0.84) 70%,
        rgba(7, 20, 38, 0.93) 100%
      );
  }

  .hero-bg-img { object-position: 60% 20%; }

  .hero-content-wrap {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 40px;
    align-items: flex-start;
  }

  /* Remove vertical accent line and decorative arc on mobile */
  .hero-content {
    max-width: 100%;
    padding-left: 0;
  }

  .hero-content::before { display: none; }
  .hero::before { display: none; }
  .hero::after { display: none; }

  /* Stack CTAs */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; max-width: 300px; }

  /* Band: vertical stack — no horizontal overflow */
  .hero-band {
    padding-block: 12px;
  }

  /* Band: single-column stack, overrides tablet 3-col grid */
  .band-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Full-width cards, stacked vertically */
  .band-item {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 14px 14px 14px 16px;
  }

  .band-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

}

/* ============================================================
   17. SHARED SECTION UTILITIES
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 14px;
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.section-h2--light { color: var(--color-white); }

.section-subtitle {
  font-size: 16px;
  line-height: 1.72;
  color: var(--color-muted);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  max-width: 580px;
  margin-inline: auto;
}


/* ============================================================
   18. BRAND / COMPANY INTRO
   ============================================================ */
.intro {
  background-color: var(--color-surface-light);
  background-image:
    linear-gradient(to right, rgba(7, 20, 38, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7, 20, 38, 0.038) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: var(--section-py) 0;
  position: relative;
}

/* Cyan seam from above */
.intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(34, 184, 214, 0.65) 20%,
    rgba(34, 184, 214, 0.65) 80%,
    transparent
  );
}

/* Two-column container */
.intro-container {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: start;
}

/* Left column — text with cyan accent rail */
.intro-left {
  padding-left: 28px;
  position: relative;
}

.intro-left::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-cyan) 0%, var(--color-cyan) 68%, transparent);
  opacity: 0.50;
  border-radius: 0 2px 2px 0;
}

.intro-para {
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-muted);
}

.intro-para--secondary {
  margin-top: 20px;
  opacity: 0.88;
}

/* Right column */
.intro-right {
  display: flex;
  flex-direction: column;
}

/* Stacked cards */
.intro-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Image-based card */
.intro-card {
  background-color: var(--color-navy-base);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  min-height: 162px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

/* Dark navy overlay */
.intro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 18, 34, 0.86) 0%,
    rgba(7, 22, 42, 0.72) 100%
  );
  z-index: 1;
}

/* Left accent strip */
.intro-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  z-index: 2;
}

.intro-card[data-accent="cyan"]::after    { background: var(--color-cyan); }
.intro-card[data-accent="safety"]::after  { background: var(--color-safety); }
.intro-card[data-accent="lifting"]::after { background: var(--color-lifting); }

/* Image assignments using existing photos */
.intro-card--img-1 { background-image: url('../img/photos/svc-inspection.png'); }
.intro-card--img-2 { background-image: url('../img/photos/safety-feature.png'); }
.intro-card--img-3 { background-image: url('../img/photos/svc-engineering.png'); }

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

/* Card content above overlay */
.intro-card-content {
  position: relative;
  z-index: 3;
  padding: 28px 30px 26px 32px;
}

.intro-card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 10px;
}

.intro-card-desc {
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
}


/* ============================================================
   19. CORE SERVICE CATEGORIES — Stage 3C Image Editorial
   ============================================================ */

.services {
  background: #0A1420;
  padding: var(--section-py) 0;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(34, 184, 214, 0.50) 20%,
    rgba(34, 184, 214, 0.50) 80%,
    transparent
  );
}

/* Section header on dark background */
.services .section-subtitle {
  color: rgba(255, 255, 255, 0.66);
}

/* Editorial: 8fr left (6 grid cards) + 4fr right (1 featured) */
.services-editorial {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 14px;
}

/* Left: 2-column × 3-row image grid */
.svc-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Image card (6 left cards) ─────────────────────────────── */
.svc-img-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.svc-img-media {
  position: absolute;
  inset: 0;
}

.svc-img-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: contrast(1.05) saturate(0.86);
}

.svc-img-card:hover .svc-img-media img,
.svc-featured-card:hover .svc-img-media img {
  transform: scale(1.12);
}

/* Per-card object-position adjustments */
[data-cat="lifting"]     .svc-img-media img { object-position: center 20%; }
[data-cat="safety"]      .svc-img-media img { object-position: center 40%; }
[data-cat="inspection"]  .svc-img-media img { object-position: center 38%; }
[data-cat="engineering"] .svc-img-media img { object-position: center 42%; }
[data-cat="compliance"]  .svc-img-media img { object-position: center 45%; }
[data-cat="crane"]       .svc-img-media img { object-position: center 18%; }
[data-cat="support"]     .svc-img-media img { object-position: center 32%; }

/* Layered overlay: top vignette + strong bottom gradient for text legibility */
.svc-img-body {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 16, 30, 0.40) 0%, transparent 40%),
    linear-gradient(
      to top,
      rgba(5, 16, 30, 1.0) 0%,
      rgba(5, 16, 30, 0.96) 30%,
      rgba(5, 16, 30, 0.68) 52%,
      rgba(5, 16, 30, 0.24) 72%,
      transparent 100%
    );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
}

/* ── Category accent bar ───────────────────────────────────── */
.svc-cat-bar {
  display: block;
  height: 4px;
  width: 44px;
  border-radius: 2px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* Wider bar on the large featured card overlay */
.svc-featured-body .svc-cat-bar {
  width: 52px;
  margin-bottom: 18px;
}

[data-cat="lifting"]     .svc-cat-bar { background: var(--color-lifting); }
[data-cat="safety"]      .svc-cat-bar { background: var(--color-safety); }
[data-cat="inspection"]  .svc-cat-bar { background: var(--color-inspection); }
[data-cat="engineering"] .svc-cat-bar { background: var(--color-engineering); }
[data-cat="compliance"]  .svc-cat-bar { background: var(--color-compliance); }
[data-cat="crane"]       .svc-cat-bar { background: var(--color-lifting); }
[data-cat="support"]     .svc-cat-bar { background: var(--color-cyan); }

/* ── Card text ─────────────────────────────────────────────── */
.svc-img-title {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.svc-img-desc {
  font-size: clamp(12px, 1vw, 13.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-img-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-cyan);
  text-decoration: none;
  transition: gap 200ms ease;
}

.svc-img-link:hover { gap: 9px; }

.svc-img-link:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Featured card (right column, full height) ─────────────── */
.svc-featured-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.svc-featured-body {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 16, 30, 0.32) 0%, transparent 38%),
    linear-gradient(
      to top,
      rgba(5, 16, 30, 0.98) 0%,
      rgba(5, 16, 30, 0.92) 25%,
      rgba(5, 16, 30, 0.55) 50%,
      rgba(5, 16, 30, 0.18) 70%,
      transparent 100%
    );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
}

.svc-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 14px;
}

.svc-featured-desc {
  font-size: 14.5px;
  line-height: 1.70;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 24px;
}

.svc-img-link--lg {
  font-size: 12px;
  gap: 7px;
}

.svc-img-link--lg:hover { gap: 11px; }

.services-footer {
  text-align: center;
  margin-top: 52px;
}


/* ============================================================
   20. INDUSTRIAL CAPABILITY / TRUST
   ============================================================ */
/* Light relief — creates Dark → Light → Dark rhythm with Services and Safety */
.capability {
  background-color: var(--color-surface-light);
  background-image:
    linear-gradient(to right, rgba(7, 20, 38, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7, 20, 38, 0.038) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: var(--section-py) 0;
  position: relative;
}

.capability::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(34, 184, 214, 0.60) 20%,
    rgba(34, 184, 214, 0.60) 80%,
    transparent
  );
}

.capability-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left accent rail */
.capability-content {
  position: relative;
  padding-left: 28px;
}

.capability-content .section-h2 {
  margin-bottom: 28px;
}

.capability-content::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-cyan) 0%, var(--color-cyan) 72%, transparent);
  opacity: 0.42;
  border-radius: 0 2px 2px 0;
}

.capability-para {
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-muted);
  margin: 22px 0 0;
}

.capability-para--support {
  margin-top: 16px;
}

.capability-stmt {
  font-size: 14px;
  line-height: 1.72;
  color: var(--color-muted);
  opacity: 0.82;
  margin-top: 22px;
  margin-bottom: 40px;
}

/* Right column: cards + context block stacked */
.cap-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 4 capability cards — 2×2 grid, light card treatment */
.cap-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cap-card {
  background: #ffffff;
  border: 1px solid rgba(7, 20, 38, 0.14);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(7, 20, 38, 0.10), 0 1px 4px rgba(7, 20, 38, 0.06);
  transition:
    box-shadow 200ms ease,
    border-color 200ms ease,
    transform 220ms var(--ease-out);
}

/* Top accent bar */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.cap-card[data-accent="cyan"]::before   { background: var(--color-cyan); }
.cap-card[data-accent="safety"]::before { background: var(--color-safety); }

.cap-card:hover {
  box-shadow: 0 18px 52px rgba(7, 20, 38, 0.18), 0 4px 14px rgba(7, 20, 38, 0.10);
  border-color: rgba(34, 184, 214, 0.48);
  transform: translateY(-5px);
}

.cap-card-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.cap-card[data-accent="cyan"]   .cap-card-num { color: var(--color-cyan); }
.cap-card[data-accent="safety"] .cap-card-num { color: var(--color-safety); }

.cap-card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cap-card-desc {
  font-size: 13px;
  line-height: 1.68;
  color: var(--color-muted);
}

/* Operational contexts — sits directly under the right-column cards */
.cap-contexts {
  padding-top: 18px;
  border-top: 1px solid rgba(7, 20, 38, 0.09);
}

.cap-contexts-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 12px;
  opacity: 0.68;
}

.cap-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cap-context-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: #ffffff;
  border: 1px solid rgba(7, 20, 38, 0.11);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  transition: border-color 180ms ease, color 180ms ease;
}

.cap-context-tag:hover {
  border-color: rgba(34, 184, 214, 0.40);
  color: var(--color-charcoal);
}


/* ============================================================
   21. STAGE 3 — RESPONSIVE TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Services: stack editorial — featured card below 6-card grid */
  .services-editorial { grid-template-columns: 1fr; gap: 10px; }
  .svc-main-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .svc-featured-card { aspect-ratio: 16 / 7; }
  .svc-img-body { padding: 22px 18px; }

  /* Intro: stack text above cards on tablet */
  .intro-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .intro-left { max-width: 640px; }

  /* Capability: stack content above points */
  .capability-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

}


/* ============================================================
   22. STAGE 3 — RESPONSIVE MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Intro */
  .intro-left        { max-width: 100%; }
  .intro-cards       { gap: 12px; }
  .intro-card        { min-height: 140px; }
  .intro-card-content { padding: 22px 22px 20px 26px; }

  /* Services */
  .svc-main-grid       { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-featured-card   { aspect-ratio: 4 / 3; }
  .svc-img-body        { padding: 16px 14px; }
  .svc-cat-bar         { width: 28px; margin-bottom: 8px; }
  .svc-img-title       { font-size: 14px; margin-bottom: 5px; }
  .svc-img-desc        { font-size: 12px; margin-bottom: 10px; }
  .svc-img-link        { font-size: 11px; }
  .svc-featured-body   { padding: 28px 22px; }
  .svc-featured-desc   { display: none; }

  /* Capability */
  .capability-inner { gap: 36px; }
  .cap-cards        { grid-template-columns: 1fr; }
  .capability-stmt  { margin-bottom: 28px; }

}


/* ============================================================
   END STAGE 3 STYLES
   ============================================================ */


/* ============================================================
   24. SAFETY & COMPLIANCE
   ============================================================ */
.safety {
  background-color: var(--color-navy-deep);
  background-image:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 38%, rgba(5, 14, 28, 0.50) 100%),
    radial-gradient(ellipse 52% 72% at 22% 50%, rgba(20, 154, 91, 0.14) 0%, transparent 72%),
    linear-gradient(to right,  rgba(20, 154, 91, 0.072) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 154, 91, 0.072) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  padding: var(--section-py) 0;
  overflow: hidden;
  position: relative;
}

/* Top-right construction corner bracket — visible but restrained */
.safety::before {
  content: '';
  position: absolute;
  top: 36px;
  right: 40px;
  width: 72px;
  height: 72px;
  border-top: 2px solid rgba(20, 154, 91, 0.36);
  border-right: 2px solid rgba(20, 154, 91, 0.36);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-left mirror bracket for balance */
.safety-inner::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 48px;
  height: 48px;
  border-bottom: 2px solid rgba(20, 154, 91, 0.22);
  border-left: 2px solid rgba(20, 154, 91, 0.22);
  pointer-events: none;
  z-index: 0;
}

.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.safety-content .section-h2 {
  margin-bottom: 22px;
}

.safety-para {
  font-size: 16px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 32px;
}

.safety-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 40px;
}

.safety-points li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14.5px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.80);
}

/* Safety-green checkmark via clip-path */
.safety-points li::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  background: var(--color-safety);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Image frame */
.safety-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(20, 154, 91, 0.30);
  border-top: 4px solid var(--color-safety);
  box-shadow: 0 40px 96px rgba(3, 10, 22, 0.70), 0 12px 32px rgba(3, 10, 22, 0.40), 0 0 0 1px rgba(20, 154, 91, 0.10);
}

.safety-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.05) saturate(0.84);
  display: block;
}

/* Subtle directional vignette — does not obscure the scene */
.safety-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 20, 38, 0.38) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.safety-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px 14px;
  background: rgba(5, 14, 28, 0.92);
  border-top: 2px solid rgba(20, 154, 91, 0.45);
  pointer-events: none;
}

.safety-visual-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-safety);
}

.safety-visual-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-safety);
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.85;
}


/* ============================================================
   25. GALLERY / FIELD OPERATIONS
   ============================================================ */
/* Dark cinematic section — separates visually from Safety above via different navy */
.gallery {
  background-color: #080F1D;
  background-image: radial-gradient(rgba(34, 184, 214, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: var(--section-py) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-subtitle {
  color: rgba(255, 255, 255, 0.52);
}

.gallery .section-header {
  margin-bottom: 28px;
}

/* Wider wrapper — breaks out of container for full editorial width */
.gallery-wrap {
  max-width: 1520px;
  margin: 0 auto;
  padding-inline: clamp(20px, 3vw, 40px);
}

/* Asymmetric: large left tile + 2×2 right tiles */
.gallery-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 10px;
  min-height: 640px;
}

.gal-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.gal-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-navy-base);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gal-img-wrap {
  position: absolute;
  inset: 0;
}

.gal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.05) saturate(0.82);
  transition: transform 0.70s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gal-tile:hover .gal-img-wrap img {
  transform: scale(1.10);
}

/* Caption: deep gradient zone ensures text always readable over images */
.gal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 18px;
  background:
    linear-gradient(
      to top,
      rgba(3, 10, 22, 1.0) 0%,
      rgba(3, 10, 22, 0.96) 28%,
      rgba(3, 10, 22, 0.68) 54%,
      rgba(3, 10, 22, 0.20) 74%,
      transparent 100%
    );
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 220ms ease;
}

.gal-tile:hover .gal-caption {
  background:
    linear-gradient(
      to top,
      rgba(3, 10, 22, 0.98) 0%,
      rgba(3, 10, 22, 0.92) 30%,
      rgba(3, 10, 22, 0.62) 56%,
      rgba(3, 10, 22, 0.18) 76%,
      transparent 100%
    );
}

.gal-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.gal-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Main tile: larger label */
.gal-tile--main .gal-caption {
  padding: 80px 26px 24px;
}

.gal-tile--main .gal-label {
  font-size: 19px;
}

.gal-tile--main .gal-eyebrow {
  font-size: 11px;
}

/* Object-position per gallery image */
.gal-tile--main .gal-img-wrap img          { object-position: center 40%; }
.gal-secondary .gal-tile:nth-child(1) .gal-img-wrap img { object-position: center 30%; }
.gal-secondary .gal-tile:nth-child(2) .gal-img-wrap img { object-position: center 35%; }
.gal-secondary .gal-tile:nth-child(3) .gal-img-wrap img { object-position: center 40%; }
.gal-secondary .gal-tile:nth-child(4) .gal-img-wrap img { object-position: center 38%; }


/* ============================================================
   26. STAGE 4 — RESPONSIVE TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Safety */
  .safety-inner { grid-template-columns: 1fr; gap: 52px; }
  .safety-visual { aspect-ratio: 16 / 9; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; min-height: auto; gap: 10px; }
  .gal-tile--main { aspect-ratio: 16 / 9; }
  .gal-secondary { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 10px; }
  .gal-secondary .gal-tile { aspect-ratio: 3 / 4; }

}


/* ============================================================
   27. STAGE 4 — RESPONSIVE MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Safety */
  .safety-inner   { gap: 36px; }
  .safety-para    { font-size: 15px; }
  .safety-visual  { aspect-ratio: 4 / 3; }

  /* Gallery */
  .gallery-grid { gap: 8px; }
  .gal-secondary { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
  .gal-secondary .gal-tile { aspect-ratio: 1; }
  .gal-label { font-size: 12px; }

}


/* ============================================================
   END STAGE 4 STYLES
   ============================================================ */


/* ============================================================
   28. CAREERS TEASER
   ============================================================ */
.careers {
  background: var(--color-surface-light);
  background-image:
    linear-gradient(to right, rgba(7, 20, 38, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(7, 20, 38, 0.038) 1px, transparent 1px);
  background-size: 44px 44px;
  padding: var(--section-py) 0;
  border-top: 1px solid rgba(7, 20, 38, 0.10);
}

.careers-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.careers-motto {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(7, 20, 38, 0.55);
  margin-bottom: 18px;
  padding: 6px 0 6px 14px;
  border-left: 3px solid var(--color-cyan);
  line-height: 1;
  display: inline-block;
}

.careers-content .section-h2 {
  margin-bottom: 22px;
}

.careers-para {
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-muted);
  margin-bottom: 22px;
}

/* Emphasis chips — field profile signals */
.careers-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.careers-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  background: rgba(7, 20, 38, 0.04);
  border: 1px solid rgba(7, 20, 38, 0.13);
  border-left: 3px solid var(--color-cyan);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
}

.careers-chip--safety {
  border-left-color: var(--color-safety);
}

.careers-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.careers-note {
  font-size: 13px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(7, 20, 38, 0.03);
  border: 1px solid rgba(7, 20, 38, 0.08);
  border-left: 3px solid rgba(7, 20, 38, 0.14);
  border-radius: var(--radius-sm);
}

.careers-note a {
  color: var(--color-charcoal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.careers-note a:hover { color: var(--color-cyan); }

.careers-note-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  flex-shrink: 0;
}

.careers-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 28px 72px rgba(7, 20, 38, 0.22), 0 6px 20px rgba(7, 20, 38, 0.12);
  border: 1px solid rgba(7, 20, 38, 0.12);
  border-top: 3px solid var(--color-cyan);
}

.careers-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.05) saturate(0.85);
  display: block;
}

/* Bottom-fade overlay — deeper gradient for caption readability */
.careers-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 52%,
    rgba(5, 14, 28, 0.78) 100%
  );
  pointer-events: none;
}

/* Caption strip — solid dark navy bar at the base of the image frame */
.careers-visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 11px 20px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 14, 28, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.careers-visual-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.careers-visual-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-cyan);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  opacity: 0.7;
}


/* ============================================================
   29. FINAL CTA BAND — premium industrial closing CTA
   ============================================================ */
.contact-cta {
  position: relative;
  background-color: var(--color-navy-deep);
  background-image:
    linear-gradient(to bottom, rgba(5, 14, 28, 0.88) 0%, rgba(5, 14, 28, 0.84) 100%),
    url('../img/photos/svc-lifting.png');
  background-size: cover;
  background-position: center 40%;
  padding: calc(var(--section-py) * 1.30) 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dot texture layer */
.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(34, 184, 214, 0.048) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 1;
}

/* Radial edge vignette */
.contact-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 32%, rgba(3, 10, 22, 0.56) 100%);
  pointer-events: none;
  z-index: 2;
}

.contact-cta .container {
  position: relative;
  z-index: 3;
}

.contact-cta-inner {
  max-width: 960px;
  margin-inline: auto;
  background: rgba(5, 14, 28, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid var(--color-cyan);
  border-radius: var(--radius-md);
  padding: 56px 64px;
  box-shadow:
    0 28px 80px rgba(3, 10, 22, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.contact-cta .section-h2 {
  margin-bottom: 22px;
}

.contact-cta .section-eyebrow {
  display: block;
  margin-bottom: 18px;
}

.contact-para {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.64);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Structured phone strip */
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.contact-phone-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-cyan);
  opacity: 0.80;
}

.contact-phone-num {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 160ms ease;
}

.contact-phone-num:hover { color: var(--color-cyan); }


/* ============================================================
   30. SITE FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  background-color: var(--color-navy-base);
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(3, 10, 22, 0.42) 100%),
    radial-gradient(rgba(34, 184, 214, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px;
  padding-top: 72px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--color-cyan) 0%,
    rgba(34, 184, 214, 0.35) 42%,
    transparent 74%
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr;
  gap: 56px;
  padding-bottom: 72px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Brand column ───────────────────────────────────────────── */
.footer-brand {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--color-cyan);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(34, 184, 214, 0.55);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 26px;
}

.footer-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  border-left: 2px solid currentColor;
}

.footer-cat--safety     { color: var(--color-safety);     background: rgba(20, 154,  91, 0.12); }
.footer-cat--lifting    { color: var(--color-lifting);    background: rgba(30, 111, 214, 0.12); }
.footer-cat--inspection { color: var(--color-inspection); background: rgba(229,  57,  53, 0.12); }
.footer-cat--engineering{ color: var(--color-engineering);background: rgba(244, 123,  32, 0.12); }
.footer-cat--compliance { color: var(--color-compliance); background: rgba(168, 176, 186, 0.12); }

/* ── Nav / Contact columns ─────────────────────────────────── */
.footer-col {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 26px 22px 22px;
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 18px;
  padding-bottom: 14px;
  padding-left: 10px;
  border-left: 2px solid rgba(34, 184, 214, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: block;
  padding-left: 0;
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.92);
  padding-left: 7px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-contact-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.footer-contact-value {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 160ms ease;
}

a.footer-contact-value:hover { color: var(--color-cyan); }

/* ── Bottom bar ────────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-legal {
  display: flex;
  gap: 22px;
  list-style: none;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-legal a:hover { color: rgba(255, 255, 255, 0.68); }


/* ============================================================
   31. STAGE 5 — RESPONSIVE TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  /* Careers */
  .careers-inner { grid-template-columns: 1fr; gap: 52px; }
  .careers-visual { aspect-ratio: 16 / 9; }

  /* Contact CTA */
  .contact-cta-inner { padding: 44px 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 56px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-desc  { max-width: none; }

}


/* ============================================================
   32. STAGE 5 — RESPONSIVE MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Careers */
  .careers-inner  { gap: 36px; }
  .careers-visual { aspect-ratio: 4 / 3; }
  .careers-actions { width: 100%; }
  .careers-actions .btn { width: 100%; max-width: 320px; }

  /* Contact CTA */
  .contact-cta-inner { padding: 36px 24px; }
  .contact-btns { flex-direction: column; align-items: center; }
  .contact-btns .btn { width: 100%; max-width: 320px; }
  .contact-para { font-size: 15px; }
  .contact-phone { flex-wrap: wrap; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 14px; }

}


/* ============================================================
   END STAGE 5 STYLES — HOMEPAGE COMPLETE
   ============================================================ */


/* ============================================================
   33. WHY SITS — CAPABILITY SECTION MOBILE SMALL (max 430px)
   ============================================================ */
@media (max-width: 430px) {

  #capability { scroll-margin-top: var(--header-h); }

  .capability {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .capability-inner          { gap: 28px; }

  .capability-para           { margin-top: 14px; }
  .capability-para--support  { margin-top: 10px; }
  .capability-stmt           { margin-top: 14px; margin-bottom: 18px; }

  .capability-content .btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.06em;
    padding-inline: 28px;
  }

  .cap-cards         { gap: 10px; }
  .cap-card          { padding: 18px 16px 16px; }
  .cap-card-num      { margin-bottom: 8px; }
  .cap-card-title    { margin-bottom: 7px; }

  .cap-contexts      { padding-top: 14px; }
  .cap-contexts-label { margin-bottom: 8px; }
  .cap-context-tag   { padding: 4px 10px; }

}


/* ============================================================
   34. WHY SITS — CAPABILITY SECTION MOBILE XS (max 390px)
   ============================================================ */
@media (max-width: 390px) {

  .capability {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .capability-inner  { gap: 22px; }

  .capability-para   { font-size: 15px; margin-top: 12px; }
  .capability-stmt   { margin-bottom: 14px; }

  .cap-card          { padding: 16px 14px 14px; }

  .cap-context-tag   { padding: 4px 9px; font-size: 10.5px; }

}
