/**
 * ============================================================
 * 埃思哲建设咨询官网 - 主样式表
 * 主色: #1e3a8a (深蓝) | 辅色: #d97706 (琥珀金)
 * 响应式: 移动端优先
 * ============================================================
 */

/* ==================== CSS变量 ==================== */
:root {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --primary-dark: #1e3a5f;
    --accent: #d97706;
    --accent-light: #f59e0b;
    --accent-dark: #b45309;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --container: 1200px;
    --header-height: 72px;
}

/* ==================== 重置与基础 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== 布局容器 ==================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
}

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

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

/* ==================== 头部导航 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    padding: 8px 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.05);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

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

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ==================== Hero区域 ==================== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f1d4a 0%, #1e3a8a 50%, #1e4094 100%);
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-content {
    color: #fff;
}

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    border-radius: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--accent-light);
    position: relative;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-light);
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.hero-form-wrapper {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.hero-form-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.hero-form-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-form .form-group {
    margin-bottom: 16px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    color: #fff;
    font-size: 15px;
    transition: var(--transition);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}

.hero-form .btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 16px;
}

/* ==================== 信任承诺区域 ==================== */
.trust-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 58, 138, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.trust-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.trust-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 业务卡片区域 ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.service-tag {
    padding: 4px 12px;
    background: var(--bg-gray);
    color: var(--text-light);
    font-size: 13px;
    border-radius: 20px;
}

/* ==================== 流程区域 ==================== */
.process-section {
    background: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-item {
    text-align: center;
    padding: 36px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 2px;
    background: var(--border);
}

.process-item:last-child::after {
    display: none;
}

.process-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 案例区域 ==================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

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

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.case-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
}

.case-body {
    padding: 24px;
}

.case-body h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.case-meta-item {
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-gray);
    padding: 4px 10px;
    border-radius: 4px;
}

.case-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 评价区域 ==================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 64px;
    color: var(--border);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 600;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== 文章列表 ==================== */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
}

.article-image {
    height: 100%;
    min-height: 180px;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: fit-content;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text);
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-summary {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==================== 文章详情页 ==================== */
.article-detail {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    color: var(--text);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--primary);
}

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

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

.article-content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.article-content ol li {
    list-style: decimal;
    margin-bottom: 8px;
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--accent);
}

.article-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

/* FAQ区域 */
.faq-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-light);
}

.faq-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 18px 24px;
    max-height: 500px;
}

/* 相关文章 */
.related-section {
    margin-top: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.related-card:hover {
    border-color: var(--primary);
}

.related-card h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card h4 a {
    color: var(--text);
}

.related-card h4 a:hover {
    color: var(--primary);
}

.related-card .date {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    color: #fff;
    margin-top: 48px;
}

.cta-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

/* ==================== 关于我们页面 ==================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    background: linear-gradient(135deg, var(--bg-gray), var(--bg-light));
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    overflow: hidden;
    position: relative;
}

.about-image-placeholder {
    text-align: center;
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    color: var(--primary);
    opacity: 0.5;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

/* 王工人设 */
.expert-section {
    background: var(--bg-light);
    padding: 80px 0;
    margin-bottom: 80px;
}

.expert-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
}

.expert-avatar {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 80px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.expert-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.expert-title {
    color: var(--accent);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.expert-bio {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.expert-stats {
    display: flex;
    gap: 32px;
}

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

.expert-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.expert-stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* 四大优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.advantage-card {
    text-align: center;
    padding: 36px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.advantage-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.advantage-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 联系我们页面 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: var(--text-light);
}

.wechat-qrcode {
    width: 200px;
    height: 200px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

.contact-form-wrapper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ==================== 表单样式 ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group label .required {
    color: var(--danger);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-success {
    padding: 16px;
    background: #ecfdf5;
    border: 1px solid var(--success);
    border-radius: var(--radius);
    color: #065f46;
    margin-bottom: 20px;
}

.form-error {
    padding: 16px;
    background: #fef2f2;
    border: 1px solid var(--danger);
    border-radius: var(--radius);
    color: #991b1b;
    margin-bottom: 20px;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    background: var(--bg-light);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-inner a {
    color: var(--text-light);
}

.breadcrumb-inner a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* ==================== 分页 ==================== */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.pagination-info {
    font-size: 14px;
    color: var(--text-light);
}

.pagination-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.page-ellipsis {
    color: var(--text-muted);
    padding: 0 4px;
}

/* ==================== 筛选标签 ==================== */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: var(--transition);
    cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ==================== 页脚 ==================== */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-icp {
    color: rgba(255,255,255,0.5);
}

.footer-icp a {
    color: rgba(255,255,255,0.5);
}

/* ==================== 隐私政策弹窗 ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-inner p {
    font-size: 14px;
    color: var(--text-light);
}

.cookie-inner a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==================== 页面标题区域 ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 100px 0 60px;
    margin-top: var(--header-height);
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* ==================== 侧边栏 ==================== */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.widget-list a:hover {
    color: var(--primary);
}

.widget-list .count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-gray);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==================== 业务体系页面 ==================== */
.service-detail-section {
    margin-bottom: 60px;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.service-detail-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.service-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

.service-detail-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--primary);
}

.service-detail-content p {
    margin-bottom: 16px;
}

.service-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.service-list-table th,
.service-list-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.service-list-table th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 14px;
}

.service-list-table tr:hover td {
    background: var(--bg-light);
}

/* ==================== FAQ页面 ==================== */
.faq-list {
    max-width: 800px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .expert-stats {
        justify-content: center;
    }
    
    .process-item::after {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 24px;
    }
    
    .hero-form-wrapper {
        padding: 28px;
    }
    
    .trust-grid,
    .services-grid,
    .cases-grid,
    .testimonials-grid,
    .process-grid,
    .advantages-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        min-height: 200px;
    }
    
    .article-body {
        padding: 20px;
    }
    
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 80vw;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        border-left: 1px solid var(--border);
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    /* 菜单打开时背景遮罩 */
    body.nav-open::after {
        content: '';
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 998;
    }
    
    .nav a {
        padding: 14px 20px;
        font-size: 16px;
        width: 100%;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .article-detail {
        padding: 24px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .cta-section {
        padding: 32px 24px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form-wrapper,
    .hero-form-wrapper {
        padding: 24px;
    }
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==================== 打印样式 ==================== */
/* ==================== GEO（生成式引擎优化）样式 ==================== */

/* 首段直接答案 */
.geo-direct-answer {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 32px;
    position: relative;
}

.geo-direct-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.geo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.geo-direct-answer p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

/* 目标问题 */
.geo-target-question {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    color: #92400e;
}

.geo-target-question svg {
    flex-shrink: 0;
    color: #f59e0b;
}

/* GEO评分标识 */
.geo-score-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 作者E-E-A-T信息 */
.geo-author-eeat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 32px 0;
}

.geo-author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}

.geo-author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.geo-author-bio {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

.geo-author-org {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* GEO FAQ区域 */
.geo-faq-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-light);
}

.geo-faq-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.geo-faq-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.geo-faq-list {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.geo-faq-item {
    border-bottom: 1px solid var(--border);
}

.geo-faq-item:last-child {
    border-bottom: none;
}

.geo-faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: var(--transition);
    color: var(--text);
}

.geo-faq-question:hover {
    background: var(--bg-light);
}

.geo-faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 12px;
}

.geo-faq-item.active .geo-faq-question::after {
    content: '−';
}

.geo-faq-item.active .geo-faq-question {
    background: var(--bg-light);
    color: var(--primary);
}

.geo-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.geo-faq-answer > div {
    padding: 0 0 18px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.geo-faq-item.active .geo-faq-answer {
    padding: 0 24px;
    max-height: 500px;
}

.geo-faq-item.active .geo-faq-answer > div {
    padding: 4px 0 18px 0;
}

/* GEO引用来源 */
.geo-citations {
    margin: 32px 0;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.geo-citations-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.geo-citations-list {
    padding-left: 20px;
    margin: 0;
}

.geo-citations-list li {
    list-style: decimal;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 6px;
    line-height: 1.6;
}

/* ==================== 响应式 - GEO ==================== */
@media (max-width: 768px) {
    .geo-direct-answer {
        padding: 20px;
    }
    
    .geo-direct-answer p {
        font-size: 15px;
    }
    
    .geo-author-eeat {
        flex-direction: column;
        text-align: center;
    }
    
    .geo-author-avatar {
        margin: 0 auto;
    }
    
    .geo-faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .geo-faq-answer {
        padding: 0 16px;
    }
    
    .geo-faq-item.active .geo-faq-answer {
        padding: 0 16px;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .header,
    .footer,
    .cookie-consent,
    .back-to-top,
    .cta-section {
        display: none !important;
    }
    
    .article-detail {
        border: none;
        padding: 0;
    }
}
