/* ============================================================
   湖南交安建设集团有限公司官网主题 — 科技中蓝 (中等提亮，对标专业科技风)
   覆盖 powermos/style.css 与 heaferfooter.css 的品牌色
   ============================================================ */

:root {
    /* 品牌色彩体系 */
    --nhjt-primary: #0A3868;        /* 科技中蓝 - 主色（中等提亮） */
    --nhjt-primary-light: #124A8C;   /* 科技中蓝 - 浅 */
    --nhjt-accent: #2A72C2;         /* 鲜明蓝 - 辅助/CTA */
    --nhjt-accent-deep: #1F60B5;    /* 鲜明蓝 - 悬停加深 */
    --nhjt-glow: #6FA8E0;           /* 冰蓝微光 - 点缀 */
    --nhjt-base: #F7F9FC;           /* 极简灰白 - 页面底色 */
    --nhjt-surface: #FFFFFF;        /* 白底版块 - 与页面底色分离 */
    --nhjt-surface-alt: #EEF2F8;    /* 浅灰底版块 - 比 base 深，可见的交替色块 */
    --nhjt-ink: #1A2332;            /* 深灰黑 - 主文字 */
    --nhjt-ink-light: #6B7A90;      /* 浅灰 - 辅助文字 */
    --nhjt-border: #E6EDF5;         /* 边框色 */
}

/* ===== 通用品牌色覆盖 ===== */
a { color: var(--nhjt-accent); }
a:hover { color: var(--nhjt-accent-deep); }

/* ===== 按钮 ===== */
.btn-primary {
    background: var(--nhjt-accent);
    border-color: var(--nhjt-accent);
}
.btn-primary:hover {
    background: var(--nhjt-accent-deep);
    border-color: var(--nhjt-accent-deep);
}

/* ===== 页面容器 ===== */
.nhjt-page {
    background: var(--nhjt-base);
    color: var(--nhjt-ink);
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== 区块标题 ===== */
.nhjt-section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--nhjt-ink);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.nhjt-section-subtitle {
    font-size: clamp(14px, 1.5vw, 17px);
    color: var(--nhjt-ink-light);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ===== 首页 Banner（滚动驱动 Hero） ===== */
.nhjt-banner .swiper-slide {
    position: relative;
    overflow: hidden;
}
.nhjt-banner .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.nhjt-banner .swiper-slide .banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10,56,104,0.15) 0%, rgba(10,56,104,0.55) 100%);
    z-index: 1;
}

/* ===== 首页 Hero Banner 轮播（16:9 完整展示高清图，避免 100vh+cover 裁切） ===== */
.nhjt-banner-hero {
    position: relative;
    width: 100%;
    /* 与 banner 源图 2560×1440 同比例，完整显示不被视口裁切 */
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background: #0A1F3D;
}
/* 旧浏览器无 aspect-ratio 时的回退 */
@supports not (aspect-ratio: 16 / 9) {
    .nhjt-banner-hero {
        height: 0;
        padding-bottom: 56.25%;
    }
    .nhjt-banner-hero .swiper {
        position: absolute;
        inset: 0;
    }
}
.nhjt-banner-hero .swiper {
    width: 100%;
    height: 100%;
}
.nhjt-banner-hero .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
}
/* 容器已是 16:9，cover ≈ 完整铺满；单张 <img> 铺满，避免 background + img 双载 */
.nhjt-banner-hero .banner-bg,
.nhjt-banner-hero .banner-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: none;
    transition: none;
    display: block;
}
.nhjt-banner-hero .swiper-slide-active .banner-bg,
.nhjt-banner-hero .swiper-slide-active .banner-bg-img {
    transform: none;
}
/* 兼容旧 markup：隐藏仅 SEO 用的 1px fallback（已不再输出） */
.nhjt-banner-hero .banner-img-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
/* 渐变遮罩：保证白色文字在任何照片上都清晰 */
.nhjt-banner-hero .banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7,22,45,0.30) 0%, rgba(7,22,45,0.10) 35%, rgba(7,22,45,0.62) 100%);
}
/* 第一张轮播整图可点击：透明覆盖层接住整片图片的点击 */
.nhjt-banner-hero .banner-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: transparent;
}
/* 文字覆盖层：左下对齐，呼吸式淡入 */
.nhjt-banner-hero .banner-caption {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 14%;
    padding: 0 8vw;
    color: #fff;
    max-width: 860px;
}
.nhjt-banner-hero .banner-title {
    font-size: clamp(30px, 4.6vw, 60px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.55);
}
.nhjt-banner-hero .banner-subtitle {
    font-size: clamp(15px, 1.8vw, 22px);
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: 28px;
    letter-spacing: 1px;
    max-width: 640px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.nhjt-banner-hero .banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: rgba(42,114,194,0.88);
    border: 1px solid rgba(111,168,224,0.45);
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.nhjt-banner-hero .banner-btn:hover {
    background: #2A72C2;
    border-color: #6FA8E0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,114,194,0.4);
    color: #fff;
}
.nhjt-banner-hero .banner-arrow {
    transition: transform 0.3s ease;
}
.nhjt-banner-hero .banner-btn:hover .banner-arrow {
    transform: translateX(4px);
}
/* 分页指示器 */
.nhjt-banner-hero .nhjt-banner-pagination {
    position: absolute;
    bottom: 6%;
    left: 8vw;
    z-index: 3;
    display: flex;
    gap: 10px;
    width: auto;
}
.nhjt-banner-hero .nhjt-banner-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all 0.4s ease;
}
.nhjt-banner-hero .nhjt-banner-pagination .swiper-pagination-bullet-active {
    background: #6FA8E0;
    width: 44px;
}
/* 左右箭头 */
.nhjt-banner-hero .nhjt-banner-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}
.nhjt-banner-hero .nhjt-banner-button:hover {
    background: rgba(42,114,194,0.7);
    border-color: #6FA8E0;
}
.nhjt-banner-hero .nhjt-banner-prev { left: 24px; }
.nhjt-banner-hero .nhjt-banner-next { right: 24px; }
/* ===== Hero Banner 响应式（保持 16:9 完整图，只调文字层级） ===== */
@media (max-width: 768px) {
    .nhjt-banner-hero {
        /* 继续用 16:9 完整展示，不再改成 78vh 以免裁切 */
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
    }
    .nhjt-banner-hero .banner-bg,
    .nhjt-banner-hero .banner-bg-img {
        background-position: center center;
        object-position: center center;
        transform: none;
    }
    .nhjt-banner-hero .swiper-slide-active .banner-bg,
    .nhjt-banner-hero .swiper-slide-active .banner-bg-img {
        transform: none;
    }
    .nhjt-banner-hero .banner-caption {
        bottom: 12%;
        padding: 0 5vw;
        max-width: 100%;
    }
    .nhjt-banner-hero .banner-title {
        letter-spacing: 0.5px;
        margin-bottom: 10px;
        line-height: 1.25;
        font-size: clamp(22px, 5.5vw, 36px);
    }
    .nhjt-banner-hero .banner-subtitle {
        margin-bottom: 14px;
        line-height: 1.5;
        max-width: 100%;
        font-size: clamp(12px, 3.2vw, 16px);
    }
    .nhjt-banner-hero .banner-btn { padding: 8px 18px; font-size: 12px; }
    .nhjt-banner-hero .nhjt-banner-button { width: 36px; height: 36px; font-size: 16px; }
    .nhjt-banner-hero .nhjt-banner-prev { left: 8px; }
    .nhjt-banner-hero .nhjt-banner-next { right: 8px; }
    .nhjt-banner-hero .nhjt-banner-pagination { left: 5vw; bottom: 6%; }
}

/* 超窄屏：压低标题区与遮罩，保证可读 */
@media (max-width: 480px) {
    .nhjt-banner-hero .banner-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 22, 45, 0.28) 0%,
            rgba(7, 22, 45, 0.10) 30%,
            rgba(7, 22, 45, 0.70) 100%
        );
    }
    .nhjt-banner-hero .banner-caption { bottom: 10%; padding: 0 4.5vw; }
    .nhjt-banner-hero .banner-title { font-size: clamp(20px, 6vw, 28px); margin-bottom: 8px; }
    .nhjt-banner-hero .banner-subtitle { font-size: clamp(12px, 3.4vw, 14px); margin-bottom: 12px; }
    .nhjt-banner-hero .nhjt-banner-button { display: none; }
    .nhjt-banner-hero .nhjt-banner-pagination {
        left: 4.5vw;
        bottom: 5%;
        gap: 6px;
    }
    .nhjt-banner-hero .nhjt-banner-pagination .swiper-pagination-bullet {
        width: 18px;
        height: 3px;
    }
    .nhjt-banner-hero .nhjt-banner-pagination .swiper-pagination-bullet-active {
        width: 28px;
    }
}

/* ===== 核心业务卡片（沉浸式图片卡：整卡=图片，底部渐变叠标题/描述，深浅背景通用） ===== */
.nhjt-business-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    height: 380px;
    background: var(--nhjt-primary);
    box-shadow: 0 12px 34px rgba(10, 56, 104, 0.14);
    transition: transform 0.45s cubic-bezier(.2, .7, .2, 1), box-shadow 0.45s ease;
}
.nhjt-business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(10, 56, 104, 0.28);
}
.nhjt-business-card .card-img {
    position: absolute;
    inset: 0;
    height: 100%;
    overflow: hidden;
    background: var(--nhjt-primary);
}
.nhjt-business-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.nhjt-business-card:hover .card-img img {
    transform: scale(1.09);
}
/* 底部渐变蒙层，保证白字可读 */
.nhjt-business-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(8, 28, 58, 0.94) 8%, rgba(8, 28, 58, 0.6) 40%, rgba(8, 28, 58, 0.12) 72%, rgba(8, 28, 58, 0) 100%);
    transition: background 0.4s ease;
}
/* 序号：底部内容块顶部的强调小标签（card-no 位于 card-body 内） */
.nhjt-business-card .card-no {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--nhjt-accent);
    letter-spacing: 0.14em;
}
.nhjt-business-card .card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 24px 26px;
}
.nhjt-business-card .card-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}
/* 标题下短强调线，hover 加长 */
.nhjt-business-card .card-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--nhjt-accent);
    margin-top: 10px;
    transition: width 0.4s ease;
}
.nhjt-business-card:hover .card-title::after {
    width: 66px;
}
.nhjt-business-card .card-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 品牌矩阵卡片 ===== */
.nhjt-matrix-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--nhjt-border);
    transition: all 0.3s ease;
    height: 100%;
}
.nhjt-matrix-card:hover {
    border-color: var(--nhjt-accent);
    box-shadow: 0 12px 36px rgba(10,56,104,0.1);
    transform: translateY(-4px);
}
.nhjt-matrix-card .matrix-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--nhjt-base);
}
.nhjt-matrix-card .matrix-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nhjt-matrix-card .matrix-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--nhjt-ink);
    margin-bottom: 6px;
    line-height: 1.4;
}
.nhjt-matrix-card .matrix-positioning {
    font-size: 13px;
    color: var(--nhjt-ink-light);
    line-height: 1.5;
}

/* ===== 品牌矩阵：集团金字塔架构（总部 → 产业板块 → 子公司） ===== */
/* 板块配色（与 nhjt_subsidiary.logo_color 枚举对应） + 金字塔连接线色 */
.nhjt-pyramid {
    /* color-primary: 实体智造 */
    --mx-primary: var(--nhjt-accent);
    /* color-security: 安防装备 */
    --mx-security: #C0392B;
    /* color-skyblue: 数字科技 */
    --mx-skyblue: #00A6A6;
    /* color-overseas: 海外布局 */
    --mx-overseas: #E67E22;
    /* 架构连接线：冰蓝渐变，在深空蓝背景上保持可见 */
    --pyramid-line: rgba(143, 194, 255, 0.6);
    --pyramid-line-soft: rgba(143, 194, 255, 0.35);
    position: relative;
    margin-top: 8px;
}

/* —— 第1层·塔尖：集团总部 —— */
.pyramid-apex {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    max-width: 580px;
    margin: 0 auto;
    padding: 18px 34px 18px 20px;
    background: linear-gradient(135deg, var(--nhjt-primary) 0%, var(--nhjt-accent) 65%, var(--nhjt-glow) 100%);
    border: 1px solid rgba(143, 194, 255, 0.55);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(14, 74, 140, 0.35), 0 0 0 4px rgba(143, 194, 255, 0.08);
    color: #fff;
}
.pyramid-apex-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(4px);
}
.pyramid-apex-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pyramid-apex-name {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}
.pyramid-apex-sub {
    font-size: 12px;
    opacity: .9;
    line-height: 1.4;
    margin-bottom: 6px;
}
.pyramid-apex-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.pyramid-apex-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 11px;
    opacity: .92;
    white-space: nowrap;
}
.pyramid-apex-stat b {
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 800;
    color: #fff;
}

/* —— 架构连接线（纯 CSS 树状） —— */
.pyramid-linker {
    position: relative;
    width: 100%;
}
/* 塔尖 → 塔腰干线：居中竖线 + 连接首末板块的横线 */
.pyramid-linker.apex-link {
    height: 34px;
}
.pyramid-linker.apex-link span {
    position: absolute;
    top: 0;
    bottom: 16px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(var(--pyramid-line), var(--pyramid-line-soft));
}
/* 横线：两端淡出，更具层次 */
.pyramid-linker.apex-link::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--pyramid-line);
}
/* 塔尖底部的枢纽节点 */
.pyramid-linker.apex-link::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--nhjt-glow);
    box-shadow: 0 0 0 3px rgba(143, 194, 255, 0.18);
}
/* 每个 branch 顶部：从横线垂直下来连到板块头的小竖线 + 节点 */
.pyramid-branch::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 50%;
    width: 2px;
    height: 18px;
    transform: translateX(-50%);
    background: var(--pyramid-line);
}

/* —— 第2层·塔腰：4 个产业板块横排 —— */
.pyramid-base {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}
.pyramid-branch {
    position: relative;
    display: flex;
    flex-direction: column;
}
.pyramid-board {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px;
    background:
        radial-gradient(circle at 92% 18%, rgba(143, 194, 255, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.88) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(223, 233, 245, 0.95);
    border-top: 4px solid var(--nhjt-border);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(14, 74, 140, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pyramid-board::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -34px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 18px solid rgba(14, 74, 140, 0.035);
    pointer-events: none;
}
.pyramid-board:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(14, 74, 140, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.pyramid-board > * {
    position: relative;
    z-index: 1;
}
.pyramid-branch.color-primary  .pyramid-board { border-top-color: var(--mx-primary); }
.pyramid-branch.color-security .pyramid-board { border-top-color: var(--mx-security); }
.pyramid-branch.color-skyblue  .pyramid-board { border-top-color: var(--mx-skyblue); }
.pyramid-branch.color-overseas .pyramid-board { border-top-color: var(--mx-overseas); }
.pyramid-branch.color-primary  .pyramid-board::after { border-color: rgba(0, 177, 236, 0.08); }
.pyramid-branch.color-security .pyramid-board::after { border-color: rgba(192, 57, 43, 0.08); }
.pyramid-branch.color-skyblue  .pyramid-board::after { border-color: rgba(0, 166, 166, 0.08); }
.pyramid-branch.color-overseas .pyramid-board::after { border-color: rgba(230, 126, 34, 0.08); }
.pyramid-board .dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--nhjt-ink-light);
}
.pyramid-branch.color-primary  .pyramid-board .dot { background: var(--mx-primary); }
.pyramid-branch.color-security .pyramid-board .dot { background: var(--mx-security); }
.pyramid-branch.color-skyblue  .pyramid-board .dot { background: var(--mx-skyblue); }
.pyramid-branch.color-overseas .pyramid-board .dot { background: var(--mx-overseas); }
.pyramid-board-title {
    flex: 1;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 700;
    color: var(--nhjt-ink);
    line-height: 1.3;
}
.pyramid-board-count {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 12px;
    background: rgba(14, 74, 140, 0.06);
    color: var(--nhjt-ink-light);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(14, 74, 140, 0.05);
}
.pyramid-branch.color-primary  .pyramid-board-count { background: rgba(0, 177, 236, 0.12); color: var(--mx-primary); }
.pyramid-branch.color-security .pyramid-board-count { background: rgba(192, 57, 43, 0.12); color: var(--mx-security); }
.pyramid-branch.color-skyblue  .pyramid-board-count { background: rgba(0, 166, 166, 0.12); color: var(--mx-skyblue); }
.pyramid-branch.color-overseas .pyramid-board-count { background: rgba(230, 126, 34, 0.13); color: var(--mx-overseas); }

/* 板块 → 子公司 短连接线 */
.pyramid-linker.branch-link {
    height: 22px;
}
.pyramid-linker.branch-link span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background: var(--pyramid-line);
}

/* —— 第3层·塔基：子公司卡片纵向堆叠 —— */
.pyramid-entities {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pyramid-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 13px 12px 12px;
    text-align: left;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.9) 58%, rgba(239, 246, 255, 0.86) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(223, 233, 245, 0.95);
    border-left: 3px solid var(--nhjt-border);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(14, 74, 140, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pyramid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nhjt-accent), rgba(143, 194, 255, 0));
    opacity: .42;
    pointer-events: none;
}
.pyramid-card::after {
    content: '';
    position: absolute;
    right: -28px;
    top: -30px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(143, 194, 255, 0.08);
    pointer-events: none;
}
.pyramid-card.color-primary  { border-left-color: var(--mx-primary); }
.pyramid-card.color-security { border-left-color: var(--mx-security); }
.pyramid-card.color-skyblue  { border-left-color: var(--mx-skyblue); }
.pyramid-card.color-overseas { border-left-color: var(--mx-overseas); }
.pyramid-card.color-primary::before  { background: linear-gradient(90deg, var(--mx-primary), rgba(0, 177, 236, 0)); }
.pyramid-card.color-security::before { background: linear-gradient(90deg, var(--mx-security), rgba(192, 57, 43, 0)); }
.pyramid-card.color-skyblue::before  { background: linear-gradient(90deg, var(--mx-skyblue), rgba(0, 166, 166, 0)); }
.pyramid-card.color-overseas::before { background: linear-gradient(90deg, var(--mx-overseas), rgba(230, 126, 34, 0)); }
.pyramid-card.color-primary::after  { background: rgba(0, 177, 236, 0.08); }
.pyramid-card.color-security::after { background: rgba(192, 57, 43, 0.08); }
.pyramid-card.color-skyblue::after  { background: rgba(0, 166, 166, 0.08); }
.pyramid-card.color-overseas::after { background: rgba(230, 126, 34, 0.08); }
.pyramid-card.overseas-1 { box-shadow: 0 7px 18px rgba(14, 74, 140, 0.08), 0 0 0 1px rgba(230, 126, 34, 0.22) inset; }
.pyramid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(14, 74, 140, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 177, 236, 0.55);
}
.pyramid-card-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.pyramid-logo {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #edf5ff 100%);
    border: 1px solid rgba(14, 74, 140, 0.08);
    box-shadow: 0 6px 14px rgba(14, 74, 140, 0.08);
}
.pyramid-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pyramid-overseas-flag {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mx-overseas);
    color: #fff;
    font-size: 10px;
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.4);
}
.pyramid-name {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--nhjt-ink);
    line-height: 1.3;
}
.pyramid-positioning {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: var(--nhjt-ink-light);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pyramid-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.pyramid-region-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(14, 74, 140, 0.045);
    border: 1px solid rgba(14, 74, 140, 0.055);
    color: var(--nhjt-ink-light);
}
.pyramid-region-tag .fa { color: var(--nhjt-accent); }
.pyramid-card-arrow {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 74, 140, 0.055);
    color: var(--nhjt-ink-light);
    font-size: 10px;
    box-shadow: inset 0 0 0 1px rgba(14, 74, 140, 0.045);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.pyramid-card:hover .pyramid-card-arrow {
    background: var(--nhjt-accent);
    color: #fff;
    transform: translateX(2px);
}

/* —— 区域布局汇总条 —— */
.pyramid-region-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin: 30px auto 0;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(143, 194, 255, 0.25);
    border-radius: 14px;
}
.pyramid-region-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.pyramid-region-summary-label .fa { color: var(--nhjt-glow); }
.pyramid-region-summary-list { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pyramid-region-chip {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 14px;
    background: rgba(143, 194, 255, 0.16);
    color: #fff;
    font-weight: 600;
}

/* —— 响应式：平板 2 列、手机纵向树 —— */
@media (min-width: 1600px) {
    .pyramid-base { gap: 22px; }
    .pyramid-logo { width: 44px; height: 44px; }
}
@media (max-width: 1199px) {
    /* 2×2 板块布局：横线连接首末(25%~75%) */
    .pyramid-linker.apex-link::after { left: 25%; right: 25%; }
    .pyramid-base { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 991px) {
    /* 单列纵向组织树：隐藏塔腰横线，仅保留中轴竖线 */
    .pyramid-linker.apex-link { height: 26px; }
    .pyramid-linker.apex-link::after { display: none; }
    .pyramid-base { grid-template-columns: 1fr; gap: 22px; }
    .pyramid-apex { max-width: 100%; }
}
@media (max-width: 600px) {
    .pyramid-apex { flex-direction: column; text-align: center; align-items: center; gap: 8px; padding: 16px 18px; }
    .pyramid-apex-stats { justify-content: center; }
    .pyramid-entities { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .pyramid-card, .pyramid-board, .pyramid-card-arrow { transition: none !important; }
}

/* ===== 资质橱窗 ===== */
/* 等宽 1fr 轨道：每列自动拉伸填满行宽，末行右侧不留空白 */
.nhjt-qual-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 992px) {
    .nhjt-qual-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}
@media (max-width: 560px) {
    .nhjt-qual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}
.nhjt-qual-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--nhjt-border);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}
.nhjt-qual-card:hover {
    border-color: var(--nhjt-accent);
    box-shadow: 0 10px 30px rgba(10,56,104,0.12);
    transform: translateY(-4px);
}
/* 证书完整展示：默认 3:2 框用于占位，真图随自然比例撑开、contain 不裁切 */
.nhjt-qual-card .qual-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nhjt-qual-card .qual-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.nhjt-qual-card:hover .qual-img img {
    transform: scale(1.05);
}
.nhjt-qual-card .qual-body {
    padding: 12px 14px;
    text-align: center;
    margin-top: auto;
}
.nhjt-qual-card .qual-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nhjt-ink);
    line-height: 1.4;
}
.nhjt-qual-card .qual-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--nhjt-accent);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    z-index: 2;
}

/* ===== 证书弹窗（点击资质卡片放大查看，含移动端适配） ===== */
.nhjt-qual-card { cursor: pointer; }
.nhjt-qual-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .28s ease;
}
.nhjt-qual-modal.is-open { display: flex; opacity: 1; }
.nhjt-qual-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 23, 50, 0.78);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.nhjt-qual-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 760px);
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: translateY(12px) scale(.98);
    transition: transform .28s ease;
}
.nhjt-qual-modal.is-open .nhjt-qual-modal__dialog { transform: translateY(0) scale(1); }
.nhjt-qual-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 56, 104, 0.55);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.nhjt-qual-modal__close:hover { background: var(--nhjt-accent); transform: rotate(90deg); }
.nhjt-qual-modal__figure { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.nhjt-qual-modal__img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #fff;
}
.nhjt-qual-modal__caption {
    padding: 16px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--nhjt-ink);
    border-top: 1px solid var(--nhjt-border);
    background: #fff;
}
/* 移动端：弹窗近全屏，关闭按钮加大便于触控 */
@media (max-width: 560px) {
    .nhjt-qual-modal { padding: 0; align-items: stretch; justify-content: stretch; }
    .nhjt-qual-modal__dialog {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .nhjt-qual-modal__img { max-height: 78vh; }
    .nhjt-qual-modal__caption { padding: 14px 16px; font-size: 15px; }
    .nhjt-qual-modal__close { width: 46px; height: 46px; font-size: 28px; top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .nhjt-qual-modal, .nhjt-qual-modal__dialog, .nhjt-qual-modal__close { transition: none; }
}
/* 弹窗打开时锁定底层页面滚动 */
body.nhjt-modal-open { overflow: hidden; }

/* ===== 紧密合作伙伴品牌墙 ===== */
.nhjt-partner-section {
    padding: 70px 0 92px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 16%, #eaf6ff 54%, #7DB0E5 100%);
    overflow: hidden;
}
.nhjt-partner-title {
    margin: 0 0 10px;
    text-align: center;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    color: #2A72C2;
    letter-spacing: 1px;
}
.nhjt-partner-subtitle {
    margin: 0 0 72px;
    text-align: center;
    font-size: 16px;
    color: #8a98a8;
    line-height: 1.6;
}
.nhjt-partner-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 36px 40px;
    justify-content: center;
}
.nhjt-partner-card {
    aspect-ratio: 2048 / 880;
    background: #fff;
    box-shadow: 0 10px 24px rgba(30, 112, 186, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nhjt-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(30, 112, 186, 0.15);
}
.nhjt-partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
@media (min-width: 1200px) {
    .nhjt-partner-grid .nhjt-partner-card:nth-last-child(2):nth-child(6n+1) {
        grid-column: 3;
    }
}
@media (max-width: 1199px) {
    .nhjt-partner-section { padding: 60px 0 76px; }
    .nhjt-partner-subtitle { margin-bottom: 52px; }
    .nhjt-partner-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 26px 28px;
    }
}
@media (max-width: 767px) {
    .nhjt-partner-section { padding: 46px 0 58px; }
    .nhjt-partner-subtitle { margin-bottom: 34px; font-size: 14px; }
    .nhjt-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ===== 新闻卡片（对标 wissonrobotics 新闻资讯：大图在上 + 文字在下） ===== */
/* 等高网格：覆盖 Bootstrap3 的浮动栅格，让同一行卡片同高、紧密排列无中间留白 */
.nhjt-news-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;   /* 保留 Bootstrap 栅格负边距对齐 */
    margin-right: -15px;
}
.nhjt-news-grid .nhjt-news-col {
    display: flex;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
    /* 桌面端每行强制 3 列，避免最后一行 6 张时出现单卡左对齐的空白 */
    .nhjt-news-grid .nhjt-news-col:nth-child(3n+1):nth-last-child(-n+3) ~ .nhjt-news-col,
    .nhjt-news-grid .nhjt-news-col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .nhjt-news-grid .nhjt-news-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
.nhjt-news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--nhjt-border);
    box-shadow: 0 4px 16px rgba(14, 74, 140, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.nhjt-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(14, 74, 140, 0.14);
    border-color: transparent;
    text-decoration: none;
}
.nhjt-news-card .news-img {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: var(--nhjt-surface-alt);
}
.nhjt-news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.nhjt-news-card:hover .news-img img {
    transform: scale(1.06);
}
.nhjt-news-card .news-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 24px 24px 22px;
}
.nhjt-news-card .news-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--nhjt-accent);
    background: rgba(59, 140, 240, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.nhjt-news-card .news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--nhjt-ink);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;       /* 两行标题高度，单行标题也占满，保证日期底边对齐 */
    transition: color 0.3s ease;
}
.nhjt-news-card:hover .news-title {
    color: var(--nhjt-accent);
}
.nhjt-news-card .news-date {
    margin-top: auto;       /* 日期始终贴在卡片底部，与同行其它卡片对齐 */
    font-size: 13px;
    color: var(--nhjt-ink-light);
}

/* ===== 通用页面 Hero ===== */
/* 内页 banner 标准比例 2560×640（4:1 扁横幅），源图与容器同比例，cover 完整展示零裁切 */
.nhjt-page-hero {
    background: linear-gradient(135deg, var(--nhjt-primary) 0%, var(--nhjt-primary-light) 100%);
    color: #fff;
    text-align: center;
    aspect-ratio: 2560 / 640;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}
.nhjt-page-hero > .wrapcontent { width: 100%; }
.nhjt-page-hero h1 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 18px rgba(7, 22, 45, 0.65);
}
.nhjt-page-hero p {
    display: none; /* 隐藏 banner 标题下方副标题，仅保留标题 */
}
/* ===== 内页 Hero 背景图（有 banner 图时覆盖渐变）===== */
.nhjt-page-hero.nhjt-hero-hasbg {
    background-color: var(--nhjt-primary);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}
/* 轻薄渐变遮罩：保证完整展示 banner 图的同时，白色标题依旧清晰可读 */
.nhjt-page-hero.nhjt-hero-hasbg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,56,104,0.22) 0%, rgba(18,74,140,0.16) 100%);
    z-index: 1;
}
.nhjt-page-hero.nhjt-hero-hasbg > .wrapcontent {
    position: relative;
    z-index: 2;
}

/* ===== 内页二级菜单条（与顶部导航下拉同源）===== */
.nhjt-subnav {
    background: #fff;
    border-bottom: 1px solid var(--nhjt-border);
    box-shadow: 0 4px 16px rgba(10,56,104,0.04);
}
.nhjt-subnav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nhjt-subnav-inner::-webkit-scrollbar { display: none; }
.nhjt-subnav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--nhjt-ink);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
    cursor: pointer;
}
.nhjt-subnav-link:hover {
    color: var(--nhjt-accent);
}
.nhjt-subnav-link.active {
    color: var(--nhjt-accent);
    border-bottom-color: var(--nhjt-accent);
}
@media (max-width: 768px) {
    .nhjt-subnav-link { padding: 13px 16px; font-size: 14px; }
}

/* ===== 通用内容区块 ===== */
.nhjt-content-section {
    padding: 80px 0;
    background: var(--nhjt-surface);     /* 白底版块（与页面底色分离）*/
    position: relative;
}
.nhjt-content-section.nhjt-bg-gray {
    background: var(--nhjt-surface-alt); /* 浅灰版块，可见的交替色块 */
}
/* 宽屏版块：左右延展，覆盖 .show-con-width 的较大左右内边距 */
.nhjt-content-section.nhjt-section-wide .show-con-width { padding: 0 40px; }
@media (min-width: 768px)  { .nhjt-content-section.nhjt-section-wide .show-con-width { padding: 0 60px; } }
@media (min-width: 1200px) { .nhjt-content-section.nhjt-section-wide .show-con-width { padding: 0 80px; } }
@media (min-width: 1600px) { .nhjt-content-section.nhjt-section-wide .show-con-width { padding: 0 110px; } }

/* ===== 产业版图版块：宽屏主题背景图（中国产业版图） ===== */
#matrix.nhjt-matrix-bg {
    position: relative;
    background-color: var(--nhjt-primary);
    /* 背景图：深空科技蓝，干净的中国地图轮廓 + 全国产业节点网络（高清横图） */
    background-image: url("../images/nhjt/matrix-bg-jiaoan.jpg?v=20260813m");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;     /* 视差感，大屏更沉浸 */
}
/* 半透明深色遮罩：保证上层白色卡片与文字清晰可读 */
#matrix.nhjt-matrix-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10,56,104,0.78) 0%,
        rgba(10,56,104,0.62) 40%,
        rgba(10,56,104,0.78) 100%);
    z-index: 0;
    pointer-events: none;
}
/* 版块内容上浮到遮罩之上 */
#matrix.nhjt-matrix-bg > .wrapcontent { position: relative; z-index: 1; }
/* 深色底下的标题/副标题/图例改为浅色 */
#matrix.nhjt-matrix-bg .nhjt-section-title,
#matrix.nhjt-matrix-bg .nhjt-section-badge { color: #fff; }
#matrix.nhjt-matrix-bg .nhjt-section-subtitle { color: rgba(255,255,255,0.85); }
#matrix.nhjt-matrix-bg .matrix-legend { color: rgba(255,255,255,0.8); }
#matrix.nhjt-matrix-bg .nhjt-section-badge i { color: var(--nhjt-glow); }
/* 移动端关闭 fixed 视差（避免 iOS 卡顿），遮罩加深保证可读 */
@media (max-width: 991px) {
    #matrix.nhjt-matrix-bg { background-attachment: scroll; }
    #matrix.nhjt-matrix-bg::before { background: rgba(10,56,104,0.84); }
}
@media (prefers-reduced-motion: reduce) {
    #matrix.nhjt-matrix-bg { background-attachment: scroll; }
}

/* ===== 模块3：集团简介（图文等高排版，正文内关键词重点标记） ===== */
.nhjt-intro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;       /* 左右两栏等高，由文字内容撑开 */
    gap: 40px;
}
.nhjt-intro-media {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(14, 74, 140, 0.08);
    min-height: 340px;          /* 图片卡片最低高度，保持视觉饱满 */
}
.nhjt-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* 图片始终填满与文字等高的区域，按需裁剪 */
    display: block;
}
.nhjt-intro-text {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* 顶部对齐：正文从顶部连贯排到底，中间不留白 */
    gap: 26px;
    font-size: 19px;
    line-height: 2.0;
    color: #3a4a60;
}
/* 主标题：公司全称 */
.nhjt-intro-text .intro-h {
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    color: var(--nhjt-primary);
    line-height: 1.4;
    margin: 0 0 6px;
    letter-spacing: .5px;
}
/* 正文段落 */
.nhjt-intro-text .intro-p {
    margin: 0;
    text-align: justify;
}
/* 正文内重点标记（资质等关键词，行内高亮，不单独列出） */
.nhjt-intro-text mark {
    color: var(--nhjt-accent);
    background: rgba(59, 140, 240, 0.10);
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin: 0 1px;
}

/* ===== 模块3：集团简介底部 · 使命/愿景/价值观 ===== */
.nhjt-intro-mission {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px dashed var(--nhjt-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mission-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    line-height: 1.5;
}
.mission-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--nhjt-accent);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 3px 8px rgba(59, 140, 240, 0.28);
}
.mission-label {
    font-weight: 700;
    color: var(--nhjt-primary);
    letter-spacing: .5px;
    white-space: nowrap;
}
.mission-content {
    color: var(--nhjt-ink-light);
    padding-left: 10px;
    border-left: 2px solid var(--nhjt-border);
}
@media (max-width: 991px) {
    .nhjt-intro-media,
    .nhjt-intro-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .nhjt-intro-media {
        max-height: 320px; /* 移动端图片高度受限，避免过宽 */
    }
}

/* 版块间渐变细分割线：浅色版块顶部居中细线，营造聚焦感 */
.nhjt-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 82%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nhjt-border) 20%, var(--nhjt-border) 80%, transparent);
    pointer-events: none;
}
/* 紧跟 Banner 的首个版块 与深色版块不画顶线（深色版块自身即强分隔）*/
#intro::before,
#profile::before,
.nhjt-content-section.nhjt-section-dark::before {
    display: none;
}

/* ===== 版块图标徽章（语言无关，中英文通用）===== */
.nhjt-section-badge {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42,114,194,0.10), rgba(111,168,224,0.14));
    border: 1px solid rgba(42,114,194,0.22);
    color: var(--nhjt-accent);
    font-size: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nhjt-section-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 22px rgba(42,114,194,0.20);
}
.nhjt-section-title + .nhjt-section-subtitle,
.nhjt-section-badge + .nhjt-section-title {
    margin-top: 0;
}
/* news 版块标题左对齐时徽章也左对齐 */
.nhjt-section-badge.nhjt-align-left {
    margin-left: 0;
}

/* ===== 核心业务深色版块（视觉焦点）===== */
.nhjt-content-section.nhjt-section-dark {
    background:
        radial-gradient(circle at 85% 15%, rgba(111,168,224,0.18), transparent 45%),
        radial-gradient(circle at 12% 88%, rgba(42,114,194,0.16), transparent 42%),
        linear-gradient(135deg, var(--nhjt-primary) 0%, var(--nhjt-primary-light) 100%);
    color: #fff;
}
/* 深色版块上：标题/副标题改白字 */
.nhjt-section-dark .nhjt-section-title { color: #fff; }
.nhjt-section-dark .nhjt-section-subtitle { color: rgba(255,255,255,0.78); }

/* 深色版块发光徽章 */
.nhjt-section-dark .nhjt-section-badge {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(111,168,224,0.55);
    color: var(--nhjt-glow);
    box-shadow: 0 0 18px rgba(111,168,224,0.35);
}
.nhjt-section-dark .nhjt-section-badge:hover {
    box-shadow: 0 0 26px rgba(111,168,224,0.55);
}

/* ===== 版块图标徽章：原创 3D 立体图标（图片徽章）=====
   图片自带科技蓝渐变圆角底 + 白/冰蓝立体主体，故去掉旧的
   渐变背景、边框与字号；容器仅负责尺寸、圆角（沿用基础/移动端值）
   与 overflow 裁切，并加柔和投影让 3D 图标浮起。 */
.nhjt-section-badge.nhjt-badge-img {
    background: none;
    border: none;
    padding: 0;
    font-size: 0;            /* 隐藏残留的 FA 字体图标基线空白 */
    overflow: hidden;        /* 配合容器 border-radius 裁切图片 */
    box-shadow: 0 8px 22px rgba(10, 56, 104, 0.18), 0 0 0 1px rgba(42, 114, 194, 0.10);
}
.nhjt-section-badge.nhjt-badge-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.nhjt-section-badge.nhjt-badge-img:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 30px rgba(10, 56, 104, 0.28), 0 0 0 1px rgba(42, 114, 194, 0.18);
}
/* 深色版块（核心业务 / 品牌矩阵）：图片自身即深蓝底，
   关闭旧的半透明覆盖与发光，仅加深投影保证在深色背景上的层次 */
.nhjt-section-dark .nhjt-section-badge.nhjt-badge-img {
    background: none;
    border: none;
    box-shadow: 0 10px 26px rgba(7, 22, 45, 0.45), 0 0 0 1px rgba(111, 168, 224, 0.30);
}
.nhjt-section-dark .nhjt-section-badge.nhjt-badge-img:hover {
    box-shadow: 0 16px 34px rgba(7, 22, 45, 0.55), 0 0 0 1px rgba(111, 168, 224, 0.45);
}

/* 深色版块业务卡片：沿用沉浸式图片卡（卡片自包含，深浅背景通用，仅微调投影） */
#business.nhjt-section-dark .nhjt-business-card,
.nhjt-content-section.nhjt-section-dark .nhjt-business-card {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}
.nhjt-content-section.nhjt-section-dark .nhjt-business-card:hover {
    box-shadow: 0 26px 58px rgba(59, 140, 240, 0.45);
}

/* ===== 子公司详情页 ===== */
.nhjt-sub-detail .sub-hero {
    background: linear-gradient(135deg, var(--nhjt-primary) 0%, var(--nhjt-primary-light) 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}
.nhjt-sub-detail .sub-hero h1 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 12px;
}
.nhjt-sub-detail .sub-hero .sub-slogan {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 8px;
}
.nhjt-sub-detail .sub-section {
    padding: 56px 0;
    border-bottom: 1px solid var(--nhjt-border);
}
.nhjt-sub-detail .sub-section:last-child {
    border-bottom: none;
}
.nhjt-sub-detail .sub-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nhjt-ink);
    margin-bottom: 24px;
    padding-left: 14px;
    border-left: 4px solid var(--nhjt-accent);
}

/* ===== 联系表单 ===== */
.nhjt-contact-form .form-group {
    margin-bottom: 20px;
}
.nhjt-contact-form label {
    display: block;
    font-size: 14px;
    color: var(--nhjt-ink);
    margin-bottom: 6px;
    font-weight: 600;
}
.nhjt-contact-form input,
.nhjt-contact-form textarea,
.nhjt-contact-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nhjt-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--nhjt-ink);
    transition: border-color 0.2s;
}
.nhjt-contact-form input:focus,
.nhjt-contact-form textarea:focus,
.nhjt-contact-form select:focus {
    border-color: var(--nhjt-accent);
    outline: none;
}

/* ===== 悬浮咨询按钮 ===== */
.nhjt-float-contact {
    position: fixed;
    right: 24px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nhjt-float-contact a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nhjt-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(10,56,104,0.3);
    transition: all 0.3s ease;
}
.nhjt-float-contact a:hover {
    background: var(--nhjt-accent);
    transform: scale(1.1);
}
/* 未读红点 */
.nhjt-float-contact a { position: relative; }

/* 电话气泡:点击图标后左侧浮出号码 */
.nhjt-phone-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nhjt-phone-bubble {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    white-space: nowrap;
    background: #fff;
    color: var(--nhjt-primary);
    border: 1px solid rgba(10,56,104,0.15);
    border-radius: 26px;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(10,56,104,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1;
}
.nhjt-phone-bubble::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-right: 1px solid rgba(10,56,104,0.15);
    border-top: 1px solid rgba(10,56,104,0.15);
}
.nhjt-phone-wrap.is-open .nhjt-phone-bubble {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.nhjt-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    line-height: 18px;
    text-align: center;
    background: #f5222d;
    color: #fff;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
}

/* ===== 在线咨询聊天窗口 ===== */
.nhjt-chat-window {
    position: fixed;
    right: 24px;
    bottom: 160px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 500px;
    max-height: calc(100vh - 200px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(14, 74, 140, 0.28);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    animation: nhjt-chat-pop 0.22s ease;
}
@keyframes nhjt-chat-pop {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.nhjt-chat-window[hidden] { display: none; }

.nhjt-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--nhjt-primary, #0A3868);
    color: #fff;
}
.nhjt-chat-head-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}
.nhjt-chat-head-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4cd964;
    box-shadow: 0 0 0 3px rgba(76, 217, 100, 0.25);
}
.nhjt-chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.85;
}
.nhjt-chat-close:hover { opacity: 1; }

.nhjt-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f6f8fb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nhjt-chat-hint {
    text-align: center;
    color: #9aa4b2;
    font-size: 13px;
    padding: 18px 8px;
    line-height: 1.6;
}
.nhjt-chat-msg {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}
.nhjt-chat-msg.guest { align-self: flex-end; }
.nhjt-chat-msg.admin { align-self: flex-start; }
.nhjt-chat-bubble {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}
.nhjt-chat-msg.guest .nhjt-chat-bubble {
    background: var(--nhjt-accent, #2A72C2);
    color: #fff;
    border-bottom-right-radius: 2px;
}
.nhjt-chat-msg.admin .nhjt-chat-bubble {
    background: #fff;
    color: #2c3e50;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.nhjt-chat-time {
    font-size: 11px;
    color: #9aa4b2;
    margin-top: 4px;
}
.nhjt-chat-msg.guest .nhjt-chat-time { text-align: right; }
.nhjt-chat-msg.admin .nhjt-chat-time { text-align: left; }

.nhjt-chat-foot {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid #eef1f5;
    background: #fff;
}
.nhjt-chat-foot textarea {
    flex: 1;
    resize: none;
    max-height: 96px;
    padding: 8px 10px;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.nhjt-chat-foot textarea:focus { border-color: var(--nhjt-accent, #2A72C2); }
.nhjt-chat-send-btn {
    align-self: stretch;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: var(--nhjt-primary, #0A3868);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.nhjt-chat-send-btn:hover { background: var(--nhjt-accent, #2A72C2); }
.nhjt-chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nhjt-content-section { padding: 48px 0; }
    .nhjt-section-badge { width: 48px; height: 48px; font-size: 20px; border-radius: 13px; margin-bottom: 14px; }
    /* 图片徽章在窄屏略放大，让 3D 立体细节更清晰 */
    .nhjt-section-badge.nhjt-badge-img { width: 52px; height: 52px; }
    .nhjt-section-title { margin-bottom: 8px; }
    .nhjt-section-subtitle { margin-bottom: 32px; }
    /* 窄屏保持 4:1 完整展示 banner 图（不裁切、不遮挡），标题居中叠在图上 */
    .nhjt-page-hero { aspect-ratio: 2560 / 640; padding: 0; min-height: 0; }
    .nhjt-page-hero h1 { font-size: clamp(22px, 5.2vw, 30px); letter-spacing: 1px; }
    .nhjt-business-card { height: 290px; }
    .nhjt-business-card .card-title { font-size: 19px; }
    .nhjt-business-card .card-body { padding: 20px 20px 22px; }
    .nhjt-float-contact { right: 14px; bottom: 60px; }
    .nhjt-float-contact a { width: 44px; height: 44px; font-size: 18px; }
    .nhjt-chat-window {
        right: 8px;
        left: 8px;
        bottom: 120px;
        width: auto;
        max-width: none;
        height: calc(100vh - 180px);
        max-height: none;
    }
}


