/* 碧利福官网 —— 深海军蓝 + 鎏金 企业级设计 */
@import url('https://fonts.loli.net/css2?family=ZCOOL+XiaoWei&display=swap');

:root {
  --navy: #0a2540;
  --navy-2: #123c6b;
  --gold: #d4a555;
  --gold-2: #e8c17a;
  --ink: #1a2b3c;
  --text2: #5a6b7d;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #e3e9f1;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 14px 44px rgba(10, 37, 64, 0.16);
}

/* 魏碑体（站酷小薇基于魏碑刻字，含系统魏碑/新魏回退） */
.weibei {
  font-family: 'ZCOOL XiaoWei', 'FZWeiBei-S10', '方正魏碑', '华文魏碑', 'STWeibei',
    '华文新魏', 'STXinwei', '楷体', 'KaiTi', 'STKaiti', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部标语 ---------- */
.top-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--gold-2);
  text-align: center;
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 10px;
  padding: 16px 12px 14px;
  text-indent: 10px; /* 平衡字间距 */
}

/* ---------- 导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--gold-2);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'ZCOOL XiaoWei', '楷体', serif;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}
.brand-text { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.brand-text em { display: block; font-style: normal; font-size: 11px; color: var(--text2); letter-spacing: 3px; font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  padding: 9px 16px;
  font-size: 15.5px;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.18s ease;
  position: relative;
}
.site-nav a:hover { color: var(--navy-2); background: rgba(18, 60, 107, 0.07); }
.site-nav a.active { color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 380px at 15% -10%, rgba(212, 165, 85, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 420px at 90% 110%, rgba(78, 158, 255, 0.14), transparent 60%),
    linear-gradient(150deg, #081e35 0%, var(--navy) 45%, #0d2f57 100%);
  color: #fff;
  padding: 96px 0 110px;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero > * { position: relative; }
.hero-eyebrow { font-size: 14px; letter-spacing: 6px; color: var(--gold-2); opacity: 0.92; margin-bottom: 18px; }
.hero-slogan {
  font-size: clamp(34px, 6vw, 60px);
  letter-spacing: clamp(6px, 1.6vw, 16px);
  color: var(--gold-2);
  line-height: 1.35;
  text-shadow: 0 6px 30px rgba(212, 165, 85, 0.25);
  margin-bottom: 22px;
}
.hero-sub { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.82); letter-spacing: 2px; margin-bottom: 44px; }
.hero-sub b { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 165, 85, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212, 165, 85, 0.45); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-title { font-size: clamp(24px, 3vw, 32px); color: var(--navy); font-weight: 700; letter-spacing: 2px; }
.section-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ---------- 服务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212, 165, 85, 0.5); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 60, 107, 0.09), rgba(212, 165, 85, 0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.card-name { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.card-desc { font-size: 14.5px; color: var(--text2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { font-size: 14px; color: var(--navy-2); font-weight: 600; letter-spacing: 1px; }
.card-more::after { content: ' →'; }

/* ---------- 数字亮点带 ---------- */
.stats-band {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 54px 0;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.stat-num { font-size: clamp(26px, 3.4vw, 36px); color: var(--gold-2); font-weight: 700; letter-spacing: 1px; }
.stat-label { font-size: 14.5px; color: rgba(255,255,255,0.78); margin-top: 6px; letter-spacing: 2px; }

/* ---------- 二级页面 ---------- */
.page-wrap { max-width: 860px; margin: 0 auto; padding: 56px 24px 90px; }
.crumb { font-size: 14px; color: var(--text2); margin-bottom: 30px; letter-spacing: 1px; }
.crumb a:hover { color: var(--navy-2); }
.crumb b { color: var(--navy); font-weight: 600; }
.page-hero { text-align: center; margin-bottom: 44px; }
.page-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.page-subtitle { font-size: 16px; color: var(--gold); letter-spacing: 3px; }
.page-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 52px);
}
.page-body p {
  font-size: 16.5px;
  line-height: 2.2;
  color: var(--ink);
  margin-bottom: 22px;
  text-align: justify;
}
.page-body p:last-child { margin-bottom: 0; }

/* ---------- 二维码区块 ---------- */
.qr-section {
  margin-top: 40px;
  padding: 46px 28px;
  text-align: center;
  border: 1px dashed rgba(212, 165, 85, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 165, 85, 0.06), rgba(18, 60, 107, 0.04));
}
.qr-card {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.qr-card img { width: clamp(200px, 34vw, 260px); height: auto; border-radius: 8px; }
.qr-placeholder {
  width: clamp(200px, 34vw, 260px);
  aspect-ratio: 1;
  border: 2px dashed rgba(10, 37, 64, 0.25);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  font-size: 14px;
  gap: 8px;
  letter-spacing: 1px;
}
.qr-placeholder span.qr-icon { font-size: 40px; opacity: 0.35; }
.qr-caption { margin-top: 18px; font-size: 15.5px; color: var(--navy); letter-spacing: 2px; font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 44px 0 34px;
  text-align: center;
  font-size: 14px;
}
.footer-brand { font-size: 22px; color: var(--gold-2); letter-spacing: 8px; margin-bottom: 12px; text-indent: 8px; }
.footer-company { letter-spacing: 1px; margin-bottom: 8px; }
.footer-beian a { color: rgba(255, 255, 255, 0.6); letter-spacing: 1px; transition: color 0.18s; }
.footer-beian a:hover { color: var(--gold-2); }

/* ---------- 加载与空态 ---------- */
.loading { text-align: center; padding: 120px 24px; color: var(--text2); letter-spacing: 2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .top-banner { letter-spacing: 6px; font-size: 17px; padding: 12px 8px 10px; text-indent: 6px; }
  .header-inner { justify-content: center; }
  .brand { width: 100%; justify-content: center; margin-bottom: 4px; }
  .site-nav { justify-content: center; }
  .site-nav a { padding: 8px 12px; font-size: 14.5px; }
  .hero { padding: 64px 0 78px; }
  .hero-actions .btn { padding: 12px 26px; font-size: 15px; }
  .section { padding: 56px 0; }
  .page-wrap { padding: 36px 18px 70px; }
}
