/* ============================================================
   ISDA — International Sustainable Development Agency
   Design System & Global Styles
   Domain: www.isda-int.org
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — DESIGN TOKENS
   ============================================================ */
:root {
  /* === BRAND COLORS === */
  --color-brand-primary:       #2D1B69;   /* Deep Royal Purple — from logo */
  --color-brand-secondary:     #1A3A6E;   /* Deep Navy Blue — letterhead accent */
  --color-brand-accent:        #00B4D8;   /* Teal/Cyan — modern tech accent */
  --color-brand-accent-2:      #0077B6;   /* Ocean Blue — secondary accent */
  --color-brand-gold:          #C9A84C;   /* Gold — prestige/UN aesthetic */
  --color-brand-teal-dark:     #005F73;   /* Dark Teal — from letterhead footer */
  --color-brand-teal-mid:      #0A9396;   /* Mid Teal */
  --color-brand-teal-light:    #94D2BD;   /* Light Teal */

  /* === BACKGROUNDS === */
  --color-bg-primary:          #FFFFFF;
  --color-bg-off-white:        #F8F9FA;
  --color-bg-light:            #EEF2F7;
  --color-bg-dark:             #0A0F1E;   /* Deep space dark — cinematic hero */
  --color-bg-darker:           #060A14;
  --color-bg-purple-dark:      #1A0E3F;   /* Dark purple — brand hero overlay */
  --color-bg-navy:             #0D1B3E;
  --color-bg-section:          #F4F6F9;

  /* === TEXT === */
  --color-text-primary:        #0D0D0D;
  --color-text-secondary:      #3A3A4A;
  --color-text-muted:          #6B7280;
  --color-text-light:          #9CA3AF;
  --color-text-white:          #FFFFFF;
  --color-text-accent:         #00B4D8;

  /* === BORDERS === */
  --color-border-light:        rgba(0, 0, 0, 0.08);
  --color-border-mid:          rgba(0, 0, 0, 0.15);
  --color-border-dark:         rgba(255, 255, 255, 0.1);
  --color-border-purple:       rgba(45, 27, 105, 0.2);

  /* === GRADIENTS === */
  --gradient-hero:             linear-gradient(135deg, #1A0E3F 0%, #0D1B3E 40%, #003459 100%);
  --gradient-brand:            linear-gradient(135deg, #2D1B69 0%, #1A3A6E 100%);
  --gradient-accent:           linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
  --gradient-teal:             linear-gradient(135deg, #005F73 0%, #0A9396 100%);
  --gradient-dark-overlay:     linear-gradient(to bottom, rgba(10, 15, 30, 0.5) 0%, rgba(10, 15, 30, 0.85) 100%);
  --gradient-card-hover:       linear-gradient(135deg, rgba(45, 27, 105, 0.05) 0%, rgba(0, 180, 216, 0.05) 100%);

  /* === TYPOGRAPHY === */
  --font-heading:              'Playfair Display', Georgia, serif;
  --font-body:                 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui:                   'Space Grotesk', 'Inter', sans-serif;
  --font-mono:                 'JetBrains Mono', 'Courier New', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   4.5rem;     /* 72px */
  --text-7xl:   5.625rem;   /* 90px */

  /* Line Heights */
  --leading-tight:    1.2;
  --leading-snug:     1.35;
  --leading-normal:   1.6;
  --leading-relaxed:  1.75;

  /* Letter Spacing */
  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.2em;

  /* === SPACING === */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */
  --space-40:  10rem;     /* 160px */
  --space-48:  12rem;     /* 192px */

  /* === LAYOUT === */
  --container-max:     1280px;
  --container-wide:    1440px;
  --container-narrow:  800px;
  --container-mid:     1040px;
  --nav-height:        80px;
  --nav-height-scroll: 64px;

  /* === EFFECTS === */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:      0 24px 60px rgba(0,0,0,0.16), 0 8px 20px rgba(0,0,0,0.08);
  --shadow-purple:  0 8px 30px rgba(45, 27, 105, 0.25);
  --shadow-teal:    0 8px 30px rgba(0, 180, 216, 0.2);
  --shadow-glow:    0 0 40px rgba(0, 180, 216, 0.15), 0 0 80px rgba(45, 27, 105, 0.1);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* === TRANSITIONS === */
  --transition-fast:    150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:    250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:    400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring:  600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-nav:     300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   SKIP LINK (ACCESSIBILITY)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-brand-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-nav), height var(--transition-nav), box-shadow var(--transition-nav);
}

.site-nav.transparent {
  background: transparent;
}

.site-nav.scrolled {
  background: rgba(10, 15, 30, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--nav-height-scroll);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.site-nav.scrolled .nav-logo-img {
  width: 40px;
  height: 40px;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  color: white;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-logo-full {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

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

.nav-link {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-brand-accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - var(--space-8));
}

.nav-link.active {
  color: white;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-nav-outline {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  padding: var(--space-2) var(--space-5);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
}

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

.btn-nav-primary {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  background: var(--gradient-accent);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(0, 180, 216, 0.45);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 90vw);
  height: 100vh;
  background: var(--color-bg-dark);
  border-left: 1px solid rgba(255,255,255,0.06);
  z-index: 999;
  transition: right var(--transition-slow);
  overflow-y: auto;
  padding: var(--space-24) var(--space-8) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nav-drawer.open {
  right: 0;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer-link {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.drawer-link:hover {
  color: white;
  padding-left: var(--space-3);
}

/* ============================================================
   CONTAINERS & LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

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

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

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

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

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

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-brand-accent);
  flex-shrink: 0;
}

.eyebrow.light {
  color: rgba(255,255,255,0.7);
}

.eyebrow.light::before {
  background: rgba(255,255,255,0.4);
}

.eyebrow.gold {
  color: var(--color-brand-gold);
}

.eyebrow.gold::before {
  background: var(--color-brand-gold);
}

.heading-display {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-7xl));
  font-weight: 900;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.heading-1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.heading-2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.heading-3 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 600;
  line-height: var(--leading-snug);
}

.heading-4 {
  font-family: var(--font-ui);
  font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
  font-weight: 600;
  line-height: var(--leading-snug);
}

.heading-5 {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-snug);
}

.lead {
  font-size: clamp(var(--text-md), 2vw, var(--text-xl));
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  font-weight: 400;
}

.lead-light {
  color: rgba(255,255,255,0.75);
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #C9A84C, #E8C96A, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
}

.btn-secondary:hover {
  background: var(--color-brand-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

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

.btn-white:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-brand {
  background: var(--gradient-brand);
  color: white;
  box-shadow: var(--shadow-purple);
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(45, 27, 105, 0.4);
}

.btn-lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
}

.btn-sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-5);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  /* Top padding clears the fixed navbar, bottom padding balances it */
  padding: calc(var(--nav-height) + 2rem) var(--space-8) 2rem;
  width: 100%;
  /* Ensure content never starts behind navbar */
  padding-top: max(calc(var(--nav-height) + 2rem), 120px);
}

.hero-scroll {
  display: none;
}

/* Hero Background Video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 30, 0.55) 0%,
    rgba(26, 14, 63, 0.65) 40%,
    rgba(10, 15, 30, 0.85) 100%
  );
  z-index: 1;
}

/* ============================================================
   IMAGE SECTIONS
   ============================================================ */
.img-rounded {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-section {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 340px;
}

.img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.img-section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
}

.img-section-overlay.dark {
  background: linear-gradient(to top, rgba(10,15,30,0.85) 0%, rgba(10,15,30,0.2) 60%, transparent 100%);
}

.img-collage {
  display: grid;
  gap: var(--space-4);
  grid-template-rows: 1fr 1fr;
}

.img-collage-tall {
  grid-row: 1 / -1;
  min-height: 400px;
}

.img-collage-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.img-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}

.img-collage-item:hover img {
  transform: scale(1.05);
}

/* Page Hero with background image */
.page-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 14, 63, 0.85) 0%,
    rgba(13, 27, 62, 0.8) 40%,
    rgba(0, 52, 89, 0.75) 100%
  );
}

/* ============================================================
   SCROLL-DRIVEN IMPACT JOURNEY
   ============================================================ */
.impact-journey {
  position: relative;
  padding: var(--space-32) 0;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.journey-header {
  text-align: center;
  margin-bottom: var(--space-16);
  position: relative;
  z-index: 2;
}

.journey-track {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* The vertical centre line — z-index 0 so it's behind everything */
.journey-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.07);
  transform: translateX(-50%);
  z-index: 0;
}

/* Animated cyan progress fill — also z-index 0 */
.journey-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #00B4D8, #0077B6);
  transform: translateX(-50%);
  transition: height 0.12s linear;
  z-index: 0;
  box-shadow: 0 0 14px rgba(0, 180, 216, 0.55);
}

/*
  Each step is a 3-column grid:  [col] [node] [col]
  The node always stays in the centre column.
  Default (no modifier): left col = image, right col = text.
  --flip modifier:        left col = text, right col = image.
  This is done purely with order — the DOM order never changes.
*/
.journey-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0 var(--space-8);
  margin-bottom: var(--space-12);
  position: relative;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.journey-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Column base */
.journey-col {
  position: relative;
  z-index: 1;
}

/* DEFAULT layout: image (col 1) | node (col 2) | text (col 3) */
.journey-col--image { order: 1; text-align: right; }
.journey-node       { order: 2; }
.journey-col--text  { order: 3; text-align: left; }

/* FLIPPED layout: text (col 1) | node (col 2) | image (col 3) */
.journey-step--flip .journey-col--image { order: 3; text-align: left; }
.journey-step--flip .journey-node       { order: 2; }
.journey-step--flip .journey-col--text  { order: 1; text-align: right; }

/* Push image thumbs to hug the centre line */
.journey-col--image .journey-img-thumb {
  margin-left: auto;
  margin-right: 0;
}
.journey-step--flip .journey-col--image .journey-img-thumb {
  margin-left: 0;
  margin-right: auto;
}

/* Push text block to hug the centre line */
.journey-col--text .journey-phase,
.journey-col--text .journey-title,
.journey-col--text .journey-desc {
  text-align: left;
}
.journey-step--flip .journey-col--text .journey-phase,
.journey-step--flip .journey-col--text .journey-title,
.journey-step--flip .journey-col--text .journey-desc {
  text-align: right;
}

/* Node — sits on z-index 3 so it's always on top of the line */
.journey-node {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 3;           /* on top of the line */
  flex-shrink: 0;
  background: #0d1b3e;
  border: 2.5px solid rgba(255,255,255,0.1);
  transition: all 0.6s ease;
  box-shadow: 0 0 0 6px var(--color-bg-dark); /* masks the line behind it */
}

.journey-step.visible .journey-node {
  background: linear-gradient(135deg, #00B4D8, #0077B6);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 0 6px var(--color-bg-dark), 0 0 28px rgba(0, 180, 216, 0.4);
}

.journey-node-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.6s ease 0.25s;
  pointer-events: none;
}

.journey-step.visible .journey-node-ring {
  border-color: rgba(0, 180, 216, 0.2);
}

/* Phase label */
.journey-phase {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-brand-accent);
  margin-bottom: var(--space-2);
}

.journey-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

.journey-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--leading-relaxed);
  max-width: 300px;
}

/* Keep desc on the correct side */
.journey-col--text .journey-desc { margin-left: 0; }
.journey-step--flip .journey-col--text .journey-desc { margin-left: auto; margin-right: 0; }

/* Image thumbnail */
.journey-img-thumb {
  display: inline-block;
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-xl);
}

.journey-img-thumb img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.journey-img-thumb:hover img {
  transform: scale(1.06);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  /* Collapse to single-column: node + text only, no images */
  .journey-track::before { left: 28px; transform: none; }
  .journey-progress      { left: 28px; transform: none; }

  .journey-step {
    grid-template-columns: 56px 1fr;
    gap: 0 var(--space-4);
  }

  /* Hide images on mobile, keep text */
  .journey-col--image { display: none !important; }

  /* Both default and flipped: node col-1, text col-2 */
  .journey-node,
  .journey-step--flip .journey-node { order: 1; width: 56px; height: 56px; font-size: 1rem; }

  .journey-col--text,
  .journey-step--flip .journey-col--text {
    order: 2;
    text-align: left !important;
  }

  .journey-step--flip .journey-col--text .journey-desc { margin-left: 0; margin-right: 0; }
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 27, 105, 0.8), transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.6), transparent 70%);
  bottom: -100px;
  right: -50px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.5), transparent 70%);
  top: 30%;
  right: 20%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

/* Grid pattern overlay — removed for clean look */
.hero-grid {
  display: none;
}

/* hero-content defined above */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--color-brand-accent);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-brand-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: var(--space-4);
  max-width: 680px;
}

.hero-title .line-accent {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}

.hero-title .line-gradient {
  background: linear-gradient(90deg, #00B4D8, #94D2BD, #00B4D8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(var(--text-sm), 1.5vw, var(--text-base));
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-1);
  max-width: 700px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  backdrop-filter: blur(10px);
}

.hero-stat {
  text-align: center;
  padding: var(--space-3) var(--space-2);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-value {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero-stat-value .accent {
  color: var(--color-brand-accent);
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  letter-spacing: var(--tracking-wide);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Scroll indicator — hidden */

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   IMPACT TICKER / MARQUEE
   ============================================================ */
.impact-ticker {
  background: var(--gradient-teal);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: var(--space-12);
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header.centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  margin: var(--space-6) 0;
}

.section-header.centered .section-divider {
  margin: var(--space-6) auto;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.2);
}

.card-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: white;
}

.card-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0, 180, 216, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), var(--shadow-teal);
}

.card-body {
  padding: var(--space-8);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(45, 27, 105, 0.08));
  border: 1px solid rgba(0, 180, 216, 0.15);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-icon.purple {
  background: linear-gradient(135deg, rgba(45, 27, 105, 0.12), rgba(45, 27, 105, 0.06));
  border-color: rgba(45, 27, 105, 0.2);
}

.card-icon.teal {
  background: linear-gradient(135deg, rgba(0, 95, 115, 0.12), rgba(0, 180, 216, 0.08));
  border-color: rgba(0, 95, 115, 0.2);
}

.card-icon.gold {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
  border-color: rgba(201, 168, 76, 0.2);
}

/* ============================================================
   SERVICE CARDS (PILLAR GRID)
   ============================================================ */
/* 7 cards: 3+3+1 → center the last one */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Center the 7th card when it's alone */
.services-grid > :last-child:nth-child(3n+1) {
  grid-column: 2;
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  display: none;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-number {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-brand-accent);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  line-height: var(--leading-snug);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.service-tag {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-brand-accent);
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ============================================================
   IMPACT / STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

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

.stat-number {
  font-family: var(--font-ui);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.stat-number span {
  color: var(--color-brand-accent);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  line-height: var(--leading-snug);
  max-width: 130px;
  margin: 0 auto;
}

/* ============================================================
   APPROACH / PHASES
   ============================================================ */
.phases-timeline {
  position: relative;
  display: grid;
  gap: var(--space-8);
}

.phases-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-brand-accent), transparent);
}

.phase-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.phase-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}

.phase-content {
  padding-top: var(--space-3);
}

.phase-title {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.phase-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.phase-list li::before {
  content: '→';
  color: var(--color-brand-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.testimonial-section {
  background: var(--color-bg-section);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  position: relative;
  transition: all var(--transition-base);
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-8);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-brand-accent);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-org {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  line-height: 1.3;
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.star {
  color: var(--color-brand-gold);
  font-size: var(--text-sm);
}

/* ============================================================
   PARTNERS LOGOS
   ============================================================ */
.partners-section {
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
  cursor: default;
}

.partner-logo-item:hover {
  border-color: var(--color-brand-accent);
  background: rgba(0, 180, 216, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.partner-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.partner-logo-name {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ============================================================
   WHY PARTNER / VALUE PROPS
   ============================================================ */
/* 8 items: perfect 4+4 → no orphans */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

/* 6 items: perfect 3+3 → no orphans */
.value-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 180, 216, 0.2);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(45, 27, 105, 0.06));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-content h4 {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.value-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   MISSION / VISION / VALUES
   ============================================================ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.mvv-card {
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.mvv-card.mission {
  background: var(--gradient-brand);
  color: white;
}

.mvv-card.vision {
  background: var(--gradient-teal);
  color: white;
}

.mvv-card.values {
  background: white;
  border: 2px solid var(--color-border-light);
  color: var(--color-text-primary);
}

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

.mvv-icon {
  font-size: 3rem;
  margin-bottom: var(--space-5);
  display: block;
}

.mvv-title {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-3);
}

.mvv-heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
}

.mvv-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  opacity: 0.85;
}

/* ============================================================
   VALUES LIST
   ============================================================ */
/* 6 values: 3+3 → no orphans */
.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.value-pill {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.value-pill:hover {
  border-color: var(--color-brand-accent);
  background: rgba(0, 180, 216, 0.03);
  transform: translateX(4px);
}

.value-pill-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.value-pill-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text-primary);
}

.value-pill-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ============================================================
   CTA SECTION — Vibrant cinematic gradient
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #1A0E3F 0%, #0D1B3E 30%, #003459 60%, #005F73 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(45, 27, 105, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 119, 182, 0.12) 0%, transparent 50%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-24) var(--space-8);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-12);
  align-items: start;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.25);
}

.contact-detail h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.contact-detail p, .contact-detail a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.contact-detail a:hover {
  color: var(--color-brand-accent);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-bg-off-white);
  border: 1.5px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-brand-accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: var(--leading-relaxed);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-20) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-logo-img {
  width: 44px;
  height: 44px;
}

.footer-logo-name {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  letter-spacing: var(--tracking-wide);
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-6);
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
  color: white;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-brand-accent);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-relaxed);
}

.footer-contact-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-brand-accent);
}

.footer-bottom {
  padding: var(--space-5) 0 var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* Qloudev credit — sits right on the legal row */
.footer-credit {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.28);
  padding-left: var(--space-3);
  border-left: 1px solid rgba(255,255,255,0.1);
  line-height: 1;
}

.footer-credit a {
  color: rgba(0, 180, 216, 0.75);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--color-brand-accent);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.fade-up {
  transform: translateY(40px);
}

.animate-on-scroll.fade-left {
  transform: translateX(-40px);
}

.animate-on-scroll.fade-right {
  transform: translateX(40px);
}

.animate-on-scroll.scale-in {
  transform: scale(0.92);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 600ms; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 700ms; }

.stagger-children.visible > * {
  opacity: 1;
  transform: none;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  display: none;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
}

.breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-brand-accent);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   SECTORS / TAGS
   ============================================================ */
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.sector-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  background: white;
  border: 1px solid var(--color-border-light);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: default;
}

.sector-badge:hover {
  border-color: var(--color-brand-primary);
  color: var(--color-brand-primary);
  background: rgba(45, 27, 105, 0.03);
  transform: translateY(-2px);
}

.sector-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-brand-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.06), rgba(45, 27, 105, 0.04));
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.highlight-box.dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

/* ============================================================
   PERFORMANCE BADGES
   ============================================================ */
.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.performance-item {
  text-align: center;
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.performance-item:hover {
  border-color: var(--color-brand-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.performance-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  display: block;
}

.performance-metric {
  font-family: var(--font-ui);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-brand-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.performance-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-snug);
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.accordion-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 180, 216, 0.2);
}

.accordion-trigger {
  width: 100%;
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background: var(--color-bg-off-white);
}

.accordion-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  flex: 1;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-brand-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.accordion-item.open .accordion-content {
  max-height: 600px;
}

.accordion-body {
  padding: 0 var(--space-8) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.accordion-body ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.accordion-body ul li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.accordion-body ul li::before {
  content: '✓';
  color: var(--color-brand-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: var(--shadow-purple);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 900;
  border: none;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(45, 27, 105, 0.45);
}

/* ============================================================
   LOADING / PAGE TRANSITION
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 80px;
  height: 80px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  animation: loaderProgress 1.5s ease forwards;
}

@keyframes loaderProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: white; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-brand-accent); }
.text-brand { color: var(--color-brand-primary); }
.text-gold { color: var(--color-brand-gold); }

.bg-dark { background: var(--color-bg-dark); }
.bg-section { background: var(--color-bg-section); }
.bg-brand { background: var(--gradient-brand); }
.bg-white { background: white; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
/* ============================================================
   RESPONSIVE — COMPLETE MOBILE SYSTEM
   ============================================================

   Breakpoints:
   1200px  — large desktop adjustments
    1024px  — tablet landscape / small desktop
     768px  — tablet portrait
      480px  — mobile
      360px  — small mobile

   ============================================================ */

/* ── 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }

  /* Hero content compact */
  .hero-content {
    padding-top: max(calc(var(--nav-height) + 1.5rem), 100px);
    padding-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(1),
  .hero-stat:nth-child(2)  { border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* Services grid → 2 cols */
  /* Services grid → 2 cols */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* No orphan centering needed at 2-col */
  .services-grid > :last-child:nth-child(3n+1) {
    grid-column: auto;
  }

  /* Stats → 3 cols */
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3n) { border-right: none; }

  /* Value grid → 2 cols */
  .value-grid    { grid-template-columns: repeat(2, 1fr); }
  .value-grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* Values list → 2 cols */
  .values-list { grid-template-columns: repeat(2, 1fr); }

  /* Performance grid */
  .performance-grid { grid-template-columns: repeat(3, 1fr); }

  /* MVV */
  .mvv-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

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

  /* Partners */
  .partners-logos { gap: var(--space-4); }
}

/* ── 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-32: 4rem;
    --space-40: 5rem;
    --nav-height: 70px;
  }

  /* Containers */
  .container,
  .container-wide,
  .container-narrow {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  /* Sections */
  .section    { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-lg { padding: 4rem 0; }

  /* ── HERO ── */
  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
  }
  .hero-content {
    padding-top: max(calc(var(--nav-height) + 1.25rem), 90px);
    padding-bottom: 2.5rem;
  }
  .hero-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .hero-subtitle { font-size: var(--text-sm); margin-bottom: var(--space-4); }
  .hero-actions { gap: var(--space-3); }
  .hero-actions .btn { font-size: var(--text-xs); padding: var(--space-2) var(--space-5); }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-3);
  }
  .hero-stat { padding: var(--space-2); }
  .hero-badge { font-size: 0.65rem; margin-bottom: var(--space-3); }

  /* ── TYPOGRAPHY ── */
  .heading-1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .heading-2 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
  .heading-3 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
  .heading-4 { font-size: clamp(1rem, 3vw, 1.25rem); }
  .lead      { font-size: clamp(var(--text-base), 2.5vw, var(--text-md)); }

  /* Section headers */
  .section-header { margin-bottom: var(--space-8); }

  /* ── NAV LOGO ── */
  .nav-logo-full { display: none; }
  .nav-logo-name { font-size: var(--text-xs); }

  /* ── SERVICES GRID ── */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid > :last-child:nth-child(3n+1) { grid-column: auto; }

  /* ── STATS ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat-item:last-child      { border-bottom: none; }
  .stat-number { font-size: 1.5rem; }

  /* ── VALUE GRID (Why Partner / Impact sections) ── */
  .value-grid    { grid-template-columns: 1fr; }
  .value-grid--3 { grid-template-columns: 1fr; }

  /* ── MVV GRID ── */
  .mvv-grid    { grid-template-columns: 1fr; }

  /* ── VALUES LIST ── */
  .values-list { grid-template-columns: 1fr; }

  /* ── PERFORMANCE GRID ── */
  .performance-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── TESTIMONIALS ── */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* ── PARTNERS ── */
  .partners-logos { gap: var(--space-3); }
  .partner-logo-item { padding: var(--space-3) var(--space-4); }

  /* ── APPROACH PHASES ── */
  .phases-timeline::before { display: none; }
  .phase-item { grid-template-columns: 1fr; }
  .phase-number { margin-bottom: var(--space-2); }

  /* ── FOOTER ── */
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .footer-credit { border-left: none; padding-left: 0; }
  .footer-legal  { flex-wrap: wrap; gap: var(--space-4); }

  /* ── CONTACT ── */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }

  /* ── CTA ── */
  .cta-inner { padding: var(--space-12) var(--space-5); }
  .cta-inner .btn { width: 100%; justify-content: center; }

  /* ── PAGE HERO ── */
  .page-hero {
    padding: calc(var(--nav-height) + 2rem) 0 2.5rem;
  }
  .breadcrumb { font-size: 0.65rem; }

  /* ── JOURNEY ── */
  .journey-track { padding: 0 var(--space-5); }
  .journey-header { margin-bottom: var(--space-10); }

  /* ── SECTORS ── */
  .sectors-grid { gap: var(--space-2); }
  .sector-badge { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); }

  /* ── CARDS ── */
  .card-body { padding: var(--space-5); }
  .service-card { padding: var(--space-6); }

  /* ── ACCORDION ── */
  .accordion-trigger { padding: var(--space-4) var(--space-5); }
  .accordion-body    { padding: 0 var(--space-5) var(--space-5); }

  /* ── INLINE 2-COL GRIDS (in-page styles) ── */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns:1fr 1.5fr"],
  [style*="grid-template-columns: 2fr 1fr 1fr 1.5fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* ── BACK TO TOP ── */
  .back-to-top { bottom: var(--space-5); right: var(--space-5); width: 42px; height: 42px; }
}

/* ── 480px ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-height: 64px; }

  .container,
  .container-wide,
  .container-narrow {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Hero */
  .hero-title  { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  .hero-stats  { grid-template-columns: repeat(2, 1fr); padding: var(--space-2); }
  .hero-stat   { padding: var(--space-2) var(--space-1); border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .hero-stat:last-child      { border-bottom: none; }
  .hero-stat-value { font-size: 1rem; }
  .hero-stat-label { font-size: 0.6rem; }

  /* Stats section */
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-item   { border-right: none; }

  /* Performance grid */
  .performance-grid { grid-template-columns: 1fr; }

  /* Partners */
  .partners-logos { flex-direction: column; align-items: stretch; }
  .partner-logo-item { justify-content: flex-start; }

  /* Cards full width */
  .mvv-grid    { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }

  /* Nav logo text wrap prevention */
  .nav-logo-text { display: none; }

  /* Buttons full width in CTA */
  .btn-lg { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-height) + 1.5rem) 0 2rem; }

  /* Inline grids */
  [style*="display:grid"],
  [style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* ── 360px ──────────────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.2rem; }
  .btn { font-size: var(--text-xs); padding: var(--space-2) var(--space-4); }
  .nav-logo-img { width: 36px; height: 36px; }
}

/* ── INLINE STYLE GRID OVERRIDES (tablet) ── */
@media (max-width: 900px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

/* ── REDUCE MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}
