/* ================================================================
   上海某某律师事务所 - 婚姻家事法律咨询网站
   全站共享样式表 style.css
   红色主题 | 克制的圆角 | 响应式布局
   ================================================================ */

/* ---------- CSS 变量定义 ---------- */
:root {
    /* 红色主题色系 */
    --red-900: #4a0d0d;
    --red-800: #6b0f0f;
    --red-700: #8B0000;
    --red-600: #c41e3a;
    --red-500: #dc2626;
    --red-400: #ef4444;
    --red-300: #f87171;
    --red-200: #fecaca;
    --red-100: #fee2e2;
    --red-50:  #fef2f2;

    /* 中性色 */
    --dark: #1a1a1a;
    --gray-900: #1f2937;
    --gray-800: #262626;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50:  #f9fafb;
    --white:    #ffffff;

    /* 点缀色 */
    --gold: #c9a961;
    --gold-light: #e6cf94;
    --gold-grad: linear-gradient(120deg, #f0e0b6, #e6cf94 45%, #c9a961);

    /* 圆角 — 全站统一锐利风格，最大 3px */
    --radius: 3px;
    --radius-sm: 3px;
    --radius-md: 3px;
    --radius-lg: 3px;
    --radius-full: 3px;

    /* 阴影 — 多层柔和阴影，层次更自然 */
    --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 2px 6px rgba(15,23,42,.05);
    --shadow-md: 0 4px 10px rgba(15,23,42,.05), 0 12px 28px rgba(15,23,42,.08);
    --shadow-lg: 0 10px 24px rgba(15,23,42,.07), 0 28px 56px rgba(15,23,42,.12);
    --shadow-red: 0 12px 32px rgba(196,30,58,.24), 0 4px 12px rgba(196,30,58,.14);
    --shadow-gold: 0 12px 32px rgba(201,169,97,.26), 0 4px 12px rgba(201,169,97,.16);

    /* 过渡 */
    --transition: all .25s ease;
    --transition-slow: all .45s cubic-bezier(.22,.61,.36,1);

    /* 字体 */
    --font-sans: "Microsoft YaHei","PingFang SC","HarmonyOS Sans SC","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
    --font-serif: "Palatino Linotype","Georgia","Times New Roman","STZhongsong","SimSun",serif;

    /* 布局 */
    --container: 1200px;
    --header-h: 72px;
}

/* ---------- 全局重置 ---------- */
*,*::before,*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ---------- 全局细节：选中、滚动条、焦点 ---------- */
::selection { background: var(--red-600); color: var(--white); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--red-400), var(--red-600));
    border-radius: 3px;
    border: 2px solid var(--gray-100);
}
::-webkit-scrollbar-thumb:hover { background: var(--red-600); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(196,30,58,.35);
    outline-offset: 2px;
}

/* ---------- 排版 ---------- */
h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    letter-spacing: .01em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    color: var(--red-600);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--red-700); }

p { margin-bottom: 1em; }

img { max-width: 100%; height: auto; display: block; }

ul,ol { list-style: none; }

/* ---------- 布局工具类 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid { width: 100%; padding: 0 20px; }

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col { flex: 1; padding: 0 12px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-red    { color: var(--red-600); }

.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }   .mt-6 { margin-top: 4rem; }
.mb-1 { margin-bottom: .5rem; }  .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }   .mb-6 { margin-bottom: 4rem; }

.pt-1 { padding-top: .5rem; }  .pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; } .pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }   .pt-6 { padding-top: 4rem; }
.pb-1 { padding-bottom: .5rem; }  .pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; } .pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }   .pb-6 { padding-bottom: 4rem; }

/* ---------- 顶部公告条 ---------- */
.topbar {
    background: linear-gradient(90deg, #300505, var(--red-900) 40%, #5a0c0c);
    color: var(--white);
    font-size: .8125rem;
    line-height: 36px;
    height: 36px;
    overflow: hidden;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.topbar__left { display: flex; align-items: center; gap: 16px; }

.topbar__left i { color: var(--gold-light); margin-right: 4px; }

.topbar__right .topbar__phone {
    color: var(--white);
    font-weight: 700;
    letter-spacing: 1px;
}

.topbar__right .topbar__phone:hover { color: var(--gold-light); }

.topbar__right { display: flex; align-items: center; gap: 12px; }

.topbar__right a { color: rgba(255,255,255,.85); }

.topbar__right a:hover { color: var(--gold-light); }

/* ---------- 导航栏（毛玻璃质感） ---------- */
.navbar {
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(229,231,235,.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
    transition: box-shadow .25s ease, background .25s ease;
}

/* 底边金色渐变细线：两端淡出，红金主题点睛 */
.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,97,.55) 18%, rgba(201,169,97,.55) 82%, transparent);
    pointer-events: none;
}

.navbar.is-scrolled {
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 30px rgba(15,23,42,.08);
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red-700);
    flex-shrink: 0;
}

.navbar__brand .brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--red-600), var(--red-800));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 700;
    font-family: var(--font-serif);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(139,0,0,.3), inset 0 1px 0 rgba(255,255,255,.25);
}

.navbar__brand-text { line-height: 1.2; }

.navbar__brand-text small {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: var(--gray-500);
    letter-spacing: 1px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;  /* 菜单居中，品牌区与咨询按钮分居两侧，视觉更平衡 */
    list-style: none;
    flex-shrink: 0;  /* 菜单永不压缩，空间不足由断点降档解决 */
}

.navbar__menu > li { position: relative; flex-shrink: 0; }

/* 纯文字导航模式：隐藏菜单图标，降低视觉密度，更专业清爽 */
.navbar__menu > li > a > i { display: none; }

/* 胶囊式导航项：hover 浅红底，当前页红底白字胶囊，当前位置一目了然 */
.navbar__menu > li > a {
    display: block;
    padding: 8px 16px;
    line-height: 1.5;
    color: var(--gray-700);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .03em;
    position: relative;
    white-space: nowrap;  /* 导航文字禁止折行，防止撑爆导航栏高度 */
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar__menu > li > a:hover {
    color: var(--red-600);
    background: var(--red-50);
}

.navbar__menu > li.active > a {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    box-shadow: 0 4px 14px rgba(196,30,58,.32), inset 0 1px 0 rgba(255,255,255,.22);
}

.navbar__menu > li.active > a:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--red-600), var(--red-800));
}

.navbar__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--red-600);
    cursor: pointer;
    padding: 8px;
}

/* 移动端菜单默认隐藏（PC端不显示） */
.navbar__menu-mobile { display: none; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: .9375rem;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
    letter-spacing: .02em;
    position: relative;
    overflow: hidden;
}

/* 高光扫过动效 */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.32), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
    pointer-events: none;
}

.btn:hover::before { left: 140%; }

.btn:hover { transform: translateY(-2px); }

.btn:active { transform: translateY(0) scale(.98); }

.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn:disabled::before { display: none; }

.btn-red {
    background: linear-gradient(135deg, var(--red-500), var(--red-600) 55%, var(--red-700));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(196,30,58,.25), inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-red:hover {
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-outline-red {
    background: transparent;
    color: var(--red-600);
    border-color: var(--red-600);
}

.btn-outline-red:hover {
    background: var(--red-600);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(196,30,58,.3);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover { background: var(--gray-700); border-color: var(--gray-700); color: var(--white); }

.btn-gold {
    background: linear-gradient(135deg, #ecd9a8, #d8bb7a 50%, var(--gold));
    color: #3a2a08;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(201,169,97,.3), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f3e3bb, var(--gold-light) 60%, #d8bb7a);
    border-color: transparent;
    color: #2d2005;
    box-shadow: var(--shadow-gold);
}

/* 幽灵按钮：深色背景上的次级操作 */
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: var(--white); color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

.btn-lg { padding: 16px 40px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 20px; font-size: .8125rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }

.section--dark { background: var(--red-900); color: rgba(255,255,255,.9); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--red { background: var(--red-600); color: var(--white); }
.section--red h2, .section--red h3 { color: var(--white); }
.section--gray { background: var(--gray-100); }
.section--light { background: var(--red-50); }

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 20px;
    background: var(--red-50);
    border: 1px solid var(--red-200);
    color: var(--red-600);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.section--dark .section__eyebrow,
.section--red .section__eyebrow {
    background: rgba(255,255,255,.15);
    color: var(--white);
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    color: var(--dark);
}

.section__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--red-600), var(--red-400));
    border-radius: 2px;
    margin: 18px auto 0;
    /* 两侧装饰小点，丰富标题层次 */
    box-shadow: 64px 0 0 -1px var(--red-200), -64px 0 0 -1px var(--red-200);
}

/* 左对齐标题时，装饰条也靠左 */
.section__title[style*="text-align:left"]::after,
.section__title[style*="text-align:start"]::after {
    margin-left: 0;
    margin-right: auto;
}

.section--dark .section__title::after,
.section--red .section__title::after {
    background: var(--gold);
}

.section__subtitle {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 720px;
    margin: 0 auto;
}

.section--dark .section__subtitle { color: rgba(255,255,255,.75); }

/* ---------- 网格系统 ---------- */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }

/* ---------- 卡片 ---------- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--red-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--gray-100);
}

.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }

.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.card__title a { color: inherit; }
.card__title a:hover { color: var(--red-600); }

.card__text { font-size: .9375rem; color: var(--gray-600); flex: 1; }

.card__footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card__tag {
    display: inline-block;
    padding: 2px 10px;
    background: var(--red-50);
    color: var(--red-600);
    font-size: .75rem;
    font-weight: 600;
    border: 1px solid var(--red-200);
    border-radius: var(--radius-full);
}

/* ---------- 标签 / 徽章 ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-full);
}

.badge-red { background: var(--red-600); color: var(--white); }
.badge-red-solid { background: var(--red-700); color: var(--white); }
.badge-outline-red { background: transparent; color: var(--red-600); border: 1px solid var(--red-600); }
.badge-gold { background: var(--gold); color: var(--dark); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ---------- Hero 区 ---------- */
.hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 84px 0;
    background:
        radial-gradient(1100px 560px at 88% -12%, rgba(201,169,97,.22), transparent 62%),
        radial-gradient(900px 600px at -12% 112%, rgba(220,38,38,.4), transparent 60%),
        radial-gradient(1200px 300px at 50% 118%, rgba(0,0,0,.32), transparent 70%),
        linear-gradient(135deg, #2b0404 0%, var(--red-800) 48%, var(--red-700) 100%);
    color: var(--white);
}

/* 右下巨型"法"字水印：印章权威感 */
.hero__watermark {
    position: absolute; right: -30px; bottom: -120px; z-index: 0;
    font-family: var(--font-serif); font-size: 430px; font-weight: 700; line-height: 1;
    color: rgba(255,255,255,.04); pointer-events: none; user-select: none;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

/* 网格纹理，配合遮罩在中部自然消散 */
.hero__pattern {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 75% 80% at 60% 40%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 80% at 60% 40%, #000 25%, transparent 78%);
}

.hero__content { position: relative; z-index: 2; max-width: 720px; }

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(230,207,148,.4);
    color: var(--gold-light);
    font-size: .8125rem; font-weight: 700; letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.hero__title {
    font-size: 3.25rem; font-weight: 800; line-height: 1.22;
    letter-spacing: .01em;
    color: var(--white); margin-bottom: 24px;
    text-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.hero__title span {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    font-size: 1.125rem; color: rgba(255,255,255,.85);
    max-width: 600px; margin-bottom: 36px; line-height: 1.8;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 全宽毛玻璃数据条：金色顶线 + 四等分 */
.hero__stats {
    position: relative; z-index: 2;
    margin-top: 48px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
    border: 1px solid rgba(230,207,148,.28);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 0;
    overflow: hidden;
}

.hero__stats::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(201,169,97,.08)); }

.hero__stats > div { text-align: center; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.14); }

.hero__stats > div:first-child { border-left: none; }

.hero__stat-num {
    font-size: 2.75rem; font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    font-family: var(--font-serif); line-height: 1;
}

.hero__stat-num small { font-size: 1.25rem; }

.hero__stat-label { font-size: .875rem; color: rgba(255,255,255,.72); margin-top: 8px; letter-spacing: .05em; }

/* ---------- Hero 右侧印章主视觉（仅桌面端展示） ---------- */
.hero__visual {
    position: absolute; right: 2.5%; top: 46%; transform: translateY(-50%);
    z-index: 1; width: 420px; height: 420px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}

.hero__seal { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* 外圈虚线金环：慢速公转 */
.hero__seal-ring {
    position: absolute; inset: 0;
    border: 1px dashed rgba(230,207,148,.35);
    border-radius: 50%;
    animation: hero-spin 80s linear infinite;
}

.hero__seal-ring::before {
    content: ''; position: absolute; inset: -16px;
    border: 1px solid rgba(230,207,148,.14);
    border-radius: 50%;
}

/* 中央印章核：双金边圆章 + 衬线"法"字 */
.hero__seal-core {
    position: relative;
    width: 240px; height: 240px; border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255,255,255,.16), rgba(255,255,255,.02) 60%),
        rgba(43,4,4,.38);
    border: 1px solid rgba(230,207,148,.55);
    box-shadow:
        0 0 0 10px rgba(230,207,148,.07),
        0 0 0 11px rgba(230,207,148,.2),
        0 34px 80px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    animation: hero-float 7s ease-in-out infinite;
}

.hero__seal-char {
    font-family: var(--font-serif); font-size: 6.25rem; line-height: 1;
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 26px rgba(201,169,97,.45));
}

.hero__seal-sub { font-size: .5625rem; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* 四方位玻璃图标卫星：锚定虚线环，错峰浮动 */
.hero__orb {
    position: absolute; width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(230,207,148,.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 34px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
}

.hero__orb i { font-size: 1.5rem; color: var(--gold-light); }

.hero__orb--1 { top: -28px; left: 50%; margin-left: -28px; animation: hero-float 5.5s ease-in-out infinite .2s; }
.hero__orb--2 { top: 50%; right: -28px; margin-top: -28px; animation: hero-float 6.5s ease-in-out infinite .8s; }
.hero__orb--3 { bottom: -28px; left: 50%; margin-left: -28px; animation: hero-float 6s ease-in-out infinite 1.4s; }
.hero__orb--4 { top: 50%; left: -28px; margin-top: -28px; animation: hero-float 7s ease-in-out infinite .5s; }

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes hero-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .hero__seal-core, .hero__orb { animation: none; }
    .hero__seal-ring { animation: none; }
}

/* ---------- 页面横幅（内页） ---------- */
.page-banner {
    background:
        radial-gradient(900px 420px at 85% -30%, rgba(201,169,97,.22), transparent 60%),
        radial-gradient(700px 400px at 8% 130%, rgba(220,38,38,.35), transparent 60%),
        linear-gradient(135deg, #2b0404, var(--red-800) 45%, var(--red-700));
    color: var(--white); padding: 84px 0 76px;
    position: relative; overflow: hidden;
}

/* 底部金色渐变装饰线 */
.page-banner::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(201,169,97,0) 65%);
    z-index: 3;
}

/* 右下角 LAW 描边水印，编辑感装饰 */
.page-banner::after {
    content: 'LAW';
    position: absolute; right: 1%; bottom: -38px;
    font-family: var(--font-serif);
    font-size: 210px; font-weight: 700; line-height: 1;
    letter-spacing: .05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(230,207,148,.22);
    pointer-events: none; user-select: none;
    z-index: 1;
}

.page-banner__pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 85%);
    mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 85%);
}

.page-banner__content { position: relative; z-index: 2; text-align: left; max-width: 780px; }

.page-banner__title {
    font-size: 2.375rem; color: var(--white);
    margin-bottom: 14px; padding-left: 20px;
    border-left: 4px solid var(--gold);
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.page-banner__desc { color: rgba(255,255,255,.82); font-size: 1.0625rem; margin: 0; padding-left: 24px; }

.breadcrumb {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 26px; padding: 8px 18px;
    font-size: .8125rem; color: rgba(255,255,255,.65);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb__sep { color: rgba(255,255,255,.4); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 24px; }

.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.form-label .required { color: var(--red-600); margin-left: 2px; }

.form-control {
    width: 100%; padding: 14px 18px;
    font-size: 1rem; font-family: inherit;
    color: var(--gray-800); background: var(--white);
    border: 2px solid var(--gray-300);
    transition: var(--transition); outline: none;
    border-radius: var(--radius);
}

.form-control:focus { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(196,30,58,.1); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { min-height: 140px; resize: vertical; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px;
}

.form-message { padding: 12px 16px; font-size: .875rem; border: 1px solid transparent; border-radius: var(--radius); display: none; }
.form-message.show { display: block; }
.form-message--success { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.form-message--error { background: var(--red-50); color: var(--red-700); border-color: var(--red-200); }

/* 咨询表单容器 */
.consult-form {
    position: relative; overflow: hidden;
    background: var(--white); padding: 44px 40px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* 顶部红金渐变装饰条 */
.consult-form::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red-600), var(--gold));
}

.consult-form__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; color: var(--red-700); }

.consult-form__desc {
    font-size: .9375rem; color: var(--gray-500);
    margin-bottom: 28px; padding-bottom: 18px;
    border-bottom: 1px dashed var(--gray-300);
}

.consult-form--sticky { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- 数字统计 ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.stat-box {
    text-align: center; padding: 40px 16px;
    border: 1px solid var(--gray-200); background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-slow);
    position: relative; overflow: hidden;
}
.stat-box::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--red-600), transparent);
    opacity: 0; transition: var(--transition);
}
.stat-box:hover::before { opacity: 1; }
.stat-box:hover { border-color: var(--red-300); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.stat-box__num { font-size: 3rem; font-weight: 700; color: var(--red-600); font-family: var(--font-serif); line-height: 1; }
.stat-box__num small { font-size: 1.25rem; }
.stat-box__label { font-size: .9375rem; color: var(--gray-600); margin-top: 8px; }

/* 深色区块内的统计卡（内联样式背景需要 !important 覆盖） */
.section--dark .stats-grid .stat-box { transition: var(--transition-slow); }
.section--dark .stats-grid .stat-box:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(230,207,148,.35) !important;
    transform: translateY(-6px);
}

/* ---------- 优势/特色 ---------- */
.feature-box {
    padding: 36px 32px; background: var(--white);
    border: 1px solid var(--gray-200); border-top: 3px solid var(--red-600);
    border-radius: var(--radius-md);
    transition: var(--transition-slow); height: 100%;
    box-shadow: var(--shadow-sm);
}
.feature-box:hover { box-shadow: var(--shadow-lg); border-top-color: var(--red-700); transform: translateY(-6px); }
.feature-box__icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--red-50), #fdeaea);
    color: var(--red-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; margin-bottom: 20px;
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(196,30,58,.1);
    transition: var(--transition);
}
.feature-box:hover .feature-box__icon {
    background: linear-gradient(135deg, var(--red-600), var(--red-500));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(196,30,58,.3);
    transform: translateY(-4px) rotate(-3deg);
}
.feature-box__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-box__text { font-size: .9375rem; color: var(--gray-600); }

/* 暗色区块内联卡片（服务理念等）统一圆角与悬停 */
.section--dark .grid > div[style*="rgba(255,255,255,.05)"] {
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.section--dark .grid > div[style*="rgba(255,255,255,.05)"]:hover {
    background: rgba(255,255,255,.09) !important;
    border-color: rgba(255,255,255,.22) !important;
    transform: translateY(-4px);
}

/* ---------- 律师卡片（档案卡风格） ---------- */
.lawyer-card { background: var(--white); border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition-slow); display: flex; flex-direction: column; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.lawyer-card:hover { border-color: var(--red-600); box-shadow: var(--shadow-lg); transform: translateY(-8px); }

.lawyer-card__header {
    background: linear-gradient(135deg, var(--red-800), var(--red-600) 75%, var(--red-500));
    padding: 22px 24px;
    display: flex; align-items: center; gap: 16px;
    position: relative; overflow: hidden;
}

/* 头部右上金色光晕装饰 */
.lawyer-card__header::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(300px 150px at 96% -20%, rgba(201,169,97,.35), transparent 62%);
}

.lawyer-card__avatar {
    width: 64px; height: 64px; flex-shrink: 0;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(230,207,148,.6);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.75rem; font-weight: 700; color: var(--gold-light);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
    position: relative; z-index: 1;
}

.lawyer-card__id { position: relative; z-index: 1; min-width: 0; }

.lawyer-card__name { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }

.lawyer-card__title { font-size: .8125rem; color: var(--gold-light); font-weight: 600; margin-bottom: 0; letter-spacing: .02em; }

.lawyer-card__body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }

.lawyer-card__bio { font-size: .875rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }

.lawyer-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

/* 卡内标签改为描边风格，更轻盈精致 */
.lawyer-card__tags .badge-red { background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-200); }
.lawyer-card__tags .badge-gray { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }

.lawyer-card__exp {
    font-size: .8125rem; color: var(--gray-500);
    border-top: 1px dashed var(--gray-300);
    padding-top: 16px; margin-top: auto;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}

.lawyer-card__exp > span { display: inline-flex; align-items: center; gap: 6px; }

.lawyer-card__exp > span > i { color: var(--gold); font-size: 1rem; }

.lawyer-card__exp a {
    color: var(--red-600); font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
    white-space: nowrap;
}

.lawyer-card__exp a i { transition: var(--transition); }

.lawyer-card__exp a:hover i { transform: translateX(4px); }

/* ---------- 律师详情页 ---------- */
.lawyer-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }

.lawyer-profile {
    position: sticky; top: calc(var(--header-h) + 20px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.lawyer-profile__hero {
    background:
        radial-gradient(320px 160px at 110% -20px, rgba(201,169,97,.14), transparent 62%),
        linear-gradient(160deg, #fffdf7, #f9efda);
    padding: 34px 24px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}
/* 顶部红金渐变条（与右侧正文卡呼应） */
.lawyer-profile__hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red-600), var(--red-500) 40%, var(--gold));
}
.lawyer-profile__hero > * { position: relative; z-index: 1; }

/* 右下角法槌水印 */
.lawyer-profile__watermark {
    position: absolute; right: -8px; bottom: -38px;
    font-size: 118px; line-height: 1;
    color: rgba(201,169,97,.16);
    transform: rotate(-14deg);
    z-index: 0; pointer-events: none;
}

.lawyer-profile__avatar {
    width: 100px; height: 100px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.625rem; font-weight: 700;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(196,30,58,.25), 0 0 0 6px rgba(201,169,97,.16), inset 0 1px 0 rgba(255,255,255,.35);
}

.lawyer-profile__en {
    font-size: .625rem; font-weight: 600;
    letter-spacing: .34em; text-transform: uppercase;
    color: #8a6d2f;
    margin-bottom: 8px;
}
.lawyer-profile__name { font-size: 1.625rem; font-weight: 700; color: var(--red-800); margin-bottom: 10px; font-family: var(--font-serif); letter-spacing: .05em; }

/* 姓名下方金色分隔线 */
.lawyer-profile__divider { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.lawyer-profile__divider::before,
.lawyer-profile__divider::after { content: ''; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,97,.75)); }
.lawyer-profile__divider::after { background: linear-gradient(90deg, rgba(201,169,97,.75), transparent); }
.lawyer-profile__divider span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); border-radius: 1px; box-shadow: 0 0 8px rgba(201,169,97,.5); }

.lawyer-profile__role { font-size: .8125rem; color: var(--gray-600); letter-spacing: .04em; line-height: 1.7; margin-bottom: 0; }

.lawyer-profile__body { padding: 26px 24px 28px; }

.lawyer-profile__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.lawyer-profile__tag { font-size: .75rem; padding: 6px 13px; background: var(--red-50); color: var(--red-700); border-radius: var(--radius-full); font-weight: 600; border: 1px solid var(--red-100); }
.lawyer-profile__tag--gold { background: linear-gradient(135deg, rgba(201,169,97,.18), rgba(201,169,97,.1)); color: var(--gold); border-color: rgba(201,169,97,.35); display: inline-flex; align-items: center; gap: 5px; }
.lawyer-profile__tag--gold i { font-size: .8125rem; }

.lawyer-profile__info { border-top: 1px dashed var(--gray-200); padding-top: 20px; }
.lawyer-profile__info-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.lawyer-profile__info-item:last-child { margin-bottom: 0; }
.lawyer-profile .lawyer-profile__info-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red-50), #fbeaea);
    border: 1px solid var(--red-100);
    display: block;
    line-height: 36px;
    text-align: center;
    color: var(--red-600); font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.lawyer-profile .lawyer-profile__info-icon::before { line-height: 36px; }
.lawyer-profile__info-item strong { display: block; color: var(--gray-800); font-weight: 700; font-size: .8125rem; margin-bottom: 3px; letter-spacing: .02em; }
.lawyer-profile__info-item span { color: var(--gray-600); font-size: .8125rem; line-height: 1.65; word-break: break-all; }

/* 正文区：白卡 + 顶部金红渐变条（排版规则复用 .article） */
.lawyer-content { max-width: none; }
.lawyer-content.article {
    margin: 0; max-width: none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    padding: 44px 48px;
}
.lawyer-content > h2:first-child { margin-top: 0; }

/* 标题：红条 + 金色渐隐底线 */
.lawyer-content.article h2 { position: relative; padding-bottom: 14px; }
.lawyer-content.article h2::after {
    content: ''; position: absolute; left: 14px; right: 0; bottom: 0;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(201,169,97,.25) 45%, transparent);
}

/* 案例成果卡 */
.case-result-card { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--red-600); border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px; transition: var(--transition); }
.case-result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.case-result-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--red-700); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.case-result-card__title i { color: var(--red-600); }
.case-result-card__text { font-size: .9375rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.case-result-card__result { background: var(--red-50); padding: 12px 16px; border-radius: var(--radius); font-size: .875rem; color: var(--red-700); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.case-result-card__result i { color: var(--red-600); flex-shrink: 0; }

/* 客户评价卡 */
.testimonial { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--gold); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial__meta { font-size: .8125rem; color: var(--gray-500); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.testimonial__meta i { color: var(--gold); }
.testimonial__text { font-size: .9375rem; color: var(--gray-700); line-height: 1.8; }

/* ---------- FAQ 手风琴 ---------- */
.faq-item { border: 1px solid var(--gray-200); background: var(--white); margin-bottom: 12px; overflow: hidden; transition: var(--transition); border-radius: var(--radius-md); }
.faq-item.active { border-color: var(--red-300); box-shadow: 0 12px 32px rgba(196,30,58,.1); }

.faq-item__header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-size: 1.0625rem; font-weight: 600; color: var(--dark); transition: var(--transition); }
.faq-item__header:hover { color: var(--red-600); }
.faq-item.active .faq-item__header { color: var(--red-600); background: var(--red-50); }

.faq-item__toggle { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--red-50); color: var(--red-600); font-size: 1rem; flex-shrink: 0; margin-left: 16px; border-radius: var(--radius-full); transition: var(--transition); }
.faq-item.active .faq-item__toggle { background: var(--red-600); color: var(--white); transform: rotate(45deg); }

.faq-item__body { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.active .faq-item__body { max-height: 800px; padding: 0 24px 20px; }
.faq-item__content { font-size: .9375rem; color: var(--gray-600); line-height: 1.8; border-top: 1px solid var(--gray-200); padding-top: 16px; }

/* ---------- FAQ 卡片（列表页杂志网格 + 详情页相关问答通用） ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.faq-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; overflow: hidden; transition: var(--transition-slow); box-shadow: var(--shadow-sm); }
.faq-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red-600), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.faq-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red-200); }
.faq-card:hover::before { transform: scaleX(1); }
.faq-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.faq-card__top .faq-card__num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--red-500), var(--red-700)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--red-600); }
.faq-card__cat { font-size: .75rem; font-weight: 600; color: var(--red-700); background: var(--red-50); border: 1px solid var(--red-200); padding: 3px 10px; border-radius: var(--radius); letter-spacing: .02em; }
.faq-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.faq-card__header .faq-card__num { width: 28px; height: 28px; flex-shrink: 0; background: var(--red-600); color: var(--white); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 700; }
.faq-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.55; margin-bottom: 10px; transition: var(--transition); }
.faq-card:hover .faq-card__title { color: var(--red-600); }
.faq-card__excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.faq-card__more { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; font-size: .8125rem; color: var(--red-600); font-weight: 600; padding-top: 14px; border-top: 1px dashed var(--gray-200); }
.faq-card__more i { transition: var(--transition); }
.faq-card:hover .faq-card__more i { transform: translateX(4px); }

/* ---------- 首页常见问题预览（左引导卡 + 右问答列表） ---------- */
.faq-home { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }

.faq-home__intro {
    position: sticky; top: calc(var(--header-h) + 20px);
    background:
        radial-gradient(560px 300px at 92% -12%, rgba(201,169,97,.3), transparent 60%),
        radial-gradient(420px 280px at -8% 115%, rgba(220,38,38,.35), transparent 60%),
        linear-gradient(150deg, #2b0404, var(--red-800) 55%, var(--red-700));
    color: var(--white); padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-red);
    overflow: hidden;
}

.faq-home__intro::before {
    content: ''; position: absolute; inset: 0; opacity: .06;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,.5) 30px, rgba(255,255,255,.5) 60px);
}

.faq-home__intro > * { position: relative; z-index: 1; }

.faq-home__intro .section__eyebrow { background: rgba(255,255,255,.15); color: var(--white); }

.faq-home__title { font-size: 1.75rem; color: var(--white); margin-bottom: 14px; }

.faq-home__title::after {
    content: ''; display: block; width: 48px; height: 4px;
    background: var(--gold); border-radius: 2px; margin-top: 14px;
}

.faq-home__desc { font-size: .9375rem; color: rgba(255,255,255,.8); line-height: 1.8; margin-bottom: 24px; }

.faq-home__checks { list-style: none; }
.faq-home__checks li { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: rgba(255,255,255,.9); margin-bottom: 12px; line-height: 1.6; }
.faq-home__checks i { color: var(--gold-light); font-size: 1.125rem; margin-top: 1px; flex-shrink: 0; }

.faq-home__phone {
    display: flex; align-items: center; gap: 14px;
    margin: 24px 0; padding: 14px 16px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-md);
}

.faq-home__phone-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: var(--gold); color: var(--red-900);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.375rem; border-radius: var(--radius-full);
}

.faq-home__phone-text { line-height: 1.4; }
.faq-home__phone-text small { display: block; font-size: .75rem; color: rgba(255,255,255,.7); }
.faq-home__phone-text strong { font-size: 1.25rem; font-family: var(--font-serif); color: var(--gold-light); letter-spacing: 1px; }

.faq-home__intro .btn { width: 100%; justify-content: center; }

/* 右侧问答列表：单列堆叠，展开项不破坏布局 */
.faq-home__list .faq-item { margin-bottom: 16px; border-radius: var(--radius-md); }
.faq-home__list .faq-item:last-child { margin-bottom: 0; }

.faq-q-icon {
    width: 30px; height: 30px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--red-50); color: var(--red-600);
    font-size: .9375rem; font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.faq-home__list .faq-item__header { gap: 12px; }
.faq-home__list .faq-item__header > span:first-child { display: flex; align-items: center; gap: 12px; }
.faq-home__list .faq-item.active .faq-q-icon { background: var(--red-600); color: var(--white); }

/* ---------- FAQ 单页知识库（检索 + 左侧浮动导航） ---------- */
.is-hidden { display: none !important; }
.faq-search { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 4px 18px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.faq-search:focus-within { border-color: var(--red-300); box-shadow: 0 0 0 4px rgba(196,30,58,.08); }
.faq-search > i { font-size: 1.25rem; color: var(--red-600); flex-shrink: 0; }
.faq-search input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 1rem; color: var(--dark); padding: 13px 0; }
.faq-search input::placeholder { color: var(--gray-400); }
.faq-search__count { font-size: .8125rem; color: var(--gray-500); white-space: nowrap; flex-shrink: 0; }
.faq-search__clear { width: 30px; height: 30px; flex-shrink: 0; display: none; align-items: center; justify-content: center; border: none; cursor: pointer; background: var(--gray-100); color: var(--gray-500); border-radius: var(--radius-full); transition: var(--transition); }
.faq-search__clear:hover { background: var(--red-600); color: var(--white); }
.faq-search.has-value .faq-search__clear { display: inline-flex; }

.faq-layout { display: grid; grid-template-columns: 268px minmax(0,1fr); gap: 32px; align-items: start; margin-top: 36px; }
/* 左侧浮动问题导航 */
.faq-nav { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--red-600); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 14px 6px 14px 0; scrollbar-width: thin; }
.faq-nav__label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--gray-400); padding: 16px 16px 6px; }
.faq-nav__label:first-child { padding-top: 4px; }
.faq-nav a { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px 9px 15px; font-size: .875rem; line-height: 1.5; color: var(--gray-600); text-decoration: none; border-left: 3px solid transparent; transition: var(--transition); }
.faq-nav a .n { min-width: 18px; font-family: var(--font-serif); font-size: .75rem; font-weight: 700; color: var(--gray-400); }
.faq-nav a:hover { color: var(--red-600); background: var(--red-50); }
.faq-nav a.is-active { color: var(--red-600); font-weight: 600; background: var(--red-50); border-left-color: var(--red-600); }
.faq-nav a.is-active .n { color: var(--red-600); }

/* 分类分组标题 */
.faq-cat { margin-bottom: 36px; }
.faq-cat:last-of-type { margin-bottom: 0; }
.faq-cat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.faq-cat__no { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.faq-cat__title { font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.faq-cat__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201,169,97,0)); }
.faq-cat__count { font-size: .75rem; color: var(--gray-500); background: var(--gray-100); padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap; }

/* 问答项：默认全部展开，可独立折叠 */
.faq-page { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-page .faq-item { margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-page .faq-item__header { justify-content: flex-start; gap: 12px; padding: 18px 22px; }
.faq-page .faq-item__num { flex-shrink: 0; font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 700; color: var(--red-600); }
.faq-page .faq-item__q { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.faq-item__cat { font-size: .6875rem; font-weight: 600; color: var(--red-700); background: var(--red-50); border: 1px solid var(--red-100); padding: 2px 9px; border-radius: var(--radius-full); white-space: nowrap; }
.faq-page .faq-item.active .faq-item__body { max-height: none !important; padding: 0; }
.faq-page .faq-item__content { border-top: none; padding: 2px 24px 20px; }
.faq-page .faq-item__content p { font-size: .9375rem; line-height: 1.95; color: var(--gray-700); margin-bottom: 1em; }
.faq-page .faq-item__content ul { margin: 0 0 1em; padding-left: 0; }
.faq-page .faq-item__content ul li { position: relative; list-style: none; padding-left: 22px; margin-bottom: .55em; font-size: .9375rem; line-height: 1.8; color: var(--gray-700); }
.faq-page .faq-item__content ul li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--red-600); border-radius: 2px; transform: rotate(45deg); }
.faq-page .faq-item__content strong { color: var(--red-700); }
.faq-page .law-quote { margin: 18px 0; }
/* 律师提示框 */
.faq-tip { display: flex; gap: 12px; margin: 18px 0 4px; padding: 16px 18px; background: linear-gradient(135deg, var(--red-50), rgba(255,255,255,0)); border: 1px solid var(--red-100); border-left: 4px solid var(--red-600); border-radius: var(--radius); font-size: .875rem; line-height: 1.85; color: var(--gray-700); }
.faq-tip i { flex-shrink: 0; margin-top: 3px; font-size: 1.25rem; color: var(--red-600); }
.faq-tip strong { color: var(--red-700); }
/* 检索命中高亮 */
.faq-mark { background: rgba(201,169,97,.4); color: inherit; border-radius: 2px; padding: 0 1px; }
/* 无结果占位 */
.faq-result-empty { display: none; margin-top: 8px; padding: 56px 24px; text-align: center; background: var(--white); border: 1px dashed var(--gray-300); border-radius: var(--radius-md); }
.faq-result-empty.is-visible { display: block; }
.faq-result-empty .la-search { font-size: 2rem; color: var(--gray-300); }
.faq-result-empty p { margin: 10px 0 0; color: var(--gray-600); }

/* ---------- 分类列表（离婚诉讼） ---------- */
.category-card { display: flex; gap: 20px; padding: 28px 24px; background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--red-600); border-radius: var(--radius-md); transition: var(--transition-slow); align-items: flex-start; box-shadow: var(--shadow-sm); }
.category-card:hover { border-left-color: var(--red-700); box-shadow: var(--shadow-lg); background: var(--red-50); transform: translateY(-5px); }
.category-card__icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0; border-radius: 3px;
    box-shadow: 0 6px 16px rgba(196,30,58,.25), inset 0 1px 0 rgba(255,255,255,.2);
    transition: var(--transition);
}
.category-card:hover .category-card__icon { transform: scale(1.06) rotate(-4deg); }
.category-card__body { flex: 1; }
.category-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.category-card__title a { color: inherit; }
.category-card__title a:hover { color: var(--red-600); }
.category-card__desc { font-size: .875rem; color: var(--gray-600); margin-bottom: 12px; }
.category-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--red-200); }
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item::before { content: ''; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; background: var(--red-600); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red-600), 0 0 0 6px rgba(196,30,58,.15); border-radius: var(--radius-full); }
.timeline__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; }
.timeline__time { font-size: .8125rem; color: var(--red-600); font-weight: 600; margin-bottom: 8px; }
.timeline__text { font-size: .9375rem; color: var(--gray-600); }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.table th { background: linear-gradient(135deg, var(--red-700), var(--red-600)); color: var(--white); padding: 13px 16px; text-align: left; font-weight: 600; letter-spacing: .03em; }
.table th:first-child { border-top-left-radius: var(--radius-md); }
.table th:last-child { border-top-right-radius: var(--radius-md); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.table tr:last-child td { border-bottom: none; }
.table tr:last-child td:first-child { border-bottom-left-radius: var(--radius-md); }
.table tr:last-child td:last-child { border-bottom-right-radius: var(--radius-md); }
.table tr:nth-child(even) td { background: var(--gray-50); }
.table tr:hover td { background: var(--red-50); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
    background:
        radial-gradient(760px 360px at 12% 130%, rgba(43,4,4,.6), transparent 62%),
        radial-gradient(700px 340px at 92% -30%, rgba(201,169,97,.32), transparent 58%),
        linear-gradient(135deg, var(--red-800), var(--red-600));
    color: var(--white); padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 30%, transparent 80%);
}
.cta-banner__content { position: relative; z-index: 2; }
.cta-banner__title { font-size: 1.875rem; color: var(--white); margin-bottom: 12px; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.cta-banner__desc { color: rgba(255,255,255,.85); font-size: 1.0625rem; margin-bottom: 24px; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-banner__phone { font-size: 2.25rem; font-weight: 700; font-family: var(--font-serif); margin: 16px 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- 引用 / 法条块 ---------- */
.law-quote { position: relative; background: linear-gradient(135deg, var(--red-50), #faf3e3); border: 1px solid rgba(201,169,97,.3); border-left: 4px solid var(--gold); padding: 22px 26px; margin: 28px 0; font-size: .9375rem; color: var(--gray-700); line-height: 1.85; border-radius: var(--radius); overflow: hidden; }
.law-quote::after { content: '§'; position: absolute; right: 16px; bottom: 2px; font-family: var(--font-serif); font-size: 3.25rem; line-height: 1; color: var(--gold); opacity: .18; pointer-events: none; }
.law-quote__title { font-weight: 700; color: var(--red-700); margin-bottom: 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }

/* ---------- 案例卡片 ---------- */
.case-card { background: var(--white); border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition-slow); display: flex; flex-direction: column; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.case-card:hover { border-color: var(--red-600); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.case-card__header { background: linear-gradient(135deg, var(--red-800), var(--red-600) 70%, var(--red-500)); color: var(--white); padding: 20px 24px; position: relative; overflow: hidden; }
.case-card__header::after {
    content: ''; position: absolute; right: -30px; top: -30px;
    width: 100px; height: 100px; border-radius: 3px;
    background: rgba(255,255,255,.08);
}
.case-card__type {
    display: inline-block;
    font-size: .6875rem; letter-spacing: 1px;
    background: rgba(255,255,255,.16);
    padding: 3px 12px; border-radius: var(--radius-full);
    margin-bottom: 8px;
    position: relative; z-index: 1;
}
.case-card__title { font-size: 1.125rem; font-weight: 700; color: var(--white); position: relative; z-index: 1; }
.case-card__body { padding: 24px; flex: 1; }
.case-card__summary { font-size: .9375rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.case-card__result { background: var(--red-50); padding: 12px 16px; border-left: 3px solid var(--red-600); border-radius: var(--radius-sm); font-size: .875rem; color: var(--red-700); font-weight: 600; }

/* ---------- 普法资讯（首页：婚姻普法栏目最新文章） ---------- */
.section--news { background: linear-gradient(180deg, var(--red-50) 0%, var(--white) 100%); }
.news-card { display: flex; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; transition: var(--transition-slow); }
.news-card:hover { border-color: var(--red-600); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.news-card__date { flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--red-800), var(--red-600)); color: var(--white); padding: 18px 10px; position: relative; }
.news-card__date::after { content: ''; position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(180deg, transparent, rgba(201,169,97,.7), transparent); }
.news-card__day { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.news-card__ym { font-size: .6875rem; letter-spacing: 1px; opacity: .85; margin-top: 6px; }
.news-card__body { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; min-width: 0; }
.news-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.55; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: var(--transition); }
.news-card:hover .news-card__title { color: var(--red-700); }
.news-card__summary { font-size: .875rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { font-size: .8125rem; font-weight: 600; color: var(--red-700); }
.news-card__more i { transition: var(--transition); }
.news-card:hover .news-card__more i { transform: translateX(4px); }

/* ---------- 文章正文（FAQ/案例/服务详情页共用） ---------- */
.article { position: relative; max-width: 820px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 40px 44px; overflow: hidden; }
.article::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red-600), var(--red-500) 40%, var(--gold)); }
.article h2 { font-size: 1.5rem; margin: 36px 0 18px; padding-left: 14px; border-left: 4px solid var(--red-600); line-height: 1.4; }
.article h3 { font-size: 1.1875rem; margin: 28px 0 14px; color: var(--red-700); }
.article p { font-size: 1rem; line-height: 1.95; color: var(--gray-700); margin-bottom: 1.25em; }
.article ul, .article ol { margin: 0 0 1.25em; padding-left: 0; }
.article ul li, .article ol li { position: relative; padding-left: 22px; margin-bottom: .6em; line-height: 1.8; color: var(--gray-700); }
.article ul li { list-style: none; }
.article ul li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--red-600); border-radius: 2px; transform: rotate(45deg); }
.article ol { counter-reset: art-ol; }
.article ol li { list-style: none; counter-increment: art-ol; }
.article ol li::before { content: counter(art-ol); position: absolute; left: 0; top: .28em; width: 18px; height: 18px; background: var(--red-50); color: var(--red-700); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.article img { margin: 24px 0; }
.article strong { color: var(--red-800); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 18px; background: var(--gray-50); border: 1px solid var(--gray-200); border-left: 3px solid var(--gold); border-radius: var(--radius); margin-bottom: 32px; font-size: .8125rem; color: var(--gray-500); }
.article__meta i { color: var(--red-600); margin-right: 4px; }

/* —— 长文排版增强（AI 生成与编辑器内容通用）：法条引用 / 数据表格 / 分隔线 —— */
.article blockquote { margin: 26px 0; padding: 16px 22px; background: linear-gradient(135deg, rgba(201,169,97,.12), rgba(139,26,26,.05)); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.article blockquote p { font-size: .9375rem; line-height: 1.9; color: var(--gray-600); margin-bottom: .5em; }
.article blockquote p:last-child { margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .875rem; }
.article table th { background: var(--red-700); color: var(--white); font-weight: 600; padding: 10px 14px; text-align: left; border: 1px solid var(--red-700); line-height: 1.6; }
.article table td { padding: 10px 14px; border: 1px solid var(--gray-200); color: var(--gray-700); line-height: 1.7; vertical-align: top; }
.article table tr:nth-child(even) td { background: var(--red-50); }
.article hr { margin: 36px auto; width: 140px; border: none; border-top: 2px solid var(--gold); opacity: .55; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--gray-300); color: var(--gray-700); font-size: .875rem; font-weight: 600; border-radius: var(--radius); transition: var(--transition); }
.pagination a:hover { border-color: var(--red-600); color: var(--red-600); background: var(--red-50); }
.pagination .active { background: linear-gradient(135deg, var(--red-500), var(--red-700)); border-color: var(--red-600); color: var(--white); box-shadow: 0 4px 12px rgba(196,30,58,.25); }

/* ---------- 页脚 ---------- */
.footer {
    background:
        radial-gradient(ellipse 900px 300px at 85% -60px, rgba(201,169,97,.08), transparent 60%),
        linear-gradient(180deg, #2e0505, #1d0303);
    color: rgba(255,255,255,.7); padding: 64px 0 0;
    position: relative;
}

/* 顶部金红渐变装饰线 */
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--red-500), var(--gold), transparent);
}

/* —— 主信息区 —— */
.footer__top { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 40px; }

/* 品牌列：徽标 + 名称 + 联系信息 */
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer__brand-mark {
    flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700; color: #5b0a0a;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 10px; box-shadow: 0 4px 14px rgba(201,169,97,.28);
}
.footer__brand-text { font-size: 1.1875rem; font-weight: 700; color: var(--white); line-height: 1.35; }
.footer__brand-text small { display: block; font-size: .625rem; font-weight: 600; letter-spacing: .14em; color: rgba(201,169,97,.75); margin-top: 3px; }
.footer__about { font-size: .8438rem; line-height: 1.85; margin-bottom: 18px; max-width: 42ch; }
.footer__contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; font-size: .8438rem; }
.footer__contact-item i { color: var(--gold-light); flex-shrink: 0; }
.footer__phone { color: var(--gold-light); font-size: 1.0625rem; font-weight: 700; letter-spacing: .04em; }
.footer__phone:hover { color: var(--white); }

/* 导航列 */
.footer__col-title { font-size: .9375rem; font-weight: 700; color: var(--white); letter-spacing: .06em; margin-bottom: 20px; padding-bottom: 10px; position: relative; }
.footer__col-title::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 28px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 1px;
}
.footer__links li { margin-bottom: 11px; line-height: 1.5; }
.footer__links a { color: rgba(255,255,255,.68); font-size: .8438rem; transition: color .2s ease, transform .2s ease; display: inline-block; }
.footer__links a:hover { color: var(--gold-light); transform: translateX(3px); }
.footer__links--info li { display: flex; align-items: flex-start; gap: 9px; font-size: .8438rem; }
.footer__links--info li i { color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.footer__links--info li a { font-size: .8438rem; }
.footer__links--info li a:hover { transform: none; }

/* —— 友情链接区 —— */
.footer__friend {
    display: flex; align-items: center; gap: 20px;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer__friend-title {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
    font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-light);
    padding-right: 20px; border-right: 1px solid rgba(255,255,255,.14);
}
.footer__friend-list { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__friend-list a {
    position: relative; color: rgba(255,255,255,.6); font-size: .8125rem;
    padding-bottom: 2px; transition: color .2s ease;
}
.footer__friend-list a::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
    background: var(--gold-light); transition: right .25s ease;
}
.footer__friend-list a:hover { color: var(--gold-light); }
.footer__friend-list a:hover::after { right: 0; }

/* —— 版权栏 —— */
.footer__bottom {
    padding: 18px 0 22px; text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer__bottom-main { font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer__bottom-main a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer__bottom-main a:hover { color: var(--gold); }
.footer__bottom-sub { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: 5px; letter-spacing: .02em; }

/* ---------- 移动端浮动栏 ---------- */
.float-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 2px solid var(--red-600); box-shadow: 0 -4px 16px rgba(0,0,0,.1); }
.float-bar__inner { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.float-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; font-size: .75rem; color: var(--gray-600); border: none; border-right: 1px solid var(--gray-200); background: none; cursor: pointer; text-decoration: none; transition: var(--transition); }
.float-bar__item:last-child { border-right: none; }
.float-bar__item i { font-size: 1.25rem; margin-bottom: 2px; }
.float-bar__item--phone { background: var(--red-600); color: var(--white); }
.float-bar__item--phone i, .float-bar__item--phone span { color: var(--white); }

/* 拨号入口仅移动端显示：PC 端无法拨号，统一隐藏按钮形态拨号入口（含 404/503 独立页） */
@media (min-width: 769px) {
    a[href^="tel:"].btn:not(.btn-call-dial) { display: none !important; }
    /* 首页 Hero 拨号按钮特例：PC 端保留手机号展示、禁用点击拨号 */
    a[href^="tel:"].btn-call-dial { pointer-events: none; cursor: default; }
}

/* 首页 CTA 拨号按钮：PC 端无法拨号显示手机号，移动端显示拨号文案 */
.btn-call-dial__mb { display: none; }
@media (max-width: 768px) {
    .btn-call-dial__pc { display: none; }
    .btn-call-dial__mb { display: inline; }
}

/* ---------- 返回顶部 ---------- */
.back-to-top { position: fixed; bottom: 20px; right: 20px; width: 48px; height: 48px; background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; cursor: pointer; z-index: 900; opacity: 0; visibility: hidden; transition: var(--transition); border: none; border-radius: var(--radius-full); box-shadow: var(--shadow-red); }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: linear-gradient(135deg, var(--red-600), var(--red-800)); transform: translateY(-4px); }

/* ---------- 右侧悬浮留言 ---------- */
.float-msg {
    position: fixed; right: 20px; bottom: 84px;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: var(--white);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    border: none; border-radius: 50%;
    cursor: pointer; z-index: 950;
    box-shadow: var(--shadow-red);
    transition: var(--transition);
}
.float-msg i { font-size: 1.375rem; line-height: 1; }
.float-msg__label { font-size: .6875rem; font-weight: 600; line-height: 1; }
.float-msg:hover { transform: translateY(-3px); }
.float-msg::before {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(196, 30, 58, .35);
    animation: float-msg-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes float-msg-pulse {
    0% { transform: scale(.85); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.float-msg-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.float-msg-modal.open { display: block; }
.float-msg-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(28, 10, 14, .6);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .3s ease;
}
.float-msg-modal.open .float-msg-modal__overlay { opacity: 1; }
.float-msg-modal__panel {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -44%);
    width: 480px; max-width: calc(100vw - 32px);
    background: var(--white);
    border: 1px solid rgba(201, 169, 97, .4);
    box-shadow: 0 24px 56px rgba(28, 10, 14, .28);
    overflow: hidden;
    opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.float-msg-modal.open .float-msg-modal__panel { opacity: 1; transform: translate(-50%, -50%); }
.float-msg-modal__close {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196, 30, 58, .06);
    color: var(--red-600); font-size: .9375rem;
    border: 1px solid rgba(196, 30, 58, .18);
    cursor: pointer; transition: var(--transition);
}
.float-msg-modal__close:hover { background: rgba(196, 30, 58, .12); transform: rotate(90deg); }
.float-msg-modal__head {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 14px;
    padding: 14px 24px 12px;
    background:
        radial-gradient(260px 130px at 108% -24px, rgba(201, 169, 97, .18), transparent 62%),
        linear-gradient(160deg, #fffdf7, #f9efda);
    border-bottom: 1px solid var(--gold);
}
.float-msg-modal__head::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--red-600), var(--red-500) 40%, var(--gold));
}
.float-msg-modal__head > * { position: relative; z-index: 1; }
.float-msg-modal__head > div:last-child { flex: 1; min-width: 0; }
.float-msg-modal__mark {
    position: absolute; right: -8px; bottom: -24px; z-index: 0;
    font-size: 88px; line-height: 1;
    color: rgba(201, 169, 97, .15);
    transform: rotate(-14deg);
    pointer-events: none;
}
.float-msg-modal__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--red-500), var(--red-700));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
    border: 1px solid var(--gold);
    box-shadow: 0 6px 14px rgba(196, 30, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.float-msg-modal__title {
    font-size: 1.125rem; font-weight: 700;
    color: var(--red-800);
    font-family: var(--font-serif);
    letter-spacing: .06em;
    margin-bottom: 3px;
}
.float-msg-modal__desc { font-size: .6875rem; color: #8a6d2f; line-height: 1.7; }
.float-msg-modal__body { padding: 18px 28px 16px; }
.float-msg-modal__body .form-group { margin-bottom: 10px; }
.float-msg-modal__body .form-label { font-size: .8125rem; margin-bottom: 4px; }
.float-msg-modal__body .form-control {
    padding: 8px 12px;
    font-size: .875rem;
    border-width: 1px;
}
.float-msg-modal__body textarea.form-control { min-height: auto; height: auto; }
.float-msg-modal__body .btn { padding-top: 9px; padding-bottom: 9px; }
.float-msg-modal__tip {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 10px; padding-top: 8px;
    border-top: 1px dashed var(--gray-200);
    font-size: .6875rem; color: var(--gray-500);
}
.float-msg-modal__tip i { color: var(--gold); }
@media (max-width: 480px) {
    .float-msg { width: 52px; height: 52px; right: 14px; bottom: 80px; }
    .float-msg-modal__head { padding: 14px 16px 12px; }
    .float-msg-modal__desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .float-msg-modal__body { padding: 16px 16px 14px; }
}

/* ---------- 声明条 ---------- */
.disclaimer-bar { background: linear-gradient(90deg, #FFF3E0, #FFD9A0); border-bottom: 2px solid #FF9800; padding: 8px 0; font-size: .8125rem; color: #8B4513; text-align: center; }
.disclaimer-bar i { color: #E65100; margin-right: 4px; }

/* ---------- AI 提问区 ---------- */
.ai-box { background: linear-gradient(135deg, var(--red-50), var(--gray-50)); border: 1px solid var(--red-200); padding: 32px; margin-top: 32px; border-radius: var(--radius-md); }
.ai-box__header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ai-box__icon { width: 48px; height: 48px; background: var(--red-600); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border-radius: var(--radius); }
.ai-box__title { font-size: 1.25rem; font-weight: 700; color: var(--red-700); }
.ai-box__desc { font-size: .875rem; color: var(--gray-500); }
.ai-box__notice { background: var(--red-100); padding: 12px 16px; font-size: .8125rem; color: var(--red-700); margin-bottom: 20px; border-left: 3px solid var(--red-600); border-radius: var(--radius-sm); }
.ai-box__result { background: var(--white); border: 1px solid var(--gray-200); padding: 20px; margin-top: 16px; font-size: .9375rem; line-height: 1.8; color: var(--gray-700); display: none; border-radius: var(--radius); }
.ai-box__result.show { display: block; }

/* ---------- 滚动淡入动画 ----------
   容错设计：仅在 JS 正常添加 .js 类后才启用隐藏式动画，
   脚本失效时内容默认完整可见，避免“内容丢失”。 */
.js [data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.js [data-animate].fade-in-up { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .js [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 侧边栏布局 ---------- */
.layout-2col { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }

/* ---------- 详情页两栏布局（正文 + 吸顶侧栏） ---------- */
.layout-detail { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items: start; }
.layout-detail .article { max-width: none; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.detail-aside__box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.detail-aside__box--consult { position: relative; overflow: hidden; background: radial-gradient(360px 200px at 90% -20%, rgba(201,169,97,.35), transparent 60%), linear-gradient(150deg, #2b0404, var(--red-800) 55%, var(--red-700)); border: none; color: var(--white); box-shadow: var(--shadow-red); }
.detail-aside__box--consult::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(201,169,97,0)); }
.detail-aside__title { font-size: 1.1875rem; font-weight: 700; color: var(--white); margin-bottom: 8px; position: relative; z-index: 1; }
.detail-aside__desc { font-size: .8125rem; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 16px; position: relative; z-index: 1; }
.detail-aside__box--consult .btn { position: relative; z-index: 1; }
.detail-aside__consult-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 10px; font-size: .875rem; font-weight: 600; color: var(--gold-light); border: 1px solid rgba(230,207,148,.4); border-radius: var(--radius); text-decoration: none; transition: var(--transition); position: relative; z-index: 1; }
.detail-aside__consult-link:hover { background: rgba(255,255,255,.08); color: var(--white); }
.detail-aside__heading { font-size: .9375rem; font-weight: 700; color: var(--dark); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--red-50); position: relative; }
.detail-aside__heading::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 36px; height: 2px; background: var(--red-600); }
.detail-aside__links { list-style: none; }
.detail-aside__links li { border-bottom: 1px dashed var(--gray-200); }
.detail-aside__links li:last-child { border-bottom: none; }
.detail-aside__links a { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: .875rem; color: var(--gray-600); text-decoration: none; transition: var(--transition); }
.detail-aside__links a i { color: var(--red-600); font-size: .75rem; transition: var(--transition); }
.detail-aside__links a:hover { color: var(--red-600); padding-left: 6px; }
.detail-aside__more { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--red-700); text-decoration: none; }
.detail-aside__more i { transition: var(--transition); }
.detail-aside__more:hover i { transform: translateX(4px); }
.detail-aside__box--gold { background: #fbf5e9; border-color: rgba(201,169,97,.4); }
.detail-aside__box--gold .detail-aside__heading { color: #8a6d2f; }
.detail-aside__box--gold .detail-aside__heading i { color: var(--gold); margin-right: 6px; }
.detail-aside__box--gold .detail-aside__desc { color: var(--gray-600); margin-bottom: 12px; }
.detail-aside__box--gold .detail-aside__more { color: #8a6d2f; }

/* ---------- 婚姻普法（专栏 v2） ---------- */
/* 专栏亮点条：负外边距浮于 banner 之上，金色顶线点睛 */
.pufa-highlights { position: relative; z-index: 5; margin-top: -58px; }
.pufa-highlights__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--gray-200); border-top: 3px solid var(--gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 26px 30px;
}
.pufa-highlights__item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pufa-highlights__item + .pufa-highlights__item { border-left: 1px dashed var(--gray-200); padding-left: 24px; }
.pufa-highlights__item i {
    flex-shrink: 0; width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.375rem; color: var(--red-600);
    background: var(--red-50); border: 1px solid var(--red-100);
    border-radius: var(--radius-md);
}
.pufa-highlights__item strong { display: block; font-size: .9375rem; color: var(--dark); line-height: 1.4; }
.pufa-highlights__item span { display: block; font-size: .75rem; color: var(--gray-500); margin-top: 3px; }

/* 头条特写：杂志式左文右「要点导航」面板 */
.pufa-featured { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 44px; transition: var(--transition-slow); position: relative; }
.pufa-featured:hover { box-shadow: var(--shadow-lg); border-color: rgba(201,169,97,.5); }
.pufa-featured::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--red-600)); z-index: 2; opacity: 0; transition: var(--transition); }
.pufa-featured:hover::before { opacity: 1; }
.pufa-featured__body { padding: 42px 44px 38px; display: flex; flex-direction: column; align-items: flex-start; }
.pufa-featured__flag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--red-700); background: linear-gradient(120deg, #f7ecd2, #f0e0b6); border: 1px solid rgba(201,169,97,.5); padding: 5px 14px; border-radius: var(--radius); margin-bottom: 18px; }
.pufa-featured__flag i { color: var(--gold); }
.pufa-featured__title { font-size: 1.75rem; line-height: 1.4; margin-bottom: 14px; }
.pufa-featured__title a { color: var(--dark); text-decoration: none; transition: var(--transition); }
.pufa-featured__title a:hover { color: var(--red-600); }
.pufa-featured__excerpt { font-size: .9375rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 20px; }
.pufa-featured__points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pufa-featured__points span { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--gray-700); background: var(--gray-50); border: 1px solid var(--gray-200); padding: 5px 12px; border-radius: var(--radius); transition: var(--transition); }
.pufa-featured__points span i { color: var(--gold); font-size: .9375rem; }
.pufa-featured__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: .8125rem; color: var(--gray-500); margin-bottom: 26px; }
.pufa-featured__meta i { color: var(--red-600); margin-right: 4px; }
.pufa-featured__visual { position: relative; background: radial-gradient(420px 300px at 85% -20%, rgba(201,169,97,.45), transparent 62%), radial-gradient(300px 220px at 0% 110%, rgba(220,38,38,.5), transparent 60%), linear-gradient(150deg, #2b0404, var(--red-800) 55%, var(--red-700)); display: flex; flex-direction: column; justify-content: center; padding: 36px 38px; overflow: hidden; }
.pufa-featured__visual::before { content: '法'; position: absolute; right: -26px; bottom: -46px; font-family: var(--font-serif); font-size: 200px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.pufa-featured__visual::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), rgba(201,169,97,0)); }
.pufa-map__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-light); margin-bottom: 10px; }
.pufa-map__head span { margin-left: auto; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; color: rgba(230,207,148,.55); }
.pufa-map { position: relative; z-index: 1; display: flex; flex-direction: column; }
.pufa-map__item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed rgba(230,207,148,.26); }
.pufa-map__item:last-child { border-bottom: none; }
.pufa-map__item i { flex-shrink: 0; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--gold-light); border: 1px solid rgba(230,207,148,.4); background: rgba(255,255,255,.06); border-radius: var(--radius); }
.pufa-map__item strong { display: block; font-size: .9375rem; font-weight: 700; color: var(--white); line-height: 1.4; }
.pufa-map__item span { display: block; font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.pufa-map__item .pufa-map__more { margin-left: auto; font-size: 1rem; color: rgba(230,207,148,.5); }

/* 文章网格：杂志目录风卡片 */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-slow); }
.post-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold), var(--red-600)); z-index: 3; opacity: 0; transition: var(--transition); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201,169,97,.5); }
.post-card:hover::before { opacity: 1; }
.post-card__cover { position: relative; height: 148px; background: radial-gradient(400px 200px at 88% -30%, rgba(201,169,97,.4), transparent 60%), linear-gradient(135deg, #3d0606, var(--red-800) 60%, var(--red-700)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-card__cover i { width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; font-size: 1.875rem; color: var(--gold-light); border: 1px solid rgba(230,207,148,.45); border-radius: 50%; background: rgba(255,255,255,.05); box-shadow: 0 0 0 7px rgba(230,207,148,.08); position: relative; z-index: 1; transition: var(--transition-slow); }
.post-card:hover .post-card__cover i { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(230,207,148,.12); }
.post-card__cover::after { content: attr(data-word); position: absolute; right: -8px; bottom: -24px; font-family: var(--font-serif); font-size: 96px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(230,207,148,.25); pointer-events: none; }
.post-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .75rem; font-weight: 600; color: var(--gold-light); background: rgba(43,4,4,.45); border: 1px solid rgba(230,207,148,.45); padding: 3px 10px; border-radius: var(--radius); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.post-card__num { position: absolute; top: 10px; right: 16px; z-index: 2; font-family: var(--font-serif); font-size: 2.375rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(230,207,148,.42); pointer-events: none; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.post-card__title a { color: var(--dark); text-decoration: none; transition: var(--transition); }
.post-card__title a:hover { color: var(--red-600); }
.post-card__excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--gray-200); display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--gray-500); }
.post-card__time { display: inline-flex; align-items: center; gap: 4px; }
.post-card__more { margin-left: auto; font-weight: 600; color: var(--red-600); display: inline-flex; align-items: center; gap: 4px; }
.post-card__more i { transition: var(--transition); }
.post-card:hover .post-card__more i { transform: translateX(4px); }

/* 更新预告卡：虚线框补位，传达「持续更新」 */
.pufa-more {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 8px; padding: 44px 24px;
    border: 1.5px dashed var(--gray-300); border-radius: var(--radius-md);
    background: var(--gray-50); transition: var(--transition-slow);
}
.pufa-more:hover { border-color: rgba(201,169,97,.65); background: #fdfaf1; }
.pufa-more > i { font-size: 2rem; color: var(--gold); margin-bottom: 2px; }
.pufa-more strong { font-size: 1.0625rem; color: var(--gray-700); }
.pufa-more p { font-size: .8438rem; color: var(--gray-500); }

/* 专题深度指南入口 */
.pufa-topics__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.pufa-topic {
    display: flex; align-items: center; gap: 15px;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); padding: 22px;
    box-shadow: var(--shadow-sm); text-decoration: none;
    transition: var(--transition-slow);
}
.pufa-topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,169,97,.5); }
.pufa-topic__icon { flex-shrink: 0; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--red-600); background: var(--red-50); border: 1px solid var(--red-100); border-radius: var(--radius-md); transition: var(--transition); }
.pufa-topic:hover .pufa-topic__icon { color: var(--white); background: linear-gradient(135deg, var(--red-500), var(--red-700)); border-color: transparent; }
.pufa-topic strong { display: block; font-size: 1rem; color: var(--dark); margin-bottom: 3px; }
.pufa-topic em { display: block; font-style: normal; font-size: .78rem; color: var(--gray-500); }
.pufa-topic__arrow { margin-left: auto; font-size: 1.125rem; color: var(--gray-300); transition: var(--transition); }
.pufa-topic:hover .pufa-topic__arrow { color: var(--red-600); transform: translateX(3px); }

/* 文章区顶部间距（亮点条浮起后收紧） */
.section--articles { padding-top: 62px; }

/* ---------- 通用分页（JS 渐进增强：无 JS 时隐藏且全量显示条目） ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination:empty, .pagination.is-hidden { display: none; }
.pagination__btn, .pagination__num {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 40px; height: 40px; padding: 0 14px;
    font-size: .875rem; font-weight: 600; color: var(--gray-600);
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius); text-decoration: none;
    transition: var(--transition); user-select: none;
}
.pagination__btn:hover, .pagination__num:hover { color: var(--red-600); border-color: var(--red-600); }
.pagination__num.active { color: var(--white); background: linear-gradient(135deg, var(--red-600), var(--red-700)); border-color: transparent; box-shadow: var(--shadow-red); pointer-events: none; }
.pagination__btn.is-disabled { color: var(--gray-300); background: var(--gray-50); border-color: var(--gray-200); cursor: not-allowed; pointer-events: none; }
.pagination__info { font-size: .8125rem; color: var(--gray-400); margin-left: 6px; }

/* ---------- 响应式 ---------- */
/* 导航 8 项后的中间档：1200~1500px 区间压缩菜单位距，防止挤压换行 */
@media (max-width: 1500px) {
    .navbar__menu > li > a { padding: 8px 12px; font-size: .875rem; }
}

@media (max-width: 1240px) {
    .navbar__menu > li > a { padding: 8px 10px; }
    .navbar__brand { font-size: 1.125rem; gap: 8px; }
    .navbar__brand .brand-icon { width: 38px; height: 38px; font-size: 1.25rem; }
}

@media (max-width: 1024px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand-col { grid-column: 1 / -1; }
    .footer__friend { flex-wrap: wrap; gap: 12px 20px; }
    .footer__friend-list { gap: 8px 20px; }
    .layout-2col { grid-template-columns: 1fr; gap: 32px; }
}

/* 汉堡切换断点：导航增至 8 项（新增婚姻普法）后桌面导航所需宽度约 1200px，
   原 1080px 断点会产生 1080~1200px 的挤压区间，提前到 1180px 切换。 */
@media (max-width: 1180px) {
    .navbar__menu { display: none; }
    .navbar__toggle { display: flex; }

    /* Hero 右侧装饰视觉在窄屏下隐藏，内容占满全宽 */
    .hero__visual { display: none; }
    .hero__content { max-width: 100%; }

    /* 移动端品牌区压缩：允许收缩，防止中文长名称把汉堡按钮挤出视口 */
    .navbar__brand { flex-shrink: 1; min-width: 0; font-size: 1.0625rem; gap: 8px; }
    .navbar__brand .brand-icon { width: 34px; height: 34px; font-size: 1.125rem; flex-shrink: 0; }
    .navbar__brand-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .navbar__brand-text small { font-size: .625rem; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; }
    .navbar__toggle { flex-shrink: 0; }

    .navbar__menu-mobile { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 3px solid var(--red-600); box-shadow: var(--shadow-lg); max-height: calc(100vh - 120px); overflow-y: auto; z-index: 999; }
    .navbar__menu-mobile.open { display: block; }
    .navbar__menu-mobile > li { border-bottom: 1px solid var(--gray-200); }
    .navbar__menu-mobile > li > a { display: block; padding: 16px 24px; font-size: 1rem; font-weight: 600; color: var(--gray-800); border-left: 4px solid transparent; transition: var(--transition); }
    .navbar__menu-mobile > li > a:hover, .navbar__menu-mobile > li.active > a { color: var(--red-600); border-left-color: var(--red-600); background: var(--red-50); }
    .navbar__menu-mobile .btn { margin: 16px 24px; width: calc(100% - 48px); }
}

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .hero__title { font-size: 2.25rem; }
    /* 平板区间数据条降为 2 列，避免四列拥挤 */
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
    .hero__stats > div { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.14); }
    .hero__stats > div:nth-child(3) { border-left: none; }
    .hero__watermark { font-size: 300px; bottom: -80px; }
    .layout-2col { grid-template-columns: 1fr; }
    .layout-detail { grid-template-columns: 1fr; }
    .detail-aside { position: static; }
    .faq-layout { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
    .faq-nav { top: var(--header-h); z-index: 40; display: flex; align-items: center; gap: 8px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 12px; border-top-width: 1px; }
    .faq-nav__label { display: none; }
    .faq-nav a { flex-shrink: 0; border-left: none; border: 1px solid var(--gray-200); border-radius: var(--radius-full); padding: 7px 14px; white-space: nowrap; }
    .faq-nav a .n { display: none; }
    .faq-nav a.is-active { background: var(--red-600); color: var(--white); border-color: var(--red-600); }
    .faq-grid, .post-grid { grid-template-columns: repeat(2,1fr); }
    .pufa-featured { grid-template-columns: 1fr; }
    .pufa-featured__visual { padding: 28px 26px; }
    .pufa-featured__visual::before { font-size: 150px; right: -20px; bottom: -36px; }
    .pufa-highlights { margin-top: -46px; }
    .pufa-highlights__grid { grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px 24px; }
    .pufa-highlights__item:nth-child(3) { border-left: none; padding-left: 0; }
    .pufa-topics__grid { grid-template-columns: 1fr 1fr; }
    .lawyer-layout { grid-template-columns: 1fr; gap: 32px; }
    .lawyer-profile { position: static; }
    .consult-form--sticky { position: static; }
    .faq-home { grid-template-columns: 1fr; gap: 32px; }
    .faq-home__intro { position: static; padding: 32px 28px; }
}

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: 56px 0; }
    .section__title { font-size: 1.5rem; }
    .section__header { margin-bottom: 32px; }
    .hero { min-height: 0; padding: 56px 0; }
    .hero__content { padding: 0; }
    .hero__watermark { font-size: 250px; bottom: -60px; }
    .hero__title { font-size: 1.75rem; }
    .hero__desc { font-size: 1rem; }
    .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
    .hero__stats > div { padding: 0; border-left: none; }
    .hero__stat-num { font-size: 1.75rem; }
    .page-banner { padding: 56px 0 48px; }
    .page-banner__title { font-size: 1.5rem; padding-left: 14px; border-left-width: 3px; }
    .page-banner__desc { padding-left: 17px; font-size: .9375rem; }
    .page-banner::after { font-size: 88px; bottom: -12px; right: -4px; }
    .grid-2, .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
    .footer { padding-top: 48px; }
    .footer__top { grid-template-columns: 1fr; gap: 28px; }
    .footer__about { max-width: none; }
    .footer__friend { flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer__friend-title { border-right: none; padding-right: 0; }
    .footer__friend-list { gap: 10px 18px; }
    .footer__bottom { padding: 16px 0 18px; }
    .float-bar { display: block; }
    .back-to-top { bottom: 72px; }
    .cta-banner__title { font-size: 1.5rem; }
    .cta-banner__phone { font-size: 1.5rem; }
    .consult-form { padding: 28px 22px; }
    .consult-form__title { font-size: 1.3125rem; }
    .category-card { flex-direction: column; }
    .faq-grid, .post-grid { grid-template-columns: 1fr; }
    .faq-search { padding: 2px 14px; }
    .faq-search__count { display: none; }
    .faq-cat__no { display: none; }
    .faq-page .faq-item__header { padding: 15px 16px; }
    .faq-page .faq-item__content { padding: 2px 16px 16px; }
    .faq-page .faq-item__cat { display: none; }
    .faq-cat__count { display: none; }
    .faq-tip { padding: 14px; }
    .pufa-highlights { margin-top: -38px; }
    .pufa-highlights__grid { grid-template-columns: 1fr; padding: 20px 22px; }
    .pufa-highlights__item + .pufa-highlights__item { border-left: none; padding-left: 0; border-top: 1px dashed var(--gray-200); padding-top: 14px; }
    .pufa-topics__grid { grid-template-columns: 1fr; }
    .pufa-map__item span { display: none; }
    .article { padding: 26px 22px; }
    .news-card__date { flex-basis: 68px; padding: 14px 8px; }
    .news-card__day { font-size: 1.5rem; }
    .news-card__body { padding: 18px; }
    .article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .article blockquote { padding: 14px 16px; }
    .pufa-featured__body { padding: 28px 24px; }
    .pufa-featured__title { font-size: 1.375rem; }
    .detail-aside__box { padding: 20px; }
    .law-quote { padding: 16px; }
    .lawyer-content.article { padding: 28px 22px; }
    .lawyer-profile__avatar { width: 88px; height: 88px; font-size: 2.25rem; }
    .article h2 { font-size: 1.375rem; }
    body { padding-bottom: 60px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.5rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__stats { gap: 16px; }
    .hero__stat-num { font-size: 2rem; }
    .topbar__right { display: none; }
    .topbar__inner { justify-content: center; }
}
