﻿@font-face {
    font-family: "Source Han Sans SC";
    src: url("../fonts/SourceHanSansK-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-page: #eef3f9;
    --bg-surface: #ffffff;
    --bg-soft: #f5f8fc;
    --bg-header: #0a3c72;
    --bg-header-deep: #072f5b;
    --text-main: #1f2a37;
    --text-muted: #5a6b80;
    --text-light: #e8f0fa;
    --primary: #0f62a8;
    --primary-soft: #e7f1ff;
    --success: #27ae60;
    --border: #d8e2ef;
    --shadow: 0 16px 36px rgba(8, 45, 84, 0.08);
    --radius-card: 16px;
    --radius-pill: 999px;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

* {
    box-sizing: border-box;
}

body {
    color: var(--text-main);
    background: linear-gradient(180deg, #f2f6fc 0%, #e9f0f8 100%);
    font-family: "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

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

.content-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(135deg, var(--bg-header) 0%, var(--bg-header-deep) 100%);
    box-shadow: 0 8px 24px rgba(0, 34, 68, 0.16);
    color: #fff;
}

.topbar {
    padding: 20px 0 16px;
    text-align: center;
}

.topbar h1 {
    margin: 0;
    font-size: clamp(28px, 2.7vw, 42px);
    line-height: 1.2;
    letter-spacing: 0.6px;
    font-weight: 700;
}

.topbar .contact-line {
    margin: 8px 0 0;
    font-size: clamp(14px, 1.1vw, 17px);
    color: var(--text-light);
    opacity: 0.95;
}

.navbar {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.nav-list a {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 64px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -220px;
    background: radial-gradient(circle at center, rgba(15, 98, 168, 0.16), rgba(15, 98, 168, 0));
}

.hero::after {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: -170px;
    background: radial-gradient(circle at center, rgba(39, 174, 96, 0.12), rgba(39, 174, 96, 0));
}

.hero-inner {
    position: relative;
    background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
    border: 1px solid #dce8f8;
    border-radius: 22px;
    padding: 40px 44px;
    box-shadow: var(--shadow);
}

.hero-kicker {
    margin: 0;
    color: var(--primary);
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 600;
    letter-spacing: 1px;
}

.hero h2 {
    margin: 12px 0 10px;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.25;
    letter-spacing: 0.4px;
    color: #17365f;
}

.hero-desc {
    margin: 0;
    max-width: 760px;
    color: var(--text-muted);
    font-size: clamp(16px, 1.2vw, 19px);
}

.main {
    width: min(1120px, calc(100% - 32px));
    margin: 26px auto 34px;
}

.sub-hero {
    padding: 34px 0 38px;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 26px 28px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.section-head {
    margin-bottom: 16px;
}

.section-head h3 {
    margin: 0;
    font-size: clamp(24px, 1.95vw, 32px);
    color: #123e70;
    line-height: 1.3;
}

.section-head p {
    margin: 8px 0 0;
    font-size: clamp(14px, 1.05vw, 16px);
    color: var(--text-muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-item {
    background: var(--bg-soft);
    border: 1px solid #deebfa;
    border-radius: 12px;
    padding: 14px 14px 15px;
    min-height: 106px;
}

.service-item h4 {
    margin: 0;
    color: #144e86;
    font-size: clamp(18px, 1.2vw, 20px);
    line-height: 1.35;
}

.service-item p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: clamp(13px, 0.95vw, 14px);
    line-height: 1.55;
}

.feature-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-item {
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 16px 14px;
}

.feature-item h4 {
    margin: 0;
    font-size: clamp(17px, 1.15vw, 20px);
    line-height: 1.4;
    color: #144e86;
}

.feature-item p {
    margin: 7px 0 0;
    font-size: clamp(14px, 0.98vw, 15px);
    line-height: 1.7;
    color: #52657a;
}

.home-news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home-news-list {
    list-style: none;
    margin: 10px 0 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.home-news-list li a {
    color: #334155;
    line-height: 1.65;
}

.home-news-list li a:hover {
    color: #0f62a8;
    text-decoration: underline;
}

.home-news-empty {
    margin: 10px 0 12px;
}

.home-honor-carousel {
    position: relative;
    padding: 0 40px;
}

.home-honor-viewport {
    overflow: hidden;
}

.home-honor-track {
    display: flex;
    gap: 12px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.home-honor-card {
    flex: 0 0 calc((100% - 24px) / 3);
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px;
}

.home-honor-thumb {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #dce8f8;
    background: #eef5ff;
    height: 170px;
}

.home-honor-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-honor-card h4 {
    margin: 8px 0 0;
    font-size: 14px;
    color: #144e86;
    line-height: 1.5;
}

.home-honor-nav {
    position: absolute;
    top: 50%;
    margin-top: -18px;
    width: 36px;
    height: 36px;
    border: 1px solid #d7e5fa;
    border-radius: 999px;
    background: #fff;
    color: #2c4d73;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.home-honor-prev {
    left: 0;
}

.home-honor-next {
    right: 0;
}

.home-honor-dots {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-honor-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: #c6d8ee;
    padding: 0;
    cursor: pointer;
}

.home-honor-dot.active {
    background: #0f62a8;
}

.page-content {
    color: #334155;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.9;
}

.page-content h4 {
    margin: 0 0 8px;
    color: #144e86;
    font-size: clamp(18px, 1.2vw, 21px);
}

.page-content p {
    margin: 0 0 12px;
}

.page-content ul {
    margin: 0 0 12px 1.2em;
    padding: 0;
}

.page-content ol {
    margin: 0 0 12px 1.2em;
    padding: 0;
}

.page-content li {
    margin-bottom: 6px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.certificate-card {
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px;
}

.certificate-thumb {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #dce8f8;
    background: #eef5ff;
    aspect-ratio: 4 / 3;
}

.certificate-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certificate-card h4 {
    margin: 10px 0 0;
    font-size: clamp(15px, 1vw, 17px);
    color: #144e86;
    line-height: 1.5;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    border-bottom: 1px solid #deebfa;
}

.faq-category {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e9f2ff;
    border: 1px solid #d7e5fa;
    color: #2f537c;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.faq-question {
    color: #123e70;
    font-size: clamp(15px, 1.02vw, 17px);
    line-height: 1.5;
    font-weight: 600;
}

.faq-answer {
    padding: 12px 14px 14px;
    color: #334155;
    line-height: 1.85;
    font-size: clamp(14px, 1vw, 16px);
}

.faq-pagination {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.faq-pagination .pagination {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.faq-pagination .pagination li {
    margin: 0;
}

.faq-pagination .pagination li a,
.faq-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    color: #2b4d73;
    border-color: #d7e5fa;
    background: #fff;
    border: 1px solid #d7e5fa;
    border-radius: 8px;
    line-height: 1;
    text-decoration: none;
}

.faq-pagination .pagination > .active > span,
.faq-pagination .pagination > .active > span:hover,
.faq-pagination .pagination > .active > a,
.faq-pagination .pagination > .active > a:hover {
    background-color: #0f62a8;
    border-color: #0f62a8;
    color: #fff;
}

.faq-pagination .pagination > .disabled > span {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.article-card {
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 16px 14px;
}

.article-card h4 {
    margin: 0;
    line-height: 1.45;
    font-size: 20px;
}

.article-card h4 a {
    color: #124d84;
}

.article-summary {
    margin: 8px 0 10px;
    color: #52657a;
    line-height: 1.75;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 10px;
}

.article-link {
    color: #0f62a8;
    font-size: 14px;
    font-weight: 600;
}

.article-detail-card .article-content {
    margin-top: 8px;
}

.article-actions {
    margin-top: 16px;
}

.checkup-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.checkup-legend span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #d7e5fa;
    font-size: 13px;
    color: #35506e;
}

.checkup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkup-question {
    border: 1px solid #deebfa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 14px;
}

.checkup-question h4 {
    margin: 0 0 10px;
    color: #144e86;
    font-size: clamp(16px, 1.1vw, 19px);
    line-height: 1.45;
}

.checkup-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkup-options label {
    display: block;
    border: 1px solid #e0ecf9;
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    cursor: pointer;
}

.checkup-options input[type="radio"] {
    margin-right: 6px;
}

.checkup-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.btn-reset {
    border: 1px solid #d5e2f3;
    background: #fff;
    color: #3d5672;
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
}

.checkup-error {
    margin: 4px 0 0;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
}

.checkup-result {
    margin-top: 14px;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #d5e2f3;
    background: #f8fbff;
}

.checkup-result h4 {
    margin: 0 0 8px;
}

.checkup-result p {
    margin: 0 0 6px;
}

.checkup-thresholds {
    margin: 8px 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkup-threshold {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
}

.threshold-green {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #237804;
}

.threshold-yellow {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #ad6800;
}

.threshold-red {
    background: #fff1f0;
    border: 1px solid #ffccc7;
    color: #a8071a;
}

.checkup-result.risk-green {
    border-color: #9bd272;
    background: #eaf8e3;
}

.checkup-result.risk-yellow {
    border-color: #efcf72;
    background: #fff5cf;
}

.checkup-result.risk-red {
    border-color: #ef9a9a;
    background: #ffe4e4;
}

.wechat-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.wechat-popup-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.wechat-popup-panel {
    position: relative;
    width: min(460px, calc(100% - 28px));
    margin: 16vh auto 0;
    background: #fff;
    border: 1px solid #d7e5fa;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 35, 62, 0.22);
    padding: 18px 18px 16px;
}

.wechat-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.wechat-popup-panel h4 {
    margin: 0 0 8px;
    color: #123e70;
    font-size: 21px;
}

.wechat-popup-panel p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.wechat-qrcode {
    margin-top: 12px;
    padding: 10px;
    border: 1px dashed #9ec1ea;
    border-radius: 10px;
    background: #f4f9ff;
    text-align: center;
}

.wechat-qrcode img {
    display: block;
    width: min(230px, 100%);
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #d7e5fa;
    background: #fff;
}

.wechat-code {
    margin-top: 12px !important;
    padding: 10px 12px;
    border: 1px dashed #9ec1ea;
    border-radius: 10px;
    background: #f4f9ff;
    color: #0f62a8 !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.cta-card {
    text-align: center;
}

.cta-card h3 {
    margin: 0;
    font-size: clamp(22px, 1.7vw, 30px);
    color: #123e70;
}

.cta-card p {
    margin: 8px auto 18px;
    max-width: 680px;
    font-size: clamp(14px, 1.02vw, 16px);
    color: var(--text-muted);
}

.cta-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #0f62a8 0%, #0d4f86 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(9, 78, 136, 0.24);
}

.advantage-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.advantage-list li {
    position: relative;
    margin-bottom: 10px;
    padding: 10px 12px 10px 48px;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #e2edf8;
    color: #334155;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.65;
}

.advantage-list li:last-child {
    margin-bottom: 0;
}

.advantage-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.advantage-list li::after {
    content: "✓";
    position: absolute;
    left: 19px;
    top: 50%;
    margin-top: -9px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.advantage-list strong {
    display: inline-block;
    margin-right: 6px;
    color: #1a3f70;
    font-weight: 600;
}

.site-footer {
    background: linear-gradient(180deg, #0c3a6e 0%, #082b53 100%);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px 16px 24px;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.8;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .hero {
        padding: 42px 0 46px;
    }

    .sub-hero {
        padding: 24px 0 28px;
    }

    .hero-inner {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .card {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 640px) {
    .content-wrap,
    .main {
        width: calc(100% - 24px);
    }

    .topbar {
        padding: 16px 0 14px;
    }

    .nav-list {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 12px;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    .nav-list a {
        flex: 0 0 auto;
        padding: 7px 14px;
    }

    .hero h2 {
        margin-top: 8px;
    }

    .hero-desc {
        line-height: 1.7;
    }

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

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

    .home-honor-carousel {
        padding: 0 34px;
    }

    .home-honor-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }

    .home-honor-thumb {
        height: 150px;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: 90px;
    }

    .checkup-options {
        grid-template-columns: 1fr;
    }

    .checkup-actions {
        flex-wrap: wrap;
    }

    .advantage-list li {
        padding: 9px 10px 9px 42px;
    }

    .advantage-list li::before {
        left: 12px;
        width: 18px;
        height: 18px;
        margin-top: -9px;
    }

    .advantage-list li::after {
        left: 16px;
        margin-top: -8px;
        font-size: 11px;
    }

    .home-honor-carousel {
        padding: 0 28px;
    }

    .home-honor-card {
        flex: 0 0 100%;
    }

    .home-honor-thumb {
        height: 140px;
    }

    .home-honor-nav {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        font-size: 18px;
    }
}
