:root {
  --primary-green: #21610B;
  --primary-green-dark: #047857;
  --primary-green-soft: #ECFDF5;
  --ink: #111827;
  --muted: #4B5563;
  --line: #DDE6DF;
  --section: #F8FAF8;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; }
a { transition: color .2s ease, background .2s ease, border-color .2s ease; }
.primary-green { color: var(--primary-green); }
.bg-primary-green { background: var(--primary-green); }
.bg-primary-green:hover { background: var(--primary-green-dark); }
.section-padding { padding: 5.25rem 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .65rem;
  color: #374151;
  border-radius: .375rem;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link:hover, .nav-link:focus-visible, .nav-active {
  color: var(--primary-green);
  background: var(--primary-green-soft);
  outline: none;
}
.desktop-dropdown { position: relative; }
.desktop-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: .6rem;
}
.desktop-dropdown-menu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  min-width: 14rem;
  padding: .45rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-.35rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .6rem;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .15);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.desktop-dropdown:hover .desktop-dropdown-menu,
.desktop-dropdown:focus-within .desktop-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: .65rem .75rem;
  color: #374151;
  border-radius: .4rem;
  font-size: .9rem;
  font-weight: 500;
}
.dropdown-link:hover, .dropdown-link:focus-visible {
  color: var(--primary-green);
  background: var(--primary-green-soft);
  outline: none;
}
.mobile-submenu {
  margin: .25rem 0 .4rem 1rem;
  padding-left: .7rem;
  border-left: 2px solid #D1E8D8;
}
.mobile-submenu a {
  display: block;
  padding: .55rem .75rem;
  color: #4B5563;
  border-radius: .375rem;
}
.mobile-submenu a:hover {
  color: var(--primary-green);
  background: var(--primary-green-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5.5rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(33, 97, 11, .13), transparent 28rem),
    linear-gradient(135deg, var(--section) 0%, #fff 64%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 27rem;
  height: 27rem;
  border: 1px solid rgba(33, 97, 11, .16);
  border-radius: 50%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .85rem;
  margin-bottom: 1.5rem;
  color: var(--primary-green);
  background: var(--primary-green-soft);
  border: 1px solid #BFE4CD;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
}
.hero-title {
  max-width: 18ch;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero-copy {
  max-width: 48rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.72;
}
.hero-panel {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(33, 97, 11, .15);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(17, 24, 39, .12);
}
.hero-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  color: var(--primary-green);
  background: var(--primary-green-soft);
  border-radius: 1rem;
  font-size: 1.7rem;
}
.trust-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .75rem;
  color: #374151;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .6rem;
  font-size: .88rem;
  font-weight: 600;
}
.trust-pill i { color: var(--primary-green); }

.content-section:nth-of-type(even) { background: var(--section); }
.content-wrap { max-width: 56rem; margin: 0 auto; }
.content-wrap h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.content-wrap p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1.7rem;
}
.check-item {
  display: flex;
  gap: .75rem;
  padding: 1rem;
  color: #374151;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .75rem;
  line-height: 1.55;
}
.check-item i { margin-top: .25rem; color: var(--primary-green); }
.note-box {
  margin-top: 1.8rem;
  padding: 1.25rem 1.35rem;
  color: #374151;
  background: var(--primary-green-soft);
  border-left: 4px solid var(--primary-green);
  border-radius: .65rem;
  line-height: 1.7;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.process-card, .case-card, .info-card {
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .85rem;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
}
.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
  background: var(--primary-green);
  border-radius: 50%;
  font-weight: 800;
}
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.case-card h2 { font-size: 1.4rem; }
.case-label {
  display: inline-flex;
  margin: 1rem 0 .2rem;
  color: var(--primary-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-list { max-width: 58rem; margin: 0 auto; }
.faq-item {
  margin-bottom: .8rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.35rem;
  color: var(--ink);
  text-align: left;
  font-size: 1.05rem;
  font-weight: 750;
}
.faq-question:hover { color: var(--primary-green); background: #FBFDFB; }
.faq-answer { padding: 0 1.35rem 1.3rem; }
.faq-answer p { margin-top: .7rem; color: var(--muted); line-height: 1.75; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; }
.contact-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .08);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field label { display: block; margin-bottom: .35rem; color: #374151; font-size: .9rem; font-weight: 650; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: .75rem .8rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D1D5DB;
  border-radius: .5rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--primary-green);
  outline: 2px solid rgba(33, 97, 11, .13);
}
.form-full { grid-column: 1 / -1; }
.form-message { margin-top: 1rem; padding: .8rem; border-radius: .5rem; }
.form-message.success { color: #14532D; background: #DCFCE7; }
.form-message.error { color: #991B1B; background: #FEE2E2; }

.legal-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.legal-nav {
  position: sticky;
  top: 6rem;
  padding: 1rem;
  background: var(--section);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.legal-nav a { display: block; padding: .55rem .65rem; color: #4B5563; border-radius: .4rem; }
.legal-nav a:hover { color: var(--primary-green); background: #fff; }
.legal-content section { scroll-margin-top: 6rem; margin-bottom: 3rem; }
.legal-content h2 { margin-bottom: 1rem; font-size: 1.65rem; font-weight: 800; }
.legal-content p, .legal-content div { margin-top: .75rem; color: var(--muted); line-height: 1.75; }

.cta-section {
  color: #fff;
  background: linear-gradient(135deg, rgba(33, 97, 11, .98), rgba(4, 120, 87, .98));
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5.5rem;
  background:
    radial-gradient(circle at 86% 22%, rgba(33, 97, 11, .15), transparent 29rem),
    linear-gradient(135deg, var(--section) 0%, #fff 62%);
}
.home-hero::before {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(33, 97, 11, .16);
  border-radius: 50%;
}
.home-title {
  max-width: 15ch;
  font-size: clamp(2.65rem, 5.5vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  hyphens: manual;
}
.home-hero-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(33, 97, 11, .14);
  border-radius: 1.25rem;
  box-shadow: 0 26px 65px rgba(17, 24, 39, .14);
}
.home-hero-card img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: center 22%;
  border-radius: .9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.2rem;
  border-radius: .55rem;
  font-weight: 700;
}
.btn-primary { color: #fff; background: var(--primary-green); }
.btn-primary:hover { background: var(--primary-green-dark); }
.btn-secondary { color: var(--primary-green); background: #fff; border: 2px solid var(--primary-green); }
.btn-secondary:hover { background: var(--primary-green-soft); }
.home-section-heading { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.home-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.025em;
}
.home-section-heading p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .07);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(17, 24, 39, .11); }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.7rem;
  height: 3.7rem;
  color: var(--primary-green);
  background: var(--primary-green-soft);
  border-radius: .9rem;
  font-size: 1.4rem;
}
.service-card h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 800; }
.service-card p { margin-top: .8rem; color: var(--muted); line-height: 1.7; }
.service-card a { margin-top: auto; padding-top: 1.3rem; color: var(--primary-green); font-weight: 750; }
.problem-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
.problem-list { display: grid; gap: .8rem; }
.problem-list div {
  display: flex;
  gap: .8rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: #374151;
  line-height: 1.55;
}
.problem-list i { margin-top: .25rem; color: var(--primary-green); }
.project-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.project-tile {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary-green);
  border-radius: .7rem;
}
.project-tile i { color: var(--primary-green); font-size: 1.3rem; }
.project-tile p { margin-top: .75rem; color: #4B5563; line-height: 1.55; font-size: .95rem; }
.founder-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 3rem; align-items: center; }
.founder-image {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(17, 24, 39, .1);
}
.founder-image img { width: 100%; border-radius: .7rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.7rem; }
.stat-box { padding: 1rem; background: var(--primary-green-soft); border-radius: .65rem; }
.stat-box strong { display: block; color: var(--primary-green); font-size: 1.3rem; }
.stat-box span { color: #4B5563; font-size: .88rem; }

@media (max-width: 1023px) {
  .process-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .project-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .section-padding { padding: 4rem 0; }
  .page-hero { padding: 7rem 0 4rem; }
  .home-hero { padding: 7rem 0 4rem; }
  .hero-title { max-width: none; }
  .home-title { max-width: none; }
  .hero-copy { font-size: 1.03rem; }
  .check-grid, .case-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .problem-layout, .founder-layout { grid-template-columns: 1fr; }
  .project-strip, .stat-row { grid-template-columns: 1fr; }
  .home-hero-card img { height: 19rem; }
  .hero-actions { flex-direction: column; }
  .form-full { grid-column: auto; }
}
