﻿/* ============================================================
   R i D A Landing Page — Master Stylesheet
   Version: 1.0 | Date: 2026-07-11
   ============================================================ */

/* ─── 1. CSS CUSTOM PROPERTIES (VARIABLES) ───
   Canonical palette aligned with cinematic.css (loads after this file).
   Keep both :root blocks in sync — cinematic remains the visual override
   layer for components, but base tokens must not lie. */
:root {
  /* Named brand system (Ink · Forest · Sand · Gold · Mist) */
  --green-primary: #1F7A4D;   /* Forest */
  --green-500:     #2E8B57;
  --green-600:     #1E6B3A;
  --green-700:     #14532B;   /* Forest Deep */
  --green-900:     #08331E;
  --gold-primary:  #F5C542;   /* Gold */
  --gold-bright:   #FFD84D;
  --gold-deep:     #D4A017;
  --white: #FFFFFF;
  --near-black: #0E1F17;      /* Ink */

  /* Secondary / legacy aliases */
  --dark-green: #1E6B3A;
  --deep-teal: #0E1F17;
  --muted-green: #4C5F55;     /* Mist — AA-safe secondary */
  --gold-dark: #D4A017;

  /* Surfaces */
  --bg-primary:    #F6F8F5;   /* Sand */
  --bg-elevated:   #FFFFFF;
  --bg-gray-light: #EEF3EE;
  --bg-green-light:#E4F1E8;
  --bg-gold-light: #FBF4DE;
  --bg-card:       #FFFFFF;

  /* Text */
  --text-primary:   #0E1F17;  /* Ink */
  --text-secondary: #4C5F55;  /* Mist — replace old #6B9E7B */
  --text-tertiary:  #7C8B82;
  --text-inverse:   #FFFFFF;

  /* Shadows (tinted to Ink, not pure black) */
  --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-gold:0 8px 30px rgba(245,197,66,.35);
  --shadow-green:0 10px 34px rgba(31,122,77,.30);

  /* Spacing Tokens */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

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

  /* Typography — Outfit display, Inter body (Poppins retired) */
  --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;

  /* Motion tokens */
  --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-fast: 0.15s var(--ease-smooth);
  --transition-base: 0.45s var(--ease-spring);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* ─── 2. DARK MODE OVERRIDES ─── */
[data-theme="dark"] {
  --bg-primary:    #060D0A;
  --bg-elevated:   #0E1A14;
  --bg-card:       #101D16;
  --bg-gray-light: #0A130E;
  --bg-green-light:#0F241A;
  --bg-gold-light: #211D0C;
  --text-primary:   #EAF3EC;
  --text-secondary: #9DB4A6;
  --text-tertiary:  #6B8175;
  --green-primary: #34C77B;
  --green-500:     #3DD489;
  --gold-primary:  #FFD84D;
  --gold-bright:   #FFE47A;
  --white: #060D0A;
  --near-black: #EAF3EC;
  --muted-green: #9DB4A6;
  --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-gold:0 8px 34px rgba(255,216,77,.28);
  --shadow-green:0 10px 40px rgba(52,199,123,.30);
}

/* ─── 3. CSS RESET & BASE ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* RTL Arabic overrides */
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4 {
  font-family: var(--font-ar-heading);
}

[lang="ar"] body,
[lang="ar"] p,
[lang="ar"] span,
[lang="ar"] a,
[lang="ar"] li {
  font-family: var(--font-ar-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─── 4. TYPOGRAPHY ─── */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-gold { color: var(--gold-primary); }
.text-green { color: var(--green-primary); }
.text-muted { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── 5. LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-gray-light);
}

.section-dark {
  background: linear-gradient(135deg, var(--deep-teal), var(--dark-green));
  color: var(--text-inverse);
}

[data-theme="dark"] .section-dark {
  background: linear-gradient(135deg, #051515, #0A2A1A);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-xs);
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── 6. COMPONENTS ─── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible,
.lang-toggle:focus-visible,
.theme-toggle:focus-visible,
.navbar-links a:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--gold-primary);
  color: var(--deep-teal);
  border-color: var(--gold-primary);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.btn-outline:hover {
  background-color: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-green-light);
  color: var(--green-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--green-primary);
  color: var(--white);
  transform: scale(1.1);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stat Cards */
.stat-card {
  text-align: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-green {
  background: var(--bg-green-light);
  color: var(--green-primary);
}

.badge-gold {
  background: var(--bg-gold-light);
  color: var(--gold-dark);
}

/* ─── 7. NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) 0;
}

/* navbar always light — dark override handled in cinematic.css */

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.navbar-logo {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.navbar.scrolled .navbar-logo {
  height: 34px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-base);
}

.navbar.scrolled .navbar-links a {
  color: var(--text-primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a:hover {
  color: var(--gold-primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-toggle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}

.lang-toggle:active { transform: scale(0.95); transition: transform 0.1s ease-out; }

.navbar.scrolled .lang-toggle {
  color: var(--text-primary);
  border-color: var(--green-primary);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  transition: color var(--transition-base), background var(--transition-base);
  cursor: pointer;
  position: relative;
}

/* Class-based sun/moon — no inline style flash */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: block;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.theme-toggle .icon-moon { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
.theme-toggle .icon-sun { opacity: 1; }
.theme-toggle.is-dark .icon-sun { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
.theme-toggle.is-dark .icon-moon { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.navbar.scrolled .theme-toggle {
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background-color var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
}

.navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(10, 32, 20, 0.18);
  border-radius: 28px 0 0 28px;
  transform: translateX(104%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

[data-theme="dark"] .mobile-drawer {
  background: #0f241a;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(10, 32, 20, 0.07);
  flex-shrink: 0;
}

[data-theme="dark"] .mobile-drawer-head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mobile-drawer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 32, 20, 0.1);
  background: rgba(10, 32, 20, 0.04);
  color: #0a2014;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(31, 122, 77, 0.12);
  border-color: rgba(31, 122, 77, 0.28);
  transform: rotate(90deg);
}

[data-theme="dark"] .mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f3f7f4;
}

.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-nav a,
.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #0a2014;
  border: 1px solid transparent;
  border-radius: 16px;
  border-bottom: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-nav a::after {
  content: "→";
  font-size: 1rem;
  font-weight: 500;
  color: rgba(10, 32, 20, 0.28);
  transition: color 0.2s ease, transform 0.2s ease;
}

[dir="rtl"] .mobile-drawer-nav a::after {
  content: "←";
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:focus-visible {
  background: rgba(31, 122, 77, 0.08);
  border-color: rgba(31, 122, 77, 0.14);
  color: #1f7a4d;
  outline: none;
}

.mobile-drawer-nav a:hover::after,
.mobile-drawer-nav a:focus-visible::after {
  color: #1f7a4d;
  transform: translateX(3px);
}

[dir="rtl"] .mobile-drawer-nav a:hover::after,
[dir="rtl"] .mobile-drawer-nav a:focus-visible::after {
  transform: translateX(-3px);
}

[data-theme="dark"] .mobile-drawer-nav a,
[data-theme="dark"] .mobile-drawer a {
  color: #f3f7f4;
  border-bottom-color: transparent;
}

[data-theme="dark"] .mobile-drawer-nav a::after {
  color: rgba(243, 247, 244, 0.3);
}

[data-theme="dark"] .mobile-drawer-nav a:hover,
[data-theme="dark"] .mobile-drawer-nav a:focus-visible {
  background: rgba(245, 197, 66, 0.1);
  border-color: rgba(245, 197, 66, 0.18);
  color: #f5c542;
}

[data-theme="dark"] .mobile-drawer-nav a:hover::after,
[data-theme="dark"] .mobile-drawer-nav a:focus-visible::after {
  color: #f5c542;
}

.mobile-drawer-foot {
  flex-shrink: 0;
  padding: 16px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(10, 32, 20, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[data-theme="dark"] .mobile-drawer-foot {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mobile-drawer-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 18px !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, #1f7a4d 0%, #0f5c38 100%) !important;
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(31, 122, 77, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mobile-drawer-cta::after {
  display: none !important;
}

.mobile-drawer-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(31, 122, 77, 0.34);
  color: #fff !important;
}

.mobile-drawer-tag {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(10, 32, 20, 0.45);
}

[data-theme="dark"] .mobile-drawer-tag {
  color: rgba(243, 247, 244, 0.45);
}

.mobile-drawer-actions {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 14, 0.52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.overlay.active {
  opacity: 1;
}

/* Staggered link entrance when drawer opens */
.mobile-drawer.open .mobile-drawer-nav a {
  animation: drawerLinkIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(2) { animation-delay: 0.09s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(3) { animation-delay: 0.13s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(4) { animation-delay: 0.17s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(5) { animation-delay: 0.21s; }
.mobile-drawer.open .mobile-drawer-nav a:nth-child(6) { animation-delay: 0.25s; }

.mobile-drawer.open .mobile-drawer-foot {
  animation: drawerLinkIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

@keyframes drawerLinkIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[dir="rtl"] .mobile-drawer {
  right: auto;
  left: 0;
  border-radius: 0 28px 28px 0;
  box-shadow: 24px 0 60px rgba(10, 32, 20, 0.18);
  transform: translateX(-104%);
}

[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0);
}

@keyframes drawerLinkInRtl {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[dir="rtl"] .mobile-drawer.open .mobile-drawer-nav a,
[dir="rtl"] .mobile-drawer.open .mobile-drawer-foot {
  animation-name: drawerLinkInRtl;
}

/* ─── 8. HERO SECTION ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--deep-teal) 0%, #0A3D2E 50%, var(--dark-green) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Text-position scrim for contrast on photo heroes */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(6, 18, 12, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6, 18, 12, 0.35) 0%, rgba(6, 18, 12, 0.15) 40%, rgba(6, 18, 12, 0.55) 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Primary CTA stands out; secondary is ghost on photo */
.hero-ctas .btn-accent {
  box-shadow: var(--shadow-gold);
}
.hero-ctas .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.hero-ctas .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.hero-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
  opacity: 0;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.hero-title .highlight {
  color: var(--gold-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-xs);
  opacity: 0;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

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

/* ─── 9. TRUST BAR ─── */
/* Trust Bar – Continuous Logo Marquee */
.trust-bar {
  position: relative;
  padding: var(--space-md) 0 var(--space-sm);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trust-bar-inner {
  overflow: hidden;
  max-width: 100%;
  padding: 0;
  width: 100%;
}

/* Track wrapper: two equal copies side-by-side, animated as one unit */
.trust-marquee {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: trust-marquee-scroll 35s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.trust-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  flex-shrink: 0;
  /* no nested animation — parent .trust-marquee moves */
  animation: none !important;
  transition: none;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 56px;
  padding: 0.35rem 1.5rem;
  margin-right: 0;
  position: relative;
  user-select: none;
  opacity: 0.9;
  transition: opacity 0.25s ease;
  font-size: 0;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  color: transparent;
}

.trust-logo-item img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  pointer-events: none;
  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 {
  opacity: 1;
  color: transparent;
}

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

/* No pseudo-dot separators — they break equal track widths / seamless loop */
.trust-logo-item::after {
  content: none !important;
  display: none !important;
}

.trust-tagline {
  text-align: center;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Move exactly one track width (-50% of two equal tracks) for a seamless loop */
@keyframes trust-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Keep scrolling always — no hover pause, no delay */
.trust-bar:hover .trust-marquee,
.trust-bar:hover .trust-logos {
  animation-play-state: running !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trust-marquee {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .trust-logos:last-child {
    display: none;
  }
}

/* ─── 10. ABOUT SECTION ─── */
/* About CTA card (placeholder on homepage) */
.about-cta-card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2.5vw, 28px);
}

.about-cta-card .about-description {
  max-width: 52ch;
  margin: 0 auto 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-text .section-label {
  text-align: left;
}

.about-text .section-label::after {
  left: 0;
  transform: none;
}

.about-headline {
  margin-bottom: 14px;
  color: var(--green-primary);
  line-height: 1.15;
}

[data-theme="dark"] .about-headline {
  color: var(--gold-primary);
}

.about-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.65;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-green-light), var(--bg-gold-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--green-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pillar-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-green-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

[data-theme="dark"] .pillar-card {
  background: var(--bg-card);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
  animation: none;
}

.pillar-card.in-view .pillar-icon {
  animation: pulse 2s ease-in-out infinite;
}

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

.pillar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--green-primary);
}

[data-theme="dark"] .pillar-title {
  color: var(--gold-primary);
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── 11. FRAMEWORK SECTION ─── */
.timeline {
  position: relative;
  margin: var(--space-lg) 0;
}

.timeline-line {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-green-light);
  border-radius: 2px;
  z-index: 1;
}

[data-theme="dark"] .timeline-line {
  background: var(--bg-card);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gold-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
}

.timeline-dot {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--bg-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-primary);
  transition: all var(--transition-base);
  border: 3px solid transparent;
  margin-bottom: var(--space-sm);
}

[data-theme="dark"] .timeline-dot {
  background: var(--bg-card);
}

.timeline-node.active .timeline-dot,
.timeline-node:hover .timeline-dot {
  background: var(--gold-primary);
  color: var(--deep-teal);
  transform: scale(1.15);
  box-shadow: var(--shadow-gold);
}

.timeline-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 100px;
  transition: color var(--transition-base);
}

.timeline-node.active .timeline-label,
.timeline-node:hover .timeline-label {
  color: var(--green-primary);
}

[data-theme="dark"] .timeline-node.active .timeline-label,
[data-theme="dark"] .timeline-node:hover .timeline-label {
  color: var(--gold-primary);
}

.framework-detail {
  margin-top: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold-primary);
  min-height: 180px;
  transition: all var(--transition-base);
}

[data-theme="dark"] .framework-detail {
  background: var(--bg-card);
  border-color: var(--gold-primary);
}

.framework-detail-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--green-primary);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

[data-theme="dark"] .framework-detail-title {
  color: var(--gold-primary);
}

.framework-detail-number {
  color: var(--gold-primary);
  font-size: 2rem;
  font-weight: 800;
  opacity: 0.3;
}

[data-theme="dark"] .framework-detail-number {
  color: var(--green-primary);
  opacity: 0.4;
}

.framework-detail-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 700px;
}

/* --- 12. PORTFOLIO SECTION --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .portfolio-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 197, 66, 0.4);
}

.portfolio-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(46, 139, 87, 0.12), rgba(255, 215, 0, 0.1));
  color: var(--green-primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.portfolio-card:hover .portfolio-icon {
  transform: scale(1.06);
}

.portfolio-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.portfolio-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* ─── 13. GLOBAL SOURCING SECTION ─── */
.sourcing-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.world-map-container {
  position: relative;
  background: var(--bg-green-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

[data-theme="dark"] .world-map-container {
  background: var(--bg-card);
}

.world-map-visual {
  position: relative;
  width: 100%;
  height: 350px;
}

.map-region {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--green-primary);
  cursor: pointer;
  transition: all var(--transition-base);
}

[data-theme="dark"] .map-region {
  color: var(--gold-primary);
}

.map-region:hover {
  transform: scale(1.1);
}

.map-dot {
  width: 12px;
  height: 12px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
  animation: map-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
}

@keyframes map-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0); }
}

.map-line {
  position: absolute;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold-primary) 0,
    var(--gold-primary) 6px,
    transparent 6px,
    transparent 12px
  );
  transform-origin: left center;
  opacity: 0.6;
}

.uae-marker {
  position: absolute;
  right: 15%;
  top: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.uae-dot {
  width: 18px;
  height: 18px;
  background: var(--green-primary);
  border-radius: var(--radius-full);
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.2);
  animation: uae-glow 2s ease-in-out infinite;
}

@keyframes uae-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(46, 139, 87, 0.1); }
}

.uae-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-primary);
  background: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .uae-label {
  background: var(--bg-card);
  color: var(--gold-primary);
}

.sourcing-regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.region-card {
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  cursor: pointer;
}

[data-theme="dark"] .region-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.05);
}

.region-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.region-emoji {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.region-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-primary);
  margin-bottom: 4px;
}

[data-theme="dark"] .region-name {
  color: var(--gold-primary);
}

.region-countries {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── 14. UAE COVERAGE SECTION ─── */
.coverage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.uae-map-container {
  position: relative;
  background: var(--bg-green-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .uae-map-container {
  background: var(--bg-card);
}

.uae-map-placeholder {
  text-align: center;
  color: var(--green-primary);
}

[data-theme="dark"] .uae-map-placeholder {
  color: var(--gold-primary);
}

.emirates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-top: var(--space-sm);
}

.emirate-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--white);
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--green-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

[data-theme="dark"] .emirate-tag {
  background: var(--bg-card);
  color: var(--gold-primary);
}

.emirate-tag:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: scale(1.05);
}

[data-theme="dark"] .emirate-tag:hover {
  background: var(--gold-primary);
  color: var(--deep-teal);
}

.emirate-pin {
  font-size: 0.7rem;
}

.coverage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.stat-card-light {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-green-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

[data-theme="dark"] .stat-card-light {
  background: var(--bg-card);
}

.stat-card-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card-light .stat-number {
  color: var(--green-primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

[data-theme="dark"] .stat-card-light .stat-number {
  color: var(--gold-primary);
}

.stat-card-light .stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.stat-card-light .stat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
  display: block;
}

/* ─── 15. SEGMENTS SECTION ─── */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.segment-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

[data-theme="dark"] .segment-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.segment-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: 0 8px 28px rgba(31, 122, 77, .12);
}

.segment-card:hover .segment-icon {
  transform: scale(1.08);
}

.segment-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1.25;
}

.segment-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 220px;
  margin: 0 auto;
}

/* ─── 16. ADVANTAGES SECTION ─── */
.advantage-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .advantage-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.advantage-item:last-child {
  border-bottom: none;
}

.advantage-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  min-width: 80px;
  opacity: 0.7;
}

[data-theme="dark"] .advantage-number {
  color: var(--gold-primary);
  opacity: 0.8;
}

.advantage-content {
  padding-top: var(--space-xs);
}

.advantage-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-primary);
  margin-bottom: var(--space-xs);
}

[data-theme="dark"] .advantage-title {
  color: var(--gold-primary);
}

.advantage-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── 16.5 VISION & MISSION TWO-COLUMN ─── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl, 2rem);
  align-items: stretch;
}

.vm-col {
  padding: var(--space-xl, 2.5rem);
  border-radius: var(--radius-xl, 16px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md, 1.25rem);
}

/* Light mode: solid light backgrounds so dark text is readable on top of .section-dark */
.vm-vision {
  background: #FEFDF6;
  border: 1px solid rgba(245,197,66,0.30);
}

.vm-mission {
  background: #F3F9F5;
  border: 1px solid rgba(31,122,77,0.30);
}

/* Dark mode: translucent tinted backgrounds with light text */
[data-theme="dark"] .vm-vision {
  background: linear-gradient(145deg, rgba(245,197,66,0.12) 0%, rgba(245,197,66,0.04) 100%);
  border: 1px solid rgba(245,197,66,0.18);
}

[data-theme="dark"] .vm-mission {
  background: linear-gradient(145deg, rgba(52,199,123,0.12) 0%, rgba(52,199,123,0.04) 100%);
  border: 1px solid rgba(52,199,123,0.20);
}

.vm-badge {
  display: inline-block;
  font-family: var(--font-heading, 'Outfit');
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 999px;
}

.vm-vision .vm-badge {
  color: #8B6914;
  background: rgba(245,197,66,0.18);
}

.vm-mission .vm-badge {
  color: #155A38;
  background: rgba(31,122,77,0.15);
}

[data-theme="dark"] .vm-vision .vm-badge {
  color: #FFD84D;
  background: rgba(255,216,77,0.15);
}

[data-theme="dark"] .vm-mission .vm-badge {
  color: #34C77B;
  background: rgba(52,199,123,0.15);
}

.vm-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vm-vision .vm-svg {
  color: var(--gold-primary, #F5C542);
  width: 42px;
  height: 42px;
}

.vm-mission .vm-svg {
  color: var(--green-primary, #1F7A4D);
  width: 42px;
  height: 42px;
}

.vm-headline {
  font-family: var(--font-heading, 'Outfit');
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  color: #0E1F17;
  max-width: 520px;
}

[data-theme="dark"] .vm-headline {
  color: #EAF3EC;
}

.vm-divider {
  width: 60px;
  height: 3px;
  border-radius: 3px;
}

.vm-vision .vm-divider {
  background: var(--gold-primary, #F5C542);
}

.vm-mission .vm-divider {
  background: var(--green-primary, #1F7A4D);
}

.vm-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vm-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2A3A30;
}

[data-theme="dark"] .vm-points li {
  color: #B0C8B8;
}

.vm-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.vm-vision .vm-points li::before {
  background: var(--gold-primary, #F5C542);
}

.vm-mission .vm-points li::before {
  background: var(--green-primary, #1F7A4D);
}

/* ─── 17. VISION SECTION ─── */
.vision-quote {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.vision-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.vision-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.vision-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  border-color: var(--gold-primary);
}

.vision-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.vision-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.vision-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ─── 18. CONTACT SECTION ─── */
.contact-content {
  text-align: center;
}

.contact-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  cursor: pointer;
}

[data-theme="dark"] .contact-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 32px rgba(245, 197, 66, 0.18), 0 4px 12px rgba(31, 122, 77, 0.1);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.contact-card-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-primary);
  margin-bottom: 4px;
}

[data-theme="dark"] .contact-card-label {
  color: var(--gold-primary);
}

.contact-card-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-cta {
  margin-top: var(--space-md);
}

/* Contact cards as links */
a.contact-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.contact-card:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

.contact-card-value {
  line-height: 1.45;
  word-break: break-word;
}

.contact-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.25);
}

.contact-card--whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.contact-card--whatsapp .contact-card-icon {
  color: #25D366;
}

.contact-card--whatsapp .contact-card-label {
  color: #128C7E;
}

[data-theme="dark"] .contact-card--whatsapp .contact-card-label {
  color: #25D366;
}

/* Landing flash when arriving via #contact / #brands / Enquire */
#contact.hash-target-flash,
#brands.hash-target-flash {
  outline: 2px solid rgba(15, 110, 74, 0.45);
  outline-offset: 10px;
  border-radius: 18px;
  transition: outline-color 0.6s ease;
}

[data-theme="dark"] #contact.hash-target-flash,
[data-theme="dark"] #brands.hash-target-flash {
  outline-color: rgba(245, 197, 66, 0.55);
}

/* Hash jump must not leave brand cards invisible under GSAP opacity:0 */
#brands.hash-target-flash .brand-card,
#brands.is-visible .brand-card,
#brands-grid .brand-card.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.enquire-context {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  align-items: start;
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 110, 74, 0.22);
  background: linear-gradient(135deg, rgba(15, 110, 74, 0.08), rgba(245, 197, 66, 0.08));
  box-shadow: 0 8px 28px rgba(10, 32, 20, 0.06);
}

.enquire-context-icon {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #0f6e4a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.1rem;
}

.enquire-context-text {
  margin: 0;
  font-weight: 650;
  color: var(--text, #0a2014);
  font-size: 1rem;
  line-height: 1.35;
}

.enquire-context-hint {
  margin: 0;
  grid-column: 2;
  color: var(--text-muted, #5a7264);
  font-size: 0.9rem;
  line-height: 1.4;
}

[data-theme="dark"] .enquire-context {
  border-color: rgba(245, 197, 66, 0.28);
  background: linear-gradient(135deg, rgba(15, 110, 74, 0.22), rgba(245, 197, 66, 0.1));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .enquire-context-text {
  color: #eaf3ec;
}

[data-theme="dark"] .enquire-context-hint {
  color: #9db4a6;
}


/* ─── 19. FOOTER ─── */
.footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-xl) 0 var(--space-lg);
  transition: background-color 0.4s ease;
}

[data-theme="dark"] .footer {
  background: #041212;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo {
  height: 45px;
  width: auto;
  margin-bottom: var(--space-sm);
}

.footer-brand .footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 1px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-inline-start: 8px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--gold-primary);
  color: var(--deep-teal);
  transform: scale(1.15);
}

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

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── 20. UTILITY CLASSES ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* ─── 21. ANIMATIONS ─── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
}

/* Reduced motion */
@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;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ─── 22. RTL SUPPORT ─── */
[dir="rtl"] .advantage-item {
  grid-template-columns: 1fr auto;
}

[dir="rtl"] .advantage-number {
  order: 2;
}

[dir="rtl"] .advantage-content {
  order: 1;
}

[dir="rtl"] .framework-detail {
  border-left: none;
  border-right: 4px solid var(--gold-primary);
}

[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .hamburger {
  order: -1;
}

/* ─── 23. RESPONSIVE ─── */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-image {
    order: -1;
  }

  .sourcing-content {
    grid-template-columns: 1fr;
  }

  .coverage-content {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .timeline-nodes {
    flex-direction: column;
    gap: var(--space-md);
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: 32px;
    right: auto;
    width: 4px;
    height: 100%;
  }

  .timeline-progress {
    width: 100%;
    height: 0;
    transition: height 0.3s ease;
  }

  .timeline-node {
    flex-direction: row;
    gap: var(--space-sm);
  }

  .timeline-dot {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .timeline-label {
    text-align: left;
    max-width: none;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .sourcing-regions {
    grid-template-columns: 1fr;
  }

  .coverage-stats {
    grid-template-columns: 1fr 1fr;
  }

  .segments-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantage-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .advantage-number {
    font-size: 2.5rem;
    min-width: auto;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vm-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md, 1.5rem);
  }

  .vm-col {
    padding: var(--space-lg, 1.75rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-card-light .stat-number {
    font-size: 1.8rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }
}

/* Small Mobile (< 425px) */
@media (max-width: 424px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }

  .coverage-stats {
    grid-template-columns: 1fr;
  }

  .emirates-grid {
    gap: 6px;
  }

  .emirate-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/* ─── GLOBAL SOURCING GLOBE SECTION ─── */
.sourcing-globe-layout {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}
.globe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(46,139,87,0.15);
  background: #0a1f14;
}
.globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  position: relative;
}

/* SVG world map */
.globe-svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.globe-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 197, 66, 0.7);
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
}

.map-country {
  transition: fill 0.3s ease;
}

.map-country-highlight {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.map-route {
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.map-label {
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.map-spoke-ring,
.map-spoke-dot {
  transition: r 0.3s ease, fill 0.3s ease, opacity 0.3s ease;
}

.map-spoke-dot {
  cursor: pointer;
}
/* Country sourcing cards */
.countries-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 760px;
  margin: 0 auto;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(61, 212, 137, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.country-index {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-primary);
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.country-card:hover .country-index {
  opacity: 1;
}

.country-route {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.country-card:hover .country-route,
.country-card:focus .country-route {
  opacity: 1;
  transform: translateX(0);
}

.country-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--green-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.country-card:hover {
  background: rgba(61, 212, 137, 0.08);
  border-color: var(--green-primary);
  transform: translateY(-4px);
}

.country-card:hover::before {
  transform: scaleY(1);
}

.country-flag {
  font-size: 1.8rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.2), rgba(61, 212, 137, 0.1));
  border-radius: var(--radius-md);
}

.country-content {
  flex: 1;
  min-width: 0;
}

.country-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.country-products {
  font-size: 0.78rem;
  color: rgba(234, 243, 236, 0.55);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.country-arrow {
  font-size: 1.2rem;
  color: var(--gold-primary);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.country-card:hover .country-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive: stack */
@media (max-width: 1023px) {
  .countries-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .countries-list {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Large Desktop (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: 5.5rem;
  }
}


/* SEO: visually hidden but available to crawlers / AT (no UI change) */
.seo-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== Brand Partners cards (#brands) ===== */
#brands,
.brands-section {
  background: var(--bg);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  align-items: stretch;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 14px 16px;
  background: var(--white, #fff);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 0;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 32, 20, 0.12);
  border-color: rgba(31, 122, 77, 0.22);
}

.brand-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #f4f7f5;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.brand-card-logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.88;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-card-logo svg {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  display: block;
}

.brand-card:hover .brand-card-logo img {
  filter: grayscale(0.35) contrast(1.05);
  opacity: 1;
}

.brand-card-name {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text, #0a2014);
  line-height: 1.3;
}

a.brand-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.brand-card-link:focus-visible {
  outline: 2px solid var(--green-primary, #1f7a4d);
  outline-offset: 3px;
}

[data-theme="dark"] .brand-card,
html.dark .brand-card,
body.dark .brand-card {
  background: var(--bg-card, #0f2419);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .brand-card-logo,
html.dark .brand-card-logo,
body.dark .brand-card-logo {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

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

[data-theme="dark"] .brand-card-logo img,
html.dark .brand-card-logo img,
body.dark .brand-card-logo img {
  filter: grayscale(1) brightness(1.15) contrast(1.05);
  opacity: 0.9;
}

[data-theme="dark"] .brand-card:hover .brand-card-logo img,
html.dark .brand-card:hover .brand-card-logo img,
body.dark .brand-card:hover .brand-card-logo img {
  filter: grayscale(0.25) brightness(1.2) contrast(1.05);
  opacity: 1;
}

@media (max-width: 991px) {
  .brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-card {
    padding: 16px 10px 14px;
  }

  .brand-card-logo {
    height: 72px;
    padding: 10px 12px;
  }

  .brand-card-logo img {
    max-height: 52px;
  }

  .brand-card-name {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* ─── DISTRIBUTION CORRIDOR (signature strip) ─── */
.corridor-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.corridor-section::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 122, 77, 0.28), transparent);
  pointer-events: none;
}
.corridor-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
  padding: 0;
  counter-reset: none;
  position: relative;
}
.corridor-step {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid rgba(14, 31, 23, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.2vw, 28px) clamp(14px, 1.6vw, 20px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  min-height: 100%;
}
.corridor-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 77, 0.28);
}
.corridor-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.corridor-title {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.25;
  text-wrap: balance;
}
.corridor-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 28ch;
}
.corridor-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: -12px;
  width: 12px;
  height: 2px;
  background: linear-gradient(90deg, rgba(245, 197, 66, 0.7), rgba(31, 122, 77, 0.45));
  transform: translateY(-50%);
  pointer-events: none;
}
[dir="rtl"] .corridor-step:not(:last-child)::after {
  background: linear-gradient(-90deg, rgba(245, 197, 66, 0.7), rgba(31, 122, 77, 0.45));
}

.advantages-cta {
  text-align: center;
}
.advantages-cta .section-header {
  margin-bottom: 0;
}
.advantages-lead,
.brands-lead {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* RTL marquee direction */
[dir="rtl"] .trust-marquee {
  animation-name: trust-marquee-scroll-rtl;
}
@keyframes trust-marquee-scroll-rtl {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Arabic hero — avoid forced line break looking broken */
[lang="ar"] .hero-title-break {
  display: none;
}
[lang="ar"] .hero-title {
  line-height: 1.2;
  letter-spacing: 0;
}
[lang="ar"] .hero-label {
  letter-spacing: 0.06em;
}
[lang="ar"] .corridor-title,
[lang="ar"] .corridor-desc {
  letter-spacing: 0;
  max-width: none;
}

/* Tap targets + corridor responsive */
@media (max-width: 1024px) {
  .corridor-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .corridor-step:nth-child(3)::after,
  .corridor-step:last-child::after {
    display: none;
  }
  .corridor-section::before {
    display: none;
  }
}
@media (max-width: 767px) {
  .corridor-track {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .corridor-step::after {
    display: none !important;
  }
  .corridor-desc {
    max-width: none;
    font-size: 0.85rem;
  }
  .criteria-chip,
  .emirate-tag {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin-inline: auto;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .corridor-step:hover {
    transform: none;
  }
  [dir="rtl"] .trust-marquee {
    animation: none;
  }
}

