/* ============================================
   一诺必行 · 公益 — 主样式表
   ============================================ */

/* CSS Variables */
:root {
  --green-primary: #2ECC71;
  --green-dark: #27AE60;
  --green-darker: #1E8449;
  --green-light: #A9DFBF;
  --green-lighter: #E8F8F0;
  --gold: #D4AC0D;
  --gold-light: #F4D03F;
  --gold-dark: #B7950B;
  --bg: #F8FFF8;
  --bg-card: #FFFFFF;
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-light: #95A5A6;
  --border: #E0E0E0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--green-darker);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0 20px;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-dark);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo .dot {
  color: var(--gold);
}

.nav-logo img {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a5c2e 0%, #27AE60 40%, #2ECC71 70%, #58D68D 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float-particle 8s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-60px) scale(1.5); opacity: 0.8; }
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-white {
  background: white;
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--green-lighter);
  color: var(--green-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   Section Common
   ============================================ */
.section {
  padding: 100px 20px;
}

.section-alt {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-header .subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy-intro {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 2;
}

.flow-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 40px 0;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  min-width: 140px;
}

.flow-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 4px 15px rgba(46,204,113,0.3);
  transition: var(--transition);
}

.flow-step:hover .flow-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(46,204,113,0.4);
}

.flow-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: bold;
  padding: 0 4px;
}

.compliance-note {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--green-lighter), #f0fff0);
  border-left: 4px solid var(--green-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.compliance-note .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--gold));
}

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

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.2;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gold-dark);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ============================================
   Fund Sources Section
   ============================================ */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.source-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid transparent;
}

.source-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.source-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.source-card.gold .source-num {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

.source-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.source-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.source-tag {
  display: inline-block;
  background: var(--green-lighter);
  color: var(--green-darker);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 10px;
}

.source-card.gold .source-tag {
  background: #FEF9E7;
  color: var(--gold-dark);
}

/* ============================================
   Partners Section
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partner-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.partner-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.partner-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: 700;
}

.partner-logo.p1 { background: linear-gradient(135deg, #2ECC71, #27AE60); }
.partner-logo.p2 { background: linear-gradient(135deg, #3498DB, #2980B9); }
.partner-logo.p3 { background: linear-gradient(135deg, #E67E22, #D35400); }

.partner-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.partner-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Donation Table Section
   ============================================ */
.table-wrapper {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.table-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.table-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--green-primary);
  color: white;
  border-color: var(--green-primary);
}

.donation-table {
  width: 100%;
  border-collapse: collapse;
}

.donation-table th {
  background: var(--green-lighter);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-darker);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  white-space: nowrap;
}

.donation-table th:hover {
  background: var(--green-light);
}

.donation-table th .sort-icon {
  margin-left: 4px;
  font-size: 0.75rem;
  opacity: 0.5;
}

.donation-table th.sorted .sort-icon {
  opacity: 1;
  color: var(--gold-dark);
}

.donation-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem;
}

.donation-table tbody tr {
  transition: var(--transition);
}

.donation-table tbody tr:hover {
  background: var(--green-lighter);
}

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-success {
  background: #E8F8F0;
  color: var(--green-dark);
}

.badge-warning {
  background: #FEF9E7;
  color: var(--gold-dark);
}

.cert-link {
  color: var(--green-dark);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.cert-link:hover {
  color: var(--green-darker);
}

.table-footer {
  padding: 16px 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid #f0f0f0;
}

/* ============================================
   Audit Section
   ============================================ */
.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.audit-info {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.audit-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.audit-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.audit-list {
  list-style: none;
  margin: 20px 0;
}

.audit-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.audit-list li:last-child {
  border-bottom: none;
}

.audit-list .check {
  color: var(--green-primary);
  font-weight: bold;
}

.audit-reports {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.report-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-hover);
}

.report-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-lighter), #e0f5e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.report-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.report-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.report-download {
  margin-left: auto;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ============================================
   Certificate Gallery
   ============================================ */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: linear-gradient(135deg, var(--green-lighter), #e8f5e9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-thumb:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.cert-thumb::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
}

.cert-thumb:hover::after {
  opacity: 1;
}

.cert-placeholder {
  text-align: center;
  color: var(--green-dark);
}

.cert-placeholder .cert-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.cert-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--text-primary);
}

.lightbox-content .cert-display {
  min-width: 400px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.lightbox-content .cert-display .cert-icon {
  font-size: 5rem;
}

.lightbox-content .cert-display h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.lightbox-content .cert-display p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.about-highlight {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-highlight .big-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.about-highlight h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.about-highlight p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.value-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #1a2332;
  color: #94A3B8;
  padding: 60px 20px 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--green-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--green-primary);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }

  .section { padding: 60px 16px; }
  .section-header h2 { font-size: 1.7rem; }

  .flow-chart { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }

  .sources-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .cert-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .donation-table { font-size: 0.85rem; }
  .donation-table th,
  .donation-table td { padding: 10px 12px; }

  .table-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-scroll {
    overflow-x: auto;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.2rem; }
  .cert-gallery { grid-template-columns: 1fr; }
}
