/* ============================================================
   首页专属样式 — 维恒风格白底商务
   ============================================================ */

/* ===== Banner 轮播 ===== */
.hero-swiper {
    position: relative;
    overflow: hidden;
    background: var(--c-primary);
}
.swiper-slide {
    position: relative;
    height: 680px;
    overflow: hidden;
}
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurns 18s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    0%   { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1.5%, -1%); }
}
.slide-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(to right, rgba(14,34,64,0.82) 0%, rgba(14,34,64,0.55) 60%, rgba(14,34,64,0.2) 100%),
      radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(14,34,64,0.25) 80%);
}

/* ===== 顶部金色扫光线 ===== */
.hero-swiper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    z-index: 12;
    background: linear-gradient(90deg, transparent 0%, rgba(184,148,90,0.7) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: heroSweep 6s linear infinite;
    pointer-events: none;
}
@keyframes heroSweep {
    0%   { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* ===== 左侧动态金色装饰线 ===== */
.hero-side-deco {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 2px;
    height: 280px;
    background: linear-gradient(180deg, transparent 0%, rgba(184,148,90,0.6) 30%, rgba(184,148,90,0.6) 70%, transparent 100%);
    pointer-events: none;
}
.hero-side-deco::before,
.hero-side-deco::after {
    content: '';
    position: absolute;
    left: -4px;
    width: 10px; height: 10px;
    background: var(--c-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(184,148,90,0.7);
}
.hero-side-deco::before { top: 0; animation: deco1 3s ease-in-out infinite; }
.hero-side-deco::after  { bottom: 0; animation: deco2 3s ease-in-out infinite; }
@keyframes deco1 {
    0%, 100% { opacity: 1; transform: rotate(45deg) translateY(0); }
    50%      { opacity: 0.4; transform: rotate(45deg) translateY(10px); }
}
@keyframes deco2 {
    0%, 100% { opacity: 0.4; transform: rotate(45deg) translateY(0); }
    50%      { opacity: 1; transform: rotate(45deg) translateY(-10px); }
}

/* ===== 粒子飘落容器（金色光点 / 柳叶 / 雪花） ===== */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}
.hero-particles .particle {
    position: absolute;
    top: -40px;
    width: 6px; height: 6px;
    opacity: 0;
    will-change: transform, opacity;
}
/* 金色光点 */
.hero-particles .p-dot {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,183,136,0.95) 0%, rgba(184,148,90,0.6) 50%, transparent 100%);
    box-shadow: 0 0 8px rgba(212,183,136,0.6);
}
/* 柳叶 / 飘叶 */
.hero-particles .p-leaf {
    width: 14px; height: 6px;
    background: linear-gradient(135deg, rgba(212,183,136,0.85) 0%, rgba(184,148,90,0.4) 100%);
    border-radius: 100% 0 100% 0;
    box-shadow: 0 0 6px rgba(184,148,90,0.3);
}
/* 雪花（备用，可通过修改 HTML class 切换） */
.hero-particles .p-snow {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* 通用飘落动画：垂直下落 + 横向摆动 + 旋转 */
@keyframes particleFall {
    0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(var(--drift, 60px), calc(100vh + 80px), 0) rotate(var(--spin, 360deg)); }
}

/* 为 20 个粒子分配不同的延迟/速度/位置 */
.hero-particles .particle:nth-child(1)  { left: 4%;   --drift:  40px; --spin: 320deg; animation: particleFall 14s linear infinite;       animation-delay:  0s; }
.hero-particles .particle:nth-child(2)  { left: 11%;  --drift: -50px; --spin: 280deg; animation: particleFall 18s linear infinite;       animation-delay: -3s; }
.hero-particles .particle:nth-child(3)  { left: 17%;  --drift:  70px; --spin: 400deg; animation: particleFall 12s linear infinite;       animation-delay: -1s; }
.hero-particles .particle:nth-child(4)  { left: 23%;  --drift: -30px; --spin: 200deg; animation: particleFall 22s linear infinite;       animation-delay: -7s; }
.hero-particles .particle:nth-child(5)  { left: 29%;  --drift:  90px; --spin: 360deg; animation: particleFall 16s linear infinite;       animation-delay: -5s; }
.hero-particles .particle:nth-child(6)  { left: 35%;  --drift: -60px; --spin: 240deg; animation: particleFall 20s linear infinite;       animation-delay: -9s; }
.hero-particles .particle:nth-child(7)  { left: 42%;  --drift:  50px; --spin: 300deg; animation: particleFall 13s linear infinite;       animation-delay: -2s; }
.hero-particles .particle:nth-child(8)  { left: 48%;  --drift: -80px; --spin: 380deg; animation: particleFall 19s linear infinite;       animation-delay: -11s; }
.hero-particles .particle:nth-child(9)  { left: 55%;  --drift:  35px; --spin: 220deg; animation: particleFall 15s linear infinite;       animation-delay: -6s; }
.hero-particles .particle:nth-child(10) { left: 62%;  --drift: -45px; --spin: 340deg; animation: particleFall 17s linear infinite;       animation-delay: -8s; }
.hero-particles .particle:nth-child(11) { left: 68%;  --drift:  75px; --spin: 280deg; animation: particleFall 21s linear infinite;       animation-delay: -4s; }
.hero-particles .particle:nth-child(12) { left: 74%;  --drift: -40px; --spin: 320deg; animation: particleFall 14s linear infinite;       animation-delay: -10s; }
.hero-particles .particle:nth-child(13) { left: 81%;  --drift:  60px; --spin: 380deg; animation: particleFall 18s linear infinite;       animation-delay: -12s; }
.hero-particles .particle:nth-child(14) { left: 87%;  --drift: -55px; --spin: 260deg; animation: particleFall 16s linear infinite;       animation-delay: -2s; }
.hero-particles .particle:nth-child(15) { left: 93%;  --drift:  45px; --spin: 340deg; animation: particleFall 13s linear infinite;       animation-delay: -7s; }
.hero-particles .particle:nth-child(16) { left: 8%;   --drift: -65px; --spin: 300deg; animation: particleFall 23s linear infinite;       animation-delay: -14s; }
.hero-particles .particle:nth-child(17) { left: 38%;  --drift:  55px; --spin: 200deg; animation: particleFall 19s linear infinite;       animation-delay: -16s; }
.hero-particles .particle:nth-child(18) { left: 58%;  --drift: -75px; --spin: 360deg; animation: particleFall 17s linear infinite;       animation-delay: -3s; }
.hero-particles .particle:nth-child(19) { left: 78%;  --drift:  30px; --spin: 240deg; animation: particleFall 15s linear infinite;       animation-delay: -13s; }
.hero-particles .particle:nth-child(20) { left: 96%;  --drift: -50px; --spin: 320deg; animation: particleFall 20s linear infinite;       animation-delay: -8s; }

/* 大小、透明度差异制造景深 */
.hero-particles .particle:nth-child(3n)  { transform: scale(0.6); opacity: 0.7; }
.hero-particles .particle:nth-child(3n+1){ transform: scale(1.2); }
.hero-particles .particle:nth-child(5n)  { filter: blur(1px); opacity: 0.55; }

/* ===== 右下角浮动几何装饰（律所感法学符号） ===== */
.hero-floating-deco {
    position: absolute;
    right: 60px;
    bottom: 120px;
    z-index: 6;
    width: 180px;
    height: 180px;
    pointer-events: none;
    opacity: 0.18;
}
.hero-floating-deco .ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    animation: floatDeco 8s ease-in-out infinite;
}
.hero-floating-deco .ring-2 {
    inset: 20px;
    border-style: dashed;
    border-color: rgba(184,148,90,0.6);
    animation: floatDecoReverse 12s linear infinite;
}
.hero-floating-deco .ring-3 {
    inset: 50px;
    border-color: rgba(184,148,90,0.5);
    animation: floatDeco 6s ease-in-out infinite reverse;
}
.hero-floating-deco i {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: var(--c-gold);
    opacity: 0.7;
    animation: floatDecoIcon 4s ease-in-out infinite;
}
@keyframes floatDeco {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(8deg); }
}
@keyframes floatDecoReverse {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
@keyframes floatDecoIcon {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -55%) scale(1.05); }
}

/* ===== 底部 SCROLL 提示 ===== */
.hero-scroll-tip {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 11;
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    writing-mode: horizontal-tb;
}
.hero-scroll-tip .mouse {
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}
.hero-scroll-tip .mouse::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 3px;
    height: 7px;
    background: var(--c-gold);
    border-radius: 2px;
    animation: mouseScroll 1.6s ease-in-out infinite;
}
@keyframes mouseScroll {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50%      { transform: translate(-50%, 12px); opacity: 0; }
}

/* ===== 性能优化：用户偏好减少动画 ===== */
@media (prefers-reduced-motion: reduce) {
    .slide-bg,
    .hero-particles .particle,
    .hero-floating-deco .ring,
    .hero-floating-deco i,
    .hero-scroll-tip .mouse::before,
    .hero-swiper::before {
        animation: none !important;
    }
    .hero-particles { display: none; }
}

@media (max-width: 992px) {
    .hero-side-deco { display: none; }
    .hero-floating-deco { width: 130px; height: 130px; right: 30px; bottom: 80px; }
    .hero-floating-deco i { font-size: 32px; }
}
@media (max-width: 768px) {
    .hero-floating-deco,
    .hero-scroll-tip { display: none; }
    /* 移动端粒子减少一半数量（通过隐藏后半部分） */
    .hero-particles .particle:nth-child(n+11) { display: none; }
}

/* 固定文字覆盖层 — 不随轮播滑动 */
.hero-text-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}
.hero-text-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px 100px;
    width: 100%;
    pointer-events: auto;
}
.slide-en-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-gold);
    border-left: 2px solid var(--c-gold);
    padding-left: 12px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-en-label.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-text-inner h2 {
    font-size: 52px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 6px;
    line-height: 1.25;
    margin-bottom: 20px;
    min-height: 130px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.hero-text-inner h2.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-text-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    letter-spacing: 1px;
    max-width: 520px;
    min-height: 24px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.hero-text-inner p.visible {
    opacity: 1;
    transform: translateY(0);
}
.slide-btns {
    display: flex; gap: 16px; flex-wrap: wrap;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.slide-btns.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 轮播指示器覆盖 — hover 时才显示 */
.hero-swiper .layui-carousel-ind,
.hero-swiper .layui-carousel>.layui-carousel-ind {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-swiper:hover .layui-carousel-ind,
.hero-swiper:hover .layui-carousel>.layui-carousel-ind {
    opacity: 1;
}
.layui-carousel>.layui-carousel-ind ul>li {
    width: 32px; height: 2px; border-radius: 0;
    background: rgba(255,255,255,0.3);
}
.layui-carousel>.layui-carousel-ind ul>li.layui-this {
    background: var(--c-gold);
    width: 48px;
}

/* ===== 数字统计条 ===== */
.stats-bar {
    background: var(--c-primary);
    border-bottom: 3px solid var(--c-gold);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}
.stat-item {
    padding: 32px 20px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(184,148,90,0.08); }
.stat-num {
    font-family: var(--font-en);
    font-size: 44px;
    font-weight: 300;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-num sup { font-size: 22px; vertical-align: super; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 2px; }

/* ===== 关于我们 ===== */
.about-section { padding: var(--sp-xl) 0; background: var(--c-bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.about-img-badge {
    position: absolute;
    bottom: -24px; right: -24px;
    background: var(--c-gold);
    color: #fff;
    padding: 28px 32px;
    text-align: center;
    min-width: 120px;
}
.about-img-badge .num {
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}
.about-img-badge .txt { font-size: 12px; letter-spacing: 2px; margin-top: 6px; }

.about-content .en-label {
    display: inline-block;
    border-left: 2px solid var(--c-gold);
    padding-left: 12px;
    color: var(--c-gold);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.about-content h2 {
    font-size: 30px;
    color: var(--c-text);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}
.about-content p {
    color: var(--c-text-body);
    line-height: 2;
    margin-bottom: 16px;
    font-size: 15px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 32px;
}
.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text-body);
}
.about-feature-item i { color: var(--c-gold); font-size: 14px; }

/* ===== 业务领域 ===== */
.practice-section {
    padding: 100px 0;
    background: #f7f5f0;
    position: relative;
    overflow: hidden;
}
.practice-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 90% 10%, rgba(184,148,90,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 10% 90%, rgba(14,34,64,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.practice-section .section-title h2 { color: var(--c-primary); }
.practice-section .section-title .en-label { color: var(--c-gold); }
.practice-section .section-title .gold-bar { background: var(--c-gold); }
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.practice-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8e2d8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(14,34,64,0.06);
}
/* 顶部图标区块 — 深蓝主色调 */
.practice-card-header {
    position: relative;
    padding: 36px 32px 28px;
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a3a6e 100%);
    overflow: hidden;
    transition: background 0.4s;
}
.practice-card:hover .practice-card-header {
    background: linear-gradient(135deg, #0c1e40 0%, var(--c-primary) 100%);
}
/* 顶部区块内的大背景图标 */
.practice-card-bg-icon {
    position: absolute;
    right: -10px; bottom: -14px;
    font-size: 100px;
    line-height: 1;
    color: rgba(255,255,255,0.07);
    pointer-events: none;
    transition: all 0.4s;
    user-select: none;
}
.practice-card:hover .practice-card-bg-icon {
    color: rgba(184,148,90,0.18);
    transform: scale(1.1) rotate(-6deg);
}
.practice-icon {
    width: 58px; height: 58px;
    border: 1px solid rgba(184,148,90,0.5);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(184,148,90,0.12);
    position: relative; z-index: 1;
    transition: all 0.4s;
}
.practice-card:hover .practice-icon {
    border-color: var(--c-gold);
    background: rgba(184,148,90,0.22);
    box-shadow: 0 0 20px rgba(184,148,90,0.3);
}
.practice-icon i { color: var(--c-gold); font-size: 24px; }
/* 卡片内容区 */
.practice-card-body {
    padding: 26px 32px 30px;
    border-top: 3px solid transparent;
    transition: border-color 0.4s;
}
.practice-card:hover .practice-card-body {
    border-top-color: var(--c-gold);
}
.practice-card h3 {
    font-size: 18px;
    color: var(--c-primary);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.3s;
}
.practice-card:hover h3 { color: var(--c-gold); }
.practice-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.9;
    transition: color 0.3s;
    margin: 0;
}
.practice-card:hover p { color: #444; }
.practice-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-gold);
    font-size: 13px;
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s;
    letter-spacing: 1px;
    font-weight: 500;
}
.practice-card:hover .practice-more { opacity: 1; transform: translateX(0); }
/* 卡片整体hover效果 */
.practice-card:hover {
    border-color: rgba(184,148,90,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(14,34,64,0.14), 0 0 0 1px rgba(184,148,90,0.15);
}

/* ===== 律师团队 ===== */
.lawyers-section {
    padding: 100px 0;
    background: var(--c-bg);
    position: relative;
    overflow: hidden;
}
.lawyers-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 10% 10%, rgba(14,34,64,0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 90% 90%, rgba(184,148,90,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.lawyers-section .section-title h2 { color: var(--c-primary); }
.lawyers-section .section-title .en-label { color: var(--c-gold); }
.lawyers-section .section-title .gold-bar { background: var(--c-gold); }
.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
/* 律师卡片 — 与 practice-card 同风格 */
.lawyer-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8e2d8;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(14,34,64,0.06);
}
/* 顶部照片区 — 深蓝主色调 */
.lawyer-card-header {
    position: relative;
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a3a6e 100%);
    overflow: hidden;
    transition: background 0.4s;
}
.lawyer-card:hover .lawyer-card-header {
    background: linear-gradient(135deg, #0c1e40 0%, var(--c-primary) 100%);
}
.lawyer-photo-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 120%; /* 5:6 比例 */
}
.lawyer-photo-wrap img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--ease), filter 0.4s;
    filter: saturate(0.85) brightness(0.95);
}
.lawyer-card:hover .lawyer-photo-wrap img {
    transform: scale(1.06);
    filter: saturate(1) brightness(1);
}
/* 照片区右下角大背景装饰文字 */
.lawyer-card-bg-text {
    position: absolute;
    right: -6px; bottom: -10px;
    font-size: 72px;
    font-family: var(--font-en);
    font-weight: 700;
    line-height: 1;
    color: rgba(255,255,255,0.06);
    pointer-events: none;
    transition: all 0.4s;
    user-select: none;
    letter-spacing: -2px;
}
.lawyer-card:hover .lawyer-card-bg-text {
    color: rgba(184,148,90,0.15);
    transform: scale(1.08) rotate(-4deg);
}
/* 照片区左下角职位标签 */
.lawyer-position-tag {
    position: absolute;
    bottom: 0; left: 0;
    background: rgba(184,148,90,0.92);
    color: #fff;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 14px;
    z-index: 2;
    transition: background 0.3s;
}
.lawyer-card:hover .lawyer-position-tag {
    background: var(--c-gold);
}
/* 卡片内容区 */
.lawyer-card-body {
    padding: 22px 24px 26px;
    border-top: 3px solid transparent;
    transition: border-color 0.4s;
}
.lawyer-card:hover .lawyer-card-body {
    border-top-color: var(--c-gold);
}
.lawyer-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 6px;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}
.lawyer-card:hover .lawyer-name { color: var(--c-gold); }
.lawyer-title {
    font-size: 13px;
    color: #888;
    letter-spacing: 1px;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s;
}
.lawyer-card:hover .lawyer-title { color: #555; }
.lawyer-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-gold);
    font-size: 13px;
    margin-top: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s;
    letter-spacing: 1px;
    font-weight: 500;
    text-decoration: none;
}
.lawyer-card:hover .lawyer-more { opacity: 1; transform: translateX(0); }
/* 卡片整体 hover */
.lawyer-card:hover {
    border-color: rgba(184,148,90,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(14,34,64,0.14), 0 0 0 1px rgba(184,148,90,0.15);
}

/* ===== 新闻资讯 ===== */
.news-section { padding: var(--sp-xl) 0; background: var(--c-bg-alt); }
.news-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}
.news-section-left {
    flex: 0 0 300px;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(-50px);
}
.news-section-right {
    flex: 1;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(50px);
}
.news-section-left.visible, .news-section-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.news-left-en {
    display: inline-block;
    border-left: 2px solid var(--c-gold);
    padding-left: 12px;
    color: var(--c-gold);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.news-left-title {
    font-size: 32px;
    color: var(--c-text);
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.3;
}
.news-left-bar {
    width: 48px;
    height: 3px;
    background: var(--c-gold);
    margin-bottom: 20px;
}
.news-left-desc {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 2;
    margin-bottom: 32px;
}
.news-mobile-view-all {
    display: none;
    margin-top: 24px;
    text-align: center;
}
.home-news-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 16px;
    border-bottom: 1px solid var(--c-border);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}
.home-news-item:last-child { border-bottom: none; }
.home-news-item:hover {
    background: rgba(26,42,74,0.05);
    border-left-color: #c9a84c;
    transform: translateX(8px);
}
.home-news-item:hover .news-date-block {
    background: #c9a84c;
}
.home-news-item:hover .news-title {
    color: #c9a84c;
}
.news-date-block {
    flex: 0 0 56px;
    background: var(--c-primary);
    color: #fff;
    text-align: center;
    padding: 10px 8px;
    transition: background 0.3s;
}
.news-date-block .day {
    font-family: var(--font-en);
    font-size: 26px;
    font-weight: 300;
    color: var(--c-gold);
    line-height: 1;
    transition: color 0.3s;
}
.home-news-item:hover .news-date-block .day { color: #fff; }
.news-date-block .month {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    margin-top: 4px;
}
.news-item-content { flex: 1; min-width: 0; }
.news-title {
    font-size: 15px;
    color: var(--c-text);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 6px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-summary {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media(max-width:992px) {
    .news-layout { flex-direction: column; gap: 40px; }
    .news-section-left { flex: none; width: 100%; }
}

/* ===== 视差横幅 ===== */
.parallax-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.parallax-overlay {
    position: absolute; inset: 0;
    background: rgba(14,34,64,0.75);
}
.parallax-content {
    position: relative; z-index: 2;
    text-align: center;
    color: #fff;
}
.parallax-en {
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--c-gold);
    margin-bottom: 20px;
}
.parallax-content h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 16px;
    color: #fff;
}
.parallax-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    letter-spacing: 1px;
}
@media(max-width:768px) {
    .parallax-banner { height: 300px; background-attachment: scroll; }
    .parallax-content h2 { font-size: 24px; }
}

/* ===== 荣誉资质 ===== */
.honor-section {
    padding: var(--sp-xl) 0;
    background: #f7f5f0;
    position: relative;
    overflow: hidden;
}
.honor-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 10% 10%, rgba(184,148,90,0.07) 0%, transparent 50%),
                radial-gradient(ellipse at 90% 90%, rgba(14,34,64,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.honor-section .section-title .en-label { color: var(--c-gold); }
.honor-section .section-title h2 { color: var(--c-primary); }
.honor-section .section-title .gold-bar { background: var(--c-gold); }
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.honor-view-all {
    display: none;
}
.honor-card {
    background: #fff;
    border: 1px solid #e8e2d8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.4s var(--ease);
    box-shadow: 0 2px 12px rgba(14,34,64,0.06);
    cursor: pointer;
}
.honor-card-img {
    position: relative;
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a3a6e 100%);
    padding: 24px;
    overflow: hidden;
}
.honor-card-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(184,148,90,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.honor-card:hover .honor-card-img::after { opacity: 1; }
.honor-card img {
    width: 100%; height: 130px;
    object-fit: contain;
    filter: brightness(0.92) contrast(1.05);
    transition: filter 0.4s, transform 0.4s;
    position: relative; z-index: 1;
}
.honor-card:hover img {
    filter: brightness(1.05) contrast(1);
    transform: scale(1.04);
}
.honor-card-body {
    padding: 16px 18px 20px;
    border-top: 3px solid transparent;
    transition: border-color 0.4s;
}
.honor-card:hover .honor-card-body { border-top-color: var(--c-gold); }
.honor-card h4 {
    font-size: 13px;
    color: var(--c-primary);
    line-height: 1.6;
    font-weight: 500;
    margin: 0 0 6px;
    transition: color 0.3s;
}
.honor-card:hover h4 { color: var(--c-gold); }
.honor-card .year {
    font-size: 12px;
    color: var(--c-gold);
    font-weight: 500;
    letter-spacing: 1px;
}
.honor-card:hover {
    border-color: rgba(184,148,90,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(14,34,64,0.12), 0 0 0 1px rgba(184,148,90,0.15);
}

/* ===== 合作单位 ===== */
.partners-section { padding: var(--sp-xl) 0; background: var(--c-bg); }
.partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 10px;
}
.partner-logo-item {
    background: #fff;
    border: 1px solid var(--c-border);
    padding: 18px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all 0.3s;
}
.partner-logo-item:hover {
    border-color: var(--c-gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.partner-logo-item img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter 0.3s;
}
.partner-logo-item:hover img { filter: grayscale(0%); }

/* ===== 联系咨询 CTA ===== */
.consult-section {
    padding: 80px 0;
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    text-align: center;
}
.consult-section .en-label {
    display: block;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 16px;
}
.consult-section h2 {
    font-size: 36px;
    color: var(--c-text);
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-weight: 400;
}
.consult-section p {
    font-size: 15px;
    color: var(--c-text-muted);
    margin-bottom: 36px;
}
.consult-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .lawyers-grid { grid-template-columns: repeat(3, 1fr); }
    .partners-logo-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-badge { bottom: -16px; right: -16px; }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
    .honor-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .partners-logo-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .swiper-slide { height: 420px; }
    .hero-text-overlay { align-items: center; }
    .hero-text-inner h2 { font-size: 28px; letter-spacing: 2px; min-height: auto; margin-bottom: 12px; }
    .hero-text-inner { padding: 0 20px; text-align: center; }
    .hero-text-inner p { max-width: 100%; font-size: 14px; margin-bottom: 24px; }
    .slide-btns { justify-content: center; gap: 12px; }
    .slide-btns .btn-gold,
    .slide-btns .btn-primary { padding: 10px 20px; font-size: 13px; }
    .slide-en-label { font-size: 10px; letter-spacing: 3px; margin-bottom: 12px; }
    .practice-section {
        padding: 62px 0;
        background:
            radial-gradient(circle at 12% 8%, rgba(184,148,90,0.14) 0%, transparent 32%),
            linear-gradient(180deg, #f7f5f0 0%, #fffaf0 100%);
    }
    .practice-section .section-title { margin-bottom: 28px; }
    .practice-section .section-title h2 { font-size: 26px; }
    .practice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
    }
    .practice-card {
        min-height: 176px;
        border-radius: 14px;
        border-color: rgba(184,148,90,0.28);
        box-shadow: 0 10px 26px rgba(14,34,64,0.08);
    }
    .practice-card:nth-child(1) {
        grid-column: 1 / -1;
        min-height: 138px;
        display: grid;
        grid-template-columns: 116px 1fr;
        background: linear-gradient(135deg, #0e2240 0%, #183864 62%, #b8945a 160%);
        border-color: rgba(184,148,90,0.55);
        box-shadow: 0 18px 42px rgba(14,34,64,0.18);
    }
    .practice-card:nth-child(even):not(:first-child) {
        transform: translateY(10px);
    }
    .practice-card-header {
        padding: 18px 14px 16px;
        min-height: 78px;
        background: linear-gradient(135deg, #0e2240 0%, #183864 100%);
    }
    .practice-card:nth-child(1) .practice-card-header {
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px;
        background: transparent;
    }
    .practice-card-bg-icon {
        right: -18px;
        bottom: -16px;
        font-size: 82px;
        color: rgba(255,255,255,0.06);
    }
    .practice-card:nth-child(1) .practice-card-bg-icon {
        right: -8px;
        bottom: -18px;
        font-size: 104px;
        color: rgba(255,255,255,0.09);
    }
    .practice-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(184,148,90,0.16);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    }
    .practice-card:nth-child(1) .practice-icon {
        width: 62px;
        height: 62px;
        border-radius: 18px;
        background: rgba(184,148,90,0.22);
        box-shadow: 0 0 28px rgba(184,148,90,0.24);
    }
    .practice-icon i { font-size: 19px; }
    .practice-card:nth-child(1) .practice-icon i { font-size: 27px; }
    .practice-card-body {
        padding: 14px 12px 16px;
        border-top-width: 2px;
        border-top-color: rgba(184,148,90,0.18);
    }
    .practice-card:nth-child(1) .practice-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 18px 18px 18px 0;
        border-top: none;
    }
    .practice-card h3 {
        font-size: 15px;
        line-height: 1.35;
        letter-spacing: 0.5px;
        margin-bottom: 7px;
    }
    .practice-card:nth-child(1) h3 {
        color: #fff;
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    .practice-card p {
        font-size: 12px;
        line-height: 1.65;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .practice-card:nth-child(1) p {
        color: rgba(255,255,255,0.74);
        -webkit-line-clamp: 2;
    }
    .practice-more {
        opacity: 1;
        transform: none;
        margin-top: 10px;
        font-size: 12px;
    }
    .practice-card:nth-child(1) .practice-more { color: var(--c-gold); }
    .lawyers-grid { grid-template-columns: repeat(2, 1fr); }
    .honor-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .consult-section h2 { font-size: 26px; }
    .partners-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .swiper-slide { height: 360px; }
    .hero-text-inner h2 { font-size: 22px; min-height: auto; letter-spacing: 1px; }
    .hero-text-inner { padding: 0 16px; }
    .hero-text-inner p { font-size: 13px; margin-bottom: 20px; }
    .slide-btns .btn-gold,
    .slide-btns .btn-primary { padding: 8px 16px; font-size: 12px; }
    .lawyers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lawyers-grid .lawyer-card:nth-child(n+9) { display: none; }
    .lawyer-card-header { min-height: 0; }
    .lawyer-photo-wrap { padding-top: 110%; }
    .lawyer-card-body { padding: 14px 12px 16px; }
    .lawyer-name { font-size: 15px; }
    .lawyer-title { font-size: 12px; -webkit-line-clamp: 2; }
    .lawyer-position-tag { font-size: 10px; letter-spacing: 1px; padding: 4px 8px; }
    .lawyer-more { font-size: 11px; margin-top: 12px; }
    .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .honor-grid .honor-card:nth-child(n+7) { display: none; }
    .honor-card-img { padding: 16px 12px; }
    .honor-card img { height: 100px; }
    .honor-card-body { padding: 12px 12px 14px; }
    .honor-card h4 { font-size: 12px; }
    .honor-card .year { font-size: 11px; }
    .honor-view-all {
        display: block;
        text-align: center;
        margin-top: 50px;
        position: relative;
        z-index: 1;
    }
    .news-section-left .btn-primary {
        display: none;
    }
    .news-mobile-view-all {
        display: block;
        text-align: center;
        margin-top: 28px;
    }
    .news-mobile-view-all .btn-primary {
        display: inline-block;
    }
    .partners-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .partners-logo-grid .partner-logo-item:nth-child(n+7) { display: none; }
    .partner-logo-item { height: 70px; padding: 12px 8px; }
}
