/* ============================================================
   广湖律师事务所 — 统一样式表
   ============================================================ */

/* ===== Reset & Variables ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy-deep: #1c085d;  --navy: #1c085d;  --navy-light: #1c085d;
    --blue: #1c085d;  --blue-mid: #1c085d;  --blue-accent: #1c085d;
    --red: #eb001b;  --red-light: #eb001b;  --red-accent: #eb001b;
    --gold: #C8A951;  --gold-light: #D4B96A;
    --white: #FFFFFF;  --gray-50: #F8F9FA;  --gray-100: #F0F1F3;
    --gray-200: #E2E4E7;  --gray-300: #CCCFD4;  --gray-500: #6B7280;
    --gray-700: #374151;  --gray-900: #111827;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 4px;  --radius: 8px;  --radius-lg: 12px;  --transition: 0.3s ease;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900); background: var(--white); line-height: 1.7;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea { max-width: 100%; min-width: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Top Bar ===== */
.top-bar { background: var(--navy-deep); color: rgba(255,255,255,0.7); font-size: 0.8125rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: rgba(255,255,255,0.7); font-size: 0.8125rem; }
.top-bar a:hover { color: var(--gold); }

/* ===== Header ===== */
.header { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 16px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-lg); }
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.logo-area { display: flex; align-items: center; gap: 14px; }
.logo-area .header-logo { height: 48px; width: auto; display: block; }
.header-contact { display: flex; align-items: center; gap: 24px; }
.header-phone { color: var(--white); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.header-phone .header-phone-sep { color: rgba(255,255,255,0.4); }
.header-phone svg { fill: var(--gold); flex-shrink: 0; }
.btn-consult { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: var(--white); padding: 10px 24px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.5px; transition: all var(--transition); white-space: nowrap; }
.btn-consult:hover { background: var(--red-light); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(235,0,27,0.35); }

/* ===== Navigation ===== */
.nav-bar { background: var(--white); border-bottom: 2px solid var(--navy); position: sticky; top: 80px; z-index: 999; box-shadow: var(--shadow-sm); }
.nav-bar .container { display: flex; justify-content: center; gap: 0; }
.nav-bar a { display: block; padding: 14px 22px; color: var(--navy); font-size: 0.9375rem; font-weight: 500; position: relative; transition: all var(--transition); }
.nav-bar a::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--red); transition: width var(--transition); }
.nav-bar a:hover { color: var(--red); }
.nav-bar a:hover::after { width: 60%; }
.nav-bar a.active { color: var(--red); font-weight: 600; }
.nav-bar a.active::after { width: 60%; }

/* 专业领域下拉菜单 */
.nav-bar .nav-item { position: relative; }
.nav-bar .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--white); box-shadow: 0 12px 32px rgba(0,0,0,0.15); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 1000; padding: 6px 0; }
.nav-bar .nav-item:hover .dropdown, .nav-bar .nav-item:focus-within .dropdown { display: block; }
.nav-bar .dropdown a { display: block; padding: 10px 20px !important; color: var(--navy) !important; font-size: 0.875rem; white-space: nowrap; border-left: 3px solid transparent; }
.nav-bar .dropdown a::after { display: none !important; }
.nav-bar .dropdown a:hover { color: var(--red) !important; background: rgba(0,0,0,0.03); border-left-color: var(--red); }

/* ===== Page Banner (子页面) ===== */
.page-banner { background: url('b1.jpg') center/cover no-repeat; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,169,81,0.08) 0%, transparent 70%); border-radius: 50%; }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1, .page-banner h2 { color: var(--white); font-size: 2.25rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.page-banner h1 span, .page-banner h2 span { color: var(--gold); }
.page-banner p { color: rgba(255,255,255,0.65); font-size: 1.0625rem; max-width: 640px; margin: 0 auto; }

/* 面包屑条（位于 banner 下方，靠左） */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.breadcrumb-bar .breadcrumb { display: flex; justify-content: flex-start; align-items: center; gap: 8px; font-size: 0.875rem; padding: 12px 0; margin: 0; color: var(--gray-500); }
.breadcrumb-bar .breadcrumb a { color: var(--gray-500); }
.breadcrumb-bar .breadcrumb a:hover { color: var(--red); }
.breadcrumb-bar .breadcrumb .sep { color: var(--gray-300); }

/* ===== Section Common ===== */
.section { padding: 40px 0; }
.section-dark { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { display: inline-block; color: var(--red); font-size: 0.8125rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; padding: 4px 16px; border: 1px solid var(--red); border-radius: 20px; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 12px; letter-spacing: 1px; }
.section-dark .section-header h2 { color: var(--navy-deep); }
.section-navy .section-header h2 { color: var(--white); }
.section-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.section-navy .section-header p { color: rgba(255,255,255,0.6); }

/* ===== Buttons ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--white); padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; transition: all var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(235,0,27,0.4); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--white); padding: 14px 32px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; letter-spacing: 0.5px; transition: all var(--transition); border: 2px solid rgba(255,255,255,0.3); cursor: pointer; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-about .footer-logo { height: 40px; width: auto; display: block; margin-bottom: 20px; }
.footer-about p { font-size: 0.875rem; line-height: 1.8; margin-bottom: 16px; }
.footer a { display: block; color: rgba(255,255,255,0.5); font-size: 0.875rem; padding: 6px 0; transition: color var(--transition); }
.footer a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact p span { color: var(--gold); flex-shrink: 0; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { display: inline; padding: 0; font-size: inherit; color: rgba(255,255,255,0.35); }

/* ===== CTA Section ===== */
.cta-section { background:url('ddbg.jpg') center/cover no-repeat; padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -30%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,169,81,0.06) 0%, transparent 70%); border-radius: 50%; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Mobile Slide Menu ===== */
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu-overlay.show { display: block; opacity: 1; }
.mobile-menu { position: fixed; top: 0; right: -280px; width: 280px; height: 100%; background: var(--navy-deep); z-index: 9999; transition: right 0.35s ease; overflow-y: auto; box-shadow: -4px 0 30px rgba(0,0,0,0.3); }
.mobile-menu.show { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-header span { color: var(--gold); font-size: 1.0625rem; font-weight: 700; letter-spacing: 1px; }
.mobile-menu-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.6); font-size: 1.5rem; line-height: 1; padding: 4px 8px; transition: color var(--transition); }
.mobile-menu-close:hover { color: var(--white); }
.mobile-menu nav { padding: 8px 0; }
.mobile-menu nav a { display: flex; align-items: center; gap: 10px; padding: 16px 24px; color: rgba(255,255,255,0.75); font-size: 0.9375rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.04); transition: all var(--transition); }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: var(--gold); background: rgba(255,255,255,0.04); padding-left: 28px; }
.mobile-menu .mm-contact { padding: 24px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; }
.mobile-menu .mm-contact p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 12px; }
.mobile-menu .mm-contact a { display: inline-block; padding: 10px 24px; background: var(--red); color: var(--white) !important; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; text-align: center; width: 100%; }
.nav-toggle-btn { display: none; flex-direction: column; justify-content: center; width: 44px; height: 44px; background: none; border: none; cursor: pointer; gap: 5px; }
.nav-toggle-btn span { display: block; width: 28px; height: 3px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; margin: 0 auto; }
.nav-toggle-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle-btn.open span:nth-child(2) { opacity: 0; }
.nav-toggle-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   INDEX PAGE — 首页
   ============================================================ */

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(28,8,93,0.62) 0%, rgba(28,8,93,0.55) 30%, rgba(28,8,93,0.88) 70%, rgba(28,8,93,0.95) 100%), url('../smallimg/1.jpg') center/cover no-repeat; padding: 80px 0 100px; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(200,169,81,0.08) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--red) 100%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h2 { color: var(--white); font-size: 2.75rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; letter-spacing: 1px; }
.hero-content h2 span { color: var(--gold); }
.hero-content .hero-subtitle { color: var(--red-light); font-size: 1.25rem; font-weight: 600; letter-spacing: 3px; margin-bottom: 24px; }
.hero-content .hero-desc { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.hero-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: all var(--transition); }
.hero-stat:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); transform: translateY(-2px); }
.hero-stat .stat-number { color: var(--gold); font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.hero-stat .stat-label { color: rgba(255,255,255,0.6); font-size: 0.8125rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(10px); }
.hero-card h3 { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 20px; text-align: center; }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.practice-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); color: rgba(255,255,255,0.85); font-size: 0.875rem; text-decoration: none; transition: all var(--transition); }
.practice-item:hover { background: rgba(255,255,255,0.08); border-color: var(--red-light); }
.practice-num { width: 26px; height: 26px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--white); flex-shrink: 0; }

/* Index Practice Areas (5 columns) */
.practice-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.practice-card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px 20px; text-align: center; transition: all var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.practice-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue-accent)); transform: scaleX(0); transition: transform var(--transition); }
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--blue-accent); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.5rem; }
.practice-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; }
.practice-card p { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.6; }

/* Index About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }
.about-badge { position: absolute; bottom: 24px; right: -12px; background: var(--red); color: var(--white); padding: 16px 28px; border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow-lg); }
/* About Slider */
.about-slider { position: relative; }
.about-slide { display: none; }
.about-slide.active { display: block; }
.about-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.about-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.65); border: 1px solid rgba(0,0,0,.18); cursor: pointer; transition: background .3s; }
.about-dot.active { background: #eb001b; border-color: #eb001b; }
.about-content h2 { font-size: 2rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 20px; }
.about-content .highlight { color: var(--red); font-size: 1.1rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 20px; }
.about-content p { color: var(--gray-700); font-size: 1rem; line-height: 1.9; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--red); }
.about-feature-icon { color: var(--red); font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.about-feature h4 { font-size: 0.9375rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.about-feature p { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }

/* Index Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--gray-100); }
.team-card-body { padding: 20px; text-align: center; }
.team-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.team-card-body .role { color: var(--red); font-size: 0.8125rem; font-weight: 600; margin-bottom: 8px; }
.team-card-body p { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.5; }

/* Index Cases */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cases-grid > * { min-width: 0; }

/* Contact Section (Index) */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
.contact-grid > * { min-width: 0; }
.case-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: all var(--transition); position: relative; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-category { display: inline-block; background: var(--navy); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; letter-spacing: 1px; }
.case-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; line-height: 1.4; }
.case-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; }
.case-result { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 0.9375rem; }

/* Index View More */
.view-more { text-align: center; margin-top: 40px; }
.view-more a { display: inline-block; color: var(--navy-deep); font-size: 0.9375rem; font-weight: 600; letter-spacing: 1px; border: 1px solid var(--red); border-radius: 999px; padding: 10px 32px; transition: all var(--transition); }
.view-more a:hover { background: var(--red); color: var(--white); }

/* Index FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: var(--blue-accent); }
.faq-question { width: 100%; padding: 20px 24px; background: none; border: none; text-align: left; font-size: 1rem; font-weight: 600; color: var(--navy-deep); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question .arrow { transition: transform var(--transition); flex-shrink: 0; color: var(--red); font-size: 1.25rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--gray-700); font-size: 0.9375rem; line-height: 1.8; }
.faq-item.open { border-color: var(--blue-accent); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================================
   ABOUT PAGE — 律所概况
   ============================================================ */
.about-intro { padding: 80px 0; }
.about-intro .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.about-intro-image img { width: 100%; height: 420px; object-fit: cover; }
.about-intro-image .badge { position: absolute; bottom: 24px; right: -8px; background: var(--red); color: var(--white); padding: 16px 28px; border-radius: var(--radius); font-weight: 700; font-size: 1.1rem; box-shadow: var(--shadow-lg); }
.about-intro-content h2 { font-size: 2rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 20px; }
.about-intro-content p { color: var(--gray-700); font-size: 1rem; line-height: 1.9; margin-bottom: 16px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.stat-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: all var(--transition); }
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-accent); }
.stat-box .num { color: var(--red); font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-box .label { color: var(--gray-500); font-size: 0.875rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 16px; text-align: center; transition: all var(--transition); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.value-icon { width: 60px; height: 60px; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.5rem; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.location-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: all var(--transition); }
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.location-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.location-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.location-body .tag { display: inline-block; background: var(--navy); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 3px 12px; border-radius: 20px; margin-bottom: 6px; letter-spacing: 1px; }
.location-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; }
.location-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 6px; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; background: var(--red); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--red); }
.timeline-item .year { color: var(--red); font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.timeline-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; }
.timeline-item p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   FLAGS — 锦旗展示
   ============================================================ */
.flags-grid { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 24px; user-select: none; }
.flags-grid .flags-item { flex: 0 0 calc((100% - 72px) / 4); }
.flags-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.flags-dots .flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); cursor: pointer; transition: background .3s; }
.flags-dots .flag-dot.active { background: var(--blue); }
.team-dots { display: none; justify-content: center; gap: 10px; margin-top: 22px; }
.team-dots .flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); cursor: pointer; transition: background .3s; }
.team-dots .flag-dot.active { background: var(--blue); }
.flags-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); display: flex; align-items: center; justify-content: center; height: 320px; }
.flags-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.flags-item img { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--gray-100); }

/* ============================================================
   ARTICLES PAGE — 法律资讯
   ============================================================ */
.articles-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; max-width: 1140px; margin: 0 auto; }
.articles-main { }
.article-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; transition: all var(--transition); display: grid; grid-template-columns: 240px 1fr; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.article-card-img { border-radius: var(--radius) 0 0 var(--radius); overflow: hidden; min-height: 180px; background: var(--gray-100); }
.article-card-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; background: var(--gray-100); }
.article-card-body { padding: 24px; }
.article-card-body .cat { font-size: 0.8125rem; color: var(--red); font-weight: 600; margin-bottom: 6px; display: inline-block; }
.article-card-body .meta { font-size: 0.8125rem; color: var(--gray-500); margin-top: 8px; }
.article-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 10px; line-height: 1.5; }
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--red); }
.article-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }
.sidebar { position: sticky; top: 180px; }
.sidebar-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-box h3, .sidebar-box h4 { font-size: 1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.sidebar-box ul li { margin-bottom: 10px; }
.sidebar-box ul li a { display: block; padding: 8px 0; color: var(--gray-700); font-size: 0.875rem; border-bottom: 1px solid var(--gray-100); transition: color var(--transition); }
.sidebar-box ul li a:hover { color: var(--red); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { display: inline-block; padding: 6px 14px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.8125rem; color: var(--gray-700); transition: all var(--transition); }
.tag-cloud a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; font-size: 0.9rem; color: var(--gray-700); transition: all var(--transition); text-decoration: none; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination a.active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }

/* ============================================================
   ARTICLE DETAIL — 资讯详情页 (类名前缀 article-detail)
   ============================================================ */
.article-detail { max-width: 1400px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.article-detail-head { text-align: center; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--gray-100); }
.article-detail-cat { display: inline-block; background: var(--navy); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 1px; }
.article-detail-head h1 { color: var(--navy-deep); font-size: 1.75rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.article-detail-subtitle { color: var(--red); font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.article-detail-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; color: var(--gray-500); font-size: 0.8125rem; }
.article-detail-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-detail-img img { width: 100%; max-height: 420px; object-fit: cover; display: block; background: var(--gray-100); }
.article-detail-content { font-size: 0.9375rem; color: var(--gray-700); line-height: 2; word-break: break-word; }
.article-detail-content p { margin-bottom: 16px; }
.article-detail-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-detail-content h1, .article-detail-content h2, .article-detail-content h3, .article-detail-content h4 { color: var(--navy-deep); margin: 24px 0 12px; line-height: 1.5; }
.article-detail-content h2 { font-size: 1.25rem; }
.article-detail-content h3 { font-size: 1.1rem; }
.article-detail-content ul, .article-detail-content ol { margin: 0 0 16px 1.4em; }
.article-detail-content li { margin-bottom: 6px; }
.article-detail-content a { color: var(--red); }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.pager-item { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; transition: all var(--transition); }
.pager-item:hover { border-color: var(--blue-accent); box-shadow: var(--shadow-sm); }
.pager-item.next { text-align: right; }
.pager-label { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 6px; }
.pager-link { display: block; font-size: 0.9375rem; color: var(--navy); font-weight: 600; line-height: 1.6; transition: color var(--transition); }
.pager-link:hover { color: var(--red); }
.pager-link.disabled { color: var(--gray-500); cursor: default; }

/* ============================================================
   CASES PAGE — 案例展示 (类名前缀 cb-)
   ============================================================ */
.cb-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cb-filter button { padding: 8px 22px; border: 1px solid var(--gray-300); border-radius: 50px; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; background: var(--white); transition: all var(--transition); font-weight: 500; }
.cb-filter button:hover, .cb-filter button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cb-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: all var(--transition); display: flex; flex-direction: column; }
.cb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cb-card .case-tag { display: inline-block; align-self: flex-start; background: var(--navy); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; letter-spacing: 1px; }
.cb-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; line-height: 1.5; }
.cb-card h3 a { color: inherit; text-decoration: none; transition: color var(--transition); }
.cb-card h3 a:hover { color: var(--red); }
.cb-card .case-more { margin-top: 16px; }
.cb-card .case-more a { color: var(--navy); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.cb-card .case-more a:hover { color: var(--red); }
.cb-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.cb-card .result { color: var(--red); font-weight: 700; font-size: 0.9375rem; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.cb-card .meta { color: var(--gray-500); font-size: 0.75rem; margin-top: 8px; }
.cb-disclaimer { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; margin-bottom: 40px; font-size: 0.8125rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE — 联系我们
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1080px; margin: 0 auto; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; transition: all var(--transition); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.contact-card h3 .icon { font-size: 1.25rem; display: inline; }
.contact-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }
.contact-card p a { color: var(--red); }
.contact-card .highlight { color: var(--red); font-size: 1.15rem; font-weight: 700; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.contact-form-wrap h2 { font-size: 1.35rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; text-align: center; }
.contact-form-wrap .subtitle { font-size: 0.875rem; color: var(--gray-500); text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 0.9375rem; color: var(--gray-900); transition: border-color var(--transition); font-family: inherit; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { width: 100%; padding: 14px 32px; background: var(--red); color: var(--white); border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 700; cursor: pointer; transition: all var(--transition); }
.btn-submit:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(235,0,27,0.35); }
.map-section { padding: 0 0 80px 0; }
.map-placeholder { background: url('map.jpg') center/cover no-repeat; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; color:#FF0303; font-size: 1rem; }
.map-placeholder .sub { font-size: 0.8125rem; color: var(--gray-600); margin-top: 8px; }
.company-info { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; margin-top: 32px; }
.company-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 16px; text-align: center; }
.company-info p { font-size: 0.9375rem; color: var(--gray-700); line-height: 2; }
.qr-section { text-align: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.qr-section img, .qr-code { width: 120px; height: 120px; margin: 0 auto 10px; display: block; border: 2px solid var(--navy); border-radius: var(--radius); }
.qr-code { background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 0.75rem; text-align: center; line-height: 1.5; padding: 8px; }
.qr-section p { font-size: 0.8125rem; color: var(--gray-500); }

/* ============================================================
   PRACTICE PAGE — 专业领域
   ============================================================ */
.practice-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.practice-filter button { padding: 8px 22px; border: 1px solid var(--gray-300); border-radius: 50px; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; background: var(--white); transition: all var(--transition); font-weight: 500; font-family: inherit; }
.practice-filter button:hover, .practice-filter button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.practice-detail { display: grid; grid-template-columns: 280px 1fr; gap: 32px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 28px; transition: all var(--transition); }
.practice-detail:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--blue-accent); }
.practice-detail-image { border-radius: var(--radius); overflow: hidden; }
.practice-detail-image img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.practice-detail-content { display: flex; flex-direction: column; }
.category-tag { display: inline-block; align-self: flex-start; background: var(--navy); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 1px; }
.practice-detail-content h2 { color: var(--navy-deep); font-size: 1.375rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.practice-detail-content p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 12px; }
.practice-detail-content ul { list-style: none; margin-bottom: 16px; }
.practice-detail-content ul li { position: relative; padding-left: 18px; font-size: 0.875rem; color: var(--gray-700); line-height: 2; }
.practice-detail-content ul li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: 0.5rem; top: 0.55rem; }
.data-highlight { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; font-size: 0.9375rem; color: var(--gray-700); line-height: 1.9; }
.data-highlight span { font-size: 0.8125rem; color: var(--gray-500); }
.data-highlight strong { font-size: 1.25rem; color: var(--red); font-weight: 800; }
.practice-detail .btn-outline { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 28px; border: 2px solid var(--navy); border-radius: var(--radius); color: var(--navy); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.5px; background: transparent; transition: all var(--transition); }
.practice-detail .btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }

/* ============================================================
   TEAM PAGE — 律师团队 (类名前缀 tp-)
   ============================================================ */
.tp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.tp-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.tp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.tp-card-img-wrap { position: relative; overflow: hidden; }
.tp-card-img-wrap img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.5s ease; }
.tp-card:hover .tp-card-img-wrap img { transform: scale(1.05); }
.tp-card-img-wrap .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white); }
.tp-card-body { padding: 24px; text-align: center; }
.tp-card-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.tp-card-body .role { color: var(--red); font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.tp-specialties { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0; }
.tp-specialty-tag { display: inline-block; padding: 3px 10px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 50px; font-size: 0.75rem; color: var(--gray-500); }
.tp-card-body p { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }
.tp-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.tp-intro p { font-size: 1.05rem; color: var(--gray-700); line-height: 1.8; }

/* ============================================================
   FAQ PAGE — 常见问题 (类名前缀 fq-)
   ============================================================ */
.fq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; max-width: 1140px; margin: 0 auto; align-items: start; }
.fq-sidebar { position: sticky; top: 180px; }
.fq-sidebar h4 { color: var(--navy-deep); font-size: 0.9375rem; font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; }
.fq-sidebar a { display: block; padding: 8px 0; color: var(--gray-700); font-size: 0.875rem; border-bottom: 1px solid var(--gray-100); transition: color var(--transition); }
.fq-sidebar a:hover { color: var(--red); }
.fq-categories { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fq-cat { padding: 8px 20px; border: 1px solid var(--gray-300); border-radius: 50px; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; background: var(--white); transition: all var(--transition); font-weight: 500; }
.fq-cat:hover, .fq-cat.active { background: var(--red); color: var(--white); border-color: var(--red); }
.fq-search { max-width: 560px; margin: 0 auto 40px; position: relative; }
.fq-search input { width: 100%; padding: 14px 48px 14px 20px; border: 2px solid var(--gray-200); border-radius: 50px; font-size: 1rem; outline: none; font-family: inherit; transition: border-color var(--transition); color: var(--gray-900); }
.fq-search input:focus { border-color: var(--navy); }
.fq-search .search-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-500); font-size: 1.125rem; pointer-events: none; }
.fq-cat-section { margin-bottom: 48px; scroll-margin-top: 120px; }
.fq-cat-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.fq-cat-title .icon { width: 40px; height: 40px; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.25rem; flex-shrink: 0; }
.fq-cat-title h3 { color: var(--navy-deep); font-size: 1.375rem; font-weight: 700; }
.fq-cat-title .count { color: var(--gray-500); font-size: 0.875rem; font-weight: 400; margin-left: auto; }
.fq-grid { max-width: 860px; margin: 0 auto; }
.fq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.fq-item:hover { border-color: var(--blue-accent); box-shadow: var(--shadow-sm); }
.fq-item.open { border-color: var(--navy); box-shadow: var(--shadow-md); }
.fq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--navy-deep); text-align: left; transition: color var(--transition); font-family: inherit; gap: 16px; }
.fq-question:hover { color: var(--red); }
.fq-item.open .fq-question { color: var(--red); }
.fq-question .arrow { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 0.625rem; transition: transform var(--transition); color: var(--gray-500); }
.fq-item.open .fq-question .arrow { transform: rotate(180deg); background: var(--red); color: var(--white); }
.fq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.fq-item.open .fq-answer { max-height: 600px; }
.fq-answer-inner { padding: 0 24px 20px 24px; color: var(--gray-700); font-size: 0.9375rem; line-height: 1.8; border-top: 1px solid var(--gray-100); }
.fq-answer-inner strong { color: var(--navy-deep); }
.fq-main { min-width: 0; }
.fq-no-results { text-align: center; padding: 40px; color: var(--gray-500); display: none; }
.fq-no-results.show { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .practice-cards { grid-template-columns: repeat(3, 1fr); }
    /* 小屏：律师团队改为横向滑动，每屏显示2张，可左右划动 */
    .team-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; }
    .team-grid .team-card { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
    .team-grid::-webkit-scrollbar { height: 6px; }
    .team-grid::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }
    .about-intro .container { grid-template-columns: 1fr; }
    .articles-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .cb-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .practice-detail { grid-template-columns: 1fr; }
    /* 小屏：专业领域图片比例调为 4:3 */
    .practice-detail-image img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .tp-grid { grid-template-columns: repeat(2, 1fr); }
    .fq-layout { grid-template-columns: 1fr; }
    .fq-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
    .fq-sidebar h4 { display: none; }
    .fq-sidebar a { padding: 6px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); border-bottom: none; font-size: 0.8125rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* 小屏：关于我们/联系方式各占整行，快速导航与业务领域并排一行 */
    .footer-grid > :nth-child(1),
    .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
    /* 小屏：锦旗每屏显示2个，可左右划动/自动滚动 */
    .team-dots { display: flex; }
    .flags-grid { gap: 16px; }
    .flags-grid .flags-item { flex: 0 0 calc((100% - 16px) / 2); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-contact { display: none; }
    .nav-bar { display: none; }
    .nav-toggle-btn { display: flex; }

    .hero { padding: 48px 0 64px; }
    .hero::before { width: 300px; height: 300px; top: -20%; right: 0; }
    .hero-content h2 { font-size: 1.75rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hero-stat { padding: 14px 10px; }
    .hero-stat .stat-number { font-size: 1.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .practice-cards { grid-template-columns: repeat(2, 1fr); }
    /* 手机屏：律师团队保持每屏2张，左右划动查看 */
    .team-grid .team-card { flex: 0 0 calc((100% - 16px) / 2); }
    .about-intro-content h2 { font-size: 1.5rem; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header { margin-bottom: 36px; }
    .page-banner { padding: 40px 0; }
    .page-banner h1, .page-banner h2 { font-size: 1.625rem; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .locations { grid-template-columns: 1fr; }
    .article-card { grid-template-columns: 1fr; }
    .article-card-img img { height: 200px; }
    .flags-grid .flags-item { flex: 0 0 calc((100% - 16px) / 2); }
    .articles-layout { grid-template-columns: 1fr; }
    .article-detail { padding: 24px 18px; }
    .article-detail-head h1 { font-size: 1.375rem; }
    .article-detail-meta { gap: 12px; }
    .article-pager { grid-template-columns: 1fr; }
    .pager-item.next { text-align: left; }
    .cb-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .practice-detail { grid-template-columns: 1fr; }
    .tp-grid { grid-template-columns: repeat(2, 1fr); }
    .fq-layout { grid-template-columns: 1fr; }
    .fq-question { padding: 14px 16px; font-size: 0.9375rem; }
    .fq-answer-inner { padding: 0 16px 16px 16px; }
    .cta-section h2 { font-size: 1.375rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* 小屏：关于我们/联系方式各占整行，快速导航与业务领域并排一行 */
    .footer-grid > :nth-child(1),
    .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .practice-cards { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-outline, .hero-actions .btn-primary { justify-content: center; }
    .stats-row { grid-template-columns: 1fr; }
    .tp-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :nth-child(1),
    .footer-grid > :nth-child(4) { grid-column: 1 / -1; }
    .fq-categories { gap: 6px; }
    .fq-cat { padding: 6px 14px; font-size: 0.8125rem; }
    .logo-area .header-logo { height: 36px; }
    .footer-about .footer-logo { height: 36px; }
}
.bottom_an{ width:50px; height:auto; float:left; position:fixed; right:0px; z-index:999; bottom:130px; background:#eb001b; border-radius:3px 0 0 3px; display:none;}
.bottom_an a{width:50px; height:50px; float:left; border-bottom:1px solid #f2f2f2; display:block;}
.bottom_an a.yx{  background:url(../images/fsh_1.png) center center no-repeat; background-size:30px auto; }
.bottom_an a.a2{ background:url(../images/fsh_2.png) center center no-repeat; background-size:30px auto;  position:relative;}
.bottom_an a.a2e{ background:url(../images/fsh_1.png) center center no-repeat; background-size:30px auto;  position:relative;}
.bottom_an a.qq{ background:url(../images/qq.png) center center no-repeat; background-size:30px auto;  position:relative;}
.bottom_an a.vx{ background:url(../images/vx.png) center center no-repeat; background-size:30px auto;  position:relative;}
.bottom_an a.a3{ background:url(../images/fsh_3.png) center center no-repeat; background-size:30px auto;position:relative;}
.bottom_an a.db{ background:url(../images/fsh_4.png) center center no-repeat; background-size:30px auto;border-bottom:none; }
.bottom_an a:hover{ opacity:1;}
.bottom_an a.a2 span{position:absolute; transition: all .5s ease; overflow:hidden; right:50px; top:0; width:0; background:#eb001b; color:#fff; text-align:center; height:50px; line-height:50px;}
.bottom_an a.a2e span{position:absolute; transition: all .5s ease; overflow:hidden; right:50px; top:0; width:0; background:#eb001b; color:#fff; text-align:center; height:50px; line-height:50px;}
.bottom_an a.a3 span{position:absolute; transition: all .5s ease; overflow:hidden; right:50px; top:0; width:0; background:#eb001b; color:#fff; text-align:center; height:50px; line-height:50px;}
.bottom_an a.qq span{position:absolute; transition: all .5s ease; overflow:hidden; right:50px; top:0; width:0; background:#eb001b; color:#fff; text-align:center; height:50px; line-height:50px;}
.bottom_an a.vx span{position:absolute; transition: all .5s ease; overflow:hidden; right:50px; top:0; width:0; background:#eb001b; color:#fff; text-align:center; height:50px; line-height:50px;}
.bottom_an a.a2:hover span{ width:220px;}/******/
.zhezhao{ width:100%; height:100%; position:fixed; left:0; top:0; background:#000; opacity:0.5; z-index:99; display:none;}
.tck_div{ width:100%; max-width:320px; height:auto; margin:0 auto; position:fixed; z-index:9999;  top:0; display:none; background:#fff; padding:20px; box-sizing:border-box;}
.bottom_an a.a2e:hover span{ width:260px;}/******/
.bottom_an a.a3:hover span{ width:120px;}/******/

.bottom_an a.qq:hover span{ width:240px;}/******/
.bottom_an a.vx:hover span{ width:200px; height:205px;line-height: 1.5;}/******/

/* ===== Scroll Reveal Animations ===== */
html.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
html.js .reveal.reveal-left { transform: translateX(-42px); }
html.js .reveal.reveal-right { transform: translateX(42px); }
html.js .reveal.reveal-zoom { transform: scale(.93); }
html.js .reveal.revealed { opacity: 1; transform: translate(0, 0) scale(1); }
@media (prefers-reduced-motion: reduce) {
    html.js .reveal, html.js .reveal.reveal-left, html.js .reveal.reveal-right, html.js .reveal.reveal-zoom { opacity: 1 !important; transform: none !important; transition: none !important; }
}
