:root {
  --ink: #152033;
  --muted: #667085;
  --line: #d9e0ea;
  --brand: #b90012;
  --brand-dark: #8f0010;
  --accent: #5a5a5a;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --warm: #fff1f2;
  --shadow: 0 18px 45px rgba(21, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 234, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(52vw, 340px);
}

.brand-logo {
  width: auto;
  height: 52px;
  max-width: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 7vw 56px;
  background:
    linear-gradient(90deg, rgba(245, 248, 251, 0.98), rgba(255, 244, 226, 0.8)),
    url("office-pattern.svg");
  background-size: cover, 520px;
  background-position: center, right bottom;
}

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

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  line-height: 1.14;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(40px, 6vw, 72px);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.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: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(23, 105, 170, 0.22);
}

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

.button.secondary {
  color: var(--brand);
  border-color: rgba(23, 105, 170, 0.25);
  background: #fff;
}

.hero-visual {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 7vw;
  transform: translateY(-28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.08);
}

.stats div {
  padding: 28px 18px;
  text-align: center;
  background: #fff;
}

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

.stats span {
  color: var(--muted);
  font-size: 14px;
}

.section,
.contact {
  padding: 74px 7vw;
}

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

.section h2,
.contact h2 {
  font-size: clamp(28px, 4vw, 44px);
}

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

.service-card,
.value-grid div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 54px;
  height: 54px;
}

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

.service-card p,
.value-grid p,
.about > p,
.split p,
.contact p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: center;
  background: var(--soft);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.case-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about {
  background: #fff;
}

.about > p {
  max-width: 820px;
  margin-top: -12px;
  font-size: 17px;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: start;
  color: #fff;
  background: var(--ink);
}

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

.qr-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.service-avatar {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(21, 32, 51, 0.15);
}

.qr-content h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.qr-content p,
.contact-lines p {
  margin: 0;
  color: var(--muted);
}

.qr-image {
  width: min(100%, 260px);
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-lines {
  display: grid;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  padding: 26px 7vw;
  color: var(--muted);
  background: #f8fafc;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .brand {
    max-width: 62vw;
  }

  .brand-logo {
    height: 42px;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .section,
  .contact {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-visual {
    padding: 10px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-left: 20px;
    margin-right: 20px;
  }

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