/*
 * DIEFU Ltd — Enterprise Design System
 * Institutional Premium | Investor-Facing | Development Finance
 * Inspired by: BlackRock · IFC · Brookfield · Meridiam · Temasek
 */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  /* Primary */
  --navy:          #0A1628;
  --navy-light:    #142038;
  --navy-lighter:  #1E2A48;
  --navy-50:       rgba(10,22,40,0.05);
  --navy-10:       rgba(10,22,40,0.1);

  /* Gold Accent */
  --gold:          #C9A227;
  --gold-light:    #D4B52E;
  --gold-dark:     #B8921F;
  --gold-10:       rgba(201,162,39,0.10);
  --gold-20:       rgba(201,162,39,0.20);

  /* Subtle Green (minimal) */
  --green:         #2D5A3D;
  --green-light:   #3D7A52;

  /* Neutrals */
  --white:         #FFFFFF;
  --off-white:     #FAFAFA;
  --cream:         #F5F5F3;
  --gray-50:       #F9FAFB;
  --gray-100:      #F3F4F6;
  --gray-200:      #E5E7EB;
  --gray-300:      #D1D5DB;
  --gray-400:      #9CA3AF;
  --gray-500:      #6B7280;
  --gray-600:      #4B5563;
  --gray-700:      #374151;
  --gray-800:      #1F2937;
  --gray-900:      #111827;

  /* Charcoal */
  --charcoal:      #1A1A1A;
  --charcoal-2:    #2D2D2D;

  /* Slate */
  --slate:         #4A5568;
  --slate-light:   #718096;

  /* Semantic */
  --success:       #059669;
  --success-bg:    #ECFDF5;
  --error:         #DC2626;
  --error-bg:      #FEF2F2;
  --warning:       #D97706;

  /* Typography */
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-mono:     'SF Mono', 'Fira Code', monospace;

  /* Shadows */
  --shadow-xs:     0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:     0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:     0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-2xl:    0 25px 50px -12px rgba(0,0,0,.25);
  --shadow-gold:   0 4px 14px rgba(201,162,39,.35);
  --shadow-navy:   0 4px 14px rgba(10,22,40,.35);

  /* Radius */
  --r-sm:   2px;
  --r-base: 4px;
  --r-md:   6px;
  --r-lg:   8px;
  --r-xl:   12px;
  --r-2xl:  16px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast:  150ms cubic-bezier(0,0,.2,1);
  --t-base:  200ms cubic-bezier(.4,0,.2,1);
  --t-slow:  300ms cubic-bezier(.4,0,.2,1);
  --t-expo:  400ms cubic-bezier(.19,1,.22,1);

  /* Layout */
  --max-w:      1280px;
  --max-w-wide: 1440px;
  --nav-h:      72px;
  --bar-h:      40px;
  --header-h:   calc(var(--nav-h) + var(--bar-h));
}

/* ─── Base Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }

.display-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

p { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color var(--t-base); }
a:hover { color: var(--gold-dark); }

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Announcement Bar ──────────────────────────────────────── */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: var(--navy-light);
  border-bottom: 1px solid rgba(201,162,39,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.75);
  gap: 0.5rem;
}

.announce-bar a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base);
}

.announce-bar a:hover { border-color: var(--gold); }

/* ─── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: var(--bar-h);
  left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 1000;
  transition: background var(--t-slow), box-shadow var(--t-slow);
}

.site-nav.scrolled {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-emblem {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-primary {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color var(--t-base);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem; right: 1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) cubic-bezier(.25,1,.5,1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: 0.75rem;
  padding: 0 1.25rem;
  height: 36px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-base);
}

/* Mobile nav open */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 44px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.btn-lg { height: 52px; padding: 0 2rem; font-size: 0.9375rem; }
.btn-sm { height: 36px; padding: 0 1rem; font-size: 0.8125rem; }
.btn-full { width: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Section Base ────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-xs {
  padding: 48px 0;
}

.section-dark {
  background: var(--navy);
}

.section-navy-light {
  background: var(--navy-light);
}

.section-cream {
  background: var(--cream);
}

.section-gray {
  background: var(--gray-50);
}

/* Section Header */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}

.section-dark .section-eyebrow {
  color: var(--gold);
}

.section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 600px;
}

.section-dark .section-lead {
  color: rgba(255,255,255,.65);
}

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(201,162,39,.08) 0%, transparent 60%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.875rem;
  background: var(--gold-10);
  border: 1px solid var(--gold-20);
  border-radius: var(--r-full);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero h1 .serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-indicators {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat .stat-value {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat .stat-value span {
  color: var(--gold);
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 0.375rem;
}

/* ─── Page Hero ───────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 64px) 0 72px;
  margin-top: calc(-1 * var(--header-h));
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { color: var(--white); }

.page-hero .section-eyebrow { color: var(--gold); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--t-base); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { font-size: 0.75rem; }

/* ─── Trust / Partner Bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
}

.trust-bar-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  transition: color var(--t-base);
}

.trust-logo-item:hover { color: rgba(255,255,255,.7); }

/* ─── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}

.card-elevated {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  transition: box-shadow var(--t-slow), transform var(--t-slow);
}

.card-elevated:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.card-dark {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all var(--t-base);
}

.card-dark:hover {
  border-color: var(--gold-20);
  background: var(--navy-lighter);
}

/* Service / pillar card */
.service-card {
  padding: 2rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--t-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) cubic-bezier(.25,1,.5,1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-xl);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--t-base);
  color: var(--navy);
}

.service-card:hover .service-icon {
  background: var(--gold-10);
  color: var(--gold-dark);
}

/* Stat card */
.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-card .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-card .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* Project / Insight card */
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-slow);
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: transparent;
}

.project-card-img {
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.project-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-lighter));
  font-size: 3rem;
}

.project-card-body { padding: 1.75rem; }

.project-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  background: var(--gray-100);
  color: var(--slate);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  margin-bottom: 0.875rem;
}

.project-card-tag.gold {
  background: var(--gold-10);
  color: var(--gold-dark);
}

.project-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
  line-height: 1.4;
}

.project-card p {
  font-size: 0.875rem;
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Insight card */
.insight-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-slow);
}

.insight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.insight-card-body { padding: 1.5rem; }

/* ─── Grid Utilities ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ─── Dividers ────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); border: none; margin: 0; }
.divider-dark { background: rgba(255,255,255,.08); }

/* ─── Tags / Badges ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-navy { background: var(--navy); color: var(--white); }
.badge-gold { background: var(--gold-10); color: var(--gold-dark); border: 1px solid var(--gold-20); }
.badge-green { background: var(--success-bg); color: var(--success); }
.badge-outline { background: transparent; border: 1px solid var(--gray-300); color: var(--slate); }
.badge-white { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

/* ─── Timeline ────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.75rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -1.625rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-20);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.timeline-item h4 { font-size: 1rem; margin-bottom: 0.375rem; }
.timeline-item p { font-size: 0.875rem; color: var(--slate-light); margin: 0; line-height: 1.6; }

/* ─── Team Card ───────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--t-slow);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 2px solid var(--gold-20);
}

.team-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8125rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.8125rem; color: var(--slate-light); line-height: 1.6; margin: 0; }

/* ─── Impact Numbers ──────────────────────────────────────────── */
.impact-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.impact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.5rem;
}

.section-dark .impact-label {
  color: rgba(255,255,255,.4);
}

/* ─── Quote Block ─────────────────────────────────────────────── */
.pull-quote {
  position: relative;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--gold);
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem; left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}

.pull-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section-dark .pull-quote blockquote { color: var(--white); }

.pull-quote cite {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.04em;
}

.section-dark .pull-quote cite { color: rgba(255,255,255,.5); }

/* ─── Download Cards ──────────────────────────────────────────── */
.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-base);
}

.download-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base);
}

.download-card:hover .download-icon { background: var(--gold-10); }

.download-info strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.download-info span { font-size: 0.75rem; color: var(--slate-light); }

/* ─── Form ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--r-md);
  transition: all var(--t-base);
  outline: none;
  appearance: none;
}

.form-control:hover { border-color: var(--gray-400); }

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.12);
  background: var(--white);
}

.form-control::placeholder { color: var(--gray-400); }
.form-control:disabled { background: var(--gray-100); cursor: not-allowed; }

textarea.form-control { resize: vertical; min-height: 130px; }

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.25fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin-top: 1.25rem;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links li { margin-bottom: 0.625rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  transition: all var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-links a:hover {
  color: var(--white);
  gap: 0.5rem;
}

.footer-contact-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  align-items: flex-start;
}

.footer-contact-row svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all var(--t-base);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gold-10);
  border-color: var(--gold-20);
  color: var(--gold);
}

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
  transition: color var(--t-base);
}

.footer-legal-links a:hover { color: rgba(255,255,255,.6); }

/* ─── Scroll Animations ────────────────────────────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ─── Back to Top ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--t-base);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ─── Alert / Flash ────────────────────────────────────────────── */
.flash-success {
  padding: 1rem 1.5rem;
  background: var(--success-bg);
  border: 1px solid var(--success);
  border-radius: var(--r-lg);
  color: var(--success);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.flash-error {
  padding: 1rem 1.5rem;
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-radius: var(--r-lg);
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* ─── Utility ──────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--gold) !important; }
.text-white { color: var(--white) !important; }
.text-navy { color: var(--navy) !important; }
.text-slate { color: var(--slate) !important; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ─── SWIPER CUSTOM ─────────────────────────────────────────────── */
.swiper-pagination-bullet {
  background: rgba(255,255,255,.3) !important;
  width: 8px !important;
  height: 8px !important;
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--gold) !important;
  width: 44px !important;
  height: 44px !important;
  background: rgba(10,22,40,.6);
  border-radius: var(--r-lg);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-1-2, .grid-2-1 { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 991px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    height: auto;
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    align-items: flex-start;
    transform: translateY(-110%);
    transition: transform var(--t-slow) cubic-bezier(.25,1,.5,1);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow-xl);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    height: 48px;
    width: 100%;
    padding: 0 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-link:last-child { border-bottom: none; }

  .nav-link::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    height: 44px;
    justify-content: center;
  }

  .grid-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --nav-h: 64px; --bar-h: 36px; }

  body { font-size: 0.9375rem; }

  .section { padding: 64px 0; }
  .container { padding: 0 1.25rem; }

  .hero h1 { font-size: 2.25rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-indicators { gap: 1.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-split { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-legal-links { flex-wrap: wrap; gap: 1rem; }

  .section-title { font-size: 1.75rem; }

  .trust-logos { gap: 1.25rem; }

  .timeline { padding-left: 1.25rem; }
}
