/* ===== 基础重置与全局变量 ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1A73E8;
    --primary-dark: #0D47A1;
    --primary-light: #E3F2FD;
    --text: #333333;
    --text-light: #666666;
    --bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    color: var(--primary-dark);
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ===== 顶部导航 ===== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.main-nav a {
    color: var(--text);
    padding: 6px 0;
    position: relative;
    font-weight: 500;
    transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

/* ===== 主视觉横幅 ===== */
.hero {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 60px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.btn-call-hero {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    box-shadow: var(--shadow);
}
.btn-call-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

/* ===== 卡片布局通用 ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.service-card, .area-card, .content-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.service-card h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.card-link {
    font-weight: 500;
    display: inline-block;
}

/* ===== 服务区域展示 ===== */
.areas {
    padding: 40px 0;
    text-align: center;
}
.areas-sub {
    color: var(--text-light);
    margin-bottom: 24px;
}
.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.area-tag {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.area-tag:hover {
    background-color: #bbdefb;
}

/* ===== 页脚 ===== */
.site-footer {
    background-color: #f0f2f5;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
}
.footer-links {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.footer-links span {
    color: #ccc;
}
.footer-links a {
    color: var(--text);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-partners {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.footer-copy {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== 悬浮呼叫按钮 ===== */
.floating-call {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}
.floating-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(26,115,232,0.4);
    transition: transform 0.3s, background 0.3s;
    animation: pulse 2s infinite;
}
.floating-call a:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    animation: none;
}
.call-icon {
    font-size: 1.6rem;
    line-height: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(26,115,232, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(26,115,232, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26,115,232, 0); }
}

/* ===== 通用区域明细页样式（后续页面使用） ===== */
.breadcrumb {
    background: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}
.breadcrumb .container {
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a {
    color: var(--primary);
}
.breadcrumb span {
    color: var(--text-light);
}
.page-main {
    padding: 40px 0;
}
.content-card {
    text-align: left;
    padding: 24px;
}
.content-card h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.service-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.service-list li {
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    html { font-size: 15px; }
    .site-header .container {
        flex-direction: column;
        gap: 10px;
    }
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .floating-call {
        bottom: 20px;
        right: 20px;
    }
    .floating-call a {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    .btn-call-hero {
        padding: 12px 28px;
        font-size: 1rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 6px;
    }
}
.footer-info {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 8px;
}