/* ═══════════════════════════════════════════════════════════════
   AGAPE Infrastructure WLL — styles.css  v2
   Electric Blue + Gold Design System with 3D Elements
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { border: none; background: none; cursor: pointer; }

/* ─── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --bg:         #FFFFFF;
  --bg2:        #F3F7FF;
  --bg3:        #E8EFFF;
  --bg4:        #F8FAFF;
  --bg5:        #EDF2FF;
  --bg-glass:   rgba(255,255,255,0.90);
  --blue:       #0057D9;
  --blue2:      #0070F0;
  --blue3:      #0088EE;
  --blue-dim:   rgba(0,87,217,0.08);
  --blue-glow:  rgba(0,87,217,0.22);
  --gold:       #B87200;
  --gold2:      #D08800;
  --gold-dim:   rgba(184,114,0,0.1);
  --gold-glow:  rgba(184,114,0,0.2);
  --red:        #E31E24;
  --text:       #0C1428;
  --text2:      #354470;
  --text3:      #7080A8;
  --border:     rgba(0,0,0,0.08);
  --border2:    rgba(0,0,0,0.13);
  --border-b:   rgba(0,87,217,0.18);
  --border-g:   rgba(184,114,0,0.22);
  --font-head:  'Barlow Condensed', sans-serif;
  --font-body:  'Inter', sans-serif;
  --pad-x:      5vw;
  --pad-s:      110px;
  --ease:       cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
::selection { background: var(--blue); color: #fff; }



/* ─── PRELOADER ──────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pre-logo {
  height: 64px; width: auto; object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 8px 18px;
}
.pre-bar { width: 220px; height: 2px; background: var(--bg4); border-radius: 2px; overflow: hidden; }
.pre-fill { height: 100%; background: linear-gradient(90deg,var(--blue),var(--blue3)); border-radius: 2px; width: 0; transition: width 0.04s linear; }
.pre-pct { font-family: var(--font-head); font-size: 12px; letter-spacing: 3px; color: var(--blue3); }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(255,255,255,0.90);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: height 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  height: 62px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.09), 0 1px 0 var(--border-b);
}
.nav-brand { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img {
  height: 46px; width: auto; object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  transition: height 0.3s var(--ease);
}
#navbar.scrolled .nav-logo-img { height: 38px; }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-link {
  font-family: var(--font-head); font-weight: 500;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text2); text-decoration: none; position: relative; transition: color 0.2s;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,var(--blue),var(--blue3));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 22px;
  background: var(--gold); color: #000;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0,90% 0,100% 20%,100% 100%,10% 100%,0 80%);
  transition: background 0.2s, transform 0.15s;
}
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text2); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── SECTION BASE ───────────────────────────────────────────── */
section { padding: var(--pad-s) 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 11px;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--blue3); margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px;
  background: linear-gradient(90deg,var(--blue),var(--blue3));
}
.section-eyebrow.centered { display: flex; justify-content: center; }

.section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px,5vw,58px); line-height: 1.0;
  color: var(--text); letter-spacing: -0.5px;
}
.section-title .dim { color: rgba(12,20,40,0.18); }
.section-title.centered { text-align: center; }
.title-accent { color: var(--gold); }
.section-desc { max-width: 400px; font-size: 14px; color: var(--text3); line-height: 1.85; }
.section-sub { font-size: 15px; color: var(--text2); line-height: 1.8; margin-top: 12px; max-width: 600px; }
.body-text { font-size: 14px; color: var(--text2); line-height: 1.85; margin-bottom: 14px; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg,var(--blue),var(--blue2));
  color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0,92% 0,100% 18%,100% 100%,8% 100%,0 82%);
  position: relative; overflow: hidden;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px var(--blue-glow);
}
.btn-primary:hover { background: linear-gradient(135deg,var(--blue2),var(--blue3)); transform: translateY(-2px); }
.btn-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%,rgba(255,255,255,0.18),transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover .btn-glow { opacity: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border-b); color: var(--text2);
  font-family: var(--font-head); font-weight: 500;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost svg { width: 16px; height: 16px; opacity: 0.6; }
.btn-ghost:hover { border-color: var(--blue3); color: var(--text); background: var(--blue-dim); }

/* ─── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal-up {
  opacity: 0; transform: translateY(42px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i,0) * 0.08s);
}
.reveal-up.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0; transform: translateX(-42px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0; transform: translateX(42px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* nth-child stagger replacements for --i inline styles */
.services-grid .svc-card:nth-child(1) { --i:0 }
.services-grid .svc-card:nth-child(2) { --i:1 }
.services-grid .svc-card:nth-child(3) { --i:2 }
.services-grid .svc-card:nth-child(4) { --i:3 }
.services-grid .svc-card:nth-child(5) { --i:4 }
.services-grid .svc-card:nth-child(6) { --i:5 }
.vmv-grid .vmv-card:nth-child(1) { --i:0 }
.vmv-grid .vmv-card:nth-child(2) { --i:1 }
.vmv-grid .vmv-card:nth-child(3) { --i:2 }
.quality-grid .qpolicy-card:nth-child(1) { --i:0 }
.quality-grid .qpolicy-card:nth-child(2) { --i:1 }
.clients-grid .client-card:nth-child(1)  { --i:0 }
.clients-grid .client-card:nth-child(2)  { --i:1 }
.clients-grid .client-card:nth-child(3)  { --i:2 }
.clients-grid .client-card:nth-child(4)  { --i:3 }
.clients-grid .client-card:nth-child(5)  { --i:4 }
.clients-grid .client-card:nth-child(6)  { --i:5 }
.clients-grid .client-card:nth-child(7)  { --i:6 }
.clients-grid .client-card:nth-child(8)  { --i:7 }
.clients-grid .client-card:nth-child(9)  { --i:8 }
.clients-grid .client-card:nth-child(10) { --i:9 }
.clients-grid .client-card:nth-child(11) { --i:10 }
.clients-grid .client-card:nth-child(12) { --i:11 }
.fleet-grid .fleet-card:nth-child(1) { --i:0 }
.fleet-grid .fleet-card:nth-child(2) { --i:1 }
.fleet-grid .fleet-card:nth-child(3) { --i:2 }
.fleet-grid .fleet-card:nth-child(4) { --i:3 }
.cert-grid .cert-card:nth-child(1) { --i:0 }
.cert-grid .cert-card:nth-child(2) { --i:1 }
.qdoc-grid .qdoc-card:nth-child(1) { --i:0 }
.qdoc-grid .qdoc-card:nth-child(2) { --i:1 }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) 90px; padding-top: 74px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 25%, rgba(0,87,217,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 60%, rgba(0,60,180,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(184,114,0,0.06) 0%, transparent 60%),
    linear-gradient(155deg, var(--bg) 0%, var(--bg2) 55%, var(--bg3) 100%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,87,217,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,217,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, black 0%, transparent 75%);
}
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero-glow-1 { width: 700px; height: 450px; top: 5%; right: 0; background: rgba(0,87,217,0.08); }
.hero-glow-2 { width: 400px; height: 300px; bottom: 15%; left: 30%; background: rgba(0,60,200,0.06); }
.hero-scanline {
  position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.hero-diagonal {
  position: absolute; right: -80px; top: 0; bottom: 0; width: 480px;
  background: linear-gradient(135deg, transparent 35%, rgba(0,87,217,0.05) 100%);
  transform: skewX(-8deg); pointer-events: none;
}

/* Floating geo decorations */
.hero-geo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.geo {
  position: absolute;
  border: 1px solid rgba(0,87,217,0.15);
}
.geo-1 { width: 80px; height: 80px; top: 22%; right: 28%; transform: rotate(20deg); animation: geoFloat1 9s ease-in-out infinite; }
.geo-2 { width: 44px; height: 44px; top: 62%; right: 18%; border-color: rgba(184,114,0,0.1); transform: rotate(-30deg); animation: geoFloat2 12s ease-in-out infinite; }
.geo-3 { width: 130px; height: 130px; top: 12%; right: 52%; border-color: rgba(0,87,217,0.08); transform: rotate(12deg); animation: geoFloat3 15s ease-in-out infinite; }
.geo-4 { width: 22px; height: 22px; top: 45%; right: 38%; border-color: rgba(184,114,0,0.15); animation: geoFloat1 7s ease-in-out infinite reverse; }
@keyframes geoFloat1 { 0%,100%{transform:rotate(20deg) translateY(0)} 50%{transform:rotate(40deg) translateY(-22px)} }
@keyframes geoFloat2 { 0%,100%{transform:rotate(-30deg) translateY(0)} 50%{transform:rotate(-10deg) translateY(16px)} }
@keyframes geoFloat3 { 0%,100%{transform:rotate(12deg) translateY(0)} 50%{transform:rotate(-4deg) translateY(-28px)} }

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
  font-family: var(--font-head); font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue3);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue3); animation: blink 2s infinite;
  box-shadow: 0 0 8px var(--blue-glow);
}
.eyebrow-line { flex: 1; max-width: 60px; height: 1px; background: linear-gradient(90deg,var(--blue3),transparent); opacity: 0.7; }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(1.5)} }

.hero-headline {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(54px,9vw,108px); line-height: 0.92;
  letter-spacing: -1px; color: var(--text); margin-bottom: 28px;
}
.hl-line { display: block; }
.hl-accent { color: var(--gold); text-shadow: 0 0 40px var(--gold-glow); }
.hl-outline { -webkit-text-stroke: 1.5px rgba(12,20,40,0.3); color: transparent; }

.hero-sub {
  font-size: 15px; color: var(--text2);
  max-width: 560px; line-height: 1.8; margin-bottom: 44px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ─── HERO RIGHT PANEL (3D Cube + Logo + Stats) ─────────────── */
.hero-right-panel {
  position: absolute; right: var(--pad-x); top: 82px; bottom: 60px;
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; width: 230px;
}

/* 3D Cube */
.hero-3d-scene {
  width: 220px; height: 220px;
  position: relative;
  perspective: 900px;
}
.cube-wrap {
  width: 100px; height: 100px;
  position: absolute; top: 50%; left: 50%;
  transform-style: preserve-3d;
  animation: cubeRotate 20s linear infinite;
}
@keyframes cubeRotate {
  from { transform: translate(-50%,-50%) rotateX(18deg) rotateY(0deg); }
  to   { transform: translate(-50%,-50%) rotateX(18deg) rotateY(360deg); }
}
.cube-face {
  position: absolute; width: 100px; height: 100px;
  border: 1px solid rgba(0,87,217,0.35);
  background: rgba(0,87,217,0.04);
}
.cube-face::before {
  content: ''; position: absolute; inset: 10px;
  border: 1px solid rgba(0,87,217,0.15);
}
.cube-face::after {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,87,217,0.5);
  box-shadow: 0 0 6px rgba(0,87,217,0.4);
}
.f-front  { transform: translateZ(50px); }
.f-back   { transform: rotateY(180deg) translateZ(50px); }
.f-left   { transform: rotateY(-90deg) translateZ(50px); }
.f-right  { transform: rotateY(90deg)  translateZ(50px); }
.f-top    { transform: rotateX(90deg)  translateZ(50px); }
.f-bottom { transform: rotateX(-90deg) translateZ(50px); }

.orbit-ring {
  position: absolute; border-radius: 50%;
  top: 50%; left: 50%;
  pointer-events: none;
  animation: orbitSpin linear infinite;
}
.orbit-1 {
  width: 180px; height: 52px;
  margin-left: -90px; margin-top: -26px;
  border: 1px solid rgba(0,87,217,0.22);
  animation-duration: 10s;
}
.orbit-2 {
  width: 210px; height: 64px;
  margin-left: -105px; margin-top: -32px;
  border: 1px solid rgba(184,114,0,0.14);
  animation-duration: 16s;
  animation-direction: reverse;
  transform: rotate(28deg);
}
@keyframes orbitSpin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.orbit-2 { animation-name: orbitSpin2; }
@keyframes orbitSpin2 { from{transform:rotate(28deg)} to{transform:rotate(388deg)} }

/* Logo panel */
.hero-logo-panel {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hlp-frame {
  position: relative; padding: 20px 30px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 0 0 1px var(--border-b);
}
.hero-logo-display { height: 80px; width: auto; object-fit: contain; }
.hlp-corner {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--blue3); border-style: solid;
}
.hlp-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.hlp-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.hlp-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.hlp-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }
.hlp-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg,transparent,rgba(0,180,255,0.8),transparent);
  animation: scan 3.5s linear infinite;
}
@keyframes scan { 0%{top:0;opacity:0.9} 100%{top:100%;opacity:0} }
.hlp-label {
  font-family: var(--font-head); font-size: 10px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text3);
}
.hlp-sub { font-size: 11px; color: var(--text3); letter-spacing: 1px; }

/* Hero stats — now a flex child of .hero-right-panel */
.hero-stats-bar {
  position: relative; right: auto; bottom: auto; z-index: 2;
  display: flex; flex-direction: column; width: 100%;
  background: var(--bg-glass); border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.09), 0 0 0 1px var(--border);
}
.hsb-item {
  display: flex; align-items: baseline; gap: 2px;
  padding: 16px 28px; flex-wrap: wrap;
}
.hsb-num {
  font-family: var(--font-head); font-size: 38px;
  font-weight: 900; color: var(--blue3); line-height: 1;
}
.hsb-plus {
  font-family: var(--font-head); font-size: 18px;
  font-weight: 700; color: var(--blue3); align-self: flex-start; margin-top: 5px;
}
.hsb-label {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text3); width: 100%; margin-top: 4px;
}
.hsb-divider { height: 1px; background: var(--border); }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text3);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
}
.scroll-mouse {
  width: 20px; height: 32px; border: 1px solid rgba(0,87,217,0.3);
  border-radius: 10px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel { width: 3px; height: 6px; background: var(--blue3); border-radius: 2px; animation: wheel 2.2s infinite; }
@keyframes wheel { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(12px)} }

/* ─── MARQUEE ────────────────────────────────────────────────── */
.marquee-strip {
  background: linear-gradient(90deg,var(--blue),#0055CC,var(--blue));
  padding: 13px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; align-items: center;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.9); padding: 0 18px;
}
.mq-dot { color: rgba(255,255,255,0.4) !important; padding: 0 4px !important; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: start;
}
.about-img-frame {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  border: 1px solid var(--border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}
.about-img-frame:hover {
  transform: perspective(800px) rotateX(-3deg) rotateY(4deg);
  box-shadow: 4px 8px 20px rgba(0,0,0,0.1), 0 0 0 1px var(--border-b);
}
.aif-inner {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 39px,var(--border) 39px,var(--border) 40px),
    repeating-linear-gradient(90deg,transparent,transparent 39px,var(--border) 39px,var(--border) 40px);
}
.aif-bg-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 170px; font-weight: 900;
  color: rgba(0,87,217,0.05); letter-spacing: -4px; -webkit-user-select: none; user-select: none;
}
.aif-grid-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 35%, rgba(0,87,217,0.08) 0%, transparent 55%);
}
.aif-lines { position: absolute; inset: 20px; }
.aif-line { position: absolute; background: rgba(0,87,217,0.2); }
.aif-line-h { left: 0; right: 0; top: 32%; height: 1px; }
.aif-line-v { top: 0; bottom: 0; left: 62%; width: 1px; }
.aif-corner { position: absolute; width: 20px; height: 20px; border-color: var(--blue3); border-style: solid; }
.aif-c1 { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.aif-c2 { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.aif-c3 { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.aif-c4 { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.aif-badge {
  position: absolute; right: -22px; bottom: 44px;
  background: linear-gradient(135deg,var(--gold),var(--gold2));
  padding: 18px 22px;
  clip-path: polygon(0 0,85% 0,100% 15%,100% 100%,15% 100%,0 85%);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.abt-num { font-family: var(--font-head); font-size: 38px; font-weight: 900; color: #000; line-height: 1; }
.abt-lab { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(0,0,0,0.7); }

/* ─── ABOUT STATS PANEL ──────────────────────────────────────── */
.about-stats-panel {
  position: relative;
  background: linear-gradient(145deg, var(--bg3), var(--bg4));
  border: 1px solid var(--border-b);
  border-radius: 4px;
  padding: 32px 28px 28px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0,87,217,0.1), 0 8px 28px rgba(0,0,0,0.09);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-stats-panel:hover {
  transform: perspective(900px) rotateX(-2deg) rotateY(3deg);
  box-shadow: 0 0 36px rgba(0,87,217,0.14), 0 12px 36px rgba(0,0,0,0.11);
}
.asp-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,87,217,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,217,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
}
.asp-header {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border-b);
  padding-bottom: 20px;
  position: relative; z-index: 1;
}
.asp-logo-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: #fff; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  box-shadow: 0 0 20px rgba(0,87,217,0.3);
}
.asp-logo { width: 100%; height: auto; display: block; }
.asp-label {
  font-family: var(--font-head);
  font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue3);
}
.asp-stats {
  display: flex; flex-direction: column; gap: 18px;
  position: relative; z-index: 1;
  flex: 1;
}
.asp-stat { display: flex; flex-direction: column; gap: 6px; }
.asp-stat-row {
  display: flex; align-items: baseline; gap: 3px;
}
.asp-num {
  font-family: var(--font-head);
  font-size: 36px; font-weight: 900; line-height: 1;
  color: var(--blue3);
}
.asp-unit {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--gold);
}
.asp-desc {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text2);
}
.asp-bar {
  height: 3px; background: var(--border-b);
  border-radius: 2px; overflow: hidden;
}
.asp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue3));
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(0.22,1,0.36,1);
}
.asp-bar-fill.asp-bar-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}
.asp-bar-fill.animated { transform: scaleX(1); }
.asp-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid var(--border-b);
  position: relative; z-index: 1;
}
.asp-badge {
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-dim); border: 1px solid rgba(184,114,0,0.25);
  padding: 5px 12px; border-radius: 2px;
}
.asp-year {
  font-family: var(--font-head); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text3);
}
.asp-corner {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--blue3); border-style: solid;
}
.asp-c1 { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.asp-c2 { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.asp-c3 { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.asp-c4 { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.atag {
  padding: 5px 12px; border: 1px solid var(--border-b);
  font-size: 10.5px; letter-spacing: 1px; color: var(--blue3);
  font-family: var(--font-head); text-transform: uppercase; background: var(--blue-dim);
}
.about-lead { font-size: 16px; color: var(--text2); line-height: 1.85; margin: 28px 0 16px; }
.about-pillars { display: flex; flex-direction: column; margin-top: 8px; }
.pillar {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.pillar:first-child { border-top: 1px solid var(--border); }
.pillar-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--blue-dim); border: 1px solid var(--border-b);
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon svg { width: 18px; height: 18px; stroke: var(--blue3); }
.pillar-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.pillar-desc { font-size: 13px; color: var(--text3); line-height: 1.6; }

/* ─── SERVICES ───────────────────────────────────────────────── */
.services { background: var(--bg); }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 24px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
}
.svc-card {
  background: var(--bg); position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
}
.svc-card-inner {
  padding: 44px 36px; height: 100%; display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: background 0.3s var(--ease);
}
.svc-card:hover .svc-card-inner { background: var(--bg2); }
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--blue),var(--blue3));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
  z-index: 1;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-num {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-head); font-size: 72px; font-weight: 900;
  color: rgba(0,0,0,0.04); line-height: 1; letter-spacing: -2px;
  -webkit-user-select: none; user-select: none; transition: color 0.3s;
}
.svc-card:hover .svc-num { color: rgba(0,87,217,0.08); }
.svc-icon-wrap {
  width: 54px; height: 54px; background: var(--blue-dim);
  border: 1px solid var(--border-b); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; transition: background 0.3s, border-color 0.3s;
}
.svc-icon-wrap svg { width: 26px; height: 26px; stroke: var(--blue3); }
.svc-card:hover .svc-icon-wrap { background: rgba(0,87,217,0.2); border-color: rgba(0,180,255,0.5); }
.svc-title {
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: 0.3px; margin-bottom: 14px; line-height: 1.2;
}
.svc-desc { font-size: 13.5px; color: var(--text3); line-height: 1.75; flex: 1; margin-bottom: 20px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.svc-tags span {
  padding: 3px 9px; background: var(--bg4); border: 1px solid var(--border);
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text3); font-family: var(--font-head);
}
.svc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue3); text-decoration: none;
  opacity: 0; transform: translateX(-8px); transition: all 0.3s var(--ease);
}
.svc-cta svg { width: 14px; height: 14px; stroke: currentColor; }
.svc-card:hover .svc-cta { opacity: 1; transform: translateX(0); }
.svc-card-glow {
  position: absolute; bottom: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to top, rgba(0,87,217,0.07), transparent);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.svc-card:hover .svc-card-glow { opacity: 1; }

/* ─── PHILOSOPHY ─────────────────────────────────────────────── */
.philosophy { background: var(--bg3); position: relative; overflow: hidden; }
.philosophy-bg { position: absolute; inset: 0; pointer-events: none; }
.phil-glow {
  position: absolute; width: 900px; height: 550px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(0,87,217,0.07) 0%, transparent 70%);
  filter: blur(50px);
}
.phil-grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size: 80px 80px;
}
.vmv-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border); margin-top: 60px;
}
.vmv-card {
  background: var(--bg3); padding: 50px 38px;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.vmv-card:hover { background: var(--bg4); }
.vmv-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg,var(--blue),var(--blue3));
  opacity: 0; transition: opacity 0.3s;
}
.vmv-card:hover::before { opacity: 1; }
.vmv-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.vmv-num { font-family: var(--font-head); font-size: 11px; letter-spacing: 3px; color: var(--blue3); }
.vmv-label { font-family: var(--font-head); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--text3); }
.vmv-icon {
  width: 52px; height: 52px; background: var(--blue-dim); border: 1px solid var(--border-b);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.vmv-icon svg { width: 24px; height: 24px; stroke: var(--blue3); }
.vmv-title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 18px; line-height: 1.1; }
.vmv-text { font-size: 14px; color: var(--text2); line-height: 1.8; }
.vmv-list { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.vmv-list li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text2); }
.vmv-list li span { width: 5px; height: 5px; background: var(--blue3); flex-shrink: 0; display: inline-block; border-radius: 1px; }

/* ─── ORGANISATION ───────────────────────────────────────────── */
.organisation { background: var(--bg2); }
.org-chart { margin-top: 60px; overflow-x: auto; padding-bottom: 24px; }
.org-top-tier { display: flex; flex-direction: column; align-items: center; }
.org-node {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px; font-family: var(--font-head);
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  text-align: center; min-width: 210px; justify-content: center; border-radius: 2px;
}
.org-node-icon svg { width: 16px; height: 16px; flex-shrink: 0; }
.org-node--primary { background: rgba(0,87,217,0.1); border: 1px solid var(--border-b); color: var(--blue); }
.org-node--primary .org-node-icon svg { stroke: var(--blue3); }
.org-node--yellow { background: rgba(212,172,13,0.1); border: 1px solid rgba(212,172,13,0.32); color: #d4ac0d; }
.org-node--yellow .org-node-icon svg { stroke: #d4ac0d; }
.org-node--pink { background: rgba(217,70,139,0.1); border: 1px solid rgba(217,70,139,0.28); color: #d9468b; }
.org-node--pink .org-node-icon svg { stroke: #d9468b; }
.org-node--teal { background: rgba(32,178,170,0.1); border: 1px solid rgba(32,178,170,0.28); color: #20b2aa; }
.org-node--teal .org-node-icon svg { stroke: #20b2aa; }
.org-node--purple { background: rgba(147,112,219,0.1); border: 1px solid rgba(147,112,219,0.28); color: #9370db; }
.org-node--purple .org-node-icon svg { stroke: #9370db; }
.org-node--steel { background: rgba(70,130,180,0.1); border: 1px solid rgba(70,130,180,0.28); color: #4682b4; }
.org-node--steel .org-node-icon svg { stroke: #4682b4; }
.org-vline { width: 2px; height: 32px; background: rgba(0,87,217,0.35); margin: 0 auto; }
.org-branch-line { display: flex; flex-direction: column; align-items: center; }
.org-vline-short { width: 2px; height: 24px; background: rgba(0,87,217,0.28); }
.org-hline { width: 88%; height: 1px; background: rgba(0,87,217,0.2); margin: 0 auto; }
.org-branches {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap; align-items: flex-start; padding: 0 16px;
}
.org-branch { display: flex; flex-direction: column; align-items: center; min-width: 160px; }
.org-vline-top { width: 2px; height: 24px; background: rgba(0,87,217,0.25); }
.org-vline-sm { width: 2px; height: 16px; background: rgba(212,172,13,0.3); }
.org-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.org-sub-node { padding: 7px 12px; font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-align: center; }
.sub-yellow { background: rgba(212,172,13,0.07); border: 1px solid rgba(212,172,13,0.16); color: rgba(212,172,13,0.72); }

/* ─── QUALITY ────────────────────────────────────────────────── */
.quality { background: var(--bg); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 60px; }
.qpolicy-card {
  padding: 48px 44px; background: var(--bg2); border: 1px solid var(--border);
  position: relative; overflow: hidden; transition: border-color 0.3s;
}
.qpolicy-card:hover { border-color: var(--border-b); }
.qpolicy-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg,var(--blue),var(--blue3));
}
.qpc-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.qpc-icon {
  width: 52px; height: 52px; background: var(--blue-dim); border: 1px solid var(--border-b);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qpc-icon svg { width: 26px; height: 26px; stroke: var(--blue3); }
.qpc-icon--hse { background: rgba(32,178,170,0.1); border-color: rgba(32,178,170,0.28); }
.qpc-icon--hse svg { stroke: #20b2aa; }
.qpc-badge {
  padding: 5px 14px; background: linear-gradient(135deg,var(--blue),var(--blue2));
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff;
}
.qpc-badge--hse { background: #20b2aa; }
.qpc-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.qpc-text { font-size: 14px; color: var(--text2); line-height: 1.8; margin-bottom: 24px; }
.qpc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.qpc-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text2); }
.qpc-list li svg { width: 14px; height: 14px; stroke: var(--blue3); flex-shrink: 0; }
.qpc-footer { border-top: 1px solid var(--border); padding-top: 20px; }
.qpc-signed-label { font-family: var(--font-head); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 4px; }
.qpc-signed-date { font-size: 13px; color: var(--text2); }

/* Image fallback — shows placeholder when image file not found */
.qdoc-card img,
.cert-frame img {
  min-height: 260px;
  background: var(--bg4);
  object-fit: cover;
}
.cert-frame img { min-height: 340px; }

/* Quality document images */
.quality-docs {
  margin-top: 48px;
}
.quality-docs-head {
  font-family: var(--font-head); font-size: 13px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text3); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.quality-docs-head::before { content: ''; display: block; width: 24px; height: 1px; background: var(--border-b); }
.qdoc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qdoc-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg2);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
  cursor: zoom-in;
}
.qdoc-card:hover {
  transform: perspective(700px) rotateX(-2deg) rotateY(3deg) translateZ(6px);
  border-color: var(--border-b);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12), 0 0 16px rgba(0,87,217,0.1);
}
.qdoc-card img {
  width: 100%; height: auto; display: block;
  transition: transform 0.4s var(--ease);
}
.qdoc-card:hover img { transform: scale(1.02); }
.qdoc-caption {
  padding: 14px 18px;
  font-family: var(--font-head); font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text3);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.qdoc-caption::before {
  content: ''; display: block; width: 8px; height: 8px;
  border: 1px solid var(--blue3); border-radius: 50%; flex-shrink: 0;
}

/* ─── CERTIFICATIONS ─────────────────────────────────────────── */
.certifications {
  background: var(--bg2);
  position: relative; overflow: hidden;
}
.certifications::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,87,217,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(184,114,0,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.cert-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 60px; position: relative; z-index: 1;
}
.cert-card {
  background: var(--bg3); border: 1px solid var(--border);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.cert-card:hover {
  transform: perspective(800px) rotateX(-3deg) rotateY(4deg) translateZ(10px);
  border-color: var(--border-g);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 4px 4px 0 rgba(184,114,0,0.1);
}
.cert-frame {
  position: relative; overflow: hidden; background: #fff;
  border-bottom: 1px solid var(--border);
}
.cert-frame img {
  width: 100%; height: auto; display: block;
  transition: transform 0.4s var(--ease);
}
.cert-card:hover .cert-frame img { transform: scale(1.03); }
.cert-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top,rgba(3,5,9,0.85),transparent);
  padding: 24px 20px 14px;
}
.cert-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  font-family: var(--font-head); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #000;
}
.cert-meta {
  padding: 20px 24px 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.cert-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--blue-dim); border: 1px solid var(--border-b);
  display: flex; align-items: center; justify-content: center;
}
.cert-icon svg { width: 20px; height: 20px; stroke: var(--blue3); }
.cert-icon--gold { background: var(--gold-dim); border-color: var(--border-g); }
.cert-icon--gold svg { stroke: var(--gold); }
.cert-details { flex: 1; }
.cert-title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.cert-sub { font-size: 12px; color: var(--text3); line-height: 1.5; }

/* ─── CLIENTS ────────────────────────────────────────────────── */
.clients { background: var(--bg3); }
.clients-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border); margin-top: 60px;
}
.client-card {
  background: var(--bg3); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  border-left: 2px solid transparent;
  position: relative; overflow: hidden; transition: all 0.25s var(--ease);
}
.client-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,var(--blue-dim),transparent);
  opacity: 0; transition: opacity 0.3s;
}
.client-card:hover { background: var(--bg4); border-left-color: var(--blue3); }
.client-card:hover::before { opacity: 1; }
.cc-initial {
  font-family: var(--font-head); font-size: 32px; font-weight: 900;
  color: rgba(0,87,217,0.2); line-height: 1; position: relative; z-index: 1; transition: color 0.3s;
}
.client-card:hover .cc-initial { color: rgba(0,87,217,0.45); }
.cc-name {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--text2); line-height: 1.3; letter-spacing: 0.3px;
  position: relative; z-index: 1; transition: color 0.3s;
}
.client-card:hover .cc-name { color: var(--text); }
.cc-sector { font-size: 11px; color: var(--text3); letter-spacing: 0.5px; position: relative; z-index: 1; }
.clients-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-top: 48px; padding: 36px 40px;
  background: var(--bg4); border: 1px solid var(--border); position: relative; overflow: hidden;
}
.clients-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--blue),var(--blue3),transparent);
}
.cta-heading { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); }
.cta-sub { font-size: 14px; color: var(--text3); margin-top: 4px; }

/* ─── FLEET ──────────────────────────────────────────────────── */
.fleet { background: var(--bg); }
.fleet-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.fleet-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.fleet-card {
  background: var(--bg4); border: 1px solid var(--border); overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.fleet-card:hover {
  border-color: var(--border-b);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1), 0 0 12px rgba(0,87,217,0.1);
}
.fleet-visual {
  height: 160px; background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.fleet-card:hover .fleet-visual { background: var(--bg3); }
.fleet-visual-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 13px,rgba(0,87,217,0.02) 13px,rgba(0,87,217,0.02) 14px);
}
.fleet-svg { width: 75%; height: 70%; position: relative; z-index: 1; }
.fleet-info { padding: 20px 22px 24px; }
.fleet-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.fleet-spec { font-size: 12px; color: var(--text3); line-height: 1.5; }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact { background: var(--bg2); position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-glow {
  position: absolute; width: 700px; height: 500px; top: 50%; right: -100px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse,rgba(0,87,217,0.08) 0%,transparent 70%);
  filter: blur(70px);
}
.contact-grid-lines {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size: 60px 60px;
}
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; margin-top: 60px; position: relative; z-index: 1; }
.contact-intro { font-size: 15px; color: var(--text2); line-height: 1.85; margin-bottom: 44px; }
.contact-items { display: flex; flex-direction: column; }
.ci-item { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.ci-item:first-child { border-top: 1px solid var(--border); }
.ci-icon { width: 42px; height: 42px; flex-shrink: 0; background: var(--blue-dim); border: 1px solid var(--border-b); display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 18px; height: 18px; stroke: var(--blue3); }
.ci-label { font-family: var(--font-head); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text3); margin-bottom: 5px; }
.ci-value { font-size: 14px; color: var(--text); line-height: 1.7; }
.ci-value a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.ci-value a:hover { color: var(--blue3); }
.contact-legal { margin-top: 36px; padding: 18px 22px; background: var(--bg3); border: 1px solid var(--border); display: flex; align-items: center; gap: 18px; }
.cl-logo { padding: 6px 12px; background: rgba(255,255,255,0.94); }
.cl-logo-img { height: 32px; width: auto; object-fit: contain; }
.cl-text { font-size: 12px; color: var(--text3); line-height: 1.5; }


.contact-form-box { background: var(--bg3); border: 1px solid var(--border); overflow: hidden; }
.cfb-header { padding: 28px 36px 22px; border-bottom: 1px solid var(--border); }
.cfb-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cfb-sub { font-size: 13px; color: var(--text3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 36px; margin-top: 24px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-top: 20px; padding: 0 36px; }
.form-row .form-group { padding: 0; margin-top: 0; }
.form-group label { font-family: var(--font-head); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text3); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg4); border: 1px solid var(--border);
  color: var(--text); padding: 12px 16px;
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue3); background: var(--bg5); box-shadow: 0 0 0 2px rgba(0,180,255,0.08); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: calc(100% - 72px); margin: 24px 36px 36px;
  padding: 15px 36px;
  background: linear-gradient(135deg,var(--blue),var(--blue2));
  color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  clip-path: polygon(0 0,95% 0,100% 20%,100% 100%,5% 100%,0 80%);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.form-submit svg { width: 16px; height: 16px; }
.form-submit:hover { background: linear-gradient(135deg,var(--blue2),var(--blue3)); transform: translateY(-1px); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-top-bar { height: 3px; background: linear-gradient(90deg,var(--blue),var(--blue3),var(--gold),var(--blue3),var(--blue)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; padding: 64px 0 48px; }
.footer-logo-wrap { padding: 10px 16px; background: rgba(255,255,255,0.94); display: inline-block; margin-bottom: 20px; }
.footer-logo-img { height: 50px; width: auto; object-fit: contain; }
.footer-desc { font-size: 13.5px; color: var(--text3); line-height: 1.8; max-width: 280px; margin-bottom: 24px; }
.footer-contact-quick { display: flex; flex-direction: column; gap: 10px; }
.fcq-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.fcq-item svg { width: 14px; height: 14px; stroke: var(--blue3); flex-shrink: 0; }
.fcq-item:hover { color: var(--blue3); }
.fc-title { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text2); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col nav a { font-size: 13.5px; color: var(--text3); text-decoration: none; transition: color 0.2s, padding-left 0.2s; display: flex; align-items: center; }
.footer-col nav a::before { content: ''; display: inline-block; width: 0; height: 1px; background: var(--blue3); margin-right: 0; transition: width 0.2s, margin-right 0.2s; }
.footer-col nav a:hover { color: var(--blue3); }
.footer-col nav a:hover::before { width: 12px; margin-right: 8px; }
.fa-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text3); margin-bottom: 10px; line-height: 1.6; }
.fa-item svg { width: 14px; height: 14px; stroke: var(--blue3); flex-shrink: 0; margin-top: 2px; }
.fa-item a { color: var(--text3); text-decoration: none; transition: color 0.2s; }
.fa-item a:hover { color: var(--blue3); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fb-copy { font-size: 13px; color: var(--text3); }
.fb-copy span { color: var(--gold); }
.fb-epc { font-size: 13px; color: var(--text3); letter-spacing: 1px; }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px;
  background: linear-gradient(135deg,var(--blue),var(--blue2));
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0 0,85% 0,100% 15%,100% 100%,15% 100%,0 85%);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s;
  pointer-events: none; cursor: pointer;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: linear-gradient(135deg,var(--blue2),var(--blue3)); }
.back-to-top svg { width: 18px; height: 18px; stroke: #fff; }

/* ─── RESPONSIVE 1024px ──────────────────────────────────────── */
@media (max-width:1024px) {
  :root { --pad-s: 80px; }
  .hero-right-panel { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats-panel { min-height: 0; }
  .aif-badge { right: 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .vmv-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .qdoc-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .fleet-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fleet-header { flex-direction: column; align-items: flex-start; }
}

/* ─── RESPONSIVE 768px ───────────────────────────────────────── */
@media (max-width:768px) {
  :root { --pad-x: 6vw; --pad-s: 64px; }
  #navbar { padding: 0 6vw; }
  .nav-links {
    display: none; position: fixed; top: 74px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); flex-direction: column;
    padding: 24px 6vw; gap: 0; border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; font-size: 15px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-bottom: 64px; min-height: 100svh; }
  .hero-headline { font-size: clamp(38px,10vw,60px); }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .btn-primary, .btn-ghost { justify-content: center; }

  /* Layout grids */
  .services-grid { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .qdoc-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* About */
  .about-stats-panel { min-height: 0; }
  .about-tags { gap: 6px; }

  /* Quality / Cert */
  .qpc-header { flex-wrap: wrap; gap: 12px; }
  .cert-meta { gap: 12px; }

  /* Org chart — horizontal scroll on small screens */
  .org-chart { overflow-x: auto; }
  .org-branches { min-width: 600px; }

  /* Contact */
  .contact-legal { flex-wrap: wrap; gap: 12px; }
  .clients-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; padding: 0 20px; margin-top: 16px; }
  .form-group { padding: 0 20px; }
  .form-submit { width: calc(100% - 40px); margin: 20px 20px 28px; }
  .cfb-header { padding: 20px 20px 16px; }

  /* Section headers */
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fleet-header { flex-direction: column; align-items: flex-start; }
}

/* ─── RESPONSIVE 480px ───────────────────────────────────────── */
@media (max-width:480px) {
  :root { --pad-x: 5vw; --pad-s: 52px; }

  /* Hero */
  .hero-headline { font-size: clamp(34px,9.5vw,48px); }
  .hero-sub { font-size: 13px; }
  .hero-eyebrow { font-size: 10px; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }

  /* Cards */
  .svc-card-inner { padding: 32px 20px; }
  .vmv-card { padding: 36px 20px; }
  .qpolicy-card { padding: 28px 20px; }
  .cert-meta { flex-direction: column; gap: 10px; }
  .clients-cta { padding: 24px 18px; }

  /* About */
  .asp-num { font-size: 28px; }
  .about-stats-panel { padding: 24px 20px 20px; }

  /* Typography */
  .section-title { font-size: clamp(26px,8vw,38px); }
  .section-sub { font-size: 14px; }

  /* Org */
  .org-branches { min-width: 540px; }
  .org-branch { min-width: 140px; }

  /* Contact legal */
  .contact-legal { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── RESPONSIVE 360px ───────────────────────────────────────── */
@media (max-width:360px) {
  :root { --pad-x: 4vw; }
  .hero-headline { font-size: clamp(30px,9vw,40px); }
  .clients-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .svc-card-inner { padding: 28px 16px; }
  .vmv-card { padding: 28px 16px; }
  .contact-form-box { overflow-x: hidden; }
}
