/* ============================================================
   江苏聚千新材料 - 全站统一样式表
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; }
body { background-color: #fafbfc; color: #1e2a3a; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
header { background-color: #0b2a4a; color: white; padding: 14px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.header-left { display: flex; align-items: center; gap: 12px; flex: 0 0 40%; min-width: 200px; }
.logo-img { height: 98px; width: auto; border-radius: 8px; object-fit: contain; }
.logo-name { font-size: 2.4rem; font-weight: 700; letter-spacing: 1px; background: linear-gradient(135deg, #f6e9a0, #ffd966); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 6px rgba(0,0,0,0.2); white-space: nowrap; }
.header-right { flex: 0 0 calc(60% - 10px); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; min-width: 280px; }
.header-right-time { font-size: 1.4rem; color: #d4e2f0; background: #1a3c5e; padding: 3px 14px; border-radius: 30px; letter-spacing: 0.3px; border: 1px solid #2f567a; white-space: nowrap; display: inline-block; }
.header-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.nav-item { padding: 5px 14px; border-radius: 40px; font-weight: 500; font-size: 1.7rem; transition: 0.2s; color: #e6f0fa; white-space: nowrap; }
.nav-item:hover { background-color: #1e466a; color: white; }
.nav-item.active { background-color: #f5b342; color: #0b2a4a; font-weight: 600; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; position: absolute; right: 20px; top: 20px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: #f5b342; border-radius: 3px; }

/* 手机端 */
@media (max-width: 768px) {
    .header-wrap { flex-direction: column; align-items: stretch; padding: 10px 16px; }
    .header-left { flex: none; width: 100%; justify-content: center; margin-bottom: 10px; }
    .logo-img { height: 50px; }
    .logo-name { font-size: 1.4rem; }
    .header-right { flex: none; width: 100%; align-items: center; gap: 10px; }
    .header-right-time { font-size: 1.1rem; }
    .menu-toggle { display: flex; }
    .header-nav { display: none; flex-direction: column; width: 100%; background-color: #1a3c5e; position: absolute; top: 80px; left: 0; padding: 15px 0; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
    .header-nav.show { display: flex; }
    .nav-item { width: 80%; text-align: center; padding: 12px 0; font-size: 1.2rem; margin: 4px auto; }
    body { padding-top: 90px; }
}

/* 视频轮播 */
.video-slider { background: #0b1e2f; padding: 30px 0 20px; }
.slider-wrap { position: relative; max-width: 1200px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5); aspect-ratio: 16/7; min-height: 260px; background: #0a1a26; }
.slider-item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.slider-item.active { opacity: 1; pointer-events: auto; }
.slider-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(10,30,50,0.6); backdrop-filter: blur(6px); color: white; border: 1px solid #ffffff50; font-size: 2.4rem; width: 52px; height: 52px; border-radius: 60px; cursor: pointer; z-index: 20; display: flex; align-items: center; justify-content: center; transition: 0.25s; font-weight: 300; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
.slider-btn:hover { background: #f5b342; color: #0b2a4a; border-color: #f5b342; }
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; z-index: 20; }
.dot { width: 14px; height: 14px; background: rgba(255,255,255,0.3); border-radius: 40px; cursor: pointer; transition: 0.25s; border: 1px solid #ffffff60; }
.dot.active { background: #f5b342; width: 36px; border-color: #f5b342; box-shadow: 0 0 12px #f5b34280; }

/* 通用标题 */
.title { font-size: 2.4rem; font-weight: 700; text-align: center; margin-bottom: 48px; letter-spacing: 1px; color: #0b2a4a; position: relative; }
.title::after { content: ''; display: block; width: 80px; height: 5px; background: linear-gradient(90deg, #f5b342, #e09d2e); margin: 12px auto 0; border-radius: 12px; }

/* 核心优势 */
.advantage { padding: 60px 0 70px; }
.advantage-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.advantage-list .item { background: white; padding: 32px 26px; border-radius: 32px; box-shadow: 0 10px 28px -8px rgba(0,20,40,0.08); transition: 0.25s; border: 1px solid #ecf3fa; display: flex; flex-direction: column; }
.advantage-list .item:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -16px #0b2a4a30; border-color: #f5b34260; }
.item h3 { font-size: 1.6rem; font-weight: 600; color: #0b2a4a; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.item h3::before { content: '◆'; color: #f5b342; font-size: 1.4rem; }
.item p { color: #2d4055; margin-bottom: 22px; flex: 1; font-size: 0.98rem; line-height: 1.7; }
.more-link { align-self: flex-start; background: #0b2a4a; color: white; padding: 8px 24px; border-radius: 60px; font-weight: 500; font-size: 0.9rem; transition: 0.2s; border: 1px solid #1a3c5e; display: inline-block; }
.more-link:hover { background: #f5b342; color: #0b2a4a; border-color: #f5b342; }

/* 主营产品 */
.products-section { padding: 80px 0; background-color: #f9f9f9; }
.products-section .subtitle { text-align: center; color: #666; margin-bottom: 40px; font-size: 16px; }
.products-grid { display: flex; justify-content: space-between; gap: 20px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; flex: 1; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-img { height: 200px; overflow: hidden; background: #eee; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-info { padding: 20px; }
.product-info h3 { color: #002b5c; margin-bottom: 10px; font-size: 20px; }
.product-info p { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 15px; }
.btn-small { color: #f5a623; font-weight: bold; font-size: 14px; }

/* 实验室 */
.lab-section { padding: 80px 0; background-color: #fff; }
.lab-wrap { display: flex; align-items: center; gap: 50px; }
.lab-text { flex: 1; }
.title-left { font-size: 32px; color: #002b5c; margin-bottom: 20px; position: relative; padding-left: 15px; }
.title-left::before { content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: #f5a623; border-radius: 2px; }
.lab-text p { color: #555; line-height: 1.8; margin-bottom: 20px; }
.lab-list { list-style: none; padding: 0; margin-bottom: 30px; }
.lab-list li { margin-bottom: 10px; color: #333; font-size: 15px; }
.lab-list li::first-letter { color: #f5a623; font-weight: bold; }
.btn-primary { display: inline-block; background: #f5a623; color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: bold; transition: background 0.3s; }
.btn-primary:hover { background: #d98c1a; }
.lab-media { flex: 1; }
.video-cover { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-cover img { width: 100%; display: block; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 70px; height: 70px; background: #f5a623; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 0 0 10px rgba(245,166,35,0.3); transition: transform 0.3s; }
.play-btn:hover { transform: translate(-50%,-50%) scale(1.1); }

/* 关于我们 */
.about-section { padding: 80px 0; background-color: #f4f7fa; }
.about-content { display: flex; align-items: center; gap: 50px; margin-top: 40px; }
.about-text { flex: 1; }
.about-text p { color: #555; line-height: 1.8; margin-bottom: 30px; }
.about-stats { display: flex; gap: 40px; }
.stat-item strong { display: block; font-size: 28px; color: #002b5c; }
.stat-item span { color: #666; font-size: 14px; }
.about-img { flex: 1; }
.about-img img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* 页脚 */
.footer { background: #0b1f30; color: #d2e3f5; padding: 52px 0 24px; border-top: 4px solid #f5b342; }
.footer-wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: white; font-size: 1.2rem; margin-bottom: 18px; border-left: 5px solid #f5b342; padding-left: 14px; }
.footer-col p { font-size: 0.94rem; line-height: 1.8; color: #b8cee4; margin-bottom: 8px; }
.footer-col:first-child { text-align: left; }
.footer-col.nav-center { text-align: center; }
.footer-col.nav-center h4 { text-align: center; border-left: none; padding-left: 0; }
.nav-two-col { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.nav-two-col a { display: block; color: #c2d8ee; padding: 6px 0; font-size: 0.96rem; text-align: center; }
.nav-two-col a:hover { color: #f5b342; }
.footer-col:last-child { text-align: right; }
.footer-col:last-child h4 { text-align: right; border-left: none; border-right: 5px solid #f5b342; padding-left: 0; padding-right: 14px; }
.footer-col:last-child p { text-align: right; }
.footer-cta { display: inline-block; margin-top: 12px; background: #f5b342; color: #0b1f30; font-weight: 600; padding: 10px 28px; border-radius: 60px; border: 1px solid #f5b342; }
.footer-cta:hover { background: transparent; color: #f5b342; }
.copyright { border-top: 1px solid #1f3b55; padding-top: 22px; text-align: center; font-size: 0.9rem; color: #90acc9; }

/* 响应式 */
@media (max-width: 768px) {
    .products-grid, .lab-wrap, .about-content { flex-direction: column; }
    .product-card { width: 100%; margin-bottom: 20px; }
    .lab-media, .about-img { margin-top: 30px; }
    .about-stats { justify-content: space-around; gap: 10px; }
    .footer-wrap { grid-template-columns: 1fr; gap: 32px; }
    .footer-col h4, .footer-col p, .footer-col:last-child h4, .footer-col:last-child p { text-align: center; border: none; padding: 0; }
    .nav-two-col { justify-content: center; }
}

/* ============================================================
   二级页面（技术研发 / 稳定产能 / 定制服务）专属样式
   ============================================================ */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, #0b2a4a 0%, #1a4a6e 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
}
.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}
.page-banner p {
    font-size: 1.1rem;
    color: #c2d8ee;
    max-width: 700px;
    margin: 0 auto;
}

/* 详情页容器 */
.detail-section {
    padding: 60px 0;
    background: #ffffff;
}
.detail-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左文右视频布局 */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 50px;
}
.content-grid.reverse {
    direction: rtl;
}
.content-grid.reverse > * {
    direction: ltr;
}
.content-text h2 {
    font-size: 2rem;
    color: #0b2a4a;
    margin-bottom: 20px;
    border-left: 6px solid #f5b342;
    padding-left: 18px;
}
.content-text p {
    color: #2d4055;
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.8;
}
.content-text ul {
    list-style: none;
    padding: 0;
}
.content-text ul li {
    padding: 8px 0 8px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="%23f5b342"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') left center no-repeat;
    background-size: 18px;
    color: #2d3d4d;
    font-size: 15px;
    margin-bottom: 8px;
}

/* 视频容器 */
.content-video {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3;
    background: #0b1f30;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.content-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.content-video .video-play-btn {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(245, 179, 66, 0.9);
    border: 3px solid white;
    color: #0b2a4a;
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 2;
    transition: 0.3s;
}
.content-video .video-play-btn:hover {
    transform: scale(1.1);
    background: #f5b342;
}
.content-video .video-play-btn.hidden {
    display: none;
}
.content-video .video-label {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    z-index: 2;
    white-space: nowrap;
}

/* 高亮提示框 */
.highlight-box {
    background: #f6f9fb;
    padding: 28px 32px;
    border-radius: 10px;
    border-left: 4px solid #f5b342;
    margin: 30px 0 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #2d3d4d;
}
.highlight-box strong {
    color: #0b2a4a;
}

/* 返回首页链接 */
.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #f5b342;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}
.back-link:hover {
    text-decoration: underline;
}

/* 响应式（手机端） */
@media (max-width: 900px) {
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
    .content-video .video-play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }
    .page-banner h1 {
        font-size: 2rem;
    }
}
/* ============ 手机端适配（2026-10-02 加） ============ */
@media (max-width: 768px) {
  /* Banner 标题改小 */
  .page-banner {
    padding: 40px 16px !important;
  }
  .page-banner h1 {
    font-size: 1.8rem !important;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .page-banner p {
    font-size: 0.95rem !important;
    line-height: 1.6;
    padding: 0 8px;
    max-width: 100% !important;
  }

  /* 轮播区域适配 - 不超出屏幕 */
  .video-slider {
    padding: 12px 12px !important;
  }
  .slider-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 200px !important;
    border-radius: 16px !important;
  }
  .slider-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.6rem !important;
  }
  .slider-btn.prev { left: 8px !important; }
  .slider-btn.next { right: 8px !important; }
  .slider-dots { bottom: 12px !important; }

  /* 首页大标题也改小 */
  .title,
  .section-title {
    font-size: 1.8rem !important;
  }
}