:root {
  --ink: #10231a;
  --muted: #5d6b62;
  --green: #0d4a2d;
  --green-2: #1f7a3c;
  --lime: #79c943;
  --gold: #c99a2e;
  --mist: #edf6f1;
  --blue-mist: #e5f2f0;
  --line: #d9e7df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 35, 26, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.top-strip {
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 145px;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green);
  font: inherit;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  color: #2d3d34;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: var(--mist);
  color: var(--green);
  outline: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(13, 74, 45, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #073a23;
  outline: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  background-color: #f8fbf7;
  background-image: url("images/green-four-door-gallery.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: min(980px, 64vw) auto;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background: rgba(255, 255, 255, 0.88);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--green), var(--lime), var(--gold));
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding: 4rem 0 4.5rem;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--lime);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.lead {
  margin-top: 1.25rem;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero .lead {
  color: #33483b;
}

.tagline {
  margin-top: 1rem;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
}

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

.button.secondary {
  background: var(--white);
  border-color: var(--green);
  color: var(--green);
}

.button.ghost {
  background: var(--mist);
  color: var(--green);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(16, 35, 26, 0.14);
  outline: none;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.dark .lead,
.section.dark .muted,
.section.dark li {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card.accent {
  border-top: 5px solid var(--lime);
}

.stat-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem;
  border-left: 4px solid var(--lime);
  background: rgba(255, 255, 255, 0.75);
}

.stat-card strong {
  color: var(--green);
  font-size: 1.45rem;
}

.solution-card {
  overflow: hidden;
  padding: 0;
}

.solution-card img,
.product-card img,
.feature-image img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: var(--mist);
}

.solution-card .card-body,
.product-card .card-body {
  padding: 1.15rem;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.link {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--green);
  font-weight: 900;
}

.band {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(121, 201, 67, 0.18));
}

.band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-image.tall img {
  height: min(640px, 68vh);
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(121, 201, 67, 0.18);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.problem-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-hero.media {
  color: var(--white);
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
}

.page-hero.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 20, 0.62);
}

.page-hero.media .container {
  position: relative;
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero.media .lead {
  color: rgba(255, 255, 255, 0.86);
}

.crumbs {
  margin-bottom: 1rem;
  color: var(--green);
  font-weight: 900;
}

.page-hero.media .crumbs {
  color: var(--lime);
}

.spec-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.spec-table div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table dt {
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.spec-table dd {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  object-fit: cover;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(121, 201, 67, 0.22);
}

.form-note {
  margin-top: 1rem;
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  background: #081a12;
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-logo {
  width: 150px;
  padding: 0.45rem;
  border-radius: var(--radius);
  background: var(--white);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .top-strip .container {
    display: block;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    background-position: center bottom;
    background-size: 900px auto;
  }

  .hero::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-inner {
    min-height: auto;
    padding-bottom: 22rem;
  }

  .section-head,
  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .lineup-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .problem-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, var(--max));
  }

  .brand img {
    width: 126px;
  }

  .hero {
    background-size: 720px auto;
  }

  .hero-inner {
    padding: 3rem 0 18rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .problem-list,
  .gallery,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .solution-card img,
  .product-card img,
  .feature-image img,
  .gallery img {
    height: 210px;
  }
}
