/* =====================================================
   领富网知产服务中心 - 企业官网样式 v2（简洁流畅版）
   主色：藏蓝 + 白色，金色点缀
   ===================================================== */
:root {
  --navy: #16305f;
  --navy-dark: #0e2143;
  --navy-700: #1d3d75;
  --navy-100: #e9eef7;
  --gold: #c8a45e;
  --gold-dark: #a9853f;
  --gold-soft: #faf4e8;
  --bg-soft: #f7f8fa;
  --text: #2a3446;
  --muted: #77829a;
  --line: #edf0f4;
  --white: #ffffff;
  --success: #2e9e6b;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(14, 33, 67, 0.06);
  --shadow-lg: 0 14px 36px rgba(14, 33, 67, 0.10);
  --maxw: 1120px;
}

/* 安全区（iPhone 刘海 / 底部小黑条 / 横屏左右） */
:root {
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;            /* 禁止 iOS / 微信按系统字号二次放大，避免版式错位 */
  -webkit-tap-highlight-color: transparent;  /* 去掉安卓与微信里的点击蓝色蒙层 */
  overflow-x: clip;                 /* 用 clip 而非 hidden：不创建滚动容器，避免破坏吸顶导航 */
}

body {
  /* 覆盖 iOS / 鸿蒙 / 小米 / 三星 等各品牌系统默认中文字体，避免字形差异导致换行错乱 */
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

/* 触摸设备：消除 300ms 点击延迟，手指控件不小于 44px 热区 */
a, button, .faq-q, .nav-toggle, .float-btn, input, select, textarea { touch-action: manipulation; }
.btn, .float-btn, .nav-toggle, .modal-close, .wf-copy-btn { min-height: 44px; }
.btn-sm { min-height: 36px; }

.container {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: calc(24px + var(--safe-l));
  padding-right: calc(24px + var(--safe-r));
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1.4;
  transition: all .2s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { border-color: #d7dde7; color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 36px; font-size: 16.5px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: #fff;                       /* 兜底：微信安卓内核 / 老版本 X5 不支持毛玻璃 */
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .site-header {
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  background: var(--navy); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text strong { display: block; font-size: 18px; color: var(--navy); letter-spacing: .5px; line-height: 1.3; }
.brand-text small { display: block; font-size: 11px; color: var(--muted); }

.main-nav { display: flex; gap: 2px; }
.main-nav a {
  padding: 8px 14px; font-size: 15px; color: var(--text);
  border-radius: 8px; font-weight: 500; transition: all .15s;
}
.main-nav a:hover { color: var(--navy); background: var(--bg-soft); }
.main-nav a.active { color: var(--navy); font-weight: 700; position: relative; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 1px;
  height: 2px; background: var(--gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-700) 100%);
  color: #fff;
}
.hero-inner { padding: 88px 0 60px; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); border: 1px solid rgba(200,164,94,.45);
  font-size: 13px; letter-spacing: 2px; padding: 5px 16px; border-radius: 20px; margin-bottom: 24px;
  max-width: 100%;
}
/* 流式字号：小屏自动缩小，大屏锁定上限，无需为每个机型单独写断点 */
.hero h1 { font-size: clamp(25px, 5.4vw, 40px); line-height: 1.35; letter-spacing: 1px; margin-bottom: 16px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(14.5px, 2.2vw, 17px); color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 28px; }
.hero-slogans { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 36px; }
.hero-slogans span { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(13.5px, 2vw, 15px); color: rgba(255,255,255,.88); }
.hero-slogans svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 30px 0 34px; border-top: 1px solid rgba(255,255,255,.14);
}
.advantage { text-align: center; padding: 0 6px; }
.advantage b { display: block; font-size: 19px; color: #fff; font-weight: 700; line-height: 1.3; letter-spacing: .5px; }
.advantage span { display: block; margin-top: 7px; font-size: 13px; color: rgba(255,255,255,.66); line-height: 1.5; }

/* ---------- 资质背书条 ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip .container {
  display: flex; justify-content: center; gap: 12px 48px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px;
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--navy); font-weight: 600; }
.trust-item svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; }

/* ---------- 区块通用 ---------- */
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow { color: var(--gold-dark); font-size: 13px; letter-spacing: 3px; font-weight: 600; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(21px, 3.4vw, 28px); color: var(--navy); letter-spacing: 1px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: clamp(14px, 1.5vw, 15.5px); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .25s ease; position: relative;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 17.5px; color: var(--navy); margin: 18px 0 8px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 14px; color: var(--gold-dark); font-size: 14px; font-weight: 600; }
.card .more:hover { text-decoration: underline; }

.icon-box {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--navy-100); display: flex; align-items: center; justify-content: center;
}
.icon-box svg { width: 26px; height: 26px; color: var(--navy); }
.icon-box.gold { background: var(--gold-soft); }
.icon-box.gold svg { color: var(--gold-dark); }

/* 服务详情卡 */
.svc-card { padding: 30px 28px; }
.svc-card .svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.svc-card h3 { margin: 0; }
.svc-block { margin-top: 16px; }
.svc-block b { display: block; font-size: 12.5px; color: var(--gold-dark); letter-spacing: 1.5px; margin-bottom: 4px; }
.svc-block p, .svc-block li { font-size: 14px; color: var(--muted); }
.svc-block ul li { padding-left: 14px; position: relative; }
.svc-block ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.svc-meta { display: flex; gap: 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-meta div { font-size: 12.5px; color: var(--muted); }
.svc-meta div b { display: block; font-size: 15px; color: var(--navy); }

/* ---------- 价格 ---------- */
.price-plans { align-items: stretch; }
.price-plan { text-align: center; display: flex; flex-direction: column; }
.price-plan.featured { border: 1.5px solid var(--gold); box-shadow: var(--shadow-lg); }
.price-plan .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 12px; padding: 3px 14px; border-radius: 12px; letter-spacing: 1px;
}
.price-plan .plan-name { font-size: 17px; color: var(--navy); font-weight: 700; margin-top: 4px; }
.price-plan .plan-price { font-size: 36px; color: var(--navy); font-weight: 700; margin: 12px 0 4px; }
.price-plan .plan-price i { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 400; }
.price-plan .plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-plan ul { text-align: left; margin: 0 0 24px; flex: 1; }
.price-plan ul li { font-size: 14px; color: var(--text); padding: 7px 0 7px 24px; position: relative; }
.price-plan ul li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 12px;
  background: var(--gold); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 11.5 2.5 8l1-1L6 9.5l6.5-6.5 1 1z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 11.5 2.5 8l1-1L6 9.5l6.5-6.5 1 1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.price-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.price-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.price-table th {
  background: var(--bg-soft); color: var(--navy); font-size: 14px; font-weight: 700;
  padding: 13px 20px; text-align: left; letter-spacing: .5px; white-space: nowrap;
}
.price-table td { padding: 13px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.name { color: var(--navy); font-weight: 600; white-space: nowrap; }
.price-table td.price { color: var(--gold-dark); font-weight: 700; white-space: nowrap; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ---------- 流程步骤 ---------- */
.steps { counter-reset: step; max-width: 820px; margin: 0 auto; }
.step-item { display: flex; gap: 22px; position: relative; padding-bottom: 38px; }
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: ""; position: absolute; left: 26px; top: 58px; bottom: 8px; width: 1px;
  background: var(--line);
}
.step-item:last-child::before { display: none; }
.step-num {
  counter-increment: step; flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-body h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 6px; }
.step-body p { font-size: 14.5px; color: var(--muted); max-width: 700px; }
.step-body .step-time { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--gold-dark); background: var(--gold-soft); padding: 2px 12px; border-radius: 12px; }

/* 横向流程条 */
.flow-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.flow-step { text-align: center; position: relative; padding-top: 62px; }
.flow-step .flow-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1.5px solid var(--gold); color: var(--navy); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.flow-step::before { content: ""; position: absolute; top: 22px; left: calc(50% + 26px); right: -8px; height: 1px; background: var(--line); }
.flow-step:last-child::before { display: none; }
.flow-step h4 { font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.flow-step p { font-size: 12.5px; color: var(--muted); }

/* ---------- 首页信任点（轻量横排） ---------- */
.points-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.point-item { display: flex; gap: 14px; align-items: flex-start; }
.point-item svg { width: 26px; height: 26px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.point-item b { display: block; font-size: 15.5px; color: var(--navy); margin-bottom: 3px; }
.point-item span { font-size: 13.5px; color: var(--muted); }

/* ---------- 案例 / 评价 ---------- */
.case-card { display: flex; flex-direction: column; gap: 10px; }
.case-card .case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-tag { font-size: 12px; color: var(--gold-dark); background: var(--gold-soft); padding: 2px 10px; border-radius: 10px; }
.case-card h3 { margin: 2px 0 0; font-size: 16.5px; }
.case-card p { flex: 1; }
.case-result { font-size: 14px; color: var(--gold-dark); font-weight: 700; padding-top: 12px; border-top: 1px solid var(--line); }

.stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 10px; }
.stars::before { content: "★★★★★"; }
.testimonial p { font-size: 14.5px; color: var(--text); flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--navy-100); color: var(--navy); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial .who b { display: block; font-size: 14px; color: var(--navy); line-height: 1.4; }
.testimonial .who span { font-size: 12.5px; color: var(--muted); }

/* 首页好评评分条 */
.rating-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin: -28px auto 44px; padding: 13px 24px; max-width: 580px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.stars-lg { color: var(--gold); font-size: 21px; letter-spacing: 3px; }
.rating-score { font-size: 21px; font-weight: 700; color: var(--navy); }
.rating-text { font-size: 14px; color: var(--muted); }

/* ---------- 关于我们 / 时间线 ---------- */
.about-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-cols h3 { font-size: 19px; color: var(--navy); margin: 26px 0 12px; }
.about-cols p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.org-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy); background: rgba(200,164,94,.14); border: 1px solid rgba(200,164,94,.5); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; letter-spacing: .5px; }
.org-concept { background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 14px 16px; border-radius: 0 8px 8px 0; margin-top: 4px; }
.qual-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qual-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px;
}
.qual-list li svg { width: 24px; height: 24px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.qual-list b { color: var(--navy); display: block; font-size: 15px; margin-bottom: 6px; }

.timeline { position: relative; padding-left: 24px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -29px; top: 7px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--gold);
}
.timeline b { color: var(--navy); font-size: 15px; margin-right: 10px; }
.timeline span { color: var(--muted); font-size: 14px; }

/* ---------- 企业文化建设 ---------- */
.culture-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.culture-list li { padding: 16px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; }
.culture-list b { display: block; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.culture-list span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 640px) {
  .qual-list { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .culture-list { grid-template-columns: 1fr; }
}

/* ---------- 知产知识 / FAQ ---------- */
.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card h3 { font-size: 16px; margin: 0 0 8px; line-height: 1.55; }
.article-card h3 a:hover { color: var(--gold-dark); }
.article-card .meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; }
.article-cover { height: 140px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); display: flex; align-items: center; justify-content: center; }
.article-cover svg { width: 42px; height: 42px; color: var(--gold); opacity: .9; }
.article-card { overflow: hidden; padding: 0; }
.article-card .article-body { padding: 22px 24px 24px; }
.article-card p.excerpt { font-size: 13.5px; }

.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 17px 52px 17px 22px; font-size: 15.5px; font-weight: 600; color: var(--navy);
  position: relative;
}
.faq-q::after, .faq-q::before {
  content: ""; position: absolute; right: 20px; top: 50%; width: 13px; height: 1.8px;
  background: var(--gold-dark); transition: transform .2s;
}
.faq-q::before { transform: rotate(90deg); }
.faq-item.open .faq-q::before { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 18px; font-size: 14.5px; color: var(--muted); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-700));
  color: #fff; text-align: center; padding: 64px 20px;
}
.cta-band h2 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 28px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 32px; }
.contact-info-card h3 { font-size: 19px; margin-bottom: 22px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 4px; }
.contact-line b { display: block; font-size: 13px; color: rgba(255,255,255,.6); font-weight: 400; }
.contact-line span { font-size: 15.5px; font-weight: 600; word-break: break-all; }
.qr-box { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; gap: 16px; align-items: center; }
.qr-placeholder {
  width: 104px; height: 104px; flex: none; border-radius: 10px;
  border: 1.5px dashed rgba(255,255,255,.4); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; color: rgba(255,255,255,.6); font-size: 12px;
}
.qr-placeholder svg { width: 28px; height: 28px; }
.map-placeholder {
  margin-top: 24px; border-radius: 10px; height: 180px;
  background: var(--bg-soft); border: 1px dashed #ccd4e0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--navy); font-size: 14px;
}
.map-placeholder svg { width: 28px; height: 28px; color: var(--gold-dark); }

/* ---------- 表单 ---------- */
.lead-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label i { color: #d0533f; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,94,.16);
}
.field .err { display: none; font-size: 12.5px; color: #d0533f; margin-top: 4px; }
.field.invalid input, .field.invalid select { border-color: #d0533f; }
.field.invalid .err { display: block; }
.form-tip { font-size: 12.5px; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 34px 10px; }
.form-success .ok-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: #e6f5ee; display: flex; align-items: center; justify-content: center;
}
.form-success .ok-icon svg { width: 30px; height: 30px; color: var(--success); }
.form-success h4 { font-size: 19px; color: var(--success); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.show { display: flex; padding: 24px; overflow-y: auto; }
.modal-mask {
  position: absolute; inset: 0; background: rgba(14,33,67,.5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.modal-body {
  position: relative; z-index: 1; background: #fff; border-radius: 14px;
  max-width: 500px; margin: auto; padding: 34px 32px 28px;
  box-shadow: var(--shadow-lg);
  max-height: calc(var(--vh, 1vh) * 86);   /* 旧版 iOS / 微信内核：用 JS 写入的真实视口高度 */
  max-height: 86dvh;                 /* 动态视口高度：地址栏收起/展开时不会被裁切 */
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; right: 14px; top: 14px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: rgba(20,40,80,.1); border-radius: 50%;
  font-size: 18px; color: var(--muted); line-height: 1; transition: background .15s;
}
.modal-close:hover { background: rgba(20,40,80,.18); }
.modal-body h3 { font-size: 20px; color: var(--navy); }
.modal-sub { font-size: 13.5px; color: var(--muted); margin: 6px 0 24px; }

/* 扫码关注：footer 账号列表 + 单码弹窗 */
.qr-accounts { margin: 4px 0 0; }
.qr-trigger { display: block; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: 13px; padding: 9px 2px; cursor: pointer; transition: color .15s; }
.qr-trigger:hover { color: var(--gold); }
.qr-modal-body { max-width: 360px; text-align: center; }
.qr-single { margin-top: 10px; }
.qr-single img { width: 220px; height: 220px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin: 0 auto; display: block; box-shadow: 0 2px 10px rgba(20,40,80,.08); }
@media (max-width: 420px) {
  .qr-single img { width: 180px; height: 180px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 44px; }
.footer-main h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-main li { margin-bottom: 9px; }
.footer-main a:hover { color: var(--gold); }
.footer-brand .brand-mark { background: rgba(255,255,255,.1); margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-badge { display: inline-block; margin: 6px 8px 0 0; font-size: 12px; border: 1px solid rgba(200,164,94,.45); color: var(--gold); padding: 3px 10px; border-radius: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  font-size: 12.5px; color: rgba(255,255,255,.45); text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.45); margin: 0 8px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 悬浮操作 ---------- */
.float-actions {
  position: fixed; z-index: 90; display: flex; flex-direction: column; gap: 10px;
  right: calc(20px + var(--safe-r));
  bottom: calc(90px + var(--safe-b));      /* 避开 iPhone 底部 Home 指示条 */
}
.float-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.float-btn:hover { background: var(--gold-dark); }
.float-btn svg { width: 21px; height: 21px; }
.float-btn.top { background: var(--navy); }
#backTop { opacity: 0; pointer-events: none; transition: opacity .25s; }
#backTop.show { opacity: 1; pointer-events: auto; }

/* 手指操作设备上放大热区，避免误触 */
@media (hover: none) and (pointer: coarse) {
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 23px; height: 23px; }
  .main-nav a { min-height: 46px; display: flex; align-items: center; }
}

/* ---------- 移动端吸底转化条 ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  gap: 12px; padding: 10px 14px calc(10px + var(--safe-b));
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(14,33,67,.12);
  transform: translateY(120%); transition: transform .28s ease;
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 47px; border-radius: 11px; font-size: 15.5px; font-weight: 700;
}
.mc-query { background: var(--gold); color: #fff; }
.mc-query:hover { background: var(--gold-dark); }
.mc-call { background: var(--navy); color: #fff; }
.mc-call:hover { background: var(--navy-dark); }
.mc-call svg { width: 17px; height: 17px; }
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  /* 吸底条出现时，悬浮客服按钮上移，避免重叠 */
  .float-actions { bottom: calc(82px + var(--safe-b)); }
}

/* ---------- 企业微信客服 ---------- */
.float-btn.wecom { background: var(--gold); }
.float-btn.wecom:hover { background: var(--gold-dark); }

.wecom-body { max-width: 420px; text-align: center; padding-top: 32px; }
.wecom-head { display: flex; align-items: center; justify-content: center; gap: 8px; }
.wecom-head h3 { font-size: 19px; }
.wecom-dot { width: 8px; height: 8px; border-radius: 50%; background: #1a9c62; box-shadow: 0 0 0 4px rgba(26,156,98,.14); flex: none; }
.wecom-body .modal-sub { margin: 8px 0 22px; }

.wecom-qr {
  width: 204px; height: 204px; margin: 0 auto 6px; padding: 8px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.wecom-qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.wecom-qr[hidden] { display: none; }

.wecom-fallback {
  margin: 0 auto 18px; padding: 18px 16px; max-width: 330px;
  background: var(--bg-soft); border-radius: 10px; text-align: center;
}
.wecom-fallback .wf-title { font-size: 14.5px; color: var(--navy); font-weight: 600; margin-bottom: 6px; }
.wecom-fallback .wf-text { font-size: 13px; color: var(--muted); line-height: 1.7; }
.wf-copy { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.wf-copy code { flex: 1; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.wf-copy-btn { flex: none; border: 0; background: var(--navy); color: #fff; font-size: 12.5px; padding: 5px 12px; border-radius: 6px; cursor: pointer; }
.wf-copy-btn:hover { background: var(--navy-700); }

.wecom-go { margin-bottom: 4px; }
.wecom-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 18px; line-height: 1.7; }
.wecom-alt {
  border: 0; background: none; color: var(--navy); font-size: 13px;
  border-top: 1px solid var(--line); padding-top: 16px; width: 100%; cursor: pointer;
}
.wecom-alt:hover { color: var(--gold-dark); }

/* 联系页企业微信客服区块 */
.wecom-card { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.wecom-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: rgba(255,255,255,.6); }
.wecom-card-head i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; flex: none; }
.wecom-card-inner { display: flex; gap: 16px; align-items: center; }
.wecom-card-qr {
  width: 108px; height: 108px; flex: none; border-radius: 10px; background: #fff;
  padding: 6px; display: flex; align-items: center; justify-content: center;
}
.wecom-card-qr img { width: 100%; height: 100%; object-fit: contain; }
.wecom-card-qr.no-qr::after {
  content: "二维码待上传\A images/wecom-kf.png";
  white-space: pre; text-align: center; font-size: 11px; line-height: 1.6; color: var(--muted);
}
.wecom-card-qr.no-qr img { display: none; }
.wecom-card-text p { font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 10px; }
.wecom-card-text .btn[hidden] { display: none; }

/* ---------- 页头带 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-700)); color: #fff;
  padding: 56px 0 48px;
}
.page-hero h1 { font-size: clamp(21px, 4vw, 28px); letter-spacing: .5px; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: clamp(13.5px, 1.6vw, 15px); }
.crumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumb a:hover { color: var(--gold-dark); }

/* ---------- 管理页 ---------- */
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th { background: var(--bg-soft); color: var(--navy); padding: 12px 14px; font-size: 14px; text-align: left; white-space: nowrap; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.admin-toolbar { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; align-items: center; }
.admin-empty { text-align: center; color: var(--muted); padding: 50px 20px; }

/* =====================================================
   响应式与设备适配
   断点：1180 / 1024 / 900 / 768 / 640 / 480 / 390 / 360 / 320
   覆盖：PC、笔记本、iPad 横竖屏、安卓平板、各尺寸手机
   ===================================================== */

/* —— 小笔记本 / 窄 PC —— */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 11px; font-size: 14.5px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-list { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .about-cols, .contact-grid { grid-template-columns: 1fr; }
  .flow-bar { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .flow-step:nth-child(4)::before { display: none; }
  .points-band { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 68px 0; }
}

/* —— 平板竖屏（iPad 768 / 安卓平板 800）：导航转汉堡，避免 7 项挤压 —— */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-inner { min-height: 62px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 12px 14px;
    max-height: calc(100vh - 62px);
    max-height: calc(100dvh - 62px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 8px; font-size: 15.5px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--navy-100); }
}

/* —— 手机 / 小屏平板 —— */
@media (max-width: 768px) {
  .hero-inner { padding: 48px 0 40px; }
  .hero-slogans { gap: 8px 20px; margin-bottom: 28px; }
  .hero-ctas { gap: 10px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; padding: 24px 0 26px; }
  .advantage b { font-size: 17px; }
  .advantage span { font-size: 12.5px; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 32px; }
  .footer-bottom { padding-bottom: calc(18px + var(--safe-b)); }
  .form-row { grid-template-columns: 1fr; }
  .flow-bar { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .flow-step:nth-child(2n)::before { display: none; }
  .page-hero { padding: 38px 0 32px; }
  .trust-strip .container { gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
  .trust-item { font-size: 13px; }
  .points-band { grid-template-columns: 1fr; gap: 20px; }
  .float-actions { bottom: calc(24px + var(--safe-b)); right: calc(14px + var(--safe-r)); }
  .card { padding: 26px 22px; }
  .contact-info-card { padding: 28px 22px; }
  .about-cols { gap: 32px; }

  /* iOS / 微信输入框聚焦不放大页面：字号必须 ≥16px */
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }
  .field textarea { min-height: 96px; }
  .field label { font-size: 14.5px; }

  /* 横向滚动的表格在手机上给出滑动提示 */
  .admin-table-wrap { position: relative; }
}

/* —— 大屏手机（iPhone Plus / Pro Max / 安卓 412-430） —— */
@media (max-width: 640px) {
  .container { padding-left: calc(18px + var(--safe-l)); padding-right: calc(18px + var(--safe-r)); }

  /* 价格表：由表格改为卡片列表，避免手机左右滑动看不清 */
  .price-table-wrap { border: 0; background: transparent; overflow: visible; }
  .price-table { min-width: 0; display: block; }
  .price-table thead { display: none; }
  .price-table tbody { display: block; }
  .price-table tr {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 16px 18px 14px; margin-bottom: 12px;
  }
  .price-table td { display: block; border: 0; padding: 0; }
  .price-table td.name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; white-space: normal; }
  .price-table td.price { font-size: 19px; margin-bottom: 10px; white-space: normal; }
  .price-table td:not(.name):not(.price) {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13.5px; color: var(--muted);
    padding-top: 8px; margin-top: 8px; border-top: 1px dashed var(--line);
  }
  .price-table td:not(.name):not(.price)::before {
    content: attr(data-label); flex: none; width: 60px;
    color: var(--navy); font-weight: 600; font-size: 13px;
  }

  /* 弹窗改为底部抽屉：贴合拇指操作，键盘弹出时不被遮挡 */
  .modal.show { align-items: flex-end; padding: 0; }
  .modal-body {
    margin: 0; border-radius: 18px 18px 0 0;
    max-width: none; width: 100%;
    max-height: 92vh; max-height: 92dvh;
    padding: 26px 20px calc(20px + var(--safe-b));
    animation: sheetIn .26s ease;
  }
  .modal-close { right: 12px; top: 12px; width: 36px; height: 36px; }
  .wecom-body .wecom-qr { width: min(200px, 62vw); height: min(200px, 62vw); }

  .svc-meta { gap: 18px; flex-wrap: wrap; }
  .wecom-card-inner { flex-wrap: wrap; }
  .wecom-card-qr { width: 92px; height: 92px; }
  .cta-band { padding: 48px 18px; }
  .timeline { padding-left: 18px; }
  .timeline li::before { left: -23px; }

  /* 手机端按钮撑满更好按 */
  .hero-ctas .btn { flex: 1 1 100%; }
  .btn-lg { padding: 13px 24px; font-size: 16px; }
}

@keyframes sheetIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* —— 标准手机（iPhone 12/13/14 = 390，多数安卓 360-412） —— */
@media (max-width: 480px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 16.5px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 9px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .hero-eyebrow { font-size: 11.5px; letter-spacing: 1.2px; padding: 4px 12px; margin-bottom: 18px; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 44px 0; }
  .card { padding: 22px 18px; }
  .svc-card { padding: 22px 18px; }
  .price-plan .plan-price { font-size: 32px; }
  .faq-q { font-size: 15px; padding: 15px 44px 15px 18px; }
  .faq-a-inner { padding: 0 18px 16px; }
  .article-cover { height: 120px; }
  .contact-info-card h3 { font-size: 17.5px; }
  .step-item { gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 15px; }
  .step-item::before { left: 21px; top: 50px; }
}

/* —— 小屏手机（iPhone SE 375 / 安卓 360） —— */
@media (max-width: 390px) {
  .hero h1 { letter-spacing: 0; }
  .hero-stats { gap: 14px 6px; }
  .advantage b { font-size: 16px; }
  .advantage span { font-size: 12px; }
  .price-table td.price { font-size: 18px; }
  .wecom-fallback { padding: 14px 12px; }
  .footer-main { gap: 22px; }
  .modal-body { padding: 24px 16px calc(18px + var(--safe-b)); }
}

/* —— 超小屏（iPhone SE 一代 320 / 老安卓） —— */
@media (max-width: 360px) {
  .container { padding-left: calc(14px + var(--safe-l)); padding-right: calc(14px + var(--safe-r)); }
  .brand-text strong { font-size: 15px; }
  .brand { gap: 8px; }
  .hero-eyebrow { display: none; }
  .trust-item { font-size: 12.5px; }
  .btn { padding: 11px 18px; font-size: 14.5px; }
  .float-actions { right: calc(10px + var(--safe-r)); gap: 8px; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn svg { width: 19px; height: 19px; }
  .price-table td:not(.name):not(.price)::before { width: 52px; font-size: 12.5px; }
}

/* —— 横屏手机：竖向空间极小，压缩上下留白 —— */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-inner { padding: 32px 0 24px; }
  .hero-stats { padding: 18px 0; }
  .page-hero { padding: 26px 0 22px; }
  .section { padding: 36px 0; }
  .float-actions { bottom: calc(14px + var(--safe-b)); gap: 8px; }
  .float-btn { width: 42px; height: 42px; }
  .modal-body {
    margin: auto; border-radius: 14px; max-width: 520px;
    max-height: 94vh; max-height: 94dvh;
  }
}

/* —— 微信内置浏览器专项 ——
   iOS 用 WKWebView、安卓用 X5，部分属性支持不一致，这里统一做兼容 */
html.is-wechat {
  /* 微信里长按图片识别二维码：必须允许系统长按菜单 */
  -webkit-touch-callout: default;
}
html.is-wechat .wecom-qr img,
html.is-wechat .wecom-card-qr img {
  -webkit-touch-callout: default;
  pointer-events: auto;
}
html.is-wechat .site-header { position: -webkit-sticky; position: sticky; }
/* 微信顶部有一条自带工具栏，锚点跳转时多留出高度，避免标题被遮挡 */
html.is-wechat .section, html.is-wechat .page-hero { scroll-margin-top: 12px; }
/* 微信返回时页面可能从缓存恢复，避免弹窗残留 */
html.is-wechat .modal { -webkit-transform: translateZ(0); }

/* 微信内「长按识别」文字提示 */
.wechat-tip {
  display: none; margin: 10px 0 0; font-size: 12.5px; color: var(--gold-dark);
  background: var(--gold-soft); border-radius: 8px; padding: 7px 12px; text-align: center;
}
html.is-wechat .wechat-tip { display: block; }

/* —— 打印：隐藏交互元素 —— */
@media print {
  .site-header, .float-actions, .modal, .cta-band, .footer-main { display: none !important; }
  body { color: #000; }
}

/* =====================================================
   新增区块样式（查询留资入口 / 商标科普聚合 / 文章页 / 查询落地页）
   ===================================================== */

/* —— 锚点跳转避免被吸顶导航遮挡 —— */
.cat-section, .page-hero, .section { scroll-margin-top: 86px; }

/* —— 首页：查询留资 + 人工客服 双入口 —— */
.quick-entry { padding: 26px 0 6px; background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 100%); }
.quick-entry .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qe-card {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow); transition: all .2s ease; cursor: pointer;
}
button.qe-card { font-family: inherit; width: 100%; }
.qe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.qe-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; overflow: hidden;
}
.qe-icon svg { width: 26px; height: 26px; max-width: 100%; max-height: 100%; display: block; }
.qe-query .qe-icon { background: var(--gold); }
.qe-text { flex: 1; }
.qe-text b { display: block; font-size: 17px; color: var(--navy); letter-spacing: .5px; }
.qe-text span { font-size: 13px; color: var(--muted); }
.qe-arrow { flex: none; font-size: 14px; color: var(--gold-dark); font-weight: 600; white-space: nowrap; }

/* —— 商标科普聚合页：分类锚点导航 —— */
.cat-nav { position: sticky; top: 70px; z-index: 90; background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(160%) blur(8px); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 10px; overflow-x: auto; padding: 12px 24px; -webkit-overflow-scrolling: touch; }
.cat-tab {
  flex: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 14px; font-weight: 600; transition: all .2s ease;
}
.cat-tab span { font-size: 12px; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }
.cat-tab:hover { border-color: var(--gold); color: var(--gold-dark); }
.cat-tab:target, .cat-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-tab:target span, .cat-tab.active span { background: rgba(255,255,255,.18); color: #fff; }

.guide-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 60%, #244a86 100%); }
.guide-badge {
  display: inline-block; background: rgba(200,164,94,.16); color: var(--gold); border: 1px solid rgba(200,164,94,.4);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; letter-spacing: .5px;
}
.guide-hero h1 { font-size: clamp(24px, 5vw, 38px); }
.guide-hero p { color: rgba(255,255,255,.78); font-size: clamp(14px, 1.8vw, 16px); margin: 14px auto 26px; max-width: 760px; }
.guide-hero p span { color: var(--gold); font-weight: 600; }
.guide-hero .hero-ctas { justify-content: center; }
.guide-intro .points-band { margin-top: 8px; }

/* —— 文章页 —— */
.art-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); }
.art-cat {
  display: inline-block; background: rgba(200,164,94,.16); color: var(--gold); border: 1px solid rgba(200,164,94,.4);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.art-hero h1 { font-size: clamp(20px, 3.6vw, 30px); }
.art-hero p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-top: 10px; }
.article-wrap { max-width: 820px; }
.art-intro { font-size: 17px; color: var(--navy); line-height: 1.9; background: var(--gold-soft);
  border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 10px 10px 0; margin-bottom: 30px; }
.art-h2 { font-size: clamp(18px, 2.6vw, 22px); color: var(--navy); margin: 34px 0 14px; letter-spacing: .5px;
  padding-top: 6px; border-top: 1px solid var(--line); }
.article-wrap p { font-size: 16px; line-height: 1.95; color: var(--text); margin-bottom: 16px; }
.pit-box {
  margin: 30px 0 10px; background: #fff7f3; border: 1px solid #f3d3c4; border-radius: var(--radius); padding: 20px 22px;
}
.pit-head { display: flex; align-items: center; gap: 8px; color: #c0392b; font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.pit-head svg { width: 22px; height: 22px; }
.pit-box ul { list-style: none; }
.pit-box li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.8; color: #6a4a3a; }
.pit-box li::before { content: "!"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  background: #c0392b; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rel-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.rel-list li { border-bottom: 1px dashed var(--line); }
.rel-list a { display: block; padding: 10px 0; color: var(--navy); font-size: 15px; transition: color .2s; }
.rel-list a:hover { color: var(--gold-dark); padding-left: 6px; }

/* —— 查询落地页 —— */
.query-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, #244a86 100%); padding: 50px 0 56px; }
.query-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.query-hero-text h1 { font-size: clamp(24px, 4vw, 36px); color: #fff; line-height: 1.35; margin-bottom: 16px; }
.query-hero-text h1 em { color: var(--gold); font-style: normal; }
.query-hero-text .hero-sub { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
.query-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.query-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; }
.query-points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.query-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 30px 30px 26px; position: relative; }
.query-card-head h3 { font-size: 22px; color: var(--navy); letter-spacing: .5px; }
.query-card-head .modal-sub { color: var(--muted); font-size: 13px; margin: 4px 0 2px; }
.query-source { display: inline-block; margin: 6px 0 0; font-size: 12.5px; color: var(--gold-dark);
  background: var(--gold-soft); border-radius: 8px; padding: 5px 12px; }
.query-form .field { margin-bottom: 14px; }
.query-form label { display: block; font-size: 14px; color: var(--navy); font-weight: 600; margin-bottom: 7px; }
.query-form label i { color: #d9534f; font-style: normal; margin-left: 2px; }
.query-form input, .query-form select, .query-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d9e0ea; border-radius: 10px; font-size: 15px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.query-form input:focus, .query-form select:focus, .query-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,94,.18); }
.query-form .err { display: none; color: #d9534f; font-size: 12.5px; margin: 5px 0 0; }
.query-form .field.invalid input, .query-form .field.invalid select { border-color: #d9534f; }
.query-form .field.invalid .err { display: block; }
.query-form textarea { min-height: 84px; resize: vertical; }
.query-form .form-tip { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.query-success { text-align: center; padding: 24px 6px; }
.query-success .ok-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(46,158,107,.12); color: var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.query-success .ok-icon svg { width: 32px; height: 32px; }
.query-success h4 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.query-success p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* —— 移动端适配 —— */
@media (max-width: 860px) {
  .query-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .query-hero { padding: 38px 0 40px; }
  .quick-entry .container { grid-template-columns: 1fr; }
  .rel-list { grid-template-columns: 1fr; }
  .cat-nav-inner { padding: 10px 18px; }
}
@media (max-width: 560px) {
  .qe-text b { font-size: 16px; }
  .qe-arrow { display: none; }
  .query-card { padding: 24px 20px 22px; }
  .article-wrap .art-intro { font-size: 15.5px; padding: 14px 16px; }
}

/* —— 免费查询标识 —— */
.query-free-badge {
  display: inline-block; background: var(--gold); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 1px; margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(200,164,94,.35);
}

/* —— 实时查询滚动播报 —— */
.query-ticker-section { background: var(--navy); color: #fff; padding: 18px 0; overflow: hidden; }
.query-ticker-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.qt-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 4px rgba(62,207,142,.18); flex: none; animation: qtPulse 1.6s infinite; }
@keyframes qtPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.qt-title { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.qt-sub { font-size: 12.5px; color: rgba(255,255,255,.6); }
.query-ticker {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.query-ticker-track { display: flex; gap: 14px; width: max-content; animation: tickerScroll 38s linear infinite; }
.query-ticker:hover .query-ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 7px 14px; border-radius: 999px; flex: none;
}
.ticker-item b { color: var(--gold); font-weight: 600; }
.ticker-item .ti-loc { color: rgba(255,255,255,.55); }
.ticker-item .ti-time { color: rgba(255,255,255,.45); font-size: 12px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
  .query-ticker-track { animation-duration: 30s; }
  .ticker-item { font-size: 12.5px; padding: 6px 12px; }
  .qt-sub { display: none; }
}

/* 后台精选评价动态渲染：星级文本由 JS 输出，去掉固定五星伪元素 */
.stars.stars-dyn::before { content: none; }

/* 客户评价：多维度评分明细（测评式） */
.rv-dims{display:flex;flex-wrap:wrap;gap:4px 12px;margin:12px 0 14px;padding-top:10px;border-top:1px dashed rgba(15,35,60,.12);font-size:12px;color:#6b7c8f;letter-spacing:.2px}
.rv-dims b{color:#b08b4f;font-weight:600}

/* 评价区入口：口碑墙 / 写评价 */
.rv-entry{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:36px;padding:18px 22px;border-radius:16px;
  background:linear-gradient(120deg,rgba(22,48,95,.05),rgba(200,164,94,.1));
  border:1px solid rgba(200,164,94,.32);
}
.rv-entry-txt b{display:block;font-size:16px;color:#0e2233;font-weight:700;letter-spacing:.5px}
.rv-entry-txt span{display:block;font-size:13px;color:#6b7c8f;margin-top:3px}
.rv-entry-btns{display:flex;gap:10px;flex-wrap:wrap}
.btn-outline-dark{border-color:rgba(15,35,60,.28);color:#0e2233;background:transparent}
.btn-outline-dark:hover{border-color:#0e2233;background:rgba(15,35,60,.05)}
@media (max-width:640px){
  .rv-entry{flex-direction:column;align-items:flex-start;gap:14px;padding:16px}
  .rv-entry-btns{width:100%}
  .rv-entry-btns .btn{flex:1}
}
