/*
Theme Name: 浙江杭融亿律师事务所
Theme URI: https://hengzheng-law.com/
Description: 浙江杭融亿律师事务所官方网站 - 综合性法律服务 · 刑事辩护 · 婚姻家事 · 劳动纠纷 · 公司合同 · 债务法律
Version: 1.0.0
Author: WorkBuddy
Author URI: https://workbuddy.ai/
Template: 
Text Domain: hengzheng-law
Tags: law, legal, responsive, custom-post-types
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ─── CSS Variables ───────────────── */
:root {
    --primary: #1a365d;
    --primary-light: #2d4a7a;
    --accent: #c9a96e;
    --accent-light: #d4b87a;
    --gold: #c9a96e;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ─── Reset & Base ───────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

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

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

/* ─── Container ───────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Header ───────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.site-logo .logo-text span {
    color: var(--accent);
}

.main-navigation {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-navigation a {
    font-size: 15px;
    font-weight: 500;
    color: white;
    position: relative;
    padding: 8px 0;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--accent);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ─── Hero Section ───────────────── */
.hero-section {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

/* ─── Section Common ───────────────── */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(201, 169, 110, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ─── About Section ───────────────── */
.about-section {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

/* ─── Knowledge Section ───────────────── */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.knowledge-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.knowledge-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.knowledge-card .card-content {
    padding: 24px;
}

.knowledge-card .card-tag {
    display: inline-block;
    background: rgba(201, 169, 110, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.knowledge-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.knowledge-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.knowledge-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray);
}

/* ─── Cases Section ───────────────── */
.cases-section {
    background: var(--light-gray);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-result {
    display: inline-block;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.case-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.case-tag {
    background: var(--light-gray);
    color: var(--gray);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
}

/* ─── Team Section ───────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card .card-content {
    padding: 24px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card .team-position {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card .team-bio {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.team-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.team-tag {
    background: rgba(201, 169, 110, 0.1);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
}

/* ─── CTA Section ───────────────── */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--white);
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ─── Footer ───────────────── */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand .logo-text span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* ─── Responsive ───────────────── */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .knowledge-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ─── Posts Grid (index.php) ───────────────── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 24px;
}

.entry-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.entry-title a:hover {
    color: var(--accent);
}

.entry-meta {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-summary {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    color: var(--primary);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ─── Navigation ───────────────── */
.navigation {
    margin: 40px 0;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 10px;
}

.nav-links a,
.nav-links .current {
    padding: 8px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--accent);
    color: var(--white);
}

.nav-links .current {
    background: var(--accent);
    color: var(--white);
}

/* ─── Page Templates ───────────────── */
.page-template .site-main {
    padding: 120px 0 80px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

/* ─── About Page Specific ───────────────── */
.page-about .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.stat-box .number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-box .label {
    font-size: 16px;
    color: var(--gray);
    margin-top: 8px;
}

/* ─── Single Post ───────────────── */
.single-post .post-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-post .post-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.single-post .post-meta {
    font-size: 14px;
    color: var(--gray);
}

.single-post .post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 20px;
}

/* ─── Widgets ───────────────── */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

/* ─── Search Form ───────────────── */
.search-form {
    display: flex;
    gap: 10px;
}

.search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-submit {
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--accent-light);
}
/* ==============================================
   浙江杭融亿律师事务所 - 响应式修复CSS
   将此内容添加到 style.css 文件末尾
   ============================================== */

/* 响应式基础设置 */
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}
body {
    overflow-x: hidden;
}

/* ========== 导航栏响应式 ========== */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0 !important;
    }
    .site-header .container {
        flex-direction: column !important;
        text-align: center;
    }
    .site-header .logo {
        margin-bottom: 15px;
    }
    .site-header nav ul {
        flex-direction: column !important;
        align-items: center !important;
    }
    .site-header nav ul li {
        margin: 5px 0 !important;
    }
}

/* ========== 首页响应式 ========== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 28px !important;
    }
    .hero-section p {
        font-size: 16px !important;
    }
    .features-grid,
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
    }
    .stats-row {
        flex-direction: column !important;
    }
}

/* ========== 律所简介页响应式 ========== */
@media (max-width: 768px) {
    .about-page .intro-flex {
        flex-direction: column !important;
    }
    .about-page .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .about-page .timeline-container {
        padding-left: 30px !important;
    }
    .about-page .timeline-container::before {
        left: 10px !important;
    }
    .about-page .timeline-item {
        flex-direction: column !important;
    }
    .about-page .timeline-item > div:first-child,
    .about-page .timeline-item > div:last-child {
        text-align: left !important;
        padding-left: 30px !important;
        padding-right: 0 !important;
    }
    .about-page .timeline-dot {
        left: 2px !important;
    }
    .about-page .services-grid {
        grid-template-columns: 1fr !important;
    }
    .about-page .advantages-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ========== 文章列表页响应式 ========== */
@media (max-width: 768px) {
    .archive-list {
        padding: 20px 15px !important;
    }
    .archive-list .post-item {
        flex-direction: column !important;
    }
    .archive-list .post-item .post-thumbnail {
        width: 100% !important;
        margin-bottom: 15px;
    }
    .archive-list .post-item .post-content {
        width: 100% !important;
    }
}

/* ========== 文章详情页响应式 ========== */
@media (max-width: 768px) {
    .single-post .post-content {
        padding: 20px 15px !important;
        font-size: 16px !important;
    }
    .single-post .post-title {
        font-size: 24px !important;
    }
}

/* ========== 页脚响应式 ========== */
@media (max-width: 768px) {
    .site-footer .footer-widgets {
        grid-template-columns: 1fr !important;
    }
    .site-footer .copyright {
        font-size: 13px !important;
    }
}

/* ========== 平板适配 (769px - 992px) ========== */
@media (min-width: 769px) and (max-width: 992px) {
    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ========== 手机横屏适配 ========== */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    h1 { font-size: 22px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    .container {
        padding: 0 10px !important;
    }
}

/* =====================================================
   浙江杭融亿律师事务所 - 最终样式修复CSS
   将此文件内容添加到 style.css 文件末尾
   ===================================================== */

/* ====== 全站响应式基础 ====== */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}
img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}
a {
    text-decoration: none;
    transition: all 0.2s;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== 导航栏响应式 ====== */
@media (max-width: 768px) {
    .site-header {
        padding: 0 !important;
    }
    .site-header .container {
        flex-direction: column !important;
        text-align: center;
        padding: 10px 15px !important;
    }
    .site-logo {
        font-size: 18px !important;
        margin-bottom: 10px;
    }
    .main-nav ul {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }
    .main-nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    .main-nav ul li a {
        padding: 12px 15px !important;
        font-size: 15px !important;
    }
}

/* ====== 汉堡菜单 ====== */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
    .main-nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }
    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }
}

/* ====== 首页响应式 ====== */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 300px !important;
        padding: 50px 20px !important;
    }
    .hero-banner h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .hero-banner p {
        font-size: 15px !important;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px !important;
    }
    .hero-buttons a {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
    .stats-row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .stats-row .stat-item {
        text-align: center;
    }
    .section-boxes,
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* ====== 律所简介页响应式 ====== */
@media (max-width: 768px) {
    .about-page .intro-flex {
        flex-direction: column !important;
    }
    .about-page .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .about-page .timeline-container {
        padding-left: 30px !important;
    }
    .about-page .timeline-container::before {
        left: 10px !important;
    }
    .about-page .timeline-item {
        flex-direction: column !important;
    }
    .about-page .timeline-item > div {
        text-align: left !important;
        padding-left: 30px !important;
        padding-right: 0 !important;
    }
    .about-page .timeline-dot {
        left: 2px !important;
    }
    .about-page .services-grid {
        grid-template-columns: 1fr !important;
    }
    .about-page .advantages-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ====== 文章列表页响应式 ====== */
@media (max-width: 768px) {
    .archive-list {
        padding: 20px 15px !important;
    }
    .archive-list .post-item {
        flex-direction: column !important;
    }
    .archive-list .post-item .post-thumbnail {
        width: 100% !important;
        height: 180px !important;
        margin-bottom: 15px;
    }
    .archive-list .post-item .post-content {
        width: 100% !important;
    }
    .article-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* ====== 文章详情页响应式 ====== */
@media (max-width: 768px) {
    .single-post .post-content,
    .single-knowledge-wrapper .article-content-area {
        padding: 20px 15px !important;
        font-size: 15px !important;
    }
    .single-post .post-title,
    .single-knowledge-wrapper .article-title {
        font-size: 22px !important;
    }
    .single-post .post-meta,
    .single-knowledge-wrapper .article-meta {
        font-size: 13px !important;
        flex-wrap: wrap;
        gap: 10px !important;
    }
    /* 右侧边栏移到底部 */
    .single-knowledge-main {
        flex-direction: column !important;
    }
    .article-sidebar {
        width: 100% !important;
        min-width: 100% !important;
    }
}

/* ====== 律师团队页响应式 ====== */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .lawyer-card .card-avatar-area {
        height: 220px !important;
    }
}

/* ====== 律师详情页响应式 ====== */
@media (max-width: 768px) {
    .single-team-main {
        flex-direction: column !important;
    }
    .lawyer-sidebar {
        width: 100% !important;
        min-width: 100% !important;
    }
    .lawyer-profile-header {
        padding: 25px 15px 20px !important;
    }
    .lawyer-avatar {
        width: 140px !important;
        height: 170px !important;
    }
}

/* ====== 成功案例页响应式 ====== */
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .case-filters {
        gap: 8px !important;
    }
    .filter-tag {
        padding: 6px 14px !important;
        font-size: 13px !important;
    }
}

/* ====== 联系我们页响应式 ====== */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column !important;
        gap: 25px !important;
    }
    .contact-form-area {
        width: 100% !important;
        min-width: 100% !important;
        order: -1; /* 手机上表单放前面 */
    }
    .contact-card {
        padding: 22px 18px !important;
    }
}

/* ====== 页脚响应式 ====== */
@media (max-width: 768px) {
    .site-footer .footer-widgets {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center;
    }
    .site-footer .footer-widget h4 {
        display: inline-block;
    }
    .site-footer .copyright {
        font-size: 12px !important;
        padding: 15px 10px 0 !important;
    }
}

/* ====== 平板适配 (769px - 992px) ====== */
@media (min-width: 769px) and (max-width: 992px) {
    .services-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ====== 手机横屏及小屏手机适配 ====== */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    h1 { font-size: 22px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    .container {
        padding: 0 12px !important;
    }
    .hero-banner h1 {
        font-size: 22px !important;
    }
    .stats-row .stat-number {
        font-size: 32px !important;
    }
    .about-page .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .about-page .stats-grid > div:last-child {
        grid-column: span 1 !important;
    }
    .about-page .advantages-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ====== 表单元素全局修复 ====== */
input, textarea, select, button {
    font-family: inherit;
    font-size: 16px; /* 防止iOS缩放 */
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #c41230;
}

/* ====== 打印样式 ====== */
@media print {
    .site-header,
    .site-footer,
    #floatingContact {
        display: none !important;
    }
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

﻿/* ===========================================
   浙江杭融亿律师事务所 - 毛玻璃主题样式
   Glassmorphism Theme v2.0
   =========================================== */

/* === CSS Variables === */
:root {
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --blue-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --warm-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --dark-gradient: linear-gradient(135deg, #0c3483 0%, #a2b6df 100%);
  --text-light: #ffffff;
  --text-dark: #1a1a2e;
  --card-radius: 20px;
}

/* === Global Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Glass Card === */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--card-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}

/* === Header === */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 40px !important;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  height: 75px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 10001;
}
.site-logo h1 {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #f093fb, #fee140);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  letter-spacing: 1px;
  margin: 0;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
  margin: 0;
}
.main-nav li a {
  display: block;
  padding: 10px 22px;
  color: white !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.35s ease;
  position: relative;
  letter-spacing: 0.5px;
}
.main-nav li a:hover,
.main-nav li.current-menu-item a,
.main-nav li.current-page-item a {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(254, 225, 64, 0.5));
  color: white !important;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(254, 225, 64, 0.3);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
  border: none;
  background: transparent;
  /* iOS touch fix */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger-btn span {
  width: 28px;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Show hamburger on mobile, hide desktop nav */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex !important;
  }
  .main-nav {
    display: none !important;
  }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 14, 32, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-overlay ul {
  list-style: none;
  text-align: center;
  padding: 0;
}
.mobile-menu-overlay ul li {
  margin: 18px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}
.mobile-menu-overlay.active ul li { opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.active ul li:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu-overlay.active ul li:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu-overlay.active ul li:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu-overlay.active ul li:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu-overlay.active ul li:nth-child(5) { transition-delay: 0.4s; }
.mobile-menu-overlay ul li a {
  color: white !important;
  text-decoration: none;
  font-size: 28px;
  font-weight: 600;
  padding: 12px 30px;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}
.mobile-menu-overlay ul li a:hover {
  color: #667eea !important;
  transform: scale(1.05);
}

/* === Hero === */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 75px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: linear-gradient(135deg, #667eea, #764ba2); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: linear-gradient(135deg, #f093fb, #f5576c); bottom: -10%; right: -5%; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: linear-gradient(135deg, #4facfe, #00f2fe); top: 30%; right: 20%; animation-delay: -5s; }
.orb-4 { width: 250px; height: 250px; background: linear-gradient(135deg, #fa709a, #fee140); bottom: 25%; left: 15%; animation-delay: -2s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 30px; }
.hero-title { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.2; margin-bottom: 28px; color: white; text-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.85); margin-bottom: 45px; line-height: 1.8; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  box-shadow: 0 8px 30px rgba(240, 147, 251, 0.4);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 15px 45px rgba(240, 147, 251, 0.5); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator .mouse { width: 28px; height: 44px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px; position: relative; margin: 0 auto; }
.scroll-indicator .mouse::after {
  content: '';
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: white; border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(12px); } }

/* === Stats === */
.stats-section { position: relative; padding: 100px 20px; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.stat-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 45px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.stat-card::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(102,126,234,0.15), transparent 30%);
  animation: rotateGlow 6s linear infinite;
  opacity: 0; transition: opacity 0.5s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 60px rgba(102,126,234,0.15); }
@keyframes rotateGlow { to { transform: rotate(360deg); } }
.stat-number {
  font-size: 52px; font-weight: 800;
  background: linear-gradient(135deg, #f093fb, #f5576c, #fee140);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  line-height: 1.2; position: relative; z-index: 1;
}
.stat-label { font-size: 16px; color: rgba(255,255,255,0.65); margin-top: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; position: relative; z-index: 1; }

/* === Section Common === */
.section-container { max-width: 1200px; margin: 0 auto; padding: 90px 20px; position: relative; }
.section-header { text-align: center; margin-bottom: 70px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: white; margin-bottom: 18px; position: relative; display: inline-block; }
.section-title::after {
  content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: linear-gradient(90deg, #667eea, #f093fb); border-radius: 2px;
}
.section-subtitle { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 650px; margin: 25px auto 0; line-height: 1.7; }

/* === About Cards === */
.about-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.about-card {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  padding: 40px 30px; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--card-accent, #667eea), var(--card-accent-end, #f093fb));
  opacity: 0; transition: opacity 0.4s ease;
}
.about-card:hover::before { opacity: 1; }
.about-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.18); box-shadow: 0 25px 70px rgba(0,0,0,0.25); }
.card-icon-wrapper {
  width: 68px; height: 68px; border-radius: 18px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 24px;
  font-size: 30px;
  background: linear-gradient(135deg, var(--card-accent, #667eea), var(--card-accent-end, #f093fb));
  box-shadow: 0 8px 25px rgba(102,126,234,0.25); transition: transform 0.5s ease;
}
.about-card:hover .card-icon-wrapper { transform: scale(1.1) rotate(5deg); }
.about-card h3 { font-size: 22px; font-weight: 700; color: white; margin-bottom: 14px; }
.about-card p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* === Services === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  padding: 40px 30px; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(102,126,234,0.3); background: rgba(255,255,255,0.1); }
.service-card h3 { font-size: 21px; font-weight: 700; color: white; margin-bottom: 14px; }
.service-card p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* === Team - Hover Reveal === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  overflow: hidden; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.team-card:hover { transform: translateY(-10px); border-color: rgba(102,126,234,0.4); box-shadow: 0 30px 70px rgba(0,0,0,0.3); }

/* Avatar area - taller to fill most of card */
.team-avatar-area {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(102,126,234,0.25), rgba(240,147,251,0.2));
}
.team-avatar-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.team-card:hover .team-avatar-area img {
  transform: scale(1.08);
  filter: brightness(0.45) blur(2px);
}

/* Name overlay - always visible at bottom */
.team-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px 22px;
  background: linear-gradient(to top, rgba(10,10,30,0.85) 0%, rgba(10,10,30,0.5) 60%, transparent 100%);
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.team-name-overlay {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}
.team-card:hover .team-name-overlay {
  opacity: 0;
  transform: translateY(15px);
}

/* Detail panel - slides up from bottom on hover */
.team-detail-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 28px 28px;
  background: linear-gradient(to top, rgba(12,12,35,0.95), rgba(18,18,50,0.9) 80%, rgba(18,18,50,0.7));
  z-index: 3;
  transform: translateY(110%);
  opacity: 0;
  transition: all 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 1px solid rgba(102,126,234,0.25);
}
.team-card:hover .team-detail-panel {
  transform: translateY(0);
  opacity: 1;
}
.team-position {
  font-size: 13px;
  color: #f093fb;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.team-bio {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 14px;
  max-height: 72px;
  overflow: hidden;
}
.team-btn {
  display: inline-block;
  padding: 10px 26px;
  background: rgba(102,126,234,0.25);
  color: #b8b5ff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(102,126,234,0.35);
  transition: all 0.35s ease;
}
.team-btn:hover { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-color: transparent; box-shadow: 0 8px 25px rgba(102,126,234,0.35); transform: translateY(-2px); }

/* === Articles === */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; }
.article-card {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
  overflow: hidden; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.article-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.18); }
.article-thumb { height: 200px; background: linear-gradient(135deg, rgba(79,172,254,0.3), rgba(0,242,254,0.3)); position: relative; overflow: hidden; }
.article-body { padding: 28px; }
.article-category { display: inline-block; padding: 4px 14px; background: rgba(102,126,234,0.2); color: #b8b5ff; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; letter-spacing: 1px; }
.article-title { font-size: 19px; font-weight: 700; color: white; margin-bottom: 10px; line-height: 1.4; }
.article-excerpt { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* === Page Banner - Compact & Rich === */
.page-banner {
  position: relative;
  padding: 90px 20px 55px;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(102,126,234,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(240,147,251,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 50% 90%, rgba(79,172,254,0.22) 0%, transparent 70%),
    linear-gradient(160deg, rgba(15,12,41,0.95) 0%, rgba(25,18,55,0.92) 40%, rgba(35,22,65,0.9) 100%);
  z-index: 0;
  animation: bannerBgShift 8s ease-in-out infinite alternate;
}
@keyframes bannerBgShift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(15deg) brightness(1.05); }
}

/* Decorative floating shapes */
.page-banner .banner-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}
.page-banner .banner-shape:nth-child(1) {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -80px; left: -60px;
  animation: shapeFloat1 10s ease-in-out infinite;
}
.page-banner .banner-shape:nth-child(2) {
  width: 200px; height: 200px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  top: 20px; right: -40px;
  border-radius: 45%;
  animation: shapeFloat2 8s ease-in-out infinite reverse;
}
.page-banner .banner-shape:nth-child(3) {
  width: 150px; height: 150px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  bottom: -30px; left: 30%;
  border-radius: 38%;
  animation: shapeFloat3 12s ease-in-out infinite;
}
.page-banner .banner-shape:nth-child(4) {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, #fa709a, #fee140);
  bottom: 10px; right: 15%;
  animation: shapeFloat4 9s ease-in-out infinite reverse;
}

@keyframes shapeFloat1 { 0%,100%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(25px,15px) rotate(8deg);} }
@keyframes shapeFloat2 { 0%,100%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(-20px,-10px) rotate(-6deg);} }
@keyframes shapeFloat3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(15px,10px) scale(1.1);} }
@keyframes shapeFloat4 { 0%,100%{transform:translate(0,0) rotate(0deg);} 50%{transform:translate(-15px,8px) rotate(5deg);} }

/* Grid pattern overlay */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  pointer-events: none;
}

.page-banner .container { position: relative; z-index: 1; }
.page-banner .banner-inner { max-width: 700px; margin: 0 auto; }

.page-banner h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-shadow: 0 2px 20px rgba(102,126,234,0.3);
}

/* Slogan / tagline strip */
.banner-slogans {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 8px 0;
}
.banner-slogans .slogan-item {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.banner-slogans .slogan-item:hover {
  background: rgba(102,126,234,0.2);
  border-color: rgba(102,126,234,0.3);
  color: rgba(180,181,255,0.9);
  transform: translateY(-2px);
}
.banner-slogans .slogan-dot {
  width: 4px; height: 4px;
  background: rgba(240,147,251,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

.page-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.page-banner .breadcrumb-nav {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.page-banner .breadcrumb-nav a {
  color: rgba(180,181,255,0.7);
  transition: color 0.3s;
}
.page-banner .breadcrumb-nav a:hover { color: #f093fb; }

/* === Footer === */
.site-footer {
  background: rgba(10, 14, 32, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 70px 20px 30px;
  color: rgba(255, 255, 255, 0.7); position: relative; overflow: hidden;
}
.footer-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 200px; background: radial-gradient(ellipse, rgba(102,126,234,0.15), transparent 70%); pointer-events: none; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; position: relative; z-index: 1; }
.footer-col h3 { font-size: 17px; font-weight: 700; color: white; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 3px; background: linear-gradient(90deg, #667eea, #f093fb); border-radius: 2px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: all 0.3s ease; display: inline-block; }
.footer-col ul li a:hover { color: white; transform: translateX(5px); }
.footer-bottom { text-align: center; padding-top: 35px; margin-top: 45px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; color: rgba(255,255,255,0.4); position: relative; z-index: 1; }

/* === Floating Contact === */
.floating-contact { position: fixed; bottom: 25px; right: 25px; z-index: 9997; display: none; }
.float-trigger {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #f093fb, #f5576c); border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(240,147,251,0.4); display: flex;
  align-items: center; justify-content: center; font-size: 24px;
  transition: all 0.4s ease; animation: pulseFloat 2s ease infinite;
}
.float-trigger:hover { transform: scale(1.1); }
.float-trigger.active { transform: rotate(180deg) scale(1.05); }
@keyframes pulseFloat { 0%, 100% { box-shadow: 0 8px 30px rgba(240,147,251,0.4); } 50% { box-shadow: 0 8px 40px rgba(240,147,251,0.6), 0 0 0 10px rgba(240,147,251,0.1); } }
.float-options { position: absolute; bottom: 72px; right: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.float-options.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-option {
  display: flex; align-items: center; gap: 12px; padding: 13px 22px;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 35px;
  color: white; text-decoration: none; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: all 0.3s ease; box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.float-option:hover { background: rgba(255,255,255,0.18); transform: translateX(-5px); color: white; }
.float-opt-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.float-opt-phone { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.float-opt-wechat { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.float-opt-form { background: linear-gradient(135deg, #667eea, #764ba2); }

/* === Scroll Animations === */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.stagger-children > *:nth-child(1) { transition-delay: 0.05s !important; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s !important; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s !important; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s !important; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s !important; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s !important; }

/* === Timeline === */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 3px; height: 100%; background: linear-gradient(180deg, #667eea, #f093fb, #f5576c); border-radius: 2px; opacity: 0.4; }
.timeline-item { position: relative; display: flex; align-items: center; margin-bottom: 50px; width: 100%; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: calc(50% + 40px); }
.timeline-item:nth-child(odd) { justify-content: flex-end; padding-left: calc(50% + 40px); }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #f093fb); border: 3px solid rgba(15,23,42,0.9); box-shadow: 0 0 20px rgba(102,126,234,0.4); z-index: 2; }
.timeline-content { background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 28px; width: 100%; transition: all 0.4s ease; }
.timeline-content:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.timeline-year { font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #f093fb, #f5576c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.timeline-title { font-size: 17px; font-weight: 700; color: white; margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* === Pagination === */
.pagination { text-align: center; margin-top: 50px; }
.pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; }
.pagination li a, .pagination li span {
  display: block; padding: 10px 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.pagination li a:hover, .pagination li span.current { background: linear-gradient(135deg, #667eea, #764ba2); border-color: transparent; color: white; }

/* === Single Content === */
.single-content { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.single-content .entry-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: white; margin-bottom: 20px; line-height: 1.3; }
.single-meta { display: flex; gap: 20px; margin-bottom: 35px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; color: rgba(255,255,255,0.5); }
.entry-content {
  background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 20px;
  padding: 40px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, 0.8);
}
.entry-content h2, .entry-content h3, .entry-content h4 { color: white; margin-top: 30px; margin-bottom: 12px; }

/* === Responsive === */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .hamburger-btn { display: flex; }
  .hero-section { min-height: 85vh; }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(even), .timeline-item:nth-child(odd) { padding-left: 55px; padding-right: 0; justify-content: flex-start; }
  .timeline-dot { left: 20px; }
}
@media (max-width: 768px) {
  .site-header { padding: 0 20px !important; }
  .header-inner { height: 65px; }
  .site-logo h1 { font-size: 18px; }
  .hero-section { min-height: 80vh; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-glass { width: 100%; max-width: 260px; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
  .stat-card { padding: 30px 18px; }
  .stat-number { font-size: 38px; }
  .section-container { padding: 60px 15px; }
  .section-header { margin-bottom: 45px; }
  .about-cards-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }

  /* Team cards - mobile: show all info, no hover needed */
  .team-avatar-area { height: 320px; }
  .team-name-overlay { opacity: 0; transform: translateY(15px); pointer-events: none; }
  .team-detail-panel {
    transform: translateY(0) !important;
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(12,12,35,0.95), rgba(18,18,50,0.85));
  }
  .team-card:hover .team-avatar-area img { filter: brightness(0.5); }
  .page-banner { padding: 75px 15px 45px; }
  .page-banner h1 { font-size: 24px; letter-spacing: 2px; }
  .banner-slogans { gap: 8px; }
  .banner-slogans .slogan-item { font-size: 11px; padding: 3px 10px; }
  .banner-slogans .slogan-dot { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .floating-contact { display: block; }
  .single-content .entry-content { padding: 25px; }
}
@media (max-width: 480px) {
  .site-logo h1 { font-size: 15px; }
  .hero-title { font-size: 26px; }
  .mobile-menu-overlay ul li a { font-size: 22px; }
  .stat-number { font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* === Utilities === */
::selection { background: rgba(102, 126, 234, 0.4); color: white; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #667eea, #f093fb); border-radius: 4px; }

/* ══════════════════════════════════════
   BREADCRUMB NAVIGATION (玻璃主题)
   ══════════════════════════════════════ */
.breadcrumb-nav {
  background: rgba(26, 54, 93, 0.06); border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0; font-size: 0.82rem; backdrop-filter: blur(4px);
}
.breadcrumb-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2rem);
}
.breadcrumb-nav a {
  color: #667eea; text-decoration: none; transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: #c9a96e; text-decoration: underline; }
.breadcrumb-nav .breadcrumb-current {
  color: rgba(255,255,255,0.4); font-weight: 500;
}
.breadcrumb-sep {
  margin: 0 8px; color: rgba(255,255,255,0.25); font-size: 0.95rem; user-select: none;
}
