:root {
    --brand: #0b57a4;
    --brand-dark: #083f78;
    --ink: #1c2430;
    --muted: #5d6a7a;
    --line: #e3e8ef;
    --bg-soft: #f5f7fa;
    --radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background: #fff;
}

img { max-width: 100%; display: block; }

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

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ── 头部 ─────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.brand img { height: 40px; width: auto; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--brand-dark);
}

.nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 15px;
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover { color: var(--brand); }

.nav-link.active {
    color: var(--brand);
    border-bottom-color: var(--brand);
    font-weight: 600;
}

.header-contact .hotline {
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

/* ── 首屏 ─────────────────────────────── */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(120deg, #071019, #0b2237 60%, #123a55);
    overflow: hidden;
}

.hero-slides,
.hero-veil {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.1s ease, transform 7s ease-out;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-veil {
    background:
        linear-gradient(96deg, rgba(6, 12, 20, .9) 0%, rgba(6, 12, 20, .68) 38%, rgba(6, 12, 20, .28) 68%, rgba(6, 12, 20, .5) 100%),
        linear-gradient(0deg, rgba(6, 12, 20, .55), rgba(6, 12, 20, 0) 55%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 110px 0 96px;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.25;
    margin: 0 0 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .9);
    margin: 0 0 30px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.hero-dot {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .34);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, .62); }

.hero-dot.is-active {
    width: 52px;
    background: #fff;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
}

/* ── 页头（内页）─────────────────────── */
.page-hero {
    position: relative;
    padding: 72px 0 56px;
    color: #fff;
    background: linear-gradient(120deg, #0b3f74, #0b57a4);
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}

.page-hero .inner { position: relative; }

.page-hero h1 { margin: 0 0 8px; font-size: 32px; }

.page-hero p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ── 通用区块 ─────────────────────────── */
.section { padding: 72px 0; }

.section.soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 44px; }

.section-head h2 {
    font-size: 28px;
    margin: 0 0 10px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.split img { border-radius: var(--radius); }

/* 无配图时退出双栏，正文改为整行两栏（杂志式）排版，避免右侧大片留白 */
.split.no-media { display: block; }
.prose.cols {
    column-count: 2;
    column-gap: 56px;
}
.prose.cols p { break-inside: avoid; }

.prose { color: #35404f; }
.prose h2, .prose h3 { color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose img { border-radius: 8px; margin: 16px 0; max-width: 100%; height: auto; }
.prose iframe { max-width: 100%; }

/* ── 数据 ─────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.stat .num {
    font-size: 34px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.1;
}

.stat .label { color: var(--muted); font-size: 14px; }

/* ── 卡片网格 ─────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16, 42, 67, .12);
}

.card .thumb {
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
    object-fit: cover;
    width: 100%;
}

.card .body { padding: 20px 22px 24px; }

.card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.card .meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.card .more {
    margin-top: 14px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

/* ── 列表 ─────────────────────────────── */
.list { display: flex; flex-direction: column; gap: 0; }

.list-item {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
}

.list-item:first-child { border-top: 1px solid var(--line); }

.list-item .date {
    min-width: 92px;
    color: var(--muted);
    font-size: 14px;
}

.list-item h3 { margin: 0; font-size: 16px; font-weight: 600; }

.list-item:hover h3 { color: var(--brand); }

/* ── 列表分页（与导航一致：无边框、品牌色下划线） ── */
.pager-meta {
    margin: 28px 0 2px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 22px;
    padding: 8px 0 12px;
}

.pager-num,
.pager-btn,
.pager-gap {
    font-size: 15px;
    padding: 4px 2px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.pager-btn { color: var(--ink); }

.pager-num:hover,
.pager-btn:hover { color: var(--brand); }

.pager-num.is-active {
    color: var(--brand);
    border-bottom-color: var(--brand);
    font-weight: 600;
}

.pager-btn.is-disabled {
    color: #c4ccd6;
    pointer-events: none;
}

.pager-gap {
    padding: 0;
    color: #b6bfc9;
    user-select: none;
}

/* ── 移动端导航 ───────────────────────── */
.nav-toggle { display: none; }

/* ── 产品详情 ─────────────────────────── */
.product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.product-gallery img {
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 0;
    font-size: 15px;
}

.spec-table th, .spec-table td {
    border: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
}

.spec-table th {
    background: var(--bg-soft);
    width: 34%;
    font-weight: 600;
    color: var(--muted);
}

/* ── 时间轴 ───────────────────────────── */
.timeline {
    position: relative;
    margin: 40px 0 0;
    padding-left: 26px;
    border-left: 2px solid var(--line);
}

.timeline-item { position: relative; padding: 0 0 28px 22px; }

.timeline-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(11, 87, 164, .15);
}

.timeline-item .year {
    font-weight: 700;
    color: var(--brand);
    margin-right: 10px;
}

/* ── 联系页 ───────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.info-list li {
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
    display: flex;
    gap: 12px;
}

.info-list .k { color: var(--muted); min-width: 84px; }

/* ── 页脚 ─────────────────────────────── */
.site-footer {
    background: #0d1a29;
    color: rgba(255, 255, 255, .72);
    margin-top: 0;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin: 0 0 14px;
    font-size: 15px;
}

.footer-col p { margin: 0 0 8px; font-size: 14px; }

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    font-size: 13px;
}

.footer-bottom .container {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* ── 客户标志墙 ───────────────────────── */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.logo-wall .logo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.logo-wall .logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(16, 42, 67, .10);
}

.logo-wall img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
}

/* 股东 logo 墙：数量少时居中收窄，不占满整行 */
.logo-wall.compact {
    grid-template-columns: repeat(3, minmax(0, 240px));
    justify-content: center;
}

/* ── 图库（照片墙）────────────────────── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.photo-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-grid img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
}

.photo-grid figcaption {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.photo-grid.patent { grid-template-columns: repeat(5, 1fr); }
.photo-grid.patent img { aspect-ratio: 3 / 4; object-fit: contain; background: #fff; }

.org-chart {
    display: block;
    margin: 30px auto 0;
    max-width: 860px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
}

/* ── 新闻页公众号卡片 ─────────────────── */
.wx-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft, #f6f8fa);
}
.wx-qr {
    width: 110px;
    height: 110px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    flex: none;
}
.wx-info h3 { margin: 0 0 6px; font-size: 17px; }
.wx-info p { margin: 0 0 4px; font-size: 14px; color: #5d6a7a; }
.wx-info .wx-desc { margin-bottom: 0; }
.wx-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 400;
    vertical-align: middle;
    color: #1aad19;
    border: 1px solid #1aad19;
    border-radius: 10px;
}

/* ── 响应式 ───────────────────────────── */
@media (max-width: 960px) {
    .split, .product-top, .contact-grid { grid-template-columns: 1fr; }
    .prose.cols { column-count: 1; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid.patent { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }

    /* 汉堡按钮 + 下拉导航面板 */
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 10px 4px 10px 14px;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform .2s, opacity .2s;
    }

    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .header-contact { margin-left: auto; }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        margin-left: 0;
        flex-direction: column;
        gap: 0;
        padding: 4px 4% 12px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 28px rgba(12, 30, 50, .08);
    }

    body.nav-open .nav { display: flex; }

    .nav-link {
        padding: 13px 2px;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }

    .nav-link.active {
        color: var(--brand);
        border-bottom-color: var(--line);
    }

    .nav-link:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
    .grid, .stats, .logo-wall { grid-template-columns: 1fr; }
    .photo-grid, .photo-grid.patent { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .header-contact { display: none; }
    .brand img { height: 32px; }
    .brand-text { font-size: 15px; }
    .header-inner { height: 60px; gap: 12px; }
    .nav { top: 60px; }
}
