:root {
  --ink: #12151c;
  --ink-soft: #3d4452;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --gold: #b58a3a;
  --gold-deep: #8c6424;
  --navy: #1b2433;
  --line: rgba(18, 21, 28, 0.12);
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(18, 21, 28, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

h1, h2, h3, .logo strong, .footer-brand strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  background:
    linear-gradient(135deg, rgba(181, 138, 58, 0.12), transparent 55%),
    var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 18px;
}

.logo-text small {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 80% 10%, rgba(181, 138, 58, 0.16), transparent 36%),
    linear-gradient(180deg, #f7f2e8 0%, #efe7d8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 138, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 58, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 20px;
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.hero-panel {
  background: var(--navy);
  color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-kicker {
  letter-spacing: 0.2em;
  font-size: 12px;
  color: #d4b36a;
  margin-bottom: 18px;
}

.hero-panel li {
  list-style: none;
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
}

.hero-panel li span {
  color: #d4b36a;
  font-variant-numeric: tabular-nums;
}

.about,
.ai,
.services,
.process,
.contact {
  padding: 88px 0;
}

.about {
  background: var(--white);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.about h2,
.ai h2,
.contact h2,
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.about-body p + p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.stats div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.stats dt {
  font-size: 13px;
  color: var(--ink-soft);
}

.stats dd {
  margin-top: 6px;
  font-weight: 500;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p:last-child {
  margin-top: 12px;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 180px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.card.featured p {
  color: rgba(255, 253, 248, 0.74);
}

.ai {
  background:
    radial-gradient(circle at 12% 20%, rgba(181, 138, 58, 0.14), transparent 42%),
    var(--paper-2);
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ai-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.ai-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ai-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.process {
  background: var(--navy);
  color: var(--white);
}

.process .eyebrow {
  color: #d4b36a;
}

.process .section-head p,
.process p {
  color: rgba(255, 253, 248, 0.74);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.steps li {
  list-style: none;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  min-height: 210px;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: #d4b36a;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  font-size: 13px;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.contact-card {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-card > p:first-child {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

.contact-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 24px;
  font-family: "Noto Serif SC", serif;
}

.contact-card .phone {
  display: inline-block;
  margin: 4px 0 14px;
  font-size: 28px;
  letter-spacing: 0.04em;
  font-family: "Noto Serif SC", serif;
}

.contact-card .phone:hover {
  color: var(--gold-deep);
}

.hint {
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  background: #10131a;
  color: rgba(255, 253, 248, 0.78);
  padding: 36px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 6px;
}

.footer-brand a:hover {
  color: #d4b36a;
}

.beian {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
}

.beian a:hover {
  color: #d4b36a;
}

.gongan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gongan img {
  width: 20px;
  height: 20px;
}

.copyright {
  padding-top: 16px;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .service-grid,
  .ai-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .stats,
  .footer-grid,
  .beian {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-grid,
  .beian {
    justify-items: start;
  }

  .hero,
  .about,
  .ai,
  .services,
  .process,
  .contact {
    padding: 64px 0;
  }
}
