/* ============================================================
   同泽科技官网 · 2026-12 改版补充样式
   只新增类名，不覆盖 style.css 原有规则；与 style.css 一起加载。
   ============================================================ */

/* ---------- 无障碍 ---------- */
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #93b4f5; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .biz-card:hover, .btn-primary:hover, .cert-frame:hover { transform: none !important; }
}

/* ---------- 首页 Hero（WorkBuddy 定位） ---------- */
.hero .hero-sub { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink); font-weight: 600; margin-top: 16px; }
.hero .hero-desc { max-width: 680px; }
.cap-grid {
  max-width: 920px; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left;
}
.cap-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px 16px; text-decoration: none; color: var(--ink);
}
.cap-card:hover { border-color: var(--primary); }
.cap-card b { display: block; font-size: 16px; color: var(--primary); }
.cap-card span { display: block; font-size: 13.5px; color: var(--ink-light); margin-top: 6px; line-height: 1.6; }
.hero .hero-note { font-size: 13.5px; color: var(--ink-light); margin-top: 22px; }

/* ---------- 子页面 Hero ---------- */
.svc-hero { padding: 56px 0 44px; background: linear-gradient(160deg, #1a56db0f 0%, #ffffff 60%); border-bottom: 1px solid #eef1f6; }
.svc-hero .tag {
  display: inline-block; padding: 5px 16px; border-radius: 999px; background: #e8efff;
  color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.svc-hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; color: #111827; }
.svc-hero .lead-txt { color: var(--ink-light); font-size: 16.5px; max-width: 780px; margin-top: 14px; }
.svc-hero .hero-actions { justify-content: flex-start; margin-top: 26px; }
.crumbs { font-size: 13.5px; color: #6b7280; margin-bottom: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "/"; margin: 0 7px; opacity: .55; }
.crumbs a { color: var(--primary); text-decoration: none; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.svc-card h3 { font-size: 18px; font-weight: 700; color: #111827; }
.svc-card .who { font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.svc-card p { font-size: 14px; color: var(--ink-light); margin-top: 10px; }
.svc-card ul { list-style: none; margin-top: 10px; }
.svc-card li { font-size: 13.5px; color: var(--ink); padding-left: 14px; position: relative; margin-top: 5px; }
.svc-card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.svc-card .go { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.svc-card .go:hover { text-decoration: underline; }

/* ---------- 服务规格（适合谁 / 交付物 / 验收…） ---------- */
.spec { display: grid; grid-template-columns: 11em 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec dt, .spec dd { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec dt { background: var(--bg-soft); font-weight: 600; font-size: 14.5px; color: #111827; }
.spec dd { font-size: 14.5px; color: var(--ink); }
.spec dt:last-of-type, .spec dd:last-of-type { border-bottom: 0; }
.spec ul, .spec ol { padding-left: 1.2em; }
.spec li { margin-top: 3px; }
.spec + .spec { margin-top: 22px; }
.sub-h { font-size: 21px; font-weight: 700; margin: 36px 0 14px; color: #111827; }
.sub-h:first-child { margin-top: 0; }
.prose-block { max-width: 860px; margin: 0 auto; }
.prose-block p { color: var(--ink-light); font-size: 15.5px; margin-top: 10px; }

/* ---------- 步骤（编号列表） ---------- */
.flow { list-style: none; counter-reset: f; display: grid; gap: 12px; }
.flow li {
  counter-increment: f; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px 14px 58px; font-size: 14.5px; color: var(--ink);
}
.flow li::before {
  content: counter(f); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.flow li b { display: block; color: #111827; }
.flow li span { color: var(--ink-light); font-size: 13.5px; }

/* ---------- 提示框 ---------- */
.note-box {
  border: 1px solid #c9d9fb; background: #f4f8ff; border-radius: 12px; padding: 16px 20px;
  font-size: 14px; color: var(--ink); margin-top: 22px;
}
.note-box.warn { border-color: #f5d0a9; background: #fff8f1; }
.note-box strong { color: #111827; }

/* ---------- 授权信息表 ---------- */
.auth-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.auth-table th, .auth-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.auth-table th { width: 7.5em; color: var(--ink-light); font-weight: 500; white-space: nowrap; }

/* ---------- 业务分层（首页其他业务） ---------- */
.layer-tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--ink-light); background: #eef1f6; padding: 3px 12px; border-radius: 999px; }

/* ---------- FAQ（原 workbuddy.html 内联样式迁移到此） ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e5eaf1; border-radius: 10px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-size: 16px; font-weight: 600; color: #111827;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: #1a56db; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 20px 16px; }
.faq-body p { margin: 0; font-size: 15px; color: #4b5563; line-height: 1.8; }
.faq-body p + p { margin-top: 8px; }

/* ---------- 表单补充 ---------- */
.lead-form .lf-hint { font-size: 12.5px; color: var(--ink-light); margin-top: 4px; }
.lead-form .lf-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink); margin-top: 16px; }
.lead-form .lf-consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.lead-form .lf-consent a { color: var(--primary); }
.lead-form [aria-invalid="true"] { border-color: #dc2626; }
.lead-form .lf-err { display: block; font-size: 12.5px; color: #b91c1c; margin-top: 4px; min-height: 0; }

/* ---------- 证书区（沿用 style.css 的 .cert-wrap / .eng-certs） ---------- */
.cert-meta { font-size: 13px; color: var(--ink-light); margin-top: 10px; }

/* ---------- 隐私页 ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 19px; margin-top: 30px; color: #111827; }
.legal p, .legal li { font-size: 15px; color: var(--ink); margin-top: 8px; }
.legal ul { padding-left: 1.3em; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .svc-grid, .cap-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid.g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .svc-grid, .svc-grid.g3, .svc-grid.g2, .cap-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 4px; }
  .spec dd { padding-top: 4px; }
  .svc-hero { padding: 40px 0 32px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .lead-side .tel { font-size: 22px; }
}

/* ---------- 标题层级修正用（视觉沿用原 h4 样式） ---------- */
.step .step-h { font-size: 15px; font-weight: 600; }
.biz-card .go { display: inline-block; margin-top: 16px; font-size: 14px; }
.sec-head .layer-tag + h2 { margin-top: 10px; }
.menu-btn { min-width: 44px; min-height: 44px; }
.auth-table a { color: var(--primary); }
