:root {
  --ink: #17202a;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --line: #dbe3e8;
  --teal: #0f8a8a;
  --mint: #bff3e3;
  --gold: #c78a21;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

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

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  color: var(--teal);
}

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

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

.hero {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #ffffff;
  background: #17202a;
}

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

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 28, 36, 0.82), rgba(18, 28, 36, 0.42) 48%, rgba(18, 28, 36, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 35%, rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 80px;
}

.hero p,
.kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  color: #112427;
  font-weight: 800;
  background: var(--mint);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.about {
  background: var(--soft);
}

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

.kicker {
  color: var(--teal);
}

.lead {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.services h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row.reverse .service-copy {
  order: 2;
}

.service-copy span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
}

.service-copy p,
.contact p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.service-row img,
.contact img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.12);
}

.contact {
  padding: clamp(58px, 8vw, 96px) 0;
  background: var(--soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #d8dee4;
  background: #101820;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

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

  .brand-name {
    max-width: 62vw;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 21;
    display: none;
    padding: 12px 18px 16px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 20px 34px rgba(23, 32, 42, 0.12);
  }

  .site-nav.is-open {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(18, 28, 36, 0.84), rgba(18, 28, 36, 0.48));
  }

  .hero-content {
    padding-top: 74px;
  }

  .button {
    width: 100%;
    max-width: 260px;
  }

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

  .service-row.reverse .service-copy {
    order: 0;
  }

  .service-row {
    padding: 34px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
