@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --bg: #f4efe6;
  --surface: #fffdf8;
  --surface-strong: #f8f1e5;
  --ink: #162126;
  --muted: #566067;
  --line: rgba(22, 33, 38, 0.12);
  --brand: #0c5c52;
  --brand-deep: #083d37;
  --brand-soft: #d8ebe7;
  --accent: #cf6f32;
  --accent-soft: #f2d8c6;
  --gold: #d8aa3a;
  --max: 1200px;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(22, 33, 38, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f0e8 0%, #efe8db 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(244, 239, 230, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.footer-grid,
.section-inner,
.hero-grid,
.campaign-grid,
.contact-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark__seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 45deg, var(--gold), #f6dc83, var(--gold));
  color: var(--brand-deep);
  font-size: 1.3rem;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark__text small {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem;
  background: var(--surface);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle button.is-active {
  background: var(--brand-deep);
  color: #fff;
}

.donate-chip,
.button,
.cta-card__link,
.resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.donate-chip,
.button {
  padding: 0.85rem 1.3rem;
  font-weight: 700;
}

.donate-chip:hover,
.button:hover,
.cta-card__link:hover,
.resource-link:hover {
  transform: translateY(-2px);
}

.button--primary,
.donate-chip {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(207, 111, 50, 0.25);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button--dark {
  background: var(--brand-deep);
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--brand-deep);
}

main section {
  padding: 5.5rem 0;
}

.hero {
  padding: 2rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  min-height: 640px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-media {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 92, 82, 0.18), rgba(8, 61, 55, 0.48));
}

.hero-copy {
  background: linear-gradient(180deg, #0f655a, #083d37);
  color: #fff;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
}

h1,
h2,
h3,
.display {
  margin: 0 0 1rem;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-copy p,
.quote-block p,
.dark-panel p,
.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.stand-for {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.stand-for li {
  display: flex;
  gap: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.stand-for li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 0.45rem;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(216, 170, 58, 0.16);
  flex: none;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 36rem;
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
}

.panel,
.card,
.testimonial,
.faq-item,
.resource-item,
.team-card,
.program-card,
.timeline-card,
.contact-card,
.stat-card {
  background: var(--surface);
  border: 1px solid rgba(22, 33, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 2rem;
}

.campaign-panel {
  background:
    linear-gradient(180deg, rgba(12, 92, 82, 0.94), rgba(8, 61, 55, 0.94)),
    url('images/community-1.jpg') center/cover;
  color: #fff;
}

.campaign-side {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url('images/scene-1.jpg') center/cover;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: inherit;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.campaign-side .pill {
  background: rgba(12, 92, 82, 0.08);
  color: var(--brand-deep);
}

.progress-wrap {
  margin: 1.7rem 0;
}

.progress-bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #f6dc83, #d8aa3a);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.stats-grid,
.help-grid,
.testimonial-grid,
.timeline-grid,
.resource-grid,
.team-grid,
.program-grid,
.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.stat-card {
  padding: 1.3rem;
}

.stat-card strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
}

.help-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-card {
  min-height: 360px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 33, 38, 0.08), rgba(22, 33, 38, 0.78));
}

.cta-card > * {
  position: relative;
}

.cta-card--donate {
  background: url('images/community-2.jpg') center/cover;
}

.cta-card--sign {
  background: url('images/scene-2.jpg') center/cover;
}

.cta-card--volunteer {
  background: url('images/community-3.jpg') center/cover;
}

.cta-card__link {
  align-self: start;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-deep);
  font-weight: 700;
}

.quote-block {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 6rem min(5vw, 4rem);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 61, 55, 0.7), rgba(8, 61, 55, 0.92)),
    url('images/hero-2.jpg') center/cover;
  box-shadow: var(--shadow);
}

.quote-block blockquote {
  margin: 0;
  max-width: 44rem;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.map-shell {
  background: linear-gradient(160deg, #f9f4eb, #e7ede7);
  padding: 2rem;
}

.chapter-map {
  min-height: 400px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.78)),
    url('images/scene-3.jpg') center/cover;
}

.chapter-map::before {
  content: '';
  position: absolute;
  inset: 7% 10%;
  border-radius: 24px;
  border: 1px dashed rgba(8, 61, 55, 0.3);
}

.map-node {
  position: absolute;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--brand-deep);
  box-shadow: 0 16px 34px rgba(22, 33, 38, 0.14);
  border: 1px solid rgba(8, 61, 55, 0.08);
  min-width: 150px;
}

.map-node strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.map-node--west { top: 13%; left: 9%; }
.map-node--north { top: 14%; right: 16%; }
.map-node--central { top: 39%; left: 38%; }
.map-node--south { bottom: 14%; left: 18%; }
.map-node--east { bottom: 17%; right: 10%; }

.map-node:hover {
  transform: translateY(-3px);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.testimonial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 92, 82, 0), rgba(8, 61, 55, 0.88));
}

.testimonial__body {
  position: absolute;
  inset: auto 1.2rem 1.2rem;
  z-index: 1;
  color: #fff;
}

.testimonial__body p {
  color: rgba(255, 255, 255, 0.9);
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 1.4rem;
  border-top: 6px solid var(--accent);
}

.timeline-card time {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--brand);
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.25rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-question span:last-child {
  font-size: 1.5rem;
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  padding: 0 1.35rem;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  padding-bottom: 1.25rem;
}

.banner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  border-radius: 30px;
  padding: 2.2rem;
  background:
    linear-gradient(135deg, rgba(207, 111, 50, 0.92), rgba(140, 60, 23, 0.92)),
    url('images/hero-3.jpg') center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.resource-item {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.resource-link {
  margin-top: 1rem;
  padding: 0.7rem 0.95rem;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-card__body {
  padding: 1.25rem;
}

.team-role {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.page-hero {
  padding: 2rem 0 3rem;
}

.page-hero__panel {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 460px;
  border-radius: 34px;
  display: grid;
  align-items: end;
  padding: 3rem;
  color: #fff;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.page-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 92, 82, 0.18), rgba(8, 61, 55, 0.88));
}

.page-hero__content {
  position: relative;
  max-width: 40rem;
}

.about-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.story-card,
.dark-panel,
.program-card,
.contact-card {
  overflow: hidden;
}

.story-card img,
.program-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.story-card__body,
.program-card__body,
.contact-card__body {
  padding: 1.4rem;
}

.dark-panel {
  padding: 2rem;
  background: linear-gradient(180deg, #0f655a, #083d37);
  color: #fff;
}

.program-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-card img {
  height: 300px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.list-check li {
  display: flex;
  gap: 0.7rem;
}

.list-check li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  background: var(--surface);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.contact-list strong {
  display: block;
  color: var(--brand-deep);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ink);
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--ink);
}

.form-grid textarea {
  min-height: 170px;
  resize: vertical;
}

.map-placeholder {
  min-height: 280px;
  border-radius: 24px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.75)),
    url('images/scene-2.jpg') center/cover;
}

.map-placeholder__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.map-placeholder__grid span {
  height: 70px;
  border-radius: 18px;
  background: rgba(12, 92, 82, 0.13);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(8, 61, 55, 0.98), rgba(8, 61, 55, 1)),
    url('images/hero-1.jpg') center/cover;
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  align-items: start;
}

.footer-block h3,
.footer-cta h3 {
  margin-bottom: 0.7rem;
}

.footer-links,
.social-links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.newsletter {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.newsletter input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  width: min(calc(100% - 2rem), var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .campaign-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .help-grid,
  .resource-grid,
  .timeline-grid,
  .testimonial-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-actions .donate-chip {
    display: none;
  }

  .hero-copy,
  .page-hero__panel {
    padding: 2rem;
  }

  main section {
    padding: 4rem 0;
  }

  .stats-grid,
  .help-grid,
  .resource-grid,
  .timeline-grid,
  .testimonial-grid,
  .team-grid,
  .program-grid,
  .map-placeholder__grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .newsletter {
    flex-direction: column;
  }
}
