:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #66727d;
  --line: #dce4ea;
  --panel: #ffffff;
  --soft: #f5f7f2;
  --brand: #0d6b63;
  --brand-dark: #094d48;
  --accent: #c98937;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 228, 234, 0.85);
  background: rgba(251, 252, 250, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(62vw, 520px);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #34414a;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 64px;
}

.hero-copy {
  max-width: 640px;
}

.hero-logo {
  width: min(100%, 360px);
  margin: 0 0 26px;
  background: transparent;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.lead {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-weight: 700;
}

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

.button.secondary {
  color: var(--brand-dark);
  background: transparent;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(23, 32, 38, 0.16);
}

.hero-media img {
  width: 100%;
  height: min(62vh, 620px);
  min-height: 420px;
  object-fit: cover;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics div {
  padding: 28px clamp(20px, 5vw, 72px);
  border-right: 1px solid var(--line);
}

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

.metrics strong {
  display: block;
  color: var(--brand-dark);
  font-size: 34px;
  line-height: 1;
}

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

.section,
.band,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

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

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

.service-grid article,
.case-list article,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-grid article {
  min-height: 220px;
  padding: 28px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 800;
}

.service-grid p,
.case-list p,
.contact p,
.band p,
.feature-list {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--soft);
}

.band-copy {
  max-width: 680px;
}

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

.feature-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 84px);
}

.case-list {
  display: grid;
  gap: 14px;
}

.case-list article {
  padding: 22px 24px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  background: var(--brand-dark);
  color: #fff;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-box {
  padding: 26px;
  color: var(--ink);
}

.contact-box p {
  margin-bottom: 10px;
  color: var(--ink);
}

.contact-box a {
  color: var(--brand-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-meta a {
  color: #4f5d66;
}

.footer-meta a:hover {
  color: var(--brand-dark);
}

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

  .brand {
    max-width: 100%;
  }

  .hero,
  .band,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

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

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

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

@media (max-width: 560px) {
  .nav {
    gap: 12px;
    font-size: 14px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 17px;
  }

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