/* ===== Tokens ===== */
:root {
  --green: #1b5e20;
  --green-dark: #14441a;
  --green-mid: #2e7d32;
  --gold: #b8860b;
  --gold-light: #c8941a;
  --ink: #1a1c1a;
  --muted: #5b5f5b;
  --line: #e9e9e4;
  --bg: #ffffff;
  --bg-soft: #f7f7f3;
  --grad: linear-gradient(120deg, var(--green) 0%, var(--gold) 100%);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(20, 40, 20, .35);
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

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

h1, h2, h3, .logo-text { font-family: 'Plus Jakarta Sans', sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(27, 94, 32, .7);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 68px; width: auto; }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-weight: 500; font-size: .98rem; color: var(--muted);
  position: relative; transition: color .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--grad); transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  padding: 70px 0 90px;
  background:
    radial-gradient(1100px 480px at 88% -8%, rgba(184,134,11,.10), transparent 60%),
    radial-gradient(900px 460px at 4% 6%, rgba(27,94,32,.08), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--green-dark);
  box-shadow: 0 6px 18px -14px rgba(0,0,0,.3);
  margin-bottom: 26px;
}
.pill-icon { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
.hero-image {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.stat-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.45);
}
.stat-num { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 1.8rem; color: var(--ink); line-height: 1; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.stat-top { top: 18px; right: -14px; }
.stat-bottom { bottom: 18px; left: -14px; }
.stat-bottom .stat-num span { color: var(--green-mid); }

/* ===== Mission ===== */
.mission { background: var(--bg-soft); padding: 60px 0; }
.mission-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.mission-text { font-size: 1.35rem; line-height: 1.5; font-weight: 500; color: var(--ink); }

/* ===== Section heads ===== */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin: 0 auto 48px; text-align: center; }
.section-head h2, .feature-copy h2, .why-copy h2, .cta-inner h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  margin-bottom: 18px;
}
.section-lead { font-size: 1.08rem; color: var(--muted); }

/* ===== Services (green section) ===== */
.services { background: var(--green-dark); color: #fff; }
.services .eyebrow { color: #9fd8a6; }
.services .section-head h2 { color: #fff; }
.services .section-lead { color: rgba(255,255,255,.78); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.5); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.card-num {
  position: absolute; top: 22px; right: 26px;
  font-family: 'Plus Jakarta Sans'; font-weight: 700;
  font-size: .85rem; color: rgba(255,255,255,.4);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad); color: #fff; font-size: 1.5rem;
  margin-bottom: 22px;
}
.card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.card > p { color: rgba(255,255,255,.72); margin-bottom: 20px; }
.card ul { list-style: none; display: grid; gap: 10px; }
.card ul li {
  position: relative; padding-left: 26px; font-size: .95rem; color: rgba(255,255,255,.92);
}
.card ul li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px;
  color: var(--gold-light); font-weight: 700;
}

/* ===== Feature sections ===== */
.feature-alt { background: var(--bg-soft); }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-visual img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 24px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.tags li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: .9rem; font-weight: 500; color: var(--green-dark);
}
.feature-alt .tags li { background: #fff; }

/* ===== Why us ===== */
.why { background: var(--green-dark); color: #fff; }
.why .eyebrow { color: #9fd8a6; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-copy p { color: rgba(255,255,255,.75); font-size: 1.08rem; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 1.02rem;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.why-list .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); color: var(--green-dark); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
}

/* ===== Clients ===== */
.client-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 820px; margin: 0 auto; }
.client-chips span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 24px; font-weight: 500; font-size: 1rem; color: var(--ink);
  transition: .2s;
}
.client-chips span:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ===== CTA ===== */
.cta { background: var(--bg-soft); }
.cta-inner {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: var(--grad); color: #fff;
  border-radius: 32px; padding: 64px 40px;
  box-shadow: var(--shadow);
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.9); font-size: 1.12rem; margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-actions .btn-primary { background: #fff; color: var(--green-dark); box-shadow: none; }
.cta-actions .btn-primary:hover { background: #f3f3ee; }
.cta-actions .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-actions .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-note { margin-top: 28px; font-size: .9rem; color: rgba(255,255,255,.85) !important; }

/* ===== Footer ===== */
.site-footer { background: var(--green-dark); color: #fff; padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-logo .logo-img { height: 55px; filter: brightness(1.45); }
.footer-sub { font-size: .95rem; color: rgba(255,255,255,.6); margin-left: 4px; }
.copyright { font-size: .9rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .feature-grid, .feature-grid.reverse, .why-grid, .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid.reverse .feature-visual { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { gap: 16px; }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 20px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .cards { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .stat-top { right: 0; }
  .stat-bottom { left: 0; }
  .cta-inner { padding: 48px 24px; }
}
