:root {
    --primary: #0b3a6f;
    --primary-dark: #072a52;
    --primary-light: #14508f;
    --accent: #1a73e8;
    --accent-dark: #155db6;
    --text: #2b3440;
    --muted: #6b7280;
    --line: #e5e9f0;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --radius: 8px;
    --shadow: 0 6px 24px rgba(11, 58, 111, .08);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4, h5, h6 { line-height: 1.35; color: var(--primary-dark); font-weight: 600; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
    background: var(--primary-dark);
    color: #c9d8ee;
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    padding-top: 7px;
    padding-bottom: 7px;
    flex-wrap: wrap;
}
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item .icon { flex: none; }
.topbar-hide-mb { margin-left: auto; }

/* ---------- 站点头 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(11, 58, 111, .06);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 68px;
}
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    margin-right: auto;
    min-width: 0;
}
.logo a {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo img { max-height: 46px; width: auto; }
.logo-sub { color: var(--muted); font-size: 12px; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    font-size: 15px;
    border-radius: 6px;
}
.site-nav a:hover { color: var(--primary); background: var(--bg-alt); }
.site-nav a.current { color: #fff; background: var(--primary); }

.nav-toggle { display: none; }
.nav-toggle-btn { display: none; }

.header-cta {
    flex: none;
    background: var(--primary);
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 14px;
}
.header-cta:hover { background: var(--primary-light); color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); color: #fff; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .75);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #eef3fb; color: var(--primary); }

/* ---------- 首屏轮播 ---------- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}
.hero .swiper-wrapper { z-index: 0; }
.home-hero .swiper-pagination { bottom: 16px; }
.home-hero .swiper-pagination-bullet { width: 10px; height: 10px; background: #fff; opacity: .45; }
.home-hero .swiper-pagination-bullet-active { opacity: 1; }
.home-hero .swiper-button-prev,
.home-hero .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-radius: 50%;
    transition: background .2s;
}
.home-hero .swiper-button-prev:hover,
.home-hero .swiper-button-next:hover { background: rgba(255, 255, 255, .26); }
.home-hero .swiper-button-prev::after,
.home-hero .swiper-button-next::after { font-size: 15px; font-weight: 700; }

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 540px;
    background-size: cover;
    background-position: center;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 26, 52, .12) 0%, rgba(5, 18, 38, .46) 100%);
}
.hero-shade--1 { background-image: linear-gradient(135deg, #072a52 0%, #0b3a6f 55%, #14508f 100%); }
.hero-shade--2 { background-image: linear-gradient(135deg, #082a54 0%, #0b3a6f 45%, #145e94 100%); }
.hero-shade--3 { background-image: linear-gradient(135deg, #06213f 0%, #0c3d75 55%, #1a73e8 100%); }

.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 88px;
    max-width: 860px;
}
.hero-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 2px;
}
.hero-sub {
    margin: 0 0 34px;
    max-width: 640px;
    color: #c9d8ee;
    font-size: 17px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 数据条 ---------- */
.stats-band {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.stat { text-align: center; }
.stat strong {
    display: block;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- 通用段落 ---------- */
.home-section { padding: 64px 0 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin: 0 0 6px; font-size: 30px; }
.section-sub {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
}
.section-desc { margin: 0; color: var(--muted); }

/* ---------- 卡片 ---------- */
.card-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-thumb {
    position: relative;
    display: block;
    height: 150px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    background-size: cover;
    background-position: center;
}
.svc-card .card-thumb {
    margin: -26px -22px 18px;
    border-radius: 7px 7px 0 0;
    border-bottom: 3px solid var(--primary);
}
.card-item .card-thumb {
    margin: -20px -20px 16px;
    border-radius: 7px 7px 0 0;
}
.card-thumb-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}
.svc-card .card-thumb .svc-num {
    position: absolute;
    left: 14px;
    bottom: 14px;
    margin: 0;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.svc-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: box-shadow .2s, transform .15s;
}
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-num {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 14px;
}
.svc-card h3 { margin: 0 0 8px; font-size: 17px; }
.svc-card h3 a { color: var(--primary-dark); }
.svc-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--bg);
    transition: box-shadow .2s, transform .15s;
    display: flex;
    flex-direction: column;
}
.card-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-item h3 { margin: 0 0 8px; font-size: 16px; }
.card-item h3 a { color: var(--primary-dark); }
.card-item p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }

.card-more { margin-top: auto; font-size: 14px; font-weight: 600; }

.news-item .news-date { color: var(--muted); font-size: 13px; margin-bottom: 6px; }

.case-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    transition: box-shadow .2s, transform .15s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-cover {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    background-size: cover;
    background-position: center;
}
.case-body { padding: 18px 20px; }
.case-body h3 { margin: 0 0 8px; font-size: 16px; }
.case-body h3 a { color: var(--primary-dark); }
.case-body p { margin: 0; color: var(--muted); font-size: 14px; }

.empty-hint {
    border: 1px dashed var(--line);
    background: var(--bg-alt);
    color: var(--muted);
    text-align: center;
    padding: 28px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}
.empty-hint + .empty-hint, .card-grid + .empty-hint { margin-bottom: 0; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary), var(--primary-light));
    color: #fff;
    margin: 56px 0 0;
    text-align: center;
}
.cta-inner { padding-top: 56px; padding-bottom: 60px; }
.cta-inner h3 { margin: 0 0 10px; color: #fff; font-size: 26px; }
.cta-inner p { margin: 0 0 24px; color: #c9d8ee; }

/* ---------- 内页标题条 ---------- */
.page-title-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.page-title-bar .container {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    padding-bottom: 26px;
}
.page-title-bar h1 { margin: 0; font-size: 28px; }
.crumb { color: var(--muted); font-size: 13px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }

/* ---------- 内页正文 ---------- */
.page-section { padding-top: 40px; padding-bottom: 60px; }
.block-head {
    margin: 44px 0 24px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    font-size: 22px;
}
.entry-content { color: var(--text); }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .6em; }
.entry-content img { display: block; margin: 1.4em auto; border-radius: var(--radius); }
.entry-content blockquote {
    margin: 1.4em 0;
    padding: 10px 18px;
    border-left: 4px solid var(--accent);
    background: var(--bg-alt);
    color: var(--muted);
}
.entry-content a { text-decoration: underline; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 1.4em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; }
.entry-content th { background: var(--bg-alt); }
.entry-content code, .entry-content kbd {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 13px;
}
.entry-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.4em 0;
}
.entry-content pre code { background: none; border: none; padding: 0; color: inherit; }

/* ---------- 列表/归档 ---------- */
.archive-list { display: grid; gap: 18px; }
.post-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    background: var(--bg);
    transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow); }
.post-date { color: var(--accent); font-size: 13px; font-weight: 600; }
.post-card h2 { margin: 6px 0 8px; font-size: 20px; }
.post-card h2 a { color: var(--primary-dark); }
.post-card h2 a:hover { color: var(--primary); }
.post-card p { margin: 0 0 10px; color: var(--muted); }

.more-link { margin-top: 24px; }
.more-link a { font-weight: 600; color: var(--primary); }

.pager {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 36px 0 0;
    flex-wrap: wrap;
}
.pager a, .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager span { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ---------- 文章 ---------- */
.narrow { max-width: 860px; }
.wide-entry .entry-content p, .wide-entry .entry-content ul, .wide-entry .entry-content ol { font-size: 16px; }
.post-single { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.post-title { margin: 0 0 14px; font-size: 30px; }
.post-meta-line {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.post-tags { color: var(--muted); }
.post-near {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    font-size: 14px;
    flex-wrap: wrap;
}
.post-near a { color: var(--primary); }

/* ---------- 联系 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.contact-card {
    border: 1px solid var(--line);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px 22px;
    background: var(--bg);
}
.contact-card h4 { margin: 0 0 8px; font-size: 16px; }
.contact-card p { margin: 0; color: var(--muted); }

/* ---------- 评论 ---------- */
#comments { margin-top: 8px; }
#comments h3 { font-size: 18px; margin: 0 0 18px; }
#comments ol.comment-list { list-style: none; }
#comments .comment-list, #comments .comment-list .comment-list { margin-bottom: 16px; }
#comments .comment-body {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 16px;
    background: var(--bg);
}
#comments .comment-parent, #comments .comment-children .comment-body { background: var(--bg-alt); }
#comments .comment-author { font-size: 14px; color: var(--primary); font-weight: 600; }
#comments .comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
#comments .comment-content { color: var(--text); }
#comments .respond { margin-top: 28px; }
#comments .respond h3 { font-size: 20px; }
#comments .respond form p { margin: 0 0 14px; }
#comments .respond label { display: block; margin-bottom: 4px; font-size: 14px; color: var(--muted); }
#comments .respond input[type="text"],
#comments .respond input[type="email"],
#comments .respond input[type="url"],
#comments .respond textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    max-width: 560px;
}
#comments .respond input:focus, #comments .respond textarea:focus { outline: none; border-color: var(--accent); }
#comments .respond .submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 14px;
    cursor: pointer;
}
#comments .respond .submit:hover { background: var(--primary-light); }

/* ---------- 页脚 ---------- */
.site-footer {
    background: #0d1b2e;
    color: #b7c7dd;
    margin-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-top: 52px;
    padding-bottom: 44px;
}
.footer-col h3, .footer-col h4 { color: #fff; margin: 0 0 16px; }
.footer-col h4 { font-size: 16px; }
.footer-col p { margin: 0 0 12px; }
.footer-contact li, .footer-links li { margin-bottom: 8px; }
.footer-contact { margin-top: 18px; }
.footer-links a, .footer-contact { color: #b7c7dd; }
.footer-links a:hover { color: #fff; }
.footer-desc { font-size: 14px; }
.copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 13px;
    color: #8fa3bd;
}
.copyright a { color: #c9d8ee; }

/* ---------- 404 ---------- */
.error-404 {
    text-align: center;
    padding: 70px 0;
}
.error-404 h2 { font-size: 34px; margin: 0 0 12px; }
.error-404 p { color: var(--muted); margin: 0 0 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-slide { min-height: 460px; }
    .hero-title { font-size: 34px; }
    .hero-inner { padding-top: 56px; padding-bottom: 68px; }
}

@media (max-width: 768px) {
    .topbar-hide-mb { display: none; }
    .header-inner { flex-wrap: wrap; min-height: 60px; }
    .nav-toggle-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 8px;
    }
    .nav-toggle-btn span {
        width: 22px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 14px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 24px rgba(11, 58, 111, .12);
        z-index: 200;
    }
    .header-inner { position: relative; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .header-cta { display: none; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .card-grid-4 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-hero .swiper-button-prev,
    .home-hero .swiper-button-next { display: none; }
    .hero-slide { min-height: 380px; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 15px; }
    .hero-inner { padding-top: 44px; padding-bottom: 56px; }
    .page-title-bar .container { padding-top: 20px; padding-bottom: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; padding-bottom: 34px; }
    .site-footer { margin-top: 50px; }
}