/* ===================== 顶部导航基础 ===================== */
    .header {
        /* 【关键】保持 absolute，作为全宽下拉的定位基准 */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-bottom: 0px solid #e8ecf1;
        z-index: 1000;
    }

    .header-container {
        max-width: 78%;
        margin: 0 auto;
        padding: 0 0px;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* ===== 左侧 Logo ===== */
    .logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 44px;
        width: auto;
        display: block;
        transition: opacity 0.2s;
    }

    .logo img:hover {
        opacity: 0.85;
    }

    /* ===== 右侧导航菜单 ===== */
    .nav {
        display: flex;
        align-items: center;
        gap: 16px;
        list-style: none;
    }

    .nav > li {
        position: relative;
        padding: 0 4px;
    }

    .nav > li > a {
        display: block;
        padding: 8px 18px;
        font-size: 15px;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        border-radius: 6px;
        transition: background 0.25s, color 0.25s;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .nav > li > a:hover {
        color: #7a9bfa;
    }

    /* ===================== 下拉菜单 ===================== */
    .dropdown {
        position: relative;
    }

    /* 【关键】让 .dropdown 不再是定位参照，
       这样 .dropdown-menu 会以 .header 为参照 → 铺满屏幕 100% 宽度 */
    .nav > li.dropdown {
        position: static;
    }

    .dropdown > a .arrow {
        display: inline-block;
        margin-left: 4px;
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .dropdown:hover > a .arrow {
        transform: rotate(180deg);
    }

    /* ===== 全宽三列下拉面板 ===== */
    .dropdown-menu {
        position: absolute;
        top: 80%;
        /* 以 header 为基准，left/right 撑满整个屏幕宽度 */
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        background: #0b1220;
        border: none;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
        z-index: 1001;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    /* 全宽面板不需要小三角 */
    .dropdown-menu::before {
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* ===== 每一列（背景图卡片） ===== */
    .dropdown-menu li.dropdown-col {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        height: 29vw;
        padding: 0;
        background-color: #101828;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* 渐变遮罩：保证文字可读性 */
    .dropdown-col::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(180deg,
                rgba(9, 17, 32, 0.10) 0%,
                rgba(9, 17, 32, 0.075) 55%,
                rgba(9, 17, 32, 0.15) 100%);
        transition: background 0.35s ease;
    }

    .dropdown-col:hover::after {
        background: linear-gradient(180deg,
                rgba(9, 17, 32, 0.00) 0%,
                rgba(26, 86, 219, 0.35) 55%,
                rgba(26, 86, 219, 0.8) 100%);
    }

    /* ===== 列内链接：底部浮动标题 ===== */
    .dropdown-menu li.dropdown-col > a {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        padding:40px 38px;
        background: none;
        border-radius: 0;
        color: #fff;
        text-decoration: none;
        white-space: normal;
        line-height: 1.3;
        transition: none;
    }

    .dropdown-menu li.dropdown-col > a:hover {
        background: none;
        color: #fff;
    }

    /* 中文标题 */
    .col-cn {
        display: block;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 2px;
        color: #fff;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }

    /* 英文标题 */
    .col-en {
        display: block;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.72);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }

    /* 英文标题上方的小横线（hover 时展开） */
    .col-en::before {
        content: '';
        display: block;
        width: 30px;
        height: 2px;
        margin: 10px 0;
        background: #7a9bfa;
        transform: scaleX(0.55);
        transform-origin: left center;
        transition: transform 0.35s ease;
    }

    .dropdown-col:hover .col-en::before {
        transform: scaleX(1);
    }

    /* ===== 移动端菜单按钮 ===== */
    .menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px 4px;
        border-radius: 6px;
        transition: background 0.2s;
    }

    .menu-toggle:hover {
        background: #f0f2f5;
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2.5px;
        background: #2c3e50;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    /* ===================== 响应式 ===================== */
    @media (max-width: 1024px) {
        .header-container {
            padding: 0 24px;
        }

        .nav > li > a {
            padding: 8px 14px;
            font-size: 14px;
        }

        .dropdown-menu li.dropdown-col {
            height: 260px;
        }

        .dropdown-menu li.dropdown-col > a {
            padding: 0 28px 30px;
        }

        .col-cn {
            font-size: 19px;
        }
    }

    @media (max-width: 820px) {
        body {
            padding-top: 0px;
        }

        .menu-toggle {
            display: flex;
        }

        .nav {
            position: absolute;
            top: 72px;
            left: 0;
            right: 0;
            background: #ffffff;
            flex-direction: column;
            align-items: stretch;
            gap: 0;
            padding: 16px 24px 24px;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
            border-top: 1px solid #e8ecf1;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
            pointer-events: none;
            max-height: 80vh;
            overflow-y: auto;
        }

        .nav.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .nav > li {
            padding: 0;
            border-bottom: 1px solid #f0f2f5;
        }

        .nav > li:last-child {
            border-bottom: none;
        }

        .nav > li > a {
            padding: 14px 8px;
            font-size: 15px;
            border-radius: 0;
        }

        .nav > li > a:hover {
            background: transparent;
            color: #1a56db;
        }

        /* ---- 移动端：三列改为纵向堆叠小卡片 ---- */
        .dropdown-menu {
            display: block;
            position: static;
            transform: none !important;
            box-shadow: none;
            border: none;
            border-radius: 0;
            background: #f8fafc;
            padding: 0 0 8px 16px;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            max-height: 0;
            overflow: hidden;
            margin-top: 0;
            width: 100%;
            transition: max-height 0.35s ease, padding 0.3s ease;
        }

        .dropdown.open .dropdown-menu {
            max-height: 620px;
            padding: 8px 0 12px 16px;
        }

        .dropdown-menu li.dropdown-col {
            height: 112px;
            margin-bottom: 10px;
            border-radius: 10px;
            overflow: hidden;
        }

        .dropdown-menu li.dropdown-col:last-child {
            margin-bottom: 0;
        }

        .dropdown-menu li.dropdown-col > a {
            padding: 0 20px 16px;
            border-radius: 10px;
        }

        .col-cn {
            font-size: 15px;
            letter-spacing: 1px;
        }

        .col-en {
            font-size: 10px;
            letter-spacing: 1.2px;
        }

        .col-en::before {
            width: 22px;
            margin: 6px 0;
        }

        .dropdown.open > a .arrow {
            transform: rotate(180deg);
        }
    }

    @media (max-width: 480px) {
        body {
            padding-top: 0px;
        }

        .header-container {
            padding: 0 16px;
            height: 56px;
        }

        .logo img {
            height: 32px;
        }

        .nav {
            top: 56px;
            padding: 12px 16px 20px;
        }

        .nav > li > a {
            font-size: 14px;
            padding: 12px 6px;
        }

        .dropdown-menu li.dropdown-col {
            height: 96px;
        }

        .dropdown-menu li.dropdown-col > a {
            padding: 0 14px 12px;
        }

        .col-cn {
            font-size: 14px;
        }

        .col-en {
            font-size: 9px;
        }
    }

    /* ===================== 主内容区 ===================== */
    @media (max-width: 820px) {
        .main-content {
            padding: 40px 24px;
        }

        .main-content h1 {
            font-size: 26px;
        }
    }

    @media (max-width: 480px) {
        .main-content {
            padding: 28px 16px;
        }

        .main-content h1 {
            font-size: 22px;
        }

        .main-content p {
            font-size: 15px;
        }
    }
	/* ============================================================
   ★★★ 移动端顶部导航适配样式（≤820px）—— 统一使用 vw 单位
   —— 仅作用于移动端，电脑端样式完全不受影响
   —— 需放在各页面 <style> 最下方，覆盖 head.css 已有移动端规则
   ============================================================ */
@media screen and (max-width: 820px) {

    /* ---------- 头部容器 ---------- */
    .header {
       
        box-shadow: 0 0.4vw 2vw rgba(0, 0, 0, 0.06);
        z-index: 9999;
    }
    .header .header-container {
        height: 14vw;
        padding: 0 4vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* ---------- Logo ---------- */
    .header .logo {
        display: flex;
        align-items: center;
    }
    .header .logo img {
        height: 8vw;
        width: auto;
        display: block;
    }

    /* ---------- 汉堡按钮 ---------- */
    .header .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.4vw;
        width: 12vw;
        height: 12vw;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        z-index: 10001;
    }
    .header .menu-toggle span {
        display: block;
        width: 6.4vw;
        height: 0.6vw;
        background: #fff;
        border-radius: 1vw;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    /* 若 JS 给按钮加了 active 类，则自动变成关闭 × 形态 */
    .header .menu-toggle.active span:nth-child(1) {
        transform: translateY(2vw) rotate(45deg);
    }
    .header .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .header .menu-toggle.active span:nth-child(3) {
        transform: translateY(-2vw) rotate(-45deg);
    }

    /* ---------- 导航菜单（全屏下拉覆盖） ---------- */
    .header .nav {
        position: fixed;
        top: 14vw;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 14vw);
        background: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(-105%);
        transition: transform 0.35s cubic-bezier(.22, .7, .3, 1);
        z-index: 9998;
        box-shadow: 0 2vw 6vw rgba(0, 0, 0, 0.08);
    }
    .header .nav.open {
        transform: translateY(0);
    }

    .header .nav > li {
        width: 100%;
        border-bottom: 1px solid rgba(11, 18, 32, 0.06);
    }
    .header .nav > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4vw 5vw;
        font-size: 4vw;
        line-height: 1.5;
        color: #0b1220;
        letter-spacing: 0.02em;
        text-decoration: none;
    }
    .header .nav > li > a.active {
        color: #1a56db;
    }
    .header .nav > li > a:hover {
        color: inherit;
    }

    /* ---------- 核心业务下拉：纵向两行式列表 ---------- */
    .header .nav .dropdown {
        position: relative;
    }
    .header .nav .dropdown .arrow {
        font-size: 3.5vw;
        line-height: 1;
        color: #8b9aa9;
        transition: transform 0.3s ease;
    }
    .header .nav .dropdown.open .arrow {
        transform: rotate(180deg);
    }

    /* 下拉菜单默认收起 */
    .header .nav .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        height: auto;
        flex-direction: column;
        background: #f7f9fc;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    .header .nav .dropdown.open .dropdown-menu {
        display: flex;
    }

    /* 下拉三列：改为纵向列表，去掉背景图，左侧留出缩进 */
    .header .nav .dropdown-menu .dropdown-col {
        width: 100%;
        height: auto;
        min-height: 0;
        float: none;
        margin: 0;
        /*background-image: none !important;*/
        border-bottom: 1px solid rgba(11, 18, 32, 0.05);
        border-radius: 0;
    }
    .header .nav .dropdown-menu .dropdown-col:last-child {
        border-bottom: none;
    }
    .header .nav .dropdown-menu .dropdown-col > a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.8vw;
        padding: 3.5vw 8vw;
        color: #0b1220;
        text-decoration: none;
    }
    .header .nav .dropdown-menu .dropdown-col .col-cn {
        font-size: 3.8vw;
        line-height: 1.5;
        font-weight: 600;
        letter-spacing: 0.02em;
    }
    .header .nav .dropdown-menu .dropdown-col .col-en {
        font-size: 2.8vw;
        line-height: 1.4;
        color: #8b9aa9;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    /* ---------- 防止菜单展开时背景页面可滚动 ---------- */
    body:has(.header .nav.open) {
        overflow: hidden;
    }
}

/* ============================================================
   ★ 小屏手机精细微调（≤480px）
   ============================================================ */
@media screen and (max-width: 480px) {

    .header .header-container {
        height: 17vw;
        padding: 0 3.5vw;
    }
    .header .logo img {
        height: 8.6vw;
    }
    .header .menu-toggle {
        width: 13vw;
        height: 13vw;
        gap: 1.6vw;
    }
    .header .menu-toggle span {
        width: 7vw;
        height: 0.7vw;
    }

    .header .nav {
        top: 15vw;
        height: calc(100vh - 15vw);
    }
    .header .nav > li > a {
        padding: 4.5vw 4.5vw;
        font-size: 4.2vw;
    }
    .header .nav .dropdown-menu .dropdown-col > a {
        padding: 4vw 7vw;
    }
    .header .nav .dropdown-menu .dropdown-col .col-cn {
        font-size: 4vw;
    }
    .header .nav .dropdown-menu .dropdown-col .col-en {
        font-size: 3vw;
    }
    .header .nav .dropdown .arrow {
        font-size: 3.8vw;
    }
}

/* ============================================================
   ★ 移动端下拉菜单修复（≤820px）
   —— 桌面端样式完全不受影响
   ============================================================ */
@media screen and (max-width: 820px) {

    /* 一级导航展开时允许滚动，避免下拉内容被裁剪 */
    .header .nav.open {
        max-height: none !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* ---------- 二级菜单：默认隐藏，脱离桌面端绝对定位 ---------- */
    .header .nav .dropdown > .dropdown-menu {
        display: none !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 91% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        flex-direction: column !important;
        overflow: visible !important;
        z-index: auto !important;
    }

    /* ---------- 点击"核心业务"后展开 ---------- */
    .header .nav .dropdown.open > .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
    }

    /* ---------- 桌面端三列 → 移动端纵向单列 ---------- */
    .header .nav .dropdown > .dropdown-menu > .dropdown-col {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 24vw !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background-size: cover !important;
        background-position: center !important;
        overflow: hidden;
    }

    .header .nav .dropdown > .dropdown-menu > .dropdown-col > a {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 1vw !important;
        width: 100% !important;
        min-height: 24vw !important;
        padding: 4vw 6vw !important;
        box-sizing: border-box !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .header .nav .dropdown > .dropdown-menu > .dropdown-col .col-cn {
        display: block !important;
        font-size: 3.8vw !important;
        line-height: 1.4 !important;
        color: #fff !important;
    }

    .header .nav .dropdown > .dropdown-menu > .dropdown-col .col-en {
        display: block !important;
        font-size: 2.8vw !important;
        line-height: 1.4 !important;
        color: rgba(255,255,255,.75) !important;
    }

    /* ---------- 箭头旋转提示展开状态 ---------- */
    .header .nav .dropdown > a .arrow {
        display: inline-block !important;
        transition: transform .3s ease !important;
    }
    .header .nav .dropdown.open > a .arrow {
        transform: rotate(180deg) !important;
    }
}
