:root {
  --green-900: #234a1f;
  --green-700: #4f9a3c;
  --green-500: #8fc23e;
  --green-300: #c4d92e;
  --green-100: #eef6e0;
  --ink: #14210f;
  --muted: #5b6b58;
  --bg: #ffffff;
  --bg-alt: #f6f9ee;
  --card: #ffffff;
  --border: #e4ecd8;
  --shadow: 0 10px 30px -10px rgba(35, 74, 31, 0.18);
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #eef6e8;
  --muted: #a8bba0;
  --bg: #10180c;
  --bg-alt: #141f0f;
  --card: #1a2614;
  --border: #243018;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  transition: background .3s ease, color .3s ease;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 88%, transparent) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.logo-mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a { color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--green-700);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--green-900); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span {
  width: 18px; height: 2px; background: currentColor; display: block;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ROAD PROGRESS BAR */
.road-progress {
  position: sticky;
  top: var(--header-h);
  z-index: 99;
  height: 4px;
  background: var(--border);
  width: 100%;
}
.road-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-700), var(--green-300));
  transition: width .1s linear;
}
.road-progress-marker {
  position: absolute;
  top: -9px;
  left: 0%;
  font-size: .8rem;
  transition: left .1s linear;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 90px;
  overflow: hidden;
}
.hero-bg-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--green-900); }
.hero-bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.92) saturate(1.05);
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 16, 8, .55) 0%, rgba(10, 16, 8, .25) 45%, rgba(10, 16, 8, .15) 70%);
}

.cursor-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(196, 217, 46, 0.25), transparent 70%);
  pointer-events: none;
  transition: background .1s ease;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 40px 44px;
  border-radius: 28px;
  background: rgba(8, 14, 6, .38);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 640px) {
  .hero-inner { padding: 28px 22px; border-radius: 20px; }
}
.hero .eyebrow { color: var(--green-300); }
.hero .kinetic-title { color: #fff; }
.hero .text-grad {
  background: linear-gradient(135deg, var(--green-300), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .hero-sub { color: rgba(255, 255, 255, .82); }
.hero .pill-accent { border-color: var(--green-300); }
.hero .pill-dot { background: var(--green-300); }
.hero .btn-ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.hero .scroll-cue { color: #fff; }
.hero .hero-anchor { color: rgba(255, 255, 255, .75); }
.kinetic-title { display: block; }
.kinetic-title .kw {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: kw-in .6s ease forwards;
}
.kinetic-title .kw:nth-child(1) { animation-delay: .05s; }
.kinetic-title .kw:nth-child(2) { animation-delay: .1s; }
.kinetic-title .kw:nth-child(3) { animation-delay: .15s; }
.kinetic-title .kw:nth-child(4) { animation-delay: .2s; }
.kinetic-title .kw:nth-child(5) { animation-delay: .25s; }
.kinetic-title .kw:nth-child(6) { animation-delay: .3s; }
.kinetic-title .kw:nth-child(7) { animation-delay: .35s; }
@keyframes kw-in { to { opacity: 1; transform: translateY(0); } }
.eyebrow {
  color: var(--green-700);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  margin: 0 0 14px;
}
.eyebrow.center { text-align: center; }
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
}
.text-grad {
  background: linear-gradient(135deg, var(--green-700), var(--green-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 600px;
}
.pill-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(16px, 3vw, 44px);
  height: clamp(16px, 3vw, 44px);
  border: 2px solid var(--green-700);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 1px;
}
.pill-dot {
  width: 32%;
  height: 32%;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: var(--green-700);
}

.kinetic-title .kw.word-rotator {
  display: inline-grid;
  grid-template-columns: max-content;
  vertical-align: top;
  overflow: hidden;
  justify-items: start;
}
.wr-word {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s;
  white-space: nowrap;
}
.wr-word.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .wr-word { transition: none; }
}

.hero-ask {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero-ask input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  min-width: 0;
}
.hero-ask input:focus { outline: none; }
.hero-ask input::placeholder { color: var(--muted); }
.hero-ask-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease;
}
.hero-ask-btn:hover { transform: scale(1.08); }

.hero-anchor {
  position: absolute;
  z-index: 1;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.hero-anchor-left { left: 24px; bottom: 24px; }
.hero-anchor-right { right: 24px; bottom: 24px; }
@media (max-width: 760px) { .hero-anchor { display: none; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.magnetic { transition: transform .25s ease, background .2s; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-900); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-small { padding: 10px 18px; font-size: .85rem; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  color: var(--green-700);
  cursor: pointer;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* STATS — "el camino verde" en hitos */
.stats { background: var(--bg-alt); padding: 80px 0 70px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }

.trail { position: relative; margin-top: 30px; }

.trail-rail {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.trail-rail-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--green-700), var(--green-300));
  transition: width 1.4s cubic-bezier(.22, 1, .36, 1);
}
.trail.is-visible .trail-rail-fill { width: 100%; }

.trail-stops {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.trail-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.trail.is-visible .trail-stop { opacity: 1; transform: translateY(0); }
.trail-stop:nth-child(1) { transition-delay: .05s; }
.trail-stop:nth-child(2) { transition-delay: .2s; }
.trail-stop:nth-child(3) { transition-delay: .35s; }
.trail-stop:nth-child(4) { transition-delay: .5s; }
.trail-stop:nth-child(5) { transition-delay: .65s; }

.trail-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  position: relative;
  transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}
.trail-node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--green-500);
  opacity: 0;
}
.trail.is-visible .trail-node {
  border-color: var(--green-300);
  background: var(--green-500);
  box-shadow: 0 0 8px 2px rgba(143, 194, 62, .55);
}
.trail.is-visible .trail-node::after {
  animation: radar-ping 2.6s ease-out infinite;
}
.trail-stop:nth-child(1) .trail-node::after { animation-delay: .05s; }
.trail-stop:nth-child(2) .trail-node::after { animation-delay: .2s; }
.trail-stop:nth-child(3) .trail-node::after { animation-delay: .35s; }
.trail-stop:nth-child(4) .trail-node::after { animation-delay: .5s; }
.trail-stop:nth-child(5) .trail-node::after { animation-delay: .65s; }
@keyframes radar-ping {
  0% { transform: scale(.4); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.trail-stop:hover .trail-node {
  transform: scale(1.25);
  box-shadow: 0 0 12px 4px rgba(143, 194, 62, .65);
}

/* HUD-style readout para los números */
.stat-readout {
  --glow: rgba(143, 194, 62, .55);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  margin-top: 2px;
  background: linear-gradient(160deg, #0d150a, #182a10);
  border: 1px solid rgba(143, 194, 62, .35);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(143, 194, 62, .08) inset, 0 8px 22px -10px rgba(0, 0, 0, .35);
}
.stat-readout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(196, 217, 46, .12) 0px, rgba(196, 217, 46, .12) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.stat-readout::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 40%;
  top: -40%;
  background: linear-gradient(180deg, transparent, rgba(196, 217, 46, .35), transparent);
  animation: scan-sweep 3.2s linear infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0% { top: -40%; }
  100% { top: 100%; }
}
[data-theme="dark"] .stat-readout { background: linear-gradient(160deg, #060c04, #101e09); }

.stat-readout::before, .stat-readout::after { z-index: 0; }
.stat-number {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', var(--font-display), monospace;
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: var(--green-300);
  text-shadow: 0 0 6px var(--glow), 0 0 18px var(--glow);
  transition: text-shadow .3s ease;
}
.trail-stop:hover .stat-readout { border-color: rgba(143, 194, 62, .7); }
.trail-stop:hover .stat-number { text-shadow: 0 0 10px var(--glow), 0 0 28px var(--glow); }

.stat-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .07em;
}

@media (max-width: 760px) {
  .trail-rail { display: none; }
  .trail-stops { grid-template-columns: 1fr; gap: 22px; }
  .trail-stop { flex-direction: row; gap: 16px; text-align: left; }
  .trail-node { flex-shrink: 0; }
  .trail-stop .stat-label { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .trail-rail-fill, .trail-stop, .trail-node, .stat-readout::after, .trail-node::after { animation: none !important; transition: none !important; }
  .trail-rail-fill { width: 100%; }
  .trail-stop { opacity: 1; transform: none; }
}

/* SECTION TITLES */
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; margin: 0 0 44px; }
.section-title.center, .eyebrow.center { text-align: center; }
section { padding: 90px 0; }

/* MANIFESTO (scroll-linked text reveal) */
.manifesto { background: var(--bg-alt); padding: 160px 0; }
.reveal-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
}
.rword {
  opacity: .12;
  color: var(--ink);
  filter: blur(3px);
  display: inline-block;
  transition: color .3s ease, opacity .35s ease, filter .35s ease;
}
.rword.is-lit {
  opacity: 1;
  filter: blur(0);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .rword { opacity: 1 !important; filter: none !important; }
}

/* PLATFORMS */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.platform-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  outline: none;
}
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 3;
}
[data-theme="dark"] .card-glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .15), transparent 60%); }
.platform-card:hover .card-glare,
.platform-card.is-expanded .card-glare { opacity: 1; }
.platform-card:hover,
.platform-card:focus-visible,
.platform-card.is-expanded {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--green-500);
  z-index: 2;
}
.platform-logo-wrap {
  height: 44px;
  width: 160px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform .35s ease;
}
.platform-logo-wrap-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--border);
}
.platform-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.platform-icon-fallback {
  font-size: 1.5rem;
  background: var(--bg-alt);
  justify-content: center;
}
.platform-card:hover .platform-logo-wrap,
.platform-card:focus-visible .platform-logo-wrap,
.platform-card.is-expanded .platform-logo-wrap {
  transform: scale(1.1) rotate(-4deg);
}
.platform-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.platform-card p { color: var(--muted); margin: 0 0 18px; line-height: 1.55; }
.card-link { color: var(--green-700); font-weight: 700; }

.platform-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease, margin .45s ease;
  margin: 0;
}
.platform-card:hover .platform-extra,
.platform-card:focus-visible .platform-extra,
.platform-card.is-expanded .platform-extra {
  max-height: 220px;
  opacity: 1;
  margin: 4px 0 18px;
}
.platform-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .85rem;
  color: var(--muted);
}
.platform-features li::before { content: "✓ "; color: var(--green-700); font-weight: 700; }

.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scroll-left 12s linear infinite;
}
.logo-track span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--green-700);
  white-space: nowrap;
}

/* VIDEO SECTION */
.video-section { background: var(--bg-alt); position: relative; }
.cinema-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(5, 10, 5, 0);
  pointer-events: none;
  transition: background .5s ease;
}
body.cinema-mode .cinema-backdrop {
  background: rgba(5, 10, 5, 0.88);
  pointer-events: auto;
}
.video-card {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  transform: scale(1);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), max-width .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}
.video-card.is-playing { transform: scale(1.08); max-width: 920px; }
body.cinema-mode .video-card.is-playing {
  position: relative;
  z-index: 150;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.6);
}
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease;
}
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, opacity .25s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-card.is-playing .video-play,
.video-card.is-playing .video-thumb { opacity: 0; pointer-events: none; }

/* PROGRAMS */
.programs { background: var(--bg-alt); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.program-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.program-card h3 { margin: 0 0 8px; }
.program-card p { color: var(--muted); margin: 0 0 16px; }
.program-metrics { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.program-metrics strong { color: var(--green-700); display: block; font-size: 1.1rem; }


/* TESTIMONIALS */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.testimonial-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-mark {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--green-300);
  line-height: 1;
  margin-bottom: 4px;
}
.testimonial-card p { margin: 0 0 20px; line-height: 1.55; flex-grow: 1; }
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
}
.testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
[data-theme="dark"] .testimonial-avatar { background: var(--green-900); color: var(--green-300); }

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .testimonial-card { scroll-snap-align: start; }
}

/* PARTNERS MARQUEE */
.partners-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 8px 0; }
.partners-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.partner-card { display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; width: 200px; }
.partner-logo {
  position: relative;
  width: 168px; height: 104px;
  display: flex; align-items: center; justify-content: center;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: .85;
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.25);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, filter .4s, opacity .4s, border-color .4s;
  border: 1px solid var(--border);
}
.partner-card:hover .partner-logo {
  transform: translateY(-8px) scale(1.14);
  box-shadow: 0 20px 40px -14px rgba(35, 74, 31, .45);
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--green-500);
}
.partner-name { font-size: .82rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.25; white-space: normal; transition: color .3s ease; }
.partner-card:hover .partner-name { color: var(--green-700); }
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text { color: var(--muted); margin: 16px 0 24px; line-height: 1.6; }
.contact-info { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  font-family: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: .95rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green-500); }
.form-status { margin: 0; font-size: .9rem; color: var(--green-700); min-height: 1.2em; }

/* FOOTER */
.site-footer { background: var(--green-900); color: #e8f5ee; padding: 60px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.logo-footer { color: #fff; margin-bottom: 10px; }
.footer-grid p { color: #b9d6c6; line-height: 1.6; }
.footer-col h4 { margin: 0 0 14px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.footer-col a { display: block; color: #cfe8da; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #1c4a32;
  background: #0f2c1d;
  color: #fff;
}
.footer-bottom { border-top: 1px solid #163f29; margin-top: 40px; padding-top: 20px; color: #9cc2ab; font-size: .85rem; }

/* SCROLL REVEAL */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* CHAT WIDGET */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-700); color: #fff; border: none;
  font-size: 1.4rem; cursor: pointer; box-shadow: var(--shadow);
}
.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  max-height: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--green-700); color: #fff;
}
.chat-header button { background: transparent; border: none; color: #fff; cursor: pointer; font-size: 1rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.chat-msg { padding: 8px 12px; border-radius: 12px; max-width: 85%; line-height: 1.4; }
.chat-msg.bot { background: var(--bg-alt); align-self: flex-start; }
.chat-msg.user { background: var(--green-700); color: #fff; align-self: flex-end; }
.chat-input { display: flex; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; border: none; padding: 12px; background: transparent; color: var(--ink); font-family: inherit; }
.chat-input input:focus { outline: none; }
.chat-input button { border: none; background: transparent; color: var(--green-700); width: 44px; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .3s;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-toggle { display: flex; }
  .chat-panel { width: 90vw; right: -10px; }
}
