/* ============================================================
   宁航集团官网主题 — 深空科技蓝 (对标大疆极简风)
   覆盖 powermos/style.css 与 heaferfooter.css 的品牌色
   ============================================================ */

:root {
    /* 品牌色彩体系 */
    --nhjt-primary: #0A2E5C;        /* 深空科技蓝 - 主色 */
    --nhjt-primary-light: #103A6E;   /* 深空科技蓝 - 浅 */
    --nhjt-accent: #2E7BE8;         /* 浅蓝渐变 - 辅助 */
    --nhjt-glow: #7FB5FF;           /* 冰蓝微光 - 点缀 */
    --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-primary); }

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

/* ===== 页面容器 ===== */
.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,46,92,0.15) 0%, rgba(10,46,92,0.55) 100%);
    z-index: 1;
}

/* ===== 首页 Hero Banner 轮播（全屏照片 + 文字覆盖层） ===== */
.nhjt-banner-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 520px;
    overflow: hidden;
    background: #07162d;
}
.nhjt-banner-hero .swiper {
    width: 100%;
    height: 100%;
}
.nhjt-banner-hero .swiper-slide {
    position: relative;
    overflow: hidden;
}
/* 背景层：cover 缩放，比 <img> 更稳地铺满视口 */
.nhjt-banner-hero .banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease-out; /* Ken Burns 缓慢推近 */
}
.nhjt-banner-hero .swiper-slide-active .banner-bg {
    transform: scale(1.12);
}
/* <img> 仅用于 SEO/无障碍与 background 失败时兜底，视觉上隐藏 */
.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-caption {
    position: absolute;
    z-index: 2;
    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(46,123,232,0.88);
    border: 1px solid rgba(127,181,255,0.45);
    border-radius: 999px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.nhjt-banner-hero .banner-btn:hover {
    background: #2E7BE8;
    border-color: #7FB5FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46,123,232,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: #7FB5FF;
    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(46,123,232,0.7);
    border-color: #7FB5FF;
}
.nhjt-banner-hero .nhjt-banner-prev { left: 24px; }
.nhjt-banner-hero .nhjt-banner-next { right: 24px; }
/* ===== Hero Banner 响应式 ===== */
@media (max-width: 768px) {
    .nhjt-banner-hero { height: 78vh; min-height: 420px; }
    .nhjt-banner-hero .banner-caption { bottom: 16%; padding: 0 6vw; }
    .nhjt-banner-hero .banner-title { letter-spacing: 1px; }
    .nhjt-banner-hero .banner-btn { padding: 10px 24px; font-size: 14px; }
    .nhjt-banner-hero .nhjt-banner-button { width: 42px; height: 42px; font-size: 20px; }
    .nhjt-banner-hero .nhjt-banner-prev { left: 12px; }
    .nhjt-banner-hero .nhjt-banner-next { right: 12px; }
    .nhjt-banner-hero .nhjt-banner-pagination { left: 6vw; bottom: 8%; }
}

/* ===== 核心业务卡片 ===== */
.nhjt-business-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(10,46,92,0.06);
    transition: all 0.35s ease;
    height: 100%;
}
.nhjt-business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(10,46,92,0.14);
}
.nhjt-business-card .card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--nhjt-primary);
}
.nhjt-business-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.nhjt-business-card:hover .card-img img {
    transform: scale(1.06);
}
.nhjt-business-card .card-body {
    padding: 24px;
}
.nhjt-business-card .card-no {
    font-size: 14px;
    color: var(--nhjt-accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.nhjt-business-card .card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--nhjt-ink);
    margin-bottom: 12px;
}
.nhjt-business-card .card-desc {
    font-size: 14px;
    color: var(--nhjt-ink-light);
    line-height: 1.7;
}

/* ===== 品牌矩阵卡片 ===== */
.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,46,92,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(127, 181, 255, 0.6);
    --pyramid-line-soft: rgba(127, 181, 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(127, 181, 255, 0.55);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(10, 46, 92, 0.35), 0 0 0 4px rgba(127, 181, 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(127, 181, 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(127, 181, 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(10, 46, 92, 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(10, 46, 92, 0.035);
    pointer-events: none;
}
.pyramid-board:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(10, 46, 92, 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(10, 46, 92, 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(10, 46, 92, 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(10, 46, 92, 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(127, 181, 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(127, 181, 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(10, 46, 92, 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(10, 46, 92, 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(10, 46, 92, 0.08);
    box-shadow: 0 6px 14px rgba(10, 46, 92, 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(10, 46, 92, 0.045);
    border: 1px solid rgba(10, 46, 92, 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(10, 46, 92, 0.055);
    color: var(--nhjt-ink-light);
    font-size: 10px;
    box-shadow: inset 0 0 0 1px rgba(10, 46, 92, 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(127, 181, 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(127, 181, 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,46,92,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-partner-section {
    padding: 70px 0 92px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 16%, #eaf6ff 54%, #9bd0ff 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: #1688e8;
    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(10, 46, 92, 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(10, 46, 92, 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(46, 123, 232, 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×569（约 4.5: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 / 569;
    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;
}
.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;
}
.nhjt-page-hero.nhjt-hero-hasbg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,46,92,0.78) 0%, rgba(16,58,110,0.62) 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,46,92,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.jpg");
    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,46,92,0.78) 0%,
        rgba(10,46,92,0.62) 40%,
        rgba(10,46,92,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,46,92,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(10, 46, 92, 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(46, 123, 232, 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(46, 123, 232, 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(46,123,232,0.10), rgba(127,181,255,0.14));
    border: 1px solid rgba(46,123,232,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(46,123,232,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(127,181,255,0.18), transparent 45%),
        radial-gradient(circle at 12% 88%, rgba(46,123,232,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(127,181,255,0.55);
    color: var(--nhjt-glow);
    box-shadow: 0 0 18px rgba(127,181,255,0.35);
}
.nhjt-section-dark .nhjt-section-badge:hover {
    box-shadow: 0 0 26px rgba(127,181,255,0.55);
}

/* 深色版块业务卡片：深色卡片 + 白字，靠亮边框/发光与深色背景区分 */
#business.nhjt-section-dark .nhjt-business-card,
.nhjt-content-section.nhjt-section-dark .nhjt-business-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(127, 181, 255, 0.32);
    box-shadow: 0 12px 36px rgba(7, 22, 45, 0.4);
    backdrop-filter: blur(6px);
}
.nhjt-content-section.nhjt-section-dark .nhjt-business-card:hover {
    border-color: rgba(127, 181, 255, 0.8);
    box-shadow: 0 18px 48px rgba(46, 123, 232, 0.5);
}
.nhjt-content-section.nhjt-section-dark .nhjt-business-card .card-img {
    background: rgba(7, 22, 45, 0.4);
    border-bottom: 1px solid rgba(127, 181, 255, 0.22);
}
/* 深色卡片上：标题白字、序号发光蓝、描述用更亮的浅色 */
.nhjt-content-section.nhjt-section-dark .nhjt-business-card .card-no {
    color: var(--nhjt-glow);
    text-shadow: 0 0 12px rgba(127, 181, 255, 0.6);
}
.nhjt-content-section.nhjt-section-dark .nhjt-business-card .card-title {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.nhjt-content-section.nhjt-section-dark .nhjt-business-card .card-desc {
    color: rgba(233, 241, 252, 0.92);   /* 更亮的浅色，告别原先发灰的副字 */
    font-size: 15px;
    line-height: 1.75;
}

/* ===== 子公司详情页 ===== */
.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,46,92,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,46,92,0.15);
    border-radius: 26px;
    padding: 10px 18px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(10,46,92,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,46,92,0.15);
    border-top: 1px solid rgba(10,46,92,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(10, 46, 92, 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, #0A2E5C);
    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, #2E7BE8);
    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, #2E7BE8); }
.nhjt-chat-send-btn {
    align-self: stretch;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: var(--nhjt-primary, #0A2E5C);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.nhjt-chat-send-btn:hover { background: var(--nhjt-accent, #2E7BE8); }
.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; }
    .nhjt-section-title { margin-bottom: 8px; }
    .nhjt-section-subtitle { margin-bottom: 32px; }
    /* 窄屏放弃 2560:769 比例，回退到基于内容的高度，保证标题/副标题可读 */
    .nhjt-page-hero { aspect-ratio: auto; padding: 56px 0 44px; min-height: 0; }
    .nhjt-business-card .card-img { height: 160px; }
    .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;
    }
}

/* ============================================================
   海外主体（巴基斯坦 / 加纳）
   按需求，海外主体三级/四级页视觉与国内主体统一为深蓝科技风。
   此处不再覆盖颜色变量与 Hero 渐变，完全沿用 :root 的深蓝主题。
   .nhjt-sub-overseas body 类仅保留作为海外语义标识（菜单/分组/卡片色条仍可引用）。
   ============================================================ */
