/* ============================================
   萍乡市南坑高压电瓷有限公司 官网样式
   工业电力风 · 深海蓝主色调
   ============================================ */
:root {
  --navy-900: #0b2447;
  --navy-800: #12355e;
  --navy-700: #19376d;
  --blue-500: #1e6fd9;
  --blue-400: #3b8bf0;
  --cyan-400: #00b4d8;
  --orange-500: #ff6b35;
  --orange-600: #e55a2b;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(11,36,71,.08);
  --shadow-md: 0 4px 16px rgba(11,36,71,.10);
  --shadow-lg: 0 12px 32px rgba(11,36,71,.14);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部条 ===== */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--cyan-400); }

/* ===== 导航 ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  letter-spacing: 1px;
}
.logo-text .cn { font-size: 17px; font-weight: 700; color: var(--navy-900); line-height: 1.2; }
.logo-text .en { font-size: 11px; color: var(--gray-500); letter-spacing: .5px; }

.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all .2s;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue-500);
  background: var(--gray-50);
}
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--navy-900); }

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(135deg, rgba(11,36,71,.95) 0%, rgba(18,53,94,.88) 60%, rgba(25,55,109,.85) 100%),
    url('../images/about/factory-1.jpg') center/cover;
  color: #fff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.15), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero .tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0,180,216,.15);
  border: 1px solid rgba(0,180,216,.4);
  border-radius: 20px;
  font-size: 13px;
  color: var(--cyan-400);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero h1 { font-size: 42px; line-height: 1.25; margin-bottom: 18px; font-weight: 700; }
.hero h1 span { color: var(--cyan-400); }
.hero p { font-size: 17px; color: rgba(255,255,255,.82); margin-bottom: 32px; max-width: 640px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  border: 0;
}
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ===== 数据条 ===== */
.stats {
  background: var(--white);
  margin-top: -50px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--navy-900); }
.stat-num span { color: var(--blue-500); font-size: 18px; }
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

/* ===== Section 通用 ===== */
section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 30px;
  color: var(--navy-900);
  margin: 8px 0 12px;
  font-weight: 700;
}
.section-head .divider {
  width: 48px; height: 3px;
  background: var(--orange-500);
  margin: 0 auto;
  border-radius: 2px;
}
.section-head p { color: var(--gray-500); max-width: 640px; margin: 14px auto 0; }

.bg-gray { background: var(--gray-50); }

/* ===== 产品卡片 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
  border: 1px solid var(--gray-100);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}
.product-img {
  height: 200px;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.product-img img { max-height: 100%; object-fit: contain; }
.product-info { padding: 18px 20px; }
.product-info h3 { font-size: 16px; color: var(--navy-900); margin-bottom: 6px; }
.product-info p { font-size: 13px; color: var(--gray-500); }

/* ===== 关于块 ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-text h3 { font-size: 24px; color: var(--navy-900); margin-bottom: 16px; }
.about-text p { color: var(--gray-500); margin-bottom: 14px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
}
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

/* ===== 资质条 ===== */
.honor-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.honor-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue-500);
  box-shadow: var(--shadow-sm);
}
.honor-card h4 { color: var(--navy-900); font-size: 16px; margin-bottom: 8px; }
.honor-card p { font-size: 13px; color: var(--gray-500); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.75); margin-bottom: 24px; }

/* ===== 页脚 ===== */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 50px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 4px 0; }
.footer-grid a:hover { color: var(--cyan-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--cyan-400); }

/* ===== 内页 Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: 32px; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,.7); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; }
.breadcrumb a { color: rgba(255,255,255,.7); }

/* ===== 内容页 ===== */
.content-page { padding: 50px 0 70px; }
.content-page h2 { color: var(--navy-900); font-size: 22px; margin: 28px 0 14px; padding-left: 12px; border-left: 4px solid var(--orange-500); }
.content-page h2:first-child { margin-top: 0; }
.content-page p { margin-bottom: 14px; color: var(--gray-700); }
.content-page ul, .content-page ol { margin: 0 0 14px 22px; }
.content-page li { margin-bottom: 6px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--gray-200);
  padding: 10px 14px;
  text-align: left;
}
.spec-table th { background: var(--gray-50); color: var(--navy-900); font-weight: 600; }
.spec-table tr:nth-child(even) td { background: #fafbfd; }

/* ===== 产品分类大卡 ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
  display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card .product-img { height: 220px; }
.cat-card .cat-info { padding: 20px; }
.cat-card .cat-info h3 { color: var(--navy-900); font-size: 18px; margin-bottom: 8px; }
.cat-card .cat-info p { color: var(--gray-500); font-size: 14px; }

/* ===== 联系信息卡 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.contact-card h4 { color: var(--navy-900); margin-bottom: 8px; }
.contact-card p { color: var(--gray-500); font-size: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .product-grid, .cat-grid, .honor-row, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .product-grid, .cat-grid, .honor-row, .contact-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; gap: 4px; text-align: center; }
}





/* 5 slides x 6s = 30s cycle */











@media (max-width: 600px) {
  .certSwiper { height: 280px; }
}








@media (max-width: 600px) {
  .certSwiper { height: 260px; }
}

.sc-prev { left: 8px; }
.sc-next { right: 8px; }

.certSwiper {
  height: 340px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(11,36,71,0.12);
}
.certSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.certSwiper .swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.certSwiper .swiper-pagination {
  bottom: 8px !important;
}
.certSwiper .swiper-pagination-bullet {
  background: #0b2447;
  opacity: 0.4;
}
.certSwiper .swiper-pagination-bullet-active {
  background: #ff6b35;
  opacity: 1;
}
.certSwiper .swiper-button-prev,
.certSwiper .swiper-button-next {
  color: #0b2447;
  background: rgba(255,255,255,0.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.certSwiper .swiper-button-prev:after,
.certSwiper .swiper-button-next:after {
  font-size: 16px;
}
@media (max-width: 600px) {
  .certSwiper { height: 260px; }
}






.cert-swiper-wrap {
  max-width: 640px;
  margin: 40px auto 20px;
}