/* ========================================
   全局样式 - 律师事务所网站
   ======================================== */

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 配色方案 - 深蓝绿 + 高级中性色 */
    --primary-color: #003340;
    --secondary-color: #1b5f6b;
    --accent-color: #18a4b8;
    --highlight-color: #c08f3a;
    --text-dark: #1e2a32;
    --text-muted: #5f6b73;
    --text-light: #f8f9fa;
    --bg-light: #f3f5f6;
    --bg-white: #ffffff;
    --border-color: #e0e4e8;
    --header-height: 60px;
    
    /* 字体 */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    /* 为固定菜单栏预留空间 */
    padding-top: var(--header-height);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 双栏布局 - 文案 + 配图 */
.two-column-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--spacing-lg);
    align-items: center;
}

.two-column-feature-text h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    margin-bottom: var(--spacing-sm);
}

.two-column-feature-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

.two-column-feature-visual {
    height: 320px;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .two-column-feature {
        grid-template-columns: 1fr;
    }
    .two-column-feature-visual {
        order: -1;
        height: 220px;
    }
}

/* 联系页面 - 办公室信息布局 */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.office-details {
    text-align: center;
}

.office-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.office-address-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.office-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.4;
}

.office-address-lines br {
    display: none;
}

.office-address-lines {
    white-space: normal;
}

.office-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: 0.95rem;
}

.office-contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.office-contact-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.office-contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-layout-grid > div {
        width: 100%;
    }

    .office-address-lines br {
        display: block;
    }
}

/* 页眉导航 - 固定模式 */
.site-header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
.team-member-link {
    text-decoration: none;
    color: inherit;
    position: relative;
}
.team-member-link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    height: auto;
    width: auto;
    max-width: 350px;
    max-height: 55px;
}

/* 导航菜单 */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* 语言选择器 */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 50px;
    justify-content: center;
}

.lang-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    opacity: 0.8;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background-color: var(--bg-light);
}

.lang-option.active {
    background-color: var(--accent-color);
    color: var(--text-light);
    font-weight: 600;
}

.lang-option.active:hover {
    background-color: var(--secondary-color);
}

/* 导航栏右侧容器（包含语言选择器） */
.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* 页脚 */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 200px repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.footer-logo {
    display: block;
    text-decoration: none;
}

.footer-logo img {
    width: auto;
    max-width: 180px;
    height: auto;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 主要内容区域 */
main {
    min-height: 60vh;
}

/* Hero区域（首页大横幅） */
.hero-section {
    /* 背景图片 */
    background-image: url('../images/picture-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    /* 全屏高度（减去固定导航栏高度） */
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 渐变覆盖层 - 带透明度，达到若隐若现的效果 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 使用主题颜色的渐变覆盖，带透明度 */
    background: linear-gradient(
        135deg, 
        rgba(0, 51, 64, 0.75) 50%, 
        rgba(0, 64, 80, 0.65) 70%, 
        rgba(0, 77, 92, 0.75) 80%
    );
    pointer-events: none;
    z-index: 1;
}

/* 扫光效果 - 金属/玻璃反光 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    /* 斜向白色渐变光束 */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    /* 倾斜光束，模拟反光效果 */
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
    /* 扫光动画 */
    animation: sweepLight 6s ease-in-out 1s infinite;
}

/* 扫光动画 - 从左向右移动 */
@keyframes sweepLight {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

/* 确保内容在装饰层之上 */
.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    
    /* 渐变色文字效果 */
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #a8d5ff 25%,
        #ffffff 50%,
        #a8d5ff 75%,
        #ffffff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* 文字阴影 - 多层阴影增强立体感和对比度 */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
            drop-shadow(0 4px 8px rgba(0, 51, 64, 0.4))
            drop-shadow(0 0 20px rgba(0, 102, 120, 0.2));
    
    /* 淡入和渐变动画 */
    animation: heroTitleFadeIn 1s ease-out, gradientShift 8s ease-in-out infinite;
    
    /* 添加相对定位以支持伪元素 */
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* 标题下方动态下划线 */
.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #a8d5ff,
        #ffffff,
        #a8d5ff,
        transparent
    );
    border-radius: 2px;
    animation: underlineExpand 1.2s ease-out 0.3s both;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    /* 文字阴影增强可读性 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                 0 1px 2px rgba(0, 51, 64, 0.5);
    /* 副标题淡入动画 */
    animation: fadeUp 1s ease-out 0.4s both;
}

/* 按钮淡入效果 */
.hero-section .btn {
    animation: fadeUp 1s ease-out 0.6s both;
    /* 按钮阴影增强立体感 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                0 2px 6px rgba(0, 51, 64, 0.4);
}

.hero-section .btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4),
                0 3px 8px rgba(0, 51, 64, 0.5);
}

/* Hero 区按钮继承全局 btn-primary 样式，仅增强阴影 */
.hero-section .btn-primary {
    box-shadow: 0 10px 22px rgba(192, 143, 58, 0.4);
}

/* 其他页面的 Hero 区域 - 高度减半 */
.hero-section-small {
    min-height: calc(50vh - 30px);
}

/* 内容区块 */
.content-section {
    padding: var(--spacing-lg) 0;
}

.why-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.4;
}

.why-section h3 {
    color: var(--secondary-color);
}

.why-section .two-column {
    gap: calc(var(--spacing-md) * 1.5);
}

.why-section .two-column > div {
    background: var(--bg-white);
    border-left: 4px solid var(--highlight-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 12px 28px rgba(0, 51, 64, 0.08);
    position: relative;
}

.why-section .two-column > div::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.6);
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.cta-section {
    background: linear-gradient(135deg, rgba(0, 51, 64, 0.95) 0%, rgba(27, 95, 107, 0.93) 45%, rgba(24, 164, 184, 0.9) 100%);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(0, 51, 64, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 60%);
    filter: blur(2px);
    opacity: 0.8;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2,
.cta-section p {
    color: var(--text-light);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA 区主按钮使用金色高亮渐变 */
.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--highlight-color), #f3b864);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(192, 143, 58, 0.35);
}

.cta-section .btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(192, 143, 58, 0.45);
}

.cta-section .btn-secondary,
.cta-section .btn-secondary-filled {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-light);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.08));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.cta-section .btn-secondary:hover,
.cta-section .btn-secondary-filled:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
    transform: translateY(-3px);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.content-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.content-section p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text-muted);
}

/* 卡片组件 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* 办公地点专用网格：桌面端强制 4 列 */
.office-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .office-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .office-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* 使用 flex 布局让按钮对齐到底部 */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    /* 让段落占据剩余空间，将按钮推到底部 */
    flex: 1;
    margin-bottom: var(--spacing-md);
}

/* 卡片内的按钮居中对齐 */
.card .btn {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    margin-top: 0;
}

/* 首页服务卡片特殊样式 - 带渐变背景和阴影 */
.services-section-animated .card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: none;
    box-shadow: 0 8px 24px rgba(0, 51, 64, 0.15);
    position: relative;
    overflow: hidden;
}

/* 为每个卡片添加顶部渐变条 */
.services-section-animated .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* 第一个卡片 - 深蓝绿色调 */
.services-section-animated .card:nth-child(1) {
    background: linear-gradient(135deg, var(--bg-white) 0%, #e6f7f9 100%);
}

.services-section-animated .card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.services-section-animated .card:nth-child(1) h3 {
    color: var(--primary-color);
}

/* 第二个卡片 - 青色调 */
.services-section-animated .card:nth-child(2) {
    background: linear-gradient(135deg, var(--bg-white) 0%, #e6f9f7 100%);
}

.services-section-animated .card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary-color), #00998a);
}

.services-section-animated .card:nth-child(2) h3 {
    color: var(--secondary-color);
}

/* 第三个卡片 - 蓝绿色调 */
.services-section-animated .card:nth-child(3) {
    background: linear-gradient(135deg, var(--bg-white) 0%, #e6f4f9 100%);
}

.services-section-animated .card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent-color), #0099b4);
}

.services-section-animated .card:nth-child(3) h3 {
    color: var(--accent-color);
}

/* 悬停效果增强 */
.services-section-animated .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 51, 64, 0.25);
}

/* 按钮样式优化 */
.services-section-animated .card .btn-secondary {
    margin-top: var(--spacing-sm);
    border-width: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-light);
    box-shadow: 0 10px 20px rgba(0, 51, 64, 0.18);
}

.services-section-animated .card .btn-secondary {
    background: linear-gradient(135deg, var(--highlight-color), #f3b864);
    color: var(--text-dark);
}

.services-section-animated .card .btn-secondary:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(192, 143, 58, 0.25);
}

/* 两栏布局 */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-md) 0;
}

/* 欺诈调查介绍区域 - 父容器 */
.fraud-intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-md) 0 var(--spacing-lg);
    align-items: center;
}

/* 子容器1：左侧文字 */
.fraud-intro-text {
    padding-right: var(--spacing-md);
}

.fraud-intro-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* 子容器2：右侧图片 */
.fraud-intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 响应式：平板及以下设备改为单列布局 */
@media (max-width: 768px) {
    .fraud-intro-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .fraud-intro-text {
        padding-right: 0;
    }
    
    /* 移动端图片在文字下方 */
    .fraud-intro-image {
        order: 2;
    }
    
    .fraud-intro-text {
        order: 1;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight-color), #f3b864);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(192, 143, 58, 0.3);
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(192, 143, 58, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-light {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* 表单样式 */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 120, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 团队成员卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.team-member {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--bg-light);
    margin: 0 auto var(--spacing-sm);
    display: block;
    position: relative;
    overflow: hidden;
    /* 强制硬件加速 */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: auto;
}
.team-member-photo img {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px;
    max-height: 150px;
    min-width: 150px;
    min-height: 150px;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    display: block !important;
    background-color: var(--bg-light);
    /* 强制图片加载和显示 */
    opacity: 1 !important;
    visibility: visible !important;
    /* iOS Safari 专用优化 */
    -webkit-appearance: none;
    image-rendering: auto;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    /* 关键：强制GPU加速 */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* 确保图层正确 */
    position: relative;
    z-index: 1;
}

/* 图片加载前的占位符效果 - 移除以确保移动端兼容性 */
/*.team-member-photo img:not([src]),
.team-member-photo img[src=""],
.team-member-photo img[src="#"] {
    opacity: 0;
}*/

/* 图片加载失败时的占位符 */
.team-member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8e8e8 100%);
    z-index: -1;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.team-member .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-member p {
    color: #666;
    font-size: 0.95rem;
}

/* 联系信息块 */
.contact-info {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    margin-bottom: var(--spacing-xs);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* 法律文本样式 */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

.legal-content h2 {
    text-align: left;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.legal-content h3 {
    margin-top: var(--spacing-md);
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: var(--spacing-sm);
    color: #444;
}

.legal-content ul, .legal-content ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-content li {
    margin-bottom: var(--spacing-xs);
}

/* 服务模块 */
.service-module {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--accent-color);
}

.service-module h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-module ul {
    list-style: none;
    padding-left: 0;
}

.service-module li {
    padding-left: var(--spacing-md);
    position: relative;
    margin-bottom: var(--spacing-xs);
}

.service-module li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== 通用多语言断词优化 ===== */
html[lang] * { hyphens: auto; }
* { overflow-wrap: anywhere; }

/* ===== 方案A：自适应服务卡片栅格 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
}
.service-card {
    display: grid;
    grid-template-rows: auto 1fr auto; /* 标题 | 列表/内容 | CTA */
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}
.service-card h3 {
    margin: 0 0 .6rem 0;
    font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
    color: var(--primary-color);
}
.service-card p { margin: 0 0 .6rem 0; }
.service-card ul {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.service-card li { line-height: 1.55; }
.service-card .cta {
    margin-top: auto; /* 将按钮推到底部 */
    align-self: center;
}
@media (min-width: 1025px) {
    .service-card .list--clamp {
        max-height: 18rem;
        overflow: hidden;
        mask-image: linear-gradient(#000 75%, transparent);
    }
}

/* ===== 折叠面板（Accordion） ===== */
.accordion {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    margin-top: var(--spacing-md);
}
.accordion > summary {
    cursor: pointer;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    position: relative;
    /* 使用与金色按钮一致的渐变色 */
    background: linear-gradient(135deg, var(--highlight-color), #f3b864);
    border-radius: var(--radius-md);
}
.accordion > summary::marker { display: none; }
.accordion > summary::after {
    content: "▸";
    position: absolute;
    right: 1rem; top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform .2s ease;
    opacity: .8;
}
.accordion[open] > summary::after {
    transform: translateY(-50%) rotate(90deg);
}
.accordion-list {
    margin: 0;
    padding: .25rem 1.1rem 1rem;
    display: grid;
    gap: .6rem;
}
.accordion-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .55rem .65rem;
    border-radius: .5rem;
    background: var(--bg-light);
}
.accordion-list h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}
.btn-link {
    color: var(--accent-color);
    text-decoration: underline;
    white-space: nowrap;
}

/* ===== 团队展示板块 ===== */
.team-showcase-section {
    background: linear-gradient(135deg, #f8fbfc 0%, #e6f4f9 100%);
    overflow: hidden;
}

.team-showcase-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-carousel-wrapper {
    overflow: hidden;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
}

.team-carousel {
    display: inline-flex;
    min-width: max-content;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: stretch;
    animation: scroll-team 40s linear infinite;
    will-change: transform;
}

.team-carousel:hover {
    animation-play-state: paused;
}

@keyframes scroll-team {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.team-member-card {
    flex: 0 0 320px;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 51, 64, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 51, 64, 0.15);
}

.team-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: var(--spacing-md);
}

.team-member-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.team-member-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.team-member-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
    margin-top: 0;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .two-column {
        grid-template-columns: 1fr;
    }

    /* 移动端：一次显示一位律师 */
    .team-member-card {
        flex: 0 0 80vw;
        max-width: 320px;
        min-width: 240px;
    }

    .team-carousel {
        animation: scroll-team-mobile 30s linear infinite;
        gap: 1.5rem;
    }

    @keyframes scroll-team-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        /* 小屏幕禁用渐变色动画，保留淡入动画 */
        animation: heroTitleFadeIn 1s ease-out;
        /* 完全重置渐变文字效果 */
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: var(--text-light) !important;
        color: var(--text-light) !important;
    }
    
    .hero-section h1::after {
        animation: underlineExpand 1s ease-out 0.3s both;
    }
    
    /* 确保副标题和按钮文字也清晰可见 */
    .hero-section p {
        font-size: 1.1rem;
        color: var(--text-light) !important;
        opacity: 0.95;
    }
    
    .hero-section .btn {
        color: var(--text-dark) !important;
    }
    
    .content-section h2 {
        font-size: 1.7rem;
    }
    
    .card-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo-section {
        justify-content: center;
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-logo img {
        max-width: 200px;
    }
    
    /* 服务页面移动端适配 */
    /* Fraud Investigation 部分 - 5列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Asset Recovery 和 Forensic Workflow - 2列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    /* Cybercrime 部分 - 3列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* iOS Safari 特殊修复 */
@supports (-webkit-touch-callout: none) {
    .team-member-photo {
        /* iOS Safari 需要明确的尺寸 */
        width: 150px !important;
        height: 150px !important;
        min-width: 150px;
        min-height: 150px;
        /* 使用clip-path作为备用圆形方案 */
        -webkit-clip-path: circle(50% at 50% 50%);
        clip-path: circle(50% at 50% 50%);
    }
    
    .team-member-photo img {
        /* iOS Safari 图片渲染优化 */
        width: 150px !important;
        height: 150px !important;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        /* 同时应用两种圆形方案确保兼容性 */
        border-radius: 50%;
        -webkit-clip-path: circle(50% at 50% 50%);
        clip-path: circle(50% at 50% 50%);
    }
}

/* 移动设备专用 */
@media (max-width: 768px) and (hover: none) {
    .team-member-photo,
    .team-member-photo img {
        /* 移动端强制使用clip-path */
        -webkit-clip-path: circle(50% at 50% 50%) !important;
        clip-path: circle(50% at 50% 50%) !important;
        border-radius: 50% !important;
    }
    
    .team-member-photo img {
        /* 移动端图片强制可见 */
        opacity: 1 !important;
        display: block !important;
    }
}

/* 响应式设计 - 移动端 */
@media (max-width: 600px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: var(--spacing-sm) 0;
        box-shadow: var(--shadow-md);
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .main-nav li {
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        padding: var(--spacing-sm);
    }
    
    /* 移动端logo尺寸调整 */
    .site-logo img {
        max-width: 250px;
        max-height: 45px;
    }
    
    /* 移动端语言选择器调整 */
    .language-selector {
        order: 2;
    }
    
    .nav-right {
        gap: var(--spacing-sm);
    }
    
    .lang-toggle {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
        min-width: 45px;
    }
    
    .lang-dropdown {
        min-width: 120px;
    }
    
    .hero-section {
        min-height: 60vh; /* 移动端减少高度，从100vh改为60vh */
    }
    
    .hero-section-small {
        min-height: 35vh; /* 移动端小型hero区域也相应减少 */
    }
    
    .hero-section .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .hero-section h1 {
        font-size: 2rem;
        /* 完全重置渐变文字效果 */
        background: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: var(--text-light) !important;
        color: var(--text-light) !important;
    }
    
    .hero-section p {
        font-size: 1rem;
        color: var(--text-light) !important;
        opacity: 0.95;
    }
    
    .hero-section .btn {
        color: var(--text-dark) !important;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        display: block;
        width: 100%;
    }
    
    /* 服务页面移动端适配 */
    /* Fraud Investigation 部分 - 5列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Asset Recovery 和 Forensic Workflow - 2列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    /* Cybercrime 部分 - 3列变1列 */
    .content-section > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    /* 服务模块按钮适配 */
    .service-module .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 高级感增强样式（视觉层次与动效） */
:root {
    --elevated-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    --header-blur-bg: rgba(0, 51, 64, 0.65);
}

/* 细微背景纹理（极轻，不影响阅读） */
body {
    background-image:
        radial-gradient(1200px 400px at 80% -10%, rgba(0,102,120,0.06), transparent 60%),
        radial-gradient(800px 300px at 10% -10%, rgba(0,77,92,0.05), transparent 50%);
    background-repeat: no-repeat;
}

/* 玻璃态页眉 + 边框线（固定模式增强） */
.site-header {
    background-color: var(--header-blur-bg);
    -webkit-backdrop-filter: saturate(120%) blur(10px);
    backdrop-filter: saturate(120%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* 确保固定定位时的平滑过渡 */
    transition: box-shadow 0.3s ease;
}

/* 导航下划线动效（桌面端） */
@media (min-width: 769px) {
    .main-nav a {
        position: relative;
    }
    .main-nav a::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: 4px;
        height: 2px;
        background: var(--accent-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.25s ease;
        border-radius: 2px;
        opacity: 0.9;
    }
    .main-nav a:hover::after,
    .main-nav a.active::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    /* 去除桌面端导航的色块背景，改为下划线视觉 */
    .main-nav a:hover,
    .main-nav a.active {
        background-color: transparent;
    }
}

/* 移除重复的按钮样式定义 - 已在上方统一定义 */

/* 卡片更高级的材质与悬浮层次 */
.card {
    background: linear-gradient(180deg, var(--bg-white) 0%, #fbfcfe 100%);
    border-color: color-mix(in srgb, var(--primary-color) 8%, transparent);
    box-shadow: var(--shadow-sm);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--elevated-shadow);
}

/* 标题装饰线（增强层次） */
.content-section h2 {
    letter-spacing: 0.2px;
}
.content-section h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--accent-color);
    border-radius: 3px;
    opacity: 0.9;
}

/* Hero 渐变和网格纹理效果已在上方主样式定义中 */

/* 轻量进场动画（尊重系统无动画偏好） */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.card, .team-member {
    animation: fadeUp 0.6s ease both;
}
.card:nth-child(1), .team-member:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2), .team-member:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3), .team-member:nth-child(3) { animation-delay: 0.15s; }

/* ========================================
   页头标题动态效果
   ======================================== */

/* 标题渐变色动画 */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 标题淡入上升动画 */
@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 下划线扩展动画 */
@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* 文字闪光效果 */
@keyframes textShine {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}

.card:nth-child(4), .team-member:nth-child(4) { animation-delay: 0.20s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* 工具类 */
.text-center {
    text-align: center;
}

/* 提示条样式（提交结果） */
.alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    background: var(--bg-light);
    margin-bottom: var(--spacing-md);
}
.alert-success {
    border-left-color: #28a745;
    background: #eaf7ee;
    color: #0f5132;
}
.alert-error {
    border-left-color: #dc3545;
    background: #fdecea;
    color: #842029;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

/* ========================================
   FAQ 折叠卡片样式
   ======================================== */

/* FAQ 容器 */
.faq-container {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
}

/* FAQ 单项 */
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

/* FAQ 问题按钮 */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question[aria-expanded="true"] {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

/* FAQ 图标 */
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

/* FAQ 答案容器 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    transition: max-height 0.6s ease-in;
}

/* FAQ 答案内容 */
.faq-answer-content {
    padding: var(--spacing-md);
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: var(--spacing-sm);
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
}

.faq-answer-content li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-muted);
}

.faq-answer-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* FAQ 行动号召区域 */
.faq-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.faq-cta h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.faq-cta p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-sm);
    }
    
    .faq-icon {
        font-size: 1.3rem;
    }
    
    .faq-answer-content {
        padding: var(--spacing-sm);
        font-size: 0.95rem;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   动态 SVG 背景样式
   ======================================== */

/* 带动画背景的服务区域 */
.services-section-animated {
    position: relative;
    overflow: hidden;
    background-color: #001a20;
}

/* 干净的服务区域（渐变背景） */
.services-section-clean {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* 增强卡片阴影和悬停效果 */
.services-section-clean .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section-clean .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* 干净服务区域的卡片按钮样式 - 使用highlight-color */
.services-section-clean .card .btn-secondary {
    margin-top: var(--spacing-sm);
    border-width: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--highlight-color), #f3b864);
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(192, 143, 58, 0.18);
}

.services-section-clean .card .btn-secondary:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(192, 143, 58, 0.25);
}

/* 服务卡片图标样式 */
.services-section-clean .card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.services-section-clean .card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.services-section-clean .card-icon svg {
    width: 100%;
    height: 100%;
}

/* SVG 背景容器 */
.svg-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* 静态底图，确保在不支持 mask 时仍能显示图案 */
.svg-static {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(1.1) brightness(1.1);
}

/* 动态遮罩层：使用 svg 作为 mask 让线条看起来在流动 */
.svg-flow-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,51,64,0) 0%, rgba(0,102,120,0.7) 40%, rgba(0,153,180,0.9) 50%, rgba(0,102,120,0.7) 60%, rgba(0,51,64,0) 100%);
    background-size: 200% 100%;
    animation: svgFlow 8s linear infinite;
    opacity: 0.6;
    mix-blend-mode: screen;
    mask-image: url('../images/svg1.svg');
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url('../images/svg1.svg');
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* 线条流动动画：不断向右移动，形成“往前跑”效果 */
@keyframes svgFlow {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 确保内容在背景之上 */
.services-section-animated .container {
    position: relative;
    z-index: 1;
}

/* 响应式调整：在移动端降低透明度，避免喧宾夺主 */
@media (max-width: 768px) {
    .svg-static {
        opacity: 0.25;
    }
    .svg-flow-mask {
        opacity: 0.4;
        animation-duration: 12s;
    }
}

/* 尊重系统无动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .svg-flow-mask {
        animation: none;
        background-position: 100% 0;
    }
}

/* ========================================
   文章长文样式 (带右侧目录)
   ======================================== */

/* 文章容器布局 */
.article-container {
    padding: var(--spacing-lg) 0;
    background: var(--bg-light);
}

.article-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* 右侧目录导航 (sticky) */
.article-toc {
    position: sticky;
    top: 100px;
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.article-toc h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--accent-color);
}

.article-toc ul {
    list-style: none;
}

.article-toc ul li {
    margin-bottom: var(--spacing-xs);
}

.article-toc ul li a {
    display: block;
    padding: var(--spacing-xs);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.article-toc ul li a:hover {
    color: var(--accent-color);
    background: var(--bg-light);
    border-left-color: var(--accent-color);
    padding-left: var(--spacing-sm);
}

/* 文章主体内容 */
.article-content {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.article-content section {
    margin-bottom: var(--spacing-lg);
}

.article-content section:last-of-type {
    margin-bottom: 0;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.article-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    line-height: 1.8;
}

.article-content ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.article-content ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    line-height: 1.7;
}

.article-content ul li strong {
    color: var(--primary-color);
}

/* 流程步骤样式 */
.process-step {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm);
}

.process-step h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* 文章内 CTA */
.article-content .cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: var(--spacing-xl);
}

.article-content .cta-section h2 {
    color: var(--text-light);
    border: none;
    margin-bottom: var(--spacing-sm);
}

.article-content .cta-section p {
    color: var(--text-light);
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

/* 响应式：移动端隐藏侧边目录，改为顶部折叠 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-toc {
        position: static;
        order: -1;
        max-height: none;
        margin-bottom: var(--spacing-md);
    }
    
    .article-toc nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .article-toc nav ul li {
        margin-bottom: 0;
    }
    
    .article-toc nav ul li a {
        padding: var(--spacing-xs) var(--spacing-sm);
        border: 1px solid var(--border-color);
        border-left: 3px solid var(--accent-color);
        border-radius: var(--radius-sm);
        background: var(--bg-white);
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: var(--spacing-md);
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .process-step {
        padding: var(--spacing-sm);
    }
}

/* ========================================
   律师详情页 Hero
   ======================================== */
.attorney-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1b5f6b 40%, #0f2c38 100%);
    color: var(--text-light);
    padding: 30px 0 0 0;
}

.attorney-hero .container {
    max-width: 1100px;
}

.attorney-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--spacing-lg);
}

.attorney-photo {
    flex: 0 0 320px;
    max-width: 360px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: flex-end;
    position: relative;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.attorney-photo img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    background-color: transparent;
}

.attorney-intro {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.attorney-intro h1 {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    margin-bottom: var(--spacing-xs);
}

.attorney-intro .attorney-title {
    color: var(--highlight-color);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .attorney-hero-content {
        justify-content: center;
        text-align: center;
    }

    .attorney-intro {
        max-width: 520px;
    }
}

@media (max-width: 600px) {
    .attorney-hero {
        padding: 20px 0 0 0;
    }

    .attorney-intro h1 {
        font-size: 2rem;
    }

    .attorney-photo {
        flex-basis: 260px;
    }
}

/* ========================================
   律师详情页 - Word 文档风格
   ======================================== */
.attorney-detail {
    padding: var(--spacing-xl) 0;
}

.attorney-detail .container {
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.attorney-detail .detail-section {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.attorney-detail h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    text-align: left;
}

.attorney-detail p {
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    text-align: left;
    color: var(--text-dark);
    overflow-wrap: break-word;
}

.attorney-detail .contact-section p {
    text-align: left;
}

.attorney-detail .cta-buttons {
    margin-top: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
}

/* 响应式调整 */
@media (max-width: 900px) {
    .attorney-detail .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .attorney-detail .detail-section {
        margin-bottom: 1rem;
    }
    
    .attorney-detail p {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .attorney-detail .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .attorney-detail h2 {
        font-size: 1.3rem;
    }
    
    .attorney-detail .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(26,43,74,0.95);
    color: var(--text-light);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
    font-size: 0.95rem;
}

.cookie-banner p {
    flex: 1 1 300px;
    margin: 0;
    line-height: 1.5;
    color: var(--text-light);
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-banner .btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--text-dark);
}

.cookie-banner .btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner .cookie-actions {
        justify-content: flex-start;
    }
}

