:root {
  --ink: #13211a;
  --muted: #66726b;
  --green: #1f6f43;
  --green-dark: #092116;
  --lime: #a5d66d;
  --mist: #e7f1ef;
  --cream: #f6f4ec;
  --clay: #d6ad82;
  --line: rgba(19, 33, 26, 0.14);
  --shadow: 0 22px 60px rgba(16, 38, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fbfcf8;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 6vw, 88px);
  background: rgba(234, 244, 242, 0.82);
  border-bottom: 1px solid rgba(19, 33, 26, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
  color: rgba(19, 33, 26, 0.72);
}

.nav a,
.footer-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 42, 26, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(480px, 1.14fr);
  gap: clamp(38px, 6vw, 88px);
  min-height: 720px;
  padding: 96px clamp(20px, 7vw, 112px) 54px;
  background:
    linear-gradient(180deg, rgba(232, 245, 246, 0.96), rgba(248, 239, 225, 0.84) 63%, #e3eeee 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 660px;
  padding-bottom: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-text {
  max-width: 580px;
  color: #26352d;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.5;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button.primary {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

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

.button.ghost {
  background: rgba(255, 255, 255, 0.35);
}

.button.ghost:hover {
  background: #fff;
}

.hero-photo {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.08;
  margin: 0;
  align-self: end;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-radius: 8px;
}

.hero-photo::after,
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 33, 22, 0.06), rgba(9, 33, 22, 0.5));
  pointer-events: none;
}

.hero-photo img,
.card-photo,
.feature img,
.asset-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease, filter 220ms ease;
}

.hero-photo:hover img,
.card:hover .card-photo,
.feature:hover img,
.asset-card:hover .asset-photo {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.section {
  padding: 86px clamp(20px, 7vw, 112px);
}

.legacy {
  padding-bottom: 86px;
}

.legacy,
.fleet {
  background: var(--mist);
}

.section-head {
  max-width: 880px;
  margin-bottom: 42px;
}

.section-head.compact {
  max-width: 760px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.section-head p,
.feature p,
.card p,
.asset-card p,
.project-list p,
.contact-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.stats article {
  padding: 22px 0;
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 22px;
}

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

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

.card,
.asset-card,
.project-list article {
  border: 1px solid rgba(19, 33, 26, 0.08);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover,
.asset-card:hover,
.project-list article:hover,
.feature:hover {
  transform: translateY(-8px);
  border-color: rgba(31, 111, 67, 0.35);
  box-shadow: var(--shadow);
}

.card {
  min-height: 370px;
  padding: 0 28px 32px;
  overflow: hidden;
}

.card h3 {
  margin-top: 4px;
}

.card-photo {
  height: 220px;
  margin: 0 -28px 28px;
  width: calc(100% + 56px);
  border-radius: 8px 8px 0 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.15;
}

.solution-band {
  background: #fbfcf8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 30px 22px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 26, 0.1);
  border-radius: 8px;
  background: #dbe8e5;
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature img {
  position: absolute;
  inset: 0;
}

.feature h3,
.feature p {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.feature h3 {
  margin-top: auto;
  margin-bottom: 10px;
}

.feature p {
  color: rgba(255, 255, 255, 0.84);
}

.asset-card {
  min-height: 430px;
  padding: 14px 14px 28px;
  overflow: hidden;
}

.asset-card h3 {
  margin-top: 4px;
}

.asset-card h3,
.asset-card p {
  margin-left: 8px;
  margin-right: 8px;
}

.asset-photo {
  height: 230px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #dfe8e5;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-list article {
  padding: 28px;
}

.project-list span {
  display: block;
  margin-bottom: 62px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px clamp(20px, 7vw, 112px) 84px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  background: linear-gradient(135deg, #dfeeed, #f1f4e8);
}

.contact-panel h2 {
  max-width: 760px;
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  padding: 54px clamp(20px, 7vw, 112px) 24px;
  background: #061510;
  color: #fff;
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 74px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-photo {
    aspect-ratio: 1.45;
  }

  .stats,
  .cards.four,
  .cards.three,
  .feature-grid,
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 150px;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .hero,
  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-photo {
    aspect-ratio: 1.05;
  }

  .stats,
  .cards.four,
  .cards.three,
  .feature-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    margin-inline: 18px;
  }

  .button,
  .contact-panel .button {
    width: 100%;
  }
}
