/* ============================================================
   CDF — Community Development Foundation
   Design System CSS — v1.0
   Based on DESIGN.md + UI_KIT_SPEC.md
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --cdf-primary: #F97316;
  --cdf-primary-hover: #EA580C;
  --cdf-primary-soft: #FFF3EA;

  --cdf-gold: #F5B400;
  --cdf-gold-soft: #FFF8E1;
  --cdf-gold-dark: #8A5A00;

  --cdf-charcoal: #1F2937;
  --cdf-text: #1F2937;
  --cdf-muted: #6B7280;
  --cdf-subtle: #9CA3AF;

  --cdf-bg: #F7F7F3;
  --cdf-section: #FAFAF7;
  --cdf-card: #FFFFFF;
  --cdf-border: #E5E7EB;

  --cdf-success: #16A34A;
  --cdf-danger: #DC2626;
  --cdf-warning: #F59E0B;
  --cdf-info: #2563EB;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(31,41,55,0.04);
  --shadow-sm: 0 6px 18px rgba(31,41,55,0.06);
  --shadow-md: 0 14px 34px rgba(31,41,55,0.10);
  --shadow-lg: 0 22px 56px rgba(31,41,55,0.14);

  /* Typography */
  --font-heading: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-number: "Manrope", "Inter", system-ui, sans-serif;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cdf-text);
  background: var(--cdf-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cdf-primary); text-decoration: none; transition: color 180ms; }
a:hover { color: var(--cdf-primary-hover); }
ul { list-style: none; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.cdf-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}
.cdf-container-wide {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}
.cdf-section {
  padding: 88px 0;
}
.cdf-section-compact {
  padding: 64px 0;
}
.cdf-section-hero {
  padding: 96px 0;
}
.bg-white { background: #FFFFFF; }
.bg-warm { background: var(--cdf-bg); }
.bg-section { background: var(--cdf-section); }
.bg-charcoal { background: var(--cdf-charcoal); }

/* ============================================================
   4. SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  color: var(--cdf-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cdf-charcoal);
  margin-bottom: 16px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--cdf-muted);
  max-width: 680px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-intro { margin-inline: auto; }

/* ============================================================
   5. HEADER & NAV
   ============================================================ */
.cdf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cdf-border);
  box-shadow: var(--shadow-xs);
}
.cdf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.cdf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.cdf-logo-svg { width: 44px; height: 44px; }
.cdf-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.cdf-logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--cdf-charcoal);
  letter-spacing: -0.02em;
}
.cdf-logo-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--cdf-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cdf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.cdf-nav-link {
  color: var(--cdf-charcoal);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 180ms, background 180ms;
  white-space: nowrap;
}
.cdf-nav-link:hover,
.cdf-nav-link.active {
  color: var(--cdf-primary);
  background: var(--cdf-primary-soft);
}
.cdf-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cdf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.cdf-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cdf-charcoal);
  border-radius: 2px;
  transition: all 300ms;
}

/* Mobile Menu */
.cdf-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31,41,55,0.5);
}
.cdf-mobile-menu.open { display: block; }
.cdf-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: #FFFFFF;
  padding: 24px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cdf-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cdf-border);
}
.cdf-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--cdf-charcoal);
  padding: 4px;
}
.cdf-mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.cdf-mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--cdf-charcoal);
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms, color 180ms;
}
.cdf-mobile-nav a:hover { background: var(--cdf-primary-soft); color: var(--cdf-primary); }
.cdf-mobile-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cdf-border);
}
.cdf-mobile-contact p { font-size: 13px; color: var(--cdf-muted); margin-bottom: 8px; }
.cdf-mobile-contact a { display: block; color: var(--cdf-primary); font-weight: 700; font-size: 14px; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.cdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  min-height: 46px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 180ms ease;
}
.cdf-btn-primary {
  background: var(--cdf-primary);
  color: #FFFFFF;
  border-color: var(--cdf-primary);
  box-shadow: 0 10px 24px rgba(249,115,22,0.25);
}
.cdf-btn-primary:hover {
  background: var(--cdf-primary-hover);
  border-color: var(--cdf-primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.cdf-btn-primary:focus-visible {
  outline: 3px solid rgba(249,115,22,0.28);
  outline-offset: 3px;
}
.cdf-btn-secondary {
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  border-color: var(--cdf-border);
  box-shadow: var(--shadow-xs);
}
.cdf-btn-secondary:hover {
  border-color: rgba(249,115,22,0.35);
  color: var(--cdf-primary);
  transform: translateY(-1px);
}
.cdf-btn-gold {
  background: var(--cdf-gold);
  color: var(--cdf-charcoal);
  border-color: var(--cdf-gold);
  font-weight: 900;
}
.cdf-btn-sm { padding: 9px 18px; font-size: 14px; min-height: 38px; }
.cdf-btn-lg { padding: 16px 32px; font-size: 16px; min-height: 52px; }

/* ============================================================
   7. CARDS
   ============================================================ */
.cdf-card {
  background: var(--cdf-card);
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.cdf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.25);
}

/* Program Card */
.cdf-program-card { display: flex; flex-direction: column; gap: 16px; }
.cdf-program-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 180ms, color 180ms;
}
.cdf-program-icon svg { width: 26px; height: 26px; }
.cdf-card:hover .cdf-program-icon { background: var(--cdf-primary); color: #FFFFFF; }
.cdf-program-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 8px;
}
.cdf-program-desc {
  font-size: 15px;
  color: var(--cdf-muted);
  line-height: 1.6;
}
.cdf-program-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cdf-program-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cdf-bg);
  color: var(--cdf-muted);
  border: 1px solid var(--cdf-border);
}
.cdf-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cdf-primary);
  margin-top: auto;
}
.cdf-learn-more:hover { gap: 8px; }

/* Project Card */
.cdf-project-card { padding: 0; overflow: hidden; }
.cdf-project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--cdf-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cdf-subtle);
}
.cdf-project-img img { width: 100%; height: 100%; object-fit: cover; }
.cdf-project-body { padding: 22px; }
.cdf-project-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin: 10px 0 8px;
  line-height: 1.3;
}
.cdf-project-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.cdf-project-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--cdf-muted);
  font-weight: 500;
}
.cdf-project-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.cdf-project-desc {
  font-size: 14px;
  color: var(--cdf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News Card */
.cdf-news-card { padding: 0; overflow: hidden; }
.cdf-news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  overflow: hidden;
}
.cdf-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms; }
.cdf-news-card:hover .cdf-news-img img { transform: scale(1.03); }
.cdf-news-body { padding: 22px; }
.cdf-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--cdf-muted);
}
.cdf-news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cdf-border); flex-shrink: 0; }
.cdf-news-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 8px;
  line-height: 1.35;
}
.cdf-news-excerpt {
  font-size: 14px;
  color: var(--cdf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Publication Card */
.cdf-pub-card { display: flex; gap: 16px; align-items: flex-start; }
.cdf-pub-icon {
  width: 52px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--cdf-primary-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--cdf-primary);
}
.cdf-pub-icon svg { width: 28px; height: 28px; }
.cdf-pub-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin: 8px 0 6px;
  line-height: 1.3;
}
.cdf-pub-meta { font-size: 13px; color: var(--cdf-muted); }

/* ============================================================
   8. BADGES
   ============================================================ */
.cdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cdf-badge-orange {
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  border: 1px solid rgba(249,115,22,0.18);
}
.cdf-badge-gold {
  background: var(--cdf-gold-soft);
  color: var(--cdf-gold-dark);
  border: 1px solid rgba(245,180,0,0.22);
}
.cdf-badge-green {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid rgba(22,163,74,0.2);
}
.cdf-badge-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(37,99,235,0.2);
}
.cdf-badge-gray {
  background: var(--cdf-bg);
  color: var(--cdf-muted);
  border: 1px solid var(--cdf-border);
}

/* ============================================================
   9. IMPACT STATS
   ============================================================ */
.cdf-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.cdf-impact-card {
  text-align: center;
  padding: 32px 24px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cdf-impact-number {
  font-family: var(--font-number);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: var(--cdf-primary);
  display: block;
}
.cdf-impact-number.gold { color: var(--cdf-gold); }
.cdf-impact-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-top: 10px;
  display: block;
}
.cdf-impact-note {
  font-size: 13px;
  color: var(--cdf-muted);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   10. HERO
   ============================================================ */
.cdf-hero {
  background: var(--cdf-bg);
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}
.cdf-hero-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 64px;
  align-items: center;
}
.cdf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}
.cdf-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cdf-success);
}
.cdf-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--cdf-charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cdf-hero-title .highlight { color: var(--cdf-primary); }
.cdf-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cdf-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.cdf-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.cdf-hero-mini-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cdf-border);
  flex-wrap: wrap;
}
.cdf-hero-stat { }
.cdf-hero-stat-number {
  font-family: var(--font-number);
  font-size: 26px;
  font-weight: 900;
  color: var(--cdf-primary);
  line-height: 1;
  display: block;
}
.cdf-hero-stat-label {
  font-size: 13px;
  color: var(--cdf-muted);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}
.cdf-hero-visual { position: relative; }
.cdf-hero-img {
  width: 100%;
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  background: var(--cdf-border);
  overflow: hidden;
}
.cdf-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.cdf-floating-card {
  position: absolute;
  bottom: -20px;
  left: -28px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.cdf-floating-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cdf-floating-card-icon svg { width: 22px; height: 22px; }
.cdf-floating-card-num {
  font-family: var(--font-number);
  font-size: 24px;
  font-weight: 900;
  color: var(--cdf-charcoal);
  line-height: 1;
}
.cdf-floating-card-label { font-size: 12px; color: var(--cdf-muted); font-weight: 600; }

/* Accent shape */
.cdf-hero-visual::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cdf-gold-soft);
  border: 3px solid var(--cdf-gold);
  z-index: -1;
}

/* ============================================================
   11. TRUST STRIP
   ============================================================ */
.cdf-trust-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--cdf-border);
  border-bottom: 1px solid var(--cdf-border);
  padding: 24px 0;
}
.cdf-trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.cdf-trust-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cdf-trust-partners {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.cdf-trust-partner {
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-subtle);
  padding: 6px 14px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  background: var(--cdf-bg);
  transition: color 180ms, border-color 180ms;
}
.cdf-trust-partner:hover { color: var(--cdf-charcoal); border-color: var(--cdf-charcoal); }

/* ============================================================
   12. GRIDS
   ============================================================ */
.cdf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cdf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cdf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   13. ABOUT STRIP
   ============================================================ */
.cdf-about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cdf-about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--cdf-border);
}
.cdf-about-img img { width: 100%; height: 100%; object-fit: cover; }
.cdf-value-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cdf-value-item { display: flex; gap: 12px; align-items: flex-start; }
.cdf-value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cdf-primary);
  margin-top: 7px;
  flex-shrink: 0;
}
.cdf-value-text { font-size: 15px; color: var(--cdf-muted); line-height: 1.6; }
.cdf-value-text strong { color: var(--cdf-charcoal); font-weight: 700; display: block; }

/* ============================================================
   14. GEOGRAPHIC MAP PLACEHOLDER
   ============================================================ */
.cdf-map-placeholder {
  background: var(--cdf-bg);
  border: 2px dashed var(--cdf-border);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  color: var(--cdf-muted);
}
.cdf-map-placeholder svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--cdf-subtle); }
.cdf-districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}
.cdf-district-pill {
  padding: 7px 14px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-charcoal);
}
.cdf-district-pill.sindh { border-color: rgba(249,115,22,0.3); background: var(--cdf-primary-soft); color: var(--cdf-primary); }
.cdf-district-pill.baloch { border-color: rgba(245,180,0,0.3); background: var(--cdf-gold-soft); color: var(--cdf-gold-dark); }

/* ============================================================
   15. PARTNER LOGOS
   ============================================================ */
.cdf-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cdf-partner-card {
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cdf-subtle);
  text-align: center;
  transition: color 200ms, border-color 200ms, box-shadow 200ms;
  line-height: 1.3;
}
.cdf-partner-card:hover {
  color: var(--cdf-charcoal);
  border-color: rgba(249,115,22,0.3);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   16. CTA PANELS
   ============================================================ */
.cdf-cta-panel {
  background: var(--cdf-charcoal);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cdf-cta-panel::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(249,115,22,0.12);
}
.cdf-cta-panel::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245,180,0,0.1);
}
.cdf-cta-label {
  display: inline-block;
  color: var(--cdf-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cdf-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cdf-cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.65;
}
.cdf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cdf-soft-cta {
  background: var(--cdf-primary-soft);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius-xl);
  padding: 40px;
}

/* ============================================================
   17. FORMS
   ============================================================ */
.cdf-form-group { margin-bottom: 20px; }
.cdf-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cdf-charcoal);
}
.cdf-label .required { color: var(--cdf-danger); margin-left: 2px; }
.cdf-input, .cdf-select, .cdf-textarea {
  width: 100%;
  min-height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--cdf-charcoal);
  font-family: var(--font-body);
  transition: border-color 180ms, box-shadow 180ms;
}
.cdf-input:focus, .cdf-select:focus, .cdf-textarea:focus {
  outline: none;
  border-color: var(--cdf-primary);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
}
.cdf-textarea { min-height: 140px; resize: vertical; }
.cdf-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.cdf-help { margin-top: 6px; color: var(--cdf-muted); font-size: 13px; }
.cdf-field-error { margin-top: 6px; color: var(--cdf-danger); font-size: 13px; font-weight: 700; }
.cdf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cdf-form-success {
  background: #DCFCE7;
  border: 1px solid rgba(22,163,74,0.3);
  color: #166534;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  display: none;
}
.cdf-form-success.show { display: block; }
.cdf-error-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 16px;
  padding: 16px;
}

/* ============================================================
   18. FILTER BAR
   ============================================================ */
.cdf-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 36px;
}
.cdf-filter-pill {
  min-height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cdf-border);
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms;
}
.cdf-filter-pill:hover, .cdf-filter-pill.active {
  background: var(--cdf-primary);
  color: #FFFFFF;
  border-color: var(--cdf-primary);
}
.cdf-search-input {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 38px;
  font-size: 14px;
  background: var(--cdf-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='5' stroke='%239CA3AF' stroke-width='1.5'/%3E%3Cpath d='m11 11 2.5 2.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  outline: none;
  transition: border-color 180ms;
}
.cdf-search-input:focus { border-color: var(--cdf-primary); background-color: #FFFFFF; }

/* ============================================================
   19. TIMELINE
   ============================================================ */
.cdf-timeline { position: relative; padding-left: 32px; }
.cdf-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cdf-border);
}
.cdf-timeline-item { position: relative; margin-bottom: 36px; }
.cdf-timeline-dot {
  position: absolute;
  left: -28px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cdf-primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--cdf-primary);
}
.cdf-timeline-year {
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 800;
  color: var(--cdf-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cdf-timeline-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 6px;
}
.cdf-timeline-desc { font-size: 14px; color: var(--cdf-muted); line-height: 1.6; }

/* ============================================================
   20. FOOTER
   ============================================================ */
.cdf-footer {
  background: var(--cdf-charcoal);
  color: #FFFFFF;
  padding: 72px 0 0;
}
.cdf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cdf-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.cdf-footer-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }
.cdf-footer-social { display: flex; gap: 10px; }
.cdf-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.65);
  transition: all 180ms;
}
.cdf-social-link:hover { background: var(--cdf-primary); border-color: var(--cdf-primary); color: #FFFFFF; }
.cdf-social-link svg { width: 16px; height: 16px; }
.cdf-footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.cdf-footer-links { display: flex; flex-direction: column; gap: 10px; }
.cdf-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 180ms;
}
.cdf-footer-links a:hover { color: var(--cdf-gold); }
.cdf-footer-contact { display: flex; flex-direction: column; gap: 14px; }
.cdf-footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.cdf-footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(249,115,22,0.15);
  display: grid;
  place-items: center;
  color: var(--cdf-primary);
  flex-shrink: 0;
}
.cdf-footer-contact-icon svg { width: 15px; height: 15px; }
.cdf-footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.cdf-footer-contact-text strong { display: block; color: #FFFFFF; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.cdf-footer-newsletter { margin-top: 20px; }
.cdf-footer-newsletter-form { display: flex; gap: 8px; }
.cdf-footer-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
}
.cdf-footer-newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.cdf-footer-newsletter-input:focus { border-color: var(--cdf-primary); }
.cdf-footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.cdf-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.cdf-footer-legal a { color: rgba(255,255,255,0.5); transition: color 180ms; }
.cdf-footer-legal a:hover { color: rgba(255,255,255,0.9); }

/* ============================================================
   21. PAGE HERO (inner pages)
   ============================================================ */
.cdf-page-hero {
  background: var(--cdf-charcoal);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.cdf-page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
}
.cdf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cdf-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 180ms; }
.cdf-breadcrumb a:hover { color: var(--cdf-gold); }
.cdf-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.cdf-breadcrumb .current { color: #FFFFFF; font-weight: 700; }
.cdf-page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.15;
}
.cdf-page-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.65;
}

/* ============================================================
   22. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--cdf-muted); }
.text-primary { color: var(--cdf-primary); }
.text-charcoal { color: var(--cdf-charcoal); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }

/* Empty State */
.cdf-empty-state {
  text-align: center;
  padding: 64px 32px;
  color: var(--cdf-muted);
}
.cdf-empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--cdf-subtle); }
.cdf-empty-title { font-size: 18px; font-weight: 700; color: var(--cdf-charcoal); margin-bottom: 8px; }
.cdf-empty-desc { font-size: 15px; color: var(--cdf-muted); }

/* Separator */
.cdf-divider { border: none; border-top: 1px solid var(--cdf-border); margin: 32px 0; }

/* Pagination */
.cdf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.cdf-page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cdf-border);
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 180ms;
  text-decoration: none;
}
.cdf-page-btn:hover, .cdf-page-btn.active {
  background: var(--cdf-primary);
  border-color: var(--cdf-primary);
  color: #FFFFFF;
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cdf-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cdf-hero-visual { display: none; }
  .cdf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cdf-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cdf-about-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cdf-nav { display: none; }
  .cdf-hamburger { display: flex; }
  .cdf-header-actions .cdf-btn { display: none; }
  .cdf-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cdf-grid-2 { grid-template-columns: 1fr; }
  .cdf-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .cdf-form-row { grid-template-columns: 1fr; }
  .cdf-cta-panel { padding: 40px 28px; }
  .cdf-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cdf-footer-newsletter-form { flex-direction: column; }
  .cdf-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .cdf-section { padding: 56px 0; }
  .cdf-section-compact { padding: 40px 0; }
}
@media (max-width: 540px) {
  .cdf-grid-3, .cdf-grid-4 { grid-template-columns: 1fr; }
  .cdf-impact-grid { grid-template-columns: 1fr 1fr; }
  .cdf-hero { padding: 56px 0 64px; }
  .cdf-hero-actions { flex-direction: column; }
  .cdf-hero-actions .cdf-btn { width: 100%; justify-content: center; }
  .cdf-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cdf-floating-card { display: none; }
  .cdf-footer-bottom { flex-direction: column; text-align: center; }
  .cdf-container, .cdf-container-wide { width: min(100% - 32px, 100%); }
}

/* Transition for page items */
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
