/* ===== 设计令牌：护眼配色，禁纯白底/纯黑字 ===== */
:root{
  --bg:           #f5f1e8;   /* 米白底，护眼 */
  --bg-alt:       #ede7d8;   /* 次级背景，区分版块 */
  --surface:      #fbf8f0;   /* 卡片表面 */
  --text:         #2b2a26;   /* 深棕灰文字，不是纯黑 */
  --text-soft:    #4a4842;   /* 次要文字 */
  --text-mute:    #7a786f;   /* 辅助说明 */
  --brand:        #264a73;   /* 沉稳商务蓝 */
  --brand-hover:  #1b3a5e;
  --accent:       #b89968;   /* 暖金点缀 */
  --line:         #d9d3c2;   /* 分割线 */
  --shadow:       0 1px 2px rgba(43,42,38,.04), 0 8px 24px rgba(43,42,38,.06);
  --radius:       14px;
  --radius-sm:    8px;
  --maxw:         1120px;
}

/* ===== 基础重置 ===== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,svg{ display:block; max-width:100%; }
a{ color:var(--brand); text-decoration:none; transition:color .2s ease; }
a:hover{ color:var(--brand-hover); }
h1,h2,h3{ color:var(--text); font-weight:700; letter-spacing:.01em; line-height:1.25; }
h1{ font-size: clamp(1.9rem, 4vw + 1rem, 3.2rem); margin:0 0 .8em; }
h2{ font-size: clamp(1.5rem, 1.5vw + 1rem, 2.1rem); margin:0 0 .6em; }
h3{ font-size:1.15rem; margin:0 0 .5em; }
p{ margin:0 0 1em; color:var(--text-soft); }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 头部 / 导航 ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(245,241,232,.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:var(--text);
}
.brand:hover{ color:var(--text); }
.brand-mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:10px;
  background:var(--brand); color:#f5f1e8;
  font-weight:800; font-size:1.05rem;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-cn{ font-weight:700; font-size:1rem; }
.brand-en{ font-size:.72rem; color:var(--text-mute); letter-spacing:.02em; }

.nav{ display:flex; gap:28px; align-items:center; }
.nav a{
  color:var(--text-soft);
  font-size:.95rem;
  padding:6px 2px;
  border-bottom:2px solid transparent;
}
.nav a:hover{ color:var(--brand); border-bottom-color: var(--brand); }

.nav-toggle{
  display:none;
  background:transparent; border:0;
  width:40px; height:40px;
  padding:0; cursor:pointer;
  flex-direction:column; justify-content:center; gap:5px;
}
.nav-toggle span{
  display:block; height:2px; width:22px; margin:0 auto;
  background:var(--text); border-radius:2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ===== Hero ===== */
.hero{
  padding: clamp(64px, 12vw, 128px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(38,74,115,.10), transparent 60%),
    radial-gradient(800px 300px at -10% 20%, rgba(184,153,104,.12), transparent 60%),
    var(--bg);
}
.hero-eyebrow{
  color: var(--brand);
  font-size:.85rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin:0 0 1.2em;
  font-weight:600;
}
.hero-sub{
  font-size: clamp(1rem, .4vw + .95rem, 1.15rem);
  max-width: 640px;
  color: var(--text-soft);
  margin-bottom: 2em;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ===== 按钮 ===== */
.btn{
  display:inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size:.95rem;
  font-weight:600;
  letter-spacing:.02em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background: var(--brand);
  color: #f5f1e8;
}
.btn-primary:hover{
  background: var(--brand-hover);
  color: #f5f1e8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(38,74,115,.25);
}
.btn-ghost{
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover{
  background: var(--brand);
  color: #f5f1e8;
}

/* ===== 区块 ===== */
.section{
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-alt{
  background: var(--bg-alt);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.eyebrow{
  color: var(--accent);
  font-size:.8rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:600;
  margin: 0 0 .6em;
}
.lead{
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ===== 网格 ===== */
.grid{ display:grid; gap:24px; }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ===== 服务卡 ===== */
.card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(38,74,115,.3);
}
.card-icon{
  width:48px; height:48px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(38,74,115,.08);
  color: var(--brand);
  margin-bottom: 18px;
}
.card h3{ color: var(--text); }
.card p{ margin:0; color: var(--text-soft); font-size:.95rem; }

/* ===== 关于我们 ===== */
.about-wrap{
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text .eyebrow{ text-align:left; }
.bullet{
  list-style:none;
  padding:0;
  margin: 1em 0 0;
}
.bullet li{
  position:relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-soft);
}
.bullet li::before{
  content:"";
  position:absolute;
  left:0; top:.7em;
  width:10px; height:10px;
  background: var(--accent);
  border-radius: 3px;
  transform: rotate(45deg);
}
.about-stats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.stat{
  text-align:center;
  padding: 18px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.stat .num{
  display:block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}
.stat .label{
  display:block;
  font-size:.85rem;
  color: var(--text-mute);
}

/* ===== 联系我们 ===== */
.contact-grid{ align-items: stretch; }
.contact-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
}
.contact-card h3{
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.contact-card dl{ margin:0 0 20px; }
.contact-card dt{
  font-size:.78rem;
  color: var(--text-mute);
  letter-spacing:.08em;
  text-transform: uppercase;
  margin-top: 14px;
}
.contact-card dt:first-of-type{ margin-top:0; }
.contact-card dd{
  margin: 4px 0 0;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.55;
}

/* ===== 页脚 ===== */
.site-footer{
  margin-top: 40px;
  background: #1f1d18;
  color: #c9c4b6;
  padding: 48px 0 24px;
}
.footer-wrap{
  display:flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand{
  display:flex; flex-direction:column; gap:6px;
  max-width: 560px;
}
.footer-brand strong{ color:#f0ead9; font-weight:600; font-size:1rem; }
.footer-brand span{ font-size:.85rem; color:#a59f8e; }
.footer-nav{ display:flex; gap:24px; flex-wrap:wrap; align-items:flex-start; }
.footer-nav a{ color:#c9c4b6; font-size:.9rem; }
.footer-nav a:hover{ color:#f0ead9; }
.footer-meta{
  padding-top: 18px;
  font-size:.82rem;
  color:#8a8576;
}

/* ===== 隐私政策页 ===== */
.legal{
  padding: clamp(56px, 8vw, 96px) 0;
}
.legal article{
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 56px);
}
.legal h1{ font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem); }
.legal h2{ font-size: 1.2rem; margin-top: 1.8em; padding-top: 1em; border-top: 1px dashed var(--line); }
.legal h2:first-of-type{ border-top:0; padding-top:0; margin-top:1em; }
.legal p, .legal li{ color: var(--text-soft); font-size:.97rem; }
.legal ul{ padding-left: 22px; }
.legal .meta{
  font-size:.85rem;
  color: var(--text-mute);
  margin-bottom: 2em;
}

/* ===== 响应式 ===== */
@media (max-width: 960px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-wrap{ grid-template-columns: 1fr; gap:32px; }
}
@media (max-width: 720px){
  .nav-toggle{ display:flex; }
  .nav{
    position:absolute; top:64px; right:0; left:0;
    flex-direction:column; gap:0;
    background: var(--bg);
    border-bottom:1px solid var(--line);
    padding: 8px 24px 16px;
    transform: translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav a{
    padding: 12px 0;
    border-bottom:1px solid var(--line);
    width: 100%;
  }
  .nav a:last-child{ border-bottom:0; }
  .site-header.menu-open .nav{
    opacity:1;
    transform: translateY(0);
    pointer-events:auto;
  }
  .grid-4{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-wrap{ flex-direction:column; gap:24px; }
}
