/* RUSTESTING 共享样式 — 全站导航/页脚/组件 */
:root {
  --brand-blue: #2B4A85;
  --brand-blue-deep: #22385F;
  --brand-red: #A3202A;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --bg: #F8FAFC;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; }

/* ===== 页头 ===== */
header.site { background: var(--brand-blue-deep); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
header.site .bar { display: flex; align-items: center; height: 74px; gap: 26px; }
header.site img.logo { height: 44px; width: auto; display: block; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { color: #C6D3EA; text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
nav.main a:hover { color: #fff; background: rgba(255,255,255,.08); }
nav.main a.on { color: #fff; background: rgba(255,255,255,.14); font-weight: 500; }
.btn-top { display: inline-block; background: var(--brand-red); color: #fff; text-decoration: none; font-size: 13.5px;
  padding: 10px 20px; border-radius: 6px; white-space: nowrap; margin-left: 10px; }
.btn-top:hover { filter: brightness(1.1); }

/* ===== 页脚 ===== */
footer { background: #1C3050; color: #B9C7E2; border-top: 3px solid var(--brand-red); }
footer .cols { display: grid; grid-template-columns: 1.25fr 1fr 0.8fr; gap: 40px; padding: 42px 0 32px; }
footer .flogo { height: 36px; width: auto; display: block; }
footer .about { font-size: 13px; line-height: 1.8; margin-top: 16px; max-width: 320px; }
footer h4 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
footer .item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
footer .item svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #8FA3CC; }
footer .item b { color: #fff; font-weight: 500; }
footer a { color: #E8EEF9; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12px; color: #8FA3CC;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== 通用区块 ===== */
section.pad { padding: 64px 0; }
section.pad.alt { background: #fff; border-top: 1px solid var(--line); }
h2.sec-title { font-size: 26px; font-weight: 500; text-align: center; max-width: 820px; margin: 0 auto; line-height: 1.4; }
p.sec-lead { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 780px; margin: 16px auto 0; }
.crumb { font-size: 12.5px; color: var(--muted); padding: 14px 0 0; }
.crumb a { color: var(--brand-blue); text-decoration: none; }
.page-hero { background: var(--brand-blue-deep); color: #fff; padding: 52px 0 58px; }
.page-hero h1 { font-size: 28px; font-weight: 500; text-align: center; }
.page-hero p.sub { text-align: center; color: #B9C7E2; font-size: 15px; margin-top: 12px; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* ===== 顶部联系条 ===== */
.topstrip { background: #16263F; color: #A9BAD8; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topstrip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px;
  flex-wrap: wrap; padding: 9px 20px; max-width: 1200px; margin: 0 auto; }
.topstrip a { color: #fff; text-decoration: none; font-weight: 600; }
.topstrip em { font-style: normal; color: #7F90B0; }

/* ===== 首页 hero ===== */
.hero-home { background: linear-gradient(rgba(24,40,70,.88), rgba(24,40,70,.88)),
  url("/img/hero-lab.jpg") center/cover no-repeat; color: #fff; padding: 96px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: start; }
.hero-facts { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts b { display: block; font-size: 24px; font-weight: 700; color: #fff; }
.hero-facts span { font-size: 12.5px; color: #9FB2D2; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-badges span { border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: 6px 13px;
  font-size: 12px; color: #C6D3EA; letter-spacing: .03em; background: rgba(255,255,255,.05); }

/* hero 右侧查验卡 */
.hero-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 26px 26px 22px;
  box-shadow: 0 18px 44px rgba(10,22,44,.28); }
.hero-card .hc-top { display: flex; align-items: center; gap: 8px; color: var(--brand-blue);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.hero-card .hc-top svg { width: 19px; height: 19px; }
.hero-card h3 { font-size: 21px; font-weight: 600; margin-top: 12px; line-height: 1.35; color: var(--brand-blue); }
.hc-form { display: flex; gap: 8px; margin-top: 18px; }
.hc-form input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--ink); }
.hc-form input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(34,56,95,.12); }
.hc-form button { border: 0; border-radius: 9px; background: var(--brand-red); color: #fff; font-size: 14px;
  font-weight: 600; padding: 13px 22px; cursor: pointer; }
.hc-form button:hover { filter: brightness(1.07); }
.hc-err { min-height: 17px; font-size: 12.5px; color: var(--brand-red); margin-top: 6px; }
.hc-hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin-top: 2px; }
.hc-hint b { color: var(--ink); font-family: Consolas, monospace; }
.hc-list { list-style: none; margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px; }
.hc-list li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.hc-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 11px; height: 11px;
  border-radius: 3px; background: var(--brand-red); }
.hc-foot { margin-top: 14px; font-size: 11.5px; color: #94A3B8;
  background: #F5F8FD; border-radius: 8px; padding: 9px 12px; line-height: 1.6; }
.hero-home .kicker { display: inline-block; border: 1px solid rgba(255,255,255,.35); border-radius: 30px;
  font-size: 12.5px; letter-spacing: .12em; padding: 7px 18px; color: #C6D3EA; text-transform: uppercase; }
.hero-home h1 { font-size: 40px; font-weight: 600; line-height: 1.25; margin-top: 22px; max-width: 800px; }
.hero-home h1 b { color: #F2C4C7; }
.hero-home p.lead { font-size: 16px; line-height: 1.85; color: #C6D3EA; max-width: 680px; margin-top: 18px; }
.hero-home .acts { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-home .acts .a1 { background: var(--brand-red); color: #fff; text-decoration: none; font-size: 15px; padding: 13px 32px; border-radius: 8px; }
.hero-home .acts .a2 { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #fff;
  text-decoration: none; font-size: 15px; padding: 13px 32px; border-radius: 8px; }

/* ===== 数字统计 ===== */
.stats { background: #fff; border-top: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 42px 0; }
.stat { text-align: center; }
.stat .n { font-size: 34px; font-weight: 700; color: var(--brand-blue); }
.stat .n span { color: var(--brand-red); }
.stat .t { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ===== 服务卡片 ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; transition: box-shadow .2s; }
.svc:hover { box-shadow: 0 8px 24px rgba(34,56,95,.12); }
.svc .ico { width: 46px; height: 46px; border-radius: 10px; background: #EEF3FB; color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 16px; font-weight: 600; }
.svc p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 8px; }
.svc a.more { display: inline-block; margin-top: 12px; color: var(--brand-red); font-size: 13px; text-decoration: none; font-weight: 500; }

/* ===== 图文分栏 ===== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.split figure img { width: 100%; border-radius: 14px; display: block; }
.split figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; text-align: center; }
ul.checks { list-style: none; }
ul.checks li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 15px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--brand-red); border-radius: 3px; }
ul.checks li b { display: block; color: var(--ink); font-weight: 500; font-size: 14.5px; margin-bottom: 3px; }

/* ===== 时间线 ===== */
.timeline { margin-top: 26px; }
.tl-item { display: flex; gap: 18px; padding-bottom: 26px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 2px; width: 2px; background: #E1E9F5; }
.tl-item:last-child::before { display: none; }
.tl-num { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; position: relative; z-index: 1; }
.tl-body h4 { font-size: 15.5px; font-weight: 500; padding-top: 6px; }
.tl-body p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-top: 6px; }

/* ===== 标准长文 ===== */
.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.law { background: #F5F8FD; border: 1px solid #E1E9F5; border-radius: 12px; padding: 22px 20px; }
.law h4 { font-size: 15.5px; color: var(--brand-blue); font-weight: 500; }
.law p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
.law p b { color: var(--ink); font-weight: 500; }
h3.std-h { font-size: 19px; font-weight: 500; margin: 50px 0 8px; padding-left: 14px; border-left: 4px solid var(--brand-red); line-height: 1.4; }
p.body-t { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-top: 10px; }
p.body-t b { color: var(--ink); font-weight: 500; }
.note-box { background: #F5F8FD; border: 1px solid #E1E9F5; border-radius: 12px; padding: 22px 24px;
  font-size: 14px; line-height: 1.8; color: var(--ink); margin-top: 30px; }
.note-box b { font-weight: 500; color: var(--brand-blue); }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-size: 15px; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--brand-red); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ===== CTA 条 ===== */
.cta-box { margin: 54px 0 64px; background: var(--brand-blue-deep); border-radius: 16px; color: #fff;
  padding: 42px 36px; text-align: center; }
.cta-box h3 { border: none; padding: 0; margin: 0; color: #fff; font-size: 21px; text-align: center; }
.cta-box p { color: #B9C7E2; font-size: 14.5px; margin-top: 10px; }
.cta-btn { display: inline-block; margin-top: 22px; background: var(--brand-red); color: #fff;
  text-decoration: none; padding: 12px 36px; border-radius: 8px; font-size: 15px; }
.cta-btn:hover { filter: brightness(1.08); }

/* ===== 查询页搜索框 ===== */
.searchbox { max-width: 640px; margin: 34px auto 0; display: flex; background: #fff; border-radius: 10px; padding: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.searchbox input { flex: 1; border: none; outline: none; font-size: 17px; padding: 12px 16px;
  font-family: inherit; color: var(--ink); background: transparent; min-width: 0; }
.searchbox input::placeholder { color: #9CA3AF; }
.searchbox button { background: var(--brand-red); color: #fff; border: none; border-radius: 7px;
  font-size: 16px; padding: 12px 36px; cursor: pointer; font-family: inherit; }
.searchbox button:hover { filter: brightness(1.08); }
.hint { text-align: center; color: #8FA3CC; font-size: 12.5px; margin-top: 14px; }
.err { text-align: center; color: #F3B4B8; font-size: 13px; margin-top: 10px; height: 18px; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.c-card h3 { font-size: 16px; font-weight: 600; color: var(--brand-blue); display: flex; gap: 10px; align-items: center; }
.c-card h3 svg { width: 20px; height: 20px; color: var(--brand-red); }
.c-card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; margin-top: 12px; }
.c-card p b { color: var(--ink); font-weight: 500; }
.c-wide { grid-column: 1 / -1; }

/* ===== 表格 ===== */
table.kv { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; margin-top: 24px; }
table.kv th, table.kv td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
table.kv th { width: 40%; background: #F5F8FD; font-weight: 500; color: var(--muted); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  nav.main { display: none; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .law-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-home h1 { font-size: 27px; }
  .page-hero h1 { font-size: 22px; padding: 0 12px; }
  .searchbox { flex-direction: column; gap: 8px; }
  .searchbox button { width: 100%; }
  footer .cols { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 26px; }
  .cta-box { padding: 32px 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-home { padding: 62px 0 68px; }
  .hero-facts { gap: 22px; margin-top: 22px; }
  .hero-facts b { font-size: 20px; }
  /* 手机端隐藏顶部联系条：信息在页脚「Контакты」中完整呈现，页首更清爽 */
  .topstrip { display: none; }
}
@media (max-width: 480px) {
  .hc-form { flex-direction: column; }
  .hc-form button { width: 100%; }
}
