/* =========================================================
   蜀韵匠心装饰 · 企业站样式
   中性专业风：米白底 + 墨色字 + 深青灰点缀 + 细线分隔
   无 JS 依赖、无外部资源；内容在任何环境下都完整可见
   ========================================================= */

:root {
  --ink: #161a1d;
  --text: #3f474e;
  --muted: #767f87;
  --paper: #ffffff;
  --paper-2: #f7f7f4;
  --paper-3: #fbfbf8;
  --line: #e5e5e0;
  --line-soft: #eeeeea;
  --accent: #2f4f4f;
  --accent-soft: #eef2f1;
  --accent-line: #d9e2e0;

  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1080px;
  --shadow: 0 24px 50px -34px rgba(22, 26, 29, 0.55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- 顶部 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: block; }
.brand__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.4;
}
.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; flex-wrap: wrap; gap: 4px 30px; font-size: 14px; }
.nav a {
  position: relative;
  display: block;
  padding: 4px 0;
  color: var(--text);
  transition: color 0.22s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.28s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--ink); }

/* ---------- 首页主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(820px 420px at 82% -12%, #edf2f0 0%, rgba(237, 242, 240, 0) 68%),
    linear-gradient(180deg, #fbfbf8 0%, #ffffff 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 68px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 88px;
}
.hero__kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.3vw, 48px);
  line-height: 1.34;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
.hero__lead {
  max-width: 32em;
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--text);
  margin-bottom: 34px;
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__tags span {
  padding: 7px 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 2px;
}

/* 首页装饰面板（纯 CSS 绘制） */
.hero__art {
  position: relative;
  aspect-ratio: 1 / 1.04;
  background: var(--paper-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 26, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 26, 29, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero__art-frame { position: absolute; inset: 26px; border: 1px solid rgba(22, 26, 29, 0.14); }
.hero__arc {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 56%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(47, 79, 79, 0.55);
  border-radius: 50%;
}
.hero__arc::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(22, 26, 29, 0.16);
  border-radius: 50%;
}
.hero__rule {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 74%;
  height: 1px;
  background: rgba(22, 26, 29, 0.12);
}
.hero__char {
  position: absolute;
  right: 12%;
  bottom: 11%;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}
.hero__label {
  position: absolute;
  left: 26px;
  bottom: 20px;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- 通用区块 ---------- */
.sec { padding: 84px 0; }
.sec--alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sec__head { max-width: 660px; margin-bottom: 44px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__num {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.sec__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.5;
  margin: 0 0 14px;
}
.sec__desc { font-size: 14.5px; line-height: 1.95; color: var(--muted); margin: 0; }

/* ---------- 内页头部 ---------- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 340px at 88% -20%, #eef2f1 0%, rgba(238, 242, 241, 0) 70%),
    linear-gradient(180deg, #fbfbf8, #ffffff);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.42;
  margin: 0 0 18px;
}
.page-hero p { max-width: 46em; font-size: 14.8px; line-height: 2; color: var(--muted); margin: 0; }

/* ---------- 细线网格卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  padding: 34px 30px 36px;
  transition: background 0.25s ease;
}
.card:hover { background: var(--paper-3); }

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent);
  background: var(--paper);
}
.card:hover .card__icon { border-color: var(--accent-line); }
.card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__title { font-size: 16px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.card__text { font-size: 13.6px; line-height: 1.95; color: var(--muted); margin: 0; }
.card__list { margin-top: 16px; }
.card__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 68px;
  align-items: start;
}
.split__text p { font-size: 14.8px; line-height: 2.05; color: var(--text); }

.panel {
  padding: 34px 32px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.panel__title {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.panel__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.6px;
  line-height: 1.85;
  color: var(--text);
}
.panel__list li:first-child { padding-top: 0; }
.panel__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel__list strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- 流程 ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 1px;
  background: var(--line);
}
.step { position: relative; z-index: 1; }
.step__num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--accent);
}
.sec--alt .step__num { background: var(--paper-2); }
.step__title { font-size: 15.5px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.step__text { font-size: 13.2px; line-height: 1.9; color: var(--muted); margin: 0; }

/* ---------- 信息表 ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th,
.info-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.info-table th { width: 150px; color: var(--muted); font-weight: 400; }
.info-table td { color: var(--ink); }
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: 0; }

/* ---------- 文字列表 ---------- */
.list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ---------- 结尾呼应区 ---------- */
.closing {
  padding: 76px 0 84px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  text-align: center;
}
.closing h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.6;
  margin: 0 0 14px;
}
.closing p { max-width: 40em; margin: 0 auto 26px; font-size: 14px; color: var(--muted); }

.link-arrow {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.22s ease;
}
.link-arrow:hover { border-color: var(--accent); }

/* ---------- 页脚 ---------- */
.footer {
  padding: 54px 0 30px;
  background: #14181c;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.6px;
  line-height: 1.95;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__name { color: #fff; font-size: 15px; letter-spacing: 0.02em; margin: 0 0 6px; }
.footer__desc { margin: 0; font-size: 12px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.42); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13.2px; }
.footer__nav a { color: rgba(255, 255, 255, 0.68); transition: color 0.2s ease; }
.footer__nav a:hover { color: #fff; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: 12.2px;
  color: rgba(255, 255, 255, 0.44);
}
.footer__legal a { color: rgba(255, 255, 255, 0.5); }
.footer__legal a:hover { color: rgba(255, 255, 255, 0.85); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; padding-top: 64px; padding-bottom: 72px; }
  .hero__art { max-width: 460px; aspect-ratio: 1 / 0.9; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; }
  .steps::before { display: none; }
  .step__num { margin-bottom: 16px; }
}

@media (max-width: 660px) {
  body { font-size: 14.6px; }
  .wrap { padding: 0 20px; }
  .header__inner { padding-top: 14px; padding-bottom: 14px; }
  .brand__name { font-size: 15px; }
  .brand__sub { font-size: 10px; letter-spacing: 0.18em; }
  .nav { gap: 2px 20px; font-size: 13.5px; }
  .sec { padding: 58px 0; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .card { padding: 28px 24px 30px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step__title { margin-top: 6px; }
  .page-hero { padding: 52px 0 40px; }
  .closing { padding: 56px 0 62px; }
  .info-table th { width: 104px; }
  .panel { padding: 28px 24px; }
  .footer { padding: 42px 0 26px; }
  .hero__char { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
