:root {
  --primary: #2d5a27;
  --accent: #6b8e23;
  --bg: #f5f5f0;
  --text-dark: #2c3e50;
  --text-light: #5d6d7e;
  --border: #d0d5ce;
  --white: #ffffff;
  --cta-bg: #274c20;
  --cta-hover: #1e3a17;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1e1e;
    --text-light: #a0a0a0;
    --border: #3a3a3a;
    --white: #ffffff;
  }
}

html {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: inherit; }

body { margin: 0; background: var(--bg); color: var(--text-dark); }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a.active { color: var(--primary); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

/* CTA button */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary { background: var(--primary); color: var(--white); }

.btn-primary:hover { background: var(--cta-hover); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); }

.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Hero */
.hero {
  padding: 12rem 2rem 6rem;
  text-align: center;
  margin-top: 60px;
}

.hero h1 { font-size: 2.8rem; margin-bottom: 1rem; }

.hero p { color: var(--text-light); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero .btn-group { display: flex; gap: 1rem; justify-content: center; }

/* Services */
.services { padding: 6rem 2rem; }

.services h2 { text-align: center; margin-bottom: 3rem; }

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--border);
}

.service-card h3 { margin: 1rem 0 0.5rem; }

.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* Credentials */
.credentials {
  padding: 4rem 2rem;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.credentials p { margin: 0; font-size: 0.9rem; }

.credentials a { color: #a8e6cf; text-decoration: underline; }

/* CTA strip */
.cta {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--cta-bg);
  color: var(--white);
}

.cta h2 { margin-bottom: 1rem; }

.cta p { color: #a8e6cf; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.cta .btn-group { display: flex; gap: 1rem; justify-content: center; }

/* Page hero */
.page-hero {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--bg);
}

.page-hero h1 { font-size: 2rem; margin-bottom: 1rem; }

.page-hero p { color: var(--text-light); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* CTA strip (inner pages) */
.inner-cta {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--primary);
  color: var(--white);
}

.inner-cta h2 { margin-bottom: 1rem; }

.inner-cta p { color: #a8e6cf; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.inner-cta .btn-primary { background: var(--white); color: var(--primary); }

.inner-cta .btn-primary:hover { background: #e8f5e9; }

/* Footer */
.footer {
  padding: 4rem 2rem 2rem;
  background: #111;
  color: #aaa;
  margin-top: auto;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer .col h4 { color: #fff; margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; }

.footer .col p { font-size: 0.85rem; line-height: 1.6; margin: 0; }

.footer .col a { color: #aaa; text-decoration: none; font-size: 0.85rem; }

.footer .col a:hover { color: #fff; }

.footer .legal a { display: block; margin-bottom: 0.5rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: #666;
  text-align: center;
  font-size: 0.8rem;
}

/* Mobile menu */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  .navbar .container { padding: 1rem; }
  
  .nav-links { position: fixed;
  top: 0; left: 0; right: 0; bottom: 0; background: var(--white); 
  flex-direction: column; gap: 2rem; padding: 4rem 2rem; 
  transform: translateX(100%); transition: transform 0.3s ease; }
  
  .nav-links.active { transform: translateX(0); }
  
  .hamburger { display: block; }
  
  .footer .container { grid-template-columns: 1fr; }
  
  .hero h1 { font-size: 2rem; }
  
  .services-grid { grid-template-columns: 1fr; }
}