/* ============================================================
   R i D A — CINEMATIC OVERRIDE STYLESHEET  (Apple-style)
   Loaded AFTER style.css to elevate the look & feel.
   Palette: Deep Green · Gold · White · Cinematic Dark
   ============================================================ */

/* ─── 1. REFINED DESIGN TOKENS ─── */
:root {
  /* Brand — refined greens & gold */
  --green-primary: #1F7A4D;
  --green-500:     #2E8B57;
  --green-600:     #1E6B3A;
  --green-700:     #14532B;
  --green-900:     #08331E;
  --gold-primary:  #F5C542;
  --gold-bright:   #FFD84D;
  --gold-deep:     #D4A017;

  /* Cinematic surface system (light) */
  --bg-primary:    #F6F8F5;
  --bg-elevated:   #FFFFFF;
  --bg-gray-light: #EEF3EE;
  --bg-green-light:#E4F1E8;
  --bg-gold-light: #FBF4DE;
  --bg-card:       #FFFFFF;

  --text-primary:   #0E1F17;
  --text-secondary: #4C5F55;
  --text-tertiary:  #7C8B82;

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.65);
  --glass-border:  rgba(255, 255, 255, 0.55);
  --glass-blur:    22px;

  /* Cinematic shadows (layered, soft) */
  --shadow-sm:  0 1px 2px rgba(14,31,23,.05), 0 2px 6px rgba(14,31,23,.05);
  --shadow-md:  0 4px 12px rgba(14,31,23,.07), 0 12px 28px rgba(14,31,23,.08);
  --shadow-lg:  0 12px 32px rgba(14,31,23,.10), 0 30px 60px rgba(14,31,23,.12);
  --shadow-xl:  0 24px 60px rgba(14,31,23,.14), 0 48px 100px rgba(14,31,23,.16);
  --shadow-gold:0 8px 30px rgba(245,197,66,.35);
  --shadow-green:0 10px 34px rgba(31,122,77,.30);

  /* Radii — Apple-soft */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;

  /* Cinematic easing */
  --ease-spring: cubic-bezier(.22,1,.36,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --transition-base: .45s var(--ease-spring);
  --transition-slow: .8s var(--ease-out-expo);

  /* Fonts — Outfit display, Inter body */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-ar-heading: 'Cairo', sans-serif;
  --font-ar-body: 'Tajawal', sans-serif;
}

/* ─── 2. CINEMATIC DARK MODE ─── */
[data-theme="dark"] {
  --bg-primary:    #060D0A;
  --bg-elevated:   #0E1A14;
  --bg-gray-light: #0A130E;
  --bg-green-light:#0F241A;
  --bg-gold-light: #211D0C;
  --bg-card:       #101D16;

  --text-primary:   #EAF3EC;
  --text-secondary: #9DB4A6;
  --text-tertiary:  #6B8175;

  --green-primary: #34C77B;
  --green-500:     #3DD489;
  --gold-primary:  #FFD84D;
  --gold-bright:   #FFE47A;

  --glass-bg:     rgba(16, 29, 22, 0.55);
  --glass-border: rgba(120, 200, 150, 0.14);

  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 8px 24px rgba(0,0,0,.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.6);
  --shadow-xl:  0 30px 80px rgba(0,0,0,.7);
  --shadow-gold:0 8px 34px rgba(255,216,77,.28);
  --shadow-green:0 10px 40px rgba(52,199,123,.30);
}

/* ─── 3. GLOBAL FEEL ─── */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* momentum scroll on older iOS Safari */
  overscroll-behavior-y: none; /* stop rubber-band scroll leaking into pull-to-refresh/nav gestures */
}

body {
  background:
    radial-gradient(1200px 600px at 80% -5%, rgba(245,197,66,.08), transparent 60%),
    radial-gradient(1000px 700px at -10% 10%, rgba(31,122,77,.10), transparent 55%),
    var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
}

/* Arabic: never squeeze glyphs with Latin negative tracking */
[lang="ar"] body {
  letter-spacing: 0;
  font-family: var(--font-ar-body);
}
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] .section-title,
[lang="ar"] .hero-title {
  letter-spacing: 0;
  font-family: var(--font-ar-heading);
}
[lang="ar"] .section-label,
[lang="ar"] .hero-label {
  letter-spacing: 0.04em;
}

[data-theme="dark"] body {
  background:
    radial-gradient(1200px 600px at 80% -5%, rgba(255,216,77,.06), transparent 60%),
    radial-gradient(1000px 700px at -10% 10%, rgba(52,199,123,.10), transparent 55%),
    var(--bg-primary);
}

/* Film-grain — static plate only (no animated noise). Very low opacity. */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .008;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
[data-theme="dark"] body::after { opacity: .014; }

h1, h2, h3, h4 { letter-spacing: -0.03em; }
h1 { font-weight: 800; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.02; }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); }
.section { padding: clamp(48px, 6vw, 88px) 0; }

/* Tighter stack: trust → about → portfolio (kills empty dead space) */
.trust-bar {
  padding: 18px 0 10px;
}
.trust-tagline {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
#about {
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(36px, 4.5vw, 64px);
}
#about .about-cta-card {
  max-width: 680px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(120, 200, 150, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
#about .about-cta-card .section-label {
  margin-bottom: 14px;
}
#about .about-headline {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
#about .about-description {
  margin-bottom: 22px;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.65;
  font-size: 1.02rem;
}
#portfolio {
  padding-top: clamp(36px, 4.5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
#portfolio .section-header {
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Portfolio cards — denser, cleaner product tiles */
.portfolio-grid {
  gap: 14px;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px 20px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(31, 122, 77, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  min-height: 0;
}
[data-theme="dark"] .portfolio-card {
  background: linear-gradient(165deg, rgba(18, 43, 43, 0.95), rgba(10, 31, 31, 0.9));
  border-color: rgba(120, 200, 150, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 66, 0.45);
  box-shadow: 0 16px 36px rgba(31, 122, 77, 0.16), 0 0 0 1px rgba(245, 197, 66, 0.2);
}
.portfolio-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background: linear-gradient(145deg, rgba(31, 122, 77, 0.12), rgba(245, 197, 66, 0.1));
  color: var(--green-primary);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 77, 0.12);
}
.portfolio-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
[data-theme="dark"] .portfolio-icon {
  background: linear-gradient(145deg, rgba(61, 160, 106, 0.18), rgba(245, 197, 66, 0.1));
  color: var(--gold-primary);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 66, 0.14);
}
.portfolio-card:hover .portfolio-icon {
  transform: scale(1.06);
  background: linear-gradient(145deg, rgba(31, 122, 77, 0.2), rgba(245, 197, 66, 0.18));
  box-shadow: 0 8px 18px rgba(31, 122, 77, 0.18);
}
.portfolio-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.portfolio-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
  color: var(--text-secondary);
  max-width: 28ch;
}

@media (max-width: 767px) {
  .portfolio-grid {
    gap: 10px;
  }
  .portfolio-card {
    padding: 16px 12px 14px;
  }
  .portfolio-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  .portfolio-icon svg {
    width: 20px;
    height: 20px;
  }
  .portfolio-title {
    font-size: 0.88rem;
  }
  .portfolio-desc {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Section labels — refined pill */
.section-label {
  color: var(--green-primary);
  background: var(--bg-green-light);
  padding: 7px 16px 7px;
  border-radius: 999px;
  letter-spacing: .12em;
  font-size: .74rem;
}
.section-label::after { display: none; }

.section-subtitle { color: var(--text-secondary); font-size: 1.15rem; }

/* ─── 4. NAVBAR — floating glass pill ─── */
.navbar {
  top: 16px;
  background: transparent;
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.navbar.scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar.scrolled .navbar-inner {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar-logo { height: 40px; transition: transform var(--transition-base); }
.navbar.scrolled .navbar-logo { height: 40px; }
.navbar-logo-link:hover .navbar-logo { transform: scale(1.05); }

.navbar-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: .95rem;
  opacity: .82;
  transition: opacity var(--transition-base), color var(--transition-base);
}
.navbar-links a:active { opacity: 0.65; transition: opacity 0.08s ease-out; }
.navbar.scrolled .navbar-links a { color: var(--text-primary); }
.navbar-links a:hover { opacity: 1; color: var(--green-primary); }
.navbar-links a::after { background: var(--gold-primary); height: 2px; bottom: -4px; }

.lang-toggle, .navbar.scrolled .lang-toggle {
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: .8rem;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.lang-toggle:active { transform: scale(0.95); transition: transform 0.1s ease-out; }
.lang-toggle:hover { background: var(--green-primary); color: #fff; border-color: var(--green-primary); }

.theme-toggle, .navbar.scrolled .theme-toggle {
  color: var(--text-primary);
  background: rgba(255,255,255,.14);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.theme-toggle:active { transform: scale(0.9) rotate(-5deg); transition: transform 0.1s ease-out; }
.theme-toggle:hover { background: var(--gold-primary); color: #0E1F17; transform: rotate(-12deg) scale(1.05); }
.navbar.scrolled .hamburger span, .hamburger span { background: var(--text-primary); }

.mobile-drawer {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  backdrop-filter: blur(28px) saturate(1.5);
  border-left: 1px solid rgba(10, 32, 20, 0.08);
}

/* ─── 5. HERO — cinematic aurora ─── */
.hero {
  min-height: 100vh;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}
/* Aurora orbs */
.hero::before {
  content: '';
  position: absolute; inset: -20%;
  background:
    radial-gradient(650px 540px at 20% 25%, rgba(31,122,77,.50), transparent 58%),
    radial-gradient(600px 520px at 82% 30%, rgba(245,197,66,.35), transparent 60%),
    radial-gradient(720px 620px at 60% 90%, rgba(20,83,43,.40), transparent 60%);
  filter: blur(30px);
  opacity: .95;
  animation: aurora-drift 18s ease-in-out infinite alternate;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .6s var(--ease-out-expo);
  z-index: 0;
}
[data-theme="dark"] .hero::before { opacity: .55; filter: blur(35px); }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(255,255,255,.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 60%, rgba(255,255,255,.08) 100%);
  z-index: 1;
}
[data-theme="dark"] .hero::after {
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 30%, var(--bg-primary) 100%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.85) 100%);
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%,2%,0) scale(1.06); }
  100% { transform: translate3d(3%,-2%,0) scale(1.02); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1000px; margin: 0 auto; }

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(31,122,77,.18);
  color: #14532B;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: .82rem;
  letter-spacing: .04em;
  box-shadow: 0 2px 16px rgba(31,122,77,.10);
}
.hero-label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-primary); box-shadow: 0 0 12px var(--gold-primary);
  animation: pulse 2s infinite;
}

.hero-title {
  margin: 28px 0 8px;
  color: var(--text-primary);
  font-weight: 800;
  line-height: .98;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  max-width: 100%;
}
.hero-title .word {
  display: inline-block;
  background: linear-gradient(180deg, var(--text-primary), var(--green-700));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
[data-theme="dark"] .hero-title .word {
  background: linear-gradient(180deg, #FFFFFF, #C8E6D0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(0,0,0,.4), 0 0 60px rgba(52,199,123,.15);
}
.hero-title .highlight {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright) 55%, var(--gold-primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  position: relative;
  text-shadow: 0 2px 14px rgba(0,0,0,.22);
}
[data-theme="dark"] .hero-title .highlight {
  background: linear-gradient(120deg, #FFD84D, #FFE97A 45%, #FFC107);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(0,0,0,.5), 0 0 50px rgba(245,197,66,.3);
}

.hero-subtitle { color: #3D5648; font-size: 1.3rem; font-weight: 500; letter-spacing: .02em; text-shadow: 0 1px 4px rgba(255,255,255,.3); }
.hero-tagline  { color: #1A3324; font-size: 1.5rem; font-weight: 600; margin-top: 6px; text-shadow: 0 2px 6px rgba(255,255,255,.35); }
[data-theme="dark"] .hero-subtitle { color: #B8D4C4; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
[data-theme="dark"] .hero-tagline  { color: #FFFFFF; text-shadow: 0 2px 16px rgba(0,0,0,.5); }

.hero-ctas { margin-top: 40px; gap: 16px; }

/* ─── 6. BUTTONS — Apple pill ─── */
.btn {
  border-radius: 999px;
  padding: 15px 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border: none; color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 44px rgba(31,122,77,.42); }
.btn-accent {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border: none; color: #14361F;
  box-shadow: var(--shadow-gold);
}
.btn-accent:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 46px rgba(245,197,66,.5); }

.scroll-indicator { color: var(--text-tertiary); z-index: 2; }
.scroll-indicator svg { stroke: var(--gold-primary); }

/* ─── 7. CARDS — cinematic spring hover (GPU-optimized) ─── */
.card, .pillar-card, .portfolio-card, .segment-card, .contact-card,
.region-card, .stat-card-light, .vision-card {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.35s ease,
              background-color 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
}
.card:hover, .pillar-card:hover, .portfolio-card:hover, .segment-card:hover,
.contact-card:hover, .region-card:hover, .stat-card-light:hover, .vision-card:hover {
  transform: translateY(-8px) scale(1.02);
}
/* Apple direct-manipulation: respond on pointer-down, not on release.
   Subtle press that confirms the element registered the touch instantly. */
.card:active, .pillar-card:active, .portfolio-card:active, .segment-card:active,
.contact-card:active, .region-card:active, .stat-card-light:active, .vision-card:active,
.brand-card:active, .btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease-out;
}

/* ─── 7. CARDS — glass + spring depth ─── */
.card,
.pillar-card, .portfolio-card, .segment-card, .contact-card,
.region-card, .stat-card-light {
  background: var(--bg-card);
  border: 1px solid rgba(31,122,77,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .card,
[data-theme="dark"] .pillar-card, [data-theme="dark"] .portfolio-card,
[data-theme="dark"] .segment-card, [data-theme="dark"] .contact-card,
[data-theme="dark"] .region-card, [data-theme="dark"] .stat-card-light {
  border-color: rgba(120,200,150,.10);
}

.card:hover,
.pillar-card:hover, .portfolio-card:hover, .segment-card:hover,
.contact-card:hover, .region-card:hover, .stat-card-light:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(31,122,77,.18), 0 0 0 1px rgba(245,197,66,.25);
  border-color: rgba(245,197,66,.6);
}

/* Sheen sweep on hover — sweeps left→right across card */
.portfolio-card::before, .segment-card::before, .pillar-card::before {
  content: '';
  position: absolute; top: 0; left: -150%;
  width: 80%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.25) 40%, rgba(255,255,255,.45) 50%, rgba(255,255,255,.25) 60%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 2;
}
.portfolio-card:hover::before, .segment-card:hover::before, .pillar-card:hover::before { left: 150%; }
[data-theme="dark"] .portfolio-card::before,
[data-theme="dark"] .segment-card::before,
[data-theme="dark"] .pillar-card::before {
  background: linear-gradient(100deg, transparent, rgba(255,216,77,.12), transparent);
}

.pillar-icon, .portfolio-icon, .segment-icon, .contact-card-icon, .stat-icon, .region-emoji {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .pillar-icon, .portfolio-card:hover .portfolio-icon,
.segment-card:hover .segment-icon, .contact-card:hover .contact-card-icon,
.stat-card-light:hover .stat-icon {
  transform: scale(1.08);
}

.pillar-title, .portfolio-title, .segment-name, .region-name, .contact-card-value {
  color: var(--text-primary);
}
.portfolio-desc, .segment-desc, .region-countries, .pillar-text {
  color: var(--text-secondary);
}

/* ─── 8. TRUST BAR ─── */
.trust-bar { background: transparent; border-top: 1px solid rgba(31,122,77,.08); border-bottom: 1px solid rgba(31,122,77,.08); }
.trust-logo-item {
  filter: none;
  opacity: 0.9;
  transition: opacity .3s ease, transform .3s ease;
}
.trust-logo-item:hover { filter: none; opacity: 1; }
.trust-logo-item img {
  filter: grayscale(1) contrast(0.95) brightness(0.92);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.trust-logo-item:hover img {
  filter: grayscale(0.35) contrast(1) brightness(1);
  opacity: 1;
}

/* ─── 9. TIMELINE / FRAMEWORK ─── */
.timeline-dot {
  background: var(--bg-elevated);
  border: 2px solid rgba(31,122,77,.25);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.timeline-node.active .timeline-dot, .timeline-node:hover .timeline-dot {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  border-color: var(--gold-primary);
  color: #fff;
  box-shadow: var(--shadow-green);
  transform: scale(1.1);
}
.timeline-progress { background: linear-gradient(90deg, var(--green-500), var(--gold-primary)); }
.framework-detail {
  background: var(--bg-card);
  border: 1px solid rgba(31,122,77,.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* Gold-on-white fails contrast in light mode — use deep gold there */
.framework-detail-number { color: var(--gold-deep); }
[data-theme="dark"] .framework-detail-number { color: var(--gold-primary); }

/* ─── 10. STATS ─── */
.stat-number { color: var(--green-primary); font-weight: 800; font-family: var(--font-heading); }
.stat-card-light { background: var(--bg-card); }

/* ─── 11. ADVANTAGES ─── */
.advantage-item {
  border-bottom: 1px solid rgba(31,122,77,.10);
  transition: background var(--transition-base), padding var(--transition-base);
  border-radius: var(--radius-md);
}
.advantage-item:hover { background: var(--bg-green-light); padding-left: 24px; }
.advantage-number {
  font-family: var(--font-heading); font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .9;
}
.advantage-title { color: var(--text-primary); }
.advantage-text { color: var(--text-secondary); }

/* ─── 12. VISION (dark section) ─── */
.section-dark {
  background:
    radial-gradient(700px 500px at 15% 20%, rgba(52,199,123,.22), transparent 60%),
    radial-gradient(700px 500px at 85% 80%, rgba(245,197,66,.16), transparent 60%),
    linear-gradient(160deg, #08331E, #05130C);
  color: #EAF3EC;
}
.section-dark .section-label { background: rgba(255,255,255,.08); color: var(--gold-bright); }
.vision-quote blockquote {
  background: linear-gradient(120deg, #fff 30%, var(--gold-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700; letter-spacing: -0.02em;
}
.vision-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease, border-color 0.25s ease, background 0.25s ease;
}
.vision-card:hover { background: rgba(255,255,255,.09); border-color: var(--gold-primary); transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.vision-title { color: #fff; }
.vision-text { color: rgba(234,243,236,.78); }

/* ─── 13. CONTACT ─── */
.contact-card { text-align: center; }
.contact-card-label { color: var(--text-tertiary); }

/* ─── 13.5 BRANDED ICON CHIPS (replaced the emoji placeholders) ─── */
.pillar-icon, .portfolio-icon, .segment-icon, .region-emoji,
.stat-card-light .stat-icon, .contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--bg-green-light) 60%, var(--bg-gold-light));
  border: 1px solid rgba(31,122,77,.16);
  color: var(--green-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 4px 14px rgba(31,122,77,.10);
  margin-bottom: var(--space-sm);
  transition: background .45s var(--ease-spring), color .45s var(--ease-spring),
              box-shadow .45s var(--ease-spring), transform .5s var(--ease-spring);
}
.pillar-icon svg, .portfolio-icon svg, .segment-icon svg, .region-emoji svg,
.stat-card-light .stat-icon svg, .contact-card-icon svg {
  width: 27px; height: 27px;
}
[data-theme="dark"] .pillar-icon, [data-theme="dark"] .portfolio-icon,
[data-theme="dark"] .segment-icon, [data-theme="dark"] .region-emoji,
[data-theme="dark"] .stat-card-light .stat-icon, [data-theme="dark"] .contact-card-icon {
  background: linear-gradient(140deg, rgba(52,199,123,.10) 60%, rgba(255,216,77,.08));
  border-color: rgba(120,200,150,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 4px 14px rgba(0,0,0,.25);
}

/* Chip lights up green with gold icon when its card is hovered */
.pillar-card:hover .pillar-icon, .portfolio-card:hover .portfolio-icon,
.segment-card:hover .segment-icon, .region-card:hover .region-emoji,
.stat-card-light:hover .stat-icon, .contact-card:hover .contact-card-icon {
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  color: var(--gold-bright);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(31,122,77,.35);
}

/* Vision icons live on the dark section — glass chip */
.vision-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--gold-bright);
  margin-bottom: var(--space-sm);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.vision-icon svg { width: 25px; height: 25px; }
.vision-card:hover .vision-icon {
  background: linear-gradient(140deg, var(--gold-bright), var(--gold-deep));
  color: #14361F;
  border-color: transparent;
}

/* Tiny map pins in the emirates list */
.emirate-pin { display: inline-flex; color: var(--green-primary); vertical-align: -1px; }
.emirate-pin svg { width: 12px; height: 12px; }

/* ─── 13.6 UAE COVERAGE MAP — real geography, cinematic 3D ─── */
.uae-map {
  width: 100%;
  max-width: 560px;
  margin: 0 auto var(--space-sm);
  perspective: 1000px;
}
.uae-map-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  transform: rotateX(7deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-spring);
  filter: drop-shadow(0 26px 44px rgba(4,21,13,.30));
  will-change: transform;
}
[data-theme="dark"] .uae-map-svg { filter: drop-shadow(0 26px 44px rgba(0,0,0,.55)); }

.uae-land {
  fill: url(#uaeLandGrad);
  stroke: var(--gold-primary);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.uae-land-shadow {
  fill: rgba(4, 21, 13, .40);
  transform: translate(8px, 13px);
}
[data-theme="dark"] .uae-land-shadow { fill: rgba(0, 0, 0, .55); }

.uae-map-marker { cursor: pointer; }
.uae-map-marker .marker-dot {
  fill: var(--gold-bright);
  stroke: #14361F;
  stroke-width: 2;
  transition: fill .3s var(--ease-spring);
}
.uae-map-marker .marker-ring {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: uae-ping 2.6s ease-out infinite;
}
.uae-map-marker:nth-child(2) .marker-ring { animation-delay: .3s; }
.uae-map-marker:nth-child(3) .marker-ring { animation-delay: .6s; }
.uae-map-marker:nth-child(4) .marker-ring { animation-delay: .9s; }
.uae-map-marker:nth-child(5) .marker-ring { animation-delay: 1.2s; }
.uae-map-marker:nth-child(6) .marker-ring { animation-delay: 1.5s; }
.uae-map-marker:nth-child(7) .marker-ring { animation-delay: 1.8s; }
@keyframes uae-ping {
  0%   { transform: scale(.55); opacity: .95; }
  70%  { transform: scale(2.3); opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}

.uae-map-marker .marker-label {
  fill: #fff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  paint-order: stroke;
  stroke: rgba(4, 21, 13, .55);
  stroke-width: 3px;
  transition: fill .3s var(--ease-spring);
}
.uae-map-marker:hover .marker-dot { fill: #fff; }
.uae-map-marker:hover .marker-label { fill: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
  .uae-map-marker .marker-ring { animation: none; opacity: .5; }
}

/* ─── 13.7 WORLD SOURCING MAP — dot-matrix continents + routes ─── */
.world-map-visual { height: auto; min-height: 350px; display: flex; align-items: center; }
.world-map {
  width: 100%;
  perspective: 1000px;
}
.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  transform: rotateX(6deg);
  transition: transform .6s var(--ease-spring);
  will-change: transform;
}
.world-dots circle { fill: rgba(31, 122, 77, .42); }
[data-theme="dark"] .world-dots circle { fill: rgba(52, 199, 123, .30); }

/* Trade routes flowing into the UAE hub */
.route-line {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  opacity: .8;
  animation: route-flow 2.8s linear infinite;
}
[data-theme="dark"] .route-line { stroke: var(--gold-primary); }
@keyframes route-flow { to { stroke-dashoffset: -140; } }

.world-marker { cursor: pointer; }
.world-marker .marker-dot {
  fill: var(--gold-bright);
  stroke: #14361F;
  stroke-width: 2;
  transition: fill .3s var(--ease-spring);
}
.world-marker .marker-ring {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: uae-ping 2.6s ease-out infinite;
}
.world-marker:nth-child(2) .marker-ring { animation-delay: .5s; }
.world-marker:nth-child(3) .marker-ring { animation-delay: 1s; }
.world-marker:nth-child(4) .marker-ring { animation-delay: 1.5s; }
.world-marker:nth-child(5) .marker-ring { animation-delay: 2s; }
.world-marker .marker-label {
  fill: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--bg-elevated);
  stroke-width: 3px;
}
.world-marker:hover .marker-dot { fill: #fff; }

/* UAE hub — green core, gold ring, emphasized */
.world-marker-hub .marker-dot { fill: var(--green-500); stroke: var(--gold-bright); stroke-width: 3; }
.world-marker-hub .marker-ring { stroke: var(--green-500); }
.world-marker-hub .marker-label { fill: var(--gold-deep); font-size: 18px; }
[data-theme="dark"] .world-marker-hub .marker-label { fill: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
  .route-line { animation: none; }
  .world-marker .marker-ring { animation: none; opacity: .5; }
}

/* ─── 13.8 STOCK PHOTOGRAPHY (FMCG distributor look) ─── */

/* About: warehouse photo with floating stat badge */
.about-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 36vw, 440px);
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo);
}
.about-photo:hover img { transform: scale(1.05); }
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(8, 51, 30, .55));
  pointer-events: none;
}
.about-photo-badge {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(8, 51, 30, .55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .18);
}
.about-photo-badge-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-photo-badge-label {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  max-width: 110px;
  line-height: 1.25;
}

/* Segments: compact photo header with clean inline icon */
.segment-photo {
  position: relative;
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-sm);
  height: 110px;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.segment-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.segment-card:hover .segment-photo img { transform: scale(1.05); }
.segment-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 51, 30, 0) 40%, rgba(8, 51, 30, .35));
  pointer-events: none;
}
.segment-card .segment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 auto var(--space-xs);
  background: var(--green-primary);
  border-radius: 10px;
  color: #fff;
}
.segment-card .segment-icon svg {
  width: 18px;
  height: 18px;
}

/* CTA banner: truck photo with deep-green cinematic overlay */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.cta-banner-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 80% 20%, rgba(245, 197, 66, .18), transparent 60%),
    linear-gradient(120deg, rgba(4, 21, 13, .88) 25%, rgba(8, 51, 30, .55));
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 72px) 24px;
  max-width: 640px;
}
.cta-banner-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 10px;
}
.cta-banner-sub {
  color: rgba(234, 243, 236, .85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Segments: 4 cards — handled by final 4-across override below */
/* (old 5-col rule retired) */

/* ─── 14. FOOTER — cinematic dark-green anchor (dark in BOTH themes:
       light theme was painting a light bg under white text = invisible) ─── */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(52,199,123,.18), transparent 60%),
    radial-gradient(760px 400px at 88% 12%, rgba(245,197,66,.12), transparent 62%),
    linear-gradient(168deg, #0B4228 0%, #08331E 46%, #04150D 100%);
  border-top: none;
  padding-top: clamp(72px, 9vw, 120px);
}
[data-theme="dark"] .footer {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(52,199,123,.12), transparent 60%),
    radial-gradient(760px 400px at 88% 12%, rgba(255,216,77,.08), transparent 62%),
    linear-gradient(168deg, #07271A 0%, #051D12 46%, #020905 100%);
}

/* Gold hairline across the top */
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-deep) 30%, var(--gold-bright) 50%, var(--gold-deep) 70%, transparent);
  opacity: .9;
}

/* Giant watermark word behind content */
.footer-watermark {
  position: absolute; inset-inline: 0; bottom: -0.16em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(6rem, 21vw, 19rem);
  line-height: 1;
  text-align: center;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
}

.footer .container { position: relative; z-index: 1; }

/* Logo on a white chip so the green mark reads on dark */
.footer-logo {
  height: 46px;
  background: #fff;
  padding: 7px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.footer-tagline { color: rgba(234,243,236,.72); }
.footer-heading { color: #fff; }
.footer-heading::after {
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
}

/* Links — gold sweep + slide (slide itself comes from style.css hover) */
.footer-links a {
  color: rgba(234,243,236,.62);
  width: fit-content;
  transition: color .35s var(--ease-spring), padding .35s var(--ease-spring);
}
.footer-links a:hover { color: var(--gold-bright); }

/* Social — glass chips that light up gold */
.social-icon {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  transition: all var(--transition-base);
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #14361F;
  transform: translateY(-4px) scale(1.08);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(245,197,66,.38);
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer-copyright { color: rgba(234,243,236,.48); }

/* Back-to-top pill */
.back-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(234,243,236,.85);
  font-size: .85rem; font-weight: 600;
  transition: all var(--transition-base);
}
.back-to-top:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #14361F;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245,197,66,.38);
}
.back-to-top svg { transition: transform .35s var(--ease-spring); }
.back-to-top:hover svg { transform: translateY(-2px); }

/* ─── 15. SCROLL REVEAL ───
   Reveals are GSAP-owned (main.js). The old CSS transition on
   opacity/transform here fought GSAP's inline styles and left
   cards stranded mid-animation — do NOT reintroduce it.
   Initial hidden state lives in style.css (.reveal-*). */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--green-500), var(--gold-primary));
  z-index: 10000;
  box-shadow: 0 0 12px rgba(245,197,66,.6);
  transition: width .1s linear;
}

/* ─── 16. BRAND LOGO GRID ─── */
.brand-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 3rem;
}
.brand-filter-btn {
  padding: 0.55rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  font-family: var(--body-font);
}
.brand-filter-btn:hover {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,122,77,.35);
}
.brand-filter-btn.active {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
  box-shadow: 0 4px 16px rgba(31,122,77,.4);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.5rem; }
}
@media (min-width: 1200px) {
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

.brand-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem 1rem 1rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem;
  transition: all 0.4s var(--ease-spring);
  cursor: default;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: -150%; width: 150%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(245,197,66,.12) 45%, rgba(245,197,66,.22) 50%, rgba(245,197,66,.12) 55%, transparent 60%);
  transition: left 0.6s ease;
  pointer-events: none; z-index: 1;
}
.brand-card:hover::before { left: 150%; }
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  border-color: var(--gold-primary);
}
[data-theme="dark"] .brand-card:hover {
  box-shadow: 0 16px 40px rgba(245,197,66,.15);
}

.brand-logo-chip {
  width: 100%;
  min-height: 72px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 0.6rem;
  position: relative; z-index: 2;
  transition: transform 0.35s var(--ease-spring);
}
.brand-card:hover .brand-logo-chip { transform: scale(1.04); }

/* Brand logo image inside chip */
.brand-logo-img {
  max-width: 90%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
}
.brand-card:hover .brand-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.brand-logo-text {
  font-size: 1rem; font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.brand-cat-tag {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--surface-alt);
  padding: 0.25rem 0.75rem; border-radius: 100px;
  position: relative; z-index: 2;
}

/* brand-card hide animation for filter */
.brand-card.hidden {
  display: none;
}

/* ─── 17. BRAND STAT BADGES ─── */
.brand-stats-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.brand-stat-badge {
  text-align: center;
}
.brand-stat-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.2rem; font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}
.brand-stat-lbl {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--muted);
  margin-top: 0.3rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ─── 18. SUPPLIER PARTNER CARDS ─── */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
@media (max-width: 424px) {
  .supplier-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.supplier-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-spring);
}
.supplier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.13);
  border-color: var(--gold-primary);
}
[data-theme="dark"] .supplier-card:hover {
  box-shadow: 0 20px 50px rgba(245,197,66,.15);
}
.supplier-card-inner {
  padding: 2rem;
}

.supplier-logo-wrap {
  margin-bottom: 1.2rem;
}
.supplier-logo-chip {
  width: 100%;
  min-height: 70px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  transition: transform 0.35s var(--ease-spring);
}
.supplier-card:hover .supplier-logo-chip { transform: scale(1.03); }
.supplier-logo-text {
  font-family: var(--heading-font);
  font-size: 1.6rem; font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.supplier-name {
  font-family: var(--heading-font);
  font-size: 1.25rem; font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.supplier-desc {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.supplier-brands {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.supplier-brand-chip {
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  border: 1px solid var(--border);
}
.supplier-link {
  font-size: 0.8rem; font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.supplier-link:hover { color: var(--gold-deep); text-decoration: underline; }

/* ════════════════════ BRAND GALLERY — POLISHED ════════════════════ */
.brands-showcase { position: relative; overflow: hidden; }
.brands-showcase .section-label { color: var(--gold-deep); }

/* Filter Tabs */
.brand-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem; margin-bottom: 3rem;
}
.brand-filter-btn {
  padding: 0.55rem 1.3rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary);
  cursor: pointer; transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-family: 'Inter', sans-serif; letter-spacing: 0.01em;
}
.brand-filter-btn:hover {
  background: var(--bg-green-light); color: var(--green-primary);
  border-color: var(--green-primary);
}
.brand-filter-btn.active {
  background: var(--green-primary); color: #fff;
  border-color: var(--green-primary);
  box-shadow: 0 4px 14px rgba(31, 122, 77, 0.3);
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* Brand Card */
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.4rem 1rem 1rem; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer; position: relative; overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1), 0 0 0 1px var(--green-500, #2E8B57);
  border-color: var(--green-primary);
}
.brand-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(46,139,87,0.04) 100%);
  opacity: 0; transition: opacity 0.35s;
}
.brand-card:hover::after { opacity: 1; }

/* Brand Logo Chip — the colored pill */
.brand-logo-chip {
  width: 100%; min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 0.6rem 0.8rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative; overflow: hidden;
}
.brand-card:hover .brand-logo-chip {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.brand-logo-chip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.brand-logo-text {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  text-align: center; line-height: 1.2;
  position: relative; z-index: 1;
  font-family: var(--font-heading);
}
@media (min-width: 768px) {
  .brand-logo-text { font-size: 0.9rem; }
}

/* Category Tag */
.brand-cat-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-tertiary);
  transition: color 0.25s;
}
.brand-card:hover .brand-cat-tag { color: var(--green-primary); }

/* Brand Stat Row */
.brand-stats-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  margin-top: 2.5rem; padding: 2rem 1.5rem;
  background: var(--bg-green-light); border-radius: 20px;
  border: 1px solid rgba(46,139,87,0.12);
}
.brand-stat-badge { text-align: center; }
.brand-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--green-primary);
  font-family: 'Outfit', sans-serif; display: block;
}
.brand-stat-lbl {
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
}

/* Filter Animation for hidden cards */
.brand-card[style*="display: none"] { display: none !important; }

/* Dark mode brand overrides */
[data-theme="dark"] .brand-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .brand-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px var(--gold-primary);
}
[data-theme="dark"] .brand-filter-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-secondary);
}
[data-theme="dark"] .brand-filter-btn:hover {
  background: rgba(46,139,87,0.2); color: var(--gold-primary);
  border-color: var(--gold-primary);
}
[data-theme="dark"] .brand-stat-badge { color: var(--gold-bright); }
[data-theme="dark"] .brand-stats-row {
  background: rgba(46,139,87,0.12);
  border-color: rgba(245,197,66,0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .15s !important; }
}

/* ═══════════ 16. INTERNATIONAL CORPORATE STANDARD (FMCG) ═══════════
   Reference class: Unilever / Kellanova / Danone corporate sites —
   light-first, one strong brand color (R i D A green), gold reserved for
   flagship CTAs, photography-led, minimal decoration. This block loads
   last so it wins the cascade; delete it to restore the older look. */

:root:not([data-theme="dark"]) {
  --bg-primary:    #FBFBF9;
  --bg-elevated:   #FFFFFF;
  --bg-gray-light: #F4F6F3;
  --bg-green-light:#EAF3ED;
  --bg-gold-light: #FAF5E6;
  --bg-card:       #FFFFFF;
  --text-primary:  #101E16;
  --text-secondary:#51625A;
  --text-tertiary: #83928A;
  --green-primary: #166534;
  --shadow-sm: 0 1px 2px rgba(16,30,22,.05), 0 2px 8px rgba(16,30,22,.04);
  --shadow-md: 0 6px 18px rgba(16,30,22,.08);
  --shadow-lg: 0 16px 40px rgba(16,30,22,.10);
}

/* Cinematic canvas — film grain + aurora stay active */
body, [data-theme="dark"] body { background: var(--bg-primary); }
/* body::after grain is defined earlier — keep it active for cinematic depth */

/* ─── Scroll-driven reveal (CSS view-timeline) ─── */
/* Graceful fallback: if view-timeline is unsupported, elements remain visible
   (opacity: 1 from the GSAP reveal classes that already ran). */
@supports (animation-timeline: view()) {
  .section {
    animation: section-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  @keyframes section-enter {
    from { opacity: 0.7; transform: translateY(24px); }
    to   { opacity: 1;   transform: translateY(0); }
  }
  .card, .pillar-card, .portfolio-card, .segment-card, .contact-card,
  .region-card, .stat-card-light, .vision-card {
    animation: card-enter linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 30%;
  }
  @keyframes card-enter {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
}

/* Typography: large, calm, corporate */
h1 { font-weight: 700; letter-spacing: -0.035em; }
h2 { font-weight: 700; letter-spacing: -0.03em; }
.section-subtitle { font-size: 1.18rem; max-width: 660px; margin-inline: auto; }
.section-label {
  background: transparent;
  border: 1px solid rgba(22,101,52,.28);
  color: var(--green-primary);
}
[data-theme="dark"] .section-label {
  background: transparent;
  border-color: rgba(120,200,150,.30);
  color: var(--green-500);
}

/* Hero: richer brand glow */
.hero::before {
  background:
    radial-gradient(700px 520px at 75% 20%, rgba(31,122,77,.22), transparent 58%),
    radial-gradient(580px 460px at 18% 78%, rgba(212,160,23,.18), transparent 56%),
    radial-gradient(500px 400px at 50% 50%, rgba(31,122,77,.10), transparent 70%);
  filter: blur(2px);
  opacity: 1;
}
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(640px 480px at 78% 18%, rgba(52,199,123,.13), transparent 62%),
    radial-gradient(520px 420px at 15% 82%, rgba(255,216,77,.07), transparent 60%);
}
.hero-title .word {
  background: linear-gradient(180deg, #0A2E1A 0%, #14532B 55%, #1A6B3A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .highlight {
  background: linear-gradient(120deg, #C8941A, #E5B830 45%, #F5C542 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .hero-title .word { color: #EAF3EC; }
[data-theme="dark"] .hero-title .highlight { color: var(--green-500); }

/* Cards: cinematic depth with animated sheen sweep */

/* Buttons: solid brand green primary; gold kept for flagship CTA only */
.btn-primary {
  background: var(--green-primary);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-accent { box-shadow: 0 6px 20px rgba(212,160,23,.25); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(212,160,23,.32); }

/* Navbar: clean corporate bar — frosted glass (light + dark) */
.navbar-inner {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 30, 22, 0.07);
  box-shadow: 0 2px 12px rgba(16, 30, 22, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* (dark-mode navbar overridden below — always stays light) */

/* Icon chips: cinematic gold-green glow */
.pillar-icon, .portfolio-icon, .segment-icon, .region-emoji,
.stat-card-light .stat-icon, .contact-card-icon {
  background: linear-gradient(135deg, rgba(46,139,87,.12), rgba(245,197,66,.08));
  border-color: rgba(245,197,66,.25);
  box-shadow: 0 2px 12px rgba(46,139,87,.10), inset 0 1px 0 rgba(255,255,255,.5);
  border-radius: 16px;
}
.segment-card .segment-icon { box-shadow: 0 0 0 4px var(--bg-card); }

/* Numbers & progress: cinematic gold-green gradient with soft glow */
.stat-number {
  background: linear-gradient(135deg, var(--green-500), var(--gold-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(245,197,66,.25));
}
.advantage-number {
  background: linear-gradient(135deg, var(--gold-primary), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}
.scroll-progress { background: linear-gradient(90deg, var(--green-primary), var(--gold-primary)); box-shadow: 0 0 12px rgba(245,197,66,.3); }

/* Trust bar: hairlines to match */
.trust-bar { border-top-color: rgba(16,30,22,.07); border-bottom-color: rgba(16,30,22,.07); }

/* Stable hero interaction: keep the composition still on hover. */
/* Hero: restored aurora animation + GSAP parallax + button lift */
.hero::before {
  /* aurora-drift restored — animated by @keyframes in style.css */
  animation: aurora-drift 8s ease-in-out infinite alternate;
}
.hero-content {
  /* Allow GSAP parallax in main.js to control transform freely */
  transition: none !important;
}
.hero-ctas .btn {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background-color 0.3s ease, color 0.3s ease,
              box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-ctas .btn:hover,
.hero-ctas .btn:focus-visible {
  transform: translateY(-4px) scale(1.04);
}
.hero-ctas .btn-primary:hover,
.hero-ctas .btn-primary:focus-visible {
  background: var(--green-700);
  box-shadow: 0 12px 32px rgba(31, 122, 77, .32);
}
.hero-ctas .btn-accent:hover,
.hero-ctas .btn-accent:focus-visible {
  box-shadow: 0 12px 32px rgba(212, 160, 23, .36);
}
[data-theme="dark"] .hero-ctas .btn-primary {
  box-shadow: 0 6px 24px rgba(52,199,123,.35);
}
[data-theme="dark"] .hero-ctas .btn-primary:hover,
[data-theme="dark"] .hero-ctas .btn-primary:focus-visible {
  box-shadow: 0 12px 36px rgba(52,199,123,.45);
}
[data-theme="dark"] .hero-ctas .btn-accent {
  box-shadow: 0 6px 24px rgba(255,216,77,.30);
}
[data-theme="dark"] .hero-ctas .btn-accent:hover,
[data-theme="dark"] .hero-ctas .btn-accent:focus-visible {
  box-shadow: 0 12px 36px rgba(255,216,77,.40);
}

/* Hero background photo (aerial logistics hub) — sits under the glow layers.
   Removed automatically by onerror if hero.jpg is absent. */
.hero { position: relative; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: .82;
  pointer-events: none;
  filter: brightness(0.85) saturate(1.15);
}
[data-theme="dark"] .hero-photo { opacity: .45; filter: brightness(.7) saturate(.8); }
/* keep the existing glow + fade layers and content above the photo */
.hero::before { z-index: 1; }
.hero::after  { z-index: 1; }
.hero-content { z-index: 2; }

/* ─── GLOBAL SOURCING GLOBE — cinematic polish ─── */
#sourcing-globe .section-label {
  background: rgba(46,139,87,.15);
  color: var(--gold-bright);
}
#sourcing-globe .section-title {
  color: #fff;
}
#sourcing-globe .section-subtitle {
  color: rgba(234,243,236,.7);
}

/* Map canvas cinematic refinements */
.globe-wrapper {
  filter: drop-shadow(0 4px 40px rgba(46,139,87,.15));
  box-shadow: inset 0 0 60px rgba(0,0,0,.2);
}

/* Country cards cinematic polish */
.country-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.country-card:hover {
  background: rgba(61, 212, 137, 0.08);
  box-shadow: 
    0 8px 32px rgba(61, 212, 137, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.country-flag {
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.25), rgba(61, 212, 137, 0.15));
  box-shadow: 0 4px 16px rgba(46, 139, 87, 0.15);
  transition: all 0.3s ease;
}

.country-card:hover .country-flag {
  box-shadow: 0 6px 24px rgba(61, 212, 137, 0.25);
  transform: scale(1.05);
}

/* ── SVG World Map cinematic polish ── */
.globe-wrapper {
  background: radial-gradient(ellipse at 50% 45%, #0d2e1d 0%, #0a2014 55%, #06140c 100%);
}

.globe-svg {
  filter: drop-shadow(0 0 30px rgba(46, 139, 87, 0.12));
}

.map-country {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.map-country-highlight {
  filter: drop-shadow(0 0 8px rgba(245, 197, 66, 0.25));
}

.map-label {
  font-family: 'Inter', system-ui, sans-serif;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.map-hub-pulse {
  animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.15; }
}

.map-particle {
  filter: drop-shadow(0 0 6px rgba(245, 197, 66, 0.6));
}


/* Sourcing map lives on the dark section — labels must stay light in BOTH themes */
.section-dark .world-marker .marker-label {
  fill: #fff;
  stroke: rgba(4, 21, 13, .55);
}
.section-dark .world-dots circle { fill: rgba(52, 199, 123, .30); }
.section-dark .route-line { stroke: var(--gold-primary); }

/* Marker highlight when its country card is hovered */
.world-marker.is-active .marker-dot { fill: #fff; }
.world-marker.is-active .marker-label { fill: var(--gold-bright); }
.world-marker.is-active .marker-ring { animation-duration: 1s; }

/* Route particles — goods traveling into the hub */
.route-particle {
  fill: var(--gold-bright);
  filter: drop-shadow(0 0 4px rgba(255, 216, 77, .8));
}

/* Soft halo behind the UAE hub marker */
.hub-halo {
  fill: rgba(52, 199, 123, .12);
  stroke: rgba(255, 216, 77, .30);
  stroke-width: 1;
}

/* Country labels — slightly larger and airier for readability */
.world-marker .marker-label { font-size: 17px; letter-spacing: .015em; }
.world-marker-hub .marker-label { font-size: 19px; }

/* Trade-flow calm-down: no missile vibes. Softer, slower, smaller. */
.route-line {
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
  opacity: .45;
  animation-duration: 7s;
}
.section-dark .route-line { stroke: rgba(245, 197, 66, .75); }
.route-particle {
  r: 2;
  filter: none;
  opacity: .8;
}

/* Sourcing map fills its panel — no dead space below */
.globe-wrapper .world-map {
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
}
.globe-wrapper .world-map-svg {
  width: 100%;
  height: 100%;
}

/* Who We Serve 3+2 layout retired — see final 4-across override */
.segment-photo { height: 210px; }
.segment-name { font-size: 1.3rem; margin-top: var(--space-xs); }
.segment-desc { font-size: .97rem; max-width: 340px; margin-inline: auto; }
.segment-card { padding-bottom: var(--space-lg); }
.segment-card .segment-icon {
  width: 70px;
  height: 70px;
  margin-top: -35px;
}
.segment-card .segment-icon svg { width: 30px; height: 30px; }

/* ─── HERO PRESENCE — bigger, bolder, corporate-scale ─── */
.hero-title {
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: .96;
  margin: 30px 0 14px;
}
.hero-label { font-size: .9rem; padding: 10px 22px; }
[data-theme="dark"] .hero-label {
  background: rgba(16,29,22,.75);
  border-color: rgba(52,199,123,.2);
  color: #C8E6D0;
}
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.45rem); }
.hero-tagline { font-size: clamp(1.25rem, 2.4vw, 1.8rem); margin-top: 10px; }
.hero-ctas { margin-top: 44px; }

/* ─── RESPONSIVE HARDENING ─── */

/* Slide-in reveals (translateX ±60px) momentarily poke outside the viewport
   and cause horizontal scroll on phones — clip the page x-axis globally. */
html, body { overflow-x: hidden; overflow-x: clip; }

/* Small phones: the navbar pill exceeded 375px viewports */
@media (max-width: 520px) {
  .navbar { padding: 0 10px; }
  .navbar-inner { padding: 7px 8px 7px 14px; min-width: 0; gap: 6px; }
  .navbar-logo { height: 30px; }
  .lang-toggle { padding: 6px 9px; font-size: .7rem; }
  .theme-toggle { width: 34px; height: 34px; }

  /* Hero: full-impact but never clipped */
  .hero-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-ctas { flex-direction: column; align-items: center; gap: 12px; }

  /* Media blocks scale to phone */
  .about-photo img { height: 240px; }
  .segment-photo { height: 180px; }
  .cta-banner { min-height: 260px; border-radius: var(--radius-lg); }
  .cta-banner-content { padding: 36px 18px; }
  .footer-watermark { font-size: 4.6rem; }
  .about-photo-badge { padding: 9px 14px; }
  .about-photo-badge-number { font-size: 1.5rem; }
}

/* Tablets: keep two-column grids from cramping */
@media (max-width: 992px) {
  .coverage-content { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; margin: 0 auto; }
}

/* ─── MEETING-DOC ALIGNMENT (business.md) ─── */

/* 4 pillars in one row on desktop */
@media (min-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Segments grid is now 6 cards → natural 3+3; cancel the 3+2 centering
   rule that offset the 4th card when there were only 5 */
@media (min-width: 900px) {
  .segments-grid:has(> .segment-card:nth-child(6)) .segment-card:nth-child(4) {
    grid-column: span 2;
  }
}

/* Institutional & Government card: branded gradient header instead of photo */
.segment-photo--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  color: rgba(255, 255, 255, .92);
}
.segment-photo--brand svg { width: 56px; height: 56px; }
.segment-photo--brand::after { display: none; }

/* Sourcing criteria chips (dark section) */
.sourcing-criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: var(--space-lg);
}
.criteria-chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 216, 77, .28);
  background: rgba(255, 255, 255, .05);
  color: rgba(234, 243, 236, .82);
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition-base);
}
.criteria-chip:hover {
  background: rgba(255, 216, 77, .12);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ─── Country flags: real SVG artwork, not emoji ───
   Windows lacks color flag-emoji fonts, so 🇵🇭 etc. rendered as literal
   "PH" letters on desktop browsers while phones (Android/iOS have flag
   fonts) showed real flags — same markup, inconsistent result. Inline
   SVG flags render identically on every OS/browser. */
.country-flag {
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.flag-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Africa has no single national flag — a gold continent silhouette
   avoids misrepresenting the whole continent as one country's flag. */
.country-flag--continent {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}
.flag-svg--continent {
  width: 60%;
  height: 60%;
  color: var(--gold-bright);
}

/* ─── HERO TEXT: photo-safe treatment (fixes light-mode legibility) ───
   The hero always shows a background photo now, in both themes. Text
   color can't follow the site's normal light/dark convention here —
   dark text (correct for a plain light page) is unreadable against a
   bright, busy photo. These are unscoped (no [data-theme="dark"]), so
   by specificity they only affect LIGHT mode — the existing
   [data-theme="dark"] rules elsewhere are more specific and keep
   winning in dark mode, which already looked right. */
.hero-photo {
  opacity: .38;
  filter: brightness(.6) saturate(.9);
}
.hero::after {
  /* No radial layer here: a radial that "fades to var(--bg-primary)" is
     fine in dark mode (bg-primary is near-black, so it fades to dark),
     but in light mode bg-primary is near-white — that radial sat ON TOP
     of the dark linear gradient below it (first-listed background =
     topmost layer) and washed the whole scrim back out to flat gray,
     which is exactly the muddy look reported. A single strong linear
     scrim, blending to the page color only in the last 8% at the very
     bottom edge, keeps the text zone uniformly dark. */
  background: linear-gradient(180deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.72) 40%,
    rgba(0,0,0,.8) 75%,
    rgba(0,0,0,.82) 92%,
    var(--bg-primary) 100%);
}
.hero-label {
  background: rgba(8,18,13,.55);
  border-color: rgba(255,255,255,.22);
  color: #EAF3EC;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hero-title .word {
  background: linear-gradient(180deg, #FFFFFF, #D7E9DD);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 24px rgba(0,0,0,.45), 0 0 50px rgba(0,0,0,.3);
}
.hero-title .highlight {
  background: linear-gradient(120deg, #FFD84D, #FFE97A 45%, #FFC107);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 24px rgba(0,0,0,.5), 0 0 40px rgba(0,0,0,.35);
}
.hero-subtitle { color: #EAF3EC; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero-tagline  { color: #FFFFFF; text-shadow: 0 2px 16px rgba(0,0,0,.5); }

/* ─── Navbar: always light mode (never darkens) ─── */
[data-theme="dark"] .navbar-inner {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(16, 30, 22, 0.07) !important;
  box-shadow: 0 2px 12px rgba(16, 30, 22, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
[data-theme="dark"] .navbar.scrolled {
  background: transparent !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: none !important;
}
[data-theme="dark"] .navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
[data-theme="dark"] .navbar-links a,
[data-theme="dark"] .navbar.scrolled .navbar-links a {
  color: rgba(0, 0, 0, 0.75) !important;
}
[data-theme="dark"] .lang-toggle,
[data-theme="dark"] .navbar.scrolled .lang-toggle {
  color: #4C5F55 !important;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .navbar.scrolled .theme-toggle {
  color: #0E1F17 !important;
}
[data-theme="dark"] .navbar.scrolled .hamburger span,
[data-theme="dark"] .hamburger span {
  background: #0E1F17 !important;
}
[data-theme="dark"] .mobile-drawer {
  background: rgba(15, 36, 26, 0.96) !important;
  border-left-color: rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .mobile-drawer-nav a {
  color: #f3f7f4 !important;
  border-bottom-color: transparent !important;
}
[data-theme="dark"] .mobile-drawer-close {
  color: #f3f7f4 !important;
}
[data-theme="dark"] .mobile-drawer-tag {
  color: rgba(243, 247, 244, 0.45) !important;
}



/* ═══════════ HERO V4 — THEME-INVARIANT FULL-BLEED (final) ═══════════
   Why light mode always looked worse than dark, no matter the scrim:

   1. `.hero-photo { opacity: <1 }` BLENDS the photo with the section
      background behind it — near-black in dark mode (rich), near-WHITE
      in light mode (milky gray). Same CSS, different result per theme.
   2. The scrim's last stop faded to var(--bg-primary) — a white fog
      band at the hero's bottom edge in light mode.

   Fix: no theme variables and no partial opacity anywhere in the hero.
   Photo at opacity 1, darkened by filter; fixed deep-green scrim with a
   radial spotlight that buries the photo's baked-in R i D A wordmark
   behind the headline; fixed text colors. The hero now renders
   pixel-identical in both themes — the dark look the owner approved. */

.hero-photo,
[data-theme="dark"] .hero-photo {
  opacity: 1;
  filter: brightness(.5) saturate(1.05) contrast(1.02);
}

.hero::after,
[data-theme="dark"] .hero::after {
  display: block;
  background:
    radial-gradient(78% 58% at 50% 40%, rgba(4, 18, 11, .7), rgba(4, 18, 11, .3) 72%, transparent 100%),
    linear-gradient(180deg,
      rgba(4, 18, 11, .55) 0%,
      rgba(4, 18, 11, .38) 45%,
      rgba(4, 18, 11, .62) 82%,
      rgba(4, 18, 11, .78) 100%);
}

/* Quiet the aurora equally in both themes so it can't tint unevenly */
.hero::before,
[data-theme="dark"] .hero::before {
  opacity: .25;
  animation: none;
}

/* Headline: solid white — a white→green gradient reads silvery/washed
   over a busy photo. Gold stays gradient (it's the accent). */
.hero-title .word,
[data-theme="dark"] .hero-title .word {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4);
}
.hero-title .highlight,
[data-theme="dark"] .hero-title .highlight {
  background: linear-gradient(120deg, #F5C542, #FFE07A 50%, #E3A81C);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F5C542; /* fallback + shadow source */
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
.hero-subtitle,
[data-theme="dark"] .hero-subtitle {
  color: #D9E7DD;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.hero-tagline,
[data-theme="dark"] .hero-tagline {
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.scroll-indicator,
[data-theme="dark"] .scroll-indicator {
  color: rgba(255, 255, 255, .75);
}

/* Everything fits inside the hero: full viewport, centered, clipped */
.hero,
[data-theme="dark"] .hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 90px; /* navbar clearance / scroll-indicator room */
  overflow: hidden;
}
/* Short viewports (laptops, landscape phones): shrink type before it
   can push the CTAs out of the section */
@media (max-height: 760px) {
  .hero-title { font-size: clamp(2.8rem, 6.5vw, 5rem); }
  .hero-ctas { margin-top: 28px; }
}

/* ─── SEGMENT ICON CHIP: always fully visible (not only on hover) ───
   The chip overlaps the photo via negative margin but was unpositioned,
   while .segment-photo is position:relative — positioned elements paint
   above static ones, so the photo covered the chip's top half at rest.
   On hover the chip's scale() transform created a stacking context and
   lifted it above the photo, which is why it only looked right while
   hovered. Positioning it with a z-index makes the hover look permanent. */
.segment-card .segment-icon {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin: -28px auto var(--space-xs); /* straddles the photo edge, centered */
  border-radius: 16px;
  box-shadow: 0 0 0 4px var(--bg-card), 0 6px 18px rgba(16, 30, 22, .18);
}
.segment-card .segment-icon svg { width: 24px; height: 24px; }

/* ─── SOURCING: map + countries side by side on desktop ───
   ≥992px: map left, compact 2-column country list right.
   Below that, source order stacks them: map first, names below. */
@media (min-width: 992px) {
  .sourcing-globe-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
  }
  .sourcing-globe-layout .globe-wrapper {
    max-width: none;
    margin: 0;
  }
}
/* Below desktop: stack — map first, country names below (base rule is
   display:flex ROW, which squished both into skinny columns on phones) */
@media (max-width: 991px) {
  .sourcing-globe-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ═══════════ §6B INTERNATIONAL SHIPPING ═══════════ */
.shipping-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Framed ship photo with floating freight badge */
.shipping-media {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(20, 83, 43, .14);
  box-shadow: 0 24px 60px rgba(16, 30, 22, .16), 0 6px 20px rgba(16, 30, 22, .10);
}
[data-theme="dark"] .shipping-media {
  border-color: rgba(120, 200, 150, .16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.shipping-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo);
}
.shipping-media:hover img { transform: scale(1.04); }

.shipping-badge {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(8, 51, 30, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.shipping-badge-icon { display: inline-flex; color: var(--gold-bright); }
.shipping-badge-icon svg { width: 22px; height: 22px; }

/* Content column */
.shipping-content .section-label { margin-bottom: var(--space-sm); }
.shipping-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.shipping-lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Feature list */
.shipping-features { display: flex; flex-direction: column; gap: var(--space-md); }
.shipping-feature { display: flex; gap: 16px; align-items: flex-start; }
.shipping-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--bg-green-light) 60%, var(--bg-gold-light));
  border: 1px solid rgba(31, 122, 77, .16);
  color: var(--green-primary);
  transition: background .4s var(--ease-spring), color .4s var(--ease-spring);
}
[data-theme="dark"] .shipping-feature-icon {
  background: linear-gradient(140deg, rgba(52,199,123,.10) 60%, rgba(255,216,77,.08));
  border-color: rgba(120,200,150,.16);
}
.shipping-feature:hover .shipping-feature-icon {
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  color: var(--gold-bright);
  border-color: transparent;
}
.shipping-feature-icon svg { width: 22px; height: 22px; }
.shipping-feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.shipping-feature-text { color: var(--text-secondary); font-size: .95rem; line-height: 1.55; }

/* Stack on tablet/mobile: image first, content below */
@media (max-width: 900px) {
  .shipping-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .shipping-media { max-width: 620px; margin: 0 auto; }
}
[dir="rtl"] .shipping-badge { inset-inline-start: auto; inset-inline-end: 18px; }

/* === FINAL: tight trust/about/portfolio + denser cards === */
.section { padding: clamp(48px, 6vw, 88px) 0 !important; }
.trust-bar { padding: 16px 0 8px !important; }
.trust-tagline { margin-top: 6px !important; margin-bottom: 0 !important; font-size: 0.82rem !important; }

#about {
  padding-top: clamp(24px, 3vw, 44px) !important;
  padding-bottom: clamp(32px, 4vw, 56px) !important;
}
#about .about-cta-card {
  max-width: 680px;
  padding: clamp(24px, 3.5vw, 36px) clamp(18px, 2.5vw, 28px) !important;
  border-radius: 20px;
  border: 1px solid rgba(120, 200, 150, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
#about .about-headline {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
}
#about .about-description {
  margin-bottom: 18px !important;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6 !important;
  font-size: 1rem !important;
}

#portfolio {
  padding-top: clamp(28px, 3.5vw, 52px) !important;
  padding-bottom: clamp(40px, 5vw, 72px) !important;
}
#portfolio .section-header { margin-bottom: clamp(20px, 2.5vw, 32px) !important; }

.portfolio-grid { gap: 12px !important; }

.portfolio-card {
  padding: 20px 14px 16px !important;
  border-radius: 16px !important;
  min-height: 0 !important;
}

.portfolio-card .portfolio-icon,
.portfolio-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  margin-bottom: 10px !important;
  border-radius: 13px !important;
  font-size: 0 !important;
}

.portfolio-card .portfolio-icon svg,
.portfolio-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.portfolio-title {
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  margin: 0 0 5px !important;
}

.portfolio-desc {
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .portfolio-grid { gap: 10px !important; }
  .portfolio-card { padding: 14px 10px 12px !important; }
  .portfolio-card .portfolio-icon,
  .portfolio-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin-bottom: 8px !important;
    border-radius: 11px !important;
  }
  .portfolio-card .portfolio-icon svg,
  .portfolio-icon svg {
    width: 18px !important;
    height: 18px !important;
  }
  .portfolio-title { font-size: 0.84rem !important; }
  .portfolio-desc { font-size: 0.72rem !important; }
}

/* ============================================================
   HERO — LIGHT MODE MORNING / SUNRISE (no blur, fonts unchanged)
   Light theme = no data-theme attr. Dark keeps V4 theme-invariant look.
   Sun rises from the TOP-RIGHT corner of the hero photo.
   ============================================================ */

/* Brighter morning photo — still readable under white type */
html:not([data-theme="dark"]) .hero-photo {
  opacity: 1;
  filter: brightness(0.78) saturate(1.12) contrast(1.04);
}

/* Scrim: keep left/center dark enough for white type,
   open the TOP-RIGHT so sunrise light can break through */
html:not([data-theme="dark"]) .hero::after {
  display: block;
  background:
    /* Clear a soft window at top-right for the sun */
    radial-gradient(55% 50% at 92% 8%,
      rgba(4, 18, 11, 0.08) 0%,
      rgba(4, 18, 11, 0.22) 35%,
      rgba(4, 18, 11, 0.45) 62%,
      transparent 100%),
    /* Center vignette so headline stays legible */
    radial-gradient(78% 58% at 50% 42%,
      rgba(4, 18, 11, 0.62) 0%,
      rgba(4, 18, 11, 0.28) 72%,
      transparent 100%),
    /* Base morning wash — warmer, slightly lighter overall */
    linear-gradient(180deg,
      rgba(18, 42, 28, 0.42) 0%,
      rgba(10, 32, 20, 0.34) 40%,
      rgba(6, 24, 16, 0.52) 78%,
      rgba(4, 18, 11, 0.68) 100%);
}

/* Sunrise orb + warm rays from top-right — pure gradients, NO blur */
html:not([data-theme="dark"]) .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  filter: none !important;          /* kill any earlier aurora blur */
  animation: none;
  transform: none;
  background:
    /* Core sun disc — top right corner */
    radial-gradient(circle at 94% 6%,
      rgba(255, 248, 220, 0.95) 0%,
      rgba(255, 220, 120, 0.72) 4%,
      rgba(255, 180, 60, 0.42) 10%,
      rgba(255, 150, 40, 0.18) 18%,
      transparent 32%),
    /* Warm amber halo */
    radial-gradient(ellipse 70% 55% at 90% 0%,
      rgba(255, 200, 80, 0.38) 0%,
      rgba(255, 170, 50, 0.18) 28%,
      rgba(255, 140, 40, 0.06) 50%,
      transparent 70%),
    /* Soft peach morning fill across upper right */
    radial-gradient(ellipse 90% 70% at 100% 10%,
      rgba(255, 210, 140, 0.22) 0%,
      rgba(255, 190, 110, 0.10) 40%,
      transparent 68%),
    /* Gentle gold wash across the top edge */
    linear-gradient(105deg,
      transparent 40%,
      rgba(255, 210, 120, 0.08) 62%,
      rgba(255, 190, 90, 0.14) 82%,
      rgba(255, 230, 160, 0.18) 100%);
}

/* Font colors — intentionally unchanged from dark/V4 treatment.
   (Re-assert so earlier light-mode green text rules cannot win.) */
html:not([data-theme="dark"]) .hero-title .word {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .4);
}
html:not([data-theme="dark"]) .hero-title .highlight {
  background: linear-gradient(120deg, #F5C542, #FFE07A 50%, #E3A81C);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #F5C542;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}
html:not([data-theme="dark"]) .hero-subtitle {
  color: #D9E7DD;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
html:not([data-theme="dark"]) .hero-tagline {
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
html:not([data-theme="dark"]) .scroll-indicator {
  color: rgba(255, 255, 255, .75);
}


/* ============================================================
   HERO - DARK MODE MOONRISE (mirrors light-mode sun)
   Moon glow from the TOP-LEFT corner of the hero photo.
   ============================================================ */

/* Night photo grade - cooler, deeper, still readable */
html[data-theme="dark"] .hero-photo {
  opacity: 1;
  filter: brightness(0.48) saturate(0.95) contrast(1.06) hue-rotate(-6deg);
}

/* Scrim: open the TOP-LEFT so moonlight can break through,
   keep center dark enough for white type */
html[data-theme="dark"] .hero::after {
  display: block;
  background:
    /* Soft window at top-left for the moon */
    radial-gradient(55% 50% at 8% 8%,
      rgba(4, 18, 11, 0.06) 0%,
      rgba(4, 18, 11, 0.20) 35%,
      rgba(4, 18, 11, 0.48) 62%,
      transparent 100%),
    /* Center vignette so headline stays legible */
    radial-gradient(78% 58% at 50% 42%,
      rgba(4, 18, 11, 0.68) 0%,
      rgba(4, 18, 11, 0.32) 72%,
      transparent 100%),
    /* Cool night wash - slightly bluer/deeper overall */
    linear-gradient(180deg,
      rgba(8, 18, 28, 0.50) 0%,
      rgba(6, 20, 18, 0.40) 40%,
      rgba(4, 16, 14, 0.58) 78%,
      rgba(2, 12, 10, 0.78) 100%);
}

/* Moon orb + cool silver-blue rays from top-left - pure gradients, NO blur */
html[data-theme="dark"] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  transform: none;
  background:
    /* Core moon disc - top left corner */
    radial-gradient(circle at 6% 7%,
      rgba(245, 250, 255, 0.92) 0%,
      rgba(210, 228, 255, 0.62) 3.5%,
      rgba(160, 190, 240, 0.34) 9%,
      rgba(120, 160, 220, 0.14) 16%,
      transparent 30%),
    /* Cool silver halo */
    radial-gradient(ellipse 70% 55% at 10% 0%,
      rgba(180, 210, 255, 0.28) 0%,
      rgba(140, 180, 240, 0.14) 28%,
      rgba(100, 150, 220, 0.05) 50%,
      transparent 70%),
    /* Soft cool fill across upper left */
    radial-gradient(ellipse 90% 70% at 0% 10%,
      rgba(160, 200, 255, 0.16) 0%,
      rgba(120, 170, 230, 0.07) 40%,
      transparent 68%),
    /* Gentle cool wash across the top-left edge */
    linear-gradient(255deg,
      transparent 40%,
      rgba(150, 190, 255, 0.06) 62%,
      rgba(130, 175, 240, 0.11) 82%,
      rgba(190, 215, 255, 0.14) 100%);
}

/* === UAE COVERAGE CARD BLOCK (screenshot match) === */
#coverage .section-header {
  text-align: center;
  margin-bottom: 28px;
}

#coverage .coverage-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

#coverage .uae-map-container {
  background: linear-gradient(165deg, #eef8f1 0%, #e7f4eb 55%, #f4faf6 100%);
  border-radius: 28px;
  padding: 28px 24px 22px;
  min-height: 0;
  border: 1px solid rgba(31, 122, 77, 0.08);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] #coverage .uae-map-container {
  background: linear-gradient(165deg, rgba(20, 54, 31, 0.55) 0%, rgba(12, 32, 20, 0.9) 100%);
  border-color: rgba(120, 200, 150, 0.12);
}

#coverage .uae-map-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#coverage .uae-map {
  max-width: 100%;
  margin: 0 auto 4px;
}

#coverage .emirates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  max-width: 520px;
}

#coverage .emirate-tag {
  background: #fff;
  color: #1f7a4d;
  border: 1px solid rgba(31, 122, 77, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 40, 28, 0.05);
}

[data-theme="dark"] #coverage .emirate-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-primary);
  border-color: rgba(255, 255, 255, 0.08);
}

#coverage .coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  height: 100%;
}

/* Same Day card = full width of the two cards above, same height/style */
#coverage .coverage-stats .stat-card-light:last-child {
  grid-column: 1 / -1;
  min-height: 168px;
  width: 100%;
}

#coverage .stat-card-light {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 168px;
  padding: 28px 18px 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 40, 28, 0.05);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(16, 40, 28, 0.06);
  overflow: visible;
}

[data-theme="dark"] #coverage .stat-card-light {
  background: var(--bg-card);
  border-color: rgba(120, 200, 150, 0.10);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

#coverage .stat-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 122, 77, 0.12);
  border-color: rgba(245, 197, 66, 0.35);
}

#coverage .stat-card-light .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin: 0 0 4px;
  background: linear-gradient(145deg, #f3faf5 0%, #f8f4e8 100%);
  border: 1px solid rgba(31, 122, 77, 0.10);
  color: #2e8b57;
  box-shadow: none;
}

#coverage .stat-card-light .stat-icon svg {
  width: 24px;
  height: 24px;
}

[data-theme="dark"] #coverage .stat-card-light .stat-icon {
  background: linear-gradient(145deg, rgba(52, 199, 123, 0.12), rgba(255, 216, 77, 0.08));
  border-color: rgba(120, 200, 150, 0.16);
  color: var(--green-500);
}

#coverage .stat-card-light:hover .stat-icon {
  background: linear-gradient(140deg, var(--green-500), var(--green-700));
  color: var(--gold-bright);
  border-color: transparent;
  transform: scale(1.05);
}

#coverage .stat-card-light .stat-number {
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2f9e5f 0%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

#coverage .stat-card-light .stat-label {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: #6b7c72;
  letter-spacing: 0.01em;
}

[data-theme="dark"] #coverage .stat-card-light .stat-label {
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  #coverage .coverage-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #coverage .coverage-stats {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  #coverage .coverage-stats {
    gap: 12px;
  }
  #coverage .stat-card-light {
    min-height: 140px;
    padding: 20px 12px 18px;
    border-radius: 18px;
  }
  #coverage .stat-card-light .stat-number {
    font-size: 1.55rem;
  }
  #coverage .stat-card-light .stat-label {
    font-size: 0.75rem;
  }
}


/* === WHO WE SERVE: 4-ACROSS DESKTOP / 1-PER-LINE MOBILE === */
/* 4 equal cards in one row on desktop; stack one-per-line on phones. */
#segments .segments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

#segments .segment-card {
  grid-column: auto !important;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 0 22px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card, #0f2419);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

#segments .segment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 199, 123, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

#segments .segment-photo {
  margin: 0;
  height: 168px;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

#segments .segment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

#segments .segment-card:hover .segment-photo img {
  transform: scale(1.05);
}

#segments .segment-card .segment-icon {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: -26px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #34c77b;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 5px var(--bg-card, #0f2419), 0 8px 18px rgba(52, 199, 123, 0.35);
}

#segments .segment-card .segment-icon svg {
  width: 24px;
  height: 24px;
}

#segments .segment-name {
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 14px 8px;
  color: var(--text-primary, #f2f7f3);
}

#segments .segment-desc {
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.45;
  margin: 0 14px;
  max-width: none;
  color: var(--text-secondary, rgba(234, 243, 236, 0.72));
}

/* Tablet: 2x2 */
@media (max-width: 992px) {
  #segments .segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  #segments .segment-photo { height: 180px; }
  #segments .segment-name { font-size: 1.1rem; }
  #segments .segment-desc { font-size: 0.9rem; }
}

/* Mobile: one card per line */
@media (max-width: 640px) {
  #segments .segments-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 440px;
    margin-inline: auto;
  }
  #segments .segment-photo { height: 200px; }
  #segments .segment-card { padding-bottom: 24px; border-radius: 20px; }
  #segments .segment-name { font-size: 1.15rem; margin-inline: 18px; }
  #segments .segment-desc { font-size: 0.92rem; margin-inline: 18px; }
  #segments .segment-card .segment-icon {
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border-radius: 16px;
  }
  #segments .segment-card .segment-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* Light mode cards stay readable */
html:not([data-theme="dark"]) #segments .segment-card {
  background: #fff;
  border-color: rgba(10, 32, 20, 0.08);
  box-shadow: 0 8px 28px rgba(10, 32, 20, 0.08);
}
html:not([data-theme="dark"]) #segments .segment-card:hover {
  border-color: rgba(31, 122, 77, 0.25);
  box-shadow: 0 16px 40px rgba(10, 32, 20, 0.12);
}
html:not([data-theme="dark"]) #segments .segment-card .segment-icon {
  box-shadow: 0 0 0 5px #fff, 0 8px 18px rgba(52, 199, 123, 0.3);
}
html:not([data-theme="dark"]) #segments .segment-name {
  color: #0a2014;
}
html:not([data-theme="dark"]) #segments .segment-desc {
  color: rgba(10, 32, 20, 0.62);
}


/* Trust bar – supplier image logos (seamless continuous marquee) */
.trust-logo-item {
  font-size: 0 !important;
  color: transparent !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  height: 56px;
  padding: 0.35rem 1.5rem !important;
  margin-right: 0 !important;
}

.trust-logo-item img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.95) brightness(0.92);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.trust-logo-item:hover img {
  filter: grayscale(0.35) contrast(1) brightness(1);
  opacity: 1;
}

.trust-logo-item:hover {
  color: transparent !important;
  opacity: 1;
  transform: none; /* avoid layout jank mid-scroll */
}

.trust-logo-item::after {
  content: none !important;
  display: none !important;
}

/* Parent track owns the animation — never pause */
.trust-marquee {
  animation: trust-marquee-scroll 35s linear infinite !important;
  animation-play-state: running !important;
}

.trust-logos {
  animation: none !important;
}

.trust-bar:hover .trust-marquee,
.trust-bar:hover .trust-logos {
  animation-play-state: running !important;
}

[data-theme="dark"] .trust-logo-item img {
  filter: grayscale(1) contrast(0.95) brightness(1.08);
  opacity: 0.78;
}

[data-theme="dark"] .trust-logo-item:hover img {
  filter: grayscale(0.35) contrast(1) brightness(1.1);
  opacity: 1;
}

/* ===== Brand Partners — cinematic polish ===== */
.brands-section .section-header {
  margin-bottom: 2rem;
}

.brand-card {
  backdrop-filter: blur(6px);
}

.brand-card:hover {
  border-color: rgba(245, 197, 66, 0.35);
}

[data-theme="dark"] .brand-card,
html.dark .brand-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

[data-theme="dark"] .brand-card:hover,
html.dark .brand-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 197, 66, 0.28);
}

[data-theme="dark"] .brand-card-logo,
html.dark .brand-card-logo {
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 767px) {
  .brand-card {
    border-radius: 14px;
  }
}

/* ─── SAFETY NET: brand cards must never stay invisible ───
   .reveal-up sets opacity:0 and relies on GSAP to animate in.
   If GSAP fails to load or the ScrollTrigger never fires, the
   cards would be stuck invisible. This guarantees visibility. */
.brands-grid .brand-card.reveal-up {
  opacity: 1;
  transform: none;
}

/* ─── Brands section — dark mode redesign ───
   The inline pastel tile backgrounds glare on dark pages.
   Replace them with uniform dark-glass tiles + brand text that
   stays readable, plus a gold ambient hover glow. */
[data-theme="dark"] .brands-section,
html.dark .brands-section,
body.dark .brands-section {
  background: transparent;
}

[data-theme="dark"] .brand-card,
html.dark .brand-card,
body.dark .brand-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Kill the glaring pastel inline tile → soft glass tile */
[data-theme="dark"] .brand-card-logo,
html.dark .brand-card-logo,
body.dark .brand-card-logo {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Brighten brand text so dark fills (Kraft Heinz etc.) stay visible */
[data-theme="dark"] .brand-card-logo svg text,
html.dark .brand-card-logo svg text,
body.dark .brand-card-logo svg text {
  filter: brightness(1.9) saturate(1.15);
}

[data-theme="dark"] .brand-card:hover,
html.dark .brand-card:hover,
body.dark .brand-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border-color: rgba(245, 197, 66, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(245, 197, 66, 0.12),
              0 0 32px rgba(245, 197, 66, 0.08);
}

[data-theme="dark"] .brand-card:hover .brand-card-logo,
html.dark .brand-card:hover .brand-card-logo,
body.dark .brand-card:hover .brand-card-logo {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(245, 197, 66, 0.3);
}

[data-theme="dark"] .brand-card-name,
html.dark .brand-card-name,
body.dark .brand-card-name {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
}

[data-theme="dark"] .brand-card:hover .brand-card-name,
html.dark .brand-card:hover .brand-card-name,
body.dark .brand-card:hover .brand-card-name {
  color: var(--gold-primary, #F5C542);
}

/* ==========================================================================
   PERFORMANCE & PREMIUM SMOOTHNESS LAYER
   Fixes mobile scroll glitches/freezing + delivers fluid $10k-site motion.
   Color schema & copy untouched — purely rendering/animation optimization.
   ========================================================================== */

/* --- Global: GPU-friendly compositing hints on animated surfaces --- */
.hero-photo,
.brand-card,
.card, .pillar-card, .portfolio-card, .segment-card,
.contact-card, .region-card, .stat-card-light, .vision-card,
.why-card, .supplier-card, .mv-card, .criteria-chip {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* --- Butter-smooth reveal easing (cinematic overshoot, no bounce jank) --- */
.reveal-up, .reveal-left, .reveal-right, .reveal-scale {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ==========================================================================
   MOBILE / TOUCH PERFORMANCE  (max-width: 768px)
   The #1 cause of scroll glitch = film grain repaint + stacked backdrop
   blur + always-on infinite particles. Disable/neutralize on small screens.
   ========================================================================== */
@media (max-width: 768px) {

  /* 1. Kill the fixed full-screen film grain — biggest repaint cost on scroll */
  body::after {
    display: none !important;
    content: none !important;
  }

  /* 2. Replace expensive backdrop blurs with solid/translucent backgrounds */
  .navbar, .navbar.scrolled, .mobile-drawer, .glass, .card-glass,
  .trust-bar, .brand-card, .criteria-chip, .contact-card,
  [class*="glass"], [class*="blur"] {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* 3. Disable heavy scroll-driven animations (animation-timeline) on mobile —
        they recalc every frame during scroll on low-power GPUs */
  .section, .card, .pillar-card, .portfolio-card, .segment-card,
  .contact-card, .region-card, .stat-card-light, .vision-card {
    animation: none !important;
  }

  /* 4. Stop infinite decorative loops that fight the scroll thread */
  .route-particle, .hub-particle, .particle, .dot,
  .uae-ping, .hubPulse, [class*="particle"] {
    animation: none !important;
    display: none !important;
  }

  /* 5. Aurora / drifting gradient backgrounds — static on mobile */
  .aurora, .hero-bg, [class*="aurora"] {
    animation: none !important;
  }

  /* 6. Remove will-change on mobile (it pins GPU memory; hurts low-RAM devices) */
  .hero-photo, .brand-card, .card, .pillar-card, .portfolio-card,
  .segment-card, .contact-card, .region-card, .stat-card-light, .vision-card,
  .why-card, .supplier-card, .mv-card, .criteria-chip {
    will-change: auto;
  }

  /* 7. Faster, snappier reveals on mobile (less travel = less jank) */
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    transition-duration: 0.45s !important;
  }
}

/* --- Scoped transitions: GPU-composited properties only (transform/opacity) --- */
.why-card, .pillar-card, .supplier-card, .brand-card {
  transition-property: transform, opacity, border-color, box-shadow;
}

/* --- Spring-lift hover physics on interactive cards (desktop) --- */
@media (min-width: 769px) {
  .brand-card:hover, .pillar-card:hover, .supplier-card:hover, .why-card:hover {
    transform: translateY(-6px) scale(1.015);
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .brand-card:active, .pillar-card:active, .supplier-card:active, .why-card:active {
    transform: translateY(-2px) scale(0.99);
  }
}

/* ==========================================================================
   REDUCED MOTION — respect user preference (accessibility + perf)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body::after { display: none !important; }

  /* Hero aurora / shimmer — freeze */
  .hero::before,
  .hero-shimmer,
  .aurora,
  [class*="aurora"] {
    animation: none !important;
  }

  /* SVG route particles on sourcing map */
  .globe-svg animateMotion,
  .world-map-svg animateMotion,
  #sourcing-globe animateMotion {
    display: none !important;
  }

  #sourcing-globe.is-map-paused animateMotion,
  #sourcing-globe.is-map-paused .route-particle {
    display: none !important;
  }

  /* Trust marquee becomes a static wrap (also in style.css) */
  .trust-marquee,
  .trust-logos {
    animation: none !important;
  }

  /* GSAP reveal classes must be readable without JS */
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .hero-label,
  .hero-title .word,
  .hero-subtitle,
  .hero-tagline,
  .hero-ctas {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* Kill view-timeline CSS entrances if present */
  .card,
  .portfolio-card,
  .segment-card,
  .brand-card {
    animation: none !important;
    animation-timeline: auto !important;
  }
}

/* ==========================================================================
   SMOOTH SCROLL — premium inertia feel (desktop, non-reduced-motion)
   ========================================================================== */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ==========================================================================
   DEEP PERFORMANCE — content-visibility + contain + scoped transitions
   ========================================================================== */

/* --- Skip rendering for off-screen sections (biggest single perf gain) --- */
section:not(#hero):not(#navbar-placeholder) {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* --- Paint containment on cards: the browser won't repaint the whole
       page when one card's hover state changes --- */
.brand-card, .pillar-card, .portfolio-card, .segment-card,
.why-card, .supplier-card, .vision-card, .mv-card,
.contact-card, .region-card, .stat-card-light, .criteria-chip,
.country-card, .timeline-node, .framework-detail {
  contain: layout style paint;
}

/* --- Force interactive elements to only animate compositor-safe
       properties. Transitioning "all" makes the browser check every
       CSS property on every frame — this is the #2 cause of scroll jank
       after backdrop-filter. --- */
.card, .pillar-card, .portfolio-card, .segment-card,
.why-card, .supplier-card, .brand-card, .contact-card,
.region-card, .stat-card-light, .vision-card, .mv-card,
.criteria-chip, .btn, .nav-link, .navbar-links a,
.timeline-node, .framework-detail, .country-card,
.brand-card-logo, input, textarea, select,
.language-toggle, .theme-toggle, .hamburger {
  transition-property: transform, opacity, border-color, box-shadow, background-color, color, filter !important;
}

/* --- Hero performance: the big blur filter on ::before is extremely
       expensive. Reduce it, and mark the hero as paint-contained
       so blur repaints don't cascade down the page. --- */
.hero {
  contain: layout style paint;
}
.hero::before {
  filter: blur(18px);           /* was 30px — 40% cheaper to render */
}
[data-theme="dark"] .hero::before {
  filter: blur(20px);           /* was 35px — 43% cheaper */
}

/* --- Reduce large blur on hero shimmer --- */
.hero-shimmer {
  filter: blur(12px);           /* was 30px */
}

/* --- Mobile: further reduce hero blur, drop contain on tiny cards --- */
@media (max-width: 768px) {
  .hero::before {
    filter: blur(8px);           /* phone GPUs can barely do 8px blur */
  }
  [data-theme="dark"] .hero::before {
    filter: blur(10px);
  }
  section:not(#hero):not(#navbar-placeholder) {
    content-visibility: visible;  /* mobile viewports are short — visible is fine */
    contain-intrinsic-size: auto 400px;
  }
}

/* ==========================================================================
   FONT RENDERING — sharper text, no subpixel jitter during animations
   ========================================================================== */
html {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .section-title, .section-label, .hero-title {
  text-rendering: optimizeLegibility;
}