:root {
  color-scheme: light;
  --ink: #151719;
  --muted: #586069;
  --paper: #f6f3ed;
  --surface: #ffffff;
  --line: #d8d3c9;
  --graphite: #202326;
  --teal: #2b7a78;
  --amber: #b8772e;
  --shadow: 0 18px 50px rgba(23, 25, 28, 0.14);
}

* {
  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.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 243, 237, 0.92);
  border-bottom: 1px solid rgba(32, 35, 38, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #181b1e;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 18, 0.91) 0%, rgba(15, 17, 18, 0.72) 42%, rgba(15, 17, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 17, 18, 0.68) 0%, rgba(15, 17, 18, 0) 36%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

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

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

.button.primary:hover {
  background: #236d6b;
}

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

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

.intro {
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.24;
}

.intro p {
  max-width: 980px;
  margin: 0;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 30px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 25, 28, 0.04);
}

.service-card h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
}

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

.service-card p {
  margin: 0;
}

.process {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1120px) / 2));
  padding-right: max(18px, calc((100vw - 1120px) / 2));
  background: #202326;
  color: #fff;
}

.process .section-heading {
  margin-left: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.steps span {
  display: block;
  margin-bottom: 28px;
  color: #d69753;
  font-weight: 850;
}

.steps strong {
  display: block;
  font-size: 1.12rem;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.contact p {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-left: 18px;
  }

  .service-grid,
  .steps,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    flex-direction: column;
    gap: 12px;
  }

  .site-header.is-scrolled {
    position: fixed;
  }

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

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.8rem);
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
