:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #eef6f2;
  --text: #202124;
  --muted: #5a6570;
  --line: #d9e1e6;
  --primary: #00856f;
  --primary-dark: #006b5b;
  --blue: #3d65c2;
  --orange: #e46d2c;
  --yellow: #f2b705;
  --shadow: 0 16px 40px rgba(32, 33, 36, 0.09);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.9;
}

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

a {
  color: var(--primary-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--blue);
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.main {
  min-height: 70vh;
}

.section {
  padding: 56px 20px;
}

.section.alt {
  background: #ffffff;
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  padding: 54px 20px 42px;
  background:
    linear-gradient(120deg, rgba(0, 133, 111, 0.11), rgba(228, 109, 44, 0.08)),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-weight: 800;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

h1 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4rem);
}

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

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
  color: var(--primary-dark);
}

.button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.hero-art {
  border: 1px solid rgba(32, 33, 36, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 820px;
  color: var(--muted);
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.05);
}

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

.card-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

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

.project-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: #202124;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.project-card:nth-child(2n) .project-logo {
  background: var(--primary);
}

.project-card:nth-child(3n) .project-logo {
  background: var(--orange);
}

.project-card:nth-child(4n) .project-logo {
  background: var(--blue);
}

.project-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.97rem;
}

.project-card a {
  font-weight: 800;
}

.feature-list,
.plain-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.plain-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-list strong {
  color: var(--primary-dark);
}

.callout {
  padding: 28px;
  border: 1px solid rgba(0, 133, 111, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #eef6f2);
}

.callout p {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #202124;
  color: #f7f9fb;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #bce7dd;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .nav,
  .hero-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    display: grid;
  }

  .hero-grid,
  .grid,
  .grid.two,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }
}

@media (min-width: 620px) and (max-width: 980px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .section,
  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav {
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 6px 9px;
    font-size: 0.88rem;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
