:root {
  --dark-green: #2C3E1F;
  --deep-green: #1A2410;
  --mid-green: #3D5926;
  --accent-green: #4CAF50;
  --bright-green: #6EC66A;
  --light-green: #E8F0E2;
  --cream: #F7F4ED;
  --text-dark: #1A2410;
  --text-mid: #4A5E35;
  --gold: #C4A84F;
  --white: #FFFFFF;
  --header-height: 76px;
  --shadow-soft: 0 14px 40px rgba(26, 36, 16, 0.10);
  --shadow-card: 0 18px 50px rgba(26, 36, 16, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(110,198,106,.8); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--white); color: var(--dark-green); padding: 12px 18px;
  border-radius: 4px; box-shadow: var(--shadow-soft); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark-green); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-green); font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.12;
  color: var(--dark-green); letter-spacing: -0.02em; margin-bottom: 18px;
}
.section--dark .section-title { color: var(--white); }
.section-copy { color: var(--text-mid); font-size: 17px; line-height: 1.82; max-width: 760px; }
.section--dark .section-copy { color: rgba(255,255,255,.68); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-height); background: rgba(26,36,16,.90);
  border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(26,36,16,.97); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px;
  font-weight: 500; position: relative; padding: 10px 0; transition: color .2s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px;
  background: var(--bright-green); transition: right .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: flex; gap: 5px; }
.lang-btn {
  border: 1px solid rgba(255,255,255,.26); background: transparent;
  color: rgba(255,255,255,.72); border-radius: 3px; padding: 7px 10px;
  font-size: 11px; letter-spacing: 1px; transition: .2s ease;
}
.lang-btn:hover { color: var(--white); border-color: var(--bright-green); }
.lang-btn.active { background: var(--bright-green); color: var(--deep-green); border-color: var(--bright-green); font-weight: 700; }
.header-cta {
  text-decoration: none; background: var(--bright-green); color: var(--deep-green);
  font-size: 12px; font-weight: 700; padding: 10px 15px; border-radius: 3px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(110,198,106,.22); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: .2s ease; }

/* Hero */
.hero {
  min-height: 100svh; padding: calc(var(--header-height) + 72px) 0 86px;
  background: var(--dark-green); color: var(--white); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 17% 76%, rgba(110,198,106,.18), transparent 34%),
    radial-gradient(circle at 83% 18%, rgba(196,168,79,.11), transparent 30%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-logo { width: 150px; margin: 0 auto 28px; filter: drop-shadow(0 12px 26px rgba(0,0,0,.25)); }
.hero-eyebrow { color: var(--bright-green); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(54px, 9vw, 96px); line-height: .98; letter-spacing: -0.035em; }
.hero-title span { color: var(--bright-green); }
.hero-subtitle { font-family: 'Crimson Pro', serif; font-style: italic; font-size: clamp(20px, 2.8vw, 27px); color: rgba(255,255,255,.56); margin: 14px 0 28px; }
.hero-copy { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.78); line-height: 1.82; font-size: clamp(16px, 1.7vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; border-radius: 3px; padding: 0 23px; text-decoration: none;
  font-size: 14px; font-weight: 700; border: 1px solid transparent; transition: .25s ease;
}
.btn-primary { background: var(--bright-green); color: var(--deep-green); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(110,198,106,.22); }
.btn-secondary { border-color: rgba(255,255,255,.34); color: var(--white); background: rgba(255,255,255,.04); }
.btn-secondary:hover { border-color: var(--bright-green); background: rgba(110,198,106,.10); transform: translateY(-3px); }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-link {
  display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75);
  border: 1px solid rgba(110,198,106,.28); border-radius: 3px; padding: 10px 15px;
  font-size: 13px; text-decoration: none; transition: .2s ease;
}
.hero-link::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bright-green); }
.hero-link:hover { color: var(--white); border-color: var(--bright-green); background: rgba(110,198,106,.08); }
.scroll-cue { margin-top: 54px; color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; }
.scroll-cue::after { content: ''; display: block; width: 1px; height: 42px; margin: 10px auto 0; background: linear-gradient(var(--bright-green), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(7px); opacity: .45; } }

/* About */
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.about-mark { position: sticky; top: 120px; }
.about-mark span { display: block; color: var(--accent-green); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px; }
.about-line { width: 80px; height: 1px; background: rgba(44,62,31,.22); }
.about-content .section-copy { max-width: 780px; }
.scope-strip { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.scope-chip { background: var(--light-green); color: var(--mid-green); border: 1px solid rgba(61,89,38,.10); padding: 9px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* Divisions */
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card {
  min-height: 570px; border-radius: 10px; color: var(--white); overflow: hidden;
  position: relative; padding: 44px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease;
}
.division-card:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(26,36,16,.22); }
.division-card--ascend { background: linear-gradient(145deg, #223118, #2C3E1F 58%, #354c25); }
.division-card--link { background: linear-gradient(145deg, #30491f, #3D5926 58%, #46692a); }
.division-pattern { position: absolute; inset: 0; opacity: .09; background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.75) 10px, rgba(255,255,255,.75) 11px); }
.division-card--link .division-pattern { background-image: radial-gradient(circle at center, rgba(255,255,255,.55) 1px, transparent 1px); background-size: 22px 22px; }
.division-card > * { position: relative; z-index: 1; }
.division-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.division-tag { width: fit-content; border: 1px solid rgba(110,198,106,.4); color: var(--bright-green); padding: 6px 11px; border-radius: 3px; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; }
.division-icon { width: 48px; height: 48px; color: var(--bright-green); opacity: .9; }
.division-title { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 54px); line-height: 1; margin-bottom: 8px; }
.division-subtitle { font-family: 'Crimson Pro', serif; font-size: 20px; font-style: italic; color: rgba(255,255,255,.56); margin-bottom: 26px; }
.division-copy { color: rgba(255,255,255,.75); line-height: 1.8; font-size: 15px; }
.feature-list { list-style: none; display: grid; gap: 12px; margin: auto 0 30px; padding-top: 28px; }
.feature-list li { display: flex; gap: 12px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }
.feature-list li::before { content: '→'; color: var(--bright-green); flex: 0 0 auto; }
.division-cta { align-self: flex-start; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(110,198,106,.65); padding-bottom: 5px; font-size: 13px; font-weight: 600; }
.division-cta:hover { color: var(--bright-green); }

/* Problems */
.problems-wrap::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% -10%, rgba(110,198,106,.14), transparent 40%); pointer-events: none; }
.problems-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.problem-card { background: rgba(26,36,16,.65); padding: 38px 32px; transition: background .25s ease; }
.problem-card:hover { background: rgba(110,198,106,.075); }
.problem-num { font-family: 'Playfair Display', serif; color: rgba(110,198,106,.23); font-size: 62px; font-weight: 900; line-height: 1; margin-bottom: 18px; }
.problem-title { color: var(--bright-green); font-size: 12px; letter-spacing: 1.9px; text-transform: uppercase; margin-bottom: 13px; }
.problem-copy { color: rgba(255,255,255,.62); line-height: 1.76; font-size: 14px; }

/* Program */
.program-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; margin-bottom: 52px; }
.program-summary { color: var(--text-mid); line-height: 1.82; font-size: 16px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card { background: var(--white); border: 1px solid rgba(44,62,31,.08); border-radius: 8px; padding: 30px 25px; min-height: 260px; box-shadow: 0 10px 30px rgba(26,36,16,.055); transition: .28s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: rgba(76,175,80,.18); }
.step-num { width: 38px; height: 38px; display: grid; place-items: center; background: var(--light-green); color: var(--mid-green); border-radius: 50%; font-weight: 700; margin-bottom: 24px; }
.step-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1.45px; color: var(--dark-green); margin-bottom: 13px; }
.step-copy { color: var(--text-mid); font-size: 14px; line-height: 1.7; }

/* Impact */
.impact-section { background: linear-gradient(135deg, var(--dark-green), var(--mid-green)); overflow: hidden; }
.impact-section::before, .impact-section::after { content: ''; position: absolute; border: 1px solid rgba(110,198,106,.13); border-radius: 50%; pointer-events: none; }
.impact-section::before { width: 540px; height: 540px; right: -220px; top: -220px; }
.impact-section::after { width: 370px; height: 370px; right: -115px; top: -110px; }
.impact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.impact-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); padding: 34px 30px; border-radius: 7px; backdrop-filter: blur(8px); }
.impact-card h3 { color: var(--bright-green); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 13px; }
.impact-card p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.76; }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.partner-card { min-height: 165px; background: var(--white); border: 1px solid rgba(44,62,31,.08); border-radius: 9px; box-shadow: 0 8px 26px rgba(26,36,16,.075); display: grid; place-items: center; padding: 24px 18px; overflow: visible; }
.partner-logo-wrap { position: relative; display: inline-grid; place-items: center; max-width: 100%; }
.partner-link { display: inline-grid; place-items: center; text-decoration: none; max-width: 100%; position: relative; }
.partner-logo { width: auto; height: auto; max-width: 145px; max-height: 74px; object-fit: contain; transition: transform .25s ease, filter .25s ease; }
.partner-logo--san-miguel { max-height: 92px; }
.partner-link:hover .partner-logo, .partner-link:focus-visible .partner-logo { transform: scale(1.045); filter: saturate(1.05); }
.visit-label { position: absolute; left: 50%; top: calc(100% + 9px); transform: translate(-50%, 4px); white-space: nowrap; color: var(--mid-green); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.partner-link:hover .visit-label, .partner-link:focus-visible .visit-label { opacity: 1; transform: translate(-50%, 0); }

/* Contact */
.contact-section { background: var(--cream); }
.contact-shell { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.contact-info { background: var(--dark-green); color: var(--white); padding: 54px 48px; position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(110,198,106,.16); border-radius: 50%; right: -120px; bottom: -130px; }
.contact-info h2 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 52px); line-height: 1.08; margin-bottom: 18px; }
.contact-info > p { color: rgba(255,255,255,.68); line-height: 1.75; margin-bottom: 34px; }
.contact-links { display: grid; gap: 14px; position: relative; z-index: 1; }
.contact-link { display: flex; gap: 14px; align-items: center; color: var(--white); text-decoration: none; padding: 15px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(255,255,255,.045); transition: .2s ease; }
.contact-link:hover { border-color: var(--bright-green); background: rgba(110,198,106,.09); transform: translateX(3px); }
.contact-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--bright-green); background: rgba(110,198,106,.10); flex-shrink: 0; }
.contact-link small { display: block; color: rgba(255,255,255,.48); margin-bottom: 3px; }
.contact-form { background: var(--white); padding: 48px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-size: 12px; font-weight: 700; color: var(--dark-green); }
.form-control { width: 100%; border: 1px solid rgba(44,62,31,.18); background: #fff; border-radius: 4px; padding: 12px 13px; color: var(--text-dark); transition: border-color .2s ease, box-shadow .2s ease; }
.form-control:focus { outline: 0; border-color: var(--accent-green); box-shadow: 0 0 0 4px rgba(76,175,80,.10); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-note { color: var(--text-mid); font-size: 11px; line-height: 1.5; margin-top: 13px; }
.form-submit { margin-top: 18px; border: 0; }
.form-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.form-status { min-height: 22px; margin-top: 14px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-success { color: #2f6f2f; }
.form-status.is-error { color: #a02828; }

/* Footer */
.footer { background: var(--deep-green); color: rgba(255,255,255,.52); padding: 56px 0 28px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 66px; height: 66px; object-fit: contain; }
.footer-brand strong { display: block; color: rgba(255,255,255,.83); margin-bottom: 4px; }
.footer-brand span { font-size: 13px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-nav a { color: rgba(255,255,255,.52); text-decoration: none; font-size: 12px; }
.footer-nav a:hover { color: var(--bright-green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 11px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1080px) {
  .nav-list { gap: 16px; }
  .nav-link { font-size: 12px; }
  .header-cta { display: none; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .partners-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 860px) {
  :root { --header-height: 68px; }
  .container { width: min(100% - 32px, 1120px); }
  .section { padding: 82px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    position: fixed; top: var(--header-height); left: 0; right: 0; margin: 0;
    background: rgba(26,36,16,.985); border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-115%); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease; padding: 22px 24px 28px;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav-link { display: block; width: 100%; font-size: 15px; padding: 12px 0; }
  .header-actions { margin-left: 0; }
  .brand img { width: 46px; height: 46px; }
  .about-grid, .program-intro, .contact-shell { grid-template-columns: 1fr; gap: 36px; }
  .about-mark { position: static; }
  .divisions-grid { grid-template-columns: 1fr; }
  .problems-grid, .impact-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 42px 34px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .lang-btn { padding: 6px 8px; }
  .hero { padding-top: calc(var(--header-height) + 52px); }
  .hero-logo { width: 126px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hero-links { flex-direction: column; align-items: center; }
  .division-card { min-height: auto; padding: 34px 27px; }
  .steps-grid, .partners-grid, .form-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 150px; }
  .contact-info, .contact-form { padding: 36px 25px; }
  .footer-bottom { flex-direction: column; }
  .section-heading { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
