:root {
  --green: #087767;
  --green-dark: #04574d;
  --green-soft: #e7f4f1;
  --ink: #152321;
  --muted: #5f6f6b;
  --line: #dce8e5;
  --paper: #ffffff;
  --wash: #f5f8f7;
  --shadow: 0 18px 50px rgba(18, 50, 45, 0.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}

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

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

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

.topbar {
  background: var(--green);
  color: #fff;
  font-size: 0.92rem;
}

.topbar__inner {
  min-height: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

.topbar__inner a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__icon {
  width: 0.86rem;
  height: 0.86rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 232, 229, 0.8);
  backdrop-filter: blur(14px);
}

.nav__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--green-dark);
  font-weight: 650;
}

.nav__links > a,
.nav-group__button {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav__links > a:hover,
.nav__links > a[aria-current="page"],
.nav-group:hover .nav-group__button,
.nav-group.is-active .nav-group__button {
  border-color: var(--green);
}

.nav-group {
  position: relative;
}

.nav-group__button {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-group__button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 250px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: var(--green-soft);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.36) 100%),
    linear-gradient(0deg, rgba(8, 119, 103, 0.14), rgba(8, 119, 103, 0.14));
}

.hero__content {
  position: relative;
  padding: 70px 0 96px;
}

.hero__content > * {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--ink);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 119, 103, 0.22);
  cursor: pointer;
}

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

.button--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  box-shadow: none;
}

.section {
  padding: 84px 0;
}

.section--muted,
.intro-band {
  background: var(--wash);
}

.intro-band__grid,
.split,
.content-grid,
.page-hero__grid,
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro-band p,
.split p,
.prose p,
.feature-panel p {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

.section__heading {
  margin-bottom: 34px;
}

.section__heading h2 {
  max-width: 760px;
}

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

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(18, 50, 45, 0.06);
}

.service-card a {
  display: grid;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 8px solid #fff;
  object-fit: cover;
}

.service-card span,
.service-card h3,
.service-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.service-card span {
  margin-top: 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: 6px;
}

.service-card p {
  margin-top: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.compact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compact-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
  color: var(--green-dark);
  font-weight: 800;
}

.page-hero {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--wash), #fff);
}

.page-hero img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-bottom: 18px;
}

.feature-panel {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
  padding: 32px;
}

.feature-panel ul {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-panel li + li {
  margin-top: 10px;
}

.cta {
  padding: 76px 0 96px;
}

.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  padding: 38px;
}

.cta__inner h2 {
  color: #fff;
  max-width: 780px;
}

.cta__inner .button {
  flex: 0 0 auto;
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
  box-shadow: none;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-list a {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.contact-list span {
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}

.footer {
  background: #102320;
  color: rgba(255, 255, 255, 0.76);
  padding: 58px 0 26px;
}

.footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer__logo {
  width: 170px;
  height: auto;
  padding: 10px;
  border-radius: 6px;
  background: #fff;
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__bottom a {
  display: inline;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .topbar__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 8px 0;
  }

  .nav__inner {
    min-height: 78px;
  }

  .brand img {
    width: 170px;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }

  .nav__links.is-open {
    display: grid;
  }

  .nav__links > a,
  .nav-group__button {
    padding: 12px 0;
  }

  .nav-group {
    display: grid;
  }

  .nav-group__button {
    width: 100%;
    text-align: left;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    display: none;
    gap: 2px;
    margin: 0 0 8px;
    padding: 6px 0 6px 14px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-group.is-open .nav-dropdown,
  .nav-group.is-active .nav-dropdown {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    white-space: normal;
  }

  .hero {
    min-height: 560px;
  }

  .intro-band__grid,
  .split,
  .content-grid,
  .page-hero__grid,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta__inner {
    display: grid;
  }
}

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

  h1 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7));
  }

  .section,
  .page-hero {
    padding: 54px 0;
  }

  .cards-grid,
  .compact-list {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .cta__inner {
    padding: 24px;
  }

  .cta {
    padding: 54px 0 68px;
  }
}
