:root {
  --ink: #17201d;
  --muted: #5d6964;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dde4df;
  --teal: #147d74;
  --green: #1fad75;
  --amber: #d88a1d;
  --charcoal: #111815;
  --shadow: 0 22px 70px rgba(24, 31, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(17, 24, 21, 0.58);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 24, 21, 0.46);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 72px) 70px;
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 14, 0.82) 0%, rgba(10, 16, 14, 0.54) 38%, rgba(10, 16, 14, 0.12) 78%),
    linear-gradient(0deg, rgba(10, 16, 14, 0.68) 0%, rgba(10, 16, 14, 0) 48%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  color: #fff;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

h2 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: #06110d;
  box-shadow: 0 12px 30px rgba(31, 173, 117, 0.32);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.dark {
  background: var(--charcoal);
  color: #fff;
  box-shadow: none;
}

.intro {
  padding: clamp(42px, 8vw, 84px) clamp(20px, 5vw, 72px);
  background: #f1f5ef;
}

.intro p {
  max-width: 1040px;
  margin: 0;
  color: #27342f;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
}

.section,
.split-section,
.contact-band {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 760px;
}

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

.card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.card p,
.step span,
.contact-band p,
.site-footer {
  color: var(--muted);
}

.card p {
  margin: 14px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  background: #eaf0ec;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid #cfdad3;
}

.step:last-child {
  border-bottom: 1px solid #cfdad3;
}

.step strong {
  color: var(--teal);
  font-size: 1.05rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background: var(--green);
  color: #06110d;
}

.contact-band h2 {
  max-width: 820px;
}

.contact-band p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(6, 17, 13, 0.72);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 840px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 116px;
  }

  h1 {
    max-width: 16ch;
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  h2 {
    max-width: 22ch;
  }

  .section-heading,
  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

  .hero-actions,
  .button {
    width: 100%;
  }

  .brand small {
    display: none;
  }
}
