/* 长春华阳企业管理咨询有限公司 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f7fa;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
a:hover { color: #0066b4; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部信息栏 */
.top-bar {
    background: #003d7a;
    color: #c8d9ed;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .contact-info span { margin-right: 25px; }
.top-bar .contact-info i { margin-right: 5px; color: #5dade2; }

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}
.logo img { height: 70px; width: auto; }
.nav-list { display: flex; }
.nav-list li { position: relative; }
.nav-list li a {
    display: block;
    padding: 0 22px;
    line-height: 90px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    position: relative;
}
.nav-list li a:hover,
.nav-list li a.active {
    color: #0066b4;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #0066b4;
    transition: width 0.3s;
}
.nav-list li a:hover::after,
.nav-list li a.active::after { width: 60%; }

/* 下拉菜单 */
.nav-list li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    border-top: 3px solid #0066b4;
}
.nav-list li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-list li .submenu a {
    line-height: 45px;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.nav-list li .submenu a::after { display: none; }
.nav-list li .submenu a:hover { background: #f5f9fd; padding-left: 25px; }

/* 横幅 */
.banner {
    position: relative;
    overflow: hidden;
}
.banner img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}
.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.banner-text p {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.banner-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #0066b4;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
.banner-btn:hover {
    background: #005291;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,180,0.3);
}

/* 通用区块标题 */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    color: #1a2a3a;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title h2::before,
.section-title h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0066b4);
}
.section-title h2::before { right: calc(100% + 15px); background: linear-gradient(90deg, transparent, #0066b4); }
.section-title h2::after { left: calc(100% + 15px); background: linear-gradient(90deg, #0066b4, transparent); }
.section-title p { color: #888; font-size: 15px; letter-spacing: 2px; }

/* 服务项目 */
.services { background: #fff; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid #eef2f7;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,102,180,0.15);
}
.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-card:hover img { transform: scale(1.05); }
.service-info { padding: 25px; }
.service-info h3 {
    font-size: 18px;
    color: #1a2a3a;
    margin-bottom: 10px;
}
.service-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}
.service-more {
    display: inline-block;
    margin-top: 15px;
    color: #0066b4;
    font-size: 14px;
    font-weight: 500;
}
.service-more::after { content: ' →'; }

/* 关于我们 */
.about { background: linear-gradient(135deg, #f0f5fb 0%, #e8f0f9 100%); }
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-text h2 {
    font-size: 28px;
    color: #1a2a3a;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    text-indent: 2em;
    line-height: 1.9;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.stat-item { text-align: center; padding: 15px; background: #fff; border-radius: 6px; }
.stat-num {
    font-size: 32px;
    font-weight: bold;
    color: #0066b4;
    margin-bottom: 5px;
}
.stat-label { font-size: 13px; color: #888; }

/* 优势 */
.advantages { background: #fff; }
.adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.adv-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s;
    border-top: 3px solid transparent;
}
.adv-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,102,180,0.1);
    border-top-color: #0066b4;
    transform: translateY(-5px);
}
.adv-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066b4, #00a0e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}
.adv-card h3 { font-size: 18px; color: #1a2a3a; margin-bottom: 12px; }
.adv-card p { font-size: 13px; color: #777; line-height: 1.7; }

/* 新闻列表页 */
.page-banner {
    background: linear-gradient(135deg, #003d7a 0%, #0066b4 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-banner h1 { font-size: 36px; margin-bottom: 10px; }
.page-banner .breadcrumb { font-size: 14px; opacity: 0.8; }
.page-banner .breadcrumb a { color: #fff; }

.news-page { padding: 50px 0; }
.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}
.news-list-main {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.news-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px dashed #e5e9ef;
    transition: all 0.3s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 10px; }
.news-item-img {
    flex-shrink: 0;
    width: 220px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
}
.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-item:hover .news-item-img img { transform: scale(1.1); }
.news-item-content { flex: 1; }
.news-item-date {
    display: inline-block;
    background: #0066b4;
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.news-item-title {
    font-size: 18px;
    color: #1a2a3a;
    margin-bottom: 10px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-item-title a:hover { color: #0066b4; }
.news-item-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.news-item-more {
    font-size: 13px;
    color: #0066b4;
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.widget {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.widget-title {
    font-size: 18px;
    color: #1a2a3a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066b4;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #00a0e9;
}
.hot-news li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hot-news li:last-child { border-bottom: none; }
.hot-news li a {
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 10px;
}
.hot-news li a .num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: #e0e7ef;
    color: #888;
    text-align: center;
    line-height: 22px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}
.hot-news li:nth-child(1) a .num,
.hot-news li:nth-child(2) a .num,
.hot-news li:nth-child(3) a .num { background: #0066b4; color: #fff; }
.hot-news li a:hover { color: #0066b4; }
.contact-widget {
    background: linear-gradient(135deg, #0066b4, #00a0e9);
    color: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
}
.contact-widget h3 { font-size: 20px; margin-bottom: 15px; }
.contact-widget .phone {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}
.contact-widget p { font-size: 13px; opacity: 0.9; line-height: 1.8; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    background: #fff;
    transition: all 0.3s;
}
.pagination a:hover {
    background: #0066b4;
    color: #fff;
    border-color: #0066b4;
}
.pagination .active {
    background: #0066b4;
    color: #fff;
    border-color: #0066b4;
}
.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* 新闻详情页 */
.article-detail {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.article-title {
    font-size: 28px;
    color: #1a2a3a;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}
.article-meta {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.article-meta span { margin: 0 12px; }
.article-content {
    font-size: 16px;
    color: #444;
    line-height: 2;
}
.article-content p { margin-bottom: 20px; text-indent: 2em; }
.article-content h3 {
    font-size: 20px;
    color: #1a2a3a;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid #0066b4;
}
.article-content img {
    max-width: 100%;
    margin: 20px auto;
    border-radius: 6px;
}
.article-nav {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.article-nav a { color: #666; max-width: 45%; }
.article-nav a:hover { color: #0066b4; }

/* 页脚 */
.footer {
    background: #1a2735;
    color: #a0aec0;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0066b4;
}
.footer-col p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 10px;
}
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-col .contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #2d3e52;
    font-size: 13px;
}
.footer-bottom a { color: #5dade2; }
.footer-bottom p { margin-bottom: 5px; }

/* 响应式 */
@media (max-width: 992px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrap { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .news-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-list { display: none; }
}
@media (max-width: 768px) {
    .service-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .banner-text h1 { font-size: 32px; }
    .banner-text p { font-size: 16px; }
    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; height: 200px; }
    .article-detail { padding: 20px; }
    .article-title { font-size: 22px; }
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: #0066b4;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0,102,180,0.3);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #005291; transform: translateY(-3px); }