@charset "utf-8";
:root {
            --primary: #f39c12; 
            --text-main: #222;
            --text-gray: #666;
            --max-width: 1480px;
            --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text-main); background: #fff; }

        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
        .section-spacing { padding: 40px 0; } 
        .section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 30px; position: relative; }
        .section-title::after { content: ''; display: block; width: 50px; height: 3px; background: var(--primary); margin: 12px auto 0; }

        /* ===== 1. 轮播图全屏修复 ===== */
        .hero-section { width: 100%; overflow: hidden; background: #eee; }
        .hero-section .swiper-slide img { width: 100%; height: auto; display: block; object-fit: cover; }

        /* ===== 2. 产品列表：高级呼吸感 ===== */
        .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .product-card { 
            background: #fff; border: 1px solid #f0f0f0; padding-bottom: 20px; text-align: center; 
            transition: var(--transition); position: relative; overflow: hidden;
        }
        /* 悬停时的呼吸浮起效果 */
        .product-card:hover { 
            transform: translateY(-10px); 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
            border-color: var(--primary);
        }
        .prod-img { width: 100%; aspect-ratio: 1/1; overflow: hidden; padding: 10px; }
        .prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
        .product-card:hover .prod-img img { transform: scale(1.08); }
        .prod-name { font-size: 16px; font-weight: 600; padding: 15px 10px; height: 70px; display: flex; align-items: center; justify-content: center; }
        .view-detail-btn { 
            display: inline-block; padding: 8px 25px; background: var(--primary); color: #fff; 
            border-radius: 4px; font-size: 14px; font-weight: 600; transition: 0.3s;
        }
        .view-detail-btn:hover { background: #333; }

        /* ===== 3. 公司介绍 (PC 左右) ===== */
        .about-highlight-box { 
            background: #fff; padding: 45px; border-radius: 15px;
            display: flex; align-items: center; gap: 60px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            border-left: 6px solid var(--primary);
        }
        .about-text { flex: 0 0 45%; }
        .about-video { flex: 0 0 50%; }
        .about-video-container { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; }
        .about-video-container iframe { width: 100%; height: 100%; border: none; }

/* ===== 4. 证书轮播：8图大尺寸 ===== */
        .cert-swiper-container { padding: 20px 0 50px; }
        .cert-item { 
            height: 450px; display: flex; align-items: center; justify-content: center; 
            transition: var(--transition); cursor: pointer;
        }
        .cert-item img { max-width: 95%; max-height: 95%; object-fit: contain; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
        .cert-item:hover { transform: translateY(-15px) scale(1.05); }
        .swiper-pagination-certs .swiper-pagination-bullet-active { background: var(--primary); width: 25px; border-radius: 4px; }

        /* ===== 5. 客户评价 (PC 3列) ===== */
        .testi-card { background: #fff; padding: 30px; border: 1px solid #f0f0f0; border-radius: 10px; min-height: 250px; }
        .testi-user { display: flex; align-items: center; margin-bottom: 15px; }
        .testi-user img { width: 60px; height: 60px; border-radius: 50%; margin-right: 15px; border: 2px solid var(--primary); }

        /* ===== 6. 新闻列表 (PC 4列) ===== */
/* 升级版新闻卡片 - 高端大气·呼吸感设计 */
:root {
  --primary: #f60; /* 橙黄色主调，可按需微调 */
  --card-bg: #ffffff;
  --text-dark: #1e1e1e;
  --text-soft: #4a4a4a;
  --text-light: #6c6c6c;
  --shadow-sm: 0 20px 35px -8px rgba(0, 0, 0, 0.08), 0 10px 15px -6px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 30px 45px -12px rgba(0, 0, 0, 0.15), 0 15px 25px -8px rgba(0, 0, 0, 0.05);
  --radius-card: 24px;
  --radius-img: 16px 16px 0 0; /* 仅图片上圆角，与卡片整体呼应 */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px; /* 增加间距，呼吸感更强 */
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  overflow: hidden; /* 确保圆角裁剪所有子元素 */
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  will-change: transform, box-shadow;
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px); /* 微妙上浮 */
}

.news-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #fafafa; /* 图片加载占位 */
}

.news-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.05); /* 图片细微拉近，增加互动 */
}

.news-body {
  padding: 20px 24px 28px; /* 左右留白，内容舒展 */
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 覆盖内联样式，统一视觉语言 */
.news-body h3 {
  font-size: 1.35rem;     /* 约21.6px，适中大小 */
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 10px 0;
  letter-spacing: -0.02em; /* 标题略微收紧，显精致 */
  font-weight: 700;        /* 保留原有粗度 */
}

.news-body p {
  color: var(--text-light) !important;  /* 覆盖内联#888 */
  font-size: 0.95rem !important;        /* 约15.2px，覆盖14px */
  line-height: 1.6;
  margin: 0 0 18px 0 !important;        /* 增加底部间距，呼吸感 */
  font-weight: 400;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;                /* 限制两行，保持卡片均衡 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  margin-top: auto;                     /* 将链接推到底部，保证卡片高度一致 */
}

.news-body a::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform 0.2s ease;
  line-height: 1;
}

.news-body a:hover {
  gap: 10px;
}

.news-body a:hover::after {
  transform: translateX(4px);
}

/* 手机端适配：保持一列布局，保留圆角阴影，取消冗余边框 */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-card {
    border-bottom: none;          /* 移除原边框，由阴影和间距自然分隔 */
    padding-bottom: 0;            /* 重置内联样式可能导致的多余内边距 */
    box-shadow: var(--shadow-sm); /* 手机端同样使用阴影，提升质感 */
  }

  .news-body {
    padding: 18px 22px 24px;      /* 手机端稍作缩减，保持舒适 */
  }

  .news-body p {
    -webkit-line-clamp: 3;        /* 手机可显示更多行 */
  }
}

/* 可选：若容器宽度未定义，确保居中 */
.container {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-spacing {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .section-spacing {
    padding: 40px 0;
  }
}
        /* =========================================
           手机端自适应样式调整 (重点修复区)
        ========================================= */
        @media (max-width: 768px) {
            /* 标题缩放 */
            .section-title { font-size: 24px; }

            /* 产品：一行2个 */
            .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .prod-name { font-size: 14px; height: 50px; }

            /* 公司介绍：上文字下视频 */
            .about-highlight-box { 
                flex-direction: column; 
                padding: 20px; 
                gap: 25px; 
                border-left: none; 
                border-top: 6px solid var(--primary); 
            }
            .about-text, .about-video { flex: 0 0 100%; width: 100%; }
            .about-text { text-align: center; }

            /* 证书：减小高度适应屏幕 */
            .cert-item { height: 320px; }

            /* 客户评价：Swiper会处理成1屏1个 */
            .testi-card { min-height: auto; padding: 20px; }


/* ===== 2. 产品列表：高级呼吸感 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 默认桌面一行4个 */
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding-bottom: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* 悬停时的呼吸浮起效果 */
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.prod-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    padding: 10px;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .prod-img img {
    transform: scale(1.08);
}

.prod-name {
    font-size: 16px;
    font-weight: 600;
    padding: 15px 10px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-detail-btn {
    display: inline-block;
    padding: 8px 25px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.view-detail-btn:hover {
    background: #333;
}
/* --- 新增通栏CTA样式 --- */
        .cta-section {
            background-size: cover;
            background-position: center;
            position: relative;
            padding: 120px 0;
            color: #fff;
            text-align: center;
        }

        .cta-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 40, 85, 0.75); /* 深蓝色叠加，与品牌一致 */
            z-index: 1;
        }

        .cta-section .container {
            position: relative;
            z-index: 2;
        }

        .cta-content h2 {
            font-size: 44px;
            font-weight: 800;
            margin-bottom: 20px;
            letter-spacing: -1px;
        }

        .cta-content p {
            font-size: 18px;
            margin-bottom: 35px;
            opacity: 0.95;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-section .btn-inquiry {
            display: inline-block;
            padding: 16px 50px;
            background: #0056b3;
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-decoration: none;
            border: none;
            transition: all 0.3s;
            border-radius: 4px;
            cursor: pointer;
        }

        .cta-section .btn-inquiry:hover {
            background: #004494;
            transform: translateY(-3px);
            box-shadow: 0 15px 25px rgba(0, 86, 179, 0.3);
        }

        @media (max-width: 768px) {
            .cta-section {
                padding: 80px 0;
            }

            .cta-content h2 {
                font-size: 28px;
            }

            .cta-content p {
                font-size: 16px;
            }
        }
/* ===== 手机端自适应：一行显示2个 ===== */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 一行2列 */
        gap: 15px; /* 手机端间距适当缩小 */
    }

    .product-card {
        padding-bottom: 15px;
    }

    .prod-name {
        font-size: 14px;      /* 字体稍微减小 */
        height: 60px;         /* 适应两行文字 */
        padding: 10px 5px;
    }

    .view-detail-btn {
        padding: 6px 15px;    /* 按钮缩小，便于点击 */
        font-size: 13px;
    }
}