/**
 * ==================================================
 * 江西圣杰市政工程有限公司 - 官网样式重构
 * 参考巨联环保/誉帆科技/宇帆等市政工程公司风格
 * 主色调: 深蓝 #0d3b66 / #1a4a7e
 * ==================================================
 */

/* ==================== 全局基础 ==================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.8; font-size: 15px; background: #fff; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-padding { padding: 80px 0; }
.gray-bg { background: #f5f7fa; }

/* 标题 */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: #1a2a44; letter-spacing: 1px; }
.section-title h2 span { color: #0d5aa8; }
.section-title .title-line { width: 60px; height: 3px; background: linear-gradient(90deg, transparent, #0d5aa8, transparent); margin: 15px auto 0; }
.section-title p { color: #666; font-size: 16px; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ==================== 顶部导航栏 (Header) ==================== */
.portal-topbar { background: #f8f9fb; border-bottom: 1px solid #eef0f3; padding: 8px 0; font-size: 13px; color: #6c757d; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left a { color: #6c757d; margin-right: 20px; transition: color .3s; }
.topbar-left a:hover { color: #0d5aa8; }
.topbar-left span i { color: #0d5aa8; margin-right: 4px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right span { display: flex; align-items: center; }
.topbar-right i { color: #0d5aa8; margin-right: 4px; font-size: 12px; }
.topbar-phone { color: #2c3e50; font-weight: 600; font-size: 14px; }
.topbar-sep { color: #dde2e8; margin: 0 5px; }

/* Logo + 导航区域 */
.portal-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.portal-logo img { height: 65px; }
.portal-nav { display: flex; gap: 5px; }
.portal-nav > a { padding: 28px 22px; color: #333; font-size: 18px; font-weight: 500; position: relative; transition: all .3s; }
.portal-nav > a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: #0d5aa8; transition: width .3s; }
.portal-nav > a:hover, .portal-nav > a.active { color: #0d5aa8; }
.portal-nav > a:hover::after, .portal-nav > a.active::after { width: 60%; }

/* 移动端菜单按钮 */
.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 10px; }
.nav-toggle span { width: 25px; height: 3px; background: #333; border-radius: 2px; transition: .3s; }

@media (max-width: 992px) {
    .portal-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; box-shadow: 0 5px 15px rgba(0,0,0,.1); padding: 10px 0; }
    .portal-nav.show { display: flex; }
    .portal-nav > a { padding: 14px 25px; border-bottom: 1px solid #f0f0f0; }
    .nav-toggle { display: flex; }
}

/* ==================== Banner 轮播 ==================== */
.portal-banner { position: relative; overflow: hidden; min-height: 550px; }
.banner-slider { display: flex; transition: transform 0.8s ease; }
.banner-slide { min-width: 100%; position: relative; height: 550px; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(13,59,102,0.75) 0%, rgba(26,74,126,0.5) 60%, rgba(13,90,168,0.35) 100%); }
.banner-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; width: 90%; max-width: 800px; z-index: 2; }
.banner-content h1 { font-size: 56px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,.3); letter-spacing: 3px; }
.banner-content p { font-size: 22px; opacity: 0.95; margin-bottom: 30px; letter-spacing: 1px; }
.banner-btn { display: inline-block; padding: 14px 40px; background: #fff; color: #0d5aa8; font-size: 16px; font-weight: 700; border-radius: 4px; transition: all .3s; letter-spacing: 1px; }
.banner-btn:hover { background: #0d5aa8; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.2); }
.banner-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: .3s; border: none; }
.banner-dot.active { background: #fff; width: 36px; border-radius: 6px; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; color: #fff; font-size: 20px; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; transition: .3s; }
.banner-arrow:hover { background: #0d5aa8; border-color: #0d5aa8; }
.banner-arrow.prev { left: 30px; }
.banner-arrow.next { right: 30px; }

@media (max-width: 768px) {
    .banner-slide { height: 400px; }
    .banner-content h1 { font-size: 28px; }
    .banner-content p { font-size: 16px; }
    .banner-arrow { display: none; }
}

/* ==================== 页面内标题横幅 ==================== */
.page-banner {
    position: relative; overflow: hidden;
    padding: 130px 0; text-align: center; color: #fff;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* 背景图上的遮罩 — 大幅降低不透明度，让原图透出更多 */
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(13,59,102,0.55) 0%,
        rgba(13,74,128,0.45) 50%,
        rgba(13,90,168,0.40) 100%);
    z-index: 0;
}
/* 底部微渐变让文字更清晰 */
.page-banner::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    z-index: 0; pointer-events: none;
}
/* 无背景图时的默认渐变 — 更丰富的层次感 */
.page-banner-noimg {
    background: linear-gradient(160deg, #0a2a4a 0%, #0d3b66 25%, #12528e 55%, #0d5aa8 75%, #1a7fd4 100%) !important;
}
.page-banner-noimg::before {
    background:
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 75% 70%, rgba(13,90,168,0.3) 0%, transparent 60%);
}
/* 光晕装饰 */
.page-banner .banner-orb {
    position: absolute; z-index: 0;
    border-radius: 50%; pointer-events: none;
}
.page-banner .banner-orb.orb1 {
    top: -30%; right: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
    animation: bannerFloat 10s ease-in-out infinite;
}
.page-banner .banner-orb.orb2 {
    bottom: -50%; left: -15%; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
    animation: bannerFloat 12s ease-in-out infinite reverse;
}
.page-banner .banner-orb.orb3 {
    top: 50%; right: 25%; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    animation: bannerFloat 7s ease-in-out infinite alternate;
}
@keyframes bannerFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -15px) scale(1.06); }
    66% { transform: translate(-15px, 10px) scale(0.95); }
}
/* 几何装饰线条 */
.page-banner .banner-lines {
    position: absolute; inset: 0; opacity: 0.05; pointer-events: none; z-index: 0;
    background-image:
        repeating-linear-gradient(45deg, #fff 0px, #fff 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(-45deg, #fff 0px, #fff 1px, transparent 1px, transparent 40px);
}
.page-banner h1 {
    font-size: 44px; font-weight: 800; position: relative; z-index: 1;
    letter-spacing: 4px; text-shadow: 0 3px 30px rgba(0,0,0,0.3);
}
.page-banner h1 span {
    display: block; font-size: 15px; font-weight: 400;
    letter-spacing: 6px; opacity: 0.8; margin-bottom: 10px;
    text-transform: uppercase;
}
.page-breadcrumb {
    margin-top: 18px; font-size: 15px; opacity: 0.9; position: relative; z-index: 1;
}
.page-breadcrumb a { color: rgba(255,255,255,0.88); transition: color .3s; }
.page-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-breadcrumb span { color: rgba(255,255,255,0.55); margin: 0 8px; }

@media (max-width: 768px) {
    .page-banner { padding: 80px 0; }
    .page-banner h1 { font-size: 28px; letter-spacing: 2px; }
    .page-banner h1 span { font-size: 12px; letter-spacing: 3px; }
}

/* ==================== 关于我们简介区 ==================== */
.about-intro-section { padding: 80px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-img { border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.about-intro-img img { width: 100%; display: block; transition: transform .5s; }
.about-intro-img:hover img { transform: scale(1.03); }
.about-intro-text h3 { font-size: 28px; color: #1a2a44; margin-bottom: 20px; font-weight: 700; }
.about-intro-text h3 span { color: #0d5aa8; }
.about-intro-text p { color: #555; font-size: 15px; line-height: 2; margin-bottom: 15px; text-indent: 2em; }
.about-more-btn { display: inline-block; margin-top: 15px; padding: 12px 32px; background: #0d5aa8; color: #fff; border-radius: 4px; font-weight: 500; transition: all .3s; }
.about-more-btn:hover { background: #094280; transform: translateX(5px); }

@media (max-width: 768px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==================== 三列信息卡片（驱动力/发展史/证书） ==================== */
.info-cards { padding: 70px 0; background: #f5f7fa; }
.info-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { background: #fff; border-radius: 8px; padding: 40px 30px; text-align: center; transition: all .4s; border: 1px solid #eee; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 15px 45px rgba(13,90,168,0.12); border-color: transparent; }
.info-card-icon { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #0d5aa8, #1a7bc9); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.info-card h4 { font-size: 20px; color: #1a2a44; margin-bottom: 15px; font-weight: 700; }
.info-card p { color: #666; font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.info-card-link { display: inline-block; margin-top: 15px; color: #0d5aa8; font-weight: 500; font-size: 14px; }
.info-card-link:hover { color: #094280; }
.info-card-link::after { content: ' →'; }

@media (max-width: 768px) {
    .info-cards-row { grid-template-columns: 1fr; }
}

/* ==================== 服务展示区 ==================== */
.services-section { padding: 80px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; transition: all .4s; box-shadow: 0 3px 15px rgba(0,0,0,.08); }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 45px rgba(13,90,168,0.15); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-body { padding: 28px; }
.service-card-body h3 { font-size: 19px; color: #1a2a44; margin-bottom: 12px; font-weight: 700; }
.service-card-body h3 a { color: inherit; }
.service-card-body h3 a:hover { color: #0d5aa8; }
.service-card-body p { color: #666; font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card-link { display: inline-block; margin-top: 15px; color: #0d5aa8; font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .3s; }
.service-card-link:hover { border-color: #0d5aa8; }

/* 服务轮播容器（首页用） */
.services-carousel { position: relative; }
.services-carousel .services-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 992px) {
    .services-carousel .services-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .services-carousel .services-grid, .services-grid { grid-template-columns: 1fr; }
}

/* ==================== 项目展示区 ==================== */
.projects-section { padding: 80px 0; background: #f5f7fa; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card { background: #fff; border-radius: 8px; overflow: hidden; transition: all .4s; box-shadow: 0 3px 15px rgba(0,0,0,.06); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(13,90,168,0.12); }
.project-card-img { height: 240px; overflow: hidden; position: relative; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(13,59,102,0.65); display: flex; align-items: center; justify-content: center; gap: 15px; opacity: 0; transition: .4s; }
.project-card:hover .project-card-overlay { opacity: 1; }
.project-overlay-btn { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0d5aa8; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .3s; }
.project-overlay-btn:hover { background: #0d5aa8; color: #fff; }
.project-card-body { padding: 20px; }
.project-card-body h4 { font-size: 17px; color: #1a2a44; margin-bottom: 8px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card-body p { color: #888; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 项目筛选标签 */
.filter-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-tag { padding: 8px 24px; border: 2px solid #ddd; border-radius: 30px; font-size: 14px; color: #666; cursor: pointer; transition: all .3s; background: #fff; }
.filter-tag:hover, .filter-tag.active { border-color: #0d5aa8; color: #0d5aa8; background: rgba(13,90,168,0.05); font-weight: 600; }

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

/* ==================== 数据统计区 ==================== */
.stats-section { background: linear-gradient(135deg, #0d3b66 0%, #1568a8 50%, #0d5aa8 100%); padding: 70px 0; color: #fff; position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zm20 0c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 20px; }
.stat-item-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 28px; }
.stat-item-num { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 5px; }
.stat-item-label { font-size: 15px; opacity: 0.85; letter-spacing: 2px; }

@media (max-width: 768px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item-num { font-size: 32px; }
}

/* ==================== 新闻中心 ==================== */
.news-section { padding: 80px 0; }
.news-main { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.news-list { display: flex; flex-direction: column; gap: 25px; }
.news-item { display: flex; gap: 25px; padding: 20px; background: #fff; border-radius: 8px; transition: all .3s; border: 1px solid #f0f0f0; }
.news-item:hover { box-shadow: 0 8px 30px rgba(13,90,168,0.1); transform: translateX(5px); }
.news-item-img { width: 260px; height: 170px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .news-item-img img { transform: scale(1.06); }
.news-item-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-item-body h3 { font-size: 17px; color: #1a2a44; margin-bottom: 8px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item-body h3 a { color: inherit; }
.news-item-body h3 a:hover { color: #0d5aa8; }
.news-item-meta { font-size: 13px; color: #999; margin-bottom: 10px; }
.news-item-desc { color: #666; font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-sidebar { }
.sidebar-widget {
    background: #fff; border-radius: 10px; padding: 28px;
    margin-bottom: 25px; border: 1px solid #eef1f5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.sidebar-widget h4 {
    font-size: 18px; color: #1a2a44; margin-bottom: 18px;
    padding-bottom: 14px; border-bottom: 2px solid #0d5aa8; font-weight: 700;
    position: relative;
}
.sidebar-widget h4::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 30px; height: 2px; background: #0d5aa8;
}
.sidebar-categories { list-style: none; }
.sidebar-categories li { margin-bottom: 6px; }
.sidebar-categories li a {
    display: flex; align-items: center; padding: 10px 16px;
    color: #555; border-radius: 6px; font-size: 14px;
    transition: all .3s; border: 1px solid transparent;
}
.sidebar-categories li a::before {
    content: '▸'; margin-right: 8px; font-size: 10px; color: #ccc; transition: all .3s;
}
.sidebar-categories li a:hover, .sidebar-categories li a.active {
    background: rgba(13,90,168,0.06); color: #0d5aa8;
    font-weight: 600; border-color: rgba(13,90,168,0.15);
}
.sidebar-categories li a:hover::before, .sidebar-categories li a.active::before {
    color: #0d5aa8; transform: translateX(3px);
}

@media (max-width: 992px) {
    .news-main { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; }
    .news-item-img { width: 100%; height: 200px; }
}

/* 新闻列表页（卡片式，与首页新闻对齐） */
.blog-post-item {
    padding: 30px 32px; background: #fff; border-radius: 10px;
    border: 1px solid #eef1f5; margin-bottom: 20px;
    transition: all .35s; position: relative; overflow: hidden;
}
.blog-post-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: linear-gradient(180deg, #0d5aa8, #1a7fd4);
    border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .35s;
}
.blog-post-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13,90,168,0.1);
    border-color: transparent;
}
.blog-post-item:hover::before { opacity: 1; }
.blog-post-item h2 { font-size: 20px; margin-bottom: 10px; line-height: 1.5; }
.blog-post-item h2 a { color: #1a2a44; transition: color .3s; }
.blog-post-item h2 a:hover { color: #0d5aa8; }
.blog-post-meta {
    font-size: 13px; color: #aaa; margin-bottom: 14px;
    display: flex; align-items: center; gap: 15px;
}
.blog-post-meta i { color: #0d5aa8; margin-right: 4px; font-size: 12px; }
.blog-post-entry { color: #666; font-size: 14px; line-height: 1.8; }
.blog-post-more {
    display: inline-block; margin-top: 12px; color: #0d5aa8;
    font-size: 14px; font-weight: 500; transition: all .3s;
}
.blog-post-more:hover { padding-left: 5px; }
.blog-post-more::after { content: ' →'; }

/* 分页 */
.pagination-nav { margin-top: 40px; }
.pagination-nav ul { display: flex; list-style: none; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination-nav li a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border: 1px solid #e0e4ea; border-radius: 8px;
    color: #555; font-size: 14px; font-weight: 500;
    transition: all .3s; background: #fff;
}
.pagination-nav li a:hover { border-color: #0d5aa8; color: #0d5aa8; background: rgba(13,90,168,0.04); }
.pagination-nav li.active a { background: #0d5aa8; border-color: #0d5aa8; color: #fff; font-weight: 600; }
.pagination-nav li.disabled a { opacity: 0.35; cursor: not-allowed; background: #f5f6f8; }

/* ==================== 服务列表页 ==================== */
.service-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.service-list-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 3px 20px rgba(0,0,0,0.06);
    transition: all .4s; border: 1px solid #eef1f5;
}
.service-list-card:hover { transform: translateY(-6px); box-shadow: 0 15px 45px rgba(13,90,168,0.12); }
.service-list-card-img { height: 220px; overflow: hidden; position: relative; }
.service-list-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-list-card:hover .service-list-card-img img { transform: scale(1.08); }
.service-list-card-img .service-icon-overlay {
    position: absolute; bottom: 15px; right: 15px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.95); display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.service-list-card-img .service-icon-overlay i { color: #0d5aa8; font-size: 20px; }
.service-list-card-body { padding: 28px; }
.service-list-card-body h3 { font-size: 19px; color: #1a2a44; margin-bottom: 10px; font-weight: 700; }
.service-list-card-body h3 a { color: inherit; }
.service-list-card-body h3 a:hover { color: #0d5aa8; }
.service-list-card-body p { color: #777; font-size: 14px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-list-card-body .service-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid #f0f2f5;
}
.service-list-card-body .service-card-footer a {
    color: #0d5aa8; font-size: 14px; font-weight: 500; transition: all .3s;
}
.service-list-card-body .service-card-footer a:hover { padding-left: 4px; }
.service-list-card-body .service-card-footer a::after { content: ' →'; }

@media (max-width: 576px) {
    .service-list-grid { grid-template-columns: 1fr; }
}

/* ==================== 服务详情页（侧边栏布局） ==================== */
.service-detail-layout { display: flex; gap: 40px; }
.service-detail-sidebar {
    width: 280px; flex-shrink: 0;
    background: #fff; border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden; position: sticky; top: 100px; align-self: flex-start;
}
.service-detail-sidebar h4 {
    padding: 22px 24px; font-size: 17px; color: #fff;
    background: linear-gradient(135deg, #0d3b66, #0d5aa8);
    font-weight: 700; margin: 0;
}
.service-detail-sidebar ul { list-style: none; padding: 8px 0; }
.service-detail-sidebar ul li a {
    display: flex; align-items: center; padding: 13px 24px;
    color: #555; font-size: 14px; border-left: 3px solid transparent;
    transition: all .3s;
}
.service-detail-sidebar ul li a:hover,
.service-detail-sidebar ul li a.active {
    color: #0d5aa8; background: rgba(13,90,168,0.04);
    border-left-color: #0d5aa8; font-weight: 600;
}
.service-detail-sidebar ul li a::before {
    content: '▸'; margin-right: 8px; font-size: 10px; color: #ccc; transition: .3s;
}
.service-detail-sidebar ul li a:hover::before,
.service-detail-sidebar ul li a.active::before { color: #0d5aa8; }
.service-detail-content { flex: 1; min-width: 0; }

@media (max-width: 992px) {
    .service-detail-layout { flex-direction: column; }
    .service-detail-sidebar { width: 100%; position: static; }
}

/* ==================== 联系我们表单区 ==================== */
.contact-cta-section { padding: 80px 0; background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf2 100%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.cta-info h2 { font-size: 28px; color: #1a2a44; margin-bottom: 20px; }
.cta-info h2 span { color: #0d5aa8; }
.cta-info p { color: #555; font-size: 16px; line-height: 1.8; margin-bottom: 15px; }
.cta-form { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,.07); }
.cta-form h3 { font-size: 20px; color: #1a2a44; margin-bottom: 25px; font-weight: 700; }
.form-group { margin-bottom: 18px; }
.form-control { width: 100%; padding: 13px 18px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-family: inherit; transition: border-color .3s; outline: none; }
.form-control:focus { border-color: #0d5aa8; box-shadow: 0 0 0 3px rgba(13,90,168,0.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
.btn-submit { padding: 13px 40px; background: linear-gradient(135deg, #0d5aa8, #1568a8); color: #fff; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; letter-spacing: 1px; }
.btn-submit:hover { background: linear-gradient(135deg, #094280, #0d5aa8); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,90,168,0.3); }

@media (max-width: 768px) {
    .cta-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* 联系信息卡片 */
.contact-info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.contact-info-card { text-align: center; padding: 35px 20px; background: #fff; border-radius: 8px; box-shadow: 0 3px 15px rgba(0,0,0,.06); transition: .3s; }
.contact-info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(13,90,168,0.12); }
.contact-info-card i { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #0d5aa8, #1a7bc9); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; }
.contact-info-card h4 { font-size: 16px; color: #1a2a44; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { color: #666; font-size: 14px; }
.contact-info-card a:hover { color: #0d5aa8; }

@media (max-width: 768px) {
    .contact-info-cards { grid-template-columns: 1fr; }
}

/* ==================== 关于我们详情页 ==================== */
/* 使命愿景区 */
.about-mission-section { padding: 30px 0; }
.mission-vision-grid { display: flex; justify-content: space-between; gap: 30px; align-items: stretch; flex-wrap: wrap; }
/* 左边使命 - 内容自适应宽度 */
.mission-box { flex: 0 1 auto; max-width: 58%; }
.mission-box h3 { font-size: 24px; color: #1a2a44; margin-bottom: 12px; font-weight: 700; }
.mission-box h3 span { color: #0d5aa8; }
.mission-box p { color: #555; font-size: 14px; line-height: 1.85; margin-bottom: 12px; text-indent: 2em; }
.mission-img { border-radius: 8px; overflow: hidden; }
.mission-img img { width: 100%; max-height: 180px; object-fit: cover; display: block; }
/* 右边愿景 - 蓝色卡片，自适应宽度 */
.vision-box { flex: 0 1 auto; max-width: 42%; background: linear-gradient(135deg, #0d3b66, #1568a8); color: #fff; padding: 28px 30px; border-radius: 8px; display: flex; flex-direction: column; justify-content: center; }
.vision-box h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.vision-box p { font-size: 14px; line-height: 1.8; opacity: 0.92; }

@media (max-width: 768px) {
    .mission-vision-grid { flex-direction: column; }
    .mission-box, .vision-box { max-width: 100%; }
}

/* 时间线 - 中心轴双侧排版 */
.timeline-section { background: #f5f7fa; padding: 70px 0; }
.timeline-list { position: relative; max-width: 1000px; margin: 0 auto; padding: 20px 0; }
.timeline-list::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, #0d5aa8, #1a7bc9); border-radius: 2px; transform: translateX(-50%); }
.timeline-item { position: relative; width: 45%; padding: 24px 28px; margin-bottom: 30px; background: #fff; border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,.05); transition: .3s; }
.timeline-item:hover { box-shadow: 0 8px 25px rgba(13,90,168,0.1); transform: translateY(-2px); }
.timeline-item:nth-child(odd) { margin-left: 0; margin-right: auto; }
.timeline-item:nth-child(even) { margin-left: auto; margin-right: 0; }
/* 中心轴圆点 */
.timeline-item::before { content: ''; position: absolute; top: 30px; width: 16px; height: 16px; border-radius: 50%; background: #0d5aa8; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(13,90,168,0.15); z-index: 2; }
.timeline-item:nth-child(odd)::before { right: -42px; }
.timeline-item:nth-child(even)::before { left: -43px; }
/* 连接箭头 */
.timeline-item::after { content: ''; position: absolute; top: 33px; width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.timeline-item:nth-child(odd)::after { right: -8px; border-left: 10px solid #fff; }
.timeline-item:nth-child(even)::after { left: -8px; border-right: 10px solid #fff; }
.timeline-year { display: inline-block; background: #0d5aa8; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.timeline-title { font-size: 18px; color: #1a2a44; font-weight: 700; margin-bottom: 8px; }
.timeline-content { color: #666; font-size: 14px; line-height: 1.8; }
/* 响应式 - 小屏回退单侧 */
@media (max-width: 768px) {
    .timeline-list::before { left: 20px; transform: none; }
    .timeline-item { width: auto; padding: 20px 20px 20px 50px; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) { margin-left: 0; margin-right: 0; }
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before { left: 12px; right: auto; }
    .timeline-item::after { display: none; }
}

/* 证书展示 */
.certificate-section { padding: 70px 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.cert-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,.06); transition: .3s; border: 1px solid #eee; }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(13,90,168,0.12); }
.cert-card img { width: 100%; height: 180px; object-fit: cover; transition: .5s; }
.cert-card:hover img { transform: scale(1.04); }
.cert-card-caption { padding: 15px; text-align: center; }
.cert-card-caption p { font-size: 14px; color: #555; }

/* ==================== 详情通用 ==================== */
.detail-section { padding: 60px 0; }
.detail-header { text-align: center; padding: 30px 0 40px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.detail-header h2 { font-size: 28px; color: #1a2a44; font-weight: 700; margin-bottom: 15px; }
.detail-header .detail-meta { color: #999; font-size: 14px; }
.detail-content { font-size: 16px; line-height: 2; color: #444; }
.detail-content img { max-width: 100%; border-radius: 6px; margin: 15px 0; }
.detail-content p { margin-bottom: 15px; text-indent: 2em; }

/* 文章上下篇导航 */
.article-nav { display: flex; justify-content: space-between; padding: 30px 0; border-top: 1px solid #eee; margin-top: 40px; }
.article-nav-item { max-width: 45%; }
.article-nav-item.disabled { opacity: 0.4; pointer-events: none; }
.article-nav-item h6 { font-size: 13px; color: #999; margin-bottom: 6px; font-weight: 400; }
.article-nav-item p { font-size: 15px; color: #1a2a44; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-nav-item:last-child { text-align: right; }
.article-nav-item a { color: #1a2a44; transition: color .3s; }
.article-nav-item a:hover { color: #0d5aa8; }

@media (max-width: 576px) {
    .article-nav { flex-direction: column; gap: 15px; }
    .article-nav-item { max-width: 100%; }
    .article-nav-item:last-child { text-align: left; }
}

/* ==================== Footer ==================== */
.portal-footer {
    background: linear-gradient(180deg, #0d1b2a 0%, #0a1520 100%);
    color: #99a; padding: 70px 0 0;
    position: relative; overflow: hidden;
}
.portal-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #0d5aa8, #1a7fd4, #0d5aa8, transparent);
}
.portal-footer::after {
    content: ''; position: absolute; top: -100px; right: -150px; width: 400px; height: 400px;
    border-radius: 50%; background: radial-gradient(circle, rgba(13,90,168,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 50px; position: relative; z-index: 1; }
.footer-col h3 {
    font-size: 18px; color: #fff; margin-bottom: 22px; font-weight: 700;
    position: relative; padding-bottom: 14px; letter-spacing: 1px;
}
.footer-col h3::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 36px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, #0d5aa8, #1a7fd4);
}
.footer-about p { font-size: 14px; line-height: 1.9; color: #7a8a9a; margin-bottom: 15px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: #7a8a9a; font-size: 14px; transition: all .3s;
    display: inline-block; position: relative;
}
.footer-links li a::before {
    content: '›'; margin-right: 6px; color: #0d5aa8; transition: all .3s;
}
.footer-links li a:hover { color: #fff; padding-left: 4px; }
.footer-links li a:hover::before { color: #1a7fd4; }
.footer-contact-item {
    display: flex; gap: 12px; margin-bottom: 16px;
    font-size: 14px; color: #7a8a9a; align-items: flex-start;
}
.footer-contact-item i {
    color: #0d5aa8; font-size: 15px; margin-top: 4px;
    flex-shrink: 0; width: 18px; text-align: center;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 22px 0; text-align: center; font-size: 13px;
    color: #556; position: relative; z-index: 1;
}
.footer-bottom a { color: #7a8a9a; }
.footer-bottom a:hover { color: #bbc; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ==================== 隐藏原模板的 loader ==================== */
#preloader { display: none !important; }

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ==================== 响应式工具类 ==================== */
.text-center { text-align: center; }
.text-blue { color: #0d5aa8; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
