:root {
  --ink: #202422;
  --muted: #626b66;
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --teal: #0f766e;
  --teal-dark: #0c4f4a;
  --teal-soft: #d9f0ec;
  --brass: #b7791f;
  --brass-soft: #f5dfb7;
  --red: #9f3a2f;
  --red-soft: #f4d9d4;
  --line: #d9d1c2;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(32, 36, 34, 0.12);
  --shadow-lift: 0 28px 60px rgba(32, 36, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 34%),
    repeating-linear-gradient(0deg, rgba(183, 121, 31, 0.045) 0 1px, transparent 1px 34px),
    var(--paper);
  font-family:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", "Microsoft YaHei",
    serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 0 6vw;
  background: rgba(246, 241, 232, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--teal-dark), var(--red));
  border-radius: 6px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-width: 86px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(183, 121, 31, 0.12));
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--brass), var(--teal), var(--red));
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 22, 0.94) 0%, rgba(20, 23, 22, 0.74) 38%, rgba(20, 23, 22, 0.16) 74%),
    linear-gradient(180deg, rgba(20, 23, 22, 0.05), rgba(20, 23, 22, 0.3));
}

.hero-content {
  position: relative;
  width: min(720px, 88vw);
  margin-left: 6vw;
  color: var(--paper-strong);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 1.12;
  font-weight: 800;
}

.hero-content p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 20px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 28px;
}

.hero-stats div {
  min-height: 102px;
  padding: 18px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.11);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  color: var(--brass-soft);
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 241, 0.76);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--red));
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.button.secondary {
  color: var(--paper-strong);
  border-color: rgba(255, 250, 241, 0.46);
}

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

.section,
.service-grid,
.detail-band,
.contact-panel,
.pulse-strip,
.about-stats {
  width: min(1180px, 88vw);
  margin: 0 auto;
}

.intro,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  padding: 90px 0;
}

.intro h2,
.split h2,
.detail-band h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.25;
}

.intro > p,
.split > p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 24px 0 96px;
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: -28px;
  margin-bottom: 22px;
}

.pulse-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--teal-dark);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--brass);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(32, 36, 34, 0.08);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.service-card {
  min-height: 310px;
  padding: 30px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: var(--shadow-lift);
}

.service-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
}

.service-card:nth-child(2) .service-number {
  color: var(--teal);
}

.service-card:nth-child(3) .service-number {
  color: var(--brass);
}

.service-card h2 {
  margin: 26px 0 14px;
  font-size: 27px;
}

.service-card p {
  min-height: 82px;
  color: var(--muted);
}

.service-card a {
  color: var(--teal-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.process-band,
.detail-band,
.metrics,
.contact-panel {
  padding: 54px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.25), transparent 42%),
    linear-gradient(315deg, rgba(159, 58, 47, 0.18), transparent 44%),
    var(--ink);
  color: var(--paper-strong);
  border-radius: 8px;
}

.process-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  margin-bottom: 28px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
}

.steps strong {
  color: var(--paper-strong);
}

.steps span {
  color: rgba(255, 250, 241, 0.72);
}

.tag-list,
.deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span,
.deliverables span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.64);
  color: var(--ink);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.tag-list span:nth-child(3n + 1) {
  border-color: rgba(15, 118, 110, 0.28);
  background: var(--teal-soft);
}

.tag-list span:nth-child(3n + 2) {
  border-color: rgba(183, 121, 31, 0.28);
  background: var(--brass-soft);
}

.tag-list span:nth-child(3n + 3) {
  border-color: rgba(159, 58, 47, 0.22);
  background: var(--red-soft);
}

.page-hero {
  padding: 110px 6vw 92px;
  background:
    linear-gradient(120deg, rgba(32, 36, 34, 0.9), rgba(12, 79, 74, 0.72), rgba(159, 58, 47, 0.46)),
    url("hero-digitization.png") center / cover;
  color: var(--paper-strong);
}

.page-hero h1 {
  margin-bottom: 18px;
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-list article {
  padding: 26px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-list article:nth-child(2) {
  border-left-color: var(--brass);
}

.content-list article:nth-child(3) {
  border-left-color: var(--red);
}

.content-list article:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 35px rgba(32, 36, 34, 0.1);
}

.content-list h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.content-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-band {
  margin-bottom: 88px;
}

.detail-band h2 {
  margin-bottom: 26px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 88px;
}

.metrics div {
  padding: 24px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
}

.metrics span {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.metrics p {
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.72);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 38px 0 0;
}

.about-stats div {
  min-height: 142px;
  padding: 26px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(32, 36, 34, 0.08);
}

.about-stats strong {
  display: block;
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.12;
}

.about-stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 88px;
}

.contact-panel p {
  margin-bottom: 8px;
  color: rgba(255, 250, 241, 0.76);
}

.site-footer {
  padding: 34px 6vw;
  background: #151816;
  color: var(--paper-strong);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 250, 241, 0.62);
}

.site-footer a {
  color: var(--brass);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.58);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
}

.footer-legal a {
  color: rgba(255, 250, 241, 0.72);
  font-weight: 400;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 6vw 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(20, 23, 22, 0.9), rgba(20, 23, 22, 0.5));
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-content p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  .intro h2,
  .split h2,
  .detail-band h2,
  .contact-panel h2 {
    font-size: 30px;
  }

  .hero-stats,
  .pulse-strip,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .intro,
  .split,
  .process-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0;
  }

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

  .process-band,
  .detail-band,
  .metrics,
  .contact-panel {
    width: min(1180px, 90vw);
    padding: 30px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-panel,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 570px;
  }

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

  .button {
    width: 100%;
  }
}
