/* ============================================================
   GCS Oman — V13
   Brand-matched palette: golden amber (logo gear) + cyan (factory icon).
   ============================================================ */

:root {
  /* Surfaces - cooler off-whites to flatter the amber */
  --bg: #fafaf7;
  --bg-2: #ffffff;
  --bg-tint: #f5f1e6;
  --surface: #ffffff;
  --surface-tint: #fdfbf5;

  /* Lines */
  --line: rgba(60, 50, 30, 0.08);
  --line-2: rgba(60, 50, 30, 0.18);

  /* Ink (charcoal — matches logo's gray text) */
  --ink: #2a2a2a;
  --ink-2: #424242;
  --mute: #6b6b6b;
  --dim: #a0a0a0;

  /* Primary — golden amber from the GCS gear */
  --primary: #d4a017;
  --primary-2: #b8860b;
  --primary-3: #e6b53a;
  --primary-soft: #fcf3d7;

  /* Accent — cyan from the small factory icon + arrow */
  --accent: #00bcd4;
  --accent-2: #0097a7;
  --accent-3: #4dd0e1;
  --accent-soft: #d1f3f7;

  /* Aliases kept for legacy class compatibility */
  --gold: #d4a017;
  --olive: #b8860b;

  /* Gradients */
  --grad-1: linear-gradient(135deg, #d4a017, #b8860b);
  --grad-2: linear-gradient(135deg, #00bcd4, #0097a7);
  --grad-3: linear-gradient(135deg, #fcf3d7, #d1f3f7);
  --grad-amber-cyan: linear-gradient(135deg, #d4a017 0%, #e6b53a 50%, #00bcd4 100%);
  --grad-soft: linear-gradient(180deg, var(--bg), var(--bg-tint));

  /* Effects */
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 12px rgba(40, 30, 10, 0.06);
  --shadow-md: 0 12px 36px rgba(40, 30, 10, 0.10);
  --shadow-lg: 0 30px 80px rgba(40, 30, 10, 0.14);

  /* Transitions */
  --t-fast: 0.2s;
  --t-base: 0.45s;
  --t-slow: 0.8s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type */
  --f-display: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1280px;
  --section-py: clamp(70px, 9vw, 140px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) ease; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--f-body); letter-spacing: 0; }
p { margin-bottom: 1em; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--mute);
  line-height: 1.65;
  font-weight: 400;
}
em, .italic { font-style: italic; color: var(--primary-2); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px 6px 14px;
  background: rgba(45, 106, 79, 0.08);
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.accent-text { color: var(--accent-2); font-style: italic; font-family: var(--f-display); font-weight: 500; }
.serif { font-family: var(--f-display); font-style: italic; font-weight: 400; color: var(--primary); }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: var(--section-py) 0; position: relative; }
.section-tint { background: var(--bg-tint); }
.section-cream { background: var(--surface-tint); }
.section-head { max-width: 760px; margin-bottom: 70px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--mute); font-size: 1.08rem; max-width: 600px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg-2);
}
.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(26, 60, 50, 0.25);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 107, 53, 0.32);
}
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--bg-2); transform: translateY(-3px); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.btn-link:hover { color: var(--accent-2); }
.btn-link:hover::after { transform-origin: left; transform: scaleX(1); }
.btn-link svg { width: 14px; height: 14px; transition: transform var(--t-fast) ease; }
.btn-link:hover svg { transform: translateX(4px); }

/* Top bar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 8px 0;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
}
.topbar .container { display: flex; justify-content: center; align-items: center; gap: 0; }
.topbar a { color: inherit; transition: color var(--t-fast) ease; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar-info { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.topbar-info > * { display: inline-flex; align-items: center; gap: 5px; }
.topbar-info > * + *::before { content: "·"; margin: 0 16px; opacity: 0.35; }
.topbar-info svg { flex-shrink: 0; opacity: 0.75; position: relative; top: -0.5px; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 247, 242, 0.96);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: padding var(--t-base) var(--ease);
}
.scrolled .nav { padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; transition: transform var(--t-fast) ease; }
.brand:hover { transform: scale(1.02); }
.brand img { height: 44px; width: auto; transition: height var(--t-base) var(--ease); }
.scrolled .brand img { height: 38px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu > li > a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color var(--t-fast) ease;
}
.nav-menu > li > a::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--t-base) var(--ease), left var(--t-base) var(--ease);
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--primary); }
.nav-menu > li > a:hover::before, .nav-menu > li > a.active::before { width: 24px; left: calc(50% - 12px); }

.has-submenu { position: relative; }
.has-submenu > a::after { content: "›"; font-size: 1.1em; margin-left: 6px; transform: rotate(90deg); display: inline-block; transition: transform var(--t-fast) ease; line-height: 1; }
.has-submenu:hover > a::after { transform: rotate(270deg); }
.submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 12px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease);
}
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0);
}
.submenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: all var(--t-fast) ease;
}
.submenu li a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--t-fast) ease;
  color: var(--accent);
}
.submenu li a:hover { background: var(--bg-tint); color: var(--primary); }
.submenu li a:hover::after { opacity: 1; transform: translateX(0); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER (V6)
   Full-bleed slider with Ken Burns zoom, word reveals, dot nav,
   progress bar, slide counter and prev/next arrows.
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-slider .slides {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s linear;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.12);   /* Ken Burns slow zoom */
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
  z-index: 1;
}
.hero-slide-content {
  position: absolute;
  bottom: 110px;
  left: 0; right: 0;
  z-index: 2;
  padding: 0 28px;
}
.hero-slide-content .container { max-width: var(--container); margin: 0 auto; }
.hero-slide.align-right .hero-slide-content .container { text-align: right; }
.hero-slide.align-right .hero-slide-content .actions { justify-content: flex-end; }
.hero-slide-content .eyebrow {
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #ffe082;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 0.4s, transform 0.7s var(--ease) 0.4s;
}
.hero-slide-content .eyebrow::before { background: #ffd54f; box-shadow: 0 0 10px #ffd54f; }
.hero-slide.active .hero-slide-content .eyebrow {
  opacity: 1; transform: translateY(0);
}
.hero-slide .hero-slide-title {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
  font-family: var(--f-display);
  margin: 0 0 32px;
  max-width: 1100px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-slide.align-right .hero-slide-title { margin-left: auto; }
.hero-slide .hero-slide-title .line {
  display: block;
  overflow: hidden;
}
.hero-slide .hero-slide-title .line-inner {
  display: inline-block;
  transform: translateY(120%);
  transition: transform 1s var(--ease);
}
.hero-slide.active .hero-slide-title .line:nth-child(1) .line-inner { transition-delay: 0.5s; transform: translateY(0); }
.hero-slide.active .hero-slide-title .line:nth-child(2) .line-inner { transition-delay: 0.65s; transform: translateY(0); }
.hero-slide.active .hero-slide-title .line:nth-child(3) .line-inner { transition-delay: 0.8s; transform: translateY(0); }
.hl-amber {
  color: var(--primary-3);
  font-style: italic;
  font-weight: 500;
}
.hl-cyan {
  color: var(--accent-3);
  font-style: italic;
  font-weight: 500;
}
.hero-slide-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 36px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 1s, transform 0.7s var(--ease) 1s;
}
.hero-slide.align-right .hero-slide-subtitle { margin-left: auto; }
.hero-slide.active .hero-slide-subtitle { opacity: 1; transform: translateY(0); }
.hero-slide-content .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease) 1.15s, transform 0.7s var(--ease) 1.15s;
}
.hero-slide.active .hero-slide-content .actions { opacity: 1; transform: translateY(0); }
.hero-slide-content .btn-primary {
  background: var(--primary);
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(212, 160, 23, 0.35);
}
.hero-slide-content .btn-primary:hover { background: var(--primary-3); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(212, 160, 23, 0.5); }
.hero-slide-content .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 28px;
}
.hero-slide-content .btn-glass:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-3px); }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 28px; right: 28px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: end;
  pointer-events: none;
  gap: 16px;
}
.slider-controls > * { pointer-events: auto; }
.slider-counter {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.slider-counter .current {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-3);
  line-height: 1;
}
.slider-counter .total {
  font-family: var(--f-display);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}
.slider-counter .divider {
  width: 60px; height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.slider-arrows {
  display: flex;
  gap: 12px;
}
.slider-arrow {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--ink); transform: scale(1.08); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.slider-dot {
  width: 38px; height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  padding: 0;
  transition: background var(--t-fast) ease;
}
.slider-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-3);
  transform: scaleX(0);
  transform-origin: left;
}
.slider-dot.active { background: rgba(255, 255, 255, 0.4); }
.slider-dot.active::after {
  transform: scaleX(1);
  transition: transform var(--autoplay-ms, 7s) linear;
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.55); }

.slider-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 5;
}
.slider-progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--grad-amber-cyan);
  width: 0;
  transition: width 0.05s linear;
}

/* Floating stats overlay */
.slider-stats {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: right;
  pointer-events: none;
}
.slider-stat .num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-3);
  line-height: 1;
}
.slider-stat .lbl {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hide stats on small screens */
@media (max-width: 1100px) {
  .slider-stats { display: none; }
}
@media (max-width: 768px) {
  .hero-slider { min-height: 560px; height: 90vh; }
  .hero-slide-content { bottom: 90px; }
  .slider-arrows { display: none; }
  .slider-counter .current { font-size: 1.6rem; }
  .slider-controls { bottom: 22px; left: 18px; right: 18px; }
}

/* Hero (homepage) */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 140, 66, 0.15), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(45, 106, 79, 0.12), transparent 50%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-content .eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40px); }
.hero-title .accent-text { display: inline-block; }
.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  color: var(--mute);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .badge {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-visual {
  position: relative;
  height: 540px;
  display: grid;
  place-items: center;
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-3);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

/* Equipment animation container */
.equipment {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  isolation: isolate;
}
.equipment::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-3);
  opacity: 0.2;
  border-radius: inherit;
  z-index: -1;
}
.equipment-frame { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.equipment svg { width: 100%; height: 100%; max-height: 400px; display: block; }
.equipment-label {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--ink);
  color: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.equipment-status {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--surface);
  color: var(--primary);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 6px 12px 6px 22px;
  border-radius: var(--r-pill);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  position: absolute;
}
.equipment-status::before {
  content: "";
  position: absolute;
  left: 9px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.4; } }

/* Accreditation badge grid */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.cred-badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.cred-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-3);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  z-index: 0;
}
.cred-badge:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.cred-badge:hover::before { opacity: 0.4; }
.cred-badge > * { position: relative; z-index: 1; }
.cred-badge .seal {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--primary);
}
.cred-badge h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--ink);
}
.cred-badge p {
  font-size: 0.78rem;
  color: var(--mute);
  margin: 0;
  font-family: var(--f-mono);
  letter-spacing: 0.05em;
}

/* Locations pill row */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.loc-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.loc-pill::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.loc-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}
.loc-pill:hover::before { transform: scaleY(1); }
.loc-pill .pin {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.loc-pill .pin svg { width: 18px; height: 18px; }
.loc-pill .name {
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
}
.loc-pill .role {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* FAQ accordion */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.faq-item[open], .faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  transition: color var(--t-fast) ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item .faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--accent-2);
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg-2);
}
.faq-answer {
  padding: 0 28px 24px;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.65;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--primary); border-bottom: 1px solid var(--accent); }
.faq-answer a:hover { color: var(--accent-2); }

/* Course catalogue (categorized) */
.cat-section { margin-bottom: 50px; }
.cat-section:last-child { margin-bottom: 0; }
.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
  flex-wrap: wrap;
  gap: 12px;
}
.cat-head h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  display: flex; align-items: center; gap: 14px;
  color: var(--ink);
}
.cat-head h3 .cat-num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.18em;
  padding: 5px 10px;
  border: 1px solid var(--primary);
  border-radius: var(--r-pill);
  font-weight: 500;
}
.cat-head .count {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--mute);
  letter-spacing: 0.12em;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.course-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.course-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 100%; width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.course-item:hover {
  background: var(--surface-tint);
  transform: translateX(3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.course-item:hover::before { transform: scaleY(1); }
.course-item .ci-num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--mute);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 26px;
}
.course-item .ci-body { flex: 1; }
.course-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 600;
  line-height: 1.35;
}
.course-item p {
  font-size: 0.82rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.5;
}
.course-item .badge {
  align-self: center;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.course-item.linked .badge { background: var(--accent-soft); color: var(--accent-2); }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: 130px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 140, 66, 0.12), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(45, 106, 79, 0.08), transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero .breadcrumb .sep { opacity: 0.4; }
.page-hero .page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero h1 { margin-bottom: 22px; max-width: 720px; }
.page-hero .lead { color: var(--mute); max-width: 620px; margin-bottom: 32px; }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Service grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.svc-card {
  background: var(--surface);
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.svc-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card .num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.svc-card .icn {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: transform var(--t-base) var(--ease);
}
.svc-card:hover .icn { transform: rotate(-6deg) scale(1.05); }
.svc-card .icn svg { width: 28px; height: 28px; }
.svc-card h3 { margin-bottom: 14px; font-size: 1.5rem; }
.svc-card p { color: var(--mute); font-size: 0.95rem; flex-grow: 1; margin-bottom: 24px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 500; font-size: 0.92rem; transition: gap var(--t-fast) ease; }
.svc-card:hover .more { gap: 14px; color: var(--accent-2); }
.svc-card .more svg { width: 14px; height: 14px; }

/* Sub-service grid (on main service pages) */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.sub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.sub-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.sub-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base) var(--ease);
}
.sub-card:hover::before { transform: scaleY(1); }
.sub-card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sub-card .ico svg { width: 18px; height: 18px; }
.sub-card h3 { font-size: 1.05rem; color: var(--ink); }
.sub-card p { font-size: 0.86rem; color: var(--mute); margin: 0; line-height: 1.55; }
.sub-card .more {
  margin-top: auto; padding-top: 8px;
  font-family: var(--f-mono); font-size: 0.72rem;
  color: var(--accent-2); letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.sub-card .more::after { content: "→"; transition: transform var(--t-fast) ease; }
.sub-card:hover .more::after { transform: translateX(4px); }

/* Stats */
.stats {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(255, 140, 66, 0.18), transparent 40%),
    radial-gradient(circle at 10% 0%, rgba(45, 106, 79, 0.18), transparent 40%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  position: relative;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item .num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-item .lbl {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Split row */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}
.split:last-child { margin-bottom: 0; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-content h2 { margin-bottom: 24px; }
.split-content .lead { margin-bottom: 28px; }
.split-content ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.split-content li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 1rem; color: var(--ink-2);
  padding-left: 0;
  position: relative;
}
.split-content li::before {
  content: "";
  width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
}

.split-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.split-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-visual:hover img { transform: scale(1.06); }
.split-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 140, 66, 0.2));
  pointer-events: none;
}
.split-visual .tag {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.split-visual.with-equipment {
  aspect-ratio: 4 / 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.split-visual.with-equipment::after { display: none; }
.split-visual.with-equipment svg { width: 100%; height: 100%; max-height: 380px; }

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
  transition: all var(--t-base) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: var(--f-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 400;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--ink); }
.step p { color: var(--mute); font-size: 0.93rem; margin: 0; }

/* Method grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.method-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
}
.method-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.method-card .m-icn {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--bg-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.method-card .m-icn svg { width: 24px; height: 24px; }
.method-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--ink); }
.method-card p { color: var(--mute); font-size: 0.93rem; margin: 0; }

/* Marquee */
.marquee {
  padding: 36px 0;
  background: var(--bg-tint);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-track > span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  color: var(--mute);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 30px;
}
.marquee-track > span::after {
  content: "✦";
  color: var(--accent);
  font-size: 0.6em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 140, 66, 0.25), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(45, 106, 79, 0.2), transparent 40%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--bg-2); margin-bottom: 12px; max-width: 600px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 520px; }
.cta-banner .btn-accent { box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface-tint);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: all var(--t-fast) ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-row {
  background: var(--surface);
  padding: 24px 28px;
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  transition: all var(--t-base) var(--ease);
}
.info-row:hover { transform: translateX(4px); border-color: var(--primary); }
.info-row .ico {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--bg-tint);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-row .ico svg { width: 22px; height: 22px; }
.info-row h3 {
  font-size: 0.78rem;
  color: var(--mute);
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 4px;
}
.info-row p, .info-row a { color: var(--ink); font-size: 1rem; margin: 0; line-height: 1.55; }
.info-row a:hover { color: var(--primary); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 140, 66, 0.08), transparent 50%),
    radial-gradient(circle at 0% 0%, rgba(45, 106, 79, 0.1), transparent 50%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
}
.footer-col h3 {
  color: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 26px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-col p { font-size: 0.93rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  transition: all var(--t-fast) ease;
  display: inline-block;
}
.footer-col ul a:hover { color: var(--accent); transform: translateX(6px); }
.footer-brand img { width: 240px; max-width: 100%; height: auto; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--bg-2);
  transition: all var(--t-base) var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--bg-2);
  transform: translateY(-3px) rotate(-6deg);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a:hover { color: var(--accent); }

/* Floating WhatsApp */
/* WhatsApp FAB + popup menu */
.fab-wrap {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.fab {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
}
.fab svg { width: 28px; height: 28px; color: #fff; pointer-events: none; }
.fab:hover { transform: scale(1.12) rotate(-8deg); }
.fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

/* WhatsApp popup menu */
.fab-menu {
  position: relative;
  z-index: 2;            /* paint cards above the FAB button + its pulse ring */
  margin-bottom: 4px;    /* extra clearance above the pulsing button */
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.fab-menu.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fab-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  text-decoration: none;
  color: #111;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--f-body);
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.fab-menu-item:hover { background: #f0fdf4; transform: translateX(-3px); }
.fab-menu-item .fab-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fab-menu-item .fab-icon svg { width: 17px; height: 17px; color: #fff; }
.fab-menu-label { display: flex; flex-direction: column; line-height: 1.3; }
.fab-menu-label span:first-child { font-size: 0.72rem; color: #666; font-weight: 400; }
.fab-menu-label span:last-child { font-size: 0.88rem; font-weight: 600; color: #111; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { opacity: 1; transform: translate(0, 0) scale(1); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].in > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].in > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].in > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-stagger].in > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-stagger].in > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-stagger].in > *:nth-child(6) { transition-delay: 0.40s; }
[data-reveal-stagger].in > *:nth-child(7) { transition-delay: 0.47s; }
[data-reveal-stagger].in > *:nth-child(8) { transition-delay: 0.54s; }
[data-reveal-stagger].in > *:nth-child(9) { transition-delay: 0.61s; }
[data-reveal-stagger].in > *:nth-child(10) { transition-delay: 0.68s; }
[data-reveal-stagger].in > *:nth-child(11) { transition-delay: 0.75s; }
[data-reveal-stagger].in > *:nth-child(12) { transition-delay: 0.82s; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Map */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Multi-map grid for contact + locations pages */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.maps-grid .map-wrap { height: 380px; }
.map-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.map-card .map-head {
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.map-card .map-head h3 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-card .map-head h3 .pin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}
.map-card .map-head .role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-tint);
}
.map-card .map-iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.map-card .map-foot {
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--mute);
}
.map-card .map-foot a { color: var(--ink); font-weight: 500; }
.map-card .map-foot a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .maps-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(26, 60, 50, 0.92), transparent);
  z-index: 1;
  transform: translateY(15px);
  opacity: 0;
  transition: all var(--t-base) var(--ease);
}
.gallery-item:hover .info { transform: translateY(0); opacity: 1; }
.gallery-item .info span {
  font-family: var(--f-mono); font-size: 0.7rem;
  color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase;
}
.gallery-item .info h3 { color: var(--bg-2); margin-top: 6px; font-size: 1.15rem; }

/* ============================================================
   EQUIPMENT ANIMATION COMMON STYLES (in-page SVGs)
   ============================================================ */
.eq-svg { width: 100%; height: auto; max-height: 420px; }
.eq-svg .face { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.eq-svg .ink { stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eq-svg .accent { stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.eq-svg .accent-fill { fill: var(--accent); }
.eq-svg .primary-fill { fill: var(--primary); }
.eq-svg .mute { stroke: var(--dim); fill: none; stroke-width: 1; stroke-linecap: round; }
.eq-svg .label-text { font-family: var(--f-mono); font-size: 8px; fill: var(--mute); }

/* Animation: Gauge needle sweep */
@keyframes gauge-sweep { 0%, 100% { transform: rotate(-120deg); } 45%, 55% { transform: rotate(60deg); } }
.eq-needle { transform-origin: center; animation: gauge-sweep 4s var(--ease) infinite; }

/* Animation: Wrench rotation */
@keyframes wrench-twist { 0%, 100% { transform: rotate(0); } 30%, 50% { transform: rotate(20deg); } }
.eq-wrench { transform-origin: 50% 80%; animation: wrench-twist 3s var(--ease) infinite; }

/* Animation: Mercury rise */
@keyframes mercury-rise { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.eq-mercury { transform-origin: bottom; animation: mercury-rise 4s var(--ease) infinite; }

/* Animation: Scale tip */
@keyframes scale-tip { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.eq-scale-arm { transform-origin: center; animation: scale-tip 4s var(--ease) infinite; }

/* Animation: Caliper jaws */
@keyframes caliper-open { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
.eq-caliper-jaw { animation: caliper-open 3s var(--ease) infinite; }

/* Animation: Wave pulse (UT, sound, gas) */
@keyframes wave-pulse-1 { 0% { r: 4; opacity: 1; } 100% { r: 50; opacity: 0; } }
@keyframes wave-pulse-2 { 0% { r: 4; opacity: 1; } 100% { r: 80; opacity: 0; } }
@keyframes wave-pulse-3 { 0% { r: 4; opacity: 1; } 100% { r: 110; opacity: 0; } }
.eq-wave-1 { animation: wave-pulse-1 2s ease-out infinite; transform-origin: center; }
.eq-wave-2 { animation: wave-pulse-2 2s ease-out infinite 0.5s; transform-origin: center; }
.eq-wave-3 { animation: wave-pulse-3 2s ease-out infinite 1s; transform-origin: center; }

/* Animation: Crane boom rotate */
@keyframes crane-rotate { 0%, 100% { transform: rotate(-15deg); } 50% { transform: rotate(15deg); } }
@keyframes hook-swing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }
.eq-crane-boom { transform-origin: 30% 100%; animation: crane-rotate 6s var(--ease) infinite; }
.eq-hook { animation: hook-swing 6s var(--ease) infinite; }

/* Animation: MEWP scissor */
@keyframes scissor-extend { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.eq-scissor { transform-origin: bottom; animation: scissor-extend 4s var(--ease) infinite; }

/* Animation: Forklift fork */
@keyframes fork-lift { 0%, 100% { transform: translateY(20px); } 50% { transform: translateY(-30px); } }
.eq-fork { animation: fork-lift 4s var(--ease) infinite; }

/* Animation: Probe scan (NDT MPI/UT) */
@keyframes probe-scan { 0%, 100% { transform: translateX(-30px); } 50% { transform: translateX(30px); } }
.eq-probe { animation: probe-scan 3s var(--ease) infinite; }

/* Animation: Magnifier sweep */
@keyframes magnify { 0%, 100% { transform: translate(-20px, -10px); } 50% { transform: translate(20px, 10px); } }
.eq-magnify { animation: magnify 4s var(--ease) infinite; }

/* Animation: Drop fall */
@keyframes drop-fall { 0% { opacity: 0; transform: translateY(-30px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(40px); } }
.eq-drop-1 { animation: drop-fall 2s ease-in infinite; }
.eq-drop-2 { animation: drop-fall 2s ease-in infinite 0.4s; }
.eq-drop-3 { animation: drop-fall 2s ease-in infinite 0.8s; }
.eq-drop-4 { animation: drop-fall 2s ease-in infinite 1.2s; }

/* Animation: Spark/flash */
@keyframes flash { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.eq-spark { animation: flash 0.6s ease-in-out infinite; transform-origin: center; }

/* Animation: Spinning */
@keyframes spin-cw { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }
.eq-spin-fast { transform-origin: center; animation: spin-cw 2s linear infinite; }
.eq-spin-slow { transform-origin: center; animation: spin-cw 6s linear infinite; }
.eq-spin-rev { transform-origin: center; animation: spin-ccw 4s linear infinite; }

/* Animation: Bar fill */
@keyframes bar-fill { 0%, 100% { transform: scaleX(0.1); } 50% { transform: scaleX(1); } }
.eq-bar { transform-origin: left; animation: bar-fill 3s var(--ease) infinite; }

/* Animation: Pulsing dot */
@keyframes dot-pulse { 0%, 100% { opacity: 0.3; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.2); } }
.eq-dot { transform-origin: center; animation: dot-pulse 1.4s ease-in-out infinite; }

/* Animation: Rising bubbles */
@keyframes bubble-rise { 0% { opacity: 0; transform: translateY(40px) scale(0.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-40px) scale(1.4); } }
.eq-bubble-1 { animation: bubble-rise 3s ease-in infinite; }
.eq-bubble-2 { animation: bubble-rise 3s ease-in infinite 0.6s; }
.eq-bubble-3 { animation: bubble-rise 3s ease-in infinite 1.2s; }
.eq-bubble-4 { animation: bubble-rise 3s ease-in infinite 1.8s; }

/* Animation: Beam scan */
@keyframes beam-fan { 0%, 100% { transform: rotate(-30deg); } 50% { transform: rotate(30deg); } }
.eq-beam { transform-origin: bottom center; animation: beam-fan 4s var(--ease) infinite; }

/* Animation: Stretch bandage */
@keyframes stretch-w { 0%, 100% { transform: scaleX(0.4); } 50% { transform: scaleX(1); } }
.eq-stretch { transform-origin: left; animation: stretch-w 3s var(--ease) infinite; }

/* Animation: Vibration shake */
@keyframes vibe-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.eq-vibe { animation: vibe-shake 0.15s linear infinite; }

/* Animation: Pendulum */
@keyframes pendulum { 0%, 100% { transform: rotate(-25deg); } 50% { transform: rotate(25deg); } }
.eq-pendulum { transform-origin: top center; animation: pendulum 3s var(--ease) infinite; }

/* Mobile */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .page-hero-grid,
  .page-hero .page-hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: auto; min-height: 400px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .split-visual { order: -1; aspect-ratio: 4 / 3; }
  .split-visual.with-equipment { aspect-ratio: 5 / 4; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 30px; text-align: center; }
}
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  /* A backdrop-filter ancestor becomes the containing block for position:fixed
     descendants, which trapped the slide-in menu inside the header (it could
     never reach the viewport edge). Drop the blur on phones and use an opaque
     header background so the fixed menu positions against the viewport. */
  .site-header,
  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #f8f7f2;
  }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 30px 40px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    /* Slide via transform (GPU-friendly, robust) instead of animating the
       right offset between a percentage and 0 — that %↔length transition is
       unreliable across engines and was the cause of the menu not sliding in. */
    transform: translateX(100%);
    transition: transform var(--t-base) var(--ease);
    overflow-y: auto;
    z-index: 60;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li > a { display: block; padding: 18px 0; font-size: 1.05rem; }
  .nav-menu > li > a::before { display: none; }
  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--bg-tint);
    padding: 6px;
    margin: 6px 0;
    opacity: 1; visibility: visible;
    border-radius: var(--r-sm);
    min-width: 0;
  }
  .nav-cta .btn-cta-header { display: none; }
  /* Top bar on phones: one tidy centred line (was overflow:hidden + nowrap → clipped).
     Show the primary tap-to-call number + email; the secondary Technical number
     stays available in the menu, footer and contact page. Wrap is the safety net
     on very narrow screens. */
  .topbar { font-size: 0.74rem; padding: 6px 0; overflow: visible; white-space: normal; }
  .topbar .container { flex-wrap: wrap; }
  .topbar-info { flex-wrap: wrap; justify-content: center; row-gap: 0; column-gap: 14px; }
  .topbar-info > * + *::before { content: none; margin: 0; }
  .topbar .topbar-info a { min-height: 32px; padding: 3px 2px; }
  .topbar-info > a:nth-child(2) { display: none; } /* hide secondary (Technical) number on phones */
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-col:nth-child(4) { grid-column: 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 110px 0 60px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .eq-svg * { animation: none !important; }
}
