* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部栏 */
.top-bar {
    background: #0a2463;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .phone {
    font-size: 18px;
    font-weight: bold;
    color: #ffd700;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0a2463;
}

.logo span {
    color: #e63946;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #0a2463;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e63946;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner .btn {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s;
}

.banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

/* 通用区块 */
.section {
    padding: 60px 0;
    background: #fff;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: #0a2463;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

/* 服务优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 36, 99, 0.1);
}

.advantage-card .icon {
    width: 70px;
    height: 70px;
    background: #0a2463;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0a2463;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
}

/* 利率表 */
.rate-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.rate-table th, .rate-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.rate-table th {
    background: #0a2463;
    color: #fff;
    font-size: 16px;
}

.rate-table tr:nth-child(even) {
    background: #f8fafc;
}

.rate-table .rate {
    color: #e63946;
    font-weight: bold;
    font-size: 18px;
}

/* 城市分站 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.city-item {
    display: block;
    padding: 12px;
    text-align: center;
    background: #f8fafc;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s;
    font-size: 15px;
}

.city-item:hover {
    background: #0a2463;
    color: #fff;
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-card .news-img {
    height: 180px;
    background: linear-gradient(135deg, #0a2463, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
}

.news-card .news-content {
    padding: 20px;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0a2463;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-card .date {
    color: #999;
    font-size: 13px;
}

/* 底部 */
.footer {
    background: #0a2463;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer p, .footer li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer .phone-big {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    margin: 15px 0;
}

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

/* 城市页面样式 */
.city-banner {
    background: linear-gradient(135deg, #0a2463 0%, #1e3a8a 100%);
    color: #fff;
    padding: 50px 0;
}

.city-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.city-banner p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0a2463;
}

.content-wrap {
    padding: 40px 0;
    background: #fff;
}

.content-wrap h2 {
    font-size: 24px;
    color: #0a2463;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #e63946;
}

.content-wrap p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.contact-box {
    background: #f8fafc;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
    border: 2px dashed #0a2463;
}

.contact-box .phone {
    font-size: 32px;
    font-weight: bold;
    color: #e63946;
    margin: 15px 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
