﻿@charset "utf-8";

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, ul, li, a, div, footer, img {
    list-style: none;
    font-family: "微软雅黑", "宋体";
    font-size: 12px;
    color: #333;
}

a {
    text-decoration: none;
}

img {
    border: none;
    display: block;
}

/* 清除浮动 */
.cls {
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

/* 页面整体容器 */
.main-box {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    padding-top: 132px; /* 顶部占位：欢迎栏32px + 导航100px */
}

/* ===== 顶部欢迎�?===== */
.top-bar {
    width: 100%;
    background: #f5f5f5;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* 顶部固定导航 */
#menu1 {
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    position: fixed;
    top: 32px;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
}

 .menu-wrap {
     width: 100%;
     max-width: none; /* 铺满全宽 */
     height: 100px;
     margin: 0; /* 不再居中限制 */
     padding: 0 24px;
     display: grid; /* 使用 grid 布局，避免绝对定位冲�?*/
     grid-template-columns: auto 1fr auto; /* �?�?�?三列 */
     align-items: center;
     column-gap: 12px;
 }

/* Logo */
.logo-box {
    width: clamp(140px, 18vw, 320px);
    height: 100px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    flex: 0 0 auto;
    z-index: 1001;
    justify-self: start;
 }

.logo-box img {
    display: block;
    width: auto; /* 保持图片固有宽高�?*/
    height: auto;
    max-height: 90px; /* 放大 logo */
    max-width: 100%; /* 不超出容�?*/
}

/* 导航菜单 */
.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2.5vw, 60px);
    padding: 0 10px;
    list-style: none;
    flex-wrap: nowrap;
    margin: 0 auto;
}

/* 导航单项 li */
.nav-list li {
  text-align: center;
  flex-shrink: 1;
  position: relative;
}

/* 导航链接文字自适应字号 */
.nav-list li > a {
  display: block;
  font-size: clamp(11px, 1.2vw, 22px);
  color: #000;
  padding: 6px 14px;
  line-height: 1.4;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 20px;
}

.nav-list li > a:hover,
.nav-list li > a.active {
    color: #fff;
    background-color: #0066cc;
}

/* ===== 导航下拉菜单 ===== */
.nav-dropdown {
    position: relative;
    z-index: 1001;
}

.nav-dropdown > a {
    padding-right: 14px !important;
}

/* 透明桥接区域 - 填补菜单与按钮间的空隙，防止悬停中断 */
.nav-dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 16px;
    z-index: 1000;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 200px;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px 0;
    z-index: 1000;
    margin-top: 4px;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-dropdown .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.05));
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #555;
    text-align: center;
    white-space: nowrap;
    border-radius: 0;
    transition: all 0.2s;
}

.nav-dropdown .dropdown-menu a:hover {
    background: #f0f6ff;
    color: #0066cc;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* 保持导航父级高亮 */
.nav-dropdown:hover > a {
    color: #fff;
    background-color: #0066cc;
}

/* 右侧搜索联系 */
.menu-right {
    display: flex;
    gap: clamp(6px, 1.5vw, 20px);
    justify-content: flex-end;
    align-items: center;
    height: 100px;
    flex: 0 0 auto;
    min-width: 60px;
    justify-self: end;
}

.menu-right a {
    font-size: clamp(11px, 1vw, 16px);
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.menu-right a:hover {
    background: #0066cc;
    color: #fff;
}

/* 底部导航（黑色） */
.footer-nav {
    width: 100%;
    background: #1a1a1a;
    padding: 20px 20px;
}

.footerTXT {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: clamp(11px, 1.2vw, 16px);
}

.footerTXT a {
    color: #bbb;
    margin: 0 clamp(6px, 1vw, 16px);
    white-space: nowrap;
    display: inline-block;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.footerTXT a:hover {
    color: #fff;
}

/* 底部版权（灰色） */
footer {
    width: 100%;
    padding: 12px 20px;
    background: #f5f5f5;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    letter-spacing: 1px;
}

.footer-copyright .copy-title {
    font-size: 15px;
    color: #555;
    font-weight: bold;
}

.footer-copyright .copy-sub {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.footer-copyright .copy-address,
.footer-copyright .copy-tel {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.footer-copyright .copy-icp {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.footer-copyright .copy-icp a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-copyright .copy-icp a:hover {
    color: #333;
}

.footer-copyright .copy-icp .icp-sep {
    margin: 0 10px;
    color: #ccc;
}

.footer-copyright .copy-icp a img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    width: 14px;
    height: 14px;
}

/* ===== 回到顶部 ===== */
.go-top {
    position: fixed;
    right: 30px;
    bottom: 60px;
    width: 44px;
    height: 44px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    line-height: 44px;
    text-align: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    text-decoration: none;
    display: block;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background: #0066cc;
}

/* 轮播区域 */
/* 轮播区域 */
.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(220px, 40vw, 400px);
    margin: 0;
}

.banner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 移除flex，改为绝对定位横向容�?*/
.hot {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: auto; /* JS动态设置总宽�?*/
}

/* li左浮动横向排�?*/
.hot li {
    float: left;
    width: 100%;
    height: 100%;
}

.hot li img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
    max-width: 100%;
    max-height: 100%;
}

/* 清除浮动兜底 */
.cls {
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

/* 小圆�?*/
.dot {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0;
    z-index: 10;
}

.dot li {
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: rgba(145,144,144,.5);
    cursor: pointer;
}

.dot .on {
    background-color: #fff;
}

/* 左右箭头 */
.arrow {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.banner:hover .arrow {
    display: block;
    opacity: 1;
}

.arrow span {
    display: block;
    width: 50px;
    height: 100px;
    background: rgba(0,0,0,.6);
    color: #fff;
    text-align: center;
    font-size: 40px;
    line-height: 100px;
    cursor: pointer;
    user-select: none;
}

.arrow .prev {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -50px;
}

.arrow .next {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -50px;
}
.search img{
    width: 18px;
    vertical-align: middle;
    display: inline;
    float: none;
}
.search input{
    width: clamp(40px, 8vw, 140px);
    border: 1px solid #ccc;
    border-radius: 14px;
    padding: 4px 6px;
    outline: none;
    font-size: clamp(11px, 0.9vw, 14px);
}
.search{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
}

/* ===== 核心业务板块 ===== */
.business-section {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.business-heading {
    text-align: center;
    font-size: 28px;
    color: #c00;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.business-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.business-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.business-card-header {
    background: linear-gradient(135deg, #c00, #e04040);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.business-num {
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 2px 10px;
    font-weight: bold;
}

.business-card-header h3 {
    font-size: 17px;
    color: #fff;
    font-weight: bold;
    flex: 1;
}

.business-tag {
    font-size: 12px;
    color: #fff;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 3px 12px;
    white-space: nowrap;
}

.business-body {
    padding: 22px 24px;
}

.business-sub {
    margin-bottom: 16px;
}

.business-sub:last-child {
    margin-bottom: 0;
}

.business-sub h4 {
    font-size: 14px;
    color: #c00;
    font-weight: bold;
    margin-bottom: 6px;
    padding-left: 10px;
    border-left: 3px solid #c00;
}

.business-sub p {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding-left: 13px;
}

.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding: 6px 0 6px 20px;
    position: relative;
}

.business-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #c00;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .business-heading {
        font-size: 22px;
    }
    .business-card-header h3 {
        font-size: 15px;
    }
    .business-body {
        padding: 16px 18px;
    }
}

/* ===== 标语横幅 ===== */
.slogan-banner {
    width: 100%;
    padding: 0;
}

.slogan-banner-inner {
    max-width: 1200px;
    margin: 30px auto;
    padding: 32px 20px;
    text-align: center;
    border: 2px solid #c00;
    border-radius: 6px;
    background: #fafafa;
}

.slogan-sub {
    font-size: 14px;
    color: #c00;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.slogan-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .slogan-title {
        font-size: 18px;
    }
    .slogan-banner-inner {
        padding: 24px 16px;
    }
}

/* ===== 关于我们 ===== */
.about-us {
    width: 100%;
    padding: 60px 20px;
    position: relative;
    background: url('../image/c_jianjie.png') no-repeat bottom center / cover;
}

.about-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.92);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 30px;
    color: #c00;
    margin-bottom: 30px;
    font-weight: bold;
}

.about-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    text-indent: 2em;
    text-align: justify;
}

/* ===== 产品中心 ===== */
.product-center {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 30px;
    position: relative;
}

.product-header h2 {
    font-size: 28px;
    color: #c00;
    font-weight: bold;
}

.product-header-en {
    font-size: 16px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-more {
    margin-left: auto;
    display: inline-block;
    padding: 8px 20px;
    background: #0066cc;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.product-more:hover {
    background: #004999;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
}

.product-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    border-color: #0066cc;
}

.product-img {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.product-img:hover img {
    transform: scale(1.1);
}

.product-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(200, 0, 0, 0.85);
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-company {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(200, 0, 0, 0.85);
    color: #fff;
    font-size: 10px;
    line-height: 1.4;
    padding: 4px 8px;
    text-align: center;
}

.product-name {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .product-header h2 {
        font-size: 22px;
    }
    .product-header-en {
        font-size: 13px;
    }
    .product-img img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-more {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ===== 联系我们 ===== */
.contact-us {
    width: 100%;
    background: #f8f8f8;
    padding: 50px 20px;
}

.contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contact-info h2 {
    font-size: 28px;
    color: #c00;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 16px;
    font-size: 16px;
}

.contact-label {
    font-weight: bold;
    color: #333;
}

.contact-value {
    color: #666;
}

.contact-value a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: #004499;
}

.contact-qr {
    text-align: center;
    flex-shrink: 0;
}

.contact-qr img {
    width: 150px;
    height: 150px;
    display: block;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

.contact-qr p {
    margin-top: 8px;
    font-size: 14px;
    color: #999;
}

@media (max-width: 768px) {
    .contact-wrap {
        flex-direction: column;
        text-align: center;
    }
    .contact-qr img {
        width: 120px;
        height: 120px;
    }
}

/* ===== 响应式规�?===== */
@media (max-width: 1400px) {
    .nav-list {
        gap: clamp(8px, 2vw, 40px);
    }
    .logo-box {
        width: clamp(100px, 15vw, 260px);
    }
}

@media (max-width: 900px) {
    .menu-wrap {
        margin: 0 10px;
        height: auto;
        min-height: 70px;
        padding: 6px 10px;
        grid-template-columns: auto 1fr auto;
    }

    .logo-box {
        width: clamp(100px, 20vw, 180px);
        height: 60px;
    }
    .logo-box img {
        max-height: 55px;
    }

    .nav-list {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 4px 0;
    }
    .nav-list li > a {
        font-size: 12px;
        padding: 3px 8px;
    }

    .menu-right {
        gap: 6px;
        height: auto;
    }
    .menu-right a {
        font-size: 12px;
        padding: 3px 8px;
    }
    .menu-right .search input {
        width: 60px;
        font-size: 11px;
    }

    .arrow span { height: 60px; line-height: 60px; font-size: 30px; }

    /* 小屏�?dropdown 样式调整 */
    .nav-dropdown .dropdown-menu {
        left: 0;
        transform: translateY(-8px);
        min-width: 160px;
    }
    .nav-dropdown:hover .dropdown-menu {
        transform: translateY(0);
    }
    .nav-dropdown .dropdown-menu::before {
        left: 30px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .menu-wrap {
        grid-template-columns: 1fr;
        gap: 4px;
        height: auto;
        padding: 6px;
    }
    .logo-box {
        width: 120px;
        height: 50px;
        justify-self: center;
    }
    .logo-box img { max-height: 45px; }
    .nav-list {
        gap: 4px;
        padding: 2px 0;
    }
    .nav-list li > a {
        font-size: 11px;
        padding: 2px 6px;
    }
    .menu-right {
        justify-self: center;
        height: auto;
    }
    .menu-right .search input { display: none; }
    .dot li { width: 10px; height: 10px; }
    .footerTXT { padding: 16px; font-size: 13px; }

    /* 超小�?dropdown 样式调整 */
    .nav-dropdown .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
        min-width: 150px;
    }
    .nav-dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
    .nav-dropdown .dropdown-menu a {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ===== End 响应式规�?===== */

/* ===== 滚动入场动画 ===== */
.animate-hidden {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 1. 淡入上滑（默认）- 用于产品中心 */
.animate-hidden.animate-up {
    transform: translateY(50px);
}

/* 2. 从左侧滑�?- 用于关于我们 */
.animate-hidden.animate-left {
    transform: translateX(-60px);
}

/* 3. 从右侧滑�?- 用于联系我们 */
.animate-hidden.animate-right {
    transform: translateX(60px);
}

/* 4. 缩放弹出 - 用于产品中心备�?*/
.animate-hidden.animate-scale {
    transform: scale(0.7);
}

/* 5. 淡入旋转 */
.animate-hidden.animate-rotate {
    transform: perspective(600px) rotateX(8deg);
    transform-origin: top center;
}

/* 6. 从底部弹�?*/
.animate-hidden.animate-bounce {
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-visible {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) rotateX(0) !important;
}

/* 禁用过渡（用于初始加载时即时显示，避免动画闪烁） */
.animate-hidden.no-animate {
    transition: none !important;
}