/* ============================================================
   Bridges Foundation — Template #34
   Non-Profit Landing Page
   Palette: Deep Graphite / Warm White / Dusty Rose
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --bf-dark: #2d2d2f;
  --bf-dark-rgb: 45, 45, 47;
  --bf-light: #faf9f7;
  --bf-light-rgb: 250, 249, 247;
  --bf-accent: #c4727f;
  --bf-accent-rgb: 196, 114, 127;
  --bf-accent-hover: #b3616e;
  --bf-text: #3a3a3c;
  --bf-text-muted: #6e6e73;
  --bf-border: #e5e4e1;
  --bf-white: #ffffff;
  --bf-font-heading: 'Figtree', sans-serif;
  --bf-font-body: 'Lora', serif;
  --bf-radius: 10px;
  --bf-radius-lg: 16px;
  --bf-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --bf-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --bf-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --bf-nav-height: 72px;
  --bf-banner-height: 40px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bf-nav-height) + var(--bf-banner-height) + 16px);
}

body {
  font-family: var(--bf-font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--bf-text);
  background: var(--bf-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--bf-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bf-dark);
}

/* ---------- Utilities ---------- */
.bf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bf-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bf-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-accent);
  margin-bottom: 16px;
}

.bf-section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--bf-accent);
  border-radius: 1px;
}

.bf-section-title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  margin-bottom: 16px;
}

.bf-section-desc {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: var(--bf-text-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Demo Banner ---------- */
.bf-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bf-banner-height);
  background: var(--bf-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.bf-demo-banner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bf-light);
  font-family: var(--bf-font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: opacity var(--bf-transition);
}

.bf-demo-banner a:hover { opacity: 1; }
.bf-demo-banner svg { width: 16px; height: 16px; }

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

.bf-nav.scrolled {
  background: rgba(var(--bf-dark-rgb), 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.bf-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bf-white);
  font-family: var(--bf-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 10;
}

.bf-logo-icon {
  width: 36px;
  height: 36px;
  color: var(--bf-accent);
}

.bf-logo em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.7;
}

.bf-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.bf-nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--bf-font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--bf-transition);
  position: relative;
}

.bf-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bf-accent);
  border-radius: 1px;
  transition: width var(--bf-transition);
}

.bf-nav-links a:hover { color: var(--bf-white); }
.bf-nav-links a:hover::after { width: 100%; }

.bf-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bf-nav-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--bf-accent);
  color: var(--bf-white);
  font-family: var(--bf-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--bf-transition), transform 0.2s;
}

.bf-nav-donate-btn svg { width: 16px; height: 16px; }
.bf-nav-donate-btn:hover { background: var(--bf-accent-hover); transform: translateY(-1px); }

/* Hamburger */
.bf-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  z-index: 10;
}

.bf-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bf-white);
  border-radius: 2px;
  transition: transform var(--bf-transition), opacity var(--bf-transition);
}

.bf-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.bf-menu-toggle.active span:nth-child(2) { opacity: 0; }
.bf-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile slide-in panel */
.bf-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--bf-dark);
  padding: 120px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--bf-transition);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.bf-mobile-menu a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--bf-font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--bf-transition), padding-left var(--bf-transition);
}

.bf-mobile-menu a:hover { color: var(--bf-accent); padding-left: 8px; }

.bf-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--bf-transition), visibility var(--bf-transition);
  z-index: 4;
}

.bf-mobile-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.bf-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--bf-nav-height) + var(--bf-banner-height) + 40px) 24px 80px;
  background:
    linear-gradient(175deg, rgba(var(--bf-dark-rgb), 0.75) 0%, rgba(var(--bf-dark-rgb), 0.55) 50%, rgba(var(--bf-dark-rgb), 0.8) 100%),
    url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=1920&q=80') center/cover no-repeat;
  color: var(--bf-white);
  overflow: hidden;
}

.bf-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bf-light), transparent);
  pointer-events: none;
}

.bf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.bf-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--bf-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bf-accent);
  margin-bottom: 24px;
}

.bf-hero-label::before,
.bf-hero-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--bf-accent);
}

.bf-hero-title {
  font-size: clamp(2.5rem, 2rem + 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--bf-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.bf-hero-title em {
  font-style: italic;
  color: var(--bf-accent);
  font-family: var(--bf-font-body);
  font-weight: 500;
}

.bf-hero-desc {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.bf-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--bf-accent);
  color: var(--bf-white);
  font-family: var(--bf-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--bf-transition), transform 0.2s, box-shadow var(--bf-transition);
  box-shadow: 0 4px 20px rgba(var(--bf-accent-rgb), 0.35);
}

.bf-btn-primary:hover {
  background: var(--bf-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(var(--bf-accent-rgb), 0.45);
}

.bf-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: var(--bf-white);
  font-family: var(--bf-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--bf-transition), background var(--bf-transition), transform 0.2s;
}

.bf-btn-secondary:hover {
  border-color: var(--bf-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.bf-hero-scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--bf-font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bf-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: bf-scroll-pulse 2s ease-in-out infinite;
}

@keyframes bf-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Mission ---------- */
.bf-mission {
  padding: 120px 24px;
  text-align: center;
}

.bf-mission .bf-section-desc {
  margin: 0 auto 48px;
}

.bf-mission-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  box-shadow: var(--bf-shadow-lg);
}

.bf-mission-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---------- Impact Stats ---------- */
.bf-impact {
  padding: 100px 24px;
  background: var(--bf-white);
}

.bf-impact-header {
  text-align: center;
  margin-bottom: 64px;
}

.bf-impact-header .bf-section-desc {
  margin: 0 auto;
}

.bf-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.bf-stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--bf-radius-lg);
  background: var(--bf-light);
  border: 1px solid var(--bf-border);
  transition: transform var(--bf-transition), box-shadow var(--bf-transition);
}

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

.bf-stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--bf-accent);
}

.bf-stat-number {
  font-family: var(--bf-font-heading);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 800;
  color: var(--bf-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.bf-stat-label {
  font-family: var(--bf-font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Programs ---------- */
.bf-programs {
  padding: 120px 24px;
}

.bf-programs-header {
  text-align: center;
  margin-bottom: 64px;
}

.bf-programs-header .bf-section-desc {
  margin: 0 auto;
}

.bf-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bf-program-card {
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  background: var(--bf-white);
  border: 1px solid var(--bf-border);
  transition: transform var(--bf-transition), box-shadow var(--bf-transition);
}

.bf-program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bf-shadow-lg);
}

.bf-program-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.bf-program-body {
  padding: 32px;
}

.bf-program-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(var(--bf-accent-rgb), 0.1);
  color: var(--bf-accent);
  font-family: var(--bf-font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.bf-program-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.bf-program-card p {
  color: var(--bf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.bf-program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bf-accent);
  font-family: var(--bf-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap var(--bf-transition);
}

.bf-program-link:hover { gap: 12px; }
.bf-program-link svg { width: 16px; height: 16px; }

/* ---------- Success Story ---------- */
.bf-story {
  padding: 120px 24px;
  background: var(--bf-white);
}

.bf-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bf-story-image {
  border-radius: var(--bf-radius-lg);
  overflow: hidden;
  box-shadow: var(--bf-shadow-lg);
}

.bf-story-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.bf-story-content blockquote {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-style: italic;
  color: var(--bf-text);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 24px;
  border-left: 3px solid var(--bf-accent);
}

.bf-story-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bf-story-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bf-border);
}

.bf-story-author-name {
  font-family: var(--bf-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--bf-dark);
}

.bf-story-author-role {
  font-size: 0.85rem;
  color: var(--bf-text-muted);
}

/* ---------- Get Involved ---------- */
.bf-involve {
  padding: 120px 24px;
}

.bf-involve-header {
  text-align: center;
  margin-bottom: 64px;
}

.bf-involve-header .bf-section-desc {
  margin: 0 auto;
}

.bf-involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bf-involve-card {
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--bf-radius-lg);
  background: var(--bf-white);
  border: 1px solid var(--bf-border);
  transition: transform var(--bf-transition), box-shadow var(--bf-transition);
}

.bf-involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bf-shadow-lg);
}

.bf-involve-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bf-accent-rgb), 0.1);
  border-radius: 50%;
  color: var(--bf-accent);
}

.bf-involve-icon svg { width: 28px; height: 28px; }

.bf-involve-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.bf-involve-card p {
  color: var(--bf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.bf-involve-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: 2px solid var(--bf-accent);
  color: var(--bf-accent);
  font-family: var(--bf-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
  transition: background var(--bf-transition), color var(--bf-transition), transform 0.2s;
}

.bf-involve-btn:hover {
  background: var(--bf-accent);
  color: var(--bf-white);
  transform: translateY(-2px);
}

/* ---------- Partners ---------- */
.bf-partners {
  padding: 80px 24px;
  background: var(--bf-white);
}

.bf-partners-header {
  text-align: center;
  margin-bottom: 48px;
}

.bf-partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.bf-partner-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 64px;
  background: var(--bf-light);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  font-family: var(--bf-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bf-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color var(--bf-transition), color var(--bf-transition);
}

.bf-partner-badge:hover {
  border-color: var(--bf-accent);
  color: var(--bf-accent);
}

/* ---------- CTA ---------- */
.bf-cta {
  padding: 100px 24px;
  background: var(--bf-accent);
  text-align: center;
  color: var(--bf-white);
  position: relative;
  overflow: hidden;
}

.bf-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.bf-cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.bf-cta h2 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  color: var(--bf-white);
  margin-bottom: 16px;
}

.bf-cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.bf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  background: var(--bf-white);
  color: var(--bf-accent);
  font-family: var(--bf-font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow var(--bf-transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bf-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.bf-footer {
  padding: 80px 24px 32px;
  background: var(--bf-dark);
  color: rgba(255, 255, 255, 0.7);
}

.bf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.bf-footer-brand .bf-logo {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.bf-footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 320px;
}

.bf-footer h4 {
  color: var(--bf-white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.bf-footer-links a:hover { color: var(--bf-accent); padding-left: 4px; }

.bf-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--bf-font-heading);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.bf-footer-social {
  display: flex;
  gap: 16px;
}

.bf-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  transition: border-color var(--bf-transition), color var(--bf-transition);
}

.bf-footer-social a:hover { border-color: var(--bf-accent); color: var(--bf-accent); }
.bf-footer-social svg { width: 16px; height: 16px; }

/* ---------- Scroll Reveal ---------- */
.bf-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.bf-reveal.bf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive: 1024px ---------- */
@media (max-width: 1024px) {
  .bf-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-programs-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-story-grid { gap: 40px; }
  .bf-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: 768px ---------- */
@media (max-width: 768px) {
  .bf-nav-links { display: none; }
  .bf-nav-donate-btn { display: none; }
  .bf-menu-toggle { display: flex; }

  .bf-hero { min-height: 85vh; }
  .bf-hero-title { font-size: clamp(2rem, 1.5rem + 3vw, 3rem); }

  .bf-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bf-story-image img { height: 320px; }

  .bf-involve-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .bf-programs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .bf-partners-row { gap: 24px; }

  .bf-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .bf-footer-brand p { margin: 0 auto; }
  .bf-footer-bottom { justify-content: center; text-align: center; }
  .bf-footer-social { justify-content: center; }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
  .bf-impact-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }

  .bf-hero-actions { flex-direction: column; }
  .bf-hero-actions .bf-btn-primary,
  .bf-hero-actions .bf-btn-secondary { width: 100%; justify-content: center; }

  .bf-mission-image img { height: 260px; }
  .bf-stat-card { padding: 28px 20px; }

  .bf-partner-badge { width: 120px; height: 52px; font-size: 0.7rem; }
}
