/* ================================================================
   AGRI-IMPACT GROUP — Main Stylesheet v2.0
   Aesthetic: Bold Organic Modernism
   Palette: Deep forest green + warm saffron gold + earthy cream
   Typography: Fraunces (display) + DM Sans (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --green-900: #0a2118;
  --green-800: #0f3424;
  --green-700: #155233;
  --green-600: #1a6b40;
  --green-500: #22874f;
  --green-400: #3aab66;
  --green-200: #a8dfbe;
  --green-100: #d4f0e0;
  --green-50:  #edf9f2;

  --gold-600:  #b07d10;
  --gold-500:  #d4970f;
  --gold-400:  #f0b429;
  --gold-300:  #f7cc6b;
  --gold-100:  #fef3d0;

  --cream:     #faf7f0;
  --cream-dark:#f0ead8;
  --brown-800: #3d2b1f;
  --brown-600: #6b4c35;

  --white:     #ffffff;
  --gray-50:   #f8f9fa;
  --gray-100:  #f0f1f3;
  --gray-200:  #e2e4e8;
  --gray-400:  #9aa0ac;
  --gray-600:  #5a6070;
  --gray-800:  #1e2229;
  --gray-900:  #10131a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-2xl: 40px; --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(10,33,24,.08);
  --shadow-md:  0 4px 16px rgba(10,33,24,.12);
  --shadow-lg:  0 12px 40px rgba(10,33,24,.16);
  --shadow-xl:  0 24px 64px rgba(10,33,24,.20);

  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;
  --header-h:  80px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; top: -100%; left: var(--space-4); padding: var(--space-2) var(--space-5); background: var(--green-600); color: var(--white); border-radius: var(--radius-md); font-weight: 600; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: var(--space-4); }
.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }
.text-center { text-align: center; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-900);
}
h1 { font-size: clamp(2.5rem, 5vw, var(--text-7xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
p  { color: var(--gray-600); line-height: 1.75; margin-bottom: var(--space-4); }
strong { color: var(--gray-800); font-weight: 600; }

/* ── Section Labels ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: var(--space-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-7, 1.75rem);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary:hover { background: var(--green-700); border-color: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--gold-400);
  color: var(--green-900);
  border-color: var(--gold-400);
}
.btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,180,41,.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: var(--white); color: var(--green-800); border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline-dark:hover { background: var(--green-700); color: var(--white); }
.btn-sm { padding: var(--space-2) var(--space-5); font-size: var(--text-xs); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn svg { width: 18px; height: 18px; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,.7);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-2) 0;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.topbar-contact { display: flex; align-items: center; gap: var(--space-6); }
.topbar-contact a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.topbar-contact a:hover { color: var(--gold-400); }
.topbar-contact span { display: flex; align-items: center; gap: var(--space-2); }
.topbar-social { display: flex; align-items: center; gap: var(--space-3); }
.topbar-social a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
  font-size: 12px;
}
.topbar-social a:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-1px); }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  height: var(--header-h);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -1px;
}
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--green-900);
}
.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* Nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700, #374151);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--green-600); background: var(--green-50); }
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-700, #374151);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.dropdown a:hover { background: var(--green-50); color: var(--green-700); padding-left: var(--space-5); }
.dropdown-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: var(--space-3) var(--space-4) var(--space-1);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--green-50); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: var(--green-900);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Organic background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,107,64,.5) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(240,180,41,.15) 0%, transparent 50%);
}
/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1600&q=80') center/cover no-repeat;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-24) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
}

.hero-text .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px var(--space-4);
  background: rgba(240,180,41,.15);
  border: 1px solid rgba(240,180,41,.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-6);
}
.hero-badge::before { content: '🌱'; font-size: 14px; }

.hero-text h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-style: italic;
}
.hero-text h1 em { font-style: normal; color: var(--gold-400); }

.hero-text p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-10); }

.hero-stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--gold-400); }
.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* Hero card (right side) */
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: var(--white);
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-6);
}
.hero-card-title span { color: var(--gold-400); }
.quick-links { display: flex; flex-direction: column; gap: var(--space-3); }
.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.85);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}
.quick-link:hover { background: rgba(255,255,255,.12); border-color: rgba(240,180,41,.4); color: var(--gold-300); transform: translateX(4px); }
.quick-link-icon { font-size: 20px; }
.quick-link-arrow { opacity: .5; transition: opacity var(--transition); }
.quick-link:hover .quick-link-arrow { opacity: 1; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,.4);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── SUBSIDIARIES STRIP ──────────────────────────────────── */
.subsidiaries-strip {
  background: var(--cream);
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--cream-dark);
}
.subsidiaries-strip .container {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.strip-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}
.subsidiaries-logos {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  flex: 1;
}
.subsidiary-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-800);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.subsidiary-card:hover { border-color: var(--green-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.subsidiary-icon { font-size: 20px; }

/* ── IMPACT NUMBERS ──────────────────────────────────────── */
.impact-numbers { background: var(--green-800); padding: var(--space-16) 0; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.impact-item {
  background: var(--green-800);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.impact-item:hover { background: var(--green-700); }
.impact-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, var(--text-6xl));
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.impact-number sup { font-size: 0.45em; color: var(--gold-400); vertical-align: super; }
.impact-desc {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services-section { background: var(--white); }
.services-header { margin-bottom: var(--space-12); }
.services-header h2 { margin-bottom: var(--space-4); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover { border-color: var(--green-200); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--green-100);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 12px rgba(26,107,64,.3);
}
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: var(--space-3);
  line-height: 1.25;
}
.service-desc { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.7; margin-bottom: var(--space-5); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green-600);
  transition: gap var(--transition);
}
.service-link:hover { gap: var(--space-3); }

/* ── ABOUT / MISSION ─────────────────────────────────────── */
.about-section { background: var(--green-900); overflow: hidden; position: relative; }
.about-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,.08), transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-text .section-label { color: var(--gold-300); }
.about-text h2 { color: var(--white); margin-bottom: var(--space-6); }
.about-text h2 em { font-style: italic; color: var(--gold-400); }
.about-text p { color: rgba(255,255,255,.7); }
.about-features { display: flex; flex-direction: column; gap: var(--space-4); margin: var(--space-8) 0; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: background var(--transition);
}
.about-feature:hover { background: rgba(255,255,255,.08); }
.feature-icon { font-size: 28px; flex-shrink: 0; }
.feature-text h4 { color: var(--white); font-size: var(--text-base); margin-bottom: 4px; }
.feature-text p { font-size: var(--text-sm); color: rgba(255,255,255,.55); margin: 0; }

.about-visual {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  border: 2px solid rgba(255,255,255,.1);
  background: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.about-img-badge {
  position: absolute;
  bottom: var(--space-6);
  left: calc(-1 * var(--space-8));
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.badge-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--green-700);
  line-height: 1;
}
.badge-text { font-size: var(--text-xs); font-weight: 600; color: var(--gray-500, #6b7280); margin-top: 2px; }

/* ── SUBSIDIARIES SECTION ────────────────────────────────── */
.subsidiaries-section { background: var(--cream); }
.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.sub-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.sub-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--gold-400));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}
.sub-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--green-100); }
.sub-card:hover::after { transform: scaleX(1); }
.sub-logo { font-size: 48px; margin-bottom: var(--space-5); }
.sub-name { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--green-900); margin-bottom: var(--space-3); }
.sub-desc { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.7; margin-bottom: var(--space-5); }
.sub-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px var(--space-3);
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* ── PROJECTS ────────────────────────────────────────────── */
.projects-section { background: var(--white); }
.projects-filter {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-600);
  color: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  position: relative;
}
.project-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.project-card.featured {
  grid-column: span 2;
}
.project-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}
.project-card.featured .project-img { aspect-ratio: 21/10; }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,33,24,.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: 4px var(--space-3);
  background: var(--gold-400);
  color: var(--green-900);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-body { padding: var(--space-6); }
.project-sub { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-500); margin-bottom: var(--space-2); }
.project-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--green-900); line-height: 1.3; margin-bottom: var(--space-3); }
.project-card.featured .project-title { font-size: var(--text-2xl); }
.project-desc { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.7; margin-bottom: var(--space-4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── HAPPY PROGRAM SPOTLIGHT ─────────────────────────────── */
.happy-section {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  position: relative;
  overflow: hidden;
}
.happy-section::before {
  content: 'HAPPY';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.happy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.happy-text .section-label { color: var(--gold-300); }
.happy-text h2 { color: var(--white); margin-bottom: var(--space-6); }
.happy-text p { color: rgba(255,255,255,.7); }
.happy-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.happy-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.happy-stat-num { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 900; color: var(--gold-400); line-height: 1; }
.happy-stat-label { font-size: var(--text-xs); color: rgba(255,255,255,.55); margin-top: 4px; font-weight: 500; }
.happy-stories { display: flex; flex-direction: column; gap: var(--space-4); }
.story-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  transition: background var(--transition);
}
.story-card:hover { background: rgba(255,255,255,.1); }
.story-avatar {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-500), var(--gold-400));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.story-body {}
.story-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--white); margin-bottom: 4px; }
.story-role { font-size: var(--text-xs); font-weight: 600; color: var(--gold-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.story-quote { font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: 1.6; font-style: italic; }

/* ── NEWS ────────────────────────────────────────────────── */
.news-section { background: var(--cream); }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.news-featured {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}
.news-featured:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.news-featured-img {
  width: 100%; height: 260px; object-fit: cover;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.news-featured-body { padding: var(--space-8); }
.news-date { font-size: var(--text-xs); font-weight: 600; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-3); }
.news-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--green-900); line-height: 1.3; margin-bottom: var(--space-4); }
.news-featured .news-title { font-size: var(--text-3xl); }
.news-excerpt { font-size: var(--text-sm); color: var(--gray-600); line-height: 1.7; margin-bottom: var(--space-5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-sidebar { display: flex; flex-direction: column; gap: var(--space-4); }
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--green-200); }
.news-card-img {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-200), var(--green-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  object-fit: cover;
}
.news-card-body {}
.news-card .news-title { font-size: var(--text-sm); font-family: var(--font-display); margin-bottom: var(--space-1); }
.news-card .news-date { margin-bottom: 0; }

/* ── PARTNERS ────────────────────────────────────────────── */
.partners-section { background: var(--white); padding: var(--space-16) 0; }
.partners-track-wrapper { overflow: hidden; position: relative; }
.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners-track-wrapper::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.partners-track-wrapper::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.partners-track {
  display: flex;
  gap: var(--space-8);
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  height: 60px;
  padding: var(--space-3) var(--space-6);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-500, #6b7280);
  white-space: nowrap;
  transition: all var(--transition);
  min-width: 140px;
  text-align: center;
}
.partner-logo:hover { background: var(--green-50); border-color: var(--green-200); color: var(--green-700); }
@keyframes scroll-partners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── CONTACT / CTA ───────────────────────────────────────── */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info h2 { margin-bottom: var(--space-4); }
.contact-info p { margin-bottom: var(--space-8); }
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-50);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-label { font-size: var(--text-xs); font-weight: 700; color: var(--gray-400); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-value { font-size: var(--text-sm); font-weight: 500; color: var(--gray-800); }

/* Contact Form */
.contact-form { background: var(--white); border-radius: var(--radius-2xl); padding: var(--space-10); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100); }
.form-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700; color: var(--green-900); margin-bottom: var(--space-2); }
.form-subtitle { font-size: var(--text-sm); color: var(--gray-500, #6b7280); margin-bottom: var(--space-8); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700, #374151);
  margin-bottom: var(--space-2);
}
.form-input, .form-control, .form-select, .form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  outline: none;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus, .form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(34,135,79,.1);
}
.form-textarea, textarea.form-control { min-height: 100px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ── CHATBOT ─────────────────────────────────────────────── */
.chatbot-launcher {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 1000;
}
.chatbot-btn {
  width: 60px; height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--green-600), var(--green-400));
  color: var(--white);
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  animation: pulse-ring 2.5s ease-out infinite;
}
.chatbot-btn:hover { transform: scale(1.1); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(34,135,79,.5), var(--shadow-xl); }
  70%  { box-shadow: 0 0 0 16px rgba(34,135,79,0), var(--shadow-xl); }
  100% { box-shadow: 0 0 0 0 rgba(34,135,79,0), var(--shadow-xl); }
}
.chatbot-tooltip {
  position: absolute;
  bottom: calc(100% + var(--space-3));
  right: 0;
  background: var(--green-900);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  pointer-events: none;
}
.chatbot-tooltip::after { content: ''; position: absolute; top: 100%; right: 20px; border: 6px solid transparent; border-top-color: var(--green-900); }
.chatbot-launcher:hover .chatbot-tooltip { opacity: 1; transform: translateY(0); }

/* Chat window */
.chat-window {
  position: absolute;
  bottom: calc(100% + var(--space-4));
  right: 0;
  width: 360px;
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: all var(--transition);
  transform-origin: bottom right;
}
.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.chat-header {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.chat-header-info {}
.chat-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--white); }
.chat-status { font-size: var(--text-xs); color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 4px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.chat-close { margin-left: auto; background: rgba(255,255,255,.1); border: none; color: var(--white); width: 32px; height: 32px; border-radius: var(--radius-full); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.chat-close:hover { background: rgba(255,255,255,.2); }

.chat-messages { flex: 1; overflow-y: auto; padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 4px; }

.chat-msg { max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.msg-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.bot .msg-bubble { background: var(--green-50); color: var(--gray-800); border-bottom-left-radius: 4px; }
.user .msg-bubble { background: var(--green-600); color: var(--white); border-bottom-right-radius: 4px; }
.msg-time { font-size: 10px; color: var(--gray-400); margin-top: 4px; padding: 0 var(--space-1); }
.bot .msg-time { text-align: left; }
.user .msg-time { text-align: right; }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-5) var(--space-3); }
.quick-reply {
  padding: var(--space-2) var(--space-3);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
  transition: all var(--transition);
}
.quick-reply:hover { background: var(--green-600); color: var(--white); border-color: var(--green-600); }

.chat-input-area {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.chat-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition);
}
.chat-input:focus { border-color: var(--green-400); background: var(--white); }
.chat-send {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--green-600);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.chat-send:hover { background: var(--green-700); transform: scale(1.05); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.65); }
.footer-top { padding: var(--space-16) 0 var(--space-12); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
}
.footer-brand {}
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,.4); }
.footer-tagline { font-size: var(--text-sm); color: rgba(255,255,255,.55); line-height: 1.7; margin: var(--space-5) 0; max-width: 300px; }
.footer-social { display: flex; gap: var(--space-2); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-2px); }

.footer-col {}
.footer-col-title { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; color: var(--white); margin-bottom: var(--space-5); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,.55); transition: color var(--transition); display: flex; align-items: center; gap: var(--space-2); }
.footer-links a::before { content: '→'; opacity: 0; transform: translateX(-8px); transition: all var(--transition); font-size: 12px; color: var(--gold-400); }
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-newsletter {}
.footer-newsletter p { font-size: var(--text-sm); color: rgba(255,255,255,.55); margin-bottom: var(--space-4); line-height: 1.6; }
.newsletter-form { display: flex; gap: var(--space-2); }
.newsletter-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input:focus { border-color: var(--gold-400); }
.newsletter-submit {
  padding: var(--space-3) var(--space-5);
  background: var(--gold-400);
  color: var(--green-900);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.newsletter-submit:hover { background: var(--gold-300); transform: translateY(-1px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-bottom-links { display: flex; gap: var(--space-5); }

/* ── STATUS MESSAGES ─────────────────────────────────────── */
.messages { padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg); border-left: 4px solid; margin-bottom: var(--space-4); font-size: var(--text-sm); }
.messages--status  { background: var(--green-50); border-color: var(--green-500); color: var(--green-800); }
.messages--warning { background: var(--gold-100); border-color: var(--gold-500); color: var(--brown-800); }
.messages--error   { background: #fee2e2; border-color: #dc2626; color: #991b1b; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb-bar { background: var(--cream); border-bottom: 1px solid var(--cream-dark); padding: var(--space-3) 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs); color: var(--gray-400); align-items: center; }
.breadcrumb li + li::before { content: '/'; margin-right: var(--space-2); opacity: .5; }
.breadcrumb a { color: var(--gray-500, #6b7280); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--green-600); }

/* ── PAGE CONTENT (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero h1 { color: var(--white); margin-bottom: var(--space-3); }
.page-hero p { color: rgba(255,255,255,.7); max-width: 600px; }
.page-content { padding: var(--space-16) 0; }
.node__content h2, .node__content h3 { margin: var(--space-8) 0 var(--space-4); }
.node__content p { margin-bottom: var(--space-5); color: var(--gray-600); }
.node__content ul, .node__content ol { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.node__content li { margin-bottom: var(--space-2); color: var(--gray-600); }
.node__content blockquote { border-left: 4px solid var(--gold-400); padding: var(--space-4) var(--space-6); background: var(--green-50); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin-bottom: var(--space-6); }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .subs-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-img-badge { left: 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .topbar-contact span:not(:first-child) { display: none; }
  .hamburger { display: flex; }
  .primary-nav, .header-cta .btn-outline-dark { display: none; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--white);
    padding: var(--space-6);
    overflow-y: auto;
    z-index: 499;
    gap: 0;
  }
  .primary-nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.open .nav-link { padding: var(--space-4); font-size: var(--text-base); border-radius: 0; border-bottom: 1px solid var(--gray-100); }
  .primary-nav.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--green-50); border-radius: var(--radius-lg); margin: var(--space-2) 0; }
  .services-grid, .subs-grid, .projects-grid, .about-grid, .happy-grid, .contact-grid, .news-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-window { width: calc(100vw - var(--space-12)); right: calc(-1 * var(--space-6)); }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .section { padding: var(--space-12) 0; }
  .hero-content { padding: var(--space-12) var(--space-4); }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
  .topbar-social { display: none; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Layout Builder Section Wrappers ─────────────────────
   These classes are applied via Layout Builder "extra_classes"
   and provide the correct background/padding for each section.
──────────────────────────────────────────────────────── */

/* Layout Builder removes default block wrappers — fix spacing */
.layout-builder--layout .layout__region > div { display: contents; }

/* Hero section */
.lb-section-hero .layout-builder__add-section,
.lb-section-hero {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

/* Subsidiaries strip */
.lb-section-subsidiaries {
  background: var(--cream);
  padding: var(--space-10) 0;
  border-bottom: 1px solid var(--cream-dark);
}
.lb-section-subsidiaries .container,
.lb-section-subsidiaries .layout-builder__add-block { width: 100%; }
.subsidiaries-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* Stats/impact bar */
.lb-section-stats {
  background: var(--green-800);
  padding: var(--space-16) 0;
}

/* Services section */
.lb-section-services {
  background: var(--white);
}
.lb-section-services .layout__region { padding: var(--space-20) 0; }
.lb-section-services .layout__region > div,
.lb-section-services .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* About section */
.lb-section-about {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
}
.lb-section-about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,.08), transparent 70%);
  pointer-events: none;
}
.lb-section-about .layout__region { padding: var(--space-20) 0; }
.lb-section-about .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* Subsidiaries deep dive */
.lb-section-subs-deep {
  background: var(--cream);
}
.lb-section-subs-deep .layout__region { padding: var(--space-20) 0; }
.lb-section-subs-deep .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* HAPPY Program section */
.lb-section-happy {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  position: relative;
  overflow: hidden;
}
.lb-section-happy::before {
  content: 'HAPPY';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.lb-section-happy .layout__region { padding: var(--space-20) 0; }
.lb-section-happy .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* Projects section */
.lb-section-projects {
  background: var(--white);
}
.lb-section-projects .layout__region { padding: var(--space-20) 0; }
.lb-section-projects .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* News section */
.lb-section-news {
  background: var(--cream);
}
.lb-section-news .layout__region { padding: var(--space-20) 0; }
.lb-section-news .layout__region > .block { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }

/* Partners section */
.lb-section-partners {
  background: var(--white);
  padding: var(--space-16) 0;
}

/* CTA section */
.lb-section-cta {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
}
.lb-section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(240,180,41,.12), transparent);
  pointer-events: none;
}

/* Layout Builder admin toolbar — don't affect layout */
.layout-builder-block-add-button { display: block; }

/* ── MVC alert helpers (appended by CMS scaffold) ─────────── */
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.text-danger   { color: #dc3545; font-size: .85em; display: block; margin-top: 3px; }

/* ── Shop filter tabs ──────────────────────────────────────── */
.filter-tab {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--white);
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.filter-tab:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  color: var(--green-800);
}
.filter-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

/* ── Shop search input ─────────────────────────────────────── */
.shop-search-input {
  padding: var(--space-2) var(--space-4);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  min-width: 200px;
}
.shop-search-input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22,101,52,.1);
}

/* ── Generic badges ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.6;
}
.badge-success { background: var(--green-100); color: var(--green-800); }
.badge-green   { background: var(--green-100); color: var(--green-800); }
.badge-gold    { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }
.badge-lg      { padding: 4px 14px; font-size: var(--text-sm); }
