:root {
  --bg: #edf2ed;
  --surface: #ffffff;
  --ink: #163328;
  --muted: #5a6f64;
  --primary: #1f5f47;
  --primary-2: #2d7f60;
  --line: #d4e0d7;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(19, 49, 37, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 0% 0%, #f6faf6 0%, rgba(246, 250, 246, 0) 32%),
    radial-gradient(circle at 100% 0%, #e8f1ec 0%, rgba(232, 241, 236, 0) 35%),
    var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

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

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

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent 20%);
  background: color-mix(in srgb, var(--bg) 85%, #fff 15%);
  backdrop-filter: blur(8px);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  width: 160px;
  height: 35px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  flex: 1;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-lang {
  display: none;
}

.desktop-lang {
  display: inline-flex;
}

.donate-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 0 18px;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.donate-btn,
.btn-primary {
  background: var(--primary);
  color: #fff;
}

.donate-btn {
  box-shadow: 0 8px 24px rgba(31, 95, 71, 0.25);
}

.donate-btn:hover,
.btn:hover {
  transform: scale(1.03);
  filter: brightness(0.94);
}

.btn-secondary {
  background: #e7f1eb;
  border-color: #c7d9ce;
  color: #17392d;
}

.lang-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-toggle button {
  min-width: 42px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

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

.page-main {
  padding: 24px 0 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: clamp(360px, 62vh, 560px);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.42) 46%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-content {
  position: absolute;
  left: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 34px);
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d1e8db;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: clamp(1.85rem, 3.2vw, 3.3rem);
  line-height: 1.08;
}

.hero p {
  color: #e8f3ed;
  margin: 14px 0 0;
  line-height: 1.68;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.section {
  margin-top: 18px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

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

.text-card {
  padding: clamp(20px, 3vw, 34px);
}

.label {
  margin: 0 0 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  line-height: 1.2;
}

.text-card p,
.info-card p,
.footer-wrap p {
  line-height: 1.72;
  color: #31483d;
}

.media-card img,
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-grid > .media-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.section-grid > .media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card {
  display: grid;
  grid-template-rows: 220px auto;
  background: #fff;
  overflow: hidden;
}

.feature-card .body {
  padding: 16px 18px 20px;
  background: #fff;
  position: relative;
  z-index: 1;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.feature-card h3,
.info-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 10px 0 0;
}

.feature-card .feature-amount {
  margin-top: 8px;
  font-weight: 800;
  color: #1f5f47;
}

.feature-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fbfdfb;
}

.info-card p {
  margin: 10px 0 0;
}

.info-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f9fcfa;
}

.stat .value {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  color: var(--primary);
}

.stat .name {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.spotlight-cta {
  margin-top: 18px;
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.spotlight-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.44) 50%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.spotlight-content {
  position: absolute;
  left: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  bottom: clamp(18px, 3vw, 34px);
  max-width: 760px;
}

.spotlight-content h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
}

.spotlight-content p {
  color: #e7f4ed;
  margin: 12px 0 0;
}

.spotlight-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 34px;
  background: linear-gradient(170deg, #12362a 0%, #0e2b21 100%);
  color: #d6eee2;
  border-top: 1px solid rgba(212, 224, 215, 0.2);
  min-height: 50vh;
}

.footer-wrap {
  padding: 72px 0 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
}

.footer-wrap h2,
.footer-wrap h3 {
  margin: 0;
  color: #f2fbf6;
}

.footer-wrap h3 {
  font-size: 1.05rem;
}

.footer-wrap p {
  color: #bdd8cb;
}

.footer-links,
.footer-nav,
.footer-actions {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.footer-wrap a {
  color: #d6eee2;
}

.footer-wrap a:hover {
  color: #9ce5c1;
}

.footer-bottom {
  margin-top: 38px;
  border-top: 1px solid rgba(214, 238, 226, 0.18);
  padding-top: 24px;
  font-size: 0.88rem;
  color: #9ec1b0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(214, 238, 226, 0.35);
  background: rgba(214, 238, 226, 0.08);
  color: #e6f6ee;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-legal-link:hover {
  background: rgba(214, 238, 226, 0.18);
  border-color: rgba(214, 238, 226, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 1020px) {
  .header-row {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    padding: 10px 0 2px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-lang {
    display: block;
    margin-top: 6px;
  }

  .desktop-lang {
    display: none;
  }

  .nav-lang .lang-toggle {
    padding: 2px;
  }

  .nav-lang .lang-toggle button {
    min-width: 38px;
    height: 30px;
  }

  .header-actions {
    order: 2;
  }

  .section-grid,
  .section-grid.three,
  .quick-links,
  .stats,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .hero {
    display: flex;
    align-items: flex-end;
    min-height: 420px;
  }

  .hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 100%;
    width: 100%;
    padding: 20px 18px 18px;
  }

  .feature-card {
    grid-template-rows: 190px auto;
  }

  .feature-card .body {
    background: #fff;
  }

  .spotlight-cta {
    min-height: 380px;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }
}
