:root {
  --ink: #172033;
  --muted: #687386;
  --line: #e5e9f0;
  --brand: #0f8b6f;
  --brand-dark: #086653;
  --accent: #f36f45;
  --paper: #ffffff;
  --soft: #f5f7f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 233, 240, 0.86);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

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

.brand strong {
  font-size: 18px;
  line-height: 22px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  color: #465269;
  font-size: 15px;
}

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

.nav-cta,
.primary-btn,
.secondary-btn {
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
}

.nav-cta,
.primary-btn {
  background: var(--brand);
  color: #fff;
}

.nav-cta:hover,
.primary-btn:hover {
  background: var(--brand-dark);
}

.secondary-btn {
  border: 1px solid rgba(23, 32, 51, 0.18);
  background: #fff;
}

.hero {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 96px clamp(22px, 6vw, 84px);
  overflow: hidden;
  background: #101d24;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 24, 30, 0.9) 0%, rgba(9, 24, 30, 0.72) 42%, rgba(9, 24, 30, 0.18) 100%),
    url("./assets/hero.png") center / cover;
}

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

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

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1.02;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

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

.stats {
  width: min(1120px, calc(100% - 44px));
  margin: -54px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.12);
  overflow: hidden;
}

.stats div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: none;
}

.stats strong {
  display: block;
  font-size: 34px;
}

.stats span {
  margin-top: 8px;
  display: block;
  color: var(--muted);
}

.section,
.process-band,
.contact {
  width: min(1120px, calc(100% - 44px));
  margin: 88px auto 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2,
.promise-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.section-head p:not(.eyebrow),
.promise-copy p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.service-card {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  background: #edf1f3;
}

.service-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card span {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand);
  font-weight: 800;
}

.process-band {
  padding: 44px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}

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

.process-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-grid span {
  color: var(--accent);
  font-weight: 900;
}

.process-grid h3 {
  margin: 14px 0 10px;
  font-size: 21px;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.promise-list div {
  min-height: 96px;
  padding: 24px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: #253047;
  font-weight: 800;
}

.contact {
  margin-bottom: 72px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-card {
  padding: 26px;
  border-radius: 8px;
  background: #f7faf8;
}

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

.contact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.contact-card p {
  margin-bottom: 0;
}

.site-footer {
  min-height: 76px;
  padding: 0 clamp(22px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111923;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 590px;
    padding: 80px 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .stats,
  .service-grid,
  .process-grid,
  .promise-list {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: none;
  }

  .process-band,
  .contact {
    padding: 28px;
  }

  .site-footer {
    padding: 24px 22px;
    display: block;
    line-height: 1.8;
  }
}
