/* ============================================================
   ADB Health Projects Hub â€” Design System v2 (Brand Guide 1.0)
   ============================================================ */

/* â”€â”€ GOOGLE FONTS â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* â”€â”€ TOKENS â”€â”€ */
:root {
  /* ADB Brand */
  --navy:        #003767;
  --blue:        #007DB8;
  --blue-dark:   #00639a;

  /* Brand Guide Primary Colors */
  --yellow:      #FDB913;
  --yellow-dark: #F59E0B;
  --yellow-tint: #FFFBEB;
  --yellow-border: #FEF3C7;
  --sky:         #87CEEB;
  --sky-light:   #EFF6FF;
  --blue-light:  #e6f3fa;

  /* Project accent (Lao Health) */
  --green:       #90be54;
  --green-dark:  #77984c;
  --green-light: #eef7e0;

  /* Output 3 */
  --teal:        #0b8ea6;
  --teal-light:  #e5f5f8;

  /* ADB Red */
  --red:         #e11f30;
  --red-light:   #fdecea;

  /* Amber */
  --amber:       #d97706;
  --amber-light: #fef3c7;

  /* Neutrals */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Typography â€” Brand Guide: Poppins headlines, Inter body */
  --font-head: 'Poppins', system-ui, -apple-system, Arial, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing (4px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Borders */
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px rgba(0,0,0,.08), 0 10px 10px rgba(0,0,0,.04);
  --shadow-focus-blue:  0 0 0 3px rgba(0,125,184,.30);
  --shadow-focus-green: 0 0 0 3px rgba(144,190,84,.30);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  200ms;

  /* Layout */
  --container: 1200px;
  --nav-h: 60px;
}

/* â”€â”€ RESET â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
ul, ol { padding-left: 1.5em; }
p { margin-bottom: var(--s5); }
p:last-child { margin-bottom: 0; }

/* â”€â”€ LAYOUT â”€â”€ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s6);
}
.section { padding: var(--s8) 0; }
.section-sm { padding: var(--s7) 0; }
.section-lg { padding: var(--s9) 0; }
.bg-white   { background: var(--white); }
.bg-surface { background: var(--gray-50); }
.bg-navy    { background: var(--navy); }
.bg-blue    { background: var(--blue); }
.bg-green-tint { background: var(--green-light); }
.bg-blue-tint  { background: var(--blue-light); }

/* â”€â”€ TYPOGRAPHY â”€â”€ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl9; }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yellow);
  font-family: var(--font-head);
  display: block;
  margin-bottom: var(--s2);
}
.eyebrow.blue { color: var(--sky); }

.lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--gray-600);
  font-weight: 400;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--s4);
}

/* â”€â”€ TOPBAR â”€â”€ */
.topbar {
  background: var(--navy);
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.topbar__org {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.60);
  letter-spacing: .01em;
}
.topbar__lang { display: flex; gap: 0; }
.topbar__lang a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 0 var(--s3);
  border-left: 1px solid rgba(255,255,255,.15);
  transition: color var(--dur) var(--ease);
}
.topbar__lang a:first-child { border-left: none; }
.topbar__lang a.active,
.topbar__lang a:hover { color: var(--white); }

/* â”€â”€ SITE HEADER â”€â”€ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--s4) 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}
.site-logo { display: flex; align-items: center; text-decoration: none; }
.site-logo-img { height: 56px; width: auto; display: block; }
.header-right {
  display: flex;
  align-items: center;
  gap: var(--s5);
}
.adb-financed {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-xs);
  color: var(--gray-400);
  font-weight: 500;
}
.adb-pill {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: var(--radius);
}

/* â”€â”€ NAVIGATION â”€â”€ */
.main-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.main-nav__inner {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  margin: 0; padding: 0;
  flex: 1;
}
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 var(--s5);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
  gap: 5px;
}
.nav-link svg { width: 12px; height: 12px; transition: transform var(--dur) var(--ease); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--yellow);
  background: rgba(255,255,255,.05);
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: var(--s2) 0;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-dropdown a .drop-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.nav-dropdown a .drop-icon.green { background: var(--green-light); }
.nav-dropdown a .drop-icon.blue  { background: var(--blue-light); }
.nav-dropdown a .drop-icon.teal  { background: var(--teal-light); }
.nav-dropdown a:hover { background: var(--gray-50); color: var(--navy); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s3);
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â”€â”€ PAGE BANNER â”€â”€ */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #005191 100%);
  padding: var(--s7) 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(144,190,84,.10);
}
.page-banner h1 {
  font-size: var(--text-3xl);
  color: var(--white);
  font-weight: 800;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,.35); }

/* â”€â”€ HERO â”€â”€ */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #004d99 60%, #005f8a 100%);
  padding: var(--s9) 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(0,125,184,.15);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(144,190,84,.08);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(144,190,84,.20);
  border: 1px solid rgba(144,190,84,.35);
  color: #c5e48a;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--s5);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--s4);
}
.hero h1 em {
  font-style: normal;
  color: #9fd45f;
}
.hero .lead { color: rgba(255,255,255,.80); max-width: 580px; margin-bottom: var(--s6); }
.hero__actions { display: flex; gap: var(--s4); flex-wrap: wrap; }

/* Hero stat cards (overlapping bottom) */
.hero-stats {
  margin-top: -70px;
  position: relative;
  z-index: 2;
}
.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s4);
}
.hero-stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 3px solid var(--gray-200);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hero-stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hero-stat.green { border-top-color: var(--green); }
.hero-stat.blue  { border-top-color: var(--blue); }
.hero-stat.teal  { border-top-color: var(--teal); }
.hero-stat__num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}
.hero-stat.green .hero-stat__num { color: var(--green-dark); }
.hero-stat.blue  .hero-stat__num { color: var(--blue); }
.hero-stat.teal  .hero-stat__num { color: var(--teal); }
.hero-stat__label {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.4;
  font-weight: 500;
}

/* â”€â”€ BUTTONS â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus-blue); }

.btn-primary   { background: var(--yellow);  color: var(--gray-900); border-color: var(--yellow); font-family: var(--font-head); }
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--gray-900); }

.btn-blue      { background: var(--blue);   color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.btn-navy      { background: var(--navyk);   color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: #002a4d; color: var(--white); }

.btn-outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.50); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }

.btn-ghost     { background: transparent; color: var(--gray-600); border-color: var(--gray-300); }
.btn-ghost:hover { border-color: var(--gray-500); color: var(--gray-800); }

.btn-danger    { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { background: #c01929; border-color: #c01929; color: var(--white); }

.btn-sm { padding: 7px 16px; font-size: var(--text-xs); }
.btn-lg { padding: 13px 28px; font-size: var(--text-base); }

/* â”€â”€ CARDS â”€â”€ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
*.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__body { padding: var(--s5); }
.card__header {
  padding: var(--s3) var(--s5);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--gray-700);
  background: var(--gray-50);
}
.card__footer {
  padding: var(--s3) var(--s5);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* Pillar cards */
.pillar-card { flex: 1 1 280px; }
*.pillar-card__top {
  padding: var(--s5);
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  border-bottom: 1px solid var(--gray-200);
}
.pillar-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.pillar-card__icon.green { background: var(--green-light); }
*.pillar-card__icon.blue  { background: var(--blue-light);  }
.pillar-card__icon.teal  { background: var(--teal-light);  }
*"pillar-card__label" {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.pillar-card__label.green { color: var(--green-dark); }
*".pillar-card__label.blue"  { color: var(--blue); }
.pillar-card__label.teal  { color: var(--teal); }
.pillar-card__title { font-size: var(--text-lg); font-weight: 700; color: var(--gray-900); line-height: 1.3; }
.pillar-card__body { padding: var(--s4) var(--s5); }
*.pillar-card__body p { font-size: var(--text-sm); color: var(--gray-600); }

/* â”€â”€ BADGES â”€â”€ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
*".badge::before" { content: ''; width: 5px; height: 5px; border-radius: 50%; display: block; flex-shrink: 0; }
.badge-done    { background: var(--green-light); color: var(--green-dark); }
*.badge-done::before    { background: var(--green); }
*".badge-progress" { background: var(--amber-light); color: var(--amber); }
*".badge-progress::before" { background: var(--amber); }
.badge-pending { background: var(--gray-100); color: var(--gray-500); }
*".badge-pending::before" { background: var(--gray-400); }
*.badge-risk    { background: var(--red-light);   color: var(--red); }
*".badge-risk::before"    { background: var(--red); }

/* â”€â”€ PROGRESS â”€â”€ */
.progress {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--green);
  transition: width .6s var(--ease);
}
.progress__fill.blue { background: var(--blue); }
*.progress__fill.teal { background: var(--teal); }
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  margin-bottom: 5px;
}
*".progress-row span" { color: var(--gray-600); }
*".progress-row strong" { color: var(--gray-900); font-weight: 700; }

/* â”€â”€ CALLOUTS â”€â”€ */
.callout {
  border-radius: var(--radius);
  padding: var(--s4) var(--s5);
  display: flex;
  gap: var(--s4);
  font-size: var(--text-sm);
  line-height: 1.65;
  border-left: 4px solid;
}
*".callout__icon" { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.callout.green { background: var(--green-light); border-color: var(--green); }
.callout.blue  { background: var(--blue-light);  border-color: var(--blue); }
.callout.amber { background: var(--amber-light); border-color: var(--amber); }
.callout.red   { background: var(--red-light);   border-color: var(--red); }

/* â”€â”€ TABLES â”€â”€ */
.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
*".data-table thead th" {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
*".data-table tbody td" { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); vertical-align: middle; }
*".data-table tbody tr:last-child td" { border-bottom: none; }
*".data-table tbody tr:nth-child(even) td" { background: var(--gray-50); }
*".data-table tbody tr:hover td" { background: var(--blue-light); }

/* â”€â”€ FORMS â”€â”€ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s5); }
*".form-label" { font-size: var(--text-sm); font-weight: 600; color: var(--gray-800); }
*".form-hint"  { font-size: var(--text-xs); color: var(--gray-400); }
.form-required { color: var(--red); margin-left: 2px; }
.input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
*".input::placeholder" { color: var(--gray-400); }
*.input:focus { border-color: var(--blue); box-shadow: var(--shadow-focus-blue); }

/* â”€â”€ STEP LIST â”€â”€ */
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s5); }
.step { display: flex; gap: var(--s4); }
.step__num {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
  margin-top: 2px;
}
*".step__body h4" { font-size: var(--text-base); margin-bottom: 4px; color: var(--gray-900); }
*".step__body p"  { font-size: var(--text-sm); color: var(--gray-600); margin: 0; }

/* â”€â”€ TIMELINE  â”€â”€ */
.timeline { padding-left: 28px; position: relative; }
*".timeline::before" {
  content: ''; position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; margin-bottom: var(--s5); }
*".timeline-item__dot" {
  position: absolute; left: -26px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-300);
}
*".timeline-item__dot.done"     { background: var(--green); box-shadow: 0 0 0 2px var(--green-light); }
*".timeline-item__dot.active"   { background: var(--blue); box-shadow: 0 0 0 2px var(--blue-light); }
*".timeline-item__date"  { font-size: var(--text-xs); font-weight: 600; color: var(--gray-400); margin-bottom: 2px; }
*".timeline-item__title" { font-weight: 700; font-size: var(--text-base); color: var(--gray-900); margin-bottom: 4px; }
*".timeline-item__body"  { font-size: var(--text-sm); color: var(--gray-600); }

/* â”€â”€ CONTACT CARD â”,â”@ 
radius: var(--radius);
  padding: var(--s5);
  display: flex;
  gap: var(--s4);
  transition: box-shadow var(--dur) var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-avatar {
  width: 48px; height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-sm);
  flex-shrink: 0;
}
.contact-name { font-weight: 700; color: var(--gray-900); font-size: var(--text-base); }
.contact-role { font-size: var(--text-sm); color: var(--gray-500); margin-top: 1px; }
.contact-info { font-size: var(--text-sm); margin-top: var(--s2); display: flex; flex-direction: column; gap: 3px; }
.contact-info a { color: var(--blue); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* â”€â”€ DOC ITEM â”€â”€ */
.doc-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: var(--gray-700);
  font-size: var(--text-sm);
  transition: all var(--dur) var(--ease);
}
.doc-item:hover { border-color: var(--blue); background: var(--blue-light); color: var(--gray-900); box-shadow: var(--shadow-sm); }
.doc-item__icon { font-size: 26px; flex-shrink: 0; }
.doc-item__title { font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.doc-item__meta  { font-size: var(--text-xs); color: var(--gray-400); }

/* â”€â”€ INTEGRITY BANNER â”€â”€ */
.integrity-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--s6) var(--s7);
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}
.integrity-banner__icon { font-size: 44px; flex-shrink: 0; }
.integrity-banner__title { font-size: var(--text-xl); font-weight: 700; color: var(--white); margin-bottom: 4px; }
.integrity-banner__desc  { font-size: var(--text-sm); color: rgba(255,255,255,.65); margin: 0; }
.integrity-banner .btn-danger { margin-left: auto; flex-shrink: 0; }

/* â”€â”€ GRID UTILS â”€â”€ */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--s5); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: var(--s5); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: var(--s5); }
.flex    { display: flex; flex-wrap: wrap; gap: var(--s5); }
.stack   { display: flex; flex-direction: column; gap: var(--s4); }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: var(--s7) 0; }

/* â”€â”€ STAT SNAPSHOT (sidebar) â”€â”€ */
.snapshot-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: var(--s5);
  color: var(--white);
}
.snapshot-card__title { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: var(--s3); }
.snapshot-row {
  display: flex;
  justify-content: space-between;
  padding: var(--s2) 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: var(--text-sm);
}
.snapshot-row:last-child { border-bottom: none; }
.snapshot-row__label { color: rgba(255,255,255,.60); }
.snapshot-row__value { font-weight: 600; color: var(--white); }

/* â”€â”€ FOOTER â”€â”€ */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.60); padding: var(--s8) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s7);
  padding-bottom: var(--s7);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-brand-name { font-weight: 700; font-size: var(--text-lg); color: var(--white); margin-bottom: var(--s3); }
.footer-brand-desc { font-size: var(--text-sm); line-height: 1.75; }
.footer-col-title  { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: var(--s4); }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,.60); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-contact { font-size: var(--text-sm); line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,.60); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  padding: var(--s5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: var(--text-xs);
}
.footer-bottom a { color: rgba(255,255,255,.50); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* â”€â”€ ACTIVITIES SIDEBAR â”€â”€ */
.activities-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s8);
  padding: var(--s7) 0;
}
.activities-sidebar { position: sticky; top: calc(var(--nav-h) + var(--s5)); }
.sidebar-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  padding: 0 var(--s4);
  margin-bottom: var(--s2);
}
.sidebar-nav { list-style: none; padding: 0; border-left: 2px solid var(--gray-200); }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
  display: block;
  padding: var(--s3) var(--s4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--navy); border-left-color: var(--green); }
.sidebar-nav .sub-label { font-size: var(--text-xs); color: var(--gray-400); display: block; margin-bottom: 2px; }

.output-section { padding-bottom: var(--s7); border-bottom: 1px solid var(--gray-200); margin-bottom: var(--s7); }
.output-section:last-child { border-bottom: none; margin-bottom: 0; }
.output-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--s4);
}
.output-tag.green { background: var(--green-light); color: var(--green-dark); }
.output-tag.blue  { background: var(--blue-light);  color: var(--blue); }
.output-tag.teal  { background: var(--teal-light);  color: var(--teal); }
.sub-section { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--gray-100); }
.sub-section h3 { font-size: var(--text-2xl); margin-bottom: var(--s3); }

/* Hospital cards */
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: var(--s3); margin-top: var(--s3); }
.hospital-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--s4);
  font-size: var(--text-sm);
}
.hospital-card__name { font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.hospital-card__province { font-size: var(--text-xs); color: var(--gray-400); margin-bottom: var(--s3); }

/* Equipment list */
.equipment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.equipment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--text-sm);
  gap: var(--s3);
}
.equipment-item__name { font-weight: 600; color: var(--gray-800); }

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--s4);
}
.roadmap-phase {
  padding: var(--s4);
  border-right: 1px solid var(--gray-200);
  text-align: center;
}
.roadmap-phase:last-child { border-right: none; }
.roadmap-phase.done   { background: var(--green-light); }
.roadmap-phase.active { background: var(--blue-light); }
.roadmap-phase.future { background: var(--gray-50); }
.roadmap-phase__num   { font-size: var(--text-xs); color: var(--gray-400); font-weight: 600; }
.roadmap-phase__name  { font-weight: 700; font-size: var(--text-sm); color: var(--gray-800); margin: 3px 0; }
.roadmap-phase__date  { font-size: var(--text-xs); color: var(--gray-400); margin-bottom: var(--s2); }

/* â”€â”€ PROCUREMENT â”€â”€ */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s4);
  margin-bottom: var(--s6);
}
.dash-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: var(--s4);
  text-align: center;
  border-top: 3px solid var(--gray-300);
}
.dash-card.green { border-top-color: var(--green); }
.dash-card.blue  { border-top-color: var(--blue); }
.dash-card.amber { border-top-color: var(--amber); }
.dash-card__num  { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--navy); }
.dash-card.green .dash-card__num { color: var(--green-dark); }
.dash-card.blue  .dash-card__num { color: var(--blue); }
.dash-card.amber .dash-card__num { color: var(--amber); }
.dash-card__label{ font-size: var(--text-xs); color: var(--gray-400); margin-top: 4px; font-weight: 500; }
.method-tag {
  display: inline-block;
  padding: 2px 7px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.amount-cell { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600; }
.filter-bar { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; margin-bottom: var(--s5); }
.filter-bar label { font-size: var(--text-sm); font-weight: 600; color: var(--gray-600); }
.filter-select {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-family: var(--font);
  font-size: var(--text-sm);
  color: var(--gray-700);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--blue); box-shadow: var(--shadow-focus-blue); }
.last-updated { font-size: var(--text-xs); color: var(--gray-400); margin-left: auto; }

/* â”€â”€ FEEDBACK â”€â”€ */
.grm-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--s8); }
.oai-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  color: var(--white);
}
.oai-panel__emoji { font-size: 40px; margin-bottom: var(--s4); display: block; }
.oai-panel__title { font-size: var(--text-xl); font-weight: 700; color: var(--white); margin-bottom: var(--s3); }
.oai-panel__body  { font-size: var(--text-sm); color: rgba(255,255,255,.70); line-height: 1.75; }
.oai-panel__divider { border: none; border-top: 1px solid rgba(255,255,255,.15); margin: var(--s4) 0; }
.oai-panel__detail { font-size: var(--text-sm); color: rgba(255,255,255,.55); line-height: 2; }
.oai-panel__detail a { color: rgba(255,255,255,.75); text-decoration: underline; }
.oai-panel .btn-danger { display: block; text-align: center; margin-top: var(--s5); }
#grm-success {
  display: none;
  background: var(--green-light);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: var(--s6);
  text-align: center;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 1024px) {
  .hero-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .dash-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .activities-layout { grid-template-columns: 1fr; }
  .activities-sidebar { position: static; }
  .grm-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  .container { padding: 0 var(--s5); }
  .section { padding: var(--s7) 0; }
  .hero { padding: var(--s7) 0 100px; }
  .hero-stats { margin-top: -50px; }
  .hero-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
  }
  .nav-list.open { display: flex; }
  .nav-item { flex-direction: column; }
  .nav-link { padding: var(--s4) var(--s6); border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-link svg { display: none; }
  .nav-dropdown { display: block; position: static; border-top: none; border-radius: 0; box-shadow: none; background: rgba(0,0,0,.25); }
  .nav-dropdown a { color: rgba(255,255,255,.70); padding-left: var(--s7); }
  .nav-dropdown a:hover { background: rgba(255,255,255,.08); color: var(--white); }
  .main-nav .main-nav__inner { position: relative; }
  .integrity-banner { padding: var(--s5); gap: var(--s4); }
  .integrity-banner .btn-danger { margin-left: 0; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-stats__grid { grid-template-columns: 1fr 1fr; }
  .adb-financed { display: none; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
