:root {
  --green-950: #0a3f34;
  --green-900: #115446;
  --green-800: #1b6756;
  --green-700: #28745f;
  --green-600: #31836b;
  --green-100: #dff1e9;
  --green-050: #eff8f4;
  --mint: #a8dbc5;
  --lime: #ddec93;
  --gold: #d6ad52;
  --cream: #fbf8ef;
  --white: #ffffff;
  --ink: #19312c;
  --muted: #61726d;
  --line: #dce8e3;
  --danger: #b4423f;
  --shadow-sm: 0 10px 30px rgba(10, 63, 52, .08);
  --shadow-lg: 0 26px 70px rgba(10, 63, 52, .16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--green-050); }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--green-950); color: var(--white); }
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: grid; gap: 18px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-title h2, .page-hero h1, .hero h1 {
  margin: 10px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.section-title h2 { font-size: clamp(2.05rem, 4vw, 3.5rem); }
.section-title p { margin: 0; font-size: 1.05rem; color: var(--muted); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--green-100);
  color: var(--green-900);
}
.demo-note {
  border: 1px dashed #e0b960;
  background: #fff9e6;
  color: #765b17;
  border-radius: 14px;
  padding: 12px 15px;
  font-size: .9rem;
}

/* Header */
.topbar { background: var(--green-950); color: rgba(255,255,255,.8); font-size: .86rem; }
.topbar-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,232,227,.9);
}
.navbar { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { width: 190px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; background: var(--green-700); }
.brand img { width: 100%; height: 76px; object-fit: cover; object-position: center; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 12px 13px; border-radius: 10px; font-weight: 700; font-size: .94rem; color: #2b4741; }
.nav-links a:hover, .nav-links a.active { color: var(--green-900); background: var(--green-050); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; border: 0; background: var(--green-050); color: var(--green-950); width: 46px; height: 46px; border-radius: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 10px 24px rgba(40,116,95,.22); }
.btn-primary:hover { background: var(--green-800); }
.btn-accent { background: var(--lime); color: var(--green-950); }
.btn-outline { border-color: var(--green-700); color: var(--green-800); background: transparent; }
.btn-white { background: var(--white); color: var(--green-950); }
.btn-sm { min-height: 42px; padding: 9px 15px; font-size: .9rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(221,236,147,.25), transparent 22%),
    radial-gradient(circle at 68% 75%, rgba(168,219,197,.24), transparent 24%),
    linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 58%, #3d9178 100%);
  color: white;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.13);
}
.hero::before { width: 520px; height: 520px; right: -180px; top: -160px; }
.hero::after { width: 620px; height: 620px; left: 42%; bottom: -510px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; padding: 90px 0; }
.hero-copy { max-width: 700px; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { font-size: clamp(3rem, 6.5vw, 5.6rem); max-width: 820px; }
.hero p { max-width: 650px; font-size: 1.16rem; color: rgba(255,255,255,.83); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: .91rem; color: rgba(255,255,255,.78); }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-visual {
  position: relative;
  min-height: 490px;
  border-radius: 34px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  padding: 28px;
}
.visual-orbit { position: absolute; inset: 10%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); }
.visual-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--green-900);
  text-align: center;
  padding: 20px;
  box-shadow: 0 20px 70px rgba(0,0,0,.2);
}
.visual-center strong { display: block; font-family: Georgia, serif; font-size: 2.2rem; line-height: 1; }
.floating-card {
  position: absolute;
  width: 190px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.floating-card .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); display: grid; place-items: center; color: var(--green-900); margin-bottom: 10px; font-weight: 900; }
.floating-card h3 { margin: 0 0 3px; font-size: 1rem; }
.floating-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.card-one { top: 34px; left: 20px; }
.card-two { top: 78px; right: -10px; }
.card-three { bottom: 40px; left: 6px; }
.card-four { bottom: 24px; right: 16px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--mint); }
.icon-box { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-900); font-size: 1.45rem; font-weight: 900; margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.text-link { display: inline-flex; gap: 8px; color: var(--green-700); font-weight: 800; margin-top: 18px; }

/* Stats */
.stats-strip { position: relative; z-index: 3; margin-top: -48px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 27px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--green-900); font-family: Georgia, serif; font-size: 2.25rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Project cards */
.project-card { padding: 0; overflow: hidden; }
.project-cover {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  background:
    radial-gradient(circle at 30% 35%, rgba(221,236,147,.5), transparent 18%),
    linear-gradient(135deg, var(--green-900), var(--green-600));
}
.project-cover::before { content: ""; width: 190px; height: 190px; border-radius: 50%; border: 35px solid rgba(255,255,255,.08); }
.project-cover .project-icon { position: absolute; font-size: 4rem; }
.project-body { padding: 24px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--muted); font-size: .84rem; margin-bottom: 12px; }
.progress { height: 9px; border-radius: 99px; overflow: hidden; background: var(--green-100); margin: 18px 0 8px; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--green-700); }
.progress-copy { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-art {
  min-height: 510px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-100), var(--mint));
}
.feature-art::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.55); right: -80px; top: -30px; }
.feature-art::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(17,84,70,.08); left: -70px; bottom: -70px; }
.art-card { position: absolute; background: white; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; }
.art-main { inset: 75px 55px 90px 55px; display: grid; place-items: center; text-align: center; z-index: 2; }
.art-main strong { display: block; font-family: Georgia, serif; color: var(--green-900); font-size: 3.4rem; }
.art-small { right: 24px; bottom: 25px; z-index: 3; }
.check-list { list-style: none; padding: 0; margin: 25px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { content: "✓"; width: 25px; height: 25px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-900); font-size: .8rem; font-weight: 900; }

/* Testimonials */
.quote { position: relative; }
.quote::before { content: "“"; position: absolute; top: 10px; right: 22px; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--green-100); }
.quote p { font-size: 1.05rem; color: var(--ink); position: relative; z-index: 1; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: white; display: grid; place-items: center; font-weight: 900; }
.person small { display: block; color: var(--muted); }

/* CTA */
.cta-panel { border-radius: var(--radius-lg); padding: 54px; background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: white; display: flex; justify-content: space-between; align-items: center; gap: 34px; overflow: hidden; position: relative; }
.cta-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -100px; border-radius: 50%; border: 45px solid rgba(255,255,255,.07); }
.cta-panel h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); }
.cta-panel p { margin: 0; color: rgba(255,255,255,.76); max-width: 680px; }
.cta-panel .btn { flex: 0 0 auto; position: relative; z-index: 2; }

/* Page hero */
.page-hero { padding: 105px 0 86px; background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; right: -180px; top: -210px; border: 70px solid rgba(255,255,255,.06); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 850px; }
.page-hero p { max-width: 700px; font-size: 1.08rem; color: rgba(255,255,255,.8); }
.breadcrumbs { display: flex; gap: 8px; color: rgba(255,255,255,.72); font-size: .9rem; }
.breadcrumbs a { color: white; }

/* About */
.value-card { text-align: center; }
.timeline { position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--green-100); }
.timeline-item { position: relative; padding-left: 70px; }
.timeline-dot { position: absolute; left: 4px; top: 1px; width: 36px; height: 36px; border-radius: 50%; border: 8px solid var(--green-100); background: var(--green-700); }
.timeline-item h3 { margin: 0 0 6px; }
.board-card { text-align: center; }
.board-avatar { width: 100px; height: 100px; margin: 0 auto 18px; border-radius: 30px; background: linear-gradient(145deg, var(--green-100), var(--mint)); display: grid; place-items: center; color: var(--green-900); font-size: 2rem; font-weight: 900; }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: start; }
.contact-list { display: grid; gap: 15px; }
.contact-item { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--green-050); }
.contact-item .icon-box { width: 44px; height: 44px; border-radius: 12px; margin: 0; font-size: 1rem; flex: 0 0 auto; }
.form-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: .9rem; color: #2a4942; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cadbd4;
  background: white;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink);
  outline: 0;
  transition: box-shadow .2s, border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(49,131,107,.12); }
textarea { min-height: 135px; resize: vertical; }
.form-status { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: var(--green-100); color: var(--green-950); font-weight: 700; }
.form-status.show { display: block; }
.map-frame { width: 100%; height: 440px; border: 0; border-radius: var(--radius); }

/* Donate */
.donate-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.amount-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amount-btn { border: 1px solid #cadbd4; background: white; border-radius: 10px; padding: 12px 8px; font-weight: 800; color: var(--green-900); }
.amount-btn.active, .amount-btn:hover { background: var(--green-700); color: white; border-color: var(--green-700); }
.frequency { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frequency label { cursor: pointer; }
.frequency input { position: absolute; opacity: 0; pointer-events: none; }
.frequency span { display: block; text-align: center; padding: 12px; border-radius: 10px; border: 1px solid #cadbd4; }
.frequency input:checked + span { background: var(--green-700); color: white; border-color: var(--green-700); }
.summary-card { position: sticky; top: 112px; }
.summary-list { display: grid; gap: 13px; margin: 22px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.secure-note { font-size: .85rem; color: var(--muted); padding: 13px; border-radius: 12px; background: var(--green-050); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: white; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: white; color: var(--ink); padding: 20px 22px; text-align: left; font-weight: 800; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-plus { font-size: 1.4rem; color: var(--green-700); }

/* Legal */
.legal { max-width: 860px; }
.legal h2 { margin-top: 42px; font-family: Georgia, serif; font-size: 2rem; }
.legal h3 { margin-top: 28px; }
.legal li { margin-bottom: 8px; }

/* Project detail */
.detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; }
.detail-sidebar { position: sticky; top: 112px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric { padding: 20px; border-radius: 16px; background: var(--green-050); }
.metric strong { display: block; font-family: Georgia, serif; font-size: 1.8rem; color: var(--green-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-tile { aspect-ratio: 4/3; border-radius: 16px; display: grid; place-items: center; color: white; font-size: 2.5rem; background: linear-gradient(145deg, var(--green-800), var(--green-600)); }

/* Footer */
.footer { background: #082f28; color: rgba(255,255,255,.78); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1fr; gap: 44px; padding-bottom: 54px; }
.footer-logo { width: 225px; border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.footer-logo img { width: 100%; height: 90px; object-fit: cover; }
.footer h3 { margin: 0 0 18px; color: white; font-size: 1rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: white; }
.social-links { display: flex; gap: 9px; margin-top: 18px; }
.social-links a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: white; font-weight: 900; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: white; font-size: 1.35rem; font-weight: 900; box-shadow: 0 14px 35px rgba(0,0,0,.2); }

/* Responsive */
@media (max-width: 1040px) {
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); flex-direction: column; align-items: stretch; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; max-width: 650px; width: 100%; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-2, .split, .contact-grid, .donate-layout, .detail-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .summary-card, .detail-sidebar { position: static; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .cta-panel { padding: 38px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar { display: none; }
  .navbar { min-height: 74px; }
  .brand { width: 150px; }
  .brand img { height: 60px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 72px 0 110px; gap: 40px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .hero-visual { min-height: 510px; padding: 12px; }
  .visual-center { width: 175px; }
  .floating-card { width: 160px; padding: 13px; }
  .card-one { left: 0; }
  .card-two { right: 0; }
  .card-three { left: 0; }
  .card-four { right: 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 14px; }
  .amount-options { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 80px 0 65px; }
  .cta-panel { padding: 30px 24px; }
}
