
:root {
  --bg: #1c2126;
  --bg2: #171b1f;
  --bg3: #14171a;
  --surface: #23282e;
  --surface2: #2b3138;
  --blue: #c8813a;
  --blue-bright: #e0a05c;
  --teal: #5b7c94;
  --gold: #cbb26a;
  --gold-light: #e0cf94;
  --red: #d1453b;
  --amber: #d99a2b;
  --green: #5b9a5f;
  --text: #eef0f2;
  --text-dim: #9aa3ab;
  --text-muted: #5b636b;
  --border: rgba(154,163,171,0.16);
  --glow-blue: 0 0 20px rgba(200,129,58,0.35);
  --glow-teal: 0 0 20px rgba(91,124,148,0.30);
  --glow-gold: 0 0 16px rgba(203,178,106,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ═══════════════════════════════════════
   CURSOR SYSTEM — VERSION TOGGLE
═══════════════════════════════════════ */
/* Native cursor is only hidden once main.js confirms a custom
   cursor will actually be rendered (see initCursor). If JS never
   runs, this class is never added and the OS pointer stays visible. */
body.custom-cursor-active,
body.custom-cursor-active * {
  cursor: none !important;
}
.cursor-dot, .cursor-ring-a, .cursor-ring-b { display: none; }
body[data-cursor="a"] .cursor-dot,
body[data-cursor="a"] .cursor-ring-a { display: block; }
body[data-cursor="b"] .cursor-ring-b { display: block; }
body.cursor-idle .cursor-dot,
body.cursor-idle .cursor-ring-a,
body.cursor-idle .cursor-ring-b { opacity: 0; }
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--blue-bright);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2000005;
  transition: transform 0.1s ease, opacity 0.2s ease;
  transform: translate(-50%, -50%);
}

/* VERSION A — Electric Arc Ring */
.cursor-ring-a {
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue-bright);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2000004;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.2s ease;
  box-shadow: 0 0 12px var(--blue-bright), inset 0 0 8px rgba(224,160,92,0.15);
}
.cursor-ring-a::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(224,160,92,0.3);
  animation: ringRotate 3s linear infinite;
}
.cursor-ring-a::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--teal);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--teal);
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

body.cursor-hover .cursor-ring-a {
  width: 60px; height: 60px;
  border-color: var(--teal);
  box-shadow: 0 0 20px var(--teal), inset 0 0 12px rgba(91,124,148,0.1);
}
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0.5); opacity: 0.5; }

/* VERSION B — Energy Trail */
.cursor-ring-b {
  width: 20px; height: 20px;
  background: radial-gradient(circle, rgba(224,160,92,0.8) 0%, rgba(91,124,148,0.3) 50%, transparent 100%);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2000004;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  filter: blur(1px);
}
.cursor-ring-b::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(224,160,92,0.2);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
body.cursor-hover .cursor-ring-b {
  background: radial-gradient(circle, rgba(91,124,148,1) 0%, rgba(203,178,106,0.4) 60%, transparent 100%);
  transform: translate(-50%, -50%) scale(2);
}

/* Trail particles */
.trail-particle {
  position: fixed;
  pointer-events: none;
  z-index: 2000002;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  transform: translate(-50%, -50%);
  animation: trailFade 0.8s ease-out forwards;
}
@keyframes trailFade {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
}

/* Version selector */
.cursor-switcher, .control-pill {
  display: none !important;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(23,27,31,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
nav.scrolled {
  height: 60px;
  background: rgba(23,27,31,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(224,160,92,0.6));
}
.nav-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.25;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo-text span { color: var(--blue-bright); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--blue-bright); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: white;
  border: none;
  padding: 10px 22px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(200,129,58,0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(200,129,58,0.5);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 120px 80px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,129,58,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(91,124,148,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(203,178,106,0.04) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224,160,92,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,160,92,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(91,124,148,0.3);
  border-radius: 2px;
  background: rgba(91,124,148,0.05);
  animation: fadeSlideUp 0.8s ease forwards;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
  animation: blink 1.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  animation: fadeSlideUp 0.9s 0.1s ease both;
}
.hero-h1 .accent { color: var(--blue-bright); }
.hero-h1 .accent2 { color: var(--teal); }

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 400;
  animation: fadeSlideUp 1s 0.2s ease both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 1.1s 0.3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, #0e6bc4 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 24px rgba(200,129,58,0.35);
  border: 1px solid rgba(224,160,92,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(200,129,58,0.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.16);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 16px rgba(91,124,148,0.2);
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  overflow: hidden;
}
.hero-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}
.hero-stat-strip {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeSlideUp 1.2s 0.4s ease both;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-bright);
  line-height: 1;
}
.stat-num.gold { color: var(--gold-light); }
.stat-num.teal { color: var(--teal); }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   SECTIONS COMMON
═══════════════════════════════════════ */
section { padding: 100px 80px; }
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title .blue { color: var(--blue-bright); }
.section-title .teal { color: var(--teal); }
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
#trust {
  background: var(--bg2);
  padding: 60px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.trust-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
  background: var(--surface);
  transition: all 0.3s;
}
.trust-item:hover {
  background: var(--surface2);
  box-shadow: inset 0 0 30px rgba(200,129,58,0.05);
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.trust-num {
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-bright), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.trust-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ═══════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════ */
#problem {
  background: var(--bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.problem-card {
  background: linear-gradient(135deg, rgba(209,69,59,0.08), rgba(209,69,59,0.02));
  border: 1px solid rgba(209,69,59,0.2);
  border-radius: 8px;
  padding: 28px 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(209,69,59,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209,69,59,0.4);
  box-shadow: 0 12px 40px rgba(209,69,59,0.1), 0 0 0 1px rgba(209,69,59,0.1);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.problem-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.problem-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.problem-solution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.05em;
  padding: 6px 12px;
  background: rgba(91,124,148,0.08);
  border-radius: 3px;
  border-left: 2px solid var(--teal);
  display: inline-block;
}

/* ═══════════════════════════════════════
   SOLUTION FLOW
═══════════════════════════════════════ */
#solution {
  background: var(--bg2);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--teal), var(--blue), transparent);
  z-index: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.flow-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s;
}
.flow-num:hover {
  transform: scale(1.1);
}
.fn-1 { background: var(--blue); box-shadow: 0 0 24px rgba(200,129,58,0.5); }
.fn-2 { background: var(--teal); color: #0a0b0f; box-shadow: 0 0 24px rgba(91,124,148,0.5); }
.fn-3 { background: var(--gold); color: #0a0b0f; box-shadow: 0 0 24px rgba(203,178,106,0.5); }
.fn-4 { background: var(--green); color: #0a0b0f; box-shadow: 0 0 24px rgba(91,154,95,0.5); }
.flow-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.flow-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ═══════════════════════════════════════
   SPECIALIZED SOLUTIONS
═══════════════════════════════════════ */
#industry {
  background: var(--bg);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224,160,92,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(224,160,92,0.1);
  background: var(--surface2);
}
.industry-card:hover::after { transform: scaleX(1); }
.ic-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.ic-title {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--blue-bright);
}
.ic-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

.premium-box {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(203,178,106,0.08), rgba(203,178,106,0.02));
  border: 1px solid rgba(203,178,106,0.25);
  border-radius: 8px;
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.premium-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: rgba(203,178,106,0.1);
  border: 1px solid rgba(203,178,106,0.3);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 4px;
}
.premium-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.premium-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.premium-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 6px 14px;
  background: rgba(203,178,106,0.06);
  border-radius: 3px;
  border: 1px solid rgba(203,178,106,0.15);
}
.premium-list li::before {
  content: '◆ ';
  color: var(--gold);
  font-size: 8px;
}

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
#services {
  background: var(--bg2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.service-col {
  background: var(--surface);
  padding: 36px 28px;
}
.svc-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.svc-tier {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tier-core { color: var(--blue-bright); }
.tier-perf { color: var(--teal); }
.tier-intel { color: var(--gold); }
.svc-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.svc-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 6px;
  transition: all 0.3s;
  cursor: default;
}
.svc-item:hover {
  background: var(--surface2);
  transform: translateX(4px);
}
.svc-ico {
  font-size: 20px;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.svc-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}
.svc-desc { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ═══════════════════════════════════════
   EPC MODEL
═══════════════════════════════════════ */
#epc {
  background: var(--bg);
}
.epc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.epc-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}
.epc-step:hover {
  border-color: rgba(224,160,92,0.3);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}
.epc-num {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(224,160,92,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.epc-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.epc-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.epc-accountability {
  margin-top: 40px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(200,129,58,0.08), rgba(91,124,148,0.08));
  border: 1px solid rgba(224,160,92,0.2);
  border-radius: 8px;
}
.epc-accountability p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.epc-accountability span { color: var(--teal); }

/* ═══════════════════════════════════════
   TECH LAYER
═══════════════════════════════════════ */
#tech {
  background: var(--bg2);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-50%) scale(0.5);
}
.tc-blue::before { background: radial-gradient(circle, rgba(200,129,58,0.4), transparent); }
.tc-teal::before { background: radial-gradient(circle, rgba(91,124,148,0.4), transparent); }
.tc-gold::before { background: radial-gradient(circle, rgba(203,178,106,0.4), transparent); }
.tech-card:hover { transform: translateY(-6px); border-color: rgba(224,160,92,0.3); }
.tech-card:hover::before { opacity: 1; transform: translateX(-50%) scale(2); top: 0; }
.tech-ico {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.tech-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.tech-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* ═══════════════════════════════════════
   CASE STUDIES
═══════════════════════════════════════ */
#cases {
  background: var(--bg);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  border-color: rgba(91,124,148,0.3);
}
.case-header {
  height: 6px;
}
.ch-blue { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.ch-teal { background: linear-gradient(90deg, var(--teal), #06f0d8); }
.ch-green { background: linear-gradient(90deg, var(--green), #06d65a); }
.case-body { padding: 28px; }
.case-type {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.case-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}
.case-metric {
  font-family: 'Oswald', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.cm-blue { color: var(--blue-bright); }
.cm-teal { color: var(--teal); }
.cm-green { color: var(--green); }
.case-metric-label { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.case-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════
   PROJECT ASSURANCE
═══════════════════════════════════════ */
#assurance {
  background: var(--bg2);
}
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.assurance-card {
  background: var(--surface);
  border: 1px solid rgba(200,129,58,0.15);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.assurance-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 0 0 4px 4px;
}
.assurance-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,129,58,0.3);
  box-shadow: 0 10px 30px rgba(200,129,58,0.1);
}
.assurance-ico { font-size: 28px; margin-bottom: 12px; display: block; }
.assurance-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.assurance-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ═══════════════════════════════════════
   URGENCY
═══════════════════════════════════════ */
#urgency {
  background: var(--bg);
}
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.urgency-card {
  background: linear-gradient(135deg, rgba(217,154,43,0.08), rgba(217,154,43,0.02));
  border: 1px solid rgba(217,154,43,0.2);
  border-radius: 8px;
  padding: 24px 20px;
  transition: all 0.3s;
}
.urgency-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217,154,43,0.4);
  box-shadow: 0 8px 24px rgba(217,154,43,0.1);
}
.urgency-ico { font-size: 26px; margin-bottom: 12px; display: block; }
.urgency-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.urgency-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.urgency-quote {
  margin-top: 40px;
  padding: 24px 32px;
  border-left: 3px solid var(--amber);
  background: rgba(217,154,43,0.04);
  border-radius: 0 8px 8px 0;
}
.urgency-quote p {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  color: var(--amber);
  font-style: italic;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   LEADERSHIP
═══════════════════════════════════════ */
#leadership {
  background: var(--bg2);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.leader-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  transition: all 0.35s;
}
.leader-card:hover {
  border-color: rgba(224,160,92,0.3);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45), var(--glow-blue);
  transform: translateY(-4px);
}
.leader-photo {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.9) contrast(1.05);
  transition: filter 0.3s;
}
.leader-card:hover .leader-photo img {
  filter: brightness(1) contrast(1.1);
}
.leader-photo::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, var(--surface));
}
.leader-info {
  padding: 28px 28px 28px 20px;
  flex: 1;
}
.leader-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.leader-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}
.leader-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.leader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ltag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   CLIENT JOURNEY
═══════════════════════════════════════ */
#journey {
  background: var(--bg);
}
.journey-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 56px;
  position: relative;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold), var(--green), var(--blue-bright));
}
.jt-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.jt-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  position: relative;
  transition: transform 0.3s;
}
.jt-node:hover { transform: scale(1.2); }
.jn-1 { background: var(--blue); box-shadow: 0 0 20px rgba(200,129,58,0.5); }
.jn-2 { background: var(--teal); box-shadow: 0 0 20px rgba(91,124,148,0.5); }
.jn-3 { background: var(--gold); box-shadow: 0 0 20px rgba(203,178,106,0.5); }
.jn-4 { background: var(--green); box-shadow: 0 0 20px rgba(91,154,95,0.5); }
.jn-5 { background: var(--blue-bright); box-shadow: 0 0 20px rgba(224,160,92,0.5); color: #0a0b0f; }
.jt-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.jt-desc { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* ═══════════════════════════════════════
   CLIENTS
═══════════════════════════════════════ */
#clients {
  background: var(--bg2);
}
.clients-track-wrapper {
  overflow: hidden;
  margin-top: 48px;
  -webkit-mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.clients-track {
  display: flex;
  gap: 24px;
  animation: scrollClients 30s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 160px;
  flex-shrink: 0;
  transition: all 0.3s;
  filter: grayscale(80%) opacity(0.7);
}
.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  border-color: rgba(224,160,92,0.3);
  box-shadow: 0 0 16px rgba(224,160,92,0.1);
}
.client-logo img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

/* ═══════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════ */
#cta {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200,129,58,0.08) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-pre {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact {
  background: var(--bg2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
}
.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--blue-bright);
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-ico {
  width: 40px; height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.contact-item-val a {
  color: var(--blue-bright);
  text-decoration: none;
}
.contact-item-val a:hover { color: var(--teal); }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(200,129,58,0.1);
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form select { appearance: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row input { margin-bottom: 0; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: brightness(1.05);
}
.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-bright); }

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  section { padding: 60px 24px; }
  nav { padding: 0 24px; }
  #hero { padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .trust-grid, .problem-grid, .cases-grid,
  .services-grid, .epc-grid, .tech-grid,
  .industry-grid, .assurance-grid, .urgency-grid,
  .leadership-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps::before { display: none; }
  .journey-timeline { flex-direction: column; gap: 24px; }
  .journey-timeline::before { display: none; }
  .nav-links { display: none; }
  .hero-stat-strip { flex-direction: column; gap: 20px; }
  footer { flex-direction: column; text-align: center; }
  .leader-card { flex-direction: column; }
  .leader-photo { width: 100%; height: 220px; }
  .leader-photo::after { display: none; }
}

/* ═══════════════════════════════════════
   MULTI-PAGE ADDITIONS
═══════════════════════════════════════ */
a { text-decoration: none; color: inherit; }
.nav-links { position: relative; }
.nav-links > li { position: relative; }
.mega-panel {
  position: fixed;
  top: 78px;
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  padding: 40px 80px;
  display: none;
  z-index: 999;
}
.nav-links > li:hover .mega-panel,
.mega-panel:hover { display: block; }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.mega-col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.mega-col a { display: block; padding: 8px 0; color: var(--text); font-size: 15px; font-weight: 500; transition: color .2s, transform .2s; }
.mega-col a:hover { color: var(--blue-bright); transform: translateX(4px); }
.mega-col a span { display: block; font-size: 12px; color: var(--text-dim); font-weight: 400; margin-top: 2px; }

.page-hero {
  padding: 180px 80px 80px;
  position: relative;
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; color: var(--text-dim); letter-spacing: 0.05em;
  margin-bottom: 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb .sep { color: var(--text-muted); }
.page-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.15; max-width: 900px; margin-bottom: 20px;
}
.page-hero-title .accent { color: var(--blue-bright); }
.page-hero-sub { font-size: 18px; color: var(--text-dim); max-width: 680px; line-height: 1.7; }

.content-section { padding: 80px; }
.content-section.tight { padding: 60px 80px; }
.content-section.alt { background: var(--bg2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.icon-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 28px; transition: transform .3s, border-color .3s;
}
.icon-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.icon-card-ico { font-size: 26px; margin-bottom: 14px; }
.icon-card-title { font-family: 'Oswald', sans-serif; font-size: 15px; margin-bottom: 10px; letter-spacing: .02em; }
.icon-card-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

.scope-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.scope-chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 16px; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 10px;
}
.scope-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; box-shadow: 0 0 8px var(--teal); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.related-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px;
  transition: border-color .3s, transform .3s;
}
.related-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.related-card-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.related-card-title { font-family: 'Oswald', sans-serif; font-size: 14px; margin-bottom: 6px; }
.related-card-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

.page-cta {
  padding: 90px 80px; text-align: center; background: var(--bg3);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.page-cta-title { font-family: 'Oswald', sans-serif; font-size: clamp(22px, 3vw, 34px); margin-bottom: 16px; }
.page-cta-sub { color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; }

.simple-list { list-style: none; margin-top: 20px; }
.simple-list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--border); position: relative; color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.simple-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--teal); }
.simple-list li strong { color: var(--text); }

.stat-row { display: flex; gap: 48px; flex-wrap: wrap; margin: 32px 0; }
.stat-row .stat-item { text-align: left; }

.mini-timeline { margin-top: 40px; }
.mini-timeline-item { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.mini-timeline-item::before { content: ''; position: absolute; left: 19px; top: 36px; bottom: 0; width: 1px; background: var(--border); }
.mini-timeline-item:last-child::before { display: none; }
.mtl-node { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--blue); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--blue-bright); flex-shrink: 0; }
.mtl-title { font-family: 'Oswald', sans-serif; font-size: 15px; margin-bottom: 6px; }
.mtl-desc { color: var(--text-dim); font-size: 14px; line-height: 1.6; }

.badge { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); background: rgba(203,178,106,0.1); border: 1px solid rgba(203,178,106,0.3); padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }

@media (max-width: 900px) {
  .mega-panel { padding: 24px; }
  .mega-cols { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 140px 24px 50px; }
  .content-section { padding: 50px 24px; }
  .page-cta { padding: 60px 24px; }
}

/* ═══════════════════════════════════════
   BACKGROUND CANVAS & THEME ANIMATION
   RS ELECTRICALS & HVAC INFRASTRUCTURE
═══════════════════════════════════════ */
#bg-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright) 0%, var(--teal) 50%, var(--gold) 100%);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--blue-bright);
}

/* Unified floating controls widget */
.controls-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.control-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 33, 38, 0.88);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 5px 12px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.control-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-right: 4px;
}

.control-pill button {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-dim);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.05em;
}

.control-pill button.active {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: white;
  box-shadow: 0 0 12px rgba(200, 129, 58, 0.5);
}

.control-pill button:hover:not(.active) {
  border-color: var(--teal);
  color: var(--text);
}

.back-to-top {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(200,129,58,0.5);
}

/* Hero Live Status Badge */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,154,95,0.1);
  border: 1px solid rgba(91,154,95,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 18px;
}

.hero-live-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(91,154,95,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(91,154,95,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(91,154,95,0); }
}

/* Assessment Modal Overlay (Zero-GPU overhead: no backdrop-filter) */
.assessment-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.94);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 20px;
}

.assessment-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.assessment-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(224,160,92,0.12);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 36px;
}

.assessment-modal-overlay.active .assessment-modal {
  transform: translateY(0) scale(1);
}

body.modal-open {
  overflow: hidden !important;
}

/* Restore native hardware OS mouse pointer when modal is open (0ms latency, never vanishes) */
body.modal-open,
body.modal-open * {
  cursor: default !important;
}
body.modal-open a,
body.modal-open button,
body.modal-open select,
body.modal-open .modal-close,
body.modal-open .modal-submit-btn,
body.modal-open input[type="checkbox"],
body.modal-open label {
  cursor: pointer !important;
}
body.modal-open input[type="text"],
body.modal-open input[type="tel"],
body.modal-open textarea {
  cursor: text !important;
}

/* Hide artificial JS software cursor elements while modal is open */
body.modal-open .cursor-dot,
body.modal-open .cursor-ring-a,
body.modal-open .cursor-ring-b,
body.modal-open .trail-particle {
  display: none !important;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--text-dim);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.modal-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.modal-form-group {
  margin-bottom: 18px;
}

.modal-form-group label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 12px rgba(224,160,92,0.25);
}

.service-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-opt-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.service-opt-btn.selected,
.service-opt-btn:hover {
  background: rgba(91,124,148,0.15);
  border-color: var(--teal);
  color: var(--text);
}

.service-opt-btn.selected::before {
  content: '✓ ';
  color: var(--teal);
}

.modal-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(200,129,58,0.35);
  margin-top: 10px;
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(200,129,58,0.5);
}

/* Card hover glow & specular highlights */
.industry-card, .service-col, .problem-card, .icon-card, .trust-item {
  position: relative;
}

.industry-card::before, .service-col::before, .icon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(224,160,92,0.06), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover::before, .service-col:hover::before, .icon-card:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════
   EXTENDED CONTENT & FAQ ACCORDIONS
   100+ SEO FEATURE SUITE STYLING
═══════════════════════════════════════ */
.faq-section {
  margin-top: 48px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 32px 0 0;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover, .faq-item.active {
  border-color: rgba(224, 160, 92, 0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--blue-bright);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(91,124,148,0.15);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 24px 24px 24px;
}

/* Specification Tables */
.spec-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  background: var(--bg2);
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  line-height: 1.6;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: rgba(224, 160, 92, 0.03);
  color: var(--text);
}

.spec-table td strong {
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
}

/* Engineering Standards Badges */
.standards-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.standard-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27, 33, 38, 0.9);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 16px;
  transition: all 0.25s ease;
}

.standard-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.standard-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--blue-bright);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.standard-title {
  font-size: 13px;
  color: var(--text-dim);
}

/* SEO Technical Callout Box */
.tech-callout {
  background: linear-gradient(135deg, rgba(91,124,148,0.1), rgba(200,129,58,0.05));
  border: 1px solid rgba(91,124,148,0.3);
  border-left: 4px solid var(--blue-bright);
  border-radius: 6px;
  padding: 28px;
  margin: 32px 0;
}

.tech-callout h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}

.tech-callout p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.seo-text-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.seo-text-block h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 14px;
}

.seo-text-block p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════
   PROJECT PHOTO GALLERY (#project-gallery)
═══════════════════════════════════════ */
#project-gallery {
  padding: 80px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(91,124,148,0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,129,58,0.5);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #111417;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-blueprint-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(91,124,148,0.15) 0%, rgba(17,20,23,1) 80%);
  border: 1px stroke rgba(91,124,148,0.2);
  color: var(--teal);
  text-align: center;
  padding: 20px;
}

.gallery-blueprint-fallback svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  stroke: var(--amber);
  fill: none;
}

.gallery-info {
  padding: 20px;
}

.gallery-category-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}

.gallery-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

.gallery-location {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   TURNKEY SIZING & LOAD ESTIMATOR
═══════════════════════════════════════ */
.estimator-card {
  background: linear-gradient(135deg, rgba(23,27,31,0.95), rgba(15,18,21,0.98));
  border: 1px solid rgba(224,160,92,0.3);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 868px) {
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

.estimator-control-group {
  margin-bottom: 24px;
}

.estimator-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.estimator-slider {
  width: 100%;
  accent-color: var(--amber);
  cursor: pointer;
}

.estimator-select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
}

.estimator-results-box {
  background: rgba(91,124,148,0.08);
  border: 1px solid rgba(91,124,148,0.25);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.estimator-metric-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
}

.estimator-metric {
  text-align: center;
}

.estimator-metric-val {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
}

.estimator-metric-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   CREATIVE ABOUT & WHY RS EXTENSIONS
═══════════════════════════════════════ */

/* Comparison Matrix (Vs Trade Contractors) */
.vs-table-container {
  overflow-x: auto;
  margin: 40px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.vs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.vs-table th, .vs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.vs-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.vs-table td.badge-bad {
  color: #ff6b6b;
  font-weight: 500;
}
.vs-table td.badge-good {
  color: #51cf66;
  font-weight: 600;
}

/* Risk-Controlled Guarantees Grid */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.guarantee-card {
  background: linear-gradient(135deg, rgba(23,27,31,0.9), rgba(15,18,21,0.95));
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s ease;
}
.guarantee-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,160,92,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.guarantee-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}
.guarantee-title {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}
.guarantee-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Expanded 22-Year Engineering Timeline */
.timeline-expanded {
  position: relative;
  margin: 40px 0;
  padding-left: 30px;
  border-left: 2px solid var(--border);
}
.timeline-expanded-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-expanded-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}
.timeline-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-event-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}
.timeline-event-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Deep Profile Leadership Cards */
.leadership-deep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.leadership-deep-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s;
}
.leadership-deep-card:hover {
  border-color: rgba(91,124,148,0.4);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.leader-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
  margin-bottom: 20px;
}
.leader-name {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 4px;
}
.leader-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.leader-bio {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.leader-quote-box {
  background: rgba(91,124,148,0.08);
  border-left: 3px solid var(--teal);
  padding: 16px;
  font-style: italic;
  font-size: 13px;
  color: var(--text);
}

/* ═══════════════════════════════════════
   NAVBAR MEGA MENU HOVER BRIDGE & UX FIX
═══════════════════════════════════════ */
.nav-links li {
  position: relative;
  padding: 10px 0;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 540px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  pointer-events: auto;
}

.nav-links li:hover .mega-panel,
.mega-panel:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}

.mega-cols a {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: normal;
  text-transform: none;
}

.mega-cols a:hover {
  background: rgba(91,124,148,0.15);
  color: var(--blue-bright);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════
   GOOGLE REVIEWS SLIDING CAROUSEL
═══════════════════════════════════════ */
.reviews-section {
  position: relative;
  padding: 80px 80px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .reviews-section {
    padding: 60px 40px;
  }
}

@media (max-width: 600px) {
  .reviews-section {
    padding: 40px 20px;
  }
}

.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 16px 8px; /* Breathing room so top/bottom/side borders never get clipped */
  overflow: hidden;
  box-sizing: border-box;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 20px;
  align-items: stretch;
  box-sizing: border-box;
}

.review-slide-card {
  flex: 0 0 calc(33.333% - 13.33px);
  width: calc(33.333% - 13.33px);
  box-sizing: border-box;
  margin: 0;
  background: rgba(30, 35, 42, 0.95);
  border: 1.5px solid rgba(217, 154, 43, 0.4);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.review-slide-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 16px rgba(217, 154, 43, 0.3);
}

@media (max-width: 900px) {
  .review-slide-card {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .review-slide-card {
    flex: 0 0 100%;
    width: 100%;
  }
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.reviewer-info {
  flex-grow: 1;
}

.reviewer-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: #4285F4;
  background: rgba(66,133,244,0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.review-text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  font-style: italic;
}

.reviews-nav-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.reviews-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.reviews-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 12px rgba(224,160,92,0.3);
}



/* ═══════════════════════════════════════
   DYNAMIC SECTOR BACKGROUND HUD OVERLAY
═══════════════════════════════════════ */
.sector-canvas-hud {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 23, 26, 0.85);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--amber);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sector-canvas-hud:hover {
  border-color: var(--amber);
  box-shadow: 0 0 16px rgba(217,154,43,0.35);
}

.sector-canvas-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.25); }
}

/* ═══════════════════════════════════════
   ENHANCEMENTS: MOBILE NAV DRAWER, LIGHTBOX, TOASTS, SEARCH & BOQ PRINT
   ═══════════════════════════════════════ */

/* 1. Mobile Menu Hamburger Button & Drawer */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1005;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--amber);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--amber);
}

@media (max-width: 992px) {
  .mobile-menu-btn { display: flex; }
  .nav-links { display: none !important; }
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 1003;
  padding: 80px 24px 32px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  transform: translateX(-340px);
}

.mobile-drawer-header {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.mobile-nav-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.mobile-nav-item > a:hover {
  color: var(--blue-bright);
}
.mobile-submenu {
  display: none;
  padding-left: 16px;
  margin-top: 6px;
  border-left: 2px solid var(--amber);
  list-style: none;
}
.mobile-submenu.open { display: block; }
.mobile-submenu a {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 0;
}
.mobile-submenu a:hover { color: var(--blue-bright); }

/* 2. Interactive Image Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px rgba(224,160,92,0.2);
}
.lightbox-caption {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
  text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(35, 40, 46, 0.85);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox-close { top: -55px; right: 0; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 16px rgba(217,154,43,0.4);
}
@media (max-width: 768px) {
  .lightbox-prev { left: 10px; top: auto; bottom: -60px; transform: none; }
  .lightbox-next { right: 10px; top: auto; bottom: -60px; transform: none; }
}

/* 3. Toast Notifications Stack */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast-item {
  pointer-events: auto;
  background: rgba(23, 27, 31, 0.95);
  border: 1px solid var(--amber);
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 16px rgba(217, 154, 43, 0.25);
  backdrop-filter: blur(12px);
  transform: translateX(-120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  opacity: 0;
}
.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}
.toast-icon {
  font-size: 16px;
  color: var(--amber);
}

/* 4. Live Search & Filter Engine Component */
.search-filter-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto 30px;
}
.search-filter-input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 12px 20px 12px 46px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.search-filter-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(217, 154, 43, 0.3);
}
.search-filter-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 16px;
  pointer-events: none;
}



/* 6. Printable Technical BOQ Document Rules */
@media print {
  body * { visibility: hidden; }
  #boq-print-area, #boq-print-area * { visibility: visible; }
  #boq-print-area {
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    color: #111 !important;
    background: #fff !important;
    padding: 30px;
    font-family: 'IBM Plex Sans', sans-serif;
  }
}
.boq-print-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #111;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.boq-print-title { font-family: 'Oswald', sans-serif; font-size: 24px; color: #111; }
.boq-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.boq-table th, .boq-table td { border: 1px solid #ccc; padding: 10px; font-size: 12px; text-align: left; }
.boq-table th { background: #f0f4f8; }

/* 7. Metallic Shimmer & Focus Polish */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber) !important;
  outline-offset: 3px !important;
}

/* 8. 20-Second Auto Sign In / Client Portal Modal */
.signin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}
.signin-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.signin-modal-card {
  background: var(--bg2);
  border: 1px solid var(--amber);
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 30px rgba(217, 154, 43, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.signin-modal-overlay.active .signin-modal-card {
  transform: translateY(0) scale(1);
}
.signin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.signin-modal-close:hover { color: var(--amber); }

.signin-tabs-nav {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.signin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.2s;
}
.signin-tab-btn.active {
  color: var(--amber);
}
.signin-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.signin-form-group {
  margin-bottom: 16px;
}
.signin-label {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.signin-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signin-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 12px rgba(217, 154, 43, 0.25);
}
.signin-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(200, 129, 58, 0.3);
}
.signin-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(200, 129, 58, 0.5);
}

/* ═══════════════════════════════════════
   9. UNIVERSAL ADAPTABLE RESPONSIVE DESIGN SYSTEM (PHONES, TABLETS, LAPTOPS & DESKTOPS)
   ═══════════════════════════════════════ */

/* Fluid Typography & Container Max-Width Alignment */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.page-hero-title, .section-title {
  font-size: clamp(26px, 4.5vw, 48px) !important;
  line-height: 1.15;
}

.page-hero-sub, .section-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  max-width: 800px;
}

/* 1. Large Desktops & 4K Monitors (> 1440px) */
@media (min-width: 1441px) {
  .container { max-width: 1440px; }
  body { font-size: 17px; }
}

/* 2. Tablets & iPad Devices (768px to 1024px) */
@media (max-width: 1024px) {
  .calc-grid, .estimator-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-grid, .industry-grid, .case-study-grid, .guarantee-grid, .leadership-deep-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
  .vs-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sector-canvas-hud {
    top: 75px;
    right: 16px;
    font-size: 10px;
    padding: 5px 12px;
  }
}

/* 3. Mobile Devices & Smartphones (< 767px) */
@media (max-width: 767px) {
  nav {
    padding: 0 16px;
    height: 60px;
  }
  .nav-logo-img {
    height: 34px;
  }
  .nav-logo-text {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .nav-cta {
    display: none; /* Accessible in mobile navigation drawer */
  }
  .page-hero {
    padding: 90px 16px 40px;
  }
  .content-section {
    padding: 40px 0;
  }
  
  /* 1-Column Mobile Layout for all Grids */
  .services-grid, .industry-grid, .case-study-grid, .guarantee-grid, .leadership-deep-grid, .mega-cols {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Form Inputs iOS Auto-Zoom Fix (font-size >= 16px) */
  input, select, textarea, .calc-input, .calc-select, .signin-input {
    font-size: 16px !important;
    padding: 12px 14px;
    min-height: 44px; /* Touch Target Compliance */
  }

  button, .btn-primary, .btn-secondary, .nav-cta, .calc-tab-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsive Calculator Tabs Navigation */
  .calc-tabs-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .calc-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 12px;
    padding: 8px 14px;
  }

  /* Floating Widgets Mobile Optimization */
  .sector-canvas-hud {
    top: 68px;
    right: 10px;
    font-size: 9px;
    padding: 4px 10px;
    border-radius: 14px;
  }

  #toast-container {
    bottom: 80px;
    left: 12px;
    right: 12px;
  }
  .toast-item {
    width: 100%;
    font-size: 12px;
  }



  .back-to-top {
    bottom: 64px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  /* Modals Adaptability */
  .assessment-modal, .signin-modal-card {
    padding: 24px 18px;
    max-width: 94vw;
  }
}

@media (max-width: 480px) {
  html, body {
    touch-action: manipulation;
  }
  .hero-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
  .services-grid, .service-cols-grid, .calc-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Floating WhatsApp Direct Chat Widget */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 30px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 100001;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}
