/* GreenPulse Ghana — styles.css
   Design system: flat, no gradients, no drop shadows, no blur
   Max content width: 1100px */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand colours */
  --c-dark:   #085041;
  --c-mid:    #0F6E56;
  --c-action: #1D9E75;
  --c-teal:   #5DCAA5;
  --c-pale:   #E1F5EE;
  --c-soft:   #EAF3DE;

  /* Surfaces */
  --c-page: #ffffff;
  --c-card: #f8f9f8;

  /* Text */
  --c-text:   #1a1a1a;
  --c-text-2: #5a6a62;
  --c-text-3: #8a9e94;

  /* Border */
  --c-border: rgba(0,0,0,0.10);

  /* Badge colours */
  --b-p1-bg: #E6F1FB; --b-p1: #185FA5;
  --b-p2-bg: #FAEEDA; --b-p2: #854F0B;
  --b-hl-bg: #EAF3DE; --b-hl: #3B6D11;
  --b-dt-bg: #E1F5EE; --b-dt: #0F6E56;
  --b-nb-bg: #FCEBEB; --b-nb: #A32D2D;
  --b-od-bg: #EEEDFE; --b-od: #3C3489;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-page);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: 32px; font-weight: 500; line-height: 1.25; }
h2 { font-size: 24px; font-weight: 500; line-height: 1.35; }
h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--c-text-3);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: 1100px;
  margin-inline: auto;
}

.section { padding: 64px 24px; }
.section--alt    { background: var(--c-card); }
.section--centre { text-align: center; }

.section-head { margin-bottom: 36px; }
.section-head h2 { margin-top: 4px; }
.section-head p  {
  color: var(--c-text-2);
  margin-top: 10px;
  max-width: 640px;
}
.section--centre .section-head p { margin-inline: auto; }

/* card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--c-page);
  border: 0.5px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.tag--p1    { background: var(--b-p1-bg); color: var(--b-p1); }
.tag--p2    { background: var(--b-p2-bg); color: var(--b-p2); }
.tag--hl    { background: var(--b-hl-bg); color: var(--b-hl); }
.tag--dt    { background: var(--b-dt-bg); color: var(--b-dt); }
.tag--nb    { background: var(--b-nb-bg); color: var(--b-nb); }
.tag--od    { background: var(--b-od-bg); color: var(--b-od); }
.tag--intl  { background: var(--b-p1-bg); color: var(--b-p1); }
.tag--gh    { background: var(--b-hl-bg); color: var(--b-hl); }
.tag--crowd { background: var(--b-p2-bg); color: var(--b-p2); }
.tag--carbon{ background: var(--b-od-bg); color: var(--b-od); }
.tag--world { background: var(--b-od-bg); color: var(--b-od); }
.tag--flex  { background: var(--c-pale);  color: var(--c-dark); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover         { opacity: .85; }
.btn:focus-visible { outline: 2px solid var(--c-action); outline-offset: 2px; }

.btn--primary { background: var(--c-action); color: #fff; }
.btn--outline { background: transparent; border: 1px solid var(--c-action); color: var(--c-mid); }
.btn--full    { width: 100%; justify-content: center; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
  background: var(--c-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-mid);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--c-dark);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav__inner {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-name    { font-size: 16px; font-weight: 500; color: var(--c-pale); line-height: 1.25; }
.nav__logo-tagline { font-size: 10px; color: var(--c-teal); line-height: 1.3; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav__link {
  font-size: 12px;
  color: #9FE1CB;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--c-pale); }
.nav__link.is-active  { font-weight: 500; }
.nav__link:focus-visible {
  outline: 1px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav__donate {
  background: var(--c-action);
  color: var(--c-pale) !important;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__donate:hover         { opacity: .85; }
.nav__donate:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 2px; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-pale);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav__mobile {
  background: var(--c-dark);
  border-top: 0.5px solid rgba(255,255,255,.08);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.nav__mobile.is-open { max-height: 500px; }

.nav__mobile-inner {
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
}
.nav__mobile .nav__link {
  padding: 11px 0;
  font-size: 13px;
  border-bottom: 0.5px solid rgba(255,255,255,.06);
}
.nav__mobile .nav__donate {
  margin-top: 14px;
  text-align: center;
  display: block;
  padding: 10px 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-dark);
  padding: 44px 24px 28px;
}
.footer__inner {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.footer__logo-name    { font-size: 14px; font-weight: 500; color: var(--c-pale); }
.footer__logo-tagline { font-size: 11px; color: var(--c-teal); margin-top: 4px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}
.footer__links a { font-size: 11px; color: #9FE1CB; transition: color .15s; }
.footer__links a:hover { color: var(--c-pale); }
.footer__copy { font-size: 10px; color: var(--c-teal); }

/* ============================================================
   SUPPORT STRIP
   ============================================================ */
.support-strip {
  background: var(--c-mid);
  padding: 52px 24px;
  text-align: center;
}
.support-strip__inner { max-width: 560px; margin-inline: auto; }
.support-strip h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--c-pale);
  margin-bottom: 8px;
}
.support-strip p {
  font-size: 13px;
  color: #9FE1CB;
  margin-bottom: 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--c-mid);
  padding: 72px 24px 56px;
  text-align: center;
}
.hero__inner { max-width: 700px; margin-inline: auto; }
.hero .eyebrow { color: var(--c-teal); }
.hero h1 {
  font-size: 36px;
  color: var(--c-pale);
  margin-top: 6px;
  margin-bottom: 14px;
}
.hero__sub {
  font-size: 14px;
  color: #9FE1CB;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ============================================================
   HOME — Stats row
   ============================================================ */
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 0.5px solid var(--c-dark);
}
.stat {
  padding: 0 36px;
  text-align: center;
  border-right: 0.5px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat__val {
  display: block;
  font-size: 26px;
  font-weight: 500;
  color: var(--c-teal);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__lbl { font-size: 11px; color: #9FE1CB; }

/* HOME — Programme cards */
.prog-card { cursor: pointer; transition: border-color .15s; display: block; }
.prog-card:hover { border-color: var(--c-action); }
.prog-card__icon { width: 40px; height: 40px; margin-bottom: 12px; }
.prog-card h3    { margin-bottom: 4px; }
.prog-card__sub  { font-size: 12px; color: var(--c-text-2); margin-bottom: 8px; }
.prog-card p     { font-size: 13px; color: var(--c-text-2); margin-bottom: 0; }

/* HOME — News cards */
.news-card__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-text-3);
  margin-bottom: 8px;
}
.news-card h3 { margin-bottom: 8px; }
.news-card p  { font-size: 13px; color: var(--c-text-2); margin-bottom: 0; }

/* ============================================================
   ABOUT — Founder
   ============================================================ */
.founder {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.founder__photo {
  width: 200px;
  height: 200px;
  min-width: 200px;
  border-radius: 50%;
  background: var(--c-pale);
  border: 2px solid var(--c-action);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-mid);
  font-size: 13px;
  font-weight: 500;
}
.founder__bio    { flex: 1; }
.founder__name   { font-size: 20px; font-weight: 500; margin-bottom: 2px; }
.founder__title  { font-size: 13px; color: var(--c-text-2); margin-bottom: 20px; line-height: 1.5; }
.founder__bio p  { font-size: 14px; color: var(--c-text-2); }

/* Credentials */
.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.cred {
  display: flex;
  gap: 12px;
  background: var(--c-page);
  border: 0.5px solid var(--c-border);
  border-radius: 10px;
  padding: 14px 16px;
  align-items: flex-start;
}
.cred__dot   { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--c-action); margin-top: 7px; }
.cred__title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.cred__sub   { font-size: 12px; color: var(--c-text-2); }

/* Values */
.value-card h3 { margin-bottom: 6px; }
.value-card p  { font-size: 13px; color: var(--c-text-2); }

/* Sustainability */
.sustain-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.sustain-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--c-page);
  border: 0.5px solid var(--c-border);
  border-radius: 12px;
  padding: 18px 20px;
}
.sustain-dot   { width: 12px; height: 12px; min-width: 12px; border-radius: 50%; margin-top: 5px; }
.sustain-title { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.sustain-desc  { font-size: 13px; color: var(--c-text-2); margin-bottom: 8px; }
.sustain-label {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 4px;
  background: var(--c-soft); color: #3B6D11;
}

/* ============================================================
   LAND REMEDIATION — Timeline
   ============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: 28px;
  width: 1px;
  background: var(--c-border);
  z-index: 0;
}
.tl-step { display: flex; gap: 20px; padding-bottom: 32px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.tl-body     { flex: 1; padding-top: 8px; }
.tl-body h3  { margin-bottom: 8px; }
.tl-body p   { font-size: 13px; color: var(--c-text-2); margin-bottom: 10px; }

/* Before/After */
.ba-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.ba-before { background: #FCEBEB; border-radius: 10px; padding: 24px; }
.ba-after  { background: #EAF3DE; border-radius: 10px; padding: 24px; }
.ba-lbl    {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.ba-before .ba-lbl { color: #A32D2D; }
.ba-after  .ba-lbl { color: #3B6D11; }
.ba-before p { font-size: 13px; color: #791F1F; }
.ba-after  p { font-size: 13px; color: #27500A; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-num  { font-size: 22px; font-weight: 600; color: var(--c-teal); margin-bottom: 8px; }
.svc-card h3 { margin-bottom: 6px; }
.svc-card p  { font-size: 13px; color: var(--c-text-2); margin-bottom: 6px; }
.svc-for     { font-size: 11px; color: var(--c-text-3); font-weight: 500; }

/* ============================================================
   DATA COMMONS
   ============================================================ */
.dl-cat  {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.dl-card h3 { font-size: 14px; margin-bottom: 4px; }
.dl-card p  { font-size: 12px; color: var(--c-text-2); margin-bottom: 0; }

/* ============================================================
   DONATE — Impact
   ============================================================ */
.impact-card {
  background: var(--c-card);
  border: 0.5px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.impact-amount { display: block; font-size: 22px; font-weight: 600; color: var(--c-action); margin-bottom: 8px; }
.impact-desc   { font-size: 13px; color: var(--c-text-2); }

/* Programme selector */
.prog-sel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.prog-sel-card {
  border: 1.5px solid var(--c-border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: border-color .15s;
  background: var(--c-page);
}
.prog-sel-card.is-sel { border-color: var(--c-action); border-width: 2px; }
.prog-sel-card:hover:not(.is-sel) { border-color: rgba(29,158,117,.4); }
.prog-sel-card h3 { font-size: 15px; margin: 8px 0 5px; }
.prog-sel-card p  { font-size: 12px; color: var(--c-text-2); margin-bottom: 0; }

/* Amount pills */
.amount-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.a-pill {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--c-border);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  color: var(--c-text);
}
.a-pill.is-sel  { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.a-pill:hover:not(.is-sel) { border-color: var(--c-action); }
.a-pill:focus-visible { outline: 2px solid var(--c-action); outline-offset: 2px; }

/* Custom amount */
.custom-row { display: flex; gap: 8px; }
.custom-row select,
.custom-row input {
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--c-text);
}
.custom-row select { min-width: 82px; }
.custom-row input  { flex: 1; }
.custom-row select:focus,
.custom-row input:focus { outline: none; border-color: var(--c-action); }

/* Payment grid */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; }
.pay-card { border: 0.5px solid var(--c-border); border-radius: 12px; padding: 16px; background: #fff; }
.pay-card h3 { font-size: 14px; margin-bottom: 5px; }
.pay-card p  { font-size: 12px; color: var(--c-text-2); margin-bottom: 8px; }

/* Trust row */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 14px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-text-2); }
.trust-dot  { width: 6px; height: 6px; background: var(--c-action); border-radius: 50%; flex-shrink: 0; }

/* Tree sponsorship */
.tree-box { background: var(--c-soft); border-radius: 12px; padding: 32px; margin-top: 28px; }
.tree-box h3   { margin-bottom: 10px; }
.tree-box > p  { font-size: 14px; color: var(--c-text-2); margin-bottom: 24px; }
.tree-tiers    { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tree-tier     { background: #fff; border: 1px solid #97C459; border-radius: 10px; padding: 16px; }
.tree-tier-name  { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.tree-tier-price { font-size: 18px; font-weight: 600; color: var(--c-action); margin-bottom: 6px; }
.tree-tier-desc  { font-size: 12px; color: var(--c-text-2); }

/* Funder cards */
.funder-card h3 { font-size: 14px; margin-bottom: 5px; }
.funder-card p  { font-size: 12px; color: var(--c-text-2); margin-bottom: 8px; }
.funder-card a  { font-size: 12px; color: var(--c-action); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-detail { display: flex; flex-direction: column; gap: 24px; }
.contact-item-lbl  {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-text-3); margin-bottom: 4px;
}
.contact-item-val  { font-size: 15px; }
.contact-item-note { font-size: 12px; color: var(--c-text-2); margin-top: 2px; }

.social-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.social-pill {
  padding: 6px 14px;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--c-text-2);
  transition: all .15s;
}
.social-pill:hover { border-color: var(--c-action); color: var(--c-action); }
.social-pill:focus-visible { outline: 2px solid var(--c-action); outline-offset: 2px; border-radius: 20px; }

/* Contact form */
.cf { display: flex; flex-direction: column; gap: 14px; }
.cf-group { display: flex; flex-direction: column; gap: 5px; }
.cf-group label { font-size: 13px; font-weight: 500; }
.cf-group select,
.cf-group input,
.cf-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--c-text);
  transition: border-color .15s;
}
.cf-group select:focus,
.cf-group input:focus,
.cf-group textarea:focus { outline: none; border-color: var(--c-action); }
.cf-group textarea { min-height: 120px; resize: vertical; }
.cf-success {
  display: none;
  background: var(--c-soft);
  border: 1px solid #97C459;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: #3B6D11;
  font-weight: 500;
  font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 40px 20px; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 28px; }
  h2 { font-size: 20px; }

  .nav__links  { display: none; }
  .nav__burger { display: flex; }

  .stats-row { gap: 0; }
  .stat {
    width: 50%;
    padding: 12px 20px;
    border-right: none;
    border-bottom: 0.5px solid rgba(255,255,255,.1);
  }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .founder { flex-direction: column; align-items: center; }
  .ba-grid  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .custom-row { flex-direction: column; }
  .timeline::before { display: none; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
  .stat { width: 100%; }
  .hero h1 { font-size: 24px; }
}
