/* ===================================================================
   南通在天精密机械 - 官网样式
   设计基准：1920px 屏幕，中间内容区 1600px（--container）
   断点：1600 / 1200 / 992 / 768 / 480
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1475cf;
    --blue-dark: #1475cf;
    --blue-light: #eaf3fe;
    --text: #333;
    --text-sub: #aaa;
    --dark: #232a35;
    --line: #e8ebef;
    --container: 1600px;
    /* 中间显示区域 1600px */
    --header-h: 90px;
    --shadow: 0 10px 30px rgba(31, 60, 100, .08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.center {
    text-align: center;
}

.mt36 {
    margin-top: 36px;
}


/* ---------- 标题 ---------- */

.section-title {
    position: relative;
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    padding-bottom: 18px;
    letter-spacing: 1px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title--light {
    color: #fff;
}

.section-sub {
    margin-top: 16px;
    font-size: 22px;
    color: var(--text-sub);
    letter-spacing: 2px;
}

.section-sub.center {
    text-align: center;
}

.section-title--light+.section-sub {
    color: rgba(255, 255, 255, .7);
}


/* ---------- 通用胶囊按钮 ---------- */

.btn-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 38px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(42, 125, 225, .32);
    transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.btn-capsule i {
    font-style: normal;
    transition: transform .35s ease;
}

.btn-capsule:hover {
    color:#fff!important;
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(42, 125, 225, .42);
}

.btn-capsule:hover i {
    transform: translateX(5px);
}

.btn-capsule--ghost {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    box-shadow: none;
}

.btn-capsule--ghost:hover {
    background: #fff;
    color: var(--blue);
    border-color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
}


/* ---------- 滚动入场 ---------- */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- 1. 顶部导航：透明 -> 磨砂玻璃 + 下拉菜单 ---------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom-color: rgba(20, 40, 70, .08);
    box-shadow: 0 4px 24px rgba(20, 40, 70, .10);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    display: block;
    line-height: 0;
}

.logo-mark img {
    width: 55px;
    /*height: 45px;*/
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo-text strong {
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
}


/* 小字两端对齐，与上行中文名等长 */

.logo-text em {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    font-style: normal;
    letter-spacing: .5px;
    white-space: nowrap;
    text-align: justify;
    text-align-last: justify;
}

.site-header.scrolled .logo-text strong {
    color: var(--text);
}

.site-header.scrolled .logo-text em {
    color: var(--text-sub);
}


/* 导航整体右对齐（靠右侧按钮组） */

.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
    margin-left: auto;
}

.main-nav>li {
    position: relative;
    margin: 0 1vw 0 0;
}

.main-nav>li>a {
    position: relative;
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, .92);
    padding: 32px 2px;
    transition: color .3s;
}

.main-nav>li>a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--blue);
    transform: translateX(-50%);
    transition: width .3s ease;
}

.main-nav>li>a:hover::after,
.main-nav>li>a.active::after {
    width: 100%;
}

.main-nav>li.has-sub>a {
    padding-right: 16px;
}

.main-nav>li.has-sub>a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease, margin-top .3s ease;
}

.main-nav>li.has-sub:hover>a::before {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 160px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(20, 40, 70, .16);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

.main-nav>li.has-sub:hover .sub-menu,
.main-nav>li.has-sub.open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.sub-menu li a {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    color: #4a535f;
    white-space: nowrap;
    transition: background .25s, color .25s, padding-left .25s;
}

.sub-menu li a:hover {
    background: var(--blue-light);
    color: var(--blue);
    padding-left: 30px;
}

.site-header.scrolled .main-nav>li>a {
    color: #4a535f;
}

.site-header.scrolled .main-nav>li>a:hover,
.site-header.scrolled .main-nav>li>a.active {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 30px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.search-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.site-header.scrolled .search-btn {
    color: var(--text);
    border-color: #d5dbe3;
}

.site-header.scrolled .search-btn:hover {
    color: #fff;
}


/* 语言切换按钮：与搜索按钮同款圆形描边 */

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    letter-spacing: .5px;
    transition: all .3s;
}

.lang-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.site-header.scrolled .lang-btn {
    color: var(--text);
    border-color: #d5dbe3;
}

.site-header.scrolled .lang-btn:hover {
    color: #fff;
    border-color: var(--blue);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}

.site-header.scrolled .nav-toggle span {
    background: var(--text);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* 抽屉导航关闭按钮：桌面隐藏，移动端抽屉展开时浮在抽屉右上角 */

.nav-close {
    display: none;
}

.nav-mask {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 40, .45);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
}

.nav-mask.show {
    opacity: 1;
    visibility: visible;
}


/* ---------- 2. 首页 Banner：100vh，背景图与文字层分离 ---------- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}


/* 容器铺满首屏；slide 保持正常文档流（fade 效果依赖每张 slide 的真实水平偏移计算透明度，
   绝对定位会让所有偏移归零导致整屏 opacity=0 白屏） */

.hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* 每张 slide 内部：背景图(0) -> 遮罩(1) -> 文字/悬浮图(2)，随 slide 一起淡入淡出 */

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 6s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10, 45, 90, .88) 0%, rgba(15, 65, 125, .62) 45%, rgba(20, 80, 150, .32) 100%);
}


/* 分页器位于 swiper 容器外（.hero 直接子级），层级最高，确保可点击 */

.hero-pagination {
    position: absolute;
    left: 0;
    right: 0;
    text-align: left !important;
    padding-left: calc((100% - var(--container)) / 2 + 20px);
    bottom: 50px !important;
    z-index: 6;
}

.hero-pagination .swiper-pagination-bullet {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    margin: 0 5px !important;
    cursor: pointer;
    transition: all .3s;
}

.hero-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, .85);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 42px;
}


/* 文字 + 悬浮图：属于各自 slide，slide 激活时播放进场动画 */

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 960px;
    opacity: 0;
    transition: opacity .6s ease;
}

.hero-part {
    flex: 0 0 460px;
    opacity: 0;
    transition: opacity .6s ease;
}


/* 无 JS 兜底：首屏文字与悬浮图默认可见；Swiper 运行时以 slide 级内联透明度接管显隐 */

.hero-first .hero-text,
.hero-first .hero-part {
    opacity: 1;
}

.swiper-slide-active .hero-text {
    animation: heroUp .9s ease .15s both;
}

.swiper-slide-active .hero-part {
    animation: heroUp .9s ease .3s both;
}

.swiper-slide-active .hero-part img {
    animation: heroFloat 5s ease-in-out 1.2s infinite;
}

.hero-en {
    font-size: 20px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-text h1 {
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    letter-spacing: 2px;
    margin-bottom: 2vw;
    position: relative;
}

.hero-text h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1vw;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

.hero-desc {
    font-size: 24px;
    color: rgba(255, 255, 255, .82);
    line-height: 2;
    margin-bottom: 44px;
    max-width: 960px;
}

.hero-part img {
    width: 100%;
    border-radius: 14px;
    /*box-shadow: 0 30px 60px rgba(0, 20, 50, .45);*/
    /*background: #fff;*/
}

@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-16px);
    }
}


/* ---------- 3. 关于我们（右图贴屏幕右边） ---------- */

.about {
    overflow: hidden;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    position: relative;
    flex: 1;
    min-width: 0;
}


/* 关于我们标题后的镂空 ABOUT US 悬浮字 */

.about-bg-text {
    position: absolute;
    top: -80px;
    left: -6px;
    z-index: 1;
    font-family: Arial, "Helvetica Neue", sans-serif!important;
    font-size: 146px;
    font-weight: 800;
    letter-spacing: 4px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(45, 111, 218, 0.1);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.about-text p {
    color: var(--text);
    font-size: 16px;
    margin-top: 24px;
    line-height: 2.5;
    text-align: justify;
}


/* 三项统计：与标题/正文同宽、两端对齐均布 */

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin: 44px 0 40px;
}

.about-stats li {
    display: flex;
      align-items: flex-end;
    gap: 14px;
}


/* 图标：纯蓝色线性图标，无圆形底色 */

.stat-icon {
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}


/* 数字：深灰黑（设计稿非蓝色） */

.stat-num {
    font-size: 42px;
    color: #333;
    font-weight: 500;
}

.stat-num b {
    font-weight: 500;
    line-height: 1.75;
}

.stat-info em {
    font-size: 13.5px;
    color: var(--text-sub);
    font-style: normal;
}

.about-img {
    flex: 0 0 60%;
    margin-right: calc((100vw - var(--container)) / -2);
}

.about-img img {
    width: 100%;
    aspect-ratio:5/3;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
    box-shadow: var(--shadow);
}


/* ---------- 4. 产品中心 ---------- */

.products {
    position: relative;
    padding: 100px 0 105px;
    overflow: hidden;
}

.products-bg,
.products-mask {
    position: absolute;
    inset: 0;
}

.products-bg {
    background-size: cover;
    background-position: center;
}

.products-mask {
    background: rgba(18, 24, 33, .86);
}

.products-inner {
    position: relative;
    z-index: 2;
}


/* 栏目导航：与下方图文左右两端对齐，整行均布；胶囊带图标；选中为白底蓝字 */

.product-tabs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 48px 0 44px;
}

.ptab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 30px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .5);
    color: rgba(255, 255, 255, .92);
    font-size: 20px;
    line-height: 1;
    transition: all .3s;
}

.ptab svg {
    flex-shrink: 0;
}

.ptab:hover {
    border-color: #fff;
    color: #fff;
}

.ptab.active {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
}

.ptab img {
    filter: brightness(0) invert(1);
}

.ptab.active img {
    filter: brightness(1) invert(0);
}

.ppanel {
    display: none;
}

.ppanel.active {
    display: block;
    animation: fadeIn .5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ppanel .swiper {
    padding: 4px 0 12px;
}


/* 卡片：四角圆角、白底、图片铺满，名称在下方浅灰条内 */

.pcard {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.pcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, .3);
}

.pcard-img {
    display: block;
    background: #fff;    border: 1px solid #f4f4f4;
    aspect-ratio: unset;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s ease;
}

.pcard:hover .pcard-img img {
    transform: scale(1.06);
}

.pcard-name {
    display: block;
    text-align: center;
    padding: 18px 10px 19px;
    font-size: 20px;
    color: #4a4a4a;
    background: #f4f4f4;
    transition: color .3s;
}

.pcard:hover .pcard-name {
    color: var(--blue);
}

.product-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.pnav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.pnav:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.pnav.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.pnav.swiper-button-disabled:hover {
    background: none;
    border-color: rgba(255, 255, 255, .4);
}


/* ---------- 5. 四大实力（通栏四等分；背景层随悬停项切换） ---------- */

.strength {
    padding-bottom: 0;
}

.strength-banner {
    position: relative;
    margin-top: 56px;
    overflow: hidden;
}

.sbg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0;
    transition: opacity .8s ease;
}

.sbg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 29, 42, .001);
}

.sbg.show {
    opacity: 1;
}


/* 四栏整体贴满视口宽度、均分等宽（不受 .container 限宽） */

.strength-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    min-height: 820px;
}

.sitem {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* 内容底部对齐；悬停时描述+按钮展开，整块向上生长 */
    padding: 0 56px 80px;
    color: #fff;
    cursor: pointer;
    transition: background .45s ease;
}

.sitem+.sitem {
    border-left: 1px solid rgba(255, 255, 255, .14);
}


/* 通栏分栏线 */

.sitem.active,
.sitem:hover {
    background: rgba(20,117,207, .5);
}


/* 选中态：蓝色半透明叠加 */

.sitem.active,
.sitem:hover {
    justify-content: center;
}


/* 选中态：整体文字垂直居中 */

.snum {
    display: inline-block;
    transform-origin: left center;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .42);
    font-family: Arial, "Helvetica Neue", sans-serif;
    transition: color .4s ease, transform .45s ease;
}

.sitem.active .snum,
.sitem:hover .snum {
    color: rgba(255, 255, 255, .6);
    transform: scale(1.89);
}

.sicon {
    margin: 3vw 0 2vw;
    display: block;
    line-height: 0;
    transition: transform .4s ease;
}

.sicon img {
    max-width: 80px;
}

.sitem.active .sicon,
.sitem:hover .sicon {
    transform: translateY(-4px) scale(1.06);
}

.stitle {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
}

.sen {
    margin-top: 12px;
    font-size: 16px;
    letter-spacing: 1.4px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    transition: color .4s ease;
}

.sitem.active .sen,
.sitem:hover .sen {
    color: rgba(255, 255, 255, .78);
}


/* 描述 + 圆形箭头按钮：普通状态收起（只留数字/图标/标题/英文），选中或悬停时平滑展开 */

.sdesc {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .9);
    text-align: justify;
    transition: max-height .5s ease, margin-top .5s ease, opacity .4s ease;
}

.sbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(12px);
    transition: max-height .5s ease, margin-top .5s ease, opacity .4s ease, transform .45s ease, background .35s ease, color .35s ease, border-color .35s ease;
}

.sitem.active .sdesc,
.sitem:hover .sdesc {
    max-height: 170px;
    margin-top: 24px;
    opacity: 1;
}

.sitem.active .sbtn,
.sitem:hover .sbtn {
    max-height: 92px;
    margin-top: 34px;
    opacity: 1;
    transform: translateY(0);
}

.sbtn:hover {
    background: #fff;
    color: #3272AF;
    border-color: #fff;
}


/* ---------- 6. 新闻资讯 ---------- */

.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 46px;
}

.news-head-l p {
    margin-top: 14px;
    font-size: 22px;
    color: var(--text-sub);
}

.news-tabs {
    display: flex;
    gap: 14px;
}

.ntab {
    padding: 10px 30px;
    border-radius: 999px;
    font-size: 15px;
    border: 1px solid #d8dee6;
    color: var(--text-sub);
    transition: all .3s;
}

.ntab:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.ntab.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}


/* 左右两栏紧贴成一体（中间无空隙）：左图 50% + 右列表 50% */

.news-body {
    display: none;
    gap: 0;
    align-items: stretch;
}

.news-body.active {
    display: flex;
    animation: fadeIn .45s ease;
    
}

.news-feature {
    position: relative;
    flex: 0 0 50%;
}

.nf-media {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: 14px 0 0 14px;
}

.nf-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.nf-media:hover .nf-img {
    transform: scale(1.06);
}

.nf-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 35, .16) 0%, rgba(10, 20, 35, .04) 42%, rgba(10, 20, 35, .85) 100%);
}


/* 日期：无底块、无边框，白字直接叠在图上 */

.nf-date {
    position: absolute;
    left: 84px;
    top: 100px;
    z-index: 2;
    line-height: 1.15;
}

.nf-date b {
    display: block;
    font-size: 32px;
    line-height: 1.6;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.nf-date i {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
    font-style: normal;
    letter-spacing: .5px;
}

.nf-text {
    position: absolute;
    left: 84px;
    right: 84px;
    top: 46%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
}

.nf-text h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.nf-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 查看更多：位于图片底部，一半溢出图片下边缘（尺寸样式与 banner 查看产品一致） */

.nf-btn {
    position: absolute;
    left: 84px;
    bottom: 0;
    z-index: 3;
    transform: translateY(50%);
}

.nf-btn:hover {
    transform: translateY(calc(50% - 3px));
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0 14px 14px 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-list li {
    position: relative;
    flex: 1;
    display: flex;
}

.news-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 84px;
    right: 84px;
    bottom: 0;
    height: 1px;
    background: var(--line);
}

.news-list li a {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 84px 0 112px;
    min-height: 159px;
}


/* hover：行内垂直居中、位于日期左侧并跨越中缝的横向蓝线 */

.news-list li a::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    margin-top: -1px;
    width: 0;
    height: 2px;
    opacity: 0;
    background: var(--blue);
    transition: width .35s ease, opacity .3s ease;
}

.news-list li a:hover::before {
    width: 90px;
    opacity: 1;
}


/* 日期：无底块、无竖线 */

.nl-date {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.15;
}

.nl-date b {
    font-size: 32px;
    line-height: 1.6;
    color: var(--text);
    font-weight: 700;
    transition: color .3s;
}

.nl-date i {
    font-size: 14px;
    color: #999;
    font-style: normal;
    transition: color .3s;
}

.news-list li a:hover .nl-date b,
.news-list li a:hover .nl-date i {
    color: var(--blue);
}

.nl-info h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .3s;
}

.nl-info p {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list li a:hover .nl-info h4 {
    color: var(--blue);
}


/* ---------- 7. 页脚（顶部蓝色细线） ---------- */

.site-footer {
    position: relative;
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
}

.footer-inner {
    display: flex;
    gap: 60px;
    padding: 70px 20px 56px;
}

.footer-brand {
    flex: 0 0 250px;
}

.logo--footer .logo-text strong {
    color: #fff;
}

.logo--footer .logo-text em {
    color: rgba(255, 255, 255, .5);
}

.footer-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4vw;
}

.footer-qr img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.footer-qr span {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.footer-qr b {
    color: #fff;
    font-size: 15px;
}

.footer-qr i {
    font-style: normal;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .55);
}


/* 中间链接栏与左右两侧之间的竖直分割线 */

.footer-cols {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    border-left: 1px solid rgba(255, 255, 255, .08);
    border-right: 1px solid rgba(255, 255, 255, .08);
    padding: 0 40px;
}

.footer-cols dt {
    font-size: 15.5px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-cols dd {
    margin-bottom: 8px;
}

.footer-cols dd a {
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    transition: color .3s, padding-left .3s;
}

.footer-cols dd a:hover {
    color: var(--blue);
    padding-left: 5px;
}


/* 右侧联系信息：图标 + 标签加粗 + 内容 */

.footer-contact {
    flex: 0 0 330px;
}

.footer-contact h4 {
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 22px;
    letter-spacing: 1px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-contact .fc-ico {
    flex-shrink: 0;
    color: rgba(255, 255, 255, .55);
    line-height: 0;
    margin-top: 0px;
}

.footer-contact p b {
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}
 
.footer-bottom a {
    color: rgba(255, 255, 255, .45);
    transition: color .3s;
}

.footer-bottom a:hover {
    color: var(--blue);
}

.footer-bottom i {
    font-style: normal;
    margin: 0 10px;
    color: rgba(255, 255, 255, .25);
}

.back-top {
    position: fixed;
    right: 26px;
    bottom: 30px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .35s ease;
    box-shadow: 0 8px 20px rgba(42, 125, 225, .4);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
}


/* ---------- 响应式：<= 1600 ---------- */

@media (max-width: 1600px) {
    .about-img {
        flex: 0 0 50%;
        margin-right: unset;
    }
    .hero-text h1 {
        font-size: 42px;
    }
    .hero-part {
        flex-basis: 380px;
    }
    .main-nav {
        gap: 32px;
    }
    .strength-grid {
        min-height: 700px;
    }
    .sitem {
        padding: 0 44px 68px;
    }
}


/* ---------- 响应式：<= 1200 ---------- */

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-part {
        flex-basis: 320px;
    }
    .main-nav {
        gap: 24px;
    }
    .footer-inner {
        gap: 36px;
    }
    .footer-contact {
        flex-basis: 280px;
    }
    .strength-grid {
        min-height: 600px;
    }
    .sitem {
        padding: 0 32px 54px;
    }
    .snum {
        font-size: 46px;
    }
    .stitle {
        font-size: 21px;
    }
    .sdesc {
        font-size: 14.5px;
        line-height: 1.8;
    }
}


/* ---------- 响应式：<= 992（平板） ---------- */

@media (max-width: 992px) {
    .section,
    .products {
        padding: 70px 0;
    }
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -290px;
        width: 280px;
        height: 100vh;
        background: rgba(42, 125, 225, .8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 0 30px;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
        transition: right .35s ease;
        z-index: 99;
    }
    .main-nav.open {
        right: 0;
    }
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 16px;
        right: 16px;
        z-index: 101;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .2);
        color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, background .3s, color .3s;
    }
    .nav-close:hover {
        background: #fff;
        color: var(--blue);
    }
    .main-nav.open~.header-actions .nav-close {
        opacity: 1;
        visibility: visible;
    }
    .main-nav>li>a {
        color: rgba(255, 255, 255, .88) !important;
        font-size: 16px;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }
    .main-nav>li>a::after {
        display: none;
    }
    .main-nav>li>a.active {
        color: #fff !important;
        font-weight: 700;
    }
    .main-nav>li.has-sub>a {
        padding-right: 44px;
    }
    .main-nav>li.has-sub>a::before {
        right: 28px;
    }
    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, .14);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .35s ease;
    }
    .main-nav>li.has-sub:hover .sub-menu {
        transform: none;
    }
    .main-nav>li.has-sub.open .sub-menu {
        max-height: 320px;
        transform: none;
    }
    .sub-menu li a {
        padding: 12px 44px;
        font-size: 14px;
        color: rgba(255, 255, 255, .8);
    }
    .sub-menu li a:hover {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
    .hero {
        height: 100vh;
        min-height: 560px;
    }
    .hero-content {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: center;
        gap: 30px;
        padding-top:30vh;
    }
    .hero-part {
        flex-basis: auto;
        width: 200px;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-text h1 {
        font-size: 30px;
    }
    .hero-pagination {
        padding-left: 20px;
    }
    .about-inner {
        flex-direction: column;
        gap: 40px;
    }
    .about-bg-text {
        font-size: 64px;
        top: -30px;
        letter-spacing: 4px;
    }
    .about-img {
        flex-basis: auto;
        width: 100%;
        margin-right: 0;
    }
    .about-img img {
        border-radius: 14px;
        aspect-ratio: 16/9;
    }
    /* 四大实力：通栏 2×2 均分 */
    .strength-grid {
        grid-template-columns: repeat(2, 1fr);
        min-height: 0;
    }
    .sitem {
        padding: 46px 30px 50px;
    }
    .sitem:nth-child(3) {
        border-left: 0;
    }
    .sitem:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
    /* 触屏无 hover：描述与按钮常显，避免内容不可见 */
    .sdesc {
        max-height: none;
        opacity: 1;
        margin-top: 20px;
    }
    .sbtn {
        max-height: none;
        opacity: 1;
        transform: none;
        margin-top: 26px;
    }
    /* 新闻：上下堆叠，圆角改为上圆下圆 */
    .news-body.active {
        flex-direction: column;
    }
    .news-feature {
        flex-basis: auto;
        min-height: 420px;
    }
    .nf-media {
        border-radius: 14px 14px 0 0;
    }
    .nf-text {
        left: 40px;
        right: 40px;
    }
    .nf-text h3 {
        font-size: 24px;
    }
    .nf-date {
        left: 40px;
        top: 52px;
    }
    .nf-date b {
        font-size: 30px;
    }
    .nf-btn {
        left: 40px;
    }
    .news-list {
        border-radius: 0 0 14px 14px;
    }
    .news-list li a {
        padding: 0 40px 0 52px;
        min-height: 110px;
    }
    .news-list li:not(:last-child)::after {
        left: 40px;
        right: 40px;
    }
    .news-list li a::before {
        left: -12px;
    }
    .news-list li a:hover::before {
        width: 60px;
    }
    .nl-date {
        flex-basis: 92px;
    }
    .nl-date b {
        font-size: 26px;
    }
    .nl-info h4 {
        font-size: 16px;
    }
    .footer-inner {
        flex-wrap: wrap;
    }
    .footer-brand {
        flex-basis: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-qr {
        margin-top: 0;
    }
    .footer-cols {
        flex-basis: 100%;
        grid-template-columns: repeat(3, 1fr);
        border: 0;
        padding: 0;
    }
    .footer-contact {
        flex-basis: 100%;
    }
}


/* ---------- 响应式：<= 768（手机） ---------- */

@media (max-width: 768px) {
    .sicon img {
    max-width: 50px;
}
    .stat-icon img,.intro-img li img{max-width:30px}
    .stat-info em{font-size:12px}
    .about-stats li {
   
        width: 46%;
}.stat-num b,.stat-num {font-size:24px}
    .footer-inner {
        padding: 70px 20px 15px;
    }
    body {
        font-size: 14px;
    }
    .section,
    .products {
        padding: 56px 0;
    }
    .section-title {
        font-size: 24px;
    }
     :root {
        --header-h: 64px;
    }
    .logo-text strong {
        font-size: 15px;
    }
    .logo-text em {
        font-size: 8px;
    }
    .logo-mark svg {
        width: 32px;
        height: 32px;
    }
    .search-btn {
        width: 34px;
        height: 34px;
    }
    .hero {
        min-height: 540px;
    }
    .hero-text h1 {
        font-size: 25px;
        letter-spacing: 1px;
    }
    .hero-en {
        font-size: 11px;
        letter-spacing: 2px;
    }
    .hero-desc {
        font-size: 13.5px;
        line-height: 1.9;
        margin-bottom: 30px;
    }
    .hero-part {
        width: 160px;
    }
    .about-stats {
        flex-wrap: wrap;
        gap: 22px 30px;
    }
    .product-tabs {
        gap: 10px;
        margin: 30px 0 26px;
        justify-content: flex-start;
    }
    .ptab {
        padding: 8px 16px;
        font-size: 13px;
        gap: 7px;
    }
    .ptab svg {
        width: 16px;
        height: 16px;
    }
    /* 四大实力：单列通栏堆叠 */
    .strength-grid {
        grid-template-columns: 1fr;
    }
    .sitem {
        padding: 40px 24px 44px;
        border-left: 0 !important;
    }
    .sitem:not(:first-child) {
        border-top: 1px solid rgba(255, 255, 255, .15);
    }
    .snum {
        font-size: 40px;
    }
    .sicon {
        margin: 26px 0 16px;
    }
    .news-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .nf-text {
        left: 22px;
        right: 22px;
    }
    .nf-text h3 {
        font-size: 19px;
    }
    .nf-date {
        left: 22px;
        top: 34px;
    }
    .nf-date b {
        font-size: 26px;
    }
    .nf-btn {
        left: 22px;
        padding: 9px 26px;
        font-size: 14px;
    }
    .news-list li a {
        padding: 14px 20px 14px 24px;
        min-height: 0;
    }
    .news-list li:not(:last-child)::after {
        left: 24px;
        right: 20px;
    }
    .news-list li a::before,
    .news-list li a:hover::before {
        width: 0 !important;
        opacity: 0 !important;
    }
    .nl-date {
        flex-basis: 76px;
    }
    .nl-date b {
        font-size: 22px;
    }
    .nl-info h4 {
        font-size: 15px;
    }
    .nl-info p {
        font-size: 12.5px;
    }
    .footer-brand {
        flex-direction: column;
        /*align-items: flex-start;*/
        gap: 22px;
    }
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 18px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
   
    .back-top {
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .about-stats{display:none}
        .about-stats li {
        /*width: 45%;*/
    }
    .hero-text h1::after{bottom:-2vw}
    .section-sub,.news-head-l p{font-size: 16px;}
    .ptab img{max-width:20px}
    .footer-cols {
        display: none
    }
    .hero-text h1 {
        font-size: 22px;
    }
    .news-feature {
        min-height: 320px;
    }
}