/* ============================================================
   GLOVIA GENERAL TRADING — styles.css
   Classic Heavy Theme
   ============================================================ */

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

:root {
  /* Core palette — soft off-white theme */
  --black:     #eaecf4;
  --dark-1:    #f7f8fc;
  --dark-2:    #eff1f8;
  --dark-3:    #e5e9f4;
  --dark-4:    #dae0ef;

  /* Brand blue (matches logo) */
  --brand:     #1a3464;
  --brand-mid: #234688;
  --brand-light:#3560b0;

  /* Accent — dark charcoal, clean on white */
  --gold:      #1e293b;
  --gold-light:#334155;
  --gold-dark: #0f172a;

  /* Text */
  --white:     #1a3464;
  --cream:     #1e2d4a;
  --text:      #2d3a52;
  --text-muted:#5a6a8a;

  /* UI */
  --border:    rgba(26,52,100,0.10);
  --border-warm:rgba(30,41,59,0.18);
  --card-bg:   rgba(255,255,255,0.95);
  --glass:     rgba(26,52,100,0.03);

  /* Navbar — white */
  --nav-bg:    #ffffff;
  --nav-text:  #1a3464;
  --nav-h:     72px;

  /* Effects */
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 8px 48px rgba(26,52,100,0.10);
  --shadow-gold:0 4px 28px rgba(196,160,82,0.20);
  --transition: 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Fonts */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif:'Cormorant Garamond', Georgia, serif;
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--dark-1);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }

.gradient-text {
  color: var(--brand);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--brand);
  background-clip: unset;
}

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-warm);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-desc { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border: 1px solid var(--brand);
}

.btn-primary:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,52,100,0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cream);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Navigation — deep navy, gold accent line ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(196,160,82,0.22);
  transition: box-shadow 0.4s, background 0.4s;
}

/* backdrop-filter on pseudo-element so it doesn't create a
   containing block that clips position:fixed children (mobile menu) */
#navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: -1;
}

#navbar.scrolled {
  background: rgba(7,16,34,0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

#navbar.scrolled::before {
  opacity: 1;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.logo-icon, .logo-text, .logo-main, .logo-sub { display: none; }

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nav-text);
  padding: 8px 14px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  opacity: 0.7;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 1;
  color: var(--gold-light);
  background: rgba(196,160,82,0.08);
}

.nav-link.active {
  opacity: 1;
  color: var(--gold);
  background: rgba(196,160,82,0.08);
}

.nav-link.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  opacity: 1;
  margin-left: 16px;
  padding: 7px 20px;
  border-radius: 3px;
  white-space: nowrap;
}

.nav-link.nav-cta:hover {
  background: var(--gold);
  color: var(--dark-1);
}

.nav-link.active-cta {
  background: var(--gold);
  color: var(--dark-1) !important;
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: calc(var(--nav-h) + 80px) 28px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26,52,100,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(196,160,82,0.07) 0%, transparent 55%),
    var(--dark-1);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(26,52,100,0.25) 0%, transparent 70%);
  top: -120px; left: -120px;
}

.hero-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(196,160,82,0.08) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: 5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -24px) scale(1.04); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 72%);
}

.hero-content { position: relative; z-index: 1; max-width: 840px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border-warm);
  padding: 7px 18px;
  border-radius: 3px;
  margin-bottom: 32px;
  background: rgba(196,160,82,0.05);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,30,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(196,160,82,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 48px;
  backdrop-filter: blur(16px);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 36px; }
.stat-row { display: flex; align-items: baseline; gap: 1px; }
.stat-number { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; color: var(--white); line-height: 1; }
.stat-unit   { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label  { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; text-align: center; letter-spacing: 0.04em; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.07); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--dark-4);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 13px 0;
  position: relative;
}

.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px; z-index: 1;
}

.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--dark-4), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--dark-4), transparent); }

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  width: max-content;
}

.ticker-item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 24px;
}

.ticker-sep {
  color: var(--gold);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  opacity: 0.6;
}

@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Overview grid (home) ── */
.overview-section { background: var(--dark-2); }

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.overview-card {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  background: var(--dark-3);
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.overview-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.overview-card:hover {
  background: var(--dark-4);
}

.overview-card:hover::after { transform: scaleY(1); }

.overview-card-cta { background: var(--dark-4); }
.overview-card-cta::after { background: var(--brand-light); }

.ov-icon-wrap {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  margin-bottom: 20px;
  color: var(--gold);
}

.overview-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.overview-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.ov-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 64px) 28px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(26,52,100,0.3) 0%, transparent 65%),
    var(--dark-1);
}

.page-hero-content { position: relative; z-index: 1; width: 100%; }

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── About intro ── */
.about-intro-section { background: var(--dark-2); }

.about-two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-side-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding-top: 56px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.side-stat-card {
  background: var(--dark-3);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.side-stat-card:hover { background: var(--dark-4); }

.ssc-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.ssc-number span { font-size: 1.5rem; }

.ssc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-lead {
  font-size: 1.08rem;
  color: var(--cream);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.85;
}

.about-pillars {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-warm);
  border-left: 2px solid var(--gold);
  border-radius: 3px;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(196,160,82,0.04);
  transition: var(--transition);
}

.pillar:hover { background: rgba(196,160,82,0.08); }
.pillar-icon { flex-shrink: 0; color: var(--gold); }

/* ── Values ── */
.values-section { background: var(--dark-1); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card {
  background: var(--dark-3);
  padding: 40px 32px;
  text-align: left;
  transition: var(--transition);
  border-top: 2px solid transparent;
}

.value-card:hover {
  background: var(--dark-4);
  border-top-color: var(--gold);
}

.value-icon-wrap {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  margin-bottom: 22px;
  color: var(--gold);
}

.value-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 14px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Sectors ── */
.sectors-section { background: var(--dark-2); }

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

.sector-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-bottom: 2px solid transparent;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.sector-card:hover {
  border-bottom-color: var(--brand-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.sector-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid var(--border-warm);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.sector-icon-wrap {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,52,100,0.3);
  border: 1px solid rgba(26,52,100,0.4);
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--brand-light);
}

.sector-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.sector-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.sector-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}

.sector-link:hover { color: var(--gold-light); }

/* ── CTA section ── */
.cta-section { background: var(--dark-1); }

.cta-box {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Services ── */
.services-section { background: var(--dark-2); }

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

.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196,160,82,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: rgba(26,52,100,0.3);
  border: 1px solid rgba(26,52,100,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
}

.service-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.service-list { display: flex; flex-direction: column; gap: 7px; }

.service-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Process ── */
.process-section { background: var(--dark-1); }

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.process-step:hover {
  background: var(--dark-4);
  border-color: var(--gold);
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.process-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.4;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

/* ── Commodities ── */
.comm-intro-section { background: var(--dark-2); }

.commodities-section { background: var(--dark-1); }

.comm-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.comm-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cert-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(26,52,100,0.25);
  border: 1px solid rgba(26,52,100,0.5);
  padding: 5px 12px;
  border-radius: 3px;
}

.comm-highlights { display: flex; flex-direction: column; gap: 16px; }

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid var(--brand);
  border-radius: 4px;
  padding: 18px 20px;
}

.hi-icon-wrap {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,52,100,0.25);
  border-radius: 5px;
  flex-shrink: 0;
  color: var(--brand-light);
}

.highlight-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.highlight-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.commodity-card {
  background: var(--dark-3);
  padding: 28px;
  transition: var(--transition);
}

.commodity-card:hover { background: var(--dark-4); }

.comm-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.comm-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,52,100,0.25);
  border: 1px solid rgba(26,52,100,0.4);
  border-radius: 6px;
  flex-shrink: 0;
  color: var(--brand-light);
}

.comm-header h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comm-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,160,82,0.08);
  padding: 2px 8px;
  border-radius: 2px;
}

.commodity-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.comm-origins { display: flex; gap: 5px; flex-wrap: wrap; }

.comm-origins span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--brand-light);
  background: rgba(26,52,100,0.2);
  border: 1px solid rgba(26,52,100,0.35);
  padding: 3px 9px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ── Energy ── */
.energy-intro-section { background: var(--dark-2); }
.energy-section { background: var(--dark-1); }

.energy-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.energy-stats-block { display: flex; flex-direction: column; gap: 12px; padding-top: 56px; }

.energy-stat {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid var(--brand);
  border-radius: 4px;
  padding: 16px 18px;
  transition: var(--transition);
}

.energy-stat:hover { border-left-color: var(--gold); }

.es-icon-wrap {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,52,100,0.25);
  border-radius: 5px;
  flex-shrink: 0;
  color: var(--brand-light);
}

.es-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.es-text span { font-size: 0.78rem; color: var(--text-muted); }

.energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.energy-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--dark-3);
  padding: 32px 28px;
  transition: var(--transition);
}

.energy-feature:hover { background: var(--dark-4); }

.energy-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,52,100,0.3);
  border: 1px solid rgba(26,52,100,0.5);
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--brand-light);
}

.energy-info h3 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
}

.energy-info p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.energy-tags { display: flex; gap: 5px; flex-wrap: wrap; }

.energy-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(26,52,100,0.2);
  border: 1px solid rgba(26,52,100,0.35);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ── Global ── */
.global-section-full { background: var(--dark-2); }
.regions-section { background: var(--dark-1); }
.hq-section { background: var(--dark-2); }

.global-map-full { margin-top: 8px; }

.map-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 2/1;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-placeholder-lg { aspect-ratio: 2.4/1; max-height: 420px; }

.map-svg { width: 100%; height: 100%; position: absolute; inset: 0; }

.map-dot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.md-uae    { top: 49%; left: 70%; }
.md-eu     { top: 38%; left: 41%; }
.md-asia   { top: 43%; left: 82%; }
.md-africa { top: 65%; left: 48%; }
.md-americas { top: 46%; left: 21%; }
.md-oceania  { top: 72%; left: 87%; }

.md-pulse {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}

.md-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(196,160,82,0.3);
  animation: mapPulse 2.2s ease-out infinite;
}

@keyframes mapPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.md-label {
  position: absolute;
  left: 14px; top: -8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  white-space: nowrap;
  line-height: 1.3;
  background: rgba(8,15,30,0.9);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
}

.md-label small { display: block; color: var(--gold); font-size: 0.58rem; }

.regions-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.region-detail-card {
  background: var(--dark-3);
  padding: 28px;
  transition: var(--transition);
}

.region-detail-card:hover { background: var(--dark-4); }

.rd-region-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-warm);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.region-detail-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.region-detail-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.rd-tags { display: flex; gap: 5px; flex-wrap: wrap; }

.rd-tags span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(26,52,100,0.2);
  border: 1px solid rgba(26,52,100,0.35);
  padding: 3px 9px;
  border-radius: 2px;
}

.hq-card-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.hq-left {
  padding: 48px;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.hq-right { padding: 48px; }

.hq-country {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-warm);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.hq-left h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}

.hq-details { display: flex; flex-direction: column; gap: 18px; }

.hq-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--brand-light);
}

.hq-row > svg { flex-shrink: 0; margin-top: 2px; }

.hq-row strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}

.hq-row > div { font-size: 0.9rem; color: var(--text); line-height: 1.6; }
.hq-row a { color: var(--cream); transition: color 0.2s; }
.hq-row a:hover { color: var(--gold); }

.hq-right h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}

.hq-right > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.hq-why-points { display: flex; flex-direction: column; gap: 10px; }

.why-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text);
  border-left: 2px solid var(--brand);
  padding: 8px 14px;
  background: rgba(26,52,100,0.12);
}

.why-point svg { color: var(--gold); flex-shrink: 0; }

/* ── Contact ── */
.contact-section-full { background: var(--dark-2); }

.contact-grid-full {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.contact-info-col { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 2px solid var(--brand);
  border-radius: 4px;
  padding: 18px 20px;
  transition: var(--transition);
}

.contact-card:hover { border-left-color: var(--gold); }

.cc-icon { flex-shrink: 0; color: var(--gold); display: flex; align-items: flex-start; padding-top: 2px; }

.contact-card h4 {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-card p { font-size: 0.9rem; color: var(--text); line-height: 1.6; }
.contact-card a { color: var(--cream); transition: color 0.2s; }
.contact-card a:hover { color: var(--gold); }

.contact-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(196,160,82,0.05);
  border: 1px solid var(--border-warm);
  border-radius: 4px;
  padding: 16px 18px;
  margin-top: 8px;
}

.contact-note svg { flex-shrink: 0; color: var(--gold); margin-top: 1px; }
.contact-note p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.contact-form-col {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--white);
  font-family: var(--font-sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(26,52,100,0.2);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  background: rgba(26,52,100,0.15);
  border: 1px solid rgba(26,52,100,0.4);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 500;
}

.form-success.show { display: block; }

/* ── Footer ── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(196,160,82,0.15);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; }

/* Footer logo: white version since footer is near-black */
.footer-logo .nav-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-note { color: var(--gold) !important; }

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .commodities-grid    { grid-template-columns: repeat(2, 1fr); }
  .overview-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
  .values-grid         { grid-template-columns: repeat(3, 1fr); }
  .sectors-grid        { grid-template-columns: repeat(3, 1fr); }
  .regions-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .about-two-col       { gap: 40px; }
  .comm-intro-grid     { gap: 40px; }
  .energy-intro-grid   { gap: 40px; }
  .hq-card-full        { grid-template-columns: 1fr; }
  .hq-left             { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 32px; }
}

@media (max-width: 900px) {
  .energy-grid         { grid-template-columns: 1fr; }
  .contact-grid-full   { grid-template-columns: 1fr; }
  .about-two-col       { grid-template-columns: 1fr; }
  .about-side-cards    { padding-top: 0; }
  .comm-intro-grid     { grid-template-columns: 1fr; }
  .energy-intro-grid   { grid-template-columns: 1fr; }
  .energy-stats-block  { padding-top: 0; }
  .process-steps       { flex-direction: column; }
  .process-arrow       { transform: rotate(90deg); padding: 4px 0; min-height: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    width: 280px;
    background: #071022;
    border-left: 1px solid rgba(196,160,82,0.15);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }

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

  .nav-links li { width: 100%; }

  .nav-link {
    font-size: 0.85rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    width: 100%;
    display: block;
    opacity: 0.8;
  }

  .nav-link:hover, .nav-link.active {
    background: none;
    color: var(--gold);
    opacity: 1;
    padding-left: 8px;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 24px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    padding: 14px 24px;
    text-align: center;
    display: block;
    width: 100%;
  }

  .hamburger { display: flex; }

  .hero-stats { padding: 20px; }
  .stat       { padding: 0 12px; }
  .stat-number{ font-size: 1.8rem; }

  .services-grid       { grid-template-columns: 1fr; }
  .commodities-grid    { grid-template-columns: 1fr; }
  .overview-grid       { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: 1fr; }
  .sectors-grid        { grid-template-columns: 1fr; }
  .regions-detail-grid { grid-template-columns: 1fr; }

  .form-row         { grid-template-columns: 1fr; }
  .contact-form-col { padding: 24px; }
  .cta-box          { padding: 40px 24px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .section          { padding: 68px 0; }
  .page-hero        { min-height: 260px; padding: calc(var(--nav-h) + 40px) 24px 48px; }
}

@media (max-width: 480px) {
  .hero-actions     { flex-direction: column; align-items: center; }
  .hero-stats       { flex-wrap: wrap; }
  .stat-divider     { display: none; }
  .stat             { width: 50%; padding: 16px 0; border-bottom: 1px solid rgba(26,52,100,0.08); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(26,52,100,0.08); }
  .about-pillars    { flex-direction: column; }
  .cta-actions      { flex-direction: column; align-items: center; }
}

/* ================================================================
   LIGHT THEME OVERRIDES
   ================================================================ */

::-webkit-scrollbar-thumb { background: var(--brand); }

/* Logo: show original colours on white background */
.nav-logo-img { filter: none; opacity: 0.9; }
.footer-logo .nav-logo-img { filter: none; opacity: 0.9; }

/* Buttons — ensure white text on navy background */
.btn-primary { color: #ffffff; }
.btn-primary:hover { color: #ffffff; }

/* Navbar */
#navbar { border-bottom: 1px solid rgba(26,52,100,0.12); }
#navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 4px 32px rgba(26,52,100,0.08); }

/* Hero backgrounds */
.hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26,52,100,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(196,160,82,0.04) 0%, transparent 55%),
    var(--dark-1);
}
.hero-orb-1 { background: radial-gradient(circle, rgba(26,52,100,0.06) 0%, transparent 70%); }
.hero-orb-2 { background: radial-gradient(circle, rgba(196,160,82,0.04) 0%, transparent 70%); }
.hero-grid {
  background-image:
    linear-gradient(rgba(26,52,100,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,52,100,0.04) 1px, transparent 1px);
}
.page-hero-bg {
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(26,52,100,0.05) 0%, transparent 65%),
    var(--dark-1);
}
.page-hero { border-bottom: 1px solid rgba(26,52,100,0.08); }

/* Hero stats panel */
.hero-stats {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(26,52,100,0.10);
  border-top: 1px solid rgba(196,160,82,0.30);
}
.stat-divider { background: rgba(26,52,100,0.12); }

/* Ticker */
.ticker-wrap { border-bottom: 1px solid rgba(26,52,100,0.06); }

/* Cards and grids — navy-tinted borders */
.overview-grid,
.values-grid,
.commodities-grid,
.energy-grid,
.regions-detail-grid { border: 1px solid rgba(26,52,100,0.08); }

.about-side-cards { border: 1px solid rgba(26,52,100,0.08); }
.sector-card { border: 1px solid rgba(26,52,100,0.08); border-bottom: 2px solid transparent; }
.sector-card:hover { box-shadow: 0 12px 40px rgba(26,52,100,0.12); }
.service-card { border: 1px solid rgba(26,52,100,0.08); }
.service-card:hover { box-shadow: 0 16px 48px rgba(26,52,100,0.10); }
.process-step { border: 1px solid rgba(26,52,100,0.08); border-top: 2px solid var(--gold); }
.process-step:hover { box-shadow: 0 12px 40px rgba(26,52,100,0.10); }
.map-placeholder { border: 1px solid rgba(26,52,100,0.08); background: var(--dark-3); }
.cta-box { border: 1px solid rgba(26,52,100,0.10); border-top: 2px solid var(--gold); }
.hq-card-full { border: 1px solid rgba(26,52,100,0.10); border-top: 2px solid var(--gold); }
.hq-left { border-right: 1px solid rgba(26,52,100,0.08); }
.contact-card { border: 1px solid rgba(26,52,100,0.08); border-left: 2px solid var(--brand); }
.contact-form-col { border: 1px solid rgba(26,52,100,0.10); }
.highlight-item { border: 1px solid rgba(26,52,100,0.08); border-left: 2px solid var(--brand); }
.energy-stat { border: 1px solid rgba(26,52,100,0.08); border-left: 2px solid var(--brand); }

/* Form fields */
.form-group input,
.form-group select,
.form-group textarea { border: 1px solid rgba(26,52,100,0.15); background: #ffffff; }

/* Footer — light */
.footer { background: var(--dark-2); border-top: 1px solid var(--border-warm); }
.footer-bottom { border-top: 1px solid rgba(26,52,100,0.08); }

/* Map dot labels */
.md-label { background: rgba(255,255,255,0.95); color: var(--brand); border: 1px solid rgba(26,52,100,0.15); }
.md-label small { color: var(--gold); }

/* Mobile menu */
@media (max-width: 768px) {
  .nav-links { background: #ffffff; border-left: 1px solid rgba(26,52,100,0.12); }
  .nav-link { border-bottom: 1px solid rgba(26,52,100,0.08); }
}

/* Responsive border fix */
@media (max-width: 1024px) {
  .hq-left { border-right: none; border-bottom: 1px solid rgba(26,52,100,0.08); }
}

/* ================================================================
   HERO VIDEO BACKGROUND
   ================================================================ */

/* Fullscreen video element */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Cinematic dark overlay — lets video breathe while keeping text legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5,11,24,0.55) 0%, rgba(5,11,24,0.45) 55%, rgba(5,11,24,0.72) 100%);
}

/* Dark fallback while video loads */
.hero-bg { background: #07101e; }

/* Orbs and grid sit on top of the overlay for subtle depth */
.hero-orb-1 {
  background: radial-gradient(circle, rgba(26,52,100,0.28) 0%, transparent 70%);
  z-index: 2;
}
.hero-orb-2 {
  background: radial-gradient(circle, rgba(196,160,82,0.12) 0%, transparent 70%);
  z-index: 2;
}
.hero-grid { z-index: 2; }

/* ── Typography — white on dark video ── */
.hero .hero-title     { color: #ffffff; }
.hero .gradient-text  { color: #ffffff; -webkit-text-fill-color: #ffffff; }
.hero .hero-subtitle  { color: rgba(255,255,255,0.82); }
.hero .hero-badge     { color: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); }
.hero .badge-dot      { background: rgba(255,255,255,0.80); }
.hero .stat-unit      { color: rgba(255,255,255,0.80); }

/* Stats panel — frosted dark glass */
.hero .hero-stats {
  background: rgba(5,11,24,0.50);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero .stat-number  { color: #ffffff; }
.hero .stat-unit    { color: rgba(255,255,255,0.85); }
.hero .stat-label   { color: rgba(255,255,255,0.62); }
.hero .stat-divider { background: rgba(255,255,255,0.12); }

/* Outline button — white on dark */
.hero .btn-outline {
  border-color: rgba(255,255,255,0.32);
  color: #ffffff;
}
.hero .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Scroll indicator */
.hero-scroll { color: rgba(255,255,255,0.52); z-index: 2; }
.hero .scroll-arrow {
  border-right-color: rgba(255,255,255,0.52);
  border-bottom-color: rgba(255,255,255,0.52);
}

/* Mobile: video enabled — muted + playsinline ensures autoplay on iOS/Android */
@media (max-width: 768px) {
  .hero-bg { background: #07101e; } /* dark fallback while video buffers */
  .hero .hero-stats {
    padding: 16px;
    background: rgba(5,11,24,0.60);
  }
}

/* ================================================================
   PERFORMANCE
   ================================================================ */

/* 1 — Kill navbar backdrop-filter: single biggest source of scroll jank.
      It forces a full compositing repaint on every scroll frame.
      The solid scrolled background is visually identical. */
#navbar::before { display: none; }

/* 2 — Promote long-running animated elements to their own GPU layer */
.hero-orb     { will-change: transform; }
.ticker-track { will-change: transform; }
.hero-scroll  { will-change: transform; }

/* 3 — Video starts invisible; JS adds .ready class on canplay event.
      Eliminates the black-frame flash before footage loads. */
.hero-video       { opacity: 0; transition: opacity 0.9s ease; }
.hero-video.ready { opacity: 1; }

/* 4 — Smooth page entry — removes the abrupt flash when navigating pages */
body { animation: pageReveal 0.18s ease both; }
@keyframes pageReveal { from { opacity: 0; } to { opacity: 1; } }
