:root {
  --green-900: #0f5132;
  --green-700: #15803d;
  --green-500: #22c55e;
  --green-50:  #f0fdf4;
  --bg:        #f8faf7;
  --ink:       #0f172a;
  --muted:     #475569;
  --gold:      #facc15;
  --line:      rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
  --shadow-md: 0 8px 24px -8px rgba(15,81,50,.25), 0 4px 12px -4px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 48px -16px rgba(15,81,50,.35), 0 8px 16px -4px rgba(15,23,42,.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Space Grotesk', Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0; }

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(248, 250, 247, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled {
  background: rgba(248, 250, 247, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(15,23,42,.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  color: var(--green-900);
}
.nav-brand img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green-700); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-700);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: white; border-color: var(--green-700); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: #eab308; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform .2s;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(34,197,94,.15), transparent 60%),
    radial-gradient(800px 400px at 10% 80%, rgba(15,81,50,.08), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  color: var(--green-900);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34,197,94,.2);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent {
  color: var(--green-700);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 12px;
  background: var(--gold);
  opacity: .35;
  z-index: -1;
  border-radius: 4px;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}
.hero-trust strong { color: var(--ink); font-weight: 700; }

/* Hero photo (right side of hero) */
.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,81,50,.25), transparent 55%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero boot slot — drop image into images/hero-boot.png */
.hero-boot {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero-boot::before {
  content: '';
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(34,197,94,.35), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.hero-boot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(15,81,50,.35));
}
.hero-spline {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
}
.hero-spline::part(canvas) { background: transparent; }
.hero-boot-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(15,81,50,.3);
  border-radius: 24px;
  background: rgba(255,255,255,.5);
  text-align: center;
  padding: 24px;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ============= SECTIONS ============= */
section { padding: 96px 0; }
section.alt { background: white; }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ============= MISSION ============= */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission-copy h2 { margin-bottom: 24px; }
.mission-copy p { color: var(--muted); font-size: 1.05rem; }
.pillars {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.pillar {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--green-50);
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,.15);
}
.pillar-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: white;
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pillar h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: .95rem; }

.mission-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.mission-photo img { width: 100%; height: 100%; object-fit: cover; }
.mission-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,81,50,.4), transparent 50%);
}

/* ============= HOW IT WORKS ============= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.step-num {
  position: absolute;
  top: -16px; left: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  box-shadow: 0 0 0 4px var(--bg);
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============= IMPACT ============= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.stat {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.stat:hover { border-color: var(--green-500); transform: translateY(-4px); }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.gallery a {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery .cap {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  color: white;
  font-weight: 600;
  font-size: .95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  z-index: 2;
}
.gallery a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent 50%);
  opacity: 0;
  transition: opacity .25s;
}
.gallery a:hover::after,
.gallery a:hover .cap { opacity: 1; transform: translateY(0); }

/* ============= ABOUT ============= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 2px solid var(--green-500);
  border-radius: 24px;
  z-index: -1;
}
.about-copy h2 { margin-bottom: 8px; }
.about-role {
  color: var(--green-700);
  font-weight: 600;
  margin-bottom: 24px;
}
.about-copy p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.about-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.icon-btn:hover {
  color: var(--green-700);
  border-color: var(--green-500);
  transform: translateY(-2px);
}

/* ============= FAQ ============= */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q:hover { color: var(--green-700); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  color: var(--muted);
}
.faq-a-inner { padding: 0 0 24px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============= CONTACT ============= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  background: var(--green-900);
  color: white;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.3), transparent 70%);
}
.contact-info h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 1.5rem;
}
.contact-info > p { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.contact-list { display: grid; gap: 20px; position: relative; }
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: white;
}
.contact-row .icon-btn {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: white;
}
.contact-row .icon-btn:hover {
  background: var(--green-500);
  border-color: var(--green-500);
  color: white;
}
.contact-row .label { color: rgba(255,255,255,.65); font-size: .85rem; }
.contact-row .value { font-weight: 600; }

.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-row label .opt { color: var(--muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}
.textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: var(--green-50); color: var(--green-900); }
.form-status.pending { background: #fef3c7; color: #78350f; }
.form-status.error   { background: #fee2e2; color: #7f1d1d; }

/* ============= FOOTER ============= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 360px; }
.footer h4 {
  color: white;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.7); font-size: .94rem; transition: color .2s; }
.footer a:hover { color: var(--green-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ============= REGISTER PAGE ============= */
.page-head {
  padding: 140px 0 48px;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(34,197,94,.15), transparent 60%),
    var(--bg);
  text-align: center;
}
.page-head h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.register-wrap { padding: 24px 0 96px; }
.register-card {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 36px;
}
.fieldset legend {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  padding: 0;
}
.fieldset .legend-sub {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 20px;
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--green-500); }
.chip:has(input:checked) {
  background: var(--green-50);
  border-color: var(--green-500);
  color: var(--green-900);
}
.upload {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload:hover { border-color: var(--green-500); background: var(--green-50); }
.upload p { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.upload-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: white;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.upload-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.upload-previews img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.check-row input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--green-700);
}
.check-row label { font-size: .92rem; color: var(--muted); }

/* ============= RESPONSIVE ============= */
@media (max-width: 960px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid, .mission-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-boot { max-width: 420px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .nav-toggle { display: block; }
  .steps, .stats, .gallery, .form-grid-2, .footer-grid { grid-template-columns: 1fr; }
  .gallery a:nth-child(1) { grid-column: span 1; }
  .register-card { padding: 28px 20px; }
  .contact-info, .form { padding: 28px; }
}
