/* ============ 基础变量与重置 ============ */
:root {
  --ink: #1a1a1a;
  --ink-soft: #444444;
  --gray: #757575;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f6;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { font-family: var(--serif); font-size: 20px; letter-spacing: 2px; font-weight: 700; }
.brand small { display: block; font-size: 10px; letter-spacing: 4px; color: var(--gray); font-weight: 400; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-size: 15px; color: var(--ink-soft); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: all .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); font-size: 20px; padding: 4px 12px; cursor: pointer; }

/* ============ 首屏 ============ */
.hero {
  background: linear-gradient(160deg, #f4f4f3 0%, #e9e9e7 60%, #dcdcda 100%);
  padding: 120px 0 100px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: "§"; position: absolute; right: -40px; bottom: -120px;
  font-family: var(--serif); font-size: 480px; color: rgba(0,0,0,.04);
  line-height: 1;
}
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 6px;
  color: var(--gray); border: 1px solid var(--gray);
  padding: 4px 14px; margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif); font-size: 46px; font-weight: 700;
  line-height: 1.35; margin-bottom: 22px;
}
.hero p.lead { color: var(--gray); font-size: 18px; max-width: 560px; margin-bottom: 40px; }
.btn {
  display: inline-block; padding: 13px 36px; font-size: 15px;
  letter-spacing: 2px; border: 1px solid var(--ink); transition: all .2s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-ghost { margin-left: 14px; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ============ 数据条 ============ */
.stats { background: var(--ink); color: #fff; padding: 44px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats .num { font-family: var(--serif); font-size: 34px; font-weight: 700; }
.stats .num span { font-size: 15px; margin-left: 4px; }
.stats .label { font-size: 13px; color: #bbb; letter-spacing: 2px; }

/* ============ 通用区块 ============ */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { margin-bottom: 56px; }
.sec-head .en {
  font-size: 12px; letter-spacing: 5px; color: var(--gray);
  text-transform: uppercase; margin-bottom: 10px;
}
.sec-head h2 {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  position: relative; padding-bottom: 18px;
}
.sec-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; background: var(--ink);
}
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 卡片 */
.card {
  background: #fff; border: 1px solid var(--line); padding: 36px 30px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.card .no {
  font-family: var(--serif); font-size: 15px; color: var(--gray);
  letter-spacing: 3px; margin-bottom: 14px;
}
.card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 14px; }
.card p { color: var(--gray); font-size: 15px; }
.card .more { display: inline-block; margin-top: 18px; font-size: 14px; letter-spacing: 2px; border-bottom: 1px solid var(--ink); }

/* 案例卡片 */
.case-card { border: 1px solid var(--line); background: #fff; }
.case-card .tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  background: var(--ink); color: #fff; padding: 4px 12px; margin: 24px 0 12px 24px;
}
.case-card h3 { font-family: var(--serif); font-size: 19px; padding: 0 24px; margin-bottom: 10px; }
.case-card p { padding: 0 24px 26px; color: var(--gray); font-size: 14.5px; }

/* 简介摘要 */
.about-brief { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.avatar {
  aspect-ratio: 3/4; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-brief h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }
.about-brief .title-line { color: var(--gray); font-size: 14px; letter-spacing: 2px; margin-bottom: 22px; }
.about-brief p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 16px; }

/* 业务详情页 */
.practice-item { border-left: 3px solid var(--ink); padding: 6px 0 6px 28px; margin-bottom: 40px; }
.practice-item h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.practice-item p { color: var(--gray); margin-bottom: 12px; }
.practice-item ul li {
  position: relative; padding-left: 18px; color: var(--ink-soft);
  font-size: 15px; margin-bottom: 6px;
}
.practice-item ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--gray);
}

/* 案例时间线 */
.case-entry { border: 1px solid var(--line); background: #fff; padding: 32px; margin-bottom: 28px; }
.case-entry .meta { font-size: 13px; color: var(--gray); letter-spacing: 1px; margin-bottom: 10px; }
.case-entry h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 12px; }
.case-entry p { color: var(--ink-soft); font-size: 15px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-list li {
  display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.contact-list .k { min-width: 84px; font-size: 13px; letter-spacing: 3px; color: var(--gray); padding-top: 3px; }
.contact-list .v { font-size: 16px; }
.contact-form label { display: block; font-size: 14px; margin: 18px 0 6px; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); padding: 12px 14px;
  font-size: 15px; font-family: var(--sans); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form button { margin-top: 24px; border: none; cursor: pointer; }
.qr-placeholder {
  width: 120px; height: 120px; border: 1px solid var(--line); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gray); text-align: center;
}

/* 页脚 */
.site-footer { background: var(--ink); color: #999; padding: 56px 0 32px; font-size: 13.5px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 36px; flex-wrap: wrap; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 17px; margin-bottom: 14px; letter-spacing: 2px; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { border-top: 1px solid #333; padding-top: 24px; color: #777; }
.site-footer .fine a { color: #aaa; }

/* 提示条（占位说明，上线前删除） */
.placeholder-note {
  background: #fffbe8; border: 1px solid #f0e2a0; color: #8a6d1a;
  font-size: 13px; padding: 10px 24px; text-align: center;
}

/* 动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 80px 0 64px; }
  .grid-3, .grid-2, .stats .wrap, .about-brief, .contact-grid { grid-template-columns: 1fr; }
  .stats .num { font-size: 28px; }
  .btn-ghost { margin-left: 0; margin-top: 12px; }
}
