/* ============ 基础与变量 ============ */
:root {
    --ink: #10233a;
    --ink-2: #243b55;
    --muted: #5b6b7b;
    --line: #e3ebf1;
    --bg: #f5f8fb;
    --card: #ffffff;
    --primary: #1c5d99;
    --primary-dark: #154a7d;
    --accent: #16a394;
    --accent-light: #2dd4bf;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 35, 58, 0.10);
    --shadow-sm: 0 4px 16px rgba(16, 35, 58, 0.08);
    --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ 顶部联系条 ============ */
.topbar {
    background: var(--ink);
    color: #c9d6e2;
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.topbar-item { white-space: nowrap; }

/* ============ 导航 ============ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}
.brand-logo { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; letter-spacing: 1px; }
.brand-text small { font-size: 12px; color: var(--muted); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    color: var(--ink-2);
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 8px;
}
.nav-link:hover { color: var(--primary); background: var(--bg); }
.nav-link.active { color: var(--primary); font-weight: 600; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.5);
    color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost {
    background: var(--bg);
    color: var(--primary);
}
.nav-cta { padding: 10px 18px; margin-left: 8px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
}

/* ============ Hero 首屏 ============ */
.hero {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(45, 212, 191, .18), transparent 60%),
        linear-gradient(135deg, #10233a 0%, #1c3d5e 55%, #154a7d 100%);
    color: #fff;
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.hero-inner { max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--accent-light);
    border: 1px solid rgba(45, 212, 191, .4);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 20px;
}
.hero p.lead {
    font-size: 18px;
    color: #d7e3ee;
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 内页横幅 */
.page-banner {
    background: linear-gradient(135deg, #10233a 0%, #1c3d5e 100%);
    color: #fff;
    padding: 56px 0;
}
.page-banner h1 { font-size: 32px; margin-bottom: 10px; }
.page-banner p { color: #c9d6e2; max-width: 640px; }
.breadcrumb { font-size: 13px; color: #9fb4c6; margin-bottom: 12px; }
.breadcrumb a { color: #c9d6e2; }

/* ============ 通用区块 ============ */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}
.section-head .eyebrow {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
}
.section-head h2 {
    font-size: 30px;
    margin: 10px 0 12px;
}
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 卡片 */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(28,93,153,.1), rgba(22,163,148,.12));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
    font-size: 13px;
    color: var(--primary);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 4px 12px;
    border-radius: 999px;
}

/* 优势条 */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 36px 0;
    text-align: center;
}
.stat-num { font-size: 30px; font-weight: 700; color: var(--primary); }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* 流程 */
.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    counter-reset: step;
}
.process-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    position: relative;
}
.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 10px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 14px; }

/* 案例 */
.case-card { display: flex; flex-direction: column; }
.case-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.case-category {
    font-size: 13px;
    color: var(--accent);
    background: rgba(22,163,148,.1);
    padding: 4px 12px;
    border-radius: 999px;
}
.case-year { color: var(--muted); font-size: 13px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }

/* 新闻列表 */
.news-list { display: grid; gap: 18px; }
.news-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.news-date {
    flex-shrink: 0;
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 24px;
}
.news-date .day { font-size: 26px; font-weight: 700; color: var(--primary); }
.news-date .ym { font-size: 13px; color: var(--muted); }
.news-item h3 { font-size: 18px; margin-bottom: 6px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { color: var(--muted); font-size: 15px; }

/* 新闻详情 */
.article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.article-body { font-size: 16px; color: var(--ink-2); }
.article-body p { margin-bottom: 16px; }
.back-link { display: inline-flex; margin-top: 24px; }

/* 关于页 */
.about-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-points { display: grid; gap: 14px; margin-top: 20px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.about-points li::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 10px;
    flex-shrink: 0;
}

/* 时间轴 */
.timeline { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.timeline-item {
    display: grid;
    grid-template-columns: 140px 28px 1fr;
    gap: 0;
    padding-bottom: 32px;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: 153px;
    top: 18px;
    bottom: 0;
    width: 2px;
    background: var(--line);
}
.timeline-item:last-child::before { display: none; }
.timeline-year { font-weight: 600; color: var(--primary); text-align: right; padding-right: 18px; }
.timeline-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    margin: 6px 0 0 7px;
    z-index: 1;
}
.timeline-content h4 { font-size: 17px; margin-bottom: 4px; }
.timeline-content p { color: var(--muted); font-size: 15px; }

/* 联系表单 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
.contact-info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { margin-bottom: 20px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-line .ico {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-line strong { display: block; font-size: 14px; color: var(--accent-light); }
.contact-line span { color: #d7e3ee; font-size: 15px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--ink-2); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: var(--bg);
    color: var(--ink);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
}
.alert-success { background: rgba(22,163,148,.1); color: var(--accent); border: 1px solid rgba(22,163,148,.3); }
.alert-error { background: rgba(220,80,80,.08); color: #c0392b; border: 1px solid rgba(220,80,80,.25); }

/* CTA 区块 */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h3 { font-size: 24px; margin-bottom: 8px; }
.cta-band p { color: #e6f4f1; }

/* ============ 页脚 ============ */
.site-footer { background: var(--ink); color: #c9d6e2; margin-top: 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 36px;
    padding: 56px 20px 36px;
}
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-desc { margin-top: 16px; font-size: 14px; color: #9fb4c6; }
.footer-links li, .footer-contact li { margin-bottom: 10px; font-size: 14px; }
.footer-links a { color: #c9d6e2; }
.footer-links a:hover { color: var(--accent-light); }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #9fb4c6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    font-size: 13px;
    color: #9fb4c6;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-bottom a { color: #9fb4c6; }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar-hide-sm { display: none; }
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        gap: 4px;
        display: none;
    }
    .site-nav.open { display: flex; }
    .nav-link { padding: 12px 10px; }
    .nav-cta { margin: 8px 0 0; }
    .hero { padding: 56px 0; }
    .hero h1 { font-size: 30px; }
    .section { padding: 52px 0; }
    .grid-3, .grid-2, .process { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .news-item { flex-direction: column; gap: 12px; }
    .news-date { border-right: 0; padding-right: 0; display: flex; gap: 8px; align-items: baseline; }
    .form-row { grid-template-columns: 1fr; }
    .article { padding: 24px; }
    .cta-band { padding: 28px; }
    .timeline-item { grid-template-columns: 92px 24px 1fr; }
    .timeline-item::before { left: 105px; }
}
