:root {
  --primary: #1f6f43;
  --primary-dark: #154f31;
  --accent: #e39b2d;
  --accent-dark: #c17e1a;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f7faf8;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.topbar {
  background: var(--primary-dark);
  color: #eaf5ee;
  font-size: 14px;
}
.topbar .container {
  display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; flex-wrap: wrap;
}
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 18px; }
.logo {
  display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--primary-dark);
}
.logo-mark {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: white; font-size: 20px; font-weight: 800;
  box-shadow: var(--shadow);
}
.logo small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
nav ul { list-style: none; display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; }
nav a { font-weight: 700; font-size: 15px; color: var(--text); }
nav a:hover, nav a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 800; border: none; cursor: pointer;
  transition: .2s ease; text-align: center;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--accent); color: white; }
.btn-secondary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.mobile-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--primary-dark); }
.hero {
  background:
    linear-gradient(115deg, rgba(21,79,49,.90), rgba(31,111,67,.78)),
    radial-gradient(circle at top right, rgba(227,155,45,.35), transparent 25%),
    linear-gradient(135deg, #315f47, #1f6f43);
  color: white;
  padding: 92px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 13px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 18px 0 16px; }
.hero p { font-size: 18px; max-width: 690px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px; padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.hero-card h3 { margin-top: 0; font-size: 26px; }
.hero-list { list-style: none; padding: 0; margin: 16px 0 0; }
.hero-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.hero-list li:last-child { border-bottom: none; }
section { padding: 76px 0; }
.section-header { max-width: 760px; margin-bottom: 30px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 14px; color: var(--primary-dark); }
.section-header p { margin: 0; color: var(--muted); font-size: 17px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; color: var(--primary-dark); }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, rgba(31,111,67,.12), rgba(227,155,45,.18));
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
}
.highlight { background: var(--bg); }
.stat-card {
  background: linear-gradient(180deg, #fff, #f7faf8); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 40px; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; border-radius: 28px; padding: 36px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center;
}
.cta-band h2 { color: white; margin: 0 0 12px; }
.quote {
  font-size: 18px; font-style: italic; color: var(--muted);
}
.page-hero {
  background: linear-gradient(135deg, #eef7f1, #fef8ee); padding: 68px 0 48px; border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(34px, 5vw, 52px); color: var(--primary-dark); }
.page-hero p { margin: 0; max-width: 760px; color: var(--muted); font-size: 18px; }
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start;
}
.panel {
  background: linear-gradient(180deg, #ffffff, #f9fbfa); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.timeline { border-left: 3px solid rgba(31,111,67,.18); padding-left: 20px; }
.timeline-item { margin-bottom: 24px; }
.timeline-item h4 { margin: 0 0 6px; color: var(--primary-dark); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-item {
  min-height: 240px; border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow);
  background: linear-gradient(145deg, #2b6a46, #e39b2d);
}
.gallery-item:nth-child(2n) { background: linear-gradient(145deg, #1f6f43, #7abf8e); }
.gallery-item:nth-child(3n) { background: linear-gradient(145deg, #345f8a, #9ed0ff); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 60%);
  display: flex; align-items: end; padding: 18px; color: white; font-weight: 700;
}
.update-item, .contact-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.update-item:first-child, .contact-item:first-child { padding-top: 0; }
.update-item:last-child, .contact-item:last-child { border-bottom: none; padding-bottom: 0; }
form .field { margin-bottom: 16px; }
label { display: block; margin-bottom: 8px; font-weight: 700; }
input, textarea, select {
  width: 100%; padding: 14px 16px; border: 1px solid #d1d5db; border-radius: 14px; font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
footer {
  background: #102718; color: #dbe9de; padding: 28px 0 18px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 22px; }
footer h4 { color: white; margin-top: 0; }
footer a { color: #dbe9de; }
footer a:hover { color: white; }
.footer-bottom {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #bdd3c1;
}
.notice {
  padding: 15px 18px; border-radius: 16px; background: #fff6e7; color: #8a5a00; border: 1px solid #f6ddae;
}
.map-box {
  min-height: 280px; border-radius: 20px; background: linear-gradient(135deg, #e6f4ec, #eef7f1); display: grid; place-items: center; text-align: center; padding: 20px; border: 1px dashed #bfd7c7;
}
@media (max-width: 980px) {
  nav {
    position: absolute; left: 0; right: 0; top: 100%; background: white; border-bottom: 1px solid var(--border); display: none;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; padding: 18px 16px 24px; }
  .mobile-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .hero-grid, .cta-band, .split, .footer-grid, .grid-4, .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { padding-top: 72px; }
  .topbar .container, .nav-wrap, .hero-actions { flex-direction: column; align-items: flex-start; }
  .logo { align-items: flex-start; }
  section { padding: 58px 0; }
  .card, .panel, .cta-band { padding: 22px; }
}

.donate-section {
  padding: 80px 20px;
  background: #f7faf7;
}

.container {
  width: min(1150px, 100%);
  margin: 0 auto;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  background: #e3f3e8;
  color: #1f7a4d;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.donate-text h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #173120;
}

.donate-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #4d5b52;
  margin-bottom: 24px;
}

.donate-points {
  display: grid;
  gap: 12px;
}

.point {
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 4px solid #1f7a4d;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  color: #243228;
  font-weight: 600;
}

.donate-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.donate-card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #173120;
}

.donate-small {
  color: #5c6a60;
  margin-bottom: 22px;
}

.amount-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.amount-btn {
  border: 1px solid #dbe6dd;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.amount-btn:hover,
.amount-btn.active {
  background: #1f7a4d;
  color: #fff;
  border-color: #1f7a4d;
}

.donate-card label {
  display: block;
  margin: 10px 0 8px;
  font-weight: 600;
  color: #243228;
}

.donate-card input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d6dfd8;
  outline: none;
  margin-bottom: 18px;
  font-size: 16px;
}

.donate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  text-align: center;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: #1f7a4d;
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-secondary {
  background: #0d3b66;
  color: #fff;
}

.btn-secondary:hover {
  opacity: 0.92;
}

.donate-note {
  margin-top: 16px;
  font-size: 14px;
  color: #6a776d;
}

@media (max-width: 900px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .donate-text h2 {
    font-size: 32px;
  }
}


.sandbox-inline-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7e7;
  color: #8a5a00;
  border: 1px solid #f2dbad;
  font-size: 14px;
  font-weight: 600;
}

.testing-banner-section {
  padding-top: 28px;
  padding-bottom: 0;
}

.testing-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7e8, #fffdf6);
  border: 1px solid #f2dbad;
  color: #7d4e00;
  box-shadow: 0 10px 24px rgba(125, 78, 0, 0.08);
}

.testing-banner strong {
  font-size: 16px;
}

.donate-card--testing {
  position: relative;
}

.sandbox-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf6ee;
  color: #1f7a4d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.testing-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.testing-summary > div {
  border: 1px solid #dbe6dd;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdfb;
}

.summary-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #617066;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-secondary-alt {
  background: #0d3b66;
}

@media (max-width: 700px) {
  .testing-summary {
    grid-template-columns: 1fr;
  }
}


.notice { margin-bottom: 18px; }
.notice-success {
  background: #eaf8ee;
  color: #155724;
  border-color: #b8e0c0;
}
.notice-error {
  background: #fff1f1;
  color: #8a1f1f;
  border-color: #f0c5c5;
}
.notice-info {
  background: #eef6ff;
  color: #0f3f75;
  border-color: #c5daf3;
}

.admin-shell {
  min-height: 100vh;
  background: #f5f8f6;
}
.admin-topbar {
  background: #102718;
  color: #fff;
  padding: 16px 0;
}
.admin-topbar .admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.table-wrap th,
.table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.table-wrap th {
  background: #f7faf8;
  color: var(--primary-dark);
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef7f1;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}
.login-wrap {
  max-width: 460px;
  margin: 60px auto;
}
.login-wrap .btn {
  width: 100%;
}
.small-muted {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}


.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.status-success {
  background: #e8f7ee;
  color: #1f7a3d;
}

.status-pending {
  background: #fff4db;
  color: #9a6700;
}

.status-failed {
  background: #fdeaea;
  color: #b42318;
}

.status-cancelled {
  background: #f2f4f7;
  color: #475467;
}