:root {
  color-scheme: light;
  --ink: #18212b;
  --muted: #5c6977;
  --line: #d9e0e7;
  --paper: #f7f9fb;
  --white: #ffffff;
  --steel: #273544;
  --cyan: #06a7bd;
  --cyan-dark: #087f91;
  --amber: #c58b24;
  --green: #2d7b5f;
  --shadow: 0 24px 70px rgba(24, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 32px rgba(24, 33, 43, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 12px 28px rgba(6, 167, 189, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 112px clamp(20px, 6vw, 92px) 76px;
  overflow: hidden;
  background: var(--steel);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 19, 29, 0.88) 0%, rgba(10, 19, 29, 0.72) 38%, rgba(10, 19, 29, 0.18) 78%),
    linear-gradient(180deg, rgba(10, 19, 29, 0.18) 0%, rgba(10, 19, 29, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--cyan-dark);
}

.button.primary:hover {
  background: #066d7d;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: -46px auto 0;
  padding: 0 clamp(20px, 4vw, 32px);
  position: relative;
  z-index: 3;
}

.metrics div {
  min-height: 128px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metrics div:first-child {
  border-radius: 8px 0 0 8px;
}

.metrics div:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.metrics strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 32px);
}

.intro-grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.intro p,
.section-heading p,
.service-card p,
.process-step p,
.proof article p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.services {
  padding-top: 44px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

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

.service-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin-bottom: 56px;
  border-bottom: 2px solid var(--amber);
  color: var(--cyan-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.service-card h3 {
  margin-bottom: 14px;
}

.band {
  background: #eaf0f4;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.process-step {
  min-height: 300px;
  padding: 30px;
  background: var(--white);
}

.process-step span {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.process-step h3 {
  margin-bottom: 14px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.proof article {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.proof article p {
  margin-top: 18px;
}

.proof article span {
  display: block;
  margin-top: 34px;
  color: var(--cyan-dark);
  font-weight: 800;
  line-height: 1.45;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  padding: 92px clamp(20px, 6vw, 92px);
  color: var(--white);
  background: var(--steel);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.wide {
  grid-column: 1 / -1;
}

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

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 980px) {
  .service-grid,
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .section-heading,
  .cta {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 24px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 19, 29, 0.9), rgba(10, 19, 29, 0.58)),
      linear-gradient(180deg, rgba(10, 19, 29, 0.16), rgba(10, 19, 29, 0.72));
  }

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

  .metrics,
  .service-grid,
  .proof-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .metrics div,
  .metrics div:first-child,
  .metrics div:last-child {
    border-radius: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:first-child {
    border-radius: 8px 8px 0 0;
  }

  .metrics div:last-child {
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
  }

  .section {
    padding: 72px 20px;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .service-icon,
  .process-step span {
    margin-bottom: 34px;
  }

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