:root {
  --ink: #14201f;
  --muted: #596966;
  --line: #d8e2df;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #107c75;
  --teal-dark: #0b504d;
  --amber: #d28a1d;
  --graphite: #202728;
  --shadow: 0 18px 48px rgba(20, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(20, 32, 31, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 0;
}

.brand-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  color: currentColor;
  font-size: 15px;
}

.nav a,
.footer-links a {
  opacity: 0.82;
}

.nav a:hover,
.footer-links a:hover,
.footer-record a:hover {
  opacity: 1;
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  border: 1px solid currentColor;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 20, 0.88) 0%, rgba(10, 20, 20, 0.66) 38%, rgba(10, 20, 20, 0.14) 78%),
    linear-gradient(180deg, rgba(10, 20, 20, 0.38) 0%, rgba(10, 20, 20, 0.15) 56%, rgba(247, 250, 248, 1) 100%);
}

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

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

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(16, 124, 117, 0.24);
}

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

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  background: var(--white);
  color: var(--teal-dark);
}

.contact-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.contact-note:hover,
.contact-note:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -54px;
  position: relative;
  z-index: 3;
  padding: 0;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 128px;
  padding: 24px;
  background: var(--white);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}

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

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

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

.service-card p,
.solution-list p,
.timeline p,
.contact-band p,
.site-footer p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #d9efeb;
  font-size: 13px;
  font-weight: 800;
}

.solutions {
  width: 100%;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
  background: #eaf2ef;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #cbd9d5;
}

.solution-list article {
  min-height: 196px;
  padding: 30px;
  background: #f9fbfa;
}

.delivery {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
}

.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline span {
  color: var(--amber);
  font-weight: 800;
}

.contact-band {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
  color: var(--white);
  background: var(--teal-dark);
}

.contact-band > div {
  max-width: 760px;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.site-footer {
  padding: 44px max(18px, calc((100% - 1160px) / 2)) 24px;
  color: rgba(255, 255, 255, 0.86);
  background: #172221;
}

.footer-main,
.footer-record {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-main {
  align-items: flex-start;
  padding-bottom: 28px;
}

.footer-main p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  white-space: nowrap;
}

.footer-record {
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

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

  .nav,
  .header-action {
    display: none;
  }

  .brand-text {
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: 820px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 20, 20, 0.88) 0%, rgba(10, 20, 20, 0.58) 62%, rgba(10, 20, 20, 0.2) 100%),
      linear-gradient(180deg, rgba(10, 20, 20, 0.24) 0%, rgba(247, 250, 248, 1) 100%);
  }

  .metrics,
  .service-grid,
  .solution-list,
  .intro,
  .delivery {
    grid-template-columns: 1fr 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 12px 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text {
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 96px;
    padding-bottom: 84px;
  }

  h1 {
    font-size: 42px;
  }

  .button {
    width: 100%;
  }

  .contact-note {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

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

  .metric {
    min-height: 108px;
  }

  .intro,
  .service-grid,
  .solution-list,
  .delivery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .timeline li {
    grid-template-columns: 46px 1fr;
  }

  .footer-main,
  .footer-record {
    flex-direction: column;
  }
}
