/* =====================================================================
   天津工伤维权律所官网 · 主题样式
   设计语言：金铜商务风 + 全屏滚动 + 上浮渐入动效
   参考：信之源律所官网的版式与动效，内容为本所
   ===================================================================== */

/* ---------- 变量 ---------- */
:root {
    --cor: #c79d5e;            /* 主色：金铜 */
    --cor-dark: #a87f45;       /* 主色深 */
    --rgba: rgba(199, 157, 94, 0.95);
    --bg: #f7f7f7;
    --ink: #393837;            /* 主文字 */
    --ink-2: #666666;
    --ink-3: #999999;
    --bor: #e8e8e8;
    --white: #ffffff;
    --header-h: 80px;
}

/* ---------- 字体（对齐被仿站 xinzhiyuanlaw.com） ---------- */
/* D-DIN 数字/英文标题字体（如未上传字体文件，自动回退到 Windows 自带的 Bahnschrift，同为 DIN 风格） */
@font-face { font-family: 'din'; src: url('../fonts/D-DIN.ttf') format('truetype'); font-weight: normal; font-display: swap; }
@font-face { font-family: 'din_b'; src: url('../fonts/D-DIN-Bold.ttf') format('truetype'); font-weight: bold; font-display: swap; }

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "苹果方", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}
/* 英文/数字统一使用 DIN 风格字体 */
.en, .s-nums .num-item strong, .section-title .en { font-family: 'din', 'din_b', "Bahnschrift", "DIN Alternate", "Arial Narrow", sans-serif; }
a { color: var(--ink); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--cor); }
img { max-width: 100%; border: 0; vertical-align: middle; }
ul, ol, dl, dd { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }
.elis { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.section-title { text-align: center; }
.section-title strong { font-size: 38px; line-height: 1.2; letter-spacing: 2px; display: block; color: var(--ink); }
.section-title .en { display: block; font-size: 14px; letter-spacing: 4px; color: var(--cor); text-transform: uppercase; margin-bottom: 8px; }
.section-title p { font-size: 16px; color: var(--ink-2); margin-top: 14px; letter-spacing: 1px; }
.section-title .line { display: inline-block; width: 48px; height: 2px; background: var(--cor); margin-top: 18px; }

/* ---------- 头部导航 ---------- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h); transition: all .4s ease;
    background: transparent;
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .4s ease; }
.header.scrolled .logo img { filter: none; }
.nav { display: flex; align-items: center; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 0 22px; height: var(--header-h); line-height: var(--header-h);
    font-size: 16px; color: #fff; letter-spacing: 1px; position: relative;
}
.nav > li > a::after {
    content: ""; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--cor); transition: width .3s ease;
}
.nav > li > a:hover::after, .nav > li > a.on::after { width: 60%; }
.nav > li > a:hover, .nav > li > a.on { color: var(--cor); }
/* 子菜单 */
.nav > li .submenu {
    position: absolute; left: 50%; top: var(--header-h); transform: translateX(-50%) translateY(12px);
    min-width: 150px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transition: all .3s ease; border-top: 2px solid var(--cor);
}
.nav > li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav > li .submenu a { display: block; padding: 12px 22px; font-size: 14px; color: var(--ink); border-bottom: 1px solid #f2f2f2; }
.nav > li .submenu a:hover { color: var(--cor); background: #faf6f0; }
/* 头部滚动后（离开首屏）变白 */
.header.scrolled { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header.scrolled .nav > li > a { color: var(--ink); }
.header.scrolled .nav > li > a:hover, .header.scrolled .nav > li > a.on { color: var(--cor); }
/* 内页顶部：header 透明压在金色横幅上时，选中项文字与下划线保持白色，避免与金色背景同色 */
body:not(.is-home) .header:not(.scrolled) .nav > li > a.on { color: #fff; }
body:not(.is-home) .header:not(.scrolled) .nav > li > a.on::after { background: #fff; }
/* 移动端汉堡 */
.m-open-btn { display: none; flex-direction: column; justify-content: center; width: 34px; height: 34px; cursor: pointer; }
.m-open-btn i { display: block; height: 2px; background: #fff; margin: 3px 0; transition: all .3s ease; }
.header.scrolled .m-open-btn i { background: var(--ink); }
@media (max-width: 991px) {
    .m-open-btn { display: flex; }
    .nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; height: 100dvh; background: #fff; flex-direction: column; align-items: stretch; padding-top: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); overflow-y: auto; -webkit-overflow-scrolling: touch; transition: right .35s ease; box-shadow: -4px 0 16px rgba(0,0,0,.12); }
    .nav.open { right: 0; }
    .nav > li > a { height: 50px; line-height: 50px; color: var(--ink); padding: 0 30px; border-bottom: 1px solid #f2f2f2; }
    .nav > li > a::after { display: none; }
    /* 内页当前项在白色侧滑面板里改为金色，避免与白底同色不可见 */
    body:not(.is-home) .header:not(.scrolled) .nav > li > a.on { color: var(--cor); }
    .nav > li .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; min-width: 0; background: #fafafa; }
    .nav > li .submenu a { padding-left: 46px; }
}

/* ---------- 全屏滚动容器（fullpage.js） ---------- */
#fullpage { width: 100%; height: 100vh; }
#fullpage .section { height: 100vh; position: relative; overflow: hidden; }
/* 首页禁用页面级滚动（fullpage.js 自身也会给 html/body 加 fp-enabled 锁定滚动） */
body.is-home { overflow: hidden; }

/* ---------- 首屏 Hero ---------- */
.hero { height: 100vh; position: relative; overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero .hero-mask { position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.hero .hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px; }
.hero .hero-title { font-size: 48px; letter-spacing: 6px; font-weight: bold; }
.hero .hero-sub { font-size: 20px; letter-spacing: 3px; margin-top: 18px; opacity: .9; }
.hero .hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-gold { display: inline-block; padding: 14px 40px; background: var(--cor); color: #fff; font-size: 16px; letter-spacing: 2px; border-radius: 40px; transition: all .3s ease; }
.btn-gold:hover { background: var(--cor-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(199,157,94,.4); }
.btn-line { display: inline-block; padding: 13px 40px; border: 1px solid #fff; color: #fff; font-size: 16px; letter-spacing: 2px; border-radius: 40px; transition: all .3s ease; }
.btn-line:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
/* 首屏进入动效 */
.hero .anim { opacity: 0; transform: translateY(40px); transition: all .8s ease; }
.section.active .hero .anim { opacity: 1; transform: translateY(0); }
.hero .anim:nth-child(1) { transition-delay: .15s; }
.hero .anim:nth-child(2) { transition-delay: .3s; }
.hero .anim:nth-child(3) { transition-delay: .45s; }

/* ---------- 通用 screen 内布局 ---------- */
/* 注意：不能用 .slide 作为类名，fullPage.js 的默认 slideSelector 就是 ".slide"，
   会把这些整屏区块误判成「横向 slide」，导致 footer 出现在右侧、整页错位。 */
.screen { height: 100vh; display: flex; padding: 96px 0 48px; }
.screen .container { width: 100%; margin: auto; }
.screen-inner { text-align: center; }
.anim { opacity: 0; transform: translateY(60px); transition: all .8s ease; }
#fullpage .section.active .anim { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }

/* ---------- 第二屏 数据统计 ---------- */
.s-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }
.s-nums .num-item { text-align: center; min-width: 170px; }
.s-nums .num-item strong { font-size: 46px; color: var(--cor); font-family: 'din_b', 'din', "Bahnschrift", "DIN Alternate", sans-serif; letter-spacing: 1px; }
.s-nums .num-item strong span { display: inline-block; }
.s-nums .num-item p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }

/* ---------- 主营业务卡片 ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; justify-content: center; }
.card { flex: 1 1 200px; max-width: 240px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 26px 18px; text-align: center; transition: all .35s ease; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: 0 12px 32px rgba(199,157,94,.18); border-color: var(--cor); }
.card .ico { width: 54px; height: 54px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #faf6f0; transition: all .35s ease; }
.card:hover .ico { background: var(--cor); }
.card .ico svg { width: 28px; height: 28px; fill: var(--cor); transition: fill .35s ease; }
.card:hover .ico svg { fill: #fff; }
.card strong { font-size: 19px; color: var(--ink); }
.card p { color: var(--ink-3); font-size: 14px; margin-top: 8px; height: 22px; overflow: hidden; }
.card .more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--cor); }

/* ---------- 律师团队 ---------- */
.lawyer-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; margin-top: 46px; text-align: left; }
.lawyer-feature .photo { flex: 0 0 320px; max-width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.lawyer-feature .photo img { width: 100%; display: block; }
.lawyer-feature .info { flex: 1; }
.lawyer-feature .info h3 { font-size: 30px; color: var(--ink); }
.lawyer-feature .info .pos { color: var(--cor); font-size: 16px; letter-spacing: 2px; margin-top: 8px; }
.lawyer-feature .info .desc { color: var(--ink-2); margin-top: 20px; font-size: 15px; }
.lawyer-feature .info .tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.lawyer-feature .info .tags span { padding: 6px 16px; border: 1px solid var(--cor); color: var(--cor); border-radius: 20px; font-size: 13px; }
.lawyer-team { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 46px; }
.lawyer-team .tm-item { flex: 1 1 220px; max-width: 260px; text-align: center; }
.lawyer-team .tm-item .photo { border-radius: 8px; overflow: hidden; }
.lawyer-team .tm-item .photo img { width: 100%; transition: transform .4s ease; }
.lawyer-team .tm-item:hover .photo img { transform: scale(1.05); }
.lawyer-team .tm-item strong { display: block; margin-top: 14px; font-size: 17px; }
.lawyer-team .tm-item p { color: var(--cor); font-size: 13px; margin-top: 4px; }

/* ---------- 案例卡片 ---------- */
.case-item { flex: 1 1 300px; max-width: 360px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; text-align: left; transition: all .35s ease; }
.case-item:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.case-item .thumb { height: 200px; overflow: hidden; position: relative; }
.case-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-item:hover .thumb img { transform: scale(1.08); }
.case-item .thumb .badge { position: absolute; left: 0; top: 16px; background: var(--cor); color: #fff; padding: 4px 14px; font-size: 13px; }
.case-item .body { padding: 22px; }
.case-item .body strong { font-size: 18px; display: block; }
.case-item .body p { color: var(--ink-3); font-size: 14px; margin-top: 10px; height: 44px; overflow: hidden; }
.case-item .body .meta { display: block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- 文章列表 ---------- */
.news-list { margin-top: 40px; text-align: left; }
.news-list .news-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 6px; border-bottom: 1px dashed #e0e0e0; transition: all .3s ease; }
.news-list .news-row:hover { padding-left: 14px; background: #faf6f0; }
.news-list .news-row .t { font-size: 16px; color: var(--ink); }
.news-list .news-row .t:hover { color: var(--cor); }
.news-list .news-row .d { color: var(--ink-3); font-size: 13px; white-space: nowrap; margin-left: 20px; }

/* ---------- 好评 ---------- */
.praise-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 46px; }
.praise-item { flex: 1 1 300px; max-width: 360px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 30px 26px; position: relative; transition: all .35s ease; }
.praise-item:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.praise-item::before { content: "\201C"; font-size: 70px; color: var(--cor); line-height: 1; font-family: Georgia, serif; display: block; }
.praise-item p { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.praise-item .who { margin-top: 20px; color: var(--ink-3); font-size: 13px; }

/* ---------- 联系区块 ---------- */
.contact-info { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 46px; text-align: left; justify-content: center; }
.contact-info .ci-item { flex: 1 1 220px; max-width: 280px; text-align: center; }
.contact-info .ci-item .ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--cor); display: flex; align-items: center; justify-content: center; }
.contact-info .ci-item .ico svg { width: 28px; height: 28px; fill: #fff; }
.contact-info .ci-item strong { display: block; font-size: 17px; }
.contact-info .ci-item p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* ---------- 右侧悬浮咨询 ---------- */
.fixed-side { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; }
.fixed-side a { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 60px; height: 60px; background: var(--cor); color: #fff; font-size: 12px; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,.3); transition: all .3s ease; }
.fixed-side a:hover { background: var(--cor-dark); }
.fixed-side a svg { width: 22px; height: 22px; fill: #fff; margin-bottom: 4px; }
.fixed-side a.top { background: rgba(0,0,0,.45); }
@media (max-width: 767px) { .fixed-side { display: none; } }

/* ---------- 移动端底部快捷操作栏（APP 式） ---------- */
.m-tabbar { display: none; }
.m-tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 0 6px; color: #fff; font-size: 12px; letter-spacing: 1px;
}
.m-tabbar a svg { width: 22px; height: 22px; fill: #fff; }
.m-tabbar a.tel { background: var(--cor-dark); }

/* ---------- 移动端导航遮罩 ---------- */
.nav-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 98; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.nav-mask.show { opacity: 1; visibility: visible; }

/* ---------- 弹窗 ---------- */
.pop-mask { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.pop-mask.show { display: flex; }
.pop-box { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); animation: popIn .4s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.pop-box .pop-head { background: linear-gradient(135deg, var(--cor), var(--cor-dark)); color: #fff; padding: 30px 30px 24px; text-align: center; }
.pop-box .pop-head h3 { font-size: 24px; letter-spacing: 2px; }
.pop-box .pop-head p { font-size: 14px; opacity: .92; margin-top: 8px; }
.pop-box .pop-body { padding: 30px; }
.pop-box .pop-body .tel { text-align: center; font-size: 26px; color: var(--cor); font-weight: bold; letter-spacing: 1px; margin-bottom: 20px; }
.pop-box .pop-body .btn { display: block; width: 100%; text-align: center; padding: 14px; border-radius: 40px; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.pop-box .pop-body .btn.gold { background: var(--cor); color: #fff; }
.pop-box .pop-body .btn.gold:hover { background: var(--cor-dark); }
.pop-box .pop-body .btn.wechat { background: #07c160; color: #fff; }
.pop-box .pop-body .btn.line { background: #fff; border: 1px solid var(--cor); color: var(--cor); }
.pop-box .pop-body .wechat-qr { text-align: center; padding: 4px 0 2px; }
.pop-box .pop-body .wechat-qr img { width: 180px; height: 180px; border-radius: 8px; display: inline-block; }
.pop-box .pop-body .wechat-qr p { font-size: 13px; color: #999; margin-top: 8px; }
.pop-box .pop-close { position: absolute; right: 14px; top: 12px; width: 30px; height: 30px; line-height: 28px; text-align: center; color: #fff; font-size: 22px; cursor: pointer; opacity: .8; }
.pop-box .pop-close:hover { opacity: 1; }

/* ---------- 页脚 ---------- */
.footer { background: #2a2622; color: #9d9d9d; padding: 60px 0 0; font-size: 14px; }
.footer a { color: #9d9d9d; }
.footer a:hover { color: #fff; }
.footer .foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 40px; }
.footer .foot-left { flex: 1 1 560px; }
.footer .foot-left p { line-height: 30px; }
.footer .foot-right { display: flex; gap: 30px; }
.footer .foot-right .qr { text-align: center; }
.footer .foot-right .qr img { width: 120px; height: 120px; border-radius: 6px; background: #fff; padding: 6px; }
.footer .foot-right .qr p { margin-top: 10px; color: #9d9d9d; }
.footer .foot-right .qr .code { margin: 0; line-height: 0; }
.footer .foot-bom { border-top: 1px solid #3d3a36; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 13px; }

/* ---------- 内页通用 ---------- */
.page-banner { background: linear-gradient(135deg, var(--cor), var(--cor-dark)); color: #fff; padding: 110px 0 60px; text-align: center; }
.page-banner h1 { font-size: 36px; letter-spacing: 4px; }
.page-banner p { font-size: 15px; opacity: .9; margin-top: 10px; letter-spacing: 2px; }
.page-body { padding: 50px 0 70px; min-height: 60vh; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--cor); }

/* 内页列表 */
.inner-list { margin-top: 10px; }
.inner-list .il-item { display: flex; align-items: center; padding: 18px 10px; border-bottom: 1px dashed #e0e0e0; transition: all .3s ease; }
.inner-list .il-item:hover { padding-left: 16px; background: #faf6f0; }
.inner-list .il-item .t { flex: 1; font-size: 16px; }
.inner-list .il-item .t:hover { color: var(--cor); }
.inner-list .il-item .d { color: var(--ink-3); font-size: 13px; margin-left: 20px; white-space: nowrap; }
.inner-list .il-item .tag { background: var(--cor); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 3px; margin-right: 10px; }

/* 内容页 */
.article { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.article h1 { font-size: 28px; text-align: center; }
.article .meta { text-align: center; color: var(--ink-3); font-size: 13px; margin: 16px 0 24px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.article .content { font-size: 15px; line-height: 2; color: var(--ink); }
.article .content img { max-width: 100%; height: auto; border-radius: 4px; }
.article .prev-next { margin-top: 30px; padding-top: 20px; border-top: 1px solid #f0f0f0; font-size: 14px; color: var(--ink-2); line-height: 2; }

/* 分页 */
.pager { text-align: center; margin-top: 40px; }
.pager a, .pager span { display: inline-block; padding: 8px 14px; margin: 0 4px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 14px; color: var(--ink); transition: all .3s ease; }
.pager a:hover, .pager .page-num-current { background: var(--cor); color: #fff; border-color: var(--cor); }

/* 子栏目导航 */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a { padding: 8px 22px; border: 1px solid #e0e0e0; border-radius: 30px; font-size: 14px; color: var(--ink); transition: all .3s ease; }
.subnav a:hover, .subnav a.on { background: var(--cor); color: #fff; border-color: var(--cor); }

/* 表单 */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 15px; color: var(--ink); outline: none; transition: border .3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--cor); }
.form-group textarea { height: 120px; resize: vertical; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .hero .hero-title { font-size: 34px; letter-spacing: 3px; }
    .hero .hero-sub { font-size: 16px; }
    .section-title strong { font-size: 28px; }
    .lawyer-feature { flex-direction: column; text-align: center; }
    .lawyer-feature .photo { flex: 0 0 auto; width: 240px; }
    .lawyer-feature .info .tags { justify-content: center; }
}
@media (max-width: 767px) {
    /* ---- 首页普通滚动：解除全屏锁定，区块恢复自然高度（修复内容裁切遮挡） ---- */
    body.is-home, body.is-mobile { overflow: auto; }
    #fullpage, #fullpage .section { height: auto; overflow: visible; }
    /* 首屏视频：移动端改为 16:9 等比横幅（不再全屏裁剪），并下移到标题栏下方，去掉文字叠加层 */
    .hero { height: auto; }
    .hero .hero-bg { position: relative; aspect-ratio: 16 / 9; }
    .hero .hero-mask { display: none; }
    .hero .hero-inner { display: none; }
    /* 标题栏常驻白底，视频不压在标题栏背后 */
    #fullpage { padding-top: var(--header-h); }
    body.is-home .header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
    body.is-home .header .logo img { filter: none; }
    body.is-home .header .m-open-btn i { background: var(--ink); }
    .screen { height: auto; padding: 40px 0; }
    body.is-mobile .anim.in { opacity: 1; transform: translateY(0); }

    /* ---- 底部快捷操作栏：给页面底部留出空间，避免盖住页脚 ---- */
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .m-tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        background: var(--cor); padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -2px 12px rgba(0,0,0,.12);
    }

    /* ---- 首屏 ---- */
    .hero .hero-title { font-size: 26px; letter-spacing: 2px; }
    .hero .hero-sub { font-size: 15px; letter-spacing: 1px; }
    .hero .hero-cta { margin-top: 28px; gap: 12px; }
    .btn-gold, .btn-line { padding: 12px 24px; font-size: 14px; }

    /* ---- 通用标题 / 栅格 ---- */
    .section-title strong { font-size: 24px; }
    .grid { gap: 12px; }
    .card { flex: 1 1 45%; max-width: none; padding: 18px 12px; }
    .card strong { font-size: 16px; }
    .case-item, .praise-item { flex: 1 1 100%; max-width: 100%; }
    .case-item .thumb { height: 160px; }

    /* ---- 律师团队 ---- */
    .lawyer-feature { gap: 24px; }
    .lawyer-feature .photo { width: 200px; }
    .lawyer-feature .info h3 { font-size: 24px; }
    .lawyer-team .tm-item { flex: 1 1 45%; }

    /* ---- 数据 / 联系 ---- */
    .s-nums { gap: 16px; }
    .s-nums .num-item { min-width: 130px; }
    .s-nums .num-item strong { font-size: 34px; }
    .contact-info { gap: 18px; }
    .contact-info .ci-item { flex: 1 1 45%; max-width: none; }

    /* ---- 文章列表 ---- */
    .news-list .news-row { flex-direction: column; align-items: flex-start; }
    .news-list .news-row .d { margin-left: 0; margin-top: 6px; }

    /* ---- 内页 ---- */
    .page-banner { padding: 90px 0 40px; }
    .page-banner h1 { font-size: 26px; }
    .article { padding: 20px; }
    .article h1 { font-size: 22px; }
    .footer .foot-right { width: 100%; justify-content: center; }
    .footer .foot-left { flex: 1 1 100%; }

    /* ---- 弹窗 ---- */
    .pop-box { max-width: 92%; }
    .pop-box .pop-body { padding: 20px; }
}
