/* ===== 北京知行智研科技有限公司 · 样式 v2（暖色 / 编辑风） ===== */
:root {
  --green: #0B3D2E;
  --green-2: #145C43;
  --amber: #F4A300;
  --ink: #20242b;
  --muted: #6b7280;
  --line: #ece5d8;
  --bg: #FBF7F0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(11, 61, 46, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Georgia, system-ui, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.site-header { background: var(--white); border-bottom: 3px solid var(--amber); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand .name { font-weight: 800; font-size: 17px; color: var(--green); letter-spacing: .5px; }
.brand .name small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 1.5px; font-weight: 500; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { padding: 9px 16px; font-size: 15px; color: var(--ink); position: relative; transition: .2s; }
.nav-links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--amber); transform: scaleX(0); transition: .2s; }
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green); font-weight: 700; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--green); }

/* Hero（居中编辑风） */
.hero { background: radial-gradient(circle at 50% 0%, var(--green-2), var(--green) 70%); color: #fff; padding: 90px 0 96px; text-align: center; }
.hero img { width: 120px; height: 120px; margin: 0 auto 22px; filter: drop-shadow(0 14px 26px rgba(0,0,0,.35)); }
.hero h1 { font-size: 42px; line-height: 1.25; margin-bottom: 16px; }
.hero h1 span { color: var(--amber); }
.hero p { font-size: 18px; color: #dfe9e2; max-width: 600px; margin: 0 auto; }
.hero .cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; transition: .2s; cursor: pointer; }
.btn-primary { background: var(--amber); color: #3a2700; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244,163,0,.4); }
.btn-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* 区块 */
.section { padding: 74px 0; }
.section-title { font-size: 30px; color: var(--green); margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 38px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--amber); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: .2s; }
.card:hover { transform: translateY(-4px); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green); color: var(--amber); display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; font-size: 20px; }
.card h3 { font-size: 19px; color: var(--green); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card ul { margin-top: 12px; color: var(--muted); font-size: 14px; padding-left: 18px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat .num { font-size: 34px; font-weight: 800; color: var(--green); }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 4px; }

.list { display: grid; gap: 18px; }
.list .item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.list .badge { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--amber); color: #3a2700; display: grid; place-items: center; font-weight: 800; }
.list .item h4 { color: var(--green); font-size: 17px; margin-bottom: 4px; }
.list .item p { color: var(--muted); font-size: 15px; }

.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.member .avatar { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--amber)); display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 800; }
.member h4 { color: var(--green); }
.member .role { color: var(--amber); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.member p { color: var(--muted); font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.contact-info li { list-style: none; padding: 14px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 12px; }
.contact-info li b { color: var(--green); width: 84px; flex: 0 0 auto; }
.contact-info li span { color: var(--muted); }
.map-box { background: var(--green); border-radius: var(--radius); min-height: 220px; display: grid; place-items: center; color: #dfe9e2; }

.footer { background: var(--green); color: #dfe9e2; padding: 40px 0; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer a:hover { color: var(--amber); }
.footer .copy { font-size: 13px; color: #9db5aa; }
.footer .copy a { color: #9db5aa; text-decoration: underline; text-underline-offset: 3px; }
.footer .copy a:hover { color: var(--amber); }

@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 24px; border-bottom: 3px solid var(--amber); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
}
