:root {
  --navy: #0f2744;
  --navy-light: #1a3a5c;
  --green: #2d4a2d;
  --green-soft: #e8f0e8;
  --gold: #c9a227;
  --gold-light: #dbb84a;
  --red: #b22234;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 39, 68, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--navy-light); }
a:hover { color: var(--navy); }

/* ── Nav ─────────────────────────────────────────── */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(15, 39, 68, 0.04);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-donate {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-donate:hover {
  background: #8b1a28 !important;
  color: var(--white) !important;
}

@media (max-width: 640px) {
  .nav-links li:not(:last-child) { display: none; }
  .brand-sub { display: none; }
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--green) 100%);
  color: var(--white);
  padding: 3.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(178, 34, 52, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: "★";
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero .tagline {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Layout ──────────────────────────────────────── */

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  margin-top: -2rem;
  padding-bottom: 3rem;
}

.section {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg);
}

/* ── Cards ───────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.card-green {
  background: var(--green-soft);
  border: 1px solid rgba(45, 74, 45, 0.12);
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Highlights grid ─────────────────────────────── */

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.highlight {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}

.highlight-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.highlight span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Program list ────────────────────────────────── */

.program-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.program-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.program-icon {
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 0.1rem;
}

.program-list strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.program-list li > div:last-child,
.program-list li > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Two-column ──────────────────────────────────── */

.two-col {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

/* ── CTA band ────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.cta-band h2 {
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ── Buttons ───────────────────────────────────── */

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: #8b1a28;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy-light);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: none;
}

/* ── Contact ─────────────────────────────────────── */

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-item {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 8px;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-item a {
  font-weight: 600;
  word-break: break-all;
}

/* ── Donate page ─────────────────────────────────── */

.donate-hero {
  padding: 2.5rem 1.5rem 3.5rem;
}

.amount-section {
  margin-bottom: 1.5rem;
}

.amount-section h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.amount-btn {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy);
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  min-width: 88px;
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  color: var(--navy);
}

.amount-btn.featured {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.amount-btn.featured::after {
  content: " /mo";
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.qr-section {
  text-align: center;
}

.qr-wrap {
  display: inline-block;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 1rem 0;
}

.qr-wrap img {
  display: block;
  width: 200px;
  height: 200px;
}

.qr-hint {
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-all;
}

.back-link {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover { color: var(--navy); }

/* ── Footer ──────────────────────────────────────── */

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1040px;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
}
