/* 商务简约 · 律所官网通用样式 */
:root {
  --primary: #123a5c;
  --primary-dark: #0b2942;
  --primary-light: #1d5582;
  --accent: #b08d57;
  --accent-light: #d4b886;
  --text: #2c3440;
  --muted: #6b7684;
  --bg: #ffffff;
  --soft: #f6f8fa;
  --border: #e4e9ee;
  --shadow: 0 12px 36px rgba(18, 58, 92, .09);
  --radius: 4px;
}

* { 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(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section.soft { background: var(--soft); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px;
  line-height: 1.35;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: .02em;
}
.section-head p { color: var(--muted); margin-top: 12px; max-width: 660px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.lead { color: var(--muted); font-size: 17px; }

/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; color: var(--primary); }
.brand-name { font-size: 20px; font-weight: 700; color: var(--primary-dark); letter-spacing: .06em; }
.brand-sub { display: block; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 15px; color: var(--text); position: relative; padding: 26px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px;
  height: 2px; background: var(--accent);
}
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 20px !important;
  border-radius: var(--radius); font-size: 14px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-light); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 5px 0; transition: .25s; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9c7946; box-shadow: 0 8px 20px rgba(176, 141, 87, .3); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* 一键拨号（移动端显示） */
.btn-call { display: none; background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-call:hover { background: #9c7946; box-shadow: 0 8px 20px rgba(176, 141, 87, .3); }
.btn-call svg { width: 17px; height: 17px; flex: none; }
.hero-tel { color: #f2e2c4; text-decoration: none; border-bottom: 1px dashed rgba(242, 226, 196, .55); }
.hero-tel:hover { color: #fff; border-bottom-style: solid; }
.mobile-call { display: none; }

/* 首页主视觉 */
.hero { position: relative; overflow: hidden; background: var(--soft); padding: 0; }
.hero::before { display: none; }
.hero-inner {
  position: relative; overflow: hidden; width: 100%; max-width: none;
  background: linear-gradient(125deg, #0b2942 0%, #123a5c 55%, #1a4d76 100%);
  color: #fff; border-radius: 0;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center;
  min-height: 330px; padding: 34px 48px; box-shadow: none;
}
.hero-inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, transparent, #000 60%);
}
.hero-tag { display: inline-block; border: 1px solid rgba(212,184,134,.5); color: var(--accent-light); padding: 5px 12px; font-size: 11px; letter-spacing: .12em; border-radius: 2px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.32; font-weight: 600; letter-spacing: .03em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero-desc { margin: 12px 0 18px; color: rgba(255,255,255,.78); font-size: 13.5px; line-height: 1.7; max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 13px; padding: 9px 18px; }
.hero-visual { display: flex; justify-content: center; }
.hero-art { width: 100%; max-width: 220px; filter: drop-shadow(0 24px 48px rgba(0,0,0,.25)); }

/* 数据条 */
.stats { background: var(--primary-dark); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.09); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 34px; color: var(--accent-light); font-weight: 600; line-height: 1.2; }
.stat span { color: rgba(255,255,255,.65); font-size: 14px; letter-spacing: .1em; }
.local-banner { padding: 30px 20px 26px; text-align: center; }
.local-banner > strong { display: block; font-size: 46px; letter-spacing: .16em; color: var(--accent-light); font-weight: 600; line-height: 1.35; }
.local-banner-area { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.8; }
@media (max-width: 760px) {
  .local-banner { padding: 26px 16px 24px; }
  .local-banner > strong { font-size: 30px; letter-spacing: .1em; }
  .local-banner-area { font-size: 14px; text-align: left; }
}

/* 卡片通用 */
.grid { display: grid; gap: 24px; }
.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(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cdd8e2; }
.icon-box { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(18,58,92,.06); color: var(--primary); border-radius: var(--radius); margin-bottom: 22px; }
.icon-box svg { width: 26px; height: 26px; stroke-width: 1.7; }
.card h3 { font-size: 19px; color: var(--primary-dark); font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more { display: inline-block; margin-top: 18px; color: var(--primary); font-size: 14px; font-weight: 600; }
.card .more:hover { color: var(--accent); }

/* 关于介绍 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: stretch; }
.about-panel { position: relative; background: var(--primary); border-radius: var(--radius); min-height: 400px; overflow: hidden; }
.about-panel::before { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(212,184,134,.35); border-radius: 50%; top: -90px; right: -70px; }
.about-panel::after { content: ""; position: absolute; width: 200px; height: 200px; border: 1px solid rgba(212,184,134,.25); border-radius: 50%; bottom: 60px; left: -80px; }
.about-license { position: relative; display: block; min-height: 400px; height: 100%; overflow: hidden; }
.about-license img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.about-license::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,41,66,0) 42%, rgba(11,41,66,.92) 100%); }
.about-panel .panel-text { position: absolute; left: 36px; right: 36px; bottom: 30px; z-index: 2; color: #fff; }
.about-panel .panel-text strong { display: block; font-size: 30px; color: var(--accent-light); }
.about-panel .panel-text span { font-size: 14px; color: rgba(255,255,255,.82); }
.about-poster { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(11,41,66,.12); background: var(--primary); display: flex; align-items: center; }
.about-poster a { display: block; width: 100%; }
.about-poster img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.about-list li { position: relative; padding-left: 28px; margin: 18px 0; color: var(--muted); }
.about-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--accent); }

/* 律师团队 */
.lawyer-card { text-align: center; padding: 36px 24px; }
.avatar {
  width: 104px; height: 104px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(145deg, #dfe8f0, #b9ccdb); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 600; letter-spacing: .04em;
  border: 4px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.lawyer-card h3 { margin-bottom: 4px; }
.lawyer-role { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.lawyer-card p { font-size: 14px; }
.lawyer-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tag { font-size: 12px; color: var(--primary); background: rgba(18,58,92,.06); padding: 4px 10px; border-radius: 2px; }

/* 业务领域 */
.service-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.service-item .num { font-size: 30px; color: #d7e0e8; font-weight: 700; line-height: 1; }
.service-item h3 { margin-bottom: 8px; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.detail-list li { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: flex-start; }
.detail-list li:last-child { border-bottom: 0; }
.detail-list .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-top: 10px; flex: none; }
.detail-list h4 { color: var(--primary-dark); font-size: 17px; font-weight: 600; }
.detail-list p { color: var(--muted); font-size: 14px; }

/* 案例与新闻 */
.case-card { padding: 0; overflow: hidden; }
.case-cover { height: 150px; background: linear-gradient(135deg, #e9eef3, #d5e0e9); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.case-cover svg { width: 46px; height: 46px; stroke-width: 1.3; opacity: .65; }
.case-body { padding: 26px 26px 30px; }
.case-cat { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.case-body h3 { font-size: 18px; margin: 8px 0 10px; }
.case-body p { font-size: 14px; color: var(--muted); }
.news-list { border-top: 1px solid var(--border); }
.news-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--border); transition: background .2s; }
.news-item:hover { background: #fff; }
.news-date { color: var(--accent); font-size: 14px; font-weight: 600; }
.news-item h3 { font-size: 17px; color: var(--primary-dark); font-weight: 500; margin-bottom: 4px; }
.news-item p { color: var(--muted); font-size: 14px; }
.news-item .arrow { color: var(--primary); font-size: 20px; }

/* 内页头 */
.page-hero { background: linear-gradient(120deg, #0b2942, #17496f); color: #fff; padding: 72px 0 76px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border: 1px solid rgba(212,184,134,.18); border-radius: 50%; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 { font-size: 40px; font-weight: 600; letter-spacing: .04em; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: 12px; max-width: 620px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 18px; }
.crumb a:hover { color: var(--accent-light); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.field label span { color: #c06b5b; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; font: inherit; font-size: 14.5px; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18,58,92,.08); }
.form-msg { margin-top: 14px; font-size: 14px; color: #2f7d55; display: none; }
.form-msg.show { display: block; }
.contact-info { display: grid; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.info-card .icon-box { margin: 0; flex: none; }
.info-card h4 { color: var(--primary-dark); font-size: 16px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 14px; word-break: break-all; }
.info-card a { color: var(--primary); }
.info-card a:hover { color: var(--accent); }
.qr-placeholder {
  width: 84px; height: 84px; flex: none; border: 1px dashed #b9c6d2; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #9aa7b3; font-size: 12px; background: var(--soft);
}
.info-qr { width: 84px; height: 84px; flex: none; object-fit: contain; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.map-frame {
  position: relative; height: 320px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background-color: #eef2f5;
  background-image:
    linear-gradient(rgba(18,58,92,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,58,92,.06) 1px, transparent 1px),
    linear-gradient(38deg, transparent 48%, rgba(255,255,255,.85) 49%, rgba(255,255,255,.85) 51%, transparent 52%);
  background-size: 46px 46px, 46px 46px, 220px 220px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
#ziteng-map { width: 100%; height: 100%; }
#ziteng-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-caption { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.map-pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -50%); text-align: center; color: var(--primary); }
.map-pin svg { width: 38px; height: 38px; fill: var(--primary); }
.map-pin span { display: block; font-size: 13px; font-weight: 600; color: var(--primary-dark); background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 2px; margin-top: 4px; white-space: nowrap; }
.map-note { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: #7d8b98; background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 2px; }

/* 行动召唤 */
.cta { background: var(--primary-dark); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { font-size: 28px; font-weight: 600; }
.cta p { color: rgba(255,255,255,.65); margin-top: 6px; font-size: 15px; }

/* 页脚 */
.site-footer { background: #081f33; color: rgba(255,255,255,.6); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--accent-light); }
.footer-top h4 { color: #fff; font-size: 15px; margin: 4px 0 20px; font-weight: 600; }
.footer-top li { margin-bottom: 10px; }
.footer-top a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 24px; bottom: 28px; width: 42px; height: 42px;
  background: var(--primary); color: #fff; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity .25s; box-shadow: 0 6px 18px rgba(11,41,66,.25); font-size: 18px;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 980px) {
  .hero { padding: 0; }
  .hero-inner { grid-template-columns: 1fr; width: 100%; min-height: 0; padding: 44px 36px 50px; }
  .hero-desc { max-width: 640px; }
  .hero-visual { display: flex; justify-content: flex-start; }
  .hero-art { max-width: 220px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .service-detail, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-panel, .about-license { min-height: 300px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1200px); }
  /* 手机端首屏背景铺满屏幕，两侧不留白（PC / 平板不受影响） */
  .hero .hero-inner { width: 100%; max-width: 100%; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 27px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px rgba(11,41,66,.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav a.active::after { display: none; }
  .nav-cta { text-align: center; margin-top: 14px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .news-date { grid-column: 1 / -1; }
  .news-item p { display: none; }
  .page-hero h1 { font-size: 30px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 36px; }
  .form-card { padding: 26px 20px; }
  /* 首屏一键拨号 */
  .btn-call { display: inline-flex; }
  .hero-actions .btn { min-height: 44px; }
  /* 全站悬浮拨号，回到顶部上移避让 */
  .mobile-call {
    display: inline-flex; align-items: center; gap: 8px;
    position: fixed; right: 16px; bottom: 18px; z-index: 90;
    background: var(--accent); color: #fff; border-radius: 999px;
    padding: 12px 18px; font-size: 15px; font-weight: 600; line-height: 1;
    box-shadow: 0 8px 24px rgba(11, 41, 66, .3);
  }
  .mobile-call svg { width: 18px; height: 18px; flex: none; }
  .mobile-call:active { transform: scale(.97); }
  .to-top { right: 20px; bottom: 78px; width: 40px; height: 40px; }
}

/* 案例元信息 */
.case-body .case-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 2px; }
.case-caseno { font-size: 12px; color: var(--text-light, #6b7785); }
.case-tag { font-size: 11px; padding: 2px 8px; border-radius: 12px; background: #f3e9d8; color: #8a6a2f; }
.case-court { font-size: 12px; color: var(--text-light, #6b7785); margin-top: 6px; line-height: 1.5; }
.case-amount { font-size: 12px; color: #a8622d; margin-top: 4px; font-weight: 600; }
.case-tabs { margin-top: 2px; }
.case-tab { padding: 8px 16px; font-size: 13px; }
.case-card .case-body p { margin: 10px 0 0; line-height: 1.75; }
.case-card .case-body p strong { color: var(--primary-dark); font-weight: 600; }
.case-card .case-analysis { padding: 10px 12px; border-radius: 6px; background: rgba(18,58,92,.045); }
.case-lawyer { margin-top: 12px; font-size: 12px; color: var(--primary); font-weight: 600; }
.case-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: 10px; }

/* 实景展示 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  position: relative; display: block; overflow: hidden; border-radius: 10px;
  background: #dfe6eb; aspect-ratio: 4 / 3; border: 1px solid var(--border);
}
.gallery-item:first-child { grid-column: span 3; aspect-ratio: 16 / 7; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  background: linear-gradient(to top, rgba(6,26,43,.82), rgba(6,26,43,0));
  color: #fff; font-size: 14px; pointer-events: none;
}
.gallery-caption small { display: block; opacity: .75; font-size: 12px; margin-bottom: 3px; }
.gallery-item:first-child .gallery-caption { font-size: 18px; padding: 40px 24px 20px; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  .gallery-caption { font-size: 12px; padding: 24px 12px 10px; }
  .gallery-item:first-child .gallery-caption { font-size: 15px; }
}

/* 客户锦旗展示（赠送人信息已脱敏） */
.flag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flag-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: #f3e9d8; }
.flag-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.flag-item:hover img { transform: scale(1.04); }
.flag-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(to top, rgba(6,26,43,.86), rgba(6,26,43,0)); color: #fff; text-align: center; font-size: 12px; line-height: 1.45; }
.flag-caption small { display: block; font-size: 10px; opacity: .82; margin-bottom: 2px; letter-spacing: .03em; }
@media (max-width: 760px) {
  .flag-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flag-caption { font-size: 11px; padding: 26px 8px 8px; }
  .flag-caption small { font-size: 10px; }
}

/* ===== 合规公示区块（全站页脚自动注入） ===== */
.compliance-block { border-top: 1px solid var(--border); padding: 18px 0 24px; text-align: center; }
.compliance-block p { margin: 0 0 6px; font-size: 12px; color: var(--text-light, #6b7785); line-height: 1.7; }
.compliance-block .firm-info { color: var(--text, #1b2b3a); }
.compliance-block .disclaimer { color: #a8622d; }
.compliance-block .footer-links a { color: var(--text-light, #6b7785); text-decoration: none; }
.compliance-block .footer-links a:hover { color: var(--accent, #b08d57); text-decoration: underline; }

/* 律师执业证号 */
.lawyer-license { font-size: 11px; color: var(--text-light, #6b7785); margin: 6px 0 0; }

/* 案例来源说明 */
.case-source { font-size: 11px; color: var(--text-light, #8b97a3); margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border); }

/* ===== 关于我们：资质公示 ===== */
.credential-list { list-style: none; padding: 0; margin: 0; }
.credential-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.credential-list li span { color: var(--text-light, #6b7785); }
.credential-list li strong { text-align: right; color: var(--text, #1b2b3a); font-weight: 600; }
.license-placeholder {
  min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #f6f7f8, #f6f7f8 12px, #eef0f2 12px, #eef0f2 24px);
  border: 1px dashed var(--border); border-radius: 8px; color: var(--text-light, #6b7785);
  text-align: center; font-size: 14px; padding: 20px;
}
.license-placeholder small { font-size: 12px; margin-top: 8px; opacity: .8; }
.license-img { display: block; width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.license-note { margin-top: 14px; font-size: 13px; color: var(--text-light, #6b7280); }
.service-area { background: #f3e9d8; color: #8a6a2f; padding: 20px 24px; border-radius: 8px; font-size: 15px; line-height: 1.8; }

/* ===== 业务领域：子章节 ===== */
.sub-title { font-size: 18px; color: var(--text, #1b2b3a); margin: 0 0 10px; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.service-detail p { line-height: 1.9; color: var(--text-light, #4a5a68); font-size: 15px; }
.service-detail h3.card-title { font-size: 16px; margin: 0 0 8px; }
#criminal, #family, #corporate, #construction, #labor, #admin { scroll-margin-top: 90px; }
.grid .card h4 { font-size: 15px; margin: 0 0 6px; }
.grid .card h4 + p { font-size: 13px; }

/* ===== 隐私政策正文 ===== */
.policy-body { max-width: 900px; margin: 0 auto; display: grid; gap: 18px; }
.policy-body .card { padding: 24px 28px; }
.policy-body .card h3 { font-size: 17px; margin: 0 0 10px; }
.policy-body .card p { line-height: 1.9; color: var(--text-light, #4a5a68); margin: 0; }
.disclaimer-text { text-align: center; color: #a8622d; font-size: 14px; line-height: 1.8; }

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .credential-list li { flex-direction: column; gap: 4px; }
  .credential-list li strong { text-align: left; }
}

/* 静态免责声明（源码可见，利于爬虫抓取） */
.static-disclaimer { border-top: 1px solid var(--border); background: #faf8f4; padding: 12px 0; text-align: center; }
.static-disclaimer .wrap { font-size: 12px; color: #a8622d; line-height: 1.7; }
.static-disclaimer a { color: #8a6a2f; text-decoration: none; }
.static-disclaimer a:hover { text-decoration: underline; }

/* 律所动态：首页最新动态条 */
.latest-news-bar { background: #fff; border-bottom: 1px solid var(--border); }
.latest-news-inner { display: flex; align-items: center; gap: 24px; padding: 16px 0; }
.latest-news-label { display: flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.latest-news-label small { font-size: 10px; letter-spacing: .1em; color: #9aa7b3; font-weight: 500; }
.latest-news-label .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(212,184,134,.2); }
.latest-news-items { display: flex; gap: 28px; flex: 1; min-width: 0; overflow: hidden; }
.latest-news-items a { display: flex; gap: 10px; align-items: center; min-width: 0; color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest-news-items a:hover { color: var(--primary); }
.latest-news-items a span { color: var(--accent); font-size: 12px; flex: none; }
.latest-news-more { flex: none; font-size: 13px; color: var(--primary); font-weight: 600; }

/* 律所动态：文章列表与详情 */
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd8e2; }
.article-date { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.article-card h3 { font-size: 19px; line-height: 1.5; color: var(--primary-dark); font-weight: 600; margin: 10px 0 8px; }
.article-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.article-more { display: inline-block; margin-top: 16px; color: var(--primary); font-size: 13px; font-weight: 600; }
.article-detail .back-link { display: inline-block; color: var(--primary); font-size: 14px; margin-bottom: 24px; }
.article-card[data-article-detail] { display: block; max-width: 820px; margin: 0 auto; padding: 44px 48px; cursor: default; }
.article-card[data-article-detail]:hover { transform: none; box-shadow: none; border-color: var(--border); }
.article-card[data-article-detail] h1 { font-size: 30px; line-height: 1.4; color: var(--primary-dark); margin: 14px 0 28px; }
.article-body p { color: #374151; font-size: 16px; line-height: 2; margin: 0 0 18px; text-indent: 2em; }
.article-body h2 { margin: 30px 0 14px; font-size: 20px; line-height: 1.5; color: var(--navy, #12263f); border-left: 3px solid var(--accent, #b08c4f); padding-left: 12px; }
.article-reviewer { margin: 24px 0 6px; padding: 12px 16px; background: #f6f8fb; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--muted); }
.article-reviewer strong { color: var(--navy, #12263f); }
.article-reviewer a { color: #1d3c61; border-bottom: 1px solid rgba(29,60,97,.35); }
.article-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.article-body a { color: #1d3c61; border-bottom: 1px solid rgba(29,60,97,.35); }
.article-body a:hover { color: var(--accent, #b08c4f); border-bottom-color: var(--accent, #b08c4f); }
.article-links { margin-top: 26px; padding: 16px 20px; background: #f6f8fb; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; line-height: 1.9; }
.article-links b { color: var(--navy, #12263f); margin-right: 12px; letter-spacing: .04em; }
.article-links a { display: inline-block; margin: 0 14px 4px 0; color: #1d3c61; }
.article-links a:hover { color: var(--accent, #b08c4f); }
.article-related { margin-top: 34px; padding: 22px 24px; background: #f6f8fb; border: 1px solid var(--border); border-radius: 10px; }
.article-related h3, .article-related h2 { margin: 0 0 12px; font-size: 16px; color: var(--navy, #12263f); }
.article-related ul { margin: 0; padding-left: 20px; }
.article-related li { margin: 7px 0; font-size: 14.5px; line-height: 1.7; }
.article-related li span { display: inline-block; min-width: 38px; margin-right: 8px; padding: 1px 6px; border-radius: 4px; background: #e8eef5; color: #1d3c61; font-size: 12px; text-align: center; }
.article-related li a { color: #1d3c61; }
.article-related li a:hover { color: var(--accent, #b08c4f); }
.article-related-more { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.article-related-more a { color: var(--accent, #b08c4f); }
.empty-articles { padding: 30px; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .latest-news-inner { flex-wrap: wrap; gap: 12px; }
  .latest-news-items { width: 100%; order: 3; flex-direction: column; gap: 8px; }
  .latest-news-more { margin-left: auto; }
  .article-list { grid-template-columns: 1fr; }
  .article-card[data-article-detail] { padding: 28px 22px; }
  .article-card[data-article-detail] h1 { font-size: 24px; }
}

/* 新闻资讯：栏目切换与分类标签 */
.news-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 28px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.news-tab { appearance: none; border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 30px; cursor: pointer; transition: all .2s; }
.news-tab:hover { border-color: var(--primary); color: var(--primary); }
.news-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.article-cat { display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary); background: rgba(18,58,92,.07); padding: 5px 11px; border-radius: 3px; margin-bottom: 12px; }
.article-cat.is-kepu { color: #8a6a2f; background: rgba(212,184,134,.18); }
.article-card .article-cat + .article-date { margin-left: 10px; }

/* 律师 / 案例详情页：可见字段与结构化数据逐项对应 */
.detail-panel { padding: 36px 40px; }
.detail-head { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.detail-head .avatar { width: 96px; height: 96px; flex: 0 0 96px; font-size: 34px; }
.detail-head h2 { margin: 0 0 6px; font-size: 27px; color: var(--navy, #12263f); }
.detail-head p { margin: 4px 0; color: var(--muted); font-size: 14.5px; }
.detail-head .lawyer-role { color: var(--primary); font-weight: 600; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 26px 0; }
.detail-field { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; background: #f6f8fb; border: 1px solid var(--border); border-radius: 8px; font-size: 14.5px; }
.detail-field b { flex: 0 0 78px; color: var(--primary); font-weight: 600; }
.detail-field span { color: #374151; line-height: 1.7; }
.detail-body { margin-top: 22px; }
.detail-body h3 { margin: 22px 0 10px; font-size: 17px; color: var(--navy, #12263f); }
.detail-body h3:first-child { margin-top: 0; }
.detail-body p { margin: 0 0 14px; color: #374151; font-size: 15px; line-height: 2; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.certificate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 12px; }
.certificate-item { margin: 0; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.certificate-item a { display: block; overflow: hidden; border-radius: 4px; background: #f6f8fb; }
.certificate-item img { display: block; width: 100%; height: 320px; object-fit: contain; }
.certificate-item figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; font-size: 14px; }
.certificate-item figcaption strong { color: var(--navy, #12263f); }
.certificate-item figcaption span { color: var(--muted); line-height: 1.6; }
.case-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.case-evidence-item { margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.case-evidence-item a { display: block; overflow: hidden; border-radius: 4px; background: #f6f8fb; }
.case-evidence-item img { display: block; width: 100%; height: 360px; object-fit: contain; }
.case-evidence-item figcaption { padding-top: 10px; color: var(--navy, #12263f); font-size: 13.5px; line-height: 1.6; text-align: center; }
.case-note { margin-top: 14px !important; font-size: 12.5px !important; color: var(--muted) !important; line-height: 1.8 !important; }
.case-mini-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.case-mini-links li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.case-mini-links a { color: var(--navy, #12263f); font-weight: 600; line-height: 1.6; }
.case-mini-links span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .case-mini-links { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .case-evidence { grid-template-columns: 1fr; gap: 12px; }
  .case-evidence-item img { height: 300px; }
  .detail-panel { padding: 24px 20px; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .detail-grid { grid-template-columns: 1fr; gap: 10px; }
  .detail-field { flex-direction: column; gap: 4px; }
  .detail-field b { flex: none; }
  .certificate-item img { height: 240px; }
}

/* 首页业务类型清单（与结构化数据 serviceType 一致） */
.service-types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.service-type-item { display: inline-block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 30px; background: #fff; color: var(--navy, #12263f); font-size: 14px; font-weight: 600; }
.service-type-item:hover { border-color: var(--primary); color: var(--primary); }
