/* ========================================================
   佛山市宁翔物流有限公司 - 品牌官网
   设计方向：沉稳商务信赖型（B端专业物流）
   配色：深蓝 #0F4C81 + 货运橙 #F27024（克制点缀）
   字体：无衬线 5 级阶梯 | 阴影：克制短阴影 | 图标：Font Awesome
   ======================================================== */

/* ===== 第 1 层：设计 Token（所有颜色/尺寸从这里出） ===== */
:root {
    /* ---- 主色系：深海蓝（三档） ---- */
    --nx-primary:        #0F4C81;  /* 主色 - 按钮/标签 */
    --nx-primary-soft:   #1A5D97;  /* 悬浮态 */
    --nx-primary-deep:   #082D4F;  /* Hero 深蓝背景 / 页脚 */
    
    /* ---- 点缀色：货运橙（仅 CTA 使用） ---- */
    --nx-accent:         #F27024;
    --nx-accent-hover:   #E05E10;
    
    /* ---- 背景三级层次 ---- */
    --nx-bg:             #FFFFFF;   /* 主内容底 */
    --nx-bg-panel:       #F7F9FC;   /* 面板/卡片底 */
    --nx-bg-hero:        #082D4F;   /* Hero 沉浸底 */
    --nx-bg-soft:        #F1F4F9;   /* 弱对比区块底 */
    
    /* ---- 边框/分割线 ---- */
    --nx-line:           #E6EAF0;
    --nx-line-deep:      #D1D8E1;
    --nx-line-invert:    rgba(255,255,255,0.12);
    
    /* ---- 文字 5 级阶梯 ---- */
    --nx-text-h1:        #0A1929;  /* Hero 主标题 */
    --nx-text-h2:        #1A2B3C;  /* 区块标题 */
    --nx-text-body:      #3D4F63;  /* 正文（冷灰蓝，比纯黑高级） */
    --nx-text-soft:      #7B8AA0;  /* 辅助说明 */
    --nx-text-muted:     #A8B5C5;  /* 最弱文字 */
    --nx-text-invert:    #FFFFFF;  /* 深色背景上的白色文字 */
    
    /* ---- 功能状态色 ---- */
    --nx-success:        #1F9D55;
    --nx-ok:             #1F9D55;   /* 简写，绿色成功态 */
    --nx-danger:         #D4380D;   /* 红色失败态 */
    --nx-warning:        #E6A23C;
    --nx-warning-bg:     #FDF6EC;
    --nx-error:          #D4380D;
    
    /* ---- 阴影体系（克制短阴影，蓝色 alpha 低透明度） ---- */
    --nx-shadow-xs:      0 1px 3px rgba(8,45,79,0.04);
    --nx-shadow-sm:      0 2px 8px rgba(8,45,79,0.06);
    --nx-shadow-md:      0 4px 16px rgba(8,45,79,0.08);
    --nx-shadow-lg:      0 8px 32px rgba(8,45,79,0.10);
    
    /* ---- 圆角（克制：大区块 0，卡片/按钮 4-6px） ---- */
    --nx-radius-sm:      4px;
    --nx-radius-md:      6px;
    --nx-radius-lg:      8px;
    
    /* ---- 字体 ---- */
    --nx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    
    /* ---- 内容最大宽度 ---- */
    --nx-container: 1200px;
}

/* ===== 第 2 层：全局 Reset ===== */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
    font-family: var(--nx-font);
    color: var(--nx-text-body);
    background-color: var(--nx-bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

a { color: var(--nx-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--nx-accent); text-decoration: none; }

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

/* ===== 第 3 层：导航栏（白底，蓝Logo醒目，active用主题蓝底） ===== */
.nx-navbar {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 6px rgba(15,44,89,.08);
    transition: box-shadow .3s ease, transform .3s ease;
    position: relative;
    z-index: 1000;
}
/* 滚动后：固定顶部 + 加深阴影 */
.nx-navbar.is-scrolled {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(15,44,89,.14);
    animation: nxNavSlideDown .35s cubic-bezier(.22,1,.36,1);
}
@keyframes nxNavSlideDown {
    from { opacity: .7; transform: translateY(-6px); }
    to   { opacity: 1;  transform: translateY(0); }
}
.nx-navbar-placeholder { display: none; height: 66px; }
.nx-navbar-placeholder.is-visible { display: block; }

/* Brand 区 — Logo 垂直居中 + 尺寸加大 */
.nx-navbar .navbar-brand {
    padding: 10px 0;
    height: 66px;
    display: flex;
    align-items: center;
}
.nx-navbar .nx-navbar-logo {
    height: 50px;
    width: auto;
    display: block;
}
.nx-navbar .navbar-brand:hover { opacity: .85; }

/* 导航项（普通态） */
.nx-navbar .nav > li > a {
    color: #2C3E50;
    font-size: 16px;
    font-weight: 600;
    padding: 0 22px;
    line-height: 66px;
    height: 66px;
    transition: color .2s ease, background .2s ease;
}
.nx-navbar .nav > li > a:hover {
    color: var(--nx-primary);
    background: rgba(15,76,129,.06);
}
/* 当前选中栏目 —— 主题蓝色背景 + 白色文字 */
.nx-navbar .nav > li.active > a {
    color: #ffffff !important;
    background-color: var(--nx-primary) !important;
}
.nx-navbar .nav > li.active > a::after { display: none; }

/* 二级下拉箭头 */
.nx-caret { margin-left: 4px; font-size: 12px; transition: transform .2s ease; }

/* PC端：hover 展开二级菜单 */
@media (min-width: 768px) {
    .nx-navbar .nav > li.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nx-navbar .nav > li.dropdown:hover > a .nx-caret {
        transform: rotate(180deg);
    }
}
.nx-dropdown-menu {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(15,44,89,.15);
    padding: 6px 0;
    min-width: 160px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    background: #fff;
}
.nx-dropdown-menu > li > a {
    padding: 10px 20px;
    color: #445568;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all .15s ease;
}
.nx-dropdown-menu > li > a:hover,
.nx-dropdown-menu > li > a:focus {
    background: rgba(15,76,129,.06);
    color: var(--nx-primary);
}

/* 移动端汉堡按钮 */
.nx-navbar .navbar-toggle {
    border-color: #d8dee6;
    margin: 16px 0;
}
.nx-navbar .navbar-toggle .icon-bar { background-color: var(--nx-primary); }

/* 滚动后微调：高度缩小 */
.nx-navbar.is-scrolled .nav > li > a { line-height: 56px; height: 56px; padding: 0 16px; }
.nx-navbar.is-scrolled .navbar-brand { height: 56px; padding: 6px 0; }
.nx-navbar.is-scrolled .nx-navbar-logo { height: 42px; }
.nx-navbar.is-scrolled .navbar-toggle { margin: 10px 0; }
.nx-navbar-placeholder.is-visible { height: 56px; }

/* 移动端导航 — 下拉展开 */
@media (max-width: 767px) {
    .nx-navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: none;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(15,44,89,.12);
        margin: 0;
        padding: 0;
        max-height: 80vh;
        overflow-y: auto;
    }
    .nx-navbar .navbar-collapse.collapse { display: none !important; }
    .nx-navbar .navbar-collapse.collapse.in { display: block !important; }
    .nx-navbar .navbar-collapse .nav {
        float: none !important;
        margin: 0;
        width: 100%;
    }
    .nx-navbar .navbar-collapse .nav > li {
        float: none;
        display: block;
        border-bottom: 1px solid #f0f2f5;
    }
    .nx-navbar .navbar-collapse .nav > li > a {
        line-height: 1.4 !important;
        height: auto !important;
        padding: 14px 20px !important;
        font-size: 15px;
        text-align: left;
    }
    /* 手机端二级菜单：内联展开，不绝对定位 */
    .nx-navbar .navbar-collapse .nav > li.dropdown > .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: #f7f9fc;
        opacity: 1;
        visibility: visible;
        transform: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        display: none;
    }
    .nx-navbar .navbar-collapse .nav > li.dropdown.open > .dropdown-menu,
    .nx-navbar .navbar-collapse .nav > li.dropdown.active > .dropdown-menu {
        display: block;
    }
    .nx-navbar .navbar-collapse .nav > li.dropdown > .dropdown-menu > li > a {
        padding: 12px 20px 12px 36px !important;
        font-size: 14px;
        color: #5a6a7d;
        background: transparent !important;
    }
    .nx-navbar .navbar-collapse .nav > li.dropdown.open > a .nx-caret {
        transform: rotate(180deg);
    }
    .nx-navbar .navbar-brand { padding: 10px 0; height: 56px; }
    .nx-navbar .nx-navbar-logo { height: 38px; }
    .nx-navbar .navbar-toggle { margin: 10px 0; }
}

/* ===== 第 4 层：Hero 沉浸首屏（基础样式 + 轮播增强） ===== */
.nx-hero,
.nx-hero-slider {
    position: relative;
    background: var(--nx-bg-hero);
    color: var(--nx-text-invert);
    min-height: 560px !important;
    overflow: hidden;
    /* 轮播模式：flex 禁用，slides 绝对堆叠 */
    display: block !important;
}
/* 轮播容器高度撑满（slides 用 absolute 堆叠） */
.nx-hero-slider { min-height: 560px !important; }
/* 轮播模式：原 ::before/::after 由各 slide 的动画层替代 */
.nx-hero-slider::before,
.nx-hero-slider::after { display: none !important; }
/* Hero 装饰：克制的网格线 */
.nx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.nx-hero::after {
    content: '';
    position: absolute;
    right: -200px;
    top: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242,112,36,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.nx-hero-content { position: relative; z-index: 2; }
.nx-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nx-accent);
    padding: 6px 16px;
    border: 1px solid rgba(242,112,36,0.35);
    border-radius: 99px;
    margin-bottom: 28px;
}
.nx-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    color: var(--nx-text-invert);
}
.nx-hero-title .accent { color: var(--nx-accent); }
.nx-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 560px;
}
.nx-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.nx-hero-tag {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nx-hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---- Hero 轮播：slide 堆叠切换 ---- */
.nx-hero-slider { overflow: hidden; }
.nx-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    /* 注意：不要加 justify-content: center —— 会跟子元素 margin-auto 打架
       导致子元素只有左侧 margin 生效，右侧 margin=0 */
    padding: 120px 0 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    z-index: 1;
}
.nx-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
/* 背景层 */
.nx-hero-slide .nx-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--nx-bg-hero);
    overflow: hidden;
}
/* Slide 0：深海军蓝（品牌主色） */
.nx-hero-slide[data-slide="0"] .nx-hero-bg {
    background: linear-gradient(135deg, #082D4F 0%, #0A3359 50%, #0F4C81 100%);
}
/* Slide 1 / 2 的渐变已在 inline style 中 */

/* ===== 最彻底的布局方案 =====
   1. slide 用 flex 做垂直居中（align-items: center）
   2. container 自己在 flex 里用 margin:0 auto 水平居中，width:100% 确保占满
   3. container 内部用 flex 让 main-text 和 panel 并排，完全不依赖 absolute 定位
   → 这样 panel 的右边缘一定等于 container 的右边缘，不可能错位
*/
/* 所有 slide 的 container 通用规则（定位 + 宽度 + 居中） */
.nx-hero-slide > .container {
    position: relative;
    z-index: 3;
    width: 100% !important;
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* ★ 只有带右侧 panel 的 Slide 1 才走 flex 并排布局
   Slide 2 / 3 保持正常 block 文档流，每个块级元素独占一行 */
.nx-hero-slide > .container.nx-hero-stage {
    display: flex !important;
    align-items: center !important;
    gap: 40px;
}

/* 主文案：仅在 flex 父容器里占满剩余空间 */
.nx-hero-main-text { flex: 1; min-width: 0; }

/* panel：普通 flex 子元素（仅 Slide 1 有） */
.nx-hero-info-panel-wrap {
    position: static !important;
    width: 320px;
    flex-shrink: 0;
    pointer-events: auto;
}
/* 覆盖旧的 top:50% + transform 居中 */
.nx-hero-info-panel-wrap[style*="top"] { top: auto !important; transform: none !important; }

/* 响应式：中屏 panel 稍小 */
@media (max-width: 1199px) and (min-width: 992px) {
    .nx-hero-info-panel-wrap { width: 280px; }
}
/* 手机隐藏 panel + flex 改纵向（仅 Slide 1 受影响） */
@media (max-width: 991px) {
    .nx-hero-slide > .container.nx-hero-stage { flex-direction: column; gap: 24px; }
    .nx-hero-info-panel-wrap { display: none; }
}

/* ---- 呼吸光晕层（每张 slide 独立配色） ---- */
.nx-hero-ambient {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    animation: nx-hero-ambient-breathe 6s ease-in-out infinite;
    z-index: 1;
}
@keyframes nx-hero-ambient-breathe {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.7;  transform: scale(1.06); }
}
/* Slide 0：橙色 + 深蓝双焦点 */
.ambient-orange {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(242,112,36,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(26,93,151,0.3) 0%, transparent 55%);
}
/* Slide 1：青绿 + 橙色点缀 */
.ambient-teal {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(14,122,143,0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(242,112,36,0.22) 0%, transparent 55%);
}
/* Slide 2：暗底橙色聚焦 */
.ambient-dark {
    background:
        radial-gradient(ellipse at 85% 50%, rgba(242,112,36,0.3) 0%, transparent 45%),
        radial-gradient(ellipse at 30% 20%, rgba(15,76,129,0.25) 0%, transparent 55%);
}

/* ---- CSS 动态动画层（无视频 fallback） ---- */
/* 网格脉冲 */
.nx-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: nx-hero-grid-pulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes nx-hero-grid-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
/* 光线流动 */
.nx-hero-light-ray {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 160%;
    background: linear-gradient(115deg, transparent 0%, rgba(242,112,36,0.12) 45%, rgba(242,112,36,0.25) 50%, rgba(242,112,36,0.12) 55%, transparent 100%);
    transform: skewX(-20deg);
    animation: nx-hero-ray-flow 8s linear infinite;
    pointer-events: none;
}
@keyframes nx-hero-ray-flow {
    0% { transform: translateX(-30%) skewX(-20deg); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(250%) skewX(-20deg); opacity: 0; }
}
/* 浮动光点 */
.nx-hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.nx-hero-orbs span {
    position: absolute;
    border-radius: 50%;
    background: rgba(242,112,36,0.5);
    box-shadow: 0 0 20px rgba(242,112,36,0.4);
}
.nx-hero-orbs span:nth-child(1) { width: 10px; height: 10px; top: 20%; left: 15%; animation: nx-hero-orb-float 6s ease-in-out infinite; }
.nx-hero-orbs span:nth-child(2) { width: 6px;  height: 6px;  top: 65%; left: 70%; animation: nx-hero-orb-float 8s ease-in-out infinite 1s; }
.nx-hero-orbs span:nth-child(3) { width: 8px;  height: 8px;  top: 40%; left: 85%; animation: nx-hero-orb-float 7s ease-in-out infinite 2s; }
.nx-hero-orbs span:nth-child(4) { width: 4px;  height: 4px;  top: 80%; left: 30%; animation: nx-hero-orb-float 9s ease-in-out infinite 3s; }
@keyframes nx-hero-orb-float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-40px) translateX(20px); opacity: 0.9; }
}
/* 路径动画（Slide 2） */
.nx-hero-path-anim {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    opacity: 0.7;
}
.nx-hero-path-anim svg { width: 100%; height: 100%; }
.nx-hero-path-line {
    stroke-dashoffset: 1000;
    animation: nx-hero-path-draw 3s ease-out forwards infinite alternate;
}
@keyframes nx-hero-path-draw {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}
/* 路径节点脉冲扩散（Slide 1） */
.path-node {
    animation: nx-hero-node-pulse 2s ease-out infinite;
    transform-origin: center;
}
.path-node.node-start { animation-delay: 0s; }
.path-node.node-mid   { animation-delay: 0.5s; }
.path-node.node-end   { animation-delay: 1s; }
@keyframes nx-hero-node-pulse {
    0%, 100% { r: 6;  opacity: 1; }
    50%      { r: 14; opacity: 0.3; }
}

/* 盾牌光晕 + 多层光环扩散（Slide 2） */
.nx-hero-shield-anim {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 180px;
    color: rgba(242,112,36,0.15);
    animation: nx-hero-shield-pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
.nx-hero-shield-anim i { position: relative; z-index: 2; }
/* 光环 base 定位 — 相对于 shield 中心 */
.shield-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(242,112,36,0.45);
    pointer-events: none;
}
.shield-ring-1 {
    width: 40px; height: 40px;
    animation: nx-hero-ring-expand 3s ease-out infinite;
}
.shield-ring-2 {
    width: 40px; height: 40px;
    animation: nx-hero-ring-expand 3s ease-out infinite 1s;
}
.shield-ring-3 {
    width: 40px; height: 40px;
    animation: nx-hero-ring-expand 3s ease-out infinite 2s;
}
@keyframes nx-hero-ring-expand {
    0%   { width: 40px;  height: 40px;  opacity: 0.9; }
    100% { width: 280px; height: 280px; opacity: 0; }
}
@keyframes nx-hero-shield-pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 0.9; }
}

/* ---- Hero 文案入场 stagger 动画（切 slide 时触发） ---- */
/* 默认状态：向下偏移 + 透明 */
.nx-hero-slide .nx-hero-eyebrow,
.nx-hero-slide .nx-hero-title,
.nx-hero-slide .nx-hero-sub,
.nx-hero-slide .nx-hero-tags,
.nx-hero-slide .nx-hero-cta,
.nx-hero-slide .nx-hero-info-panel-wrap,
.nx-hero-slide .nx-hero-stats-inline {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
/* active 状态：依次入场 */
.nx-hero-slide.active .nx-hero-eyebrow { transition-delay: 0.05s; }
.nx-hero-slide.active .nx-hero-title  { transition-delay: 0.18s; }
.nx-hero-slide.active .nx-hero-sub    { transition-delay: 0.32s; }
.nx-hero-slide.active .nx-hero-tags   { transition-delay: 0.46s; }
.nx-hero-slide.active .nx-hero-stats-inline { transition-delay: 0.46s; }
.nx-hero-slide.active .nx-hero-cta    { transition-delay: 0.60s; }
.nx-hero-slide.active .nx-hero-info-panel-wrap { transition-delay: 0.32s; }

.nx-hero-slide.active .nx-hero-eyebrow,
.nx-hero-slide.active .nx-hero-title,
.nx-hero-slide.active .nx-hero-sub,
.nx-hero-slide.active .nx-hero-tags,
.nx-hero-slide.active .nx-hero-cta,
.nx-hero-slide.active .nx-hero-info-panel-wrap,
.nx-hero-slide.active .nx-hero-stats-inline {
    opacity: 1;
    transform: translateY(0);
}

/* ---- 右侧品牌信息面板容器：已改用 flex 布局，绝对定位规则已移除 ---- */
/* 面板内部样式保留：*/
.nx-hero-info-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 28px 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.nx-hero-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nx-hero-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.nx-hero-info-item:first-child { padding-top: 0; }
.nx-hero-info-icon {
    width: 44px; height: 44px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.nx-hero-info-label {
    font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 2px;
}
.nx-hero-info-val {
    font-size: 15px; font-weight: 700; color: #fff;
}

/* ---- 内联统计（Slide 3） ---- */
.nx-hero-stats-inline {
    display: flex; gap: 40px; margin-bottom: 40px; flex-wrap: wrap;
}
.nx-hero-stat strong {
    display: block;
    font-size: 32px; font-weight: 800; color: var(--nx-accent); line-height: 1;
}
.nx-hero-stat span {
    font-size: 13px; color: rgba(255,255,255,0.7);
}

/* ---- 圆点导航 ---- */
.nx-hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex; gap: 10px;
}
.nx-hero-dots span {
    display: block;
    width: 28px; height: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all .3s ease;
}
.nx-hero-dots span.active {
    width: 40px;
    background: var(--nx-accent);
}

/* ---- 左右箭头 ---- */
.nx-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: all .25s ease;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-hero-arrow:hover {
    background: var(--nx-accent);
    border-color: var(--nx-accent);
}
.nx-hero-prev { left: 30px; }
.nx-hero-next { right: 30px; }

/* ---- 视频标签（预留） ---- */
.nx-hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .nx-hero-slider .nx-hero-slide { padding: 100px 0 80px; }
    .nx-hero-title { font-size: 32px; }
    .nx-hero-sub { font-size: 15px; }
    .nx-hero-eyebrow { font-size: 12px; }
    .nx-hero-arrow { display: none; }
    .nx-hero-shield-anim { font-size: 100px; right: 50%; top: 25%; transform: translate(50%, -50%); }
    .nx-hero-stats-inline { gap: 24px; }
    .nx-hero-prev, .nx-hero-next { display: none; }
}
@media (max-width: 991px) {
    .nx-hero-info-panel-wrap { display: none; }
}
@media (max-width: 1199px) and (min-width: 992px) {
    .nx-hero-info-panel-wrap { width: 280px; }
    .nx-hero-info-panel { padding: 20px 18px; }
    .nx-hero-info-item { padding: 10px 0; gap: 10px; }
    .nx-hero-info-icon { width: 36px; height: 36px; font-size: 15px; }
}

/* ===== 第 5 层：按钮 ===== */
.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--nx-radius-sm);
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1;
    letter-spacing: .3px;
    text-decoration: none;
}
.nx-btn-primary {
    background-color: var(--nx-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(242,112,36,0.25);
}
.nx-btn-primary:hover {
    background-color: var(--nx-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(242,112,36,0.35);
}
.nx-btn-secondary {
    background-color: var(--nx-primary);
    color: #fff;
}
.nx-btn-secondary:hover {
    background-color: var(--nx-primary-soft);
    color: #fff;
    transform: translateY(-1px);
}
.nx-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.nx-btn-outline:hover {
    background: #fff;
    color: var(--nx-primary-deep);
    border-color: #fff;
}
.nx-btn-ghost {
    background: transparent;
    color: var(--nx-primary);
    border: 1px solid var(--nx-primary);
    margin-bottom: 10px;
}
.nx-btn-ghost:hover {
    background: var(--nx-primary);
    color: #fff;
}

/* ===== 第 5.5 层：内页 Banner（所有栏目页通用） ===== */
.nx-page-hero {
    position: relative;
    padding: 90px 0 80px;   /* 底部 padding 加大，配合圆角更从容 */
    color: #fff;
    overflow: hidden;
    /* 品牌卡片感：大圆角底边 + 轻微投影 */
    border-bottom-left-radius: 56px;
    border-bottom-right-radius: 56px;
    box-shadow: 0 16px 48px rgba(8,45,79,0.12);
    background: linear-gradient(135deg, #082D4F 0%, #0A3359 50%, #0F4C81 100%);
    background-size: 200% 200%;
    animation: nx-hero-bg-shift 15s ease infinite;
}
@keyframes nx-hero-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
/* 删除旧 skew 元素（HTML 里仍有 div，CSS 隐藏） */
.nx-page-hero .nx-page-hero-skew { display: none; }

.nx-page-hero::before {
    /* 细网格 */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
    animation: nx-hero-grid-drift 30s linear infinite;
}
@keyframes nx-hero-grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}
.nx-page-hero::after {
    /* 角部大光晕 */
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nx-page-accent, rgba(242,112,36,0.35)) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: nx-hero-glow-float 8s ease-in-out infinite;
}
@keyframes nx-hero-glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: .9; }
    50% { transform: translate(-30px, 20px) scale(1.1); opacity: 1; }
}
/* 第二光晕（左下角） */
.nx-page-hero .nx-page-hero-glow2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35,104,168,0.4) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: nx-hero-glow-float 10s ease-in-out infinite reverse;
}
/* 底部光带扫过 */
.nx-page-hero .nx-page-hero-shimmer {
    position: absolute;
    bottom: 0; left: -50%;
    width: 200%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    z-index: 1;
    animation: nx-hero-shimmer 6s ease-in-out infinite;
}
@keyframes nx-hero-shimmer {
    0% { transform: translateX(-30%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(30%); opacity: 0; }
}

/* 紧接着 banner 的第一个 section 叠加上来 — 制造"品牌卡片落位"的高级感 */
.nx-page-hero + section.nx-section {
    margin-top: -36px;
    position: relative;
    z-index: 10;
}

.nx-page-hero .container { position: relative; z-index: 2; }

/* 面包屑（集成在 banner 内） */
.nx-page-hero .nx-breadcrumb {
    background: transparent;
    padding: 0 0 22px;
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nx-page-hero .nx-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.nx-page-hero .nx-breadcrumb a:hover { color: var(--nx-accent); }
.nx-page-hero .nx-breadcrumb .sep { color: rgba(255,255,255,0.35); }
.nx-page-hero .nx-breadcrumb .current { color: rgba(255,255,255,0.9); }

/* Banner 主体 */
.nx-page-hero-body {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 32px;
}
.nx-page-hero-icon {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--nx-page-accent, rgba(242,112,36,0.15));
    border: 1px solid var(--nx-page-accent-border, rgba(242,112,36,0.35));
    color: var(--nx-page-accent-strong, #F27024);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.nx-page-hero-text { flex: 1; min-width: 0; }
.nx-page-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: 2px;
    line-height: 1.2;
}
.nx-page-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    letter-spacing: 1px;
}
.nx-page-hero-title .accent {
    color: var(--nx-page-accent-strong, #F27024);
}

/* ---- 栏目色调变体（各页面通过 data-variant 触发） ---- */
/* 默认：深蓝 + 橙色光晕 */
.nx-page-hero[data-variant="default"] {
    background: linear-gradient(135deg, #082D4F 0%, #0A3359 50%, #0F4C81 100%);
}
.nx-page-hero[data-variant="default"] {
    --nx-page-accent: rgba(242,112,36,0.3);
    --nx-page-accent-border: rgba(242,112,36,0.35);
    --nx-page-accent-strong: #F27024;
}
/* 青绿（专线/网点类） */
.nx-page-hero[data-variant="teal"] {
    background: linear-gradient(135deg, #022B3A 0%, #0A6E80 50%, #10A5BC 100%);
}
.nx-page-hero[data-variant="teal"] {
    --nx-page-accent: rgba(16,165,188,0.35);
    --nx-page-accent-border: rgba(16,165,188,0.4);
    --nx-page-accent-strong: #3DD0E5;
}
/* 深紫蓝（品牌/新闻类） */
.nx-page-hero[data-variant="indigo"] {
    background: linear-gradient(135deg, #0B1D3A 0%, #1A3B6F 50%, #2C5BA0 100%);
}
.nx-page-hero[data-variant="indigo"] {
    --nx-page-accent: rgba(242,112,36,0.28);
    --nx-page-accent-border: rgba(242,112,36,0.35);
    --nx-page-accent-strong: #F27024;
}
/* 暗炭黑（保险/保障类） */
.nx-page-hero[data-variant="dark"] {
    background: linear-gradient(135deg, #070B12 0%, #0E1520 50%, #1A2530 100%);
}
.nx-page-hero[data-variant="dark"] {
    --nx-page-accent: rgba(242,112,36,0.32);
    --nx-page-accent-border: rgba(242,112,36,0.4);
    --nx-page-accent-strong: #F27024;
}
/* 橙色（询价/报价 CTA 类） */
.nx-page-hero[data-variant="orange"] {
    background: linear-gradient(135deg, #B8460A 0%, #D85A12 50%, #F27024 100%);
}
.nx-page-hero[data-variant="orange"] {
    --nx-page-accent: rgba(255,255,255,0.25);
    --nx-page-accent-border: rgba(255,255,255,0.4);
    --nx-page-accent-strong: #fff;
}
/* 青绿+橙点缀（服务/优势类） */
.nx-page-hero[data-variant="mixed"] {
    background: linear-gradient(135deg, #062F3F 0%, #0A5567 60%, #F27024 140%);
}
.nx-page-hero[data-variant="mixed"] {
    --nx-page-accent: rgba(242,112,36,0.32);
    --nx-page-accent-border: rgba(242,112,36,0.4);
    --nx-page-accent-strong: #F27024;
}

/* 图标脉动动画 */
.nx-page-hero-icon {
    animation: nx-page-hero-icon-float 4s ease-in-out infinite;
}
@keyframes nx-page-hero-icon-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* 文案入场（分阶段） */
.nx-page-hero .nx-breadcrumb {
    animation: nx-page-hero-fade-in .6s ease-out both;
}
.nx-page-hero-text {
    animation: nx-page-hero-fade-in .8s ease-out .2s both;
}
.nx-page-hero-icon {
    animation: nx-page-hero-fade-in .8s ease-out .1s both,
               nx-page-hero-icon-float 4s ease-in-out .8s infinite;
}
.nx-page-hero-title {
    animation: nx-page-hero-title-in .9s cubic-bezier(.2,.8,.2,1) .3s both;
}
.nx-page-hero-sub {
    animation: nx-page-hero-fade-in .8s ease-out .55s both;
}
@keyframes nx-page-hero-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes nx-page-hero-title-in {
    from { opacity: 0; transform: translateY(24px); letter-spacing: 6px; }
    to   { opacity: 1; transform: translateY(0); letter-spacing: 2px; }
}

/* 响应式 */
@media (max-width: 768px) {
    .nx-page-hero { padding: 70px 0 50px; border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; }
    .nx-page-hero + section.nx-section { margin-top: -20px; }
    .nx-page-hero-body { flex-direction: column; gap: 20px; align-items: flex-start; }
    .nx-page-hero-icon { width: 72px; height: 72px; font-size: 30px; border-radius: 12px; }
    .nx-page-hero-title { font-size: 26px; letter-spacing: 1px; }
    .nx-page-hero-sub { font-size: 14px; }
}

/* ===== 第 6 层：Section 通用 ===== */
.nx-section { padding: 80px 0; }
.nx-section-soft { background-color: var(--nx-bg-soft); }
.nx-section-panel { background-color: var(--nx-bg-panel); }

.nx-section-head { text-align: center; margin-bottom: 50px; }
.nx-section-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--nx-accent);
    margin-bottom: 14px;
}
.nx-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--nx-text-h1);
    line-height: 1.3;
    margin: 0 0 14px;
}
.nx-section-sub {
    font-size: 15px;
    color: var(--nx-text-soft);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}
/* 关于我们正文段落：首行空两格 */
.nx-about-text {
    text-indent: 2em;
    line-height: 1.9;
    color: #555;
    font-size: 15px;
}
/* 左对齐变体 */
.nx-section-head.left { text-align: left; }
.nx-section-head.left .nx-section-sub { margin-left: 0; }

/* ===== 第 7 层：卡片 ===== */
.nx-card {
    background: var(--nx-bg);
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-md);
    padding: 32px 28px;
    transition: all .25s ease;
    height: 100%;
}
.nx-card:hover {
    border-color: var(--nx-primary);
    box-shadow: var(--nx-shadow-md);
    transform: translateY(-3px);
}
.nx-card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--nx-primary);
    color: #fff;
    border-radius: var(--nx-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: background .2s ease;
}
.nx-card:hover .nx-card-icon {
    background-color: var(--nx-accent);
}

/* ---- 优势页大图标（优势/对比类页面） ---- */
.nx-advantage-icon {
    font-size: 56px;
    color: var(--nx-primary);
    margin-bottom: 20px;
    line-height: 1;
}
.nx-advantage-icon i {
    display: inline-block;
}

.nx-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--nx-text-h2);
    margin: 0 0 10px;
}
.nx-card-desc {
    font-size: 14px;
    color: var(--nx-text-soft);
    line-height: 1.8;
    margin: 0;
}

/* 卡片等高行 — 解决手机端排版错落 */
.nx-card-row {
    display: flex;
    flex-wrap: wrap;
}
.nx-card-row > [class*="col-"] {
    display: flex;
}
.nx-card-row .nx-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}
.nx-card-row .nx-card-desc {
    flex: 1;
}

/* ===== 第 8 层：数据墙 ===== */
.nx-stats {
    background: var(--nx-primary-deep);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.nx-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.nx-stat-item { position: relative; z-index: 1; text-align: center; }
.nx-stat-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--nx-accent);
    line-height: 1.1;
    letter-spacing: -1px;
}
.nx-stat-num .unit { font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 500; margin-left: 4px; }
.nx-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
    letter-spacing: 1px;
}

/* ===== 第 9 层：专线卡片 ===== */
.nx-route-card {
    background: var(--nx-bg);
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg);
    padding: 36px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.nx-route-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: var(--nx-accent);
    transition: height .3s ease;
}
.nx-route-card:hover {
    box-shadow: var(--nx-shadow-lg);
    border-color: var(--nx-primary);
    transform: translateY(-4px);
}
.nx-route-card:hover::before { height: 100%; }
.nx-route-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nx-text-h2);
    margin: 0 0 16px;
}
.nx-route-path {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--nx-bg-panel);
    border-radius: var(--nx-radius-sm);
    font-size: 15px;
}
.nx-route-from, .nx-route-to {
    font-weight: 600;
    color: var(--nx-primary);
}
.nx-route-arrow { color: var(--nx-accent); font-size: 16px; }
.nx-route-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.nx-route-tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.nx-route-tag.primary { background: rgba(15,76,129,0.08); color: var(--nx-primary); }
.nx-route-tag.accent { background: rgba(242,112,36,0.08); color: var(--nx-accent); }
.nx-route-tag.success { background: rgba(31,157,85,0.08); color: var(--nx-success); }

/* ===== 第 10 层：对比卡（普通物流 vs 宁翔） ===== */
.nx-compare-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nx-compare-box {
    padding: 30px;
    border-radius: var(--nx-radius-md);
    border: 1px solid var(--nx-line);
}
.nx-compare-box.old { background: #FFF5F4; border-color: #FED8D5; }
.nx-compare-box.new { background: var(--nx-bg-panel); border-color: #BBD4E8; }
.nx-compare-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nx-compare-box.old .nx-compare-title { color: #D4380D; }
.nx-compare-box.new .nx-compare-title { color: var(--nx-primary); }
.nx-compare-item {
    font-size: 14px;
    padding: 6px 0;
    color: var(--nx-text-body);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nx-compare-item i { font-size: 12px; }
.nx-compare-box.old .nx-compare-item i { color: #D4380D; }
.nx-compare-box.new .nx-compare-item i { color: var(--nx-accent); }

/* ===== 第 11 层：价格表 ===== */
.nx-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--nx-bg);
    border-radius: var(--nx-radius-md);
    overflow: hidden;
    border: 1px solid var(--nx-line);
}
.nx-price-table thead th {
    background: var(--nx-primary);
    color: #fff;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    letter-spacing: .3px;
}
.nx-price-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--nx-line);
    font-size: 14px;
    color: var(--nx-text-body);
}
.nx-price-table tbody tr:hover td { background: var(--nx-bg-panel); }
.nx-price-table tbody tr:last-child td { border-bottom: none; }
.nx-price-value {
    color: var(--nx-accent);
    font-weight: 700;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

/* ===== 第 12 层：警示框 ===== */
.nx-warning-box {
    background: var(--nx-warning-bg);
    border: 1px solid #FAECD6;
    border-left: 4px solid var(--nx-warning);
    border-radius: var(--nx-radius-sm);
    padding: 16px 22px;
    font-size: 14px;
    color: #8A6D1B;
    line-height: 1.8;
}

/* ===== 第 13 层：面包屑 ===== */
.nx-breadcrumb {
    background: var(--nx-bg-soft);
    padding: 16px 0;
    border-bottom: 1px solid var(--nx-line);
    font-size: 13px;
    color: var(--nx-text-soft);
}
.nx-breadcrumb a { color: var(--nx-text-soft); }
.nx-breadcrumb a:hover { color: var(--nx-primary); }
.nx-breadcrumb .sep { color: var(--nx-text-muted); margin: 0 8px; }
.nx-breadcrumb .current { color: var(--nx-text-h2); font-weight: 500; }

/* ===== 第 14 层：表单 ===== */
.nx-form-group { margin-bottom: 22px; }

/* 询价提交按钮：上下留白 + 居中 */
.nx-form-submit {
    text-align: center;
    margin-top: 36px;
    margin-bottom: 10px;
}
.nx-btn-submit {
    padding: 16px 56px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    min-width: 200px;
}
@media (max-width: 767px) {
    .nx-form-submit { margin-top: 28px; }
    .nx-btn-submit { padding: 14px 40px; font-size: 15px; min-width: 180px; }
}

/* 图形验证码 */
.nx-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.nx-captcha-input {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}
#captchaImg {
    height: 42px;
    border-radius: 6px;
    border: 1px solid var(--nx-line);
    cursor: pointer;
    vertical-align: middle;
}
.nx-captcha-refresh {
    font-size: 13px;
    color: var(--nx-primary);
    text-decoration: none;
    white-space: nowrap;
}
.nx-captcha-refresh:hover { color: var(--nx-accent); text-decoration: none; }
@media (max-width: 480px) {
    .nx-captcha-input { max-width: 140px; }
    #captchaImg { height: 38px; }
}
.nx-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-text-h2);
    margin-bottom: 8px;
}
.nx-form-label .req { color: var(--nx-error); margin-left: 2px; }
.nx-form-input, .nx-form-textarea, .nx-form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-bg);
    color: var(--nx-text-body);
    transition: border-color .2s, box-shadow .2s;
}
.nx-form-textarea { resize: vertical; min-height: 100px; }
.nx-form-input:focus, .nx-form-textarea:focus, .nx-form-select:focus {
    outline: none;
    border-color: var(--nx-primary);
    box-shadow: 0 0 0 3px rgba(15,76,129,0.08);
}

/* ===== 第 15 层：网点卡片 ===== */
.nx-branch-card {
    background: #fff;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-md);
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15,44,89,.04);
}
.nx-branch-card:hover {
    border-color: var(--nx-primary);
    box-shadow: 0 12px 28px rgba(15,44,89,.12);
    transform: translateY(-4px);
}
/* 顶部省份色条 */
.nx-branch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: linear-gradient(135deg, rgba(15,76,129,.06), rgba(35,104,168,.04));
    border-bottom: 1px solid var(--nx-line);
}
.nx-branch-region {
    font-size: 13px;
    color: var(--nx-primary);
    font-weight: 600;
    letter-spacing: .3px;
}
.nx-branch-region i { margin-right: 6px; }
.nx-branch-badge {
    background: var(--nx-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: 1px;
}
.nx-branch-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--nx-text-h1);
    padding: 18px 22px 14px;
    margin: 0;
}
.nx-branch-body {
    padding: 0 22px 22px;
    flex: 1;
}
.nx-branch-row {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    color: var(--nx-text-body);
    padding: 7px 0;
    line-height: 1.6;
    align-items: flex-start;
}
.nx-branch-row i {
    color: var(--nx-primary);
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    text-align: center;
    font-size: 14px;
}
.nx-branch-row strong {
    color: var(--nx-text-h2);
    font-weight: 600;
    margin-right: 6px;
}
/* HQ 卡片：深蓝渐变 */
.nx-branch-card.is-hq {
    background: linear-gradient(150deg, var(--nx-primary-deep), var(--nx-primary));
    border-color: var(--nx-primary-deep);
    color: #fff;
}
.nx-branch-card.is-hq .nx-branch-head {
    background: rgba(255,255,255,.1);
    border-bottom-color: rgba(255,255,255,.15);
}
.nx-branch-card.is-hq .nx-branch-region { color: rgba(255,255,255,.9); }
.nx-branch-card.is-hq .nx-branch-title { color: #fff; }
.nx-branch-card.is-hq .nx-branch-row { color: rgba(255,255,255,.88); }
.nx-branch-card.is-hq .nx-branch-row i { color: var(--nx-accent); }
.nx-branch-card.is-hq .nx-branch-row strong { color: #fff; }

/* 宁翔风采手机端两列紧凑 */
@media (max-width: 480px) {
    .col-xs-6 .nx-card > div[style*="200px"] {
        height: 120px !important;
        font-size: 36px !important;
    }
    .col-xs-6 .nx-card h4 { font-size: 15px; }
    .col-xs-6 .nx-card p { font-size: 12px; }
}

/* 网点分布手机端紧凑 */
@media (max-width: 767px) {
    .nx-branch-card .nx-branch-head { padding: 10px 14px; }
    .nx-branch-card .nx-branch-title { font-size: 15px; padding: 12px 14px 10px; }
    .nx-branch-card .nx-branch-body { padding: 0 14px 14px; }
    .nx-branch-card .nx-branch-row { font-size: 12px; padding: 5px 0; gap: 6px; }
    .nx-branch-card .nx-branch-row i { width: 14px; font-size: 12px; }
    .nx-branch-region { font-size: 11px; }
    .nx-branch-badge { font-size: 10px; padding: 2px 7px; }
}

/* ===== 第 16 层：合作客户 ===== */
.nx-partner-item {
    background: var(--nx-bg);
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-sm);
    padding: 24px 16px;
    text-align: center;
    transition: all .25s ease;
}
.nx-partner-item:hover {
    border-color: var(--nx-primary);
    box-shadow: var(--nx-shadow-sm);
}
.nx-partner-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--nx-text-h2);
    margin-bottom: 4px;
}
.nx-partner-industry {
    font-size: 12px;
    color: var(--nx-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== 第 17 层：新闻列表 ===== */
/* 新闻分类标签 */
.nx-news-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.nx-news-cat {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    background: #F5F7FA;
    color: #444;
    white-space: nowrap;
    transition: all .2s;
}
.nx-news-cat:hover { color: var(--nx-primary); background: #E8F0F8; text-decoration: none; }
.nx-news-cat.active { background: #0F4C81; color: #fff; }
/* 手机端：分类可左右滑动 */
@media (max-width: 767px) {
    .nx-news-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .nx-news-cats::-webkit-scrollbar { display: none; }
    .nx-news-cat { flex-shrink: 0; }
}

/* 分页居中 */
.nx-pagination {
    text-align: center;
    margin-top: 40px;
}
.nx-pagination .pagination {
    display: inline-flex;
    justify-content: center;
    margin: 0;
}

.nx-news-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--nx-line);
    transition: background .2s;
}
.nx-news-item:last-child { border-bottom: none; }
.nx-news-item:hover .nx-news-title { color: var(--nx-accent); }
.nx-news-meta {
    font-size: 12px;
    color: var(--nx-text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nx-news-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
}
.nx-news-tag.company { background: rgba(15,76,129,0.08); color: var(--nx-primary); }
.nx-news-tag.notice  { background: rgba(242,112,36,0.08); color: var(--nx-accent); }
.nx-news-tag.industry{ background: rgba(31,157,85,0.08); color: var(--nx-success); }
.nx-news-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--nx-text-h2);
    margin: 0 0 8px;
    transition: color .2s;
}
.nx-news-desc {
    font-size: 14px;
    color: var(--nx-text-soft);
    margin: 0;
    line-height: 1.8;
}

/* ===== 第 18 层：CTA 转化区 ===== */
.nx-cta {
    background: linear-gradient(135deg, #F27024 0%, #D85A12 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.nx-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.nx-cta::after {
    /* 右上角装饰光晕 */
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.nx-cta-content { position: relative; z-index: 1; }
.nx-cta-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: 1px;
}
.nx-cta-text {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}
.nx-cta-phone {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 28px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nx-cta-phone i { margin-right: 10px; opacity: 0.9; }
/* CTA 区按钮反色：橙底上用深蓝 */
.nx-cta .nx-btn-primary {
    background: var(--nx-primary-deep);
    border-color: var(--nx-primary-deep);
}
.nx-cta .nx-btn-primary:hover {
    background: #0a1f37;
    border-color: #0a1f37;
}
/* CTA 和 footer 之间过渡 */
.nx-cta + .nx-footer {
    border-top: 3px solid var(--nx-primary-deep);
}

/* ===== 第 19 层：页脚 ===== */
.nx-footer {
    background: var(--nx-primary-deep);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}
.nx-footer h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    letter-spacing: 1px;
}
.nx-footer p, .nx-footer li {
    font-size: 14px;
    line-height: 2;
    margin: 0 0 6px;
}
.nx-footer a { color: rgba(255,255,255,0.7); }
.nx-footer a:hover { color: var(--nx-accent); }
.nx-footer ul { list-style: none; padding: 0; margin: 0; }
.nx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ===== 第 20 层：悬浮按钮 ===== */
.nx-float-box {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nx-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: var(--nx-shadow-md);
    position: relative;
}
.nx-float-btn.phone    { background: var(--nx-accent); }
.nx-float-btn.inquiry  { background: var(--nx-primary); }
.nx-float-btn.back     { background: var(--nx-text-soft); }
.nx-float-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: var(--nx-shadow-lg);
}

/* ===== 首页新闻动态卡片 ===== */
.nx-home-news .nx-news-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15,44,89,.06);
    transition: transform .3s ease, box-shadow .3s ease;
    color: inherit;
    margin-bottom: 24px;
}
.nx-home-news .nx-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15,44,89,.14);
    text-decoration: none;
}
.nx-home-news .nx-news-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #F0F4F9;
    position: relative;
}
.nx-home-news .nx-news-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-home-news .nx-news-img-empty i {
    font-size: 48px;
    color: #C8D3E2;
}
.nx-home-news .nx-news-info {
    padding: 16px 18px 20px;
}
.nx-home-news .nx-news-meta {
    font-size: 12px;
    color: #8B99AB;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nx-home-news .nx-news-meta i {
    margin-right: 4px;
}
.nx-home-news .tag {
    display: inline-block;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 3px;
    font-weight: 600;
    margin-left: auto;
}
.nx-home-news .tag-blue {
    background: #E8F0F8;
    color: var(--nx-primary);
}
.nx-home-news .tag-orange {
    background: #FFF3E8;
    color: #D65A12;
}
.nx-home-news .nx-news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nx-text);
    margin: 0 0 8px;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.nx-home-news .nx-news-card:hover .nx-news-card-title {
    color: var(--nx-primary);
}
.nx-home-news .nx-news-card-desc {
    font-size: 13px;
    color: #8B99AB;
    margin: 0;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 768px) {
    .nx-home-news {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -15px;
        padding: 0 15px 10px;
    }
    .nx-home-news::-webkit-scrollbar { display: none; }
    .nx-home-news > [class*="col-"] {
        flex: 0 0 78%;
        max-width: 78%;
        width: 78%;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
        padding-left: 6px;
        padding-right: 6px;
    }
    .nx-home-news .nx-news-card { margin-bottom: 0; }
    .nx-home-news .nx-news-img { height: 150px; }
    .nx-home-news .nx-news-card-title { font-size: 14px; }
}
.nx-float-label {
    position: absolute;
    right: 62px;
    white-space: nowrap;
    background: var(--nx-text-h1);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.nx-float-btn:hover .nx-float-label { opacity: 1; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .nx-hero { min-height: auto; padding: 80px 0 60px; }
    .nx-hero-title { font-size: 36px; }
    .nx-section { padding: 50px 0; }
    .nx-section-title { font-size: 24px; }
    .nx-compare-wrap { grid-template-columns: 1fr; }
    .nx-stat-num { font-size: 32px; }
    .nx-cta-phone { font-size: 28px; }
}
@media (max-width: 768px) {
    .nx-hero { padding: 60px 0 50px; }
    .nx-hero-title { font-size: 28px; }
    .nx-hero-sub { font-size: 15px; }
    .nx-cta-title { font-size: 22px; }
    .nx-btn { padding: 12px 22px; font-size: 14px; }
    .nx-float-box { right: 12px; bottom: 20px; }
    .nx-float-btn { width: 46px; height: 46px; font-size: 18px; }
}

/* ===== 真实报价表 (bj.asp 同款布局) ===== */
.nx-price-table-real { border-radius: 0; }
.nx-price-table-real thead th { text-align: center; white-space: nowrap; }
.nx-price-table-real thead th small { color: rgba(255,255,255,.75); font-size: 12px; font-weight: 400; }
.nx-price-table-real tbody td { text-align: center; white-space: nowrap; }
.nx-price-table-real tbody td:nth-child(1),
.nx-price-table-real tbody td:nth-child(2) { font-weight: 600; color: var(--nx-primary); }
.nx-price-table-real tbody td:nth-child(6) b { color: var(--nx-accent); }

/* 报价表手机端左右滑动 */
.nx-price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.nx-price-table-wrap::-webkit-scrollbar { height: 6px; }
.nx-price-table-wrap::-webkit-scrollbar-thumb { background: #c8d3e0; border-radius: 3px; }

/* 专业报价三步引导手机端紧凑 */
@media (max-width: 480px) {
    #price-guide .col-xs-4 > div[style*="50px"] {
        width: 38px !important; height: 38px !important; font-size: 16px !important;
    }
    #price-guide .col-xs-4 h4 { font-size: 13px; }
    #price-guide .col-xs-4 p { font-size: 11px; }
}

.nx-truck-tag {
    display: inline-block;
    background: #E8EEF5;
    color: var(--nx-primary);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 4px;
    font-weight: 600;
}

/* ===== Toast 浮动提示框 ===== */
.nx-toast {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -20px) scale(.9);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.08);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
    min-width: 320px;
    max-width: 420px;
}
.nx-toast.nx-toast-in {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}
.nx-toast > i {
    font-size: 38px;
    flex-shrink: 0;
}
.nx-toast > div strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.nx-toast > div p {
    margin: 0;
    font-size: 13px;
    color: #6b7a8f;
    line-height: 1.5;
}
.nx-toast-success { border: 2px solid #28A745; }
.nx-toast-success > i { color: #28A745; }
.nx-toast-success > div strong { color: #1e7e34; }
.nx-toast-error { border: 2px solid #DC3545; }
.nx-toast-error > i { color: #DC3545; }
.nx-toast-error > div strong { color: #c82333; }
@media (max-width: 480px) {
    .nx-toast { top: 25%; min-width: 260px; padding: 18px 22px; gap: 12px; }
    .nx-toast > i { font-size: 30px; }
    .nx-toast > div strong { font-size: 15px; }
}

/* ===== 新闻详情页上一篇/下一篇导航 ===== */
.nx-news-nav {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-top: 30px;
}
.nx-news-nav-item {
    flex: 1;
    background: #fff;
    border: 1px solid #E2E6EB;
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none;
    color: #555;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.nx-news-nav-item:hover {
    border-color: var(--nx-primary);
    box-shadow: 0 4px 14px rgba(15,44,89,.1);
    color: inherit;
    text-decoration: none;
}
.nx-news-nav-item:hover .nx-news-nav-title {
    color: var(--nx-primary);
}
.nx-news-nav-empty {
    background: #F7F9FC;
    cursor: default;
    color: #AAA;
}
.nx-news-nav-empty:hover {
    border-color: #E2E6EB;
    box-shadow: none;
    color: #AAA;
}
.nx-news-nav-label {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.nx-news-prev .nx-news-nav-title {
    text-align: left;
}
.nx-news-next .nx-news-nav-title {
    text-align: right;
}
.nx-news-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.nx-news-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--nx-primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    flex-shrink: 0;
    transition: background .25s ease, transform .25s ease;
    align-self: center;
}
.nx-news-nav-center:hover {
    background: #0D3B70;
    color: #fff;
    text-decoration: none;
    transform: scale(1.08);
}
@media (max-width: 768px) {
    .nx-news-nav { flex-wrap: wrap; gap: 10px; }
    .nx-news-nav-item { flex: 1 1 100%; padding: 12px 14px; }
    .nx-news-nav-center { margin-top: 0; width: 100%; height: 40px; border-radius: 6px; }
}
