/* ============================================================
   律师网站群 — 前台视觉系统
   墨蓝 + 青铜 · 专业可信 · 纸质氛围
   ============================================================ */

:root {
    --primary: #2c4a6e;
    --primary-light: #3d628f;
    --primary-dark: #1e3654;
    --accent: #c59a2e;
    --accent-soft: #d4bc88;
    --accent-deep: #8f7340;
    --bg: #eef1f3;
    --bg-soft: #f6f7f8;
    --bg-white: #ffffff;
    --text: #1c262e;
    --text-light: #5a6770;
    --text-muted: #84919a;
    --border: #d5dce0;
    --shadow: 0 10px 30px rgba(8, 21, 31, .07);
    --shadow-lg: 0 22px 50px rgba(8, 21, 31, .12);
    --radius: 4px;
    --max-width: 1180px;
    --font-heading: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
    --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(184, 151, 90, .08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(44, 74, 110, .10), transparent 50%),
        linear-gradient(180deg, #f4f6f7 0%, var(--bg) 40%, #e9eef1 100%);
    line-height: 1.75;
    letter-spacing: .01em;
    min-height: 100vh;
}

::selection { color: #fff; background: var(--accent-deep); }

a { color: var(--primary-light); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-deep); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    padding: 0;
}

.site-main { min-height: 62vh; }

/* ---- Utility bar ---- */
.site-utility {
    height: 36px;
    color: #c5d0d7;
    background: linear-gradient(90deg, var(--primary-dark), #355a82 55%, var(--primary-dark));
    font-size: 12px;
    letter-spacing: .04em;
}
.utility-inner {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.utility-inner > div { display: flex; align-items: center; gap: 22px; }
.utility-inner a {
    color: var(--accent-soft);
    font-weight: 600;
}
.utility-inner a:hover { color: #fff; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(213, 220, 224, .9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--primary);
}
.logo:hover { color: var(--primary); }
.logo-img {
    display: block;
    width: auto;
    height: 40px;
    flex: 0 0 auto;
    object-fit: contain;
}
.logo-has-img:hover .logo-img {
    transform: scale(1.03);
    transition: transform .3s var(--ease);
}
.logo-seal {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1.5px solid var(--accent);
    color: var(--accent-deep);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    background:
        radial-gradient(circle at 30% 30%, rgba(184, 151, 90, .12), transparent 60%),
        #fff;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.logo:hover .logo-seal {
    transform: rotate(-4deg) scale(1.04);
    box-shadow: 0 8px 18px rgba(143, 115, 64, .18);
}
.logo-copy { display: flex; flex-direction: column; min-width: 0; }
.logo-copy strong {
    overflow: hidden;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.logo-copy small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.main-nav { flex: 1; min-width: 0; }
.main-nav > ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
}
.main-nav > ul > li {
    position: relative;
    flex: 0 0 auto;
}
.main-nav a {
    position: relative;
    display: block;
    padding: 28px 10px 26px;
    color: #314049;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
}
.main-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 18px;
    left: 50%;
    height: 2px;
    background: var(--accent);
    transition: inset .28s var(--ease);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li:hover > a {
    color: var(--accent-deep);
    background: transparent;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li:hover > a::after { right: 10px; left: 10px; }

/* 专业领域下拉 */
.nav-dropdown-toggle::before {
    content: none;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    z-index: 120;
    display: none;
    min-width: 168px;
    padding: 8px 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateX(-50%);
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
    display: block;
}
.nav-dropdown-menu a {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
    color: var(--primary);
    background: var(--bg-soft);
}

/* 静态介绍页 */
.static-page {
    /* grid rules unified with .content-layout above */
}
.static-panel {
    padding: 36px 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.static-panel h2 {
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e9ec;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}
.static-panel h2:first-child { margin-top: 0; }
.about-lead {
    margin-bottom: 8px;
    padding: 16px 18px;
    border-left: 4px solid var(--accent);
    background: var(--bg-soft);
    line-height: 1.9;
}
.about-advantages li { margin-bottom: 8px; }
.geo-city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 6px;
}
.geo-city-links a {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
}
.geo-city-links a:hover {
    border-color: var(--primary-light);
    color: var(--accent-deep);
}
.static-panel h3 {
    margin: 22px 0 12px;
    color: var(--primary);
    font-size: 1.05rem;
}
.static-panel p { margin-bottom: 14px; color: var(--text); line-height: 1.9; }
.static-pre { white-space: pre-line; }
.static-list {
    margin: 8px 0 8px 1.2rem;
    list-style: disc;
    color: var(--text-light);
    line-height: 1.9;
}
.static-steps {
    margin: 8px 0 8px 1.2rem;
    color: var(--text-light);
    line-height: 2;
}
.practice-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0 8px;
}
.practice-cat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-soft);
    color: var(--text);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.practice-cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
    color: var(--primary);
}
.practice-cat-card strong { font-size: 1rem; }
.practice-cat-card span { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* 关键词专题落地页（枢纽 + 详情） */
.zt-banner {
    position: relative;
    overflow: hidden;
}
.zt-banner-glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 52%;
    height: 140%;
    background:
        radial-gradient(circle at 30% 40%, rgba(184, 151, 90, .22), transparent 55%),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .08), transparent 50%);
    pointer-events: none;
    animation: ztGlowDrift 14s ease-in-out infinite alternate;
}
@keyframes ztGlowDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-4%, 3%, 0) scale(1.05); }
}
.zt-banner-inner { position: relative; z-index: 1; }
.zt-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.zt-banner-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    color: #d7e0e6;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: none;
    margin: 0;
}
.zt-eyebrow {
    margin: 0 0 6px;
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}
.zt-eyebrow.light { color: var(--accent-soft); }

.zt-hub {
    margin: 36px auto 64px;
    animation: ztFadeUp .55s var(--ease) both;
}
@keyframes ztFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.zt-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, #fff, color-mix(in srgb, var(--bg-soft) 70%, #fff));
}
.zt-toolbar-copy h2 {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
}
.zt-toolbar-copy p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}
.zt-toolbar-copy strong { color: var(--accent-deep); font-weight: 700; }
.zt-filter {
    flex: 0 1 280px;
    min-width: 180px;
}
.zt-filter input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--border);
    background:
        #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2384919a' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E")
        14px 50% / 16px no-repeat;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.zt-filter input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(61, 98, 143, .12);
}
.zt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.zt-card {
    --i: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 188px;
    padding: 24px 22px 20px;
    border: 1px solid var(--border);
    background:
        linear-gradient(145deg, rgba(184, 151, 90, .05) 0%, transparent 36%),
        linear-gradient(165deg, #fff 0%, var(--bg-soft) 100%);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    animation: ztCardIn .5s var(--ease) both;
    animation-delay: calc(var(--i) * 28ms);
}
@keyframes ztCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.zt-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-deep));
    transform: scaleY(.3);
    transform-origin: top;
    transition: transform .3s var(--ease);
}
.zt-card::after {
    content: "";
    position: absolute;
    right: -30px; top: -30px;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 74, 110, .06), transparent 70%);
    pointer-events: none;
}
.zt-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.zt-card:hover::before { transform: scaleY(1); }
.zt-card-index {
    position: relative;
    z-index: 1;
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--accent-deep);
    font-weight: 700;
}
.zt-card strong {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 1.18rem;
    line-height: 1.35;
    color: var(--primary);
}
.zt-card > span:not(.zt-card-index) {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
    flex: 1;
}
.zt-card em {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--accent-deep);
    font-weight: 700;
}
.zt-card em b {
    font-weight: 700;
    transition: transform .25s var(--ease);
}
.zt-card:hover em { color: var(--primary); }
.zt-card:hover em b { transform: translateX(4px); }
.zt-card[hidden] { display: none !important; }
.zt-empty-filter {
    margin: 28px 0;
    text-align: center;
    color: var(--text-muted);
}
.zt-city-strip {
    margin-top: 48px;
    padding: 30px 28px;
    background:
        linear-gradient(120deg, rgba(30, 54, 84, .05), rgba(184, 151, 90, .08)),
        var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.zt-city-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.zt-city-head h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}
.zt-city-head > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}
.zt-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.zt-chip-row a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .85);
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.zt-chip-row a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
    transform: translateY(-1px);
}
.zt-chip-row.compact a { padding: 5px 10px; font-size: 12px; }
.zt-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 40px;
    padding: 32px 34px;
    color: #fff;
    background:
        radial-gradient(500px 180px at 90% 0%, rgba(184, 151, 90, .22), transparent 60%),
        linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 62%, #3d628f 100%);
    box-shadow: var(--shadow);
}
.zt-cta h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}
.zt-cta p { margin: 0; color: #c5d0d7; font-size: 14px; line-height: 1.7; max-width: 520px; }
.zt-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}
.zt-cta .btn-outline {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    background: transparent;
}
.zt-cta .btn-outline:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft);
    background: rgba(255, 255, 255, .06);
}
.btn-accent {
    background: var(--accent-deep);
    color: #fff !important;
}
.btn-accent:hover {
    background: var(--accent);
    color: #fff !important;
    transform: translateY(-1px);
}

/* 详情页 */
.zt-detail {
    margin: 28px auto 64px;
    animation: ztFadeUp .5s var(--ease) both;
}
.zt-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.zt-main-panel {
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
}
.zt-main-panel .zt-content {
    padding: 34px 36px;
}
.zt-main-panel .zt-content .answer-summary {
    margin: 0 0 1.5rem;
    padding: 18px 18px 18px 20px;
    border-left: 3px solid var(--accent);
    background: linear-gradient(90deg, rgba(184, 151, 90, .08), transparent);
}

/* 侧栏 */
.zt-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 96px;
}

/* 右侧律师介绍 */
.zt-lawyer {
    padding: 22px 18px 20px;
    border: 1px solid var(--border);
    background:
        linear-gradient(165deg, #fff 0%, #f8f9fa 100%);
    box-shadow: var(--shadow);
}
.zt-lawyer-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 4px;
}
.zt-lawyer-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: #fff;
}
.zt-lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zt-lawyer-id {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.zt-lawyer-id strong {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    color: var(--primary);
    line-height: 1.35;
}
.zt-lawyer-id span {
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 600;
}
.zt-lawyer-id em {
    font-style: normal;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}
.zt-lawyer-bio {
    margin: 14px 0 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}
.zt-lawyer-meta {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}
.zt-lawyer-meta dt {
    margin: 0 0 2px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: .04em;
}
.zt-lawyer-meta dd {
    margin: 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}
.zt-lawyer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.zt-lawyer-tags li {
    padding: 4px 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    font-size: 11px;
}
.zt-lawyer-phone {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-deep);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}
.zt-lawyer-phone:hover { color: var(--primary); }
.zt-lawyer-addr {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}
.zt-lawyer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}
.zt-btn-outline {
    border: 1px solid var(--border) !important;
    background: #fff !important;
    color: var(--primary) !important;
}
.zt-btn-outline:hover {
    border-color: var(--primary) !important;
    color: var(--primary-dark) !important;
}
.zt-lawyer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.zt-lawyer-qr img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--border);
}
.zt-lawyer-qr span { font-size: 12px; color: var(--text-muted); }

/* 右侧相关文章 */
.zt-side-related {
    padding: 20px 18px 16px;
    border: 1px solid var(--border);
    background: #fff;
}
.zt-side-related h3 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
}
.zt-side-related-list {
    display: flex;
    flex-direction: column;
}
.zt-side-related-item {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
    transition: padding-left .2s, background .2s;
}
.zt-side-related-item:last-child { border-bottom: none; }
.zt-side-related-item:hover {
    padding-left: 4px;
}
.zt-side-related-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.45;
}
.zt-side-related-item:hover strong { color: var(--accent-deep); }
.zt-side-related-item span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

/* 兼容旧相关文章样式（文章页等） */
.zt-related {
    border-top: 1px solid var(--border);
    padding: 32px 36px 36px;
    background: linear-gradient(180deg, #fff 0%, #f7f8f9 100%);
}
.zt-related-head { margin-bottom: 18px; }
.zt-related-head h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.28rem;
    color: var(--primary);
}
.zt-related-grid { display: grid; gap: 10px; }
.zt-related-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: start;
    padding: 16px 16px 16px 14px;
    border-bottom: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
}
.zt-related-num {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
}
.zt-related-body strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    color: var(--primary);
}
.zt-related-meta {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}
.zt-related-body p {
    margin: 8px 0 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.65;
}

/* 咨询按钮（侧栏复用） */
.zt-consult {
    padding: 24px 20px 22px;
    color: #fff;
    background:
        radial-gradient(240px 140px at 100% -10%, rgba(184, 151, 90, .35), transparent 65%),
        linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 55%, #355a82 100%);
    box-shadow: var(--shadow-lg);
}
.zt-consult h3 {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
}
.zt-consult-avatar {
    width: 64px;
    height: 64px;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
}
.zt-consult-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zt-consult-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.zt-consult-role {
    margin: 4px 0 0;
    color: #c5d0d7;
    font-size: 12px;
}
.zt-consult-phone {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent-soft);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}
.zt-consult-phone:hover { color: #fff; }
.zt-consult-addr {
    margin: 8px 0 0;
    color: #9eb0bc;
    font-size: 12px;
    line-height: 1.5;
}
.zt-consult-actions {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}
.zt-btn {
    display: block;
    padding: 11px 14px;
    border: 1px solid transparent;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.zt-btn:hover { transform: translateY(-1px); }
.zt-btn-gold {
    background: var(--accent-deep);
    color: #fff !important;
}
.zt-btn-gold:hover { background: var(--accent); color: #fff !important; }
.zt-btn-ghost {
    border-color: rgba(255, 255, 255, .35);
    background: transparent;
    color: #fff !important;
}
.zt-btn-ghost:hover {
    border-color: var(--accent-soft);
    color: var(--accent-soft) !important;
}
.zt-consult-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.zt-consult-qr img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
}
.zt-consult-qr span { font-size: 12px; color: #c5d0d7; }

/* 更多专题 */
.zt-topics {
    padding: 20px 18px 18px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #fafbfb);
}
.zt-topics h3 {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
}
.zt-topic-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zt-topic-links a {
    display: block;
    padding: 9px 10px;
    border-left: 2px solid transparent;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s, background .2s, border-color .2s, padding-left .2s;
}
.zt-topic-links a:hover {
    background: rgba(44, 74, 110, .04);
    border-left-color: var(--accent);
    color: var(--primary);
    padding-left: 14px;
}
.zt-topic-links-compact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
}
.zt-topic-links-compact a {
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-left-width: 1px;
    background: #fff;
    font-size: 12px;
}
.zt-topic-links-compact a:hover {
    padding-left: 10px;
    border-color: var(--primary);
}
.zt-topics-all {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}
.zt-topics-all:hover { color: var(--primary); }

.zt-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-muted);
}
.zt-crumb a { color: var(--text-muted); }
.zt-crumb-on-banner {
    margin-bottom: 18px;
    color: #9eb0bc;
}
.zt-crumb-on-banner a { color: #c5d0d7; }
.zt-crumb-on-banner a:hover { color: #fff; }
.zt-crumb-on-banner em {
    font-style: normal;
    color: var(--accent-soft);
}
.zt-side-list { list-style: none; margin: 0; padding: 0; }
.zt-side-list li { border-bottom: 1px solid var(--border); }
.zt-side-list a {
    display: block;
    padding: 10px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
}
.zt-side-card {
    padding: 20px 18px;
    border: 1px solid var(--border);
    background: #fff;
}

.zt-inline-topics {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.zt-inline-topics h3 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
}
.geo-content.is-inline,
.zt-content.is-inline {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.main-content .article-card {
    border: 1px solid var(--border);
    background: var(--bg-soft);
}
.main-content .article-list { gap: 12px; }

@media (max-width: 720px) {
    .zt-toolbar { flex-direction: column; align-items: stretch; }
    .zt-filter { flex: 1 1 auto; min-width: 0; }
    .zt-cta { flex-direction: column; align-items: stretch; padding: 24px; }
    .zt-cta-actions { width: 100%; }
    .zt-cta-actions .btn { flex: 1; text-align: center; }
    .zt-main-panel .zt-content,
    .zt-related { padding: 22px 18px; }
    .zt-lawyer-actions { grid-template-columns: 1fr; }
    .zt-banner-meta { gap: 8px; }
}

.fee-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 8px;
}
.fee-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--bg-soft);
}
.fee-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--primary); }
.fee-price {
    margin-bottom: 8px !important;
    color: var(--accent-deep) !important;
    font-size: 1.05rem;
    font-weight: 700;
}
.fee-card p { margin-bottom: 0; font-size: 14px; color: var(--text-light); }

.lawyer-card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.lawyer-avatar {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border: 2px solid var(--accent);
    color: var(--accent-deep);
    background: #fff;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    overflow: hidden;
}
.lawyer-avatar-photo {
    padding: 0;
    border-width: 1px;
}
.lawyer-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer-avatar-lg {
    width: 96px;
    height: 96px;
    margin-bottom: 14px;
}
.lawyer-card-head h2 { margin: 0; font-family: var(--font-heading); font-size: 1.6rem; color: var(--primary); }
.lawyer-card-head p { margin: 6px 0 0; color: var(--text-light); }
.lawyer-address {
    margin-top: 8px !important;
    color: var(--text-muted) !important;
    font-size: 13px !important;
}
.contact-tile-wide { grid-column: 1 / -1; }

/* 联系页 */
.contact-banner { position: relative; overflow: hidden; }
.contact-banner-glow {
    position: absolute;
    inset: auto -10% -40% 40%;
    height: 220px;
    background: radial-gradient(ellipse, rgba(184, 151, 90, .28), transparent 70%);
    pointer-events: none;
}
.contact-page {
    margin: 28px auto 64px;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}
.contact-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-card {
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 28px 30px;
}
.contact-card-head { margin-bottom: 18px; }
.contact-eyebrow {
    margin: 0 0 6px;
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}
.contact-eyebrow.light { color: var(--accent-soft); }
.contact-card-head h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.28rem;
    color: var(--primary);
}
.contact-form-note {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.contact-tile {
    display: block;
    padding: 16px 16px 15px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, #fff, #fafbfb);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-tile:hover {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.contact-tile small {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: .04em;
}
.contact-tile strong {
    color: var(--primary);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
}
.contact-tile-phone strong {
    color: var(--accent-deep);
    font-size: 1.2rem;
    letter-spacing: .03em;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-field > span {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: .03em;
}
.contact-field-full { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.contact-form { margin-top: 4px; }
.form-grid-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-bottom: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
    box-shadow: 0 0 0 3px rgba(44, 74, 110, .08);
}
.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 16px;
}
.contact-submit {
    min-width: 140px;
    padding: 12px 22px;
}
.contact-alt-call {
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.contact-alt-call:hover { color: var(--primary); }
.contact-msg {
    margin: 14px 0 0;
    font-size: 14px;
}
.contact-msg[hidden] { display: none !important; }

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 96px;
}
.contact-side-card {
    padding: 24px 20px 22px;
    color: #fff;
    background:
        radial-gradient(240px 140px at 100% -10%, rgba(184, 151, 90, .35), transparent 65%),
        linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 55%, #355a82 100%);
    box-shadow: var(--shadow-lg);
}
.contact-side-avatar {
    width: 72px;
    height: 72px;
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
}
.contact-side-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact-side-card h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
}
.contact-side-role,
.contact-side-firm {
    margin: 6px 0 0;
    color: #c5d0d7;
    font-size: 13px;
    line-height: 1.45;
}
.contact-side-phone {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent-soft);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}
.contact-side-phone:hover { color: #fff; }
.contact-side-addr {
    margin: 10px 0 0;
    color: #9eb0bc;
    font-size: 12px;
    line-height: 1.55;
}
.contact-side-cta {
    display: block;
    margin-top: 18px;
    padding: 11px 14px;
    background: var(--accent-deep);
    color: #fff !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.contact-side-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}
.contact-side-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-side-qr img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
}
.contact-side-qr span { font-size: 12px; color: #c5d0d7; }
.contact-tips {
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #fafbfb);
}
.contact-tips h4 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}
.contact-tips ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-tips li {
    position: relative;
    padding: 0 0 10px 14px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.55;
}
.contact-tips li:last-child { padding-bottom: 0; }
.contact-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    background: var(--accent-deep);
}

.contact-media {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 8px 0 24px;
}
.contact-avatar, .contact-wechat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.contact-avatar img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.contact-wechat img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px;
}
.footer-address {
    margin: 6px 0;
    color: #a8b4bc;
    font-size: 13px;
    line-height: 1.5;
}
.footer-wechat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 14px;
}
.footer-wechat img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}
.footer-wechat span {
    font-size: 12px;
    color: #a8b4bc;
}
.footer-beian {
    margin-top: 6px;
}
.footer-beian a {
    color: #8a969e;
    font-size: 12px;
}
.footer-beian a:hover { color: var(--accent-soft); }


.nav-search form {
    display: flex;
    width: 168px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.nav-search form:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(42, 74, 94, .08);
}
.nav-search input {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 12px;
}
.nav-search button {
    flex: 0 0 auto;
    padding: 0 12px;
    border: 0;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
    transition: background .2s;
}
.nav-search button:hover { background: var(--primary-light); }

.header-consult {
    display: flex;
    flex-direction: column;
    min-width: 128px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}
.header-consult small { color: var(--text-muted); font-size: 11px; }
.header-consult strong {
    color: var(--accent-deep);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--primary);
    transition: transform .25s var(--ease), opacity .2s;
}

/* ---- 首页幻灯 ---- */
.home-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #1a2a3a;
}
.home-slider-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}
.home-slider--with-consult .home-slider-layout {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 320px);
}
.home-slider-track {
    position: relative;
    min-width: 0;
    width: 100%;
}
.home-slide {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    line-height: 0;
}
.home-slide.is-active { display: block; }
.home-slide-link { display: block; height: 100%; }
.home-slide picture { display: block; height: 100%; }
.home-slide-img {
    display: block;
    width: 100%;
    height: clamp(300px, 32vw, 380px);
    max-height: min(48vh, 380px);
    object-fit: cover;
    object-position: center top;
}
.home-slider-consult {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 24px 28px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 45%),
        linear-gradient(145deg, var(--primary), var(--primary-dark));
}
.home-slider-lawyer {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.45;
}
.home-slider-consult-label {
    margin-bottom: 5px;
    color: var(--accent-soft);
    font-size: 12px;
    font-weight: 700;
}
.home-slider-lawyer strong {
    font-family: var(--font-heading);
    font-size: 20px;
}
.home-slider-lawyer > span:last-child {
    margin-top: 3px;
    color: #c8d3da;
    font-size: 12px;
}
.home-slider-qr {
    width: min(168px, 100%);
    padding: 7px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(5, 15, 24, .28);
}
.home-slider-qr img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
.home-slider-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
}
.home-slider-contact strong { font-size: 13px; }
.home-slider-contact a {
    margin-top: 3px;
    color: var(--accent-soft);
    font-size: 14px;
    font-weight: 700;
}
.home-slider-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 2px;
    background: rgba(8, 21, 31, .42);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}
.home-slider-btn:hover { background: rgba(8, 21, 31, .7); }
.home-slider-prev { left: 12px; }
.home-slider-next { right: 12px; }
.home-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.home-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}
.home-slider-dot.is-active { background: var(--accent, #c59a2e); }

@media (max-width: 820px) {
    .home-slider--with-consult .home-slider-layout { grid-template-columns: 1fr; }
    .home-slide-img { height: clamp(220px, 48vw, 320px); max-height: 32vh; }
    .home-slider-consult {
        flex-direction: row;
        justify-content: center;
        gap: 18px;
        padding: 16px 20px;
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-left: 0;
        text-align: left;
    }
    .home-slider-lawyer,
    .home-slider-contact { align-items: flex-start; }
    .home-slider-qr { flex: 0 0 104px; width: 104px; }
    .home-slider-btn { width: 34px; height: 34px; font-size: 22px; }
}

@media (max-width: 480px) {
    .home-slider-consult { gap: 12px; padding: 14px; }
    .home-slider-lawyer strong { font-size: 17px; }
    .home-slider-consult-label,
    .home-slider-lawyer > span:last-child { display: none; }
    .home-slider-qr { flex-basis: 88px; width: 88px; }
    .home-slider-contact strong { font-size: 12px; }
    .home-slider-contact a { font-size: 13px; }
}

/* ---- Hero (full-bleed) ---- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(58vh, 440px);
    padding: 72px 0 64px;
    color: #fff;
    text-align: left;
    background:
        linear-gradient(115deg, rgba(30, 54, 84, .88) 0%, rgba(44, 74, 110, .72) 48%, rgba(61, 98, 143, .55) 100%),
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(184, 151, 90, .22), transparent 55%),
        linear-gradient(160deg, #1e3654 0%, #2c4a6e 45%, #3d628f 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    pointer-events: none;
    animation: gridDrift 28s linear infinite;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-soft), var(--accent-deep));
}
.hero .container { position: relative; z-index: 1; }
.hero-layout {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px 36px;
}
.hero-copy {
    flex: 1 1 480px;
    min-width: 0;
    max-width: 680px;
}
.hero-brand {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--accent-soft);
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .02em;
    animation: fadeUp .7s var(--ease) both;
}
.hero h1 {
    max-width: 720px;
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.45;
    color: #e8eef2;
    animation: fadeUp .7s .08s var(--ease) both;
}
.hero h1::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 18px;
    background: var(--accent);
}
.hero-desc {
    max-width: 620px;
    margin: 0;
    color: #c5d2da;
    font-size: 15px;
    line-height: 1.85;
    animation: fadeUp .7s .16s var(--ease) both;
}
.hero-cta {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 0 1 auto;
    gap: 0;
    margin: 0;
    max-width: 100%;
    animation: fadeUp .7s .24s var(--ease) both;
}
.hero-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 2px 0 0 2px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(143, 115, 64, .35);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.hero-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(143, 115, 64, .45);
    color: #fff !important;
}
.hero-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-left: 0;
    border-radius: 0 2px 2px 0;
    color: #d5dee4;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    background: rgba(255, 255, 255, .04);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes gridDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(48px, 24px, 0); }
}

/* ---- Page banner ---- */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 52px 0 48px;
    color: #fff;
    background:
        linear-gradient(120deg, #1e3654 0%, #2c4a6e 60%, #3d628f 100%);
}
.page-banner::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--accent);
}
.page-banner span {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-soft);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.page-banner h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.8vw, 1.95rem);
    line-height: 1.4;
}
.page-banner p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #c2cfd7;
    font-size: 14px;
    line-height: 1.8;
}

/* ---- Layout ---- */
.content-layout,
.static-page,
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
    margin: 28px 0 56px;
}
.static-page-single { grid-template-columns: 1fr; max-width: none; }
.main-content {
    min-width: 0;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.main-content.article-detail,
.main-content.is-bare {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.article-detail {
    padding: 36px 40px !important;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
}

.section-title {
    margin-bottom: 22px;
    padding: 0;
    border: 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}
.section-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    background: var(--accent);
}
.cat-desc, .search-summary {
    margin: -8px 0 22px;
    color: var(--text-light);
    font-size: .95rem;
}
.search-summary strong { color: var(--primary); }

/* ---- Article cards ---- */
.article-list { display: flex; flex-direction: column; gap: 14px; }

.article-card {
    display: flex;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.article-card:hover {
    transform: translateY(-3px);
    border-color: #b9c4cb;
    box-shadow: var(--shadow);
}
.article-thumb {
    flex: 0 0 220px;
    width: 220px;
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-self: flex-start;
    overflow: hidden;
    background: #dfe6ea;
}
.article-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s var(--ease);
}
.article-thumb picture { display: block; width: 100%; height: 100%; }
.article-card:hover .article-thumb img { transform: scale(1.04); }

.article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px;
}
.article-body h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.55;
    font-weight: 600;
}
.article-body h3 a { color: var(--primary); }
.article-body h3 a:hover { color: var(--accent-deep); }

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 12px;
}
.article-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 28px;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}
.article-trust strong { color: var(--text); }
.article-trust a { color: var(--primary); font-weight: 600; }
.meta-cat, .badge {
    padding: 2px 8px;
    border-radius: 2px;
    color: #fff;
    background: var(--primary-light);
    font-size: 11px;
}
.article-excerpt, .article-card p {
    flex: 1;
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}
.read-more {
    align-self: flex-start;
    color: var(--accent-deep);
    font-size: 13px;
    font-weight: 600;
}
.read-more:hover { color: var(--primary); }

/* ---- Sidebar ---- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 96px;
}
.sidebar-widget {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 22px rgba(8, 21, 31, .04);
}
.sidebar-widget h4 {
    margin-bottom: 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--border);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 15px;
}
.sidebar-widget h4::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 13px;
    margin-right: 8px;
    background: var(--accent);
    vertical-align: -1px;
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { margin-bottom: 0; }
.cat-list a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid #eef1f2;
    color: var(--text-light);
    font-size: 13px;
    transition: padding .2s, color .2s;
}
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover {
    padding-left: 6px;
    color: var(--primary-light);
}
.cat-list .side-meta {
    display: block;
    margin-top: -4px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 11px;
}
.contact-phone {
    margin-bottom: 8px;
    color: var(--accent-deep);
    font-size: 1.1rem;
    font-weight: 700;
}
.contact-phone a { color: inherit; text-decoration: none; }
.contact-phone a:hover { color: var(--primary); }
.contact-info p { margin-bottom: 6px; color: var(--text-light); font-size: .9rem; }
.contact-info p strong { color: var(--primary); }
.sidebar-cta {
    display: block !important;
    width: 100%;
    margin-top: 12px !important;
    text-align: center;
}

/* 首席律师名片 */
.chief-lawyer { padding-bottom: 16px; }
.chief-lawyer-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
}
.chief-lawyer-title::before { display: none !important; }
.chief-lawyer-ico {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    background:
        linear-gradient(var(--text-muted), var(--text-muted)) 0 0 / 6px 6px no-repeat,
        linear-gradient(var(--text-muted), var(--text-muted)) 10px 0 / 6px 6px no-repeat,
        linear-gradient(var(--text-muted), var(--text-muted)) 0 10px / 6px 6px no-repeat,
        linear-gradient(var(--text-muted), var(--text-muted)) 10px 10px / 6px 6px no-repeat;
}
.chief-lawyer-body {
    overflow: hidden;
    margin-bottom: 12px;
}
.chief-lawyer-avatar {
    float: left;
    width: 88px;
    height: 108px;
    margin: 0 12px 8px 0;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #f3f5f6;
}
.chief-lawyer-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chief-lawyer-name {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}
.chief-lawyer-name a {
    color: inherit;
    text-decoration: none;
}
.chief-lawyer-name a:hover { color: var(--primary); }
.chief-lawyer-bio {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.75;
    text-align: justify;
}
.chief-lawyer-meta {
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
}
.chief-lawyer-meta li {
    margin: 0 0 6px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.55;
    word-break: break-all;
}
.chief-lawyer-meta a {
    color: var(--primary);
    text-decoration: none;
}
.chief-lawyer-meta a:hover { color: var(--accent-deep); }
.chief-lawyer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eef1f2;
}
.chief-soc {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
    background: #fff;
    transition: color .2s, border-color .2s, background .2s;
    cursor: pointer;
    padding: 0;
    font: inherit;
}
.chief-soc:hover,
.chief-soc-wechat.is-open {
    color: var(--primary);
    border-color: var(--primary-light);
    background: #f7f9fb;
}
.chief-soc-wechat {
    position: relative;
}
.chief-wechat-qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 148px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 35, 52, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
}
.chief-wechat-qr::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    margin-top: -5px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
    transform: rotate(45deg);
}
.chief-wechat-qr img {
    display: block;
    width: 132px;
    height: 132px;
    object-fit: cover;
}
.chief-wechat-qr em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.2;
}
.chief-soc-wechat:hover .chief-wechat-qr,
.chief-soc-wechat:focus-visible .chief-wechat-qr,
.chief-soc-wechat.is-open .chief-wechat-qr {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.sidebar-widget input,
.sidebar-widget select,
.sidebar-widget textarea {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    margin-bottom: 8px;
    border: 1px solid #cbd3d8;
    border-radius: 2px;
    outline: 0;
    color: var(--text);
    background: #fff;
    font: inherit;
    font-size: 13px;
}
.sidebar-widget textarea { min-height: 78px; resize: vertical; }
.sidebar-widget input:focus,
.sidebar-widget select:focus,
.sidebar-widget textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(42, 74, 94, .1);
}
.sidebar-widget .btn {
    min-height: 40px;
    width: 100%;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: var(--primary);
    cursor: pointer;
    font-weight: 600;
}
.sidebar-widget .btn:hover { background: var(--primary-light); }

/* ---- Article detail ---- */
.article-detail {
    padding: 36px 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.breadcrumb {
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

.article-header { margin-bottom: 24px; }
.article-header h1 {
    margin-bottom: 14px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 700;
    line-height: 1.45;
}

.article-toc {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--bg-soft);
}
.article-toc summary {
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}
.article-toc ul { padding-left: 0; }
.article-toc li { margin-bottom: 4px; }
.article-toc li a { color: var(--text-light); font-size: .92rem; }
.article-toc li a:hover { color: var(--primary); }
.toc-level-3 { padding-left: 18px; }

.article-content {
    color: #293239;
    font-size: 16px;
    line-height: 2;
}
.article-content h2,
.geo-content h2 {
    margin: 34px 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid #dfe4e6;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}
.article-content h2::before,
.geo-content h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    margin-right: 10px;
    background: var(--accent);
    vertical-align: -2px;
}
.article-content h3,
.geo-content h3 {
    margin: 22px 0 10px;
    color: #34434c;
    font-size: 1.1rem;
}
.article-content p { margin-bottom: 16px; }
.article-content ul,
.article-content ol,
.geo-content ul,
.geo-content ol {
    list-style: revert;
    margin: 12px 0 12px 24px;
}
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
    margin: 16px 0;
    padding: 14px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0;
    color: #3b474e;
    background: #f5f3ef;
}
.article-content mark {
    padding: 1px 4px;
    border-radius: 2px;
    background: #f7ecc8;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.article-nav a,
.pagination a {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.article-nav a:hover,
.pagination a:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.related-articles { margin-top: 32px; }
.related-articles h3 {
    margin-bottom: 16px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.related-card {
    display: block;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}
.related-card h4 {
    margin-bottom: 6px;
    color: var(--text);
    font-size: .95rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding: 16px;
}
.page-info { color: var(--text-muted); font-size: .9rem; }

.geo-content {
    margin-bottom: 32px;
    padding: 38px 42px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    line-height: 1.95;
}

/* ---- Search ---- */
.search-box-large {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid var(--border);
    background: #fff;
}
.search-box-large form { display: flex; width: 100%; gap: 8px; }
.search-box-large .search-input,
.search-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: 0;
    font: inherit;
    font-size: 1.05rem;
    transition: border-color .2s, box-shadow .2s;
}
.search-box-large .search-input:focus,
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 74, 94, .1);
}

/* ---- Lawyer profile ---- */
.answer-summary {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--accent);
    background: #f5f3ef;
    color: #1a202c;
}
.answer-summary p {
    margin: 0;
    line-height: 1.75;
    font-weight: 600;
}

.related-guides {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.related-guides h2 {
    margin: 0 0 .75rem;
    font-size: 1.15rem;
    font-family: var(--font-heading);
}
.related-guides ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

/* 首页律师简介 */
.lawyer-brief {
    padding: 48px 0;
    background:
        radial-gradient(420px 180px at 8% 0%, rgba(184, 151, 90, .1), transparent 70%),
        linear-gradient(180deg, #f7f8f9 0%, #fff 55%);
}
.lawyer-brief-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px 36px;
    align-items: start;
    padding: 28px 32px;
    border: 1px solid var(--border);
    background:
        linear-gradient(165deg, #fff 0%, #fbfbfc 100%);
    box-shadow: var(--shadow);
}
.lawyer-brief-portrait {
    position: relative;
    width: 160px;
    height: 160px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
    background:
        linear-gradient(160deg, #fffaf0, #eef2f5);
    box-shadow: 0 12px 28px rgba(8, 21, 31, .08);
}
.lawyer-brief-portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lawyer-brief-initial {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--accent-deep);
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
}
.lawyer-brief-portrait:not(.is-fallback) .lawyer-brief-initial {
    opacity: 0;
}
.lawyer-brief-portrait.is-fallback .lawyer-brief-initial,
.lawyer-brief-portrait:not(:has(img)) .lawyer-brief-initial {
    opacity: 1;
}
.lawyer-brief-eyebrow {
    margin: 0 0 8px;
    color: var(--accent-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}
.lawyer-brief-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.lawyer-brief-title-row h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--primary);
    line-height: 1.25;
}
.lawyer-brief-badge {
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
    background: rgba(184, 151, 90, .08);
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}
.lawyer-brief-firm {
    margin: 8px 0 0;
    color: var(--text-light);
    font-size: .92rem;
}
.lawyer-brief-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 18px;
    margin-top: 14px;
}
.lawyer-brief-tel {
    color: var(--accent-deep);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}
.lawyer-brief-tel:hover { color: var(--primary); }
.lawyer-brief-addr {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}
.lawyer-brief-bio {
    margin: 16px 0 0;
    max-width: 46em;
    color: var(--text);
    font-size: .95rem;
    line-height: 1.8;
}
.lawyer-brief-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 12px 36px;
    margin: 18px 0 0;
}
.lawyer-brief-meta dt {
    margin: 0 0 3px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: .06em;
}
.lawyer-brief-meta dd {
    margin: 0;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.lawyer-brief-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.lawyer-brief-tags li {
    padding: 5px 11px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.4;
}
.lawyer-brief-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 22px;
}
.lawyer-brief-cta {
    display: inline-block;
    padding: 10px 18px;
    background: var(--accent-deep);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.lawyer-brief-cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}
.lawyer-brief-more {
    color: var(--primary);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
}
.lawyer-brief-more:hover { color: var(--accent-deep); }

.lawyer-profile-band {
    margin: 0;
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}
.lawyer-profile-inner {
    display: grid;
    grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr);
    gap: 3rem;
}
.lawyer-profile-label {
    display: block;
    margin-bottom: .5rem;
    color: var(--accent-deep);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
}
.lawyer-profile-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--primary);
}
.lawyer-profile-heading p {
    margin: .6rem 0 0;
    color: var(--text-light);
    line-height: 1.6;
}
.lawyer-profile-heading p span { display: block; }
.lawyer-bio {
    margin: 0 0 1.25rem;
    color: var(--text);
    line-height: 1.85;
    white-space: pre-line;
}
.lawyer-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0 0 1.4rem;
}
.lawyer-facts div {
    min-width: 0;
    padding-left: .8rem;
    border-left: 3px solid var(--accent);
}
.lawyer-facts dt { color: var(--text-muted); font-size: .75rem; }
.lawyer-facts dd {
    margin: .3rem 0 0;
    color: var(--text);
    font-size: .88rem;
    overflow-wrap: anywhere;
}
.lawyer-profile-group { margin-top: 1.25rem; }
.lawyer-lead {
    margin: 0 0 1.1rem;
    color: var(--text-light);
    font-size: .98rem;
    line-height: 1.8;
}
.lawyer-profile-group h3,
.lawyer-cases > h2 {
    margin: 0 0 .75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}
.lawyer-profile-group ul {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
    color: var(--text-light);
    line-height: 1.8;
}
.practice-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.practice-tags span {
    padding: .35rem .65rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    background: #fff;
    color: var(--text);
    font-size: .8rem;
}
.lawyer-cases {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8e0e8;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.case-item {
    padding: 1rem;
    border: 1px solid #d8e0e8;
    border-radius: 3px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.case-item:hover {
    border-color: #b9c4cb;
    box-shadow: var(--shadow);
}
.case-item h3 { margin: 0 0 .65rem; font-size: .95rem; }
.case-item p { margin: 0; color: var(--text-light); font-size: .84rem; line-height: 1.7; }
.case-item div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: .75rem;
    padding-top: .7rem;
    border-top: 1px solid #edf2f7;
    font-size: .8rem;
}
.case-item div strong { color: var(--text-muted); font-size: .72rem; }
.case-disclaimer {
    margin: 1rem 0 0;
    color: var(--text-muted);
    font-size: .75rem;
    line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
    margin-top: 64px;
    padding: 56px 0 24px;
    border-top: 4px solid var(--accent);
    color: #aebbc3;
    background:
        linear-gradient(180deg, #243d5c 0%, var(--primary-dark) 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 28px;
}
.footer-col h3,
.footer-col h4 {
    margin-bottom: 14px;
    color: #fff;
    font-family: var(--font-heading);
}
.footer-col h3 { font-size: 1.1rem; }
.footer-col h4 {
    font-size: .95rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-col p { font-size: .9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul a,
.footer-col a {
    color: #b7c3ca;
    font-size: .9rem;
}
.footer-col ul a:hover,
.footer-col a:hover { color: #fff; }
.footer-phone { color: var(--accent-soft) !important; font-weight: 600; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 18px;
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---- States & buttons ---- */
.error-page { text-align: center; padding: 100px 0; }
.error-page h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary);
    line-height: 1;
}
.error-page p { font-size: 1.15rem; margin: 14px 0 8px; }
.error-sub { color: var(--text-muted); font-size: 1rem !important; }

.empty-state {
    padding: 56px 24px;
    border: 1px dashed #cbd3d8;
    color: var(--text-muted);
    text-align: center;
    background: #fff;
}

.btn {
    display: inline-block;
    padding: 11px 28px;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary-light);
}
.btn-outline:hover {
    background: var(--bg-soft);
    color: var(--primary-dark);
    border-color: var(--primary);
}

/* ---- Mobile float bar ---- */
.mobile-float-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    gap: 8px;
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(8, 21, 31, .1);
    transition: transform .3s var(--ease);
}
.mobile-float-bar.hidden-bar { transform: translateY(100%); }
.float-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 8px;
    border-radius: 2px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    transition: transform .15s;
}
.float-btn:active { transform: scale(.97); }
.float-tel { background: var(--primary); }
.float-consult { background: var(--accent-deep); }
.float-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    font-size: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .nav-search, .header-consult { display: none; }
    .main-nav a { padding-right: 8px; padding-left: 8px; font-size: 12px; }
}

@media (max-width: 1080px) {
    .main-nav a { padding-right: 7px; padding-left: 7px; }
}

@media (max-width: 820px) {
    .site-utility { display: none; }
    .header-inner { height: 64px; }
    .mobile-menu-btn { display: block; }
    .main-nav {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        display: none;
        padding: 8px 20px 18px;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        background: #fff;
    }
    .main-nav.open,
    .main-nav.active { display: block; }
    .main-nav > ul { display: block; }
    .main-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #eef1f2;
        white-space: nowrap;
    }
    .main-nav a::after { display: none; }
    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0 0 6px 12px;
        padding: 0;
        border: 0;
        box-shadow: none;
        transform: none;
        background: transparent;
    }
    .nav-dropdown.open > .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a {
        padding: 10px 4px;
        font-size: 13px;
        color: var(--text-light);
    }
    .static-page,
    .content-layout,
    .page-layout,
    .zt-detail-layout { grid-template-columns: 1fr; margin: 28px 0 40px; }
    .static-panel { padding: 26px 22px; }
    .sidebar { position: static; }
    .main-content { padding: 22px 18px; }
    .fee-grid, .contact-grid, .form-grid-contact { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-side { position: static; }
    .contact-card { padding: 22px 18px; }
    .hero {
        min-height: 360px;
        padding: 56px 0 64px;
    }
    .hero-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    .hero-cta {
        align-self: stretch;
        flex-wrap: wrap;
    }
    .hero-phone {
        flex: 1 1 auto;
        border-radius: 2px 0 0 2px;
    }
    .hero-tip {
        flex: 1 1 auto;
        white-space: normal;
        text-align: center;
    }
    .content-layout {
        grid-template-columns: 1fr;
        margin: 28px 0;
    }
    .article-detail, .geo-content { padding: 26px 22px; }
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .page-banner { padding: 36px 0; }
    .mobile-float-bar { display: flex; }
    .site-footer { padding-bottom: 88px; }
    body { padding-bottom: 72px; }
    .lawyer-brief-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 22px 18px; }
    .lawyer-brief-portrait { width: 120px; height: 120px; }
    .lawyer-brief { padding: 32px 0; }
    .lawyer-profile-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, var(--max-width)); }
    .logo-copy strong { max-width: 200px; font-size: 15px; }
    .logo-copy small { display: none; }
    .hero { min-height: 340px; }
    .hero-brand { font-size: 1.55rem; }
    .page-banner h1 { font-size: 1.45rem; }
    .hero-desc { font-size: 14px; }
    .article-card { display: block; }
    .article-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
    .article-body { padding: 18px; }
    .article-detail, .geo-content { padding: 20px 16px; }
    .article-header h1 { font-size: 1.4rem; }
    .article-content { font-size: 15px; }
    .sidebar { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .lawyer-profile-band { padding: 1.75rem 0; }
    .lawyer-facts { grid-template-columns: 1fr; }
}

@media print {
    .site-header, .site-footer, .sidebar, .article-nav,
    .related-articles, .site-utility, .mobile-float-bar { display: none !important; }
    .content-layout { display: block; }
    .article-detail { box-shadow: none; border: 0; padding: 0; }
    body { background: #fff; }
}
