:root {
  --green: #2d6a45;
  --green-light: #5aa878;
  --blue: #2a3a82;
  --ink: #111;
  --muted: #444;
  --bg-alt: #f4f4f4;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; height: auto; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.logo img { display: block; }
.nav-link {
  color: var(--ink); text-decoration: none; font-weight: 600;
  padding: 8px 4px; border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link:focus { border-color: var(--green); }

/* Hero */
.hero {
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  padding: 140px 0;
  text-align: center;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}
.hero p {
  max-width: 680px; margin: 0 auto;
  font-size: 1.2rem; color: var(--muted);
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 20px; line-height: 1.2; }
h3 { font-size: 1.3rem; margin: 0 0 10px; }
h3.spaced { margin-top: 40px; color: var(--green); }
.lead { font-size: 1.25rem; }

/* Grids */
.grid { display: grid; gap: 32px; margin-top: 40px; }
.grid.two   { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four  { grid-template-columns: repeat(4, 1fr); }

.card { text-align: center; }
.card img { margin-bottom: 12px; }

.compare { text-align: center; }
.compare img { margin-top: 16px; border-radius: 6px; }

.feature {
  padding: 24px;
  border-top: 4px solid var(--green);
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

/* Contact */
.social { text-align: center; margin: 28px 0 8px; }
.social p { margin: 0 0 10px; font-weight: 600; }
.social a { display: inline-block; margin: 0 6px; }
.social img { display: block; transition: opacity .15s; }
.social a:hover img, .social a:focus img { opacity: .7; }
.address { color: var(--muted); }

.contact-form { margin-top: 28px; display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 10px 12px;
  border: 1px solid #bbb; border-radius: 4px; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--green-light); border-color: var(--green);
}
.contact-form button {
  justify-self: start;
  font: inherit; font-weight: 600; color: #fff;
  background: var(--green); border: 0; border-radius: 4px;
  padding: 12px 32px; cursor: pointer;
}
.contact-form button:hover, .contact-form button:focus { background: #245538; }

/* Footer */
.site-footer {
  padding: 24px 0; text-align: center;
  color: var(--muted); font-size: .9rem;
  border-top: 1px solid #e5e5e5;
}

/* Responsive */
@media (max-width: 900px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 90px 0; }
  .section { padding: 48px 0; }
  .grid.two, .grid.four { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .logo img { width: 190px; height: auto; }
}
