:root {
  --ink: #171717;
  --muted: #666f78;
  --line: #e4e7eb;
  --paper: #ffffff;
  --soft: #f6f7f5;
  --accent: #246b5a;
  --accent-dark: #17483d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 1rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #42484f;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: clamp(450px, 72vh, 690px);
  overflow: hidden;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
}

.hero-content {
  width: min(720px, 88vw);
  padding: clamp(48px, 9vh, 86px) 0;
  color: #fff;
}

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

.hero .eyebrow {
  color: #d6fff2;
}

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

h1 {
  max-width: 690px;
  margin-right: auto;
  margin-bottom: 18px;
  margin-left: auto;
  font-size: clamp(2.2rem, 6.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow) {
  max-width: 610px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro {
  max-width: 820px;
  padding-top: clamp(34px, 6vw, 64px);
  padding-bottom: clamp(34px, 6vw, 64px);
}

.intro p {
  margin-bottom: 0;
  color: #2d3339;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  line-height: 1.45;
}

.section-heading {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-list article {
  min-height: 170px;
  padding: 28px;
  background: var(--paper);
}

.service-list p,
.split p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact {
  width: 100%;
  max-width: none;
  padding-right: 6vw;
  padding-left: 6vw;
  color: #fff;
  background: #20252a;
}

.contact .eyebrow {
  color: #9be7d2;
}

.contact p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
}

.contact .button {
  margin-top: 8px;
}

.site-footer {
  padding: 26px 6vw;
  color: #707982;
  background: #111315;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 94px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    justify-content: center;
    font-size: 0.9rem;
  }

  .hero {
    min-height: clamp(520px, 72vh, 640px);
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.46);
  }

  .hero-content {
    width: min(560px, 88vw);
    padding-right: 0;
    padding-left: 0;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.35rem);
  }

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

  .button {
    width: 100%;
  }
}
