:root {
  --green: #559711;
  --green-dark: #2f6707;
  --green-deep: #193f08;
  --ink: #1e2a1d;
  --muted: #64705f;
  --cream: #f6f4ec;
  --white: #fff;
  --line: #dfe5da;
  --shadow: 0 16px 40px rgba(20, 42, 13, .12);
  --radius: 18px;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.demo-banner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .35rem 1rem;
  background: #111;
  color: #fff;
  font-size: .86rem;
  text-align: center;
}
.demo-banner a { color: #a8dc72; font-weight: 700; }

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.07);
  position: relative;
  z-index: 20;
}
.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand img { width: 320px; max-width: 52vw; }
.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-weight: 700;
  color: #345722;
  padding: .65rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--green); border-color: var(--green); outline: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 64vw, 700px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #28461e;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 28, 8, .72) 0%, rgba(12, 28, 8, .50) 40%, rgba(12, 28, 8, .20) 72%, rgba(12, 28, 8, .06) 100%),
    linear-gradient(0deg, rgba(0,0,0,.20), rgba(0,0,0,.04));
}
.hero-content { color: #fff; padding-block: 5rem; }
.hero-content > * { max-width: 720px; }
.eyebrow {
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .82rem;
  font-weight: 800;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.2vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 3px 18px rgba(0,0,0,.22);
}
.hero-copy { margin: 1.35rem 0 2rem; font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button-primary { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(41, 84, 13, .24); }
.button-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.section-muted { background: var(--cream); }
.section h2,
.quote-section h2 { margin: 0 0 2rem; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.05; letter-spacing: -.035em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service-card {
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 54, 9, .06);
}
.service-card h3 { margin: 0 0 .65rem; font-size: 1.2rem; color: var(--green-dark); }
.service-card p { margin: 0; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #d9e3d3; }
.gallery-grid img { width: 100%; aspect-ratio: 2.45 / 1; object-fit: cover; }

.split-section { display: grid; grid-template-columns: 1fr .8fr; gap: 4rem; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .95rem; }
.feature-list li { display: flex; gap: .8rem; align-items: center; font-size: 1.1rem; font-weight: 700; }
.feature-list li::before { content: "✓"; width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: #e7f3db; color: var(--green-dark); }
.green-panel { min-height: 260px; border-radius: var(--radius); padding: 2rem; display: grid; align-items: end; background: linear-gradient(145deg, var(--green), var(--green-deep)); color: #fff; box-shadow: var(--shadow); }
.green-panel span { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 800; line-height: 1.05; }

.quote-section { background: #173c0a; color: #fff; padding: clamp(4rem, 7vw, 6rem) 0; }
.quote-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.quote-copy h2 { margin-bottom: 0; }
.quote-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input { width: 100%; height: 50px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: .75rem .8rem; background: #fff; color: #1a1a1a; font: inherit; }
.quote-form .button { grid-column: 1 / -1; justify-self: start; min-width: 130px; }
.site-footer { padding: 1.5rem 0; background: #0f2308; color: rgba(255,255,255,.78); font-size: .9rem; }

@media (max-width: 900px) {
  .header-inner { min-height: 88px; }
  .main-nav { gap: 1rem; font-size: .95rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .quote-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .demo-banner { font-size: .75rem; }
  .header-inner { display: grid; justify-items: center; padding-block: .8rem; gap: .6rem; }
  .brand img { width: 250px; max-width: 80vw; }
  .main-nav { width: 100%; justify-content: center; gap: 1rem; flex-wrap: wrap; }
  .hero { min-height: 560px; }
  .hero-content { padding-block: 4rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(10,27,7,.74), rgba(10,27,7,.42)); }
  .service-grid, .gallery-grid, .quote-form { grid-template-columns: 1fr; }
  .gallery-grid img { aspect-ratio: 16 / 9; }
  .quote-form .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
