:root {
  --ink: #152022;
  --muted: #607176;
  --line: #d9e4e0;
  --paper: #f6f8f4;
  --panel: #ffffff;
  --forest: #17483f;
  --teal: #1f8a83;
  --coral: #e76f51;
  --gold: #f2b84b;
  --shadow: 0 22px 70px rgba(21, 32, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 244, 0.88);
  border-bottom: 1px solid rgba(217, 228, 224, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: white;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 71px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px) 42px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 8vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 790px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 14px 34px rgba(231, 111, 81, 0.28);
}

.button.primary:hover {
  background: #d85f43;
}

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

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(21, 32, 34, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(300px, calc(100% - 40px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
}

.hero-visual strong {
  display: block;
  color: var(--ink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-inline: clamp(20px, 5vw, 72px);
  border: 1px solid var(--line);
  background: var(--line);
}

.metrics div {
  min-height: 142px;
  padding: 24px;
  background: white;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 11vw, 138px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
}

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

.card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.card-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 8px;
  background: #e4f3ef;
  color: var(--forest);
  font-weight: 900;
}

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

.process-section {
  background: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  border-top: 2px solid var(--forest);
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 190px;
  padding: 28px 28px 0 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px white;
}

.timeline span {
  display: block;
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 64px);
  border-radius: 8px;
  background: var(--forest);
  color: white;
}

.contact p,
.contact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.contact h2 {
  max-width: 650px;
  margin-bottom: 16px;
}

.contact .button.primary {
  white-space: nowrap;
  background: var(--gold);
  color: #2d2508;
  box-shadow: none;
}

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

  .service-grid,
  .timeline,
  .metrics {
    grid-template-columns: 1fr;
  }

  .timeline {
    border-top: 0;
    border-left: 2px solid var(--forest);
  }

  .timeline li {
    min-height: auto;
    padding: 0 0 32px 28px;
  }

  .timeline li::before {
    top: 4px;
    left: -10px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.6rem);
  }

  .button {
    width: 100%;
  }

  .hero-visual figcaption {
    position: static;
    width: 100%;
    margin-top: 10px;
    border-color: var(--line);
  }

  .metrics {
    margin-top: 14px;
  }

  .contact {
    margin-inline: 20px;
  }
}
