/* --- 商业高级感核心变量 --- */
:root {
    --primary: #002D5E;      /* 深邃蓝：商务核心色 */
    --accent: #9A8352;       /* 哑金：高雅点缀色 */
    --text-dark: #1A1A1A;    /* 沉稳黑：正文标题 */
    --text-muted: #666666;   /* 柔和灰：辅助文字 */
    --bg-light: #F8F9FB;     /* 底灰：呼吸感背色 */
    --border: #E8E8E8;       /* 细线：模块分割 */
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* 核心布局容器 - 确保内容居中不偏离 */
.content-wrapper { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* 导航栏 */
.navbar {
    position: fixed; top: 0; width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    z-index: 1000; display: flex; align-items: center;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo img { height: 40px; }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); margin: 0 20px; font-weight: 500; font-size: 15px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-phone { color: var(--primary); font-weight: bold; font-size: 16px; text-decoration: none; border: 1px solid var(--primary); padding: 6px 15px; border-radius: 2px; }

/* Hero */
.hero {
    height: 600px; padding-top: 80px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex; align-items: center; text-align: center; color: var(--white); position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 45, 94, 0.5); }
.hero-box { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 48px; letter-spacing: 6px; font-weight: 600; }
.line { width: 40px; height: 2px; background: var(--accent); margin: 25px auto; }
.hero p { font-size: 18px; letter-spacing: 2px; opacity: 0.9; }
.main-btn { 
    display: inline-block; padding: 14px 45px; border: 1px solid var(--white);
    color: var(--white); text-decoration: none; margin-top: 40px; 
    font-size: 14px; letter-spacing: 2px; transition: 0.4s;
}
.main-btn:hover { background: var(--white); color: var(--primary); }

/* 章节通用样式 */
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 30px; font-weight: 500; color: var(--primary); letter-spacing: 2px; }
.title-underline { width: 30px; height: 2px; background: var(--accent); margin: 15px auto 0; }

/* Tab 切换 */
.tabs-container { text-align: center; }
.tab-header { margin-bottom: 40px; border-bottom: 1px solid var(--border); display: inline-block; }
.tab-link { padding: 15px 35px; border: none; background: none; font-size: 16px; cursor: pointer; color: var(--text-muted); }
.tab-link.active { color: var(--primary); font-weight: bold; border-bottom: 2px solid var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.6s; }
.tab-img { max-width: 900px; width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

/* 标准网格布局 - 解决两个模块的一致性 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.city-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.4s;
}
.city-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }
.city-img-box { aspect-ratio: 16 / 10; overflow: hidden; }
.city-img-box img { width: 100%; height: 100%; object-fit: cover; }
.city-info { padding: 30px; }
.city-info h3 { font-size: 18px; margin-bottom: 15px; color: var(--primary); }
.city-info p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.card-btn { 
    width: 100%; padding: 12px; margin-top: 25px; background: transparent; 
    border: 1px solid var(--primary); color: var(--primary); 
    cursor: pointer; font-size: 13px; transition: 0.3s;
}
.card-btn:hover { background: var(--primary); color: var(--white); }

/* 页脚 */
.footer { padding: 80px 0 20px; background: #0A0A0A; color: rgba(255,255,255,0.6); }
.footer-flex { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-text h3 { color: var(--white); font-size: 24px; margin-bottom: 20px; }
.f-phone { font-size: 28px; color: var(--white) !important; font-weight: 300; margin: 15px 0; }
.footer-qr { text-align: center; }
.footer-qr img { width: 110px; padding: 5px; background: #fff; margin-bottom: 10px; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; }

/* 动画 */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Loader */
.loader { position: fixed; inset: 0; background: #fff; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.loader-inner { width: 35px; height: 35px; border: 2px solid #eee; border-top: 2px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 响应式 */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr; }
    .nav-links, .nav-phone { display: none; }
    .footer-flex { flex-direction: column; gap: 40px; text-align: center; }
}