/* =========================================================
   GIL Genève — Plateforme de dons
   Palette : bourgogne #8B3A3A | or #D4AF37 | blanc chaud #faf9f6
   ========================================================= */

:root {
  --blue:       #8B3A3A;
  --blue-light: #A84747;
  --blue-pale:  #F5E8E8;
  --gold:       #E8E4DC;
  --gold-light: #F3F0EB;
  --gold-pale:  #FEFBF7;
  --success:    #2e7d52;
  --danger:     #b93030;
  --text:       #1e1e1e;
  --text-muted: #6b7280;
  --bg:         #FAFAF6;
  --card-bg:    #ffffff;
  --border:     #E5DCD0;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 2px 12px rgba(139,58,58,.10);
  --shadow-lg:  0 8px 32px rgba(139,58,58,.18);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilitaires ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-gold   { background: var(--gold-pale);  color: #8a6a00; border: 1px solid #d9b967; }
.badge-blue   { background: var(--blue-pale);  color: var(--blue); border: 1px solid #d4a5a5; }
.badge-green  { background: #eaf5ee; color: #1e6b3a; border: 1px solid #a3d4b5; }

/* ── Header / Nav ───────────────────────────────────────── */
.site-header {
  background: var(--blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-emblem-img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.logo-text { line-height: 1.2; }
.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.logo-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.72);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-header {
  background: var(--gold);
  color: var(--blue);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-header:hover { background: #d9b245; transform: translateY(-1px); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  padding: 64px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-tag {
  display: inline-block;
  background: rgba(200,161,54,.25);
  border: 1px solid rgba(200,161,54,.55);
  color: var(--gold-light);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--gold-light); display: block; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }

/* ── Filtres ─────────────────────────────────────────────── */
.filters-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 74px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.filters-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.filter-label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }

.filter-select, .filter-search {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition);
  outline: none;
}
.filter-select:focus, .filter-search:focus { border-color: var(--blue); }
.filter-search { min-width: 200px; }

.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.filter-chip.active-gold {
  background: var(--gold);
  color: var(--blue);
  border-color: var(--gold);
}

.filters-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.sort-select:focus { border-color: var(--blue); }

/* ── Grille de projets ───────────────────────────────────── */
.section { padding: 48px 0; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-completed { color: var(--text-muted); }
.section-count {
  font-size: .85rem;
  color: var(--text-muted);
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.projects-grid-4col {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Projet principal */
.section-featured {
  background: linear-gradient(135deg, var(--blue-pale), #f9f7f4);
  padding: 48px 0;
  border-bottom: 2px solid var(--border);
}

#featured-project {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

#featured-project .featured-gallery {
  min-height: 400px;
  background: var(--blue-pale);
}

#featured-project .featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#featured-project .featured-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

#featured-project .featured-desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

#featured-project .featured-progress {
  margin-bottom: 24px;
}

#featured-project .featured-buttons {
  display: flex;
  gap: 12px;
}

#featured-project .btn-featured {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

#featured-project .btn-featured-primary {
  background: var(--blue);
  color: #fff;
}

#featured-project .btn-featured-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139,58,58,.25);
}

#featured-project .btn-featured-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

#featured-project .btn-featured-secondary:hover {
  background: var(--blue-pale);
}

@media (max-width: 1000px) {
  #featured-project {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  #featured-project .featured-gallery {
    min-height: 300px;
  }

  #featured-project .featured-content {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  #featured-section {
    padding: 32px 0;
  }

  #featured-project {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #featured-project .featured-gallery {
    min-height: 280px;
  }

  #featured-project .featured-content {
    padding: 24px;
  }

  #featured-project .featured-title {
    font-size: 1.5rem;
  }

  #featured-project .featured-buttons {
    flex-direction: column;
  }

  #featured-project .btn-featured {
    width: 100%;
  }
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--blue);
  opacity: .6;
  font-weight: 300;
  letter-spacing: .15em;
}
.empty-state p { font-size: 1.05rem; }

/* ── Carte projet ────────────────────────────────────────── */
.project-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
}
.project-card.featured::after {
  content: '★ À la une';
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.project-card.completed-card { opacity: .88; }

/* Galerie d'images */
.card-gallery {
  position: relative;
  height: 200px;
  background: var(--blue-pale);
  overflow: hidden;
  flex-shrink: 0;
}
.card-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover .card-gallery img { transform: scale(1.04); }
.card-gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--blue-pale), #d4e3f5);
}
.gallery-nav {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
}
.gallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.gallery-dot.active { background: #fff; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.card-categories { display: flex; gap: 6px; flex-wrap: wrap; }

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

.card-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Barre de progression */
.progress-section { margin-top: 4px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: .82rem;
}
.progress-raised { font-weight: 800; font-size: 1.05rem; color: var(--blue); }
.progress-goal   { color: var(--text-muted); }
.progress-pct    { font-weight: 700; color: var(--gold); }

.progress-bar-bg {
  height: 9px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-light), var(--gold));
  border-radius: 999px;
  transition: width 1s cubic-bezier(.4,0,.2,1);
  position: relative;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}
.progress-bar-fill.full {
  background: linear-gradient(90deg, #3f8f4f, #52b788);
  box-shadow: 0 2px 8px rgba(46, 125, 82, 0.4);
}
.progress-bar-fill.overflow {
  background: linear-gradient(90deg, var(--gold), #FFD700);
  position: relative;
  overflow: hidden;
}
.progress-bar-fill.overflow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-closing {
  font-size: .77rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.progress-closing.urgent { color: var(--danger); font-weight: 600; }

.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.btn-card {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); }
.btn-secondary { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-secondary:hover { background: var(--blue-pale); }
.btn-gold { background: var(--gold); color: var(--blue); }
.btn-gold:hover { background: #d9b245; }

/* ── Section Projets réalisés ───────────────────────────── */
.completed-section { background: #f3f4f6; padding: 48px 0; }
.completed-section .section-title { color: var(--text-muted); }
.completed-banner {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.completed-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--success);
  font-weight: 600;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97);
  transition: transform var(--transition);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-gallery {
  position: relative;
  height: 420px;
  background: var(--blue-pale);
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 5;
}
.modal-gallery-zone {
  flex: 1;
  pointer-events: all;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.modal-gallery-zone:hover {
  background: rgba(0,0,0,.1);
}
.modal-gallery-prev:hover::before,
.modal-gallery-next:hover::before {
  opacity: 1;
}
.modal-gallery-prev::before {
  content: '‹';
  position: absolute;
  left: 20px;
  font-size: 3rem;
  color: var(--blue);
  font-weight: bold;
  opacity: 0;
  transition: opacity var(--transition);
}
.modal-gallery-next::before {
  content: '›';
  position: absolute;
  right: 20px;
  font-size: 3rem;
  color: var(--blue);
  font-weight: bold;
  opacity: 0;
  transition: opacity var(--transition);
}

/* Miniatures */
.modal-gallery-thumbnails {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.modal-gallery-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: all var(--transition);
  padding: 0;
}
.modal-gallery-thumbnail:hover {
  border-color: rgba(255,255,255,.6);
  transform: scale(1.05);
}
.modal-gallery-thumbnail.active {
  border-color: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.modal-gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--blue-pale), #d4e3f5);
}
.modal-gallery-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.modal-gallery-btn {
  pointer-events: all;
  background: var(--blue);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.modal-gallery-btn:hover {
  background: var(--blue-light);
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  transform: scale(1.1);
}
.modal-gallery-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
}
.modal-gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: 2px solid rgba(255,255,255,.8);
  cursor: pointer;
  transition: all var(--transition);
}
.modal-gallery-dot:hover { background: rgba(255,255,255,.8); }
.modal-gallery-dot.active {
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,.8); }

.modal-body { padding: 28px 32px 32px; }

.modal-categories { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }

.modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-progress { margin: 20px 0; }

.modal-desc {
  font-size: .96rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}
.modal-desc p { margin-bottom: .9em; }
.modal-desc ul { padding-left: 1.4em; margin-bottom: .9em; }
.modal-desc li { margin-bottom: .3em; }
.modal-desc strong { color: var(--blue); }
.modal-desc em { color: var(--text-muted); }

/* Complétion */
.completion-note {
  background: #eaf5ee;
  border: 1.5px solid #a3d4b5;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.completion-note-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--success);
  font-weight: 600;
}
.completion-note p { font-size: .92rem; line-height: 1.6; color: #1e4a2e; }

/* CTAs dons */
.donation-section {
  background: var(--gold-pale);
  border: 1.5px solid #e8c96b;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}
.donation-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.donation-option {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.donation-option:hover { border-color: var(--gold); box-shadow: 0 2px 10px rgba(200,161,54,.2); }
.donation-option-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: .1em;
}
.donation-option-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.donation-option p { font-size: .78rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }
.qr-placeholder {
  width: 110px; height: 110px;
  margin: 0 auto 10px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}
.qr-placeholder img { width: 100%; height: 100%; object-fit: contain; }
.qr-code-img {
  width: 110px; height: 110px;
  margin: 0 auto 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  object-fit: contain;
}
.btn-donation {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .83rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-donation-blue { background: var(--blue); color: #fff; }
.btn-donation-blue:hover { background: var(--blue-light); }
.btn-donation-twint { background: var(--blue-light); color: #fff; }
.btn-donation-twint:hover { background: var(--blue); }
.btn-donation-contact { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-donation-contact:hover { background: var(--blue-pale); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--blue);
  color: rgba(255,255,255,.75);
  padding: 36px 0 24px;
  text-align: center;
  font-size: .88rem;
}
.footer-logo { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); text-decoration: none; }
.footer-copy { color: rgba(255,255,255,.45); font-size: .8rem; margin-top: 16px; }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--blue);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 40px 16px 36px; }
  .hero-stats { gap: 24px; }
  .filters-inner { gap: 8px; }
  .filters-right { margin-left: 0; width: 100%; }
  .sort-select { flex: 1; }
  .modal-body { padding: 20px 18px 24px; }
  .modal-gallery { height: 200px; }
  .donation-options { grid-template-columns: 1fr; }
  .header-inner { padding: 12px 16px; }
  .logo-sub { display: none; }
}
@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .filter-chips { gap: 4px; }
  .filter-chip { font-size: .76rem; padding: 5px 10px; }
}
