:root {
  --bg: #f7f1e8;
  --bg-deep: #efe4d3;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: #fffaf3;
  --surface-dark: #2f241d;
  --text: #2f241d;
  --muted: #6f5f55;
  --line: rgba(77, 56, 42, 0.1);
  --primary: #0d938d;
  --primary-dark: #075e65;
  --secondary: #14827d;
  --secondary-dark: #0a4b53;
  --accent: #69d0c8;
  --accent-soft: rgba(105, 208, 200, 0.24);
  --success-soft: rgba(31, 106, 93, 0.12);
  --shadow-lg: 0 28px 60px rgba(59, 39, 25, 0.16);
  --shadow-md: 0 16px 34px rgba(59, 39, 25, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(242, 198, 109, 0.26), transparent 32%),
    radial-gradient(circle at top right, rgba(31, 106, 93, 0.16), transparent 30%),
    linear-gradient(180deg, #fbf6ee 0%, #f4ebde 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.page-shell::before {
  top: -120px;
  left: -140px;
  background: rgba(242, 198, 109, 0.2);
}

.page-shell::after {
  right: -120px;
  bottom: 10%;
  background: rgba(31, 106, 93, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 18px 0;
}

.alert-strip,
.nav,
.section,
.hero,
.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.alert-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(47, 36, 29, 0.88);
  color: #fff8ef;
  font-size: 0.92rem;
  box-shadow: var(--shadow-md);
}

.alert-strip p {
  margin: 0;
}

.alert-strip a {
  font-weight: 700;
  color: #ffdca0;
}

.nav {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  background: rgba(255, 249, 241, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.logo strong {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo small {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-logo .logo-mark {
  width: 72px;
  height: 55px;
  background-color: #f4ebde;
  border-radius: 10px;
}

.footer .logo strong,
.footer .logo small {
  color: #f7f2ea;
}

.footer .logo small {
  opacity: 0.78;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(213, 103, 63, 0.1);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 16px 30px rgba(168, 71, 41, 0.24);
}

.btn-secondary {
  color: var(--secondary-dark);
  background: rgba(31, 106, 93, 0.1);
  box-shadow: inset 0 0 0 1px rgba(31, 106, 93, 0.1);
}

.btn-light {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.section,
.hero {
  padding: 42px 0;
}

.section-tight {
  padding: 18px 0 42px;
}

.section h1,
.section h2,
.section h3,
.hero h1,
.hero h2 {
  margin: 0 0 14px;
  line-height: 1.08;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.section h1,
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.section h2,
.hero h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.section h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section p,
.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-stack,
.page-hero-copy,
.page-hero-aside {
  min-width: 0;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(242, 198, 109, 0.34);
  color: #8d5b0f;
}

.pill {
  background: rgba(31, 106, 93, 0.12);
  color: var(--secondary-dark);
}

.hero-card,
.card,
.feature-panel,
.impact-banner,
.page-hero {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-card,
.card,
.feature-panel,
.page-hero {
  padding: 24px;
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -50px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(242, 198, 109, 0.35), transparent 70%);
}

.hero-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 20px;
}

.hero-stats,
.mini-stats,
.stat-band,
.story-grid,
.impact-grid,
.values-grid,
.team-grid,
.gallery-grid,
.cards,
.service-grid,
.help-grid,
.trust,
.contact-grid,
.stats-grid,
.support-grid,
.timeline-grid,
.action-grid {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-pill,
.stat-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(77, 56, 42, 0.06);
}

.stat-pill strong,
.stat-card strong,
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--text);
}

.stat-pill span,
.stat-card span,
.stat span,
.detail-list li,
.label {
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(77, 56, 42, 0.08);
  color: var(--text);
  font-weight: 700;
}

.section-head {
  display: grid;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head.split {
  grid-template-columns: minmax(0, 1fr) auto;
}

.section-subtitle {
  max-width: 640px;
}

.service-grid,
.help-grid,
.trust,
.cards,
.stats-grid,
.support-grid,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid,
.impact-grid,
.team-grid,
.gallery-grid,
.action-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.values-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
}

.card.tight {
  padding: 18px;
}

.card h3,
.card strong {
  color: var(--text);
}

.card p:last-child {
  margin-bottom: 0;
}

.card img.cover,
.story-image,
.team-card img,
.gallery-item img {
  width: 100%;
  object-fit: cover;
}

.card img.cover,
.story-image {
  height: 220px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: center;
}

.story-image {
  height: 100%;
  min-height: 360px;
}

.impact-banner {
  padding: 26px;
  background: linear-gradient(135deg, rgba(31, 106, 93, 0.9), rgba(19, 74, 65, 0.96));
  color: #f2f5f1;
}

.impact-banner p,
.impact-banner .label,
.impact-banner .stat-card span {
  color: rgba(242, 245, 241, 0.84);
}

.impact-banner .stat-card {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.impact-banner .stat-card strong {
  color: #fff;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: center;
}

.page-hero.compact {
  grid-template-columns: minmax(0, 1fr);
}

.mini-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-stack {
  display: grid;
  gap: 14px;
}

.media-stack img {
  border-radius: 24px;
  min-height: 220px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.feature-panel {
  display: grid;
  gap: 16px;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 8px;
}

.timeline {
  border-left: 2px solid rgba(213, 103, 63, 0.18);
  padding-left: 18px;
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(213, 103, 63, 0.12);
}

.timeline-item h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
}

.team-card {
  text-align: center;
}

.team-card img {
  height: 280px;
  border-radius: 24px;
  margin-bottom: 16px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-shell {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.donate-shell {
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.qr-image {
  aspect-ratio: 1 / 1;
  max-width: 320px;
  margin-inline: auto;
  background: #fff;
  padding: 16px;
  border: 1px solid rgba(77, 56, 42, 0.08);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-item img {
  height: 100%;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 36, 29, 0.78);
  color: #fff5e9;
  font-size: 0.82rem;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 15, 12, 0.8);
  z-index: 40;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 84vh;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(77, 56, 42, 0.12);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(213, 103, 63, 0.22);
  border-color: rgba(213, 103, 63, 0.34);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.feedback {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--success-soft);
  color: var(--secondary-dark);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.82);
  box-shadow: var(--shadow-md);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.ribbon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(242, 198, 109, 0.38), rgba(255, 255, 255, 0.74));
  box-shadow: var(--shadow-md);
}

.tagline {
  color: var(--muted);
  font-weight: 600;
}

.map {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.footer {
  margin-top: 48px;
  padding: 32px 0 34px;
  background: linear-gradient(180deg, rgba(46, 35, 28, 0.96), rgba(31, 24, 20, 0.98));
  color: #f7f2ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer a {
  display: block;
  color: #f7f2ea;
  margin-top: 8px;
}

.footer small,
.footer p {
  color: rgba(247, 242, 234, 0.74);
}

.footer-logo small {
  color: rgba(247, 242, 234, 0.65);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(31, 106, 93, 0.12);
  color: var(--secondary-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 20px;
  align-items: center;
}

.page-break {
  display: grid;
  gap: 18px;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .story-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .help-grid,
  .trust,
  .cards,
  .stats-grid,
  .support-grid,
  .timeline-grid,
  .story-grid,
  .impact-grid,
  .team-grid,
  .gallery-grid,
  .action-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band,
  .ribbon,
  .section-head.split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .alert-strip {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    padding: 14px 16px;
    backdrop-filter: none;
    background: var(--surface-strong);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-panel {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--surface-strong);
    box-shadow: -10px 0 30px rgba(59, 39, 25, 0.15);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    z-index: 1000;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-panel.open {
    right: 0;
  }

  .nav-links,
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 6px;
  }

  .nav-links a,
  .nav-cta .btn {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }

  .hero {
    padding-top: 26px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 10px 12px 0;
  }

  .alert-strip,
  .nav,
  .section,
  .hero,
  .donate-shell,
  .footer-grid,
  .footer-bottom {
    width: min(1180px, calc(100% - 16px));
  }

  .nav {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .logo-mark {
    width: 52px;
    height: 52px;
  }

  .logo strong {
    font-size: 0.88rem;
  }

  .logo small {
    font-size: 0.68rem;
  }

  .section,
  .hero {
    padding: 24px 0;
  }

  .hero-image {
    height: 200px;
    border-radius: 18px;
  }

  .story-image {
    min-height: 240px;
    border-radius: 18px;
  }

  .hero-stats,
  .mini-stats,
  .service-grid,
  .help-grid,
  .trust,
  .cards,
  .stats-grid,
  .support-grid,
  .timeline-grid,
  .story-grid,
  .impact-grid,
  .team-grid,
  .gallery-grid,
  .action-grid,
  .values-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .hero-card,
  .card,
  .feature-panel,
  .impact-banner {
    padding: 16px;
    border-radius: 20px;
  }

  .footer {
    margin-top: 32px;
    padding: 24px 0 26px;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    padding-top: 16px;
    margin-top: 16px;
  }

  .gallery-item {
    min-height: 220px;
    border-radius: 18px;
  }

  .page-shell::before,
  .page-shell::after {
    width: 220px;
    height: 220px;
    filter: blur(60px);
  }

  .page-shell::before {
    top: -80px;
    left: -80px;
  }

  .page-shell::after {
    right: -80px;
    bottom: 5%;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 10px 0;
  }

  .nav {
    padding: 10px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .logo strong {
    font-size: 0.82rem;
  }

  .logo small {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    gap: 5px;
  }

  .nav-toggle span {
    width: 18px;
  }

  .nav-toggle.open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links a,
  .nav-cta .btn {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .section,
  .hero {
    padding: 18px 0;
  }

  .hero-image {
    height: 170px;
    border-radius: 14px;
  }

  .story-image {
    min-height: 200px;
    border-radius: 14px;
  }

  .page-hero,
  .hero-card,
  .card,
  .feature-panel,
  .impact-banner {
    padding: 14px;
    border-radius: 18px;
  }

  .chip-row {
    gap: 8px;
    margin-top: 14px;
  }

  .chip {
    padding: 8px 12px;
    font-size: 0.88rem;
  }

  .eyebrow,
  .pill {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .stat-pill,
  .stat-card {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .footer {
    margin-top: 24px;
    padding: 20px 0 22px;
  }

  .footer-grid {
    gap: 14px;
  }

  .footer-bottom {
    padding-top: 14px;
    margin-top: 14px;
    font-size: 0.88rem;
  }

  .gallery-item {
    min-height: 200px;
    border-radius: 14px;
  }

  .gallery-filters {
    gap: 8px;
  }

  .gallery-filters .btn {
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .timeline-item {
    padding-bottom: 16px;
  }

  .timeline-item::before {
    left: -24px;
    width: 12px;
    height: 12px;
  }

  .page-shell::before,
  .page-shell::after {
    width: 160px;
    height: 160px;
    filter: blur(50px);
  }

  .page-shell::before {
    top: -60px;
    left: -60px;
  }

  .page-shell::after {
    right: -60px;
    bottom: 4%;
  }
}
