:root {
  --cyan: #00aeef;
  --cyan-deep: #008fc4;
  --lime: #8dc63f;
  --lime-deep: #6fa52e;
  --ink: #152018;
  --ink-soft: #3a4a3e;
  --paper: #f4faf6;
  --white: #ffffff;
  --line: rgba(21, 32, 24, 0.12);
  --shadow: 0 18px 50px rgba(0, 100, 90, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --nav-h: 4.5rem;
  --radius: 1.25rem;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 174, 239, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(141, 198, 63, 0.18), transparent 50%),
    linear-gradient(180deg, #f7fcf9 0%, var(--paper) 40%, #eef8f2 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--lime));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 174, 239, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(21, 32, 24, 0.2);
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--cyan-deep);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.page-hero h1 {
  margin-bottom: 0.85rem;
}

.section-head p,
.page-hero > .container > p:last-child {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(247, 252, 249, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(21, 32, 24, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  display: block;
  line-height: 1.15;
}

.brand em {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 400;
}

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

.site-nav a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-nav a:not(.btn):hover,
.site-nav a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.nav-toggle span:nth-child(1) { top: 0.9rem; }
.nav-toggle span:nth-child(2) { top: 1.25rem; }
.nav-toggle span:nth-child(3) { top: 1.6rem; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.28) 0%, rgba(8, 28, 24, 0.72) 70%, rgba(8, 28, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 120, 150, 0.35), rgba(90, 150, 40, 0.25));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  max-width: 760px;
}

.hero-content .logo-mark {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-lead {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 16ch;
}

/* Pillars / grids */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pillar-item {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.pillar-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.pillar-item p {
  color: var(--ink-soft);
}

.pillar-cyan { border-top: 4px solid var(--cyan); }
.pillar-lime { border-top: 4px solid var(--lime); }

.section-cta { margin-top: 2rem; }

.impact-band {
  background:
    linear-gradient(135deg, rgba(0, 174, 239, 0.08), rgba(141, 198, 63, 0.12)),
    rgba(255, 255, 255, 0.55);
  border-block: 1px solid rgba(21, 32, 24, 0.06);
}

.impact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.impact-layout h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0.5rem 0 1rem;
}

.impact-layout > div > p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.impact-panel {
  display: grid;
  gap: 1rem;
}

.impact-panel > div {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.impact-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.impact-panel span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.donate-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background:
    linear-gradient(120deg, rgba(0, 174, 239, 0.12), rgba(141, 198, 63, 0.16)),
    #fff;
  border: 1px solid rgba(0, 174, 239, 0.12);
}

.donate-strip h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.45rem;
}

.donate-strip p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.donate-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.story-grid,
.donate-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.story-grid h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.story-grid p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.story-grid p + p {
  margin-top: 1rem;
}

.story-aside {
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-aside img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.values-grid article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(232, 245, 238, 0.8));
  border: 1px solid rgba(21, 32, 24, 0.06);
}

.values-grid h3 {
  margin-bottom: 0.65rem;
}

.values-grid p {
  color: var(--ink-soft);
}

.facts-panel {
  padding: 2rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: #12301f;
  color: #f4fff8;
}

.facts-panel h2 {
  margin-bottom: 1.25rem;
}

.facts-panel dl {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.75rem;
}

.facts-panel dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9be4ff;
  margin-bottom: 0.2rem;
}

.facts-panel dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.programs-list {
  display: grid;
  gap: 1.25rem;
}

.program-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.program-index {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(0, 174, 239, 0.18), rgba(141, 198, 63, 0.12));
}

.program-index span {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cyan-deep);
  display: block;
  margin-bottom: 0.35rem;
}

.program-copy .lead {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.program-copy p:last-child {
  color: var(--ink-soft);
}

.donate-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0.85rem 0 1.35rem;
}

.bank-box {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.6rem;
  border-radius: calc(var(--radius) + 0.1rem);
  background:
    linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(141, 198, 63, 0.14)),
    #fff;
  border: 1px solid rgba(0, 174, 239, 0.18);
  box-shadow: var(--shadow);
}

.bank-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.bank-details {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.bank-details div {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(21, 32, 24, 0.08);
}

.bank-details div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bank-details dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.bank-details dd {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
}

.account-number {
  font-family: var(--font-display);
  font-size: 1.45rem !important;
  letter-spacing: 0.04em;
  color: var(--lime-deep) !important;
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(21, 32, 24, 0.06);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  color: #fff;
  font-weight: 700;
}

.steps span {
  grid-column: 2;
  color: var(--ink-soft);
}

.safety-note {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: rgba(141, 198, 63, 0.12);
  border: 1px solid rgba(141, 198, 63, 0.28);
}

.safety-note h3 {
  margin-bottom: 0.45rem;
}

.safety-note p {
  color: var(--ink-soft);
}

.donate-card,
.contact-form,
.contact-aside {
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: var(--shadow);
}

.donate-card {
  background: #0f2f28;
  color: #f5fff9;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.donate-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.donate-card h2 {
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
}

.donate-card ul {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.donate-card li > span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9be4ff;
  margin-bottom: 0.2rem;
}

.donate-card a,
.donate-card strong {
  color: #fff;
  word-break: break-word;
}

.phone-stack {
  display: grid;
  gap: 0.2rem;
}

.contact-form,
.contact-aside {
  background: rgba(255, 255, 255, 0.82);
}

.contact-form h2 {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid rgba(21, 32, 24, 0.12);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15);
}

.contact-block {
  margin-bottom: 1.25rem;
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 0.35rem;
}

.contact-block p {
  color: var(--ink-soft);
}

.contact-block a {
  color: var(--ink);
  font-weight: 500;
}

.map-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(21, 32, 24, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

.map-consent-note {
  padding: 1.25rem;
  color: var(--ink-soft);
  background: rgba(0, 174, 239, 0.08);
}

.map-consent-note a {
  color: var(--cyan-deep);
  font-weight: 600;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 4rem 0 1.5rem;
  background: linear-gradient(135deg, #12301f 0%, #0d3d4f 55%, #145038 100%);
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.footer-brand h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nit {
  margin-top: 0.75rem !important;
  color: #b7ec75 !important;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #9be4ff;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.legal-links a:hover {
  color: #fff;
}

.legal-content {
  max-width: 48rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p + p {
  margin-top: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
}

.legal-content a {
  color: var(--cyan-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  color: var(--cyan-deep);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-table code {
  font-size: 0.88rem;
  background: rgba(0, 174, 239, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 520px;
  margin-inline: auto;
  padding: 1.35rem 1.4rem;
  border-radius: 1.15rem;
  background: rgba(15, 47, 40, 0.96);
  color: #f5fff9;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner h2 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.cookie-banner a {
  color: #9be4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cookie-actions .btn {
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.cookie-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.cookie-actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

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

  .site-nav {
    position: fixed;
    inset: var(--nav-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1.25rem;
    background: rgba(247, 252, 249, 0.97);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .site-nav.is-open { transform: translateX(0); }

  .site-nav a:not(.btn) {
    font-size: 1.15rem;
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .btn { margin-top: 0.75rem; width: 100%; }

  .pillars-grid,
  .values-grid,
  .impact-layout,
  .story-grid,
  .donate-layout,
  .contact-layout,
  .program-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donate-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .donate-card { position: static; }
}

@media (max-width: 640px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
