@charset "utf-8";
/* ==========================================================================
   上海盛沃律师事务所 · 移动版（m/index.html）
   依赖 style.css 中的设计变量，本文件只负责移动版布局
   ========================================================================== */

body.m { font-size: 15px; line-height: 1.9; padding-bottom: 78px; }

.m-wrap { padding: 0 20px; position: relative; z-index: 1; }
.m-sec { padding: 56px 0; position: relative; z-index: 1; }
.m-sec--alt { background: linear-gradient(180deg, var(--ink-2), rgba(16,13,9,.4)); }
.m-sec--panel { background: var(--ink-2); }

/* 顶部公告 */
.m-notice {
  background: #070604; border-bottom: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); letter-spacing: .04em;
  padding: 7px 20px; text-align: center; position: relative; z-index: 41;
}
.m-notice b { color: var(--gold); font-weight: 500; }

/* 头部 */
.m-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,9,6,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.m-head .m-wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.m-brand { display: flex; align-items: center; gap: 10px; }
.m-brand .brand-mark { width: 34px; height: 34px; flex: 0 0 34px; border-radius: var(--radius); }
.m-brand .brand-mark span { font-size: 16px; }
.m-brand .bn { font-family: var(--serif); font-size: 16px; letter-spacing: .04em; line-height: 1.15; display: block; }
.m-brand .bs { display: block; font-size: 9px; letter-spacing: .26em; color: var(--muted); margin-top: 2px; }
.m-head-call {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--gold-lt);
  font-size: 13px; letter-spacing: .02em; background: rgba(200,161,94,.06);
}
.m-head-call svg { width: 14px; height: 14px; }

/* HERO */
.m-hero { padding: 44px 0 40px; position: relative; overflow: hidden; z-index: 1; }
.m-hero::after {
  content: ""; position: absolute; right: -90px; top: -80px; width: 300px; height: 300px;
  border: 1px solid var(--line); border-radius: 50%; opacity: .5;
}
.m-tag {
  display: inline-block; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 5px 12px; font-size: 11px; letter-spacing: .18em; color: var(--gold);
  background: rgba(200,161,94,.05); margin-bottom: 20px;
}
h1.m-title { font-size: 30px; line-height: 1.36; letter-spacing: .01em; margin-bottom: 18px; }
h1.m-title em { font-style: normal; display: block; }
.m-lead { font-size: 14.5px; color: var(--text-2); line-height: 2; }
.m-lead + .m-lead { margin-top: 10px; }
.m-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.m-actions .btn { width: 100%; height: 48px; }
.m-note { margin-top: 16px; font-size: 11.5px; color: var(--muted); line-height: 1.8; }

/* 速览卡 */
.m-quick {
  border: 1px solid var(--line-2); border-radius: var(--radius); margin-top: 30px;
  background: linear-gradient(165deg, rgba(36,29,19,.85), rgba(16,13,9,.9));
  padding: 20px 18px 8px; position: relative;
}
.m-quick::before {
  content: "公开信息速览"; position: absolute; top: -9px; left: 16px; background: var(--ink);
  padding: 0 10px; font-size: 10px; letter-spacing: .2em; color: var(--gold);
}
.m-q-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(200,161,94,.15); }
.m-q-row:last-child { border-bottom: 0; }
.m-q-row dt { font-size: 12.5px; color: var(--muted); flex: 0 0 auto; }
.m-q-row dd { font-size: 13.5px; color: var(--text); text-align: right; font-weight: 500; }
.m-q-row dd.gold { color: var(--gold-lt); font-family: var(--serif); font-size: 17px; }
.m-q-row dd.gold a { color: inherit; }

.m-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 22px; }
.m-stat { background: var(--panel); padding: 14px 8px; text-align: center; }
.m-stat b { display: block; font-family: var(--serif); font-size: 22px; color: var(--gold-lt); line-height: 1; }
.m-stat b small { font-size: 11px; }
.m-stat span { display: block; margin-top: 7px; font-size: 10.5px; color: var(--muted); }

/* 通用标题 */
.m-head-block { margin-bottom: 26px; }
.m-eyebrow { display: inline-block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
h2.m-h2 { font-size: 23px; line-height: 1.42; letter-spacing: .01em; }
h2.m-h2 .num { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .26em; color: var(--gold-dp); margin-bottom: 8px; font-weight: 500; }
.m-desc { margin-top: 12px; font-size: 13.5px; color: var(--text-2); line-height: 1.95; }

/* 定义块 */
.m-def { border-left: 2px solid var(--gold); padding-left: 16px; font-size: 14px; color: var(--text-2); line-height: 2; }
.m-def b { color: var(--gold-lt); }
.m-def + .m-def { margin-top: 16px; }

/* 通用卡片列表 */
.m-cards { display: grid; gap: 12px; }
.m-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, var(--panel), rgba(16,13,9,.6));
  padding: 20px 18px;
}
.m-card .no { font-family: var(--serif); font-size: 26px; color: transparent; -webkit-text-stroke: 1px rgba(200,161,94,.5); line-height: 1; margin-bottom: 10px; display: block; }
.m-card h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: .02em; }
.m-card p { font-size: 13px; color: var(--text-2); line-height: 1.9; }

/* 表格（窄屏自适应，双列不溢出） */
.m-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.m-table { width: 100%; table-layout: fixed; border-collapse: collapse; border: 1px solid var(--line); background: var(--panel); }
.m-table th, .m-table td { text-align: left; padding: 12px 13px; border-bottom: 1px solid rgba(200,161,94,.12); font-size: 12.5px; vertical-align: top; word-break: break-word; }
.m-table th { width: 36%; color: var(--muted); font-weight: 400; background: rgba(200,161,94,.04); }
.m-table td { color: var(--text); }
.m-table tr:last-child th, .m-table tr:last-child td { border-bottom: 0; }
.m-table td.mono { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--gold-lt); word-break: break-all; letter-spacing: 0; }

/* 业务分组 */
.m-biz-head { display: flex; align-items: center; gap: 12px; margin: 30px 0 14px; }
.m-biz-head:first-of-type { margin-top: 0; }
.m-biz-head h3 { font-size: 18px; white-space: nowrap; }
.m-biz-head i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.m-biz-head em { font-style: normal; font-size: 10.5px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; }
.m-biz-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.m-biz { background: var(--ink-2); padding: 15px 16px; display: flex; align-items: baseline; gap: 12px; }
.m-biz::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); flex: 0 0 auto; position: relative; top: -2px; }
.m-biz div { flex: 1; }
.m-biz h4 { font-size: 14.5px; margin-bottom: 2px; }
.m-biz p { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* 流程 */
.m-timeline { position: relative; padding-left: 2px; }
.m-tl { position: relative; padding: 0 0 26px 40px; }
.m-tl:last-child { padding-bottom: 0; }
.m-tl::before { content: ""; position: absolute; left: 11px; top: 4px; bottom: -4px; width: 1px; background: linear-gradient(180deg, var(--line-2), rgba(200,161,94,.06)); }
.m-tl:last-child::before { display: none; }
.m-tl-dot { position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--gold); background: var(--ink); display: grid; place-items: center; font-size: 10px; color: var(--gold-lt); }
.m-tl h3 { font-size: 15.5px; margin-bottom: 3px; }
.m-tl h3 small { font-size: 10px; color: var(--muted); letter-spacing: .1em; margin-left: 6px; font-family: var(--sans); }
.m-tl p { font-size: 12.5px; color: var(--text-2); line-height: 1.85; }

/* 来源 */
.m-sources { display: grid; gap: 10px; margin-top: 22px; }
.m-source {
  display: flex; gap: 10px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--ink-2);
}
.m-source .n { font-family: var(--serif); color: var(--gold-dp); font-size: 12px; }
.m-source b { display: block; font-size: 13px; color: var(--gold-lt); font-weight: 500; }
.m-source span { font-size: 11.5px; color: var(--muted); }

/* FAQ */
.m-faq { border-top: 1px solid var(--line); }
.m-faq-item { border-bottom: 1px solid var(--line); }
.m-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 17px 0; color: var(--text); font-family: var(--serif);
  font-size: 15px; line-height: 1.6; letter-spacing: .01em;
}
.m-faq-q .ic { flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); position: relative; margin-top: 2px; }
.m-faq-q .ic::before, .m-faq-q .ic::after { content: ""; position: absolute; background: var(--gold); left: 50%; top: 50%; transform: translate(-50%,-50%); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.m-faq-q .ic::before { width: 10px; height: 1px; }
.m-faq-q .ic::after { width: 1px; height: 10px; }
.m-faq-item.open .m-faq-q .ic::after { transform: translate(-50%,-50%) scaleY(0); opacity: 0; }
.m-faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.m-faq-a-inner { padding: 0 34px 18px 0; font-size: 13px; color: var(--text-2); line-height: 1.95; }

/* 联系 */
.m-contact-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(165deg, var(--panel-2), var(--ink-2)); padding: 24px 20px; }
.m-c-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.m-c-row:first-child { padding-top: 0; }
.m-c-row:last-child { border-bottom: 0; padding-bottom: 0; }
.m-c-row .ic { width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; place-items: center; color: var(--gold); }
.m-c-row .ic svg { width: 16px; height: 16px; }
.m-c-row small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; margin-bottom: 3px; }
.m-c-row b, .m-c-row a { font-size: 14px; color: var(--text); }
.m-c-row .tel-big { font-family: var(--serif); font-size: 23px; color: var(--gold-lt); letter-spacing: .03em; }

/* 页脚 */
.m-footer { border-top: 1px solid var(--line); background: #070604; padding: 40px 0 28px; position: relative; z-index: 1; }
.m-footer .bn { font-family: var(--serif); font-size: 18px; letter-spacing: .05em; }
.m-footer p { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 14px; }
.m-footer .links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.m-footer .links a { font-size: 12.5px; color: var(--text-2); }
.m-footer .beian { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(200,161,94,.12); font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; }
.m-footer .beian a { color: var(--muted); }

/* 底部固定操作条 */
.m-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 8, 5, .94);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.m-bar .btn { height: 46px; font-size: 14px; }
.m-bar .btn-line { background: rgba(200,161,94,.05); }

/* 渐显（默认可见，仅 JS 可用时启用） */
.js .m .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .m .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .m .reveal { opacity: 1; transform: none; transition: none; } }
