@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  color-scheme: light;
  --ink: #333333;
  --muted: #5f6d67;
  --line: #d8e2d1;
  --paper: #f0f5e6;
  --white: #ffffff;
  --green: #008369;
  --green-deep: #006e59;
  --leaf: #86b13b;
  --leaf-light: #5cba87;
  --mist: #f8fbf4;
  --shadow: 0 18px 45px rgba(0, 131, 105, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 34px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 110, 89, 0.76), rgba(0, 110, 89, 0));
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.site-header.is-solid,
.site-header:has(.site-nav.is-open) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 200px;
  min-width: 180px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.brand img {
  height: 46px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  font-size: 0.94rem;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--leaf);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: var(--green);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.68);
}

.site-header.is-solid .header-cta {
  color: var(--white);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-solid .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 86svh;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 116px 0 84px;
  background: #063c34;
}

.hero-media,
.hero-media img,
.hero-overlay,
.hero-arc {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 110, 89, 0.94) 0%, rgba(0, 110, 89, 0.78) 40%, rgba(0, 110, 89, 0.34) 70%, rgba(0, 110, 89, 0.2) 100%),
    linear-gradient(180deg, rgba(51, 51, 51, 0.42), rgba(51, 51, 51, 0.12));
}

.hero-arc {
  pointer-events: none;
}

.hero-arc::after {
  content: "";
  position: absolute;
  right: max(-240px, -12vw);
  bottom: max(-250px, -19vw);
  width: min(860px, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: min(105px, 9vw) solid rgba(134, 177, 59, 0.92);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(40px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(2.55rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  font-weight: 900;
}

.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

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

.proof-band {
  position: relative;
  z-index: 2;
  padding: 26px 0;
  color: var(--white);
  background: var(--green-deep);
}

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

.proof-grid div {
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.proof-grid span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.section {
  padding: 86px 0;
}

.split,
.technology-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.technology-copy h2,
.contact h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.05;
  font-weight: 900;
}

.intro-text {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.systems {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.system-card,
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 65, 54, 0.08);
}

.system-card img {
  height: 220px;
  object-fit: cover;
}

.system-card-body {
  padding: 20px;
}

.system-card span,
.project-card span {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-card h3,
.project-card h3,
.feature-list h3 {
  margin-top: 8px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.system-card p,
.feature-list p,
.contact p {
  margin-top: 10px;
  color: var(--muted);
}

.technology {
  background: var(--paper);
}

.technology-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-list div {
  padding: 0 0 0 18px;
  border-left: 4px solid var(--leaf);
}

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

.project-card img {
  height: 270px;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.contact {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 110, 89, 0.97), rgba(0, 131, 105, 0.9)),
    var(--green-deep);
}

.contact .eyebrow {
  color: #d6ef9e;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
}

.contact-panel a,
.contact-panel span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.contact-panel a {
  color: #d6ef9e;
}

.site-footer {
  padding: 24px 0;
  color: #d7e5e0;
  background: #0f2822;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--leaf);
  font-weight: 800;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 20px 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    margin-left: auto;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand {
    width: 160px;
    min-width: 150px;
  }

  .brand img {
    height: 42px;
  }

  .site-nav {
    inset-block-start: 68px;
  }

  .hero {
    min-height: 82svh;
    padding: 96px 0 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 110, 89, 0.94), rgba(0, 110, 89, 0.62)),
      linear-gradient(90deg, rgba(51, 51, 51, 0.66), rgba(51, 51, 51, 0.1));
  }

  .hero-arc::after {
    right: -190px;
    bottom: -160px;
    width: 430px;
    border-width: 52px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.85rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .proof-grid,
  .split,
  .technology-grid,
  .contact-grid,
  .project-grid,
  .system-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  }

  .proof-grid div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 62px 0;
  }

  .system-card img,
  .project-card img {
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .footer-grid {
    flex-direction: column;
  }
}
