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

:root {
  --terracotta: #B8472B;
  --terracotta-dark: #93371F;
  --ivory: #FAF6EF;
  --ivory-deep: #F1E9D8;
  --teal: #2D5F4F;
  --teal-dark: #1F4338;
  --gold: #C99A3D;
  --charcoal: #2B2620;
  --charcoal-soft: #5C5448;
  --line: #E3D9C4;
  --white: #FFFDF9;

  --font-display: 'Lora', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 6px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--charcoal-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--terracotta);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(184, 71, 43, 0.28);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--terracotta);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--charcoal);
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: 0.2s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.hero-lead {
  font-size: 1.12rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--teal);
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
}
.stamp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 30px;
  position: relative;
  box-shadow: 0 24px 50px -20px rgba(43, 38, 32, 0.25);
}
.stamp-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  pointer-events: none;
}
.stamp-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2.5px solid var(--terracotta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transform: rotate(-6deg);
  position: relative;
}
.stamp-badge::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
}
.stamp-badge .top {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  text-transform: uppercase;
}
.stamp-badge .mid {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--terracotta);
  line-height: 1;
  margin: 2px 0;
}
.stamp-card h3 { text-align: center; margin-bottom: 6px; }
.stamp-card .sub { text-align: center; font-size: 0.88rem; margin-bottom: 22px; }
.stamp-list { display: flex; flex-direction: column; gap: 12px; }
.stamp-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--line);
}
.stamp-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.stamp-list-item .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0;
}

/* ===== Section generic ===== */
section { padding: 90px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-deep { background: var(--ivory-deep); }
.bg-teal { background: var(--teal); color: var(--ivory); }
.bg-teal h2, .bg-teal p, .bg-teal .eyebrow { color: var(--ivory); }
.bg-teal .eyebrow::before { background: var(--gold); }

/* ===== Mission / About ===== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
}
.mission-image img { width: 100%; height: 100%; object-fit: cover; }
.value-row {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.value-row:first-of-type { border-top: none; margin-top: 28px; padding-top: 0; }
.value-mark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
  width: 30px;
}

/* ===== Programs ===== */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -16px rgba(43,38,32,0.18);
}
.program-card .ptag {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.program-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: var(--ivory-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.program-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.program-card p { font-size: 0.92rem; }

/* ===== Impact stats strip ===== */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250,246,239,0.2);
  border-bottom: 1px solid rgba(250,246,239,0.2);
}
.impact-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(250,246,239,0.2);
}
.impact-item:last-child { border-right: none; }
.impact-item .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.impact-item .label {
  font-size: 0.85rem;
  margin-top: 6px;
  opacity: 0.85;
}

/* ===== Donation page ===== */
.donate-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.donate-hero .eyebrow { justify-content: center; }
.donate-hero .eyebrow::before { display: none; }
.donate-hero p { max-width: 560px; margin: 0 auto; }

.donate-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.donate-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 26px;
}
.amount-btn {
  padding: 16px 8px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--ivory);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.amount-btn:hover { border-color: var(--terracotta); }
.amount-btn.selected {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
}
.amount-btn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; margin-top: 3px; opacity: 0.8; }

.custom-amount {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.custom-amount span {
  padding: 14px 16px;
  background: var(--ivory-deep);
  font-weight: 700;
  font-family: var(--font-display);
}
.custom-amount input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--ivory);
  outline: none;
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--terracotta); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.donate-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dotted var(--line);
}

.donate-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-card {
  background: var(--ivory-deep);
  border-radius: 14px;
  padding: 26px 24px;
}
.side-card h4 { font-size: 0.95rem; margin-bottom: 10px; }
.side-card p { font-size: 0.86rem; }
.side-card.bank { background: var(--teal); }
.side-card.bank h4, .side-card.bank p, .side-card.bank .bank-row span { color: var(--ivory); }
.bank-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(250,246,239,0.2);
  font-size: 0.85rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row span:first-child { opacity: 0.75; }
.bank-row span:last-child { font-weight: 600; }

/* ===== Camps / Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.gallery-grid > div:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid > div:nth-child(4) { grid-column: span 2; }
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Contact / Volunteer ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--teal);
  color: var(--ivory);
  border-radius: 16px;
  padding: 38px 32px;
}
.contact-info-card h3 { color: var(--ivory); margin-bottom: 24px; }
.contact-line {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-line .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(250,246,239,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-line .txt { font-size: 0.92rem; opacity: 0.92; }
.contact-line .txt strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.7; margin-bottom: 3px; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
}

/* ===== Volunteer cards ===== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.role-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  background: var(--white);
}
.role-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.role-card p { font-size: 0.88rem; margin-bottom: 14px; }
.role-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--terracotta);
  background: rgba(184,71,43,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--terracotta);
  color: var(--white);
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,239,0.12);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand .brand-text { color: var(--ivory); }
.footer-brand .brand-text span { color: rgba(250,246,239,0.55); }
.site-footer p { color: rgba(250,246,239,0.65); font-size: 0.88rem; }
.footer-col h4 { color: var(--ivory); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col a, .footer-col p {
  display: block;
  color: rgba(250,246,239,0.65);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(250,246,239,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== Page header (inner pages) ===== */
.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--terracotta); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--teal);
  color: var(--ivory);
  padding: 16px 22px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.35);
  transform: translateY(140%);
  transition: transform 0.3s ease;
  z-index: 999;
  max-width: 320px;
}
.toast.show { transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .mission-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-strip { grid-template-columns: repeat(2, 1fr); }
  .impact-item:nth-child(2) { border-right: none; }
  .donate-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid > div:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .gallery-grid > div:nth-child(4) { grid-column: span 1; }
  .role-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .program-grid { grid-template-columns: 1fr; }
  .impact-strip { grid-template-columns: 1fr; }
  .impact-item { border-right: none; border-bottom: 1px solid rgba(250,246,239,0.2); }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-card { padding: 26px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 2px;
}
