/* =====================================================================
   桦天律师事务所官网 · 前台样式表
   想改配色，主要改下面 :root 里的颜色变量即可（全站统一生效）
   ===================================================================== */

:root {
    --color-primary: #123a6b;        /* 主色：深蓝（专业、可信赖） */
    --color-primary-dark: #0c2a52;   /* 主色加深（头部/页脚） */
    --color-accent: #c9a35b;         /* 点缀色：金色（质感） */
    --color-accent-dark: #b08a45;
    --color-bg: #f5f7fa;             /* 浅灰背景 */
    --color-text: #2b2f36;           /* 正文文字 */
    --color-muted: #6b7280;          /* 次要文字 */
    --color-border: #e4e8ef;         /* 边框 */
    --color-white: #ffffff;
    --shadow-card: 0 6px 24px rgba(18, 58, 107, 0.08);
    --shadow-hover: 0 12px 32px rgba(18, 58, 107, 0.16);
    --radius: 8px;
    --header-h: 76px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; color: var(--color-primary-dark); }
.icon { width: 26px; height: 26px; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block; padding: 11px 28px; border-radius: var(--radius);
    font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
    text-align: center; transition: all .2s;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-block { display: block; width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--color-primary-dark); color: #cfd8e6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar-right { display: flex; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item strong { color: var(--color-accent); }
.topbar .icon-sm { color: var(--color-accent); }

/* ---------- 主导航 ---------- */
.site-header {
    background: #fff; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 22px; font-weight: 800; color: var(--color-primary); letter-spacing: 2px; }
.brand-sub { font-size: 11px; color: var(--color-muted); }
.main-nav ul { display: flex; align-items: center; }
.main-nav li a {
    display: block; padding: 10px 14px; font-size: 15px; font-weight: 500;
    position: relative; color: #333;
}
.main-nav li a:hover { color: var(--color-primary); }
.main-nav li.active a { color: var(--color-primary); font-weight: 700; }
.main-nav li.active a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 3px; background: var(--color-accent); border-radius: 2px;
}
.nav-cta { margin-left: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px 0; }

/* ---------- 通用板块 ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--color-bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: 30px; position: relative; display: inline-block; padding-bottom: 14px; }
.section-head h2::after {
    content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 48px; height: 3px; background: var(--color-accent);
}
.section-head p { color: var(--color-muted); margin-top: 14px; }

/* ---------- 首页 Hero 轮播 ---------- */
.hero { position: relative; background: linear-gradient(125deg, #0c2a52 0%, #123a6b 55%, #1a4a86 100%); color: #fff; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(201,163,91,.18), transparent 45%);
    z-index: 1;
}
/* 每张轮播：图片背景（cover 铺满），上面叠深色遮罩保证文字可读 */
.hero-slide {
    position: relative;
    background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding: 72px 0; }
.hero-content { flex: 1 1 480px; }
.hero-content h1 { color: #fff; font-size: 38px; margin-bottom: 18px; }
.hero-content .hero-slide-title { color: #fff; font-size: 38px; font-weight: 700; margin-bottom: 18px; }
.hero-content .hero-sub { font-size: 17px; color: #d7e0ee; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* 首屏联系信息块（必须显示电话、地址） */
.hero-contact {
    flex: 0 0 340px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px; padding: 24px; backdrop-filter: blur(4px);
}
.hero-contact h4 { color: var(--color-accent); font-size: 16px; margin-bottom: 14px; }
.hero-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e6ecf5; }
.hero-contact-item .icon-sm { color: var(--color-accent); margin-top: 3px; }
.hero-contact-item strong { color: #fff; font-size: 17px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.active { background: var(--color-accent); width: 22px; border-radius: 5px; }

/* 快捷联系条 */
.quick-contact { background: var(--color-primary); color: #fff; }
.quick-contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.quick-contact-inner .phone { font-size: 26px; font-weight: 800; color: var(--color-accent); }
.quick-contact-inner .qc-label { font-size: 14px; color: #cfd8e6; }

/* ---------- 业务卡片 ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.practice-card {
    background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 30px 22px; transition: all .25s; text-align: center;
}
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--color-accent); }
.practice-card .p-num {
    display: inline-block; font-size: 26px; font-weight: 700; color: var(--color-accent);
    line-height: 1; margin-bottom: 14px; letter-spacing: 1px;
    border-bottom: 2px solid var(--color-accent); padding-bottom: 8px;
}
.practice-card h3 { font-size: 17px; margin-bottom: 10px; }
.practice-card p { font-size: 13.5px; color: var(--color-muted); line-height: 1.7; }
.practice-card .p-more { display: inline-block; margin-top: 14px; color: var(--color-accent-dark); font-size: 13px; font-weight: 600; }
/* 章节说明文字（纯文字提示） */
.section-note { max-width: 860px; margin: 26px auto 0; text-align: center; color: var(--color-muted); font-size: 13.5px; line-height: 1.8; }

/* ---------- 关于：文字版 + 关键事实 ---------- */
.about-text { max-width: 960px; margin: 0 auto; }
.about-text > p { color: var(--color-text); font-size: 15.5px; line-height: 2; margin-bottom: 18px; text-indent: 2em; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.about-facts li {
    display: flex; gap: 16px; background: var(--color-bg); border-left: 3px solid var(--color-accent);
    padding: 20px 22px; border-radius: 6px;
}
.about-facts .fact-num { font-size: 24px; font-weight: 700; color: var(--color-accent); line-height: 1.2; flex-shrink: 0; }
.about-facts strong { font-size: 16px; color: var(--color-primary-dark); display: block; margin-bottom: 6px; }
.about-facts p { font-size: 13.5px; color: var(--color-muted); line-height: 1.8; }

/* ---------- 特色优势（序号 + 文字） ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-item { display: flex; gap: 16px; background: #fff; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow-card); border-top: 3px solid var(--color-accent); }
.advantage-item .a-num { font-size: 26px; font-weight: 700; color: var(--color-accent); line-height: 1; flex-shrink: 0; }
.advantage-item h3 { font-size: 17px; margin-bottom: 8px; }
.advantage-item p { font-size: 14px; color: var(--color-muted); line-height: 1.8; }

/* ---------- 两栏文字（服务对象/区域） ---------- */
.two-col-text { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.text-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); }
.text-card h3 { font-size: 19px; margin-bottom: 14px; }
.text-card > p { color: var(--color-muted); font-size: 14.5px; line-height: 1.9; margin-bottom: 12px; }
.text-list li { position: relative; padding-left: 18px; font-size: 14px; color: var(--color-text); line-height: 2; }
.text-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; }

/* ---------- 首页常见问题（文字） ---------- */
.home-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.home-faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 24px; }
.home-faq-item h3 { font-size: 15.5px; margin-bottom: 8px; position: relative; padding-left: 26px; }
.home-faq-item h3::before { content: "Q"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--color-primary); color: var(--color-accent); border-radius: 4px; font-size: 12px; text-align: center; line-height: 18px; }
.home-faq-item p { font-size: 13.5px; color: var(--color-muted); line-height: 1.8; }

/* ---------- 服务承诺 ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.promise-item { background: var(--color-bg); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.promise-item h4 { font-size: 16px; margin-bottom: 10px; }
.promise-item p { font-size: 13.5px; color: var(--color-muted); line-height: 1.8; }

/* ---------- 资质占位（无图时用文字星标，避免装饰图标） ---------- */
.qual-card .q-num { display: inline-block; width: 60px; height: 60px; line-height: 60px; text-align: center; margin: 0 auto 16px; background: rgba(18,58,107,.07); border-radius: 50%; color: var(--color-accent); font-size: 26px; }

/* ---------- 资质 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.qual-card {
    background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 26px; text-align: center;
}
.qual-card .q-icon { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--color-accent); }
.qual-card h3 { font-size: 16px; margin-bottom: 8px; }
.qual-card p { font-size: 13px; color: var(--color-muted); }
.qual-card img { border-radius: 6px; margin: 0 auto 12px; }

/* ---------- 相关栏目互链（独立页面底部） ---------- */
.related-section { background: #f5f7fa; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.related-links a, .related-links .related-current {
    padding: 9px 22px; border-radius: 30px; font-size: 14px; border: 1px solid var(--color-border); background: #fff;
}
.related-links a { color: var(--color-primary); transition: all .2s; }
.related-links a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.related-links .related-current { color: var(--color-muted); background: #eef1f6; cursor: default; }

/* ---------- 页脚技术支持链接 ---------- */
.footer-support { color: #c9a35b; }
.footer-support:hover { color: #e0bd78; text-decoration: underline; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: all .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #123a6b, #1a4a86); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; }
.news-meta { font-size: 12.5px; color: var(--color-muted); margin-bottom: 8px; display: flex; gap: 12px; }
.news-body h3 { font-size: 16.5px; margin-bottom: 8px; }
.news-body p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- 服务流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step { text-align: center; position: relative; }
.process-step .step-num {
    width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
    background: #fff; border: 2px solid var(--color-accent); color: var(--color-primary);
    font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: 15px; margin-bottom: 4px; }
.process-step p { font-size: 12.5px; color: var(--color-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--color-primary-dark);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .faq-arrow { transition: transform .25s; color: var(--color-accent); font-size: 20px; }
.faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 18px; color: var(--color-muted); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .c-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--color-primary); color: var(--color-accent); display: flex; align-items: center; justify-content: center; }
.contact-info-item h4 { font-size: 16px; }
.contact-info-item p { color: var(--color-muted); font-size: 14px; }
.contact-form { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* 深色描边按钮（用于地图等浅色背景上的次级按钮） */
.btn-outline-dark { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }

/* 交通指引 */
.traffic-box { background: var(--color-bg); border-left: 3px solid var(--color-accent); border-radius: 6px; padding: 18px 22px; margin-bottom: 22px; }
.traffic-box h4 { font-size: 16px; margin-bottom: 10px; }
.traffic-box p { font-size: 14px; color: var(--color-muted); line-height: 1.9; }

/* 地图 */
.map-wrap { margin-top: 12px; }
.map-wrap iframe { box-shadow: var(--shadow-card); }
.map-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.map-btns .btn { padding: 9px 20px; font-size: 14px; }
.map-tip { font-size: 12.5px; color: var(--color-muted); margin-top: 10px; }

/* ---------- 表单 ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row label em { color: #d9534f; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--color-border);
    border-radius: 6px; font-size: 14px; font-family: inherit;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(18,58,107,.1);
}
.form-result { margin-top: 12px; font-size: 14px; text-align: center; }
.form-result.ok { color: #2e7d32; }
.form-result.err { color: #d9534f; }

/* ---------- 面包屑 / 页面横幅 ---------- */
.page-banner { background: linear-gradient(125deg, #0c2a52, #1a4a86); color: #fff; padding: 48px 0; }
.page-banner h1 { color: #fff; font-size: 30px; }
.breadcrumb { background: var(--color-bg); padding: 12px 0; font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li::after { content: "/"; margin-left: 6px; color: #bbb; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb .current { color: var(--color-muted); }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.detail-content { background: #fff; padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.detail-content h2, .detail-content h3 { margin: 22px 0 12px; }
.detail-content p { margin-bottom: 12px; }
.detail-content ul { margin: 0 0 12px 20px; list-style: disc; }
.detail-content .tip { background: #fdf6e9; border-left: 3px solid var(--color-accent); padding: 10px 14px; font-size: 13px; color: #8a6d3b; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.detail-gallery img { border-radius: 6px; width: 100%; }
.detail-sidebar { position: sticky; top: 100px; }
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 22px; margin-bottom: 20px; }
.side-box h4 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.side-list li { padding: 8px 0; border-bottom: 1px dashed var(--color-border); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--color-muted); }
.side-list a:hover { color: var(--color-primary); }
.prev-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 14px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-border); border-radius: 6px; font-size: 14px; color: var(--color-muted);
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--color-primary-dark); color: #b9c4d6; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; padding: 56px 0 40px; }
.footer-brand .brand-name { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.footer-brand .brand-sub { display: block; font-size: 11px; color: #8fa0ba; margin-top: 2px; }
.footer-slogan { color: var(--color-accent); margin: 14px 0 10px; font-weight: 600; }
.footer-desc { font-size: 13px; color: #97a6bd; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b9c4d6; }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-contact .icon-sm { color: var(--color-accent); margin-top: 4px; }
.footer-contact a:hover { color: var(--color-accent); }
.footer-qrcode { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.footer-qrcode img { width: 80px; height: 80px; border-radius: 6px; background: #fff; }
.footer-qrcode span { font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0; font-size: 13px; color: #8fa0ba; }
.footer-sep { margin: 0 8px; color: #5a6b85; }
.footer-records a:hover { color: var(--color-accent); }

/* ---------- 悬浮按钮 ---------- */
.float-buttons { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,.2); position: relative;
}
.float-btn .icon { width: 24px; height: 24px; }
.float-phone { background: var(--color-accent); }
.float-consult { background: var(--color-primary); }
.float-top { background: #4a5a72; }
.float-label {
    position: absolute; right: 62px; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.75); color: #fff; font-size: 12px; padding: 4px 10px;
    border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn:hover .float-label { opacity: 1; }
.wechat-pop {
    position: absolute; right: 62px; bottom: 0; background: #fff; border-radius: 10px;
    padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); width: 150px; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wechat-pop img { width: 126px; height: 126px; margin: 0 auto; }
.wechat-pop p { color: var(--color-muted); font-size: 12px; margin-top: 8px; }
.wechat-empty { width: 126px; height: 126px; margin: 0 auto; display: flex; align-items: center; color: #aaa; font-size: 13px; }
.float-wechat:hover .wechat-pop { opacity: 1; }

/* ---------- 弹窗 ---------- */
.modal-mask {
    position: fixed; inset: 0; background: rgba(8,20,40,.6); z-index: 200;
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 460px; padding: 32px; position: relative; max-height: 92vh; overflow-y: auto; }
.modal-title { font-size: 22px; }
.modal-sub { color: var(--color-muted); font-size: 14px; margin: 6px 0 22px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 28px; color: #999; cursor: pointer; line-height: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid, .qual-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-text, .home-faq, .about-facts { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .hidden-md { display: none; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: var(--header-h); right: 0; width: 78%; max-width: 320px; height: calc(100vh - var(--header-h));
        background: #fff; box-shadow: -4px 0 20px rgba(0,0,0,.1); padding: 20px;
        transform: translateX(100%); transition: transform .25s; z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav li a { padding: 14px 6px; border-bottom: 1px solid var(--color-border); }
    .main-nav li.active a::after { display: none; }
    .nav-cta { margin: 18px 0 0; }
    .hero-content h1 { font-size: 28px; }
    .hero-contact { flex: 1 1 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .hidden-sm { display: none; }
    .section { padding: 48px 0; }
    .section-head h2 { font-size: 24px; }
}
@media (max-width: 520px) {
    .practice-grid, .advantage-grid, .qual-grid, .news-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .detail-gallery { grid-template-columns: 1fr; }
    .float-buttons { right: 12px; bottom: 70px; }
    .float-btn { width: 46px; height: 46px; }
    .hidden-lg { display: inline-block; }
}
.hidden-lg { display: none; }

/* =====================================================================
 * GEO 可核验表格（统一 .geo-table 样式：含 caption、更新日期与适用边界）
 * ===================================================================== */
.geo-table { margin: 30px 0; overflow-x: auto; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; }
.geo-table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 13.5px; line-height: 1.7; }
.geo-table caption { text-align: left; padding: 16px 18px 10px; font-size: 15px; font-weight: 700; color: var(--color-primary); }
.geo-table th, .geo-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid #eef1f5; }
.geo-table thead th { background: #f4f7fb; color: var(--color-primary); font-weight: 600; border-top: 0; }
.geo-table tbody tr:nth-child(even) { background: #fafbfd; }
.geo-table .geo-table-note { padding: 10px 18px 14px; font-size: 12.5px; color: var(--color-muted); line-height: 1.7; }
@media (max-width: 600px) {
    .geo-table { border-radius: 8px; }
    .geo-table table { font-size: 12.5px; }
    .geo-table th, .geo-table td { padding: 9px 10px; }
}
