/* ============================================================
   custom-common.css — 全站共用样式
   加载位置：template/default/html/common/head_main_res.html（全局）
   组织方式（参考 ITCSS / SMACSS 的组件化思路）：
     1. 设计变量与基础重置
     2. 通用工具类
     3. 按钮
     4. 区块标题
     5. 首页 Banner
     6. 顶部导航栏（含 light 变体）
     7. Mega 菜单（桌面 + 移动端）
     8. 移动端抽屉菜单
     9. 语言切换
    10. 导航轮播 CTA
    11. 页脚（布局 / 亮色 / 暗色 / 响应式）
    12. 页脚二维码浮层
    13. 悬浮工具栏
    14. 深入了解产品（Service Entry）
    15. 行业场景（home3-service）
    16. 通用图标菜单（mega-menu-cards）
    17. 合作地图（Coop Map）
    18. 新闻分类筛选 Tabs
    19. 列表分页
   每个区块内部顺序：基础样式 → 状态(:hover/:active) → 伪元素 → 响应式 @media
   ============================================================ */


/* ============================================================
   1. 设计变量与基础重置 (Design Tokens & Reset)
   ============================================================ */

:root {
    /* ---- 品牌色（已有，保持不变）---- */
    --primary-color2: #2563eb;/*var(--blue)*/
    --primary-color: #000000;
    --primary-color2-opc: 0, 0, 0;
    --purple: #5A4CFA;
    --purple-dark: #4238d4;
    --blue: #2563eb; /*var(--blue)*/
    --blue-dark: #1a6fd4;
    --purple-svg: #5A4CFA;
    --blue-svg: var(--blue);
    --dark: #363636;
    --dark-light: #6a6a6a;
    --dark-light2: #999999;
    --silver: #c0c4cc;
    --silver-light: #e8eaed;
    --white: var(--white-color);
    --bg: #f6f8fc;/*#f8f9fc*/
    --bg-alt: #f0f1f5;
    --paragraph-color: #6b6f76;

    /* ---- 灰阶语义令牌（新增，对齐既有值，零视觉变化）---- */
    --text: #363636;            /* = --dark 正文 */
    --text-muted: #6b6f76;      /* = --paragraph-color 辅助文 */
    --text-subtle: #999999;     /* = --dark-light2 */
    --gray-900: #363636;
    --gray-700: #6a6a6a;
    --gray-500: #999999;
    --gray-400: #c0c4cc;        /* = --silver */
    --gray-200: #e8eaed;        /* = --silver-light */
    --gray-100: #f0f1f5;        /* = --bg-alt */
    --gray-50: #f6f8fc;         /* = --bg */
    --divider: #eef0f3;         /* 细分隔线，覆盖 #f0f0f0/#eef0f3/#e8ebf0/#eef0f4/#e5e7eb 等 */
    --border-strong: #e0e0e0;   /* 略重边框 / 输入框描边，覆盖 #e0e0e0 */

    /* ---- 渐变（修正第二种蓝，声明品牌渐变）---- */
    --gradient: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    --gradient-brand: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    --gradient-blue: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.03) 100%);

    /* ---- 圆角标尺（新增 xs/sm/pill；radius/radius-lg 已有）---- */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    /* ---- 阴影标尺（新增，常用值与原值一致，零变化）---- */
    --shadow-xs: 0 1px 6px rgba(54, 54, 54, 0.18);
    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.07);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
    --shadow-brand: 0 8px 20px rgba(90, 76, 250, 0.35);
    --shadow-blue: 0 6px 20px rgba(37, 99, 235, 0.18);
    --shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.25);

    /* ---- 间距标尺（新增，4px 基准阶梯）---- */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --section-y: 80px;

    /* ---- 字体（统一栈 + 中文回退）---- */
    --font-sans: Helvetica,Arial,sans-serif,system-ui;
    --font-family: var(--font-sans);
    --font-kanit: var(--font-sans);   /* 弃用误导名，统一到同一栈 */
    --font-inter: var(--font-sans);

    --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    font-family: var(--font-family);
}


/* ============================================================
   2. 通用工具类 (Utilities)
   ============================================================ */

.bg-white {
    background-color: var(--white-color) !important;
}

.bg-light {
    background-color: #F0F2F4 !important;
}

.gradient-bg {
    background: var(--gradient);
}

.text-lg {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-style: normal;
}

.text-light {
    color: var(--white-color) !important;
}

@media (min-width: 1400px) {
    .container-r0 {
        max-width: calc(1320px + (100% - 1320px) / 2);
        margin-left: calc((100% - 1320px) / 2);
    }
}


/* ============================================================
   3. 按钮 (Buttons)
   ============================================================ */

/* 去掉按钮的下划线 */
.primary-btn2 span,
.primary-btn,
.primary-btn.white {
    background-image: none !important;
    font-size: 1rem;
}

/* banner 按钮箭头：常显 bi-chevron-right，悬浮时向右滑 */
.primary-btn2 span::after {
    display: none;
}

.primary-btn2 span > i.bi-chevron-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    line-height: 1;
    color: var(--white-color);
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.primary-btn2.white-bg span > i.bi-chevron-right {
    color: var(--title-color);
}

.primary-btn2:hover span > i.bi-chevron-right,
.primary-btn2:focus-visible span > i.bi-chevron-right {
    transform: translateY(-50%) translateX(4px);
}

.primary-btn2 span {
    vertical-align: middle;
}

.more-details-btn {
    color: var(--title-color);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
}

.more-details-btn i {
    margin-left: 6px;
    transition: margin-left 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.more-details-btn:hover i {
    margin-left: 12px;
}


/* ============================================================
   4. 区块标题 (Section Titles)
   ============================================================ */

.section-title2 h2 {
    font-size: 3.5rem;
}

.section-title h2 {
    font-size: 3.25rem;
    line-height: 1.3;
}

.section-title p {
    font-size: 1.125rem;
    line-height: 1.6;
}
@media (max-width: 991px) {
    .section-title h2 {
        font-size: 2.75rem;
    }
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 2rem;
    }
    .section-title p {
        font-size: 1rem;
    }
}


/* ============================================================
   5. 首页 Banner
   ============================================================ */

.custom-banner-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
    min-height: 760px;
}

.custom-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.4) 90%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.custom-banner-section .banner-content .banner-content-title {
    font-size: 3.5rem;
}

.custom-banner-section .banner-content .banner-content-desc {
    font-size: 1.125rem;
}

.banner-content.white .banner-content-title {
    color: var(--white-color);
}

.banner-content.white .banner-content-desc {
    color: var(--silver-light);
}

.banner-content-wrap {
    position: relative;
    z-index: 11;
}

@media (max-width: 575px) {
    .banner-content.white .banner-content-title {
        font-size: 2.25rem;
    }
    .custom-banner-section .banner-content .banner-content-desc {
        font-size: 1rem;
    }
}


/* ============================================================
   6. 顶部导航栏 (Header / Top Nav)
   ============================================================ */

header.style-2 .header-logo a img {
    width: auto;
    height: 3rem;
}

header.style-2 .main-menu ul > li > a {
    font-size: 1rem;
}

/* 滚动后导航栏毛玻璃效果（覆盖默认黑色） */
header.style-2 {
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

header.style-2.sticky,
header.style-2:hover {
    background-color: rgba(29, 29, 31, 0.65);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    header.style-2.sticky {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}

/* ---- Header light 变体（浅色背景导航） ---- */
.header-area.style-2.light {
    background: var(--white-color);
}

header.style-2.light .main-menu ul > li > a,
header.style-2.light .nav-right .lang-switcher-btn,
header.style-2.light .nav-right .lang-switcher-btn .lang-current,
header.style-2.light .nav-right .lang-switcher-btn svg {
    color: var(--title-color);
}

header.style-2.light .main-menu ul > li::after {
    background: var(--gradient);
}

header.style-2.light .main-menu .mega-categories > li::after {
    background: transparent;
}

header.style-2.light .nav-cta-rotator .swiper-slide a {
    background: var(--gradient);
    color: var(--white-color);
    border-radius: 40px;
}

header.style-2.light .nav-cta-rotator .swiper-slide a:hover {
    background: var(--purple);
}

header.style-2.light .nav-right .lang-switcher-btn .lang-arrow {
    color: var(--title-color);
}

header.style-2.light .nav-right .mobile-menu-btn svg {
    fill: var(--title-color);
}


/* ============================================================
   7. Mega 菜单
      桌面端 + 移动端折叠为手风琴，统一放在本区块
   ============================================================ */

/* 提高选择器权重，覆盖 style.css 中 header.style-2 .main-menu ul > li 的默认样式；
   保留 position: relative 使 li::after 小圆点以当前 li 为定位上下文 */
header.style-2 .main-menu .mega-menu-wrap {
    position: relative;
}

header.style-2 .main-menu .mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    width: 100%;
    max-width: 100%;
    background: var(--white-color);
    border-top: 2px solid var(--blue);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    padding: 0;
    text-align: left;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

header.style-2 .main-menu .menu-item-has-children:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
}

header.style-2 .main-menu .mega-menu .mega-menu-inner {
    display: flex;
    width: 100%;
    min-height: 440px;
    max-width: 1320px;
    margin: 0 auto;
}

/* 产品中心子菜单：用 vh 控制高度（视口很矮时自动收缩，最高不超 760px），
   切换分类时高度恒定不跳动；内容超高时在右侧面板内部滚动，不会截断消失 */
header.style-2 .main-menu .product-mega-menu .mega-menu-inner {
    height: min(760px, 80vh);
    min-height: 440px;
}

/* 产品中心：左侧栏容器（wrapper，包裹分类列表 + 查看全部按钮） */
header.style-2 .main-menu .mega-menu-left {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--divider);
    overflow-y: auto;
    scrollbar-gutter: stable;
}

/* 分类标签列表 */
header.style-2 .main-menu .mega-categories {
    flex: 1;
    list-style: none !important;
    margin: 0 !important;
    padding: 24px 0 !important;
    position: relative;
}

header.style-2 .main-menu .mega-categories > li {
    display: block !important;
    padding: 0 !important;
    position: relative;
}

header.style-2 .main-menu .mega-categories > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px !important;
    color: var(--title-color) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-transform: none !important;
    line-height: 1.4 !important;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    background: transparent !important;
}

header.style-2 .main-menu .mega-categories > li > a::before,
header.style-2 .main-menu .mega-categories > li > a::after {
    display: none !important;
}

header.style-2 .main-menu .mega-categories > li > a i {
    font-size: 0.8rem;
    color: #b0b0b0;
    transition: all 0.25s ease;
}

header.style-2 .main-menu .mega-categories > li.active > a,
header.style-2 .main-menu .mega-categories > li:hover > a {
    color: var(--blue) !important;
    /*background: var(--white-color) !important;
    border-left-color: var(--blue);*/
}

header.style-2 .main-menu .mega-categories > li.active > a i,
header.style-2 .main-menu .mega-categories > li:hover > a i {
    color: var(--blue);
    transform: translateX(3px);
}

/* 右侧产品面板：内容超高时内部滚动（overflow 收在面板内，不会撑破外层面板） */
header.style-2 .main-menu .mega-products {
    flex: 1;
    position: relative;
    padding: 32px 40px 42px;
    background: var(--white-color);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

/* 产品面板 / 左侧分类滚动条（内容超高时出现） */
header.style-2 .main-menu .mega-products::-webkit-scrollbar,
header.style-2 .main-menu .mega-menu-left::-webkit-scrollbar {
    width: 8px;
}
header.style-2 .main-menu .mega-products::-webkit-scrollbar-track,
header.style-2 .main-menu .mega-menu-left::-webkit-scrollbar-track {
    background: transparent;
}
header.style-2 .main-menu .mega-products::-webkit-scrollbar-thumb,
header.style-2 .main-menu .mega-menu-left::-webkit-scrollbar-thumb {
    background: var(--divider);
    border-radius: 999px;
}
header.style-2 .main-menu .mega-products::-webkit-scrollbar-thumb:hover,
header.style-2 .main-menu .mega-menu-left::-webkit-scrollbar-thumb:hover {
    background: #d4d8e0;
}

header.style-2 .main-menu .mega-product-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: megaFadeIn 0.35s ease;
}
header.style-2 .main-menu .mega-product-panel.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

header.style-2 .main-menu .mega-product-panel.active {
    display: grid;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-product-card {
    display: block;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    position: relative;
}

.mega-product-card:hover .mega-product-img {
    background: linear-gradient(180deg, #000000 0%, #828898 77%, #828898 100%);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.mega-product-img {
    /*height: 200px;*/
    /*padding: 1.5rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: var(--bg-alt);
    border-radius: 6px;
    overflow: hidden;
    transition: background 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mega-product-img img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mega-product-card:hover .mega-product-img img {
    transform: scale(1.06);
}

.mega-product-text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem;
    text-align: center;
}

.mega-product-card h4 {
    font-size: 1rem;
    color: var(--title-color);
    margin: 0 0 5px;
    letter-spacing: -0.01em;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mega-product-card p {
    font-size: 13px;
    color: var(--dark-light);
    margin: 0;
    line-height: 1.5;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 查看全部产品按钮容器 */
header.style-2 .main-menu .mega-menu-left .mega-view-all-btn {
    margin-top: auto;
    padding: 16px 28px 24px;
}

/* 简单 Mega Menu（解决方案 / 新闻 / 关于） */
header.style-2 .main-menu .simple-mega-menu .mega-menu-inner {
    min-height: auto;
    padding: 32px 40px;
    gap: 40px;
}

header.style-2 .main-menu .mega-col {
    flex: 1;
    min-width: 0;
}

header.style-2 .main-menu .mega-col-wide {
    flex: 2;
}

header.style-2 .main-menu .mega-col-full {
    flex: 1 1 100%;
    min-width: 0;
}

header.style-2 .main-menu .mega-col h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--divider);
}

header.style-2 .main-menu .mega-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

header.style-2 .main-menu .mega-col ul > li {
    display: block !important;
    padding: 0 !important;
    margin-bottom: 10px;
    position: relative;
}

header.style-2 .main-menu .mega-col ul > li > a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: var(--dark) !important;
    font-size: 0.875rem !important;
    font-family: var(--font-inter), "SimHei", "黑体", sans-serif !important;
    text-decoration: none !important;
    text-transform: none !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    transition: all 0.25s ease;
}

header.style-2 .main-menu .mega-col ul > li > a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.25s ease;
}

header.style-2 .main-menu .mega-col ul > li > a:hover {
    color: var(--blue) !important;
    transform: translateX(4px);
}

header.style-2 .main-menu .mega-col ul > li > a:hover::before {
    width: 12px;
}

/* 解决方案：行业应用卡片网格 */
.mega-industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.mega-industry-card {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
}

.mega-industry-img img {
    width: 100%;
    transition: transform 0.5s ease;
}

.mega-industry-card:hover .mega-industry-img img {
    transform: scale(1.08);
}

.mega-industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    transition: background 0.3s ease;
}

.mega-industry-card:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.75) 100%);
}

.mega-industry-card span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 500;
    z-index: 2;
}

/* 新闻卡片 */
.mega-news-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mega-news-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg);
    transition: all 0.3s ease;
}

.mega-news-card:hover {
    background: var(--white-color);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.mega-news-img {
    width: 90px;
    height: 64px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}

.mega-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-news-content {
    flex: 1;
    min-width: 0;
}

.mega-news-date {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
}

.mega-news-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.mega-news-card:hover .mega-news-content h4 {
    color: var(--blue);
}

/* 关于我们卡片 */
.mega-about-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 16px;
}

.mega-about-img {
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
}

.mega-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-about-card p {
    font-size: 0.875rem;
    color: var(--dark);
    line-height: 1.7;
    margin: 0 0 14px;
}

.mega-about-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.mega-about-more:hover {
    gap: 10px;
}

/* 隐藏原有 sub-menu 中 mega-menu 内的默认样式 */
header.style-2 .main-menu .mega-menu .sub-menu {
    display: none;
}

/* ---- Mega 菜单响应式 ---- */
@media (max-width: 1199px) {
    .mega-industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    header.style-2 .main-menu .mega-menu {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        background: var(--bg);
    }

    header.style-2 .main-menu .mega-menu .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
        padding: 16px;
    }

    header.style-2 .main-menu .mega-menu-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--divider);
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
        min-height: auto;
        background: transparent;
    }

    header.style-2 .main-menu .mega-menu-left .mega-categories {
        flex: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 0 !important;
    }

    header.style-2 .main-menu .mega-menu-left .mega-view-all-btn {
        margin-top: 0;
        padding: 8px 0 0;
        border-top: none;
        width: 100%;
    }

    header.style-2 .main-menu .mega-categories > li {
        display: inline-block !important;
    }

    header.style-2 .main-menu .mega-categories > li > a {
        padding: 8px 14px !important;
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-lg);
        font-size: 0.85rem !important;
    }

    header.style-2 .main-menu .mega-categories > li.active > a,
    header.style-2 .main-menu .mega-categories > li:hover > a {
        border-color: var(--blue);
    }

    header.style-2 .main-menu .mega-products {
        padding: 0;
    }

    header.style-2 .main-menu .mega-product-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mega-product-img {
        height: 120px;
    }

    header.style-2 .main-menu .simple-mega-menu .mega-menu-inner {
        flex-direction: column;
        gap: 24px;
        padding: 0;
    }

    .mega-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-col-wide,
    .mega-news-cards {
        display: flex;
        flex-direction: column;
    }

    .mega-about-img {
        height: 120px;
    }

    /* 产品中心 mega-menu — 手风琴折叠（移动端）
       面板由 JS 动态插入到对应分类 <li> 后面 */
    header.style-2 .main-menu .mega-menu {
        display: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        max-height: none !important;
        overflow: visible !important;
    }

    header.style-2 .main-menu .menu-item-has-children > .mega-menu.show,
    header.style-2 .main-menu .mega-menu[style*="display: block"] {
        display: block !important;
    }

    /* 产品中心：整体布局改为纵向堆叠 */
    header.style-2 .main-menu .product-mega-menu .mega-menu-inner {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    /* 左侧分类区 → 纵向列表 */
    header.style-2 .main-menu .mega-menu-left {
        width: 100% !important;
        border-right: none !important;
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
        background: transparent !important;
    }

    header.style-2 .main-menu .mega-categories {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    /* 每个分类 = 手风琴标题栏 */
    header.style-2 .main-menu .mega-categories > li {
        display: block !important;
        list-style: none !important;
        border-bottom: 1px solid var(--divider);
    }

    header.style-2 .main-menu .mega-categories > li:last-child {
        border-bottom: none;
    }

    header.style-2 .main-menu .mega-categories > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 11px 8px !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #1a1a2e !important;
        background: var(--white-color) !important;
        border: none !important;
        border-radius: 0 !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        transition: none !important;
    }

    /* 展开状态的分类标题 */
    header.style-2 .main-menu .mega-categories > li.active > a {
        color: var(--blue) !important;
        border-bottom: 1px solid var(--blue) !important;
    }

    /* chevron 图标 */
    header.style-2 .main-menu .mega-categories > li > a i.bi-chevron-right {
        display: inline-block !important;
        transition: transform 0.25s ease !important;
        font-size: 0.85rem !important;
        color: #999 !important;
    }

    header.style-2 .main-menu .mega-categories > li.active > a i.bi-chevron-right {
        transform: rotate(90deg) !important;
        color: var(--blue) !important;
    }

    /* 隐藏桌面端的「查看全部产品」按钮 */
    header.style-2 .main-menu .mega-view-all-btn {
        display: none !important;
    }

    /* .mega-products 原始容器在移动端隐藏（面板由 JS 移到分类 <li> 内部）*/
    header.style-2 .main-menu .mega-products {
        display: none !important;
    }

    /* 产品面板：默认隐藏；被 JS 插入到分类 <li> 内部时，作为文字列表显示 */
    header.style-2 .main-menu .mega-product-panel {
        display: none !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 0 4px 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    /* active 面板（已被 JS 移入分类 <li> 内部）→ 显示 */
    header.style-2 .main-menu .mega-product-panel.active {
        display: flex !important;
    }

    /* 包含展开面板的分类 <li> → 允许内容撑开 */
    header.style-2 .main-menu .mega-categories > li:has(.mega-product-panel.active) {
        overflow: visible !important;
    }

    /* ---- 产品卡片 → 纯文字行（左缩进体现子级）---- */
    .mega-product-card {
        display: flex !important;
        align-items: center !important;
        padding: 10px 8px 10px 24px !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid var(--divider) !important;
        border-radius: 0 !important;
        text-decoration: none !important;
        transition: background 0.15s ease !important;
        position: static !important;          /* 覆盖桌面端 relative */
    }

    .mega-product-card:last-child {
        border-bottom: none !important;
    }

    .mega-product-card:hover,
    .mega-product-card:active {
        background: #f5f8fc !important;
    }

    .mega-product-card .mega-product-img {
        display: none !important;   /* 移动端不显示产品图 */
    }

    /* 重置桌面端的 absolute 覆盖层布局 → 移动端正常流 */
    .mega-product-card .mega-product-text {
        position: static !important;
        padding: 0 !important;
        display: block !important;
    }

    .mega-product-card h4 {
        font-size: 0.84rem !important;
        font-weight: 400 !important;
        color: #555 !important;
        margin: 0 !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    .mega-product-card p {
        display: none !important;   /* 移动端不显示描述 */
    }

    /* 解决方案 mega-menu — 纯文字行（修复 ::after 遮罩） */
    header.style-2 .main-menu .simple-mega-menu .mega-menu-inner {
        flex-direction: column !important;
        padding: 4px 0 10px !important;
    }

    /* 桌面端列标题在移动端隐藏 */
    header.style-2 .main-menu .simple-mega-menu .mega-col-full h6,
    header.style-2 .main-menu .simple-mega-menu .mega-col h6 {
        display: none !important;
    }

    /* 新闻资讯：隐藏「最新动态」整个右栏 */
    header.style-2 .main-menu .simple-mega-menu .mega-col-wide {
        display: none !important;
    }

    /* 关于我们：隐藏「迅驰光电」整个右栏（图片+介绍+按钮）*/
    header.style-2 .main-menu .simple-mega-menu .mega-about-card,
    header.style-2 .main-menu .simple-mega-menu .mega-about-img,
    header.style-2 .main-menu .simple-mega-menu .mega-about-more {
        display: none !important;
    }

    /* 左侧列表（新闻分类 / 关于子项）→ 纵向文字行 */
    header.style-2 .main-menu .simple-mega-menu .mega-col ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    header.style-2 .main-menu .simple-mega-menu .mega-col ul li a {
        display: flex !important;
        align-items: center !important;
        padding: 11px 8px 11px 16px !important;
        border-bottom: 1px solid var(--divider) !important;
        font-size: 0.84rem !important;
        color: #555 !important;
        font-weight: 400 !important;
        text-decoration: none !important;
        transition: background 0.15s ease !important;
        position: static !important;     /* 覆盖任何绝对定位 */
        background: transparent !important;
        border-radius: 0 !important;
    }

    header.style-2 .main-menu .simple-mega-menu .mega-col ul li:last-child a {
        border-bottom: none !important;
    }

    header.style-2 .main-menu .simple-mega-menu .mega-col ul li a:hover {
        background: #f5f8fc !important;
    }

    /* ---- 解决方案行业卡片：去掉桌面端遮罩，改为纯文字行 ---- */
    .mega-industry-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .mega-industry-card {
        display: flex !important;
        align-items: center !important;
        position: static !important;      /* 覆盖桌面 relative */
        overflow: visible !important;      /* 覆盖桌面 hidden */
        border-radius: 0 !important;        /* 覆盖桌面圆角 */
        padding: 11px 8px 11px 16px !important;
        border-bottom: 1px solid var(--divider) !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: background 0.15s ease !important;
    }

    .mega-industry-card:last-child {
        border-bottom: none !important;
    }

    .mega-industry-card:hover {
        background: #f5f8fc !important;
    }

    /* 关键：去掉桌面端的渐变遮罩 ::after */
    .mega-industry-card::after {
        display: none !important;
    }

    .mega-industry-card img {
        display: none !important;          /* 移动端不显示行业图 */
    }

    .mega-industry-card span {
        position: static !important;       /* 覆盖桌面 absolute */
        color: #555 !important;            /* 覆盖桌面白色 */
        font-size: 0.84rem !important;
        font-weight: 400 !important;
        text-align: left !important;
        line-height: 1.4 !important;
        z-index: auto !important;
    }
}

@media (max-width: 575px) {
    header.style-2 .main-menu .mega-product-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mega-product-card {
        padding: 10px 6px 10px 22px !important;
    }

    .mega-product-card h4 {
        font-size: 0.82rem !important;
    }

    .mega-industry-card {
        padding: 10px 6px !important;
    }

    .mega-industry-card span {
        font-size: 0.82rem !important;
    }

    header.style-2 .main-menu .mega-categories > li > a {
        font-size: 0.84rem !important;
        padding: 10px 6px !important;
    }
}


/* ============================================================
   8. 移动端抽屉菜单（参考 Bodor 设计，手风琴式子菜单）
   ============================================================ */

@media only screen and (max-width: 991px) {

    /* ---- 侧边菜单容器 ---- */
    header.style-2 .main-menu {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 340px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: var(--white-color) !important;
        z-index: 99999 !important;
        padding: 16px 16px 40px !important;
        box-sizing: border-box !important;
        box-shadow: 4px 0 24px rgba(0,0,0,0.12) !important;
    }

    header.style-2 .main-menu.show-menu {
        transform: translateX(0) !important;
    }

    /* Logo + 关闭按钮 */
    header.style-2 .main-menu .mobile-logo-area {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 0 14px !important;
        margin-bottom: 4px !important;
        border-bottom: 1px solid var(--divider);
        flex-shrink: 0;
    }

    /* 菜单列表 */
    header.style-2 .main-menu .menu-list {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    header.style-2 .main-menu > ul.menu-list {
        float: none !important;
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    header.style-2 .main-menu > ul.menu-list > li {
        display: block !important;
        position: relative !important;
        padding: 0 !important;
        border-bottom: 1px solid var(--divider);
    }

    header.style-2 .main-menu > ul.menu-list > li > a {
        padding: 13px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 1rem !important;
        color: #1a1a2e !important;
        font-weight: 500;
    }

    header.style-2 .main-menu > ul.menu-list > li i.dropdown-icon {
        position: absolute !important;
        right: 0 !important;
        top: 13px !important;
        font-size: 1rem !important;
        color: #888 !important;
        display: block !important;
    }

    /* ---- START A PROJECT 按钮：移动端隐藏（它是 .main-menu 的子元素）---- */
    header.style-2 .main-menu > .btn-area {
        display: none !important;
    }
}

/* 超小屏进一步紧凑化 */
@media only screen and (max-width: 480px) {
    header.style-2 .main-menu {
        width: 280px !important;
        max-width: 88vw !important;
        padding: 12px 12px 36px !important;
    }
}


/* ============================================================
   9. 导航栏语言切换按钮
   ============================================================ */

header.style-2 .nav-right {
    gap: 1rem;
}

header.style-2 .nav-right .lang-switcher {
    position: relative;
    cursor: pointer;
}

header.style-2 .nav-right .lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    color: var(--white-color);
}

header.style-2 .nav-right .lang-switcher-btn svg {
    color: var(--white-color);
    transition: color 0.3s ease;
}

header.style-2 .nav-right .lang-switcher-btn .lang-current {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-kanit);
    line-height: 1;
    letter-spacing: 0.02em;
}

header.style-2 .nav-right .lang-switcher-btn .lang-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
}

header.style-2 .nav-right .lang-switcher:hover .lang-switcher-btn {
    /*background: rgba(255, 255, 255, 0.1);*/
}

header.style-2 .nav-right .lang-switcher:hover .lang-switcher-btn .lang-arrow {
    transform: rotate(180deg);
    color: var(--white-color);
}

/* Sticky 状态下文字变深
header.style-2.sticky .nav-right .lang-switcher-btn,
header.style-2.sticky .nav-right .lang-switcher-btn svg,
header.style-2.sticky .nav-right .lang-switcher-btn .lang-current {
    color: var(--paragraph-color);
}

header.style-2.sticky .nav-right .lang-switcher-btn .lang-arrow {
    color: rgba(26, 26, 26, 0.5);
}

header.style-2.sticky .nav-right .lang-switcher:hover .lang-switcher-btn {
    background: rgba(0, 0, 0, 0.05);
}

header.style-2.sticky .nav-right .lang-switcher:hover .lang-switcher-btn .lang-arrow {
    color: var(--paragraph-color);
}
header.style-2 .nav-right .lang-switcher::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -13px;
    width: 2px;
    height: 18px;
    background-color: var(--primary-color2);
}
*/

/* 下拉面板 */
header.style-2 .nav-right .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: var(--white-color);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1001;
}

header.style-2 .nav-right .lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header.style-2 .nav-right .lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s ease;
    color: #666;
}

header.style-2 .nav-right .lang-dropdown li a .lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-alt);
    font-size: 12px;
    font-weight: 600;
    color: #888;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

header.style-2 .nav-right .lang-dropdown li a .lang-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.25s ease;
}

header.style-2 .nav-right .lang-dropdown li a:hover {
    background: var(--bg);
}

header.style-2 .nav-right .lang-dropdown li a:hover .lang-code {
    background: #e8effd;
    color: var(--blue);
}

header.style-2 .nav-right .lang-dropdown li a:hover .lang-name {
    color: var(--paragraph-color);
}

header.style-2 .nav-right .lang-dropdown li.active a {
    background: #f0f6ff;
}

header.style-2 .nav-right .lang-dropdown li.active a .lang-code {
    background: var(--blue);
    color: var(--white-color);
}

header.style-2 .nav-right .lang-dropdown li.active a .lang-name {
    color: var(--blue);
}

/* 下拉小三角箭头 */
header.style-2 .nav-right .lang-dropdown::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--white-color);
    transform: rotate(45deg);
    border-radius: 2px;
}

/* 响应式 */
@media (max-width: 991px) {
    header.style-2 .nav-right .lang-switcher-btn {
        padding: 6px 8px;
    }

    header.style-2 .nav-right .lang-switcher-btn .lang-current {
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    header.style-2 .nav-right .lang-dropdown {
        min-width: 120px;
    }

    header.style-2 .nav-right .lang-dropdown li a {
        padding: 8px 10px;
    }
}


/* ============================================================
   10. 菜单右上角 · 免费打样 / 产品询价 轮播按钮（参考 bodor.cn）
       同一位置垂直轮播切换，白底圆角胶囊，深色文字 + 箭头
       仅 lg(992px) 及以上显示，移动端由侧边栏菜单承载
   ============================================================ */

.nav-cta-rotator {
    position: relative;
    display: none; /* 移动端隐藏，桌面端由 media query 开启 */
    align-self: center;
    flex: 0 0 auto;
    width: 130px;
    height: 30px;
    /*margin-left: 12px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 6px 18px rgba(20, 24, 40, 0.10);*/
    overflow: hidden;
    vertical-align: middle;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-cta-rotator:hover {
    box-shadow: 0 8px 22px rgba(90, 76, 250, 0.22);
    transform: translateY(-1px);
}

.nav-cta-rotator .swiper-wrapper {
    height: 100%;
}

.nav-cta-rotator .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-cta-rotator .swiper-slide a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 0 20px;
    border-radius: 1rem;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--title-color);
    background: var(--white-color);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-cta-rotator .swiper-slide a:hover {
    color: var(--purple);
}

@media (min-width: 992px) {
    .nav-cta-rotator {
        display: inline-flex;
    }
}


/* ============================================================
   11. 页脚（布局基类 / 亮色主题 / 暗色主题 / 响应式）
   ============================================================ */

/* footer底部样式 — 布局基类（亮色/暗色共用）*/
.footer-section {
    font-size: 0.875rem;
}

.footer-section .footer-main {
    padding: 70px 0 60px;
}

.footer-section .footer-main-grid {
    display: flex;
    gap: 80px;
}

/* 左侧品牌区 */
.footer-section .footer-brand-col {
    flex: 0 0 320px;
}

.footer-section .footer-logo-dark {
    display: inline-block;
    margin-bottom: 32px;
}

.footer-section .footer-logo-dark img {
    height: 38px;
    width: auto;
}

/* 电话区 */
.footer-section .footer-tel {
    margin-bottom: 28px;
}

.footer-section .footer-tel .tel-number {
    font-size: 1.75rem;
    text-decoration: none;
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}

.footer-section .footer-tel .tel-label {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
}

/* 联系信息列表 */
.footer-section .footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-section .footer-info-item .info-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 3px;
    letter-spacing: 0.05em;
}

.footer-section .footer-info-item .info-value {
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

/* 左侧社交媒体图标 */
.footer-section .footer-brand-col .footer-social-dark {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-section .footer-brand-col .footer-social-dark .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-section .footer-brand-col .footer-social-dark .social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* 右侧导航栏目 */
.footer-section .footer-nav-cols {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section .footer-nav-col .footer-col-title {
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

.footer-section .footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-nav-col ul li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-section .footer-nav-col ul li a {
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.25s;
    display: inline-block;
}

/* 底部版权栏 */
.footer-section .footer-bottom-dark {
    padding: 18px 0;
}

.footer-section .footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 0.75rem;
}

.footer-section .footer-bottom-row .footer-bottom-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.footer-section .footer-bottom-row .copyright-text {
    margin: 0;
}

.footer-section .footer-bottom-row .icp-link {
    text-decoration: none;
    transition: color 0.25s;
    font-size: 0.75rem;
}

/* ---- 亮色主题（默认）---- */
.footer-section {
    background-color: var(--bg);
    border-top: 1px solid var(--divider);
    color: #6a6a6a;
}

.footer-section .footer-logo-dark img {
    filter: none;
}

.footer-section .footer-tel .tel-number {
    color: #1a1a1a;
}

.footer-section .footer-tel .tel-number:hover {
    color: var(--blue);
}

.footer-section .footer-tel .tel-label {
    color: #999;
}

.footer-section .footer-info-item .info-label {
    color: #999;
}

.footer-section .footer-info-item .info-value {
    color: #6a6a6a;
}

.footer-section .footer-info-item a.info-value:hover {
    color: var(--blue);
}

.footer-section .footer-brand-col .footer-social-dark .social-link {
    background: var(--divider);
    color: #6a6a6a;
}

.footer-section .footer-brand-col .footer-social-dark .social-link:hover {
    background: var(--gradient-brand);
    color: var(--white-color);
}

.footer-section .footer-nav-col .footer-col-title {
    color: #1a1a1a;
}

.footer-section .footer-nav-col ul li a {
    color: #6a6a6a;
}

.footer-section .footer-nav-col ul li a:hover {
    color: var(--blue);
}

.footer-section .footer-bottom-dark {
    border-top: 1px solid var(--divider);
    background: #f0f1f5;
}

.footer-section .footer-bottom-row {
    color: #999;
}

.footer-section .footer-bottom-row .icp-link {
    color: #999;
}

.footer-section .footer-bottom-row .icp-link:hover {
    color: #6a6a6a;
}

.footer-section .footer-bottom-row .disclaimer-text,
.footer-section .footer-bottom-row .copyright-text {
    color: #999;
    font-size: 0.75rem;
}

/* ---- 暗色主题（footer-dark 类）---- */
.footer-section.footer-dark {
    background-color: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section.footer-dark .footer-logo-dark img {
    filter: brightness(0) invert(1);
}

.footer-section.footer-dark .footer-tel .tel-number {
    color: var(--white-color);
}

.footer-section.footer-dark .footer-tel .tel-number:hover {
    color: var(--blue);
}

.footer-section.footer-dark .footer-tel .tel-label {
    color: rgba(255, 255, 255, 0.65);
}

.footer-section.footer-dark .footer-info-item .info-label {
    color: rgba(255, 255, 255, 0.35);
}

.footer-section.footer-dark .footer-info-item .info-value {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section.footer-dark .footer-info-item a.info-value:hover {
    color: var(--blue);
}

.footer-section.footer-dark .footer-brand-col .footer-social-dark .social-link {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
}

.footer-section.footer-dark .footer-brand-col .footer-social-dark .social-link:hover {
    background: var(--gradient-brand);
    color: var(--white-color);
}

.footer-section.footer-dark .footer-nav-col .footer-col-title {
    color: var(--white-color);
}

.footer-section.footer-dark .footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-section.footer-dark .footer-nav-col ul li a:hover {
    color: var(--white-color);
}

.footer-section.footer-dark .footer-bottom-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #141414;
}

.footer-section.footer-dark .footer-bottom-row {
    color: rgba(255, 255, 255, 0.3);
}

.footer-section.footer-dark .footer-bottom-row .icp-link {
    color: rgba(255, 255, 255, 0.3);
}

.footer-section.footer-dark .footer-bottom-row .icp-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer-section.footer-dark .footer-bottom-row .disclaimer-text,
.footer-section.footer-dark .footer-bottom-row .copyright-text {
    color: rgba(255, 255, 255, 0.3);
}

/* 响应式 */
@media (max-width: 1199px) {
    .footer-section .footer-main-grid {
        gap: 50px;
    }
    .footer-section .footer-brand-col {
        flex: 0 0 260px;
    }
}

@media (max-width: 991px) {
    .footer-section .footer-main {
        padding: 50px 0 40px;
    }
    .footer-section .footer-main-grid {
        flex-direction: column;
        gap: 40px;
    }
    .footer-section .footer-brand-col {
        flex: 0 0 auto;
        width: 100%;
    }
    .footer-section .footer-nav-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-section .footer-utility-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-section .footer-quick-links {
        justify-content: center;
    }
    .footer-section .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

@media (max-width: 575px) {
    .footer-section .footer-main {
        padding: 40px 0 30px;
    }
    .footer-section .footer-nav-cols {
        /*grid-template-columns: 1fr;*/
        gap: 24px;
    }
    .footer-section .footer-tel .tel-number {
        font-size: 1.5rem;
    }
}


/* ============================================================
   12. 页脚社交媒体 - hover 显示二维码浮层
       浮层在 icon 上方，白色卡片 + 三角箭头，hover 时淡入上移
       仅作用于带 .social-qr 的链接，其他 social-link 不受影响
   ============================================================ */

.footer-social-dark .social-qr {
    position: relative;
    cursor: pointer;
}

.footer-social-dark .social-qr-popover {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translate(-50%, 6px);
    background: var(--white-color);
    padding: 10px 10px 8px;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 30;
    width: 160px;          /* 固定 160 = img 140 + 左右 padding 10，保证图片不被父容器压扁 */
    text-align: center;    /* 浮层内内容居中，不依赖 white-space */
    pointer-events: none;
}

/* 浮层底部三角，指向 icon */
.footer-social-dark .social-qr-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--white-color);
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.08));
}

.footer-social-dark .social-qr-popover img {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: var(--radius-xs);
    object-fit: contain;   /* contain 防裁切；图片源是 200x200 正方形，缩到 140 不会变形 */
    margin: 0 auto;        /* 兜底居中 */
}

.footer-social-dark .social-qr-popover span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #363636;
    text-align: center;
    letter-spacing: 0.02em;
    font-family: var(--font-kanit);
}

.footer-social-dark .social-qr:hover .social-qr-popover,
.footer-social-dark .social-qr:focus-within .social-qr-popover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

/* 移动端：二维码浮层不显示（footer 在窄屏可能错位） */
@media (max-width: 575px) {
    .footer-social-dark .social-qr-popover {
        display: none;
    }
}


/* ============================================================
   13. 悬浮工具栏
   ============================================================ */

.floating-toolbar {
    position: fixed;
    right: 16px;
    bottom: 120px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid rgba(54, 54, 54, 0.08);
    border-radius: 0.5rem;
    background: var(--white-color);
    color: var(--dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
    cursor: pointer;
}

.floating-btn > i {
    font-size: 1.4rem;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 4px;
    transition: -webkit-text-fill-color 0.3s, color 0.3s;
}

.floating-btn .floating-label {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: 0.02em;
    text-align: center;
}

.floating-btn:hover {
    transform: translateY(-3px);
    background: var(--gradient);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}

.floating-btn:hover > i,
.floating-btn:hover .floating-label {
    color: var(--white-color);
    -webkit-text-fill-color: var(--white-color);
}

.floating-btn.floating-back-top {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-top: 2px;
}

.floating-btn.floating-back-top > i {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0;
}

.floating-btn.floating-back-top:hover {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: var(--shadow-brand);
}

.floating-btn.floating-back-top:hover > i {
    color: var(--white-color);
    -webkit-text-fill-color: var(--white-color);
}

@media (max-width: 767px) {
    .floating-toolbar {
        right: 10px;
        bottom: 90px;
        gap: 10px;
    }
    .floating-btn {
        width: 56px;
        height: 56px;
        border-radius: var(--radius);
    }
    .floating-btn > i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    .floating-btn .floating-label {
        font-size: 0.62rem;
    }
    .floating-btn.floating-back-top {
        width: 56px;
        height: 56px;
        border-radius: 50%;
    }
}


/* ============================================================
   14. 深入了解产品（Service Entry，参考截图极简卡片）
   ============================================================ */

.service-entry-section {
    background-color: #f5f6f8;
    padding: 80px 0 90px;
}

.service-entry-section .service-entry-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-entry-section .service-entry-header h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 0.04em;
    margin: 0;
}

.service-entry-card-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    text-decoration: none;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    z-index: 11;
}

.service-entry-card-v2:hover {
    transform: translateY(-6px);
}

.service-entry-card-v2 .service-card-icon {
    width: 5rem;
    height: 5rem;
    color: var(--dark);
    margin-bottom: 24px;
    transition: color 0.35s, transform 0.35s;
}

.service-entry-card-v2:hover .service-card-icon {
    color: var(--blue);
    transform: translateY(-2px);
}

.service-entry-card-v2 .service-card-icon svg {
    width: 100%;
    height: 100%;
}

.service-entry-card-v2 h5 {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--dark);
    margin: 0 0 20px;
    letter-spacing: 0.03em;
    transition: color 0.35s;
}

@media (max-width: 991px) {
    .service-entry-section {
        padding: 60px 0 70px;
    }
    .service-entry-section .service-entry-header {
        margin-bottom: 36px;
    }
    .service-entry-section .service-entry-header h2 {
        font-size: 1.75rem;
    }
    .service-entry-card-v2 .service-card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 22px;
    }
}
@media (max-width: 767px) {
    .service-entry-card-v2 h5 {
        font-size: 1.3125rem;
        margin-bottom: 0.75rem;
    }
    .service-entry-card-v2 .service-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }
    .service-entry-card-v2 .more-details-btn {
        font-size: 0.875rem;
    }
}

@media (max-width: 575px) {
    .service-entry-section {
        padding: 48px 0 56px;
    }
    .service-entry-section .service-entry-header h2 {
        font-size: 1.5rem;
    }
    .service-entry-card-v2 h5 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    .service-entry-card-v2 .service-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.75rem;
    }
    .service-entry-card-v2 .more-details-btn {
        font-size: 0.875rem;
    }
}


/* ============================================================
   15. 行业场景 · 悬浮蓝紫渐变覆盖（home3-service）
   ============================================================ */

.home3-service-section .service-list .single-service .service-content h5 span {
    color: var(--title-color);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    transition: 0.5s;
}

.home3-service-section .service-list .single-service {
    background-image: linear-gradient(to bottom, var(--purple) 0%, var(--blue) 98%);
}

.home3-service-section .service-list .single-service:hover {
    background-image: linear-gradient(to bottom, var(--purple) 0%, var(--blue) 98%);
}

.home3-service-section .service-list .single-service:hover .service-content span {
    color: rgba(255, 255, 255, 0.9);
}


/* ============================================================
   16. 通用图标+文字菜单（合作支持 / 关于我们 共用）
       极简版：无背景 / 无边框 / 图标为线性 SVG
   ============================================================ */

.mega-menu-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mega-menu-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mega-menu-card:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: translateX(4px);
}

.mega-menu-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
   /* align-items: center;*/
    justify-content: center;
    background: transparent;
    color: var(--blue);
    border-radius: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mega-menu-card:hover .mega-menu-card-icon {
    transform: none;
    /*color: var(--purple);*/
}

.mega-menu-card-icon svg {
    width: 32px;
    height: 32px;
}

.mega-menu-card-text h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--title-color);
    margin: 0 0 4px;
    transition: color 0.3s ease;
}

.mega-menu-card:hover .mega-menu-card-text h4 {
    color: var(--blue);
}

.mega-menu-card-text p {
    font-size: 0.875rem;
    color: var(--paragraph-color);
    line-height: 1.55;
    margin: 0;
}

/* 移动端：通用卡片菜单 响应式 */
@media (max-width: 991px) {
    .mega-menu-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mega-menu-card {
        padding: 6px 0;
        gap: 12px;
    }

    .mega-menu-card-icon {
        width: 30px;
        height: 30px;
    }

    .mega-menu-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .mega-menu-card-text h4 {
        font-size: 1rem;
    }

    .mega-menu-card-text p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .mega-menu-card {
        padding: 4px 0;
    }

    .mega-menu-card-text h4 {
        font-size: 0.9375rem;
    }
}


/* ============================================================
   17. 世界地图（纯静态 SVG，零 JS 零请求，无卡顿）
   ============================================================ */

.coop-map-wrap {
    position: relative;
    /*border-radius: 16px;
    overflow: hidden;*/
    /*border: 1px solid var(--silver-light);*/
    /*background: linear-gradient(180deg, #fafbfd, #f1f4f9);*/
}

.coop-map-static {
    position: relative;
    width: 100%;
}

.coop-world {
    display: block;
    width: 100%;
    height: auto;
}

.coop-world-land path {
    fill: #d9dfe9;
    stroke: #c2cbd9;
    stroke-width: 0.8;
    stroke-linejoin: round;
}

/* 节点（叠加在地图上） */
.coop-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.coop-pin-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    border: 2px solid var(--white-color);
    box-shadow: var(--shadow-xs);
}

/* Hub 节点（常州） */
.coop-pin-hub .coop-pin-dot {
    width: 13px;
    height: 13px;
    background: var(--gradient);
    box-shadow: 0 0 10px rgba(59, 144, 244, 0.45);
}

.coop-pin-pulse {
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: rgba(59, 144, 244, 0.28);
    animation: pinPulse 2.8s ease-out infinite;
    pointer-events: none;
}

.coop-pin-pulse-2 { animation-delay: 1.4s; }

@keyframes pinPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(4.5); opacity: 0; }
}

/* 节点标签 */
.coop-pin-label {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--title-color);
    background: var(--white-color);
    padding: 4px 11px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(54, 54, 54, 0.08);
}

.coop-pin-hub .coop-pin-label {
    color: var(--white-color);
    background: var(--gradient);
}

/* 标签置于圆点下方（密集节点错开，避免文字重叠） */
.coop-pin-label.coop-label-below {
    bottom: auto;
    top: calc(100% + 8px);
}


/* ============================================================
   18. 新闻分类筛选 Tabs（pill 风格）
   ============================================================ */

.news-type {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.news-type a {
    display: inline-flex;
    align-items: center;
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-inter), "SimHei", "黑体", sans-serif;
    color: var(--dark);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--divider);
    transition: background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    cursor: pointer;
}

.news-type a:hover {
    color: var(--blue);
    border-color: var(--blue);
    background: rgba(59, 144, 244, 0.06);
    transform: translateY(-1px);
}

/* 当前页态（如"全部新闻"）—— 标记"你在这里"，而非筛选器 */
.news-type a.active {
    color: #fff;
    background: var(--gradient);
    border-color: transparent;
}

.news-type a.active:hover {
    color: #fff;
    background: var(--gradient);
    transform: none;
}
@media (max-width: 767px) {
    .news-type {
        justify-content: flex-start;
    }
    .news-type a {
        padding: 0.5rem 1rem;
    }
}

/* ============================================================
   19. 列表分页（PBootCMS {page:numbar} 输出）
       结构：paginations > [page-item(箭头)] + page-num(数字) + [page-item(箭头)]
   ============================================================ */

/* 分页容器微调 — 与截图一致的 pill 圆角边框 */
.innerpage-pagination-area .paginations {
    gap: 8px !important;
    padding: 8px 16px !important;
}

/* 页码数字 — 圆形按钮 */
.innerpage-pagination-area .paginations .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 4px;
    border-radius: 50%;
    font-family: var(--font-inter), "SimHei", "黑体", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--paragraph-color);
    text-decoration: none;
    border: 1.5px solid #d1d5db;
    background: transparent;
    transition: all 0.3s ease;
    line-height: 1;
}

/* 当前页 — 蓝色实心圆 */
.innerpage-pagination-area .paginations .page-num.page-num-current {
    color: #fff;
    background: var(--blue, #2563eb);
    border-color: var(--blue, #2563eb);
}

/* 悬停态 */
.innerpage-pagination-area .paginations .page-num:hover {
    color: var(--blue, #2563eb);
    border-color: var(--blue, #2563eb);
    background: rgba(37, 99, 235, 0.06);
}

/* 当前页不需要 hover 变化 */
.innerpage-pagination-area .paginations .page-num.page-num-current:hover {
    color: #fff;
    background: var(--blue, #2563eb);
    border-color: var(--blue, #2563eb);
}

/* 左右箭头按钮 — 继承原有样式，微调间距 */
.innerpage-pagination-area .paginations .page-item.paginations-button {
    flex-shrink: 0;
}

.innerpage-pagination-area .paginations .page-item.paginations-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: transparent;
    transition: all 0.3s ease;
}

.innerpage-pagination-area .paginations .page-item.paginations-button a svg {
    width: 14px;
    height: 12px;
}

.innerpage-pagination-area .paginations .page-item.paginations-button a:hover {
    border-color: var(--blue, #2563eb);
    background: rgba(37, 99, 235, 0.06);
}

/* 响应式 */
@media (max-width: 575px) {
    .innerpage-pagination-area .paginations {
        gap: 6px !important;
        padding: 6px 10px !important;
    }
    .innerpage-pagination-area .paginations .page-num,
    .innerpage-pagination-area .paginations .page-item.paginations-button a {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}


/* ============================================================
   20. 可访问性 — 聚焦可见性（修复 style.css 关闭的 :focus 轮廓）
        仅作用于交互元素，不影响美观；用品牌蓝派生的聚焦环
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.primary-btn:focus-visible,
.primary-btn2:focus-visible,
.more-details-btn:focus-visible,
.lang-switcher-btn:focus-visible,
.social-link:focus-visible,
.nav-cta-rotator .swiper-slide a:focus-visible {
    box-shadow: var(--shadow-focus);
}

@media (max-width: 767px) {
    .team-card .team-content h5 {
        font-size: 1rem;
    }
    .pt-130 {
        padding-top: 65px;
    }
    .pb-130 {
        padding-bottom: 65px;
    }
    .custom-banner-section {
        min-height: 480px;
    }
}
@media (max-width: 1399px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 92%;
    }
}