/* ============================================
   style.css - 博尼仕新材料 全站样式表
   公共样式 + 各页面独立样式 (通过 body class 隔离)
   ============================================ */

/* ---------- 全局重置与公共样式 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', 'Inter', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a{text-decoration: none;}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 导航栏 (公共) */
.header {
  position: sticky;
  top: 0;
  /* background: rgba(255, 255, 255, 0.96); */
  background:#fcfcfc;
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0f5b9e;
  border-bottom-color: #0f5b9e;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-btn {
  background: white;
  border: 1px solid #d1d9e0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.lang-btn:hover {
  border-color: #0f5b9e;
  color: #0f5b9e;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* 面包屑 (公共) */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.9rem;
  color: #777;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb a {
  color: #0f5b9e;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 8px;
}

/* 页面 Hero (公共) */
.page-hero {
  background: #060b14;
  color: white;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 160%;
  background: radial-gradient(circle at 60% 40%, rgba(70,130,220,0.2) 0%, transparent 60%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-size: 1.2rem;
  color: #b0c8e0;
}

/* 页脚 (公共) */
.footer {
  background: #0e1a26;
  color: #ccc;
  padding: 50px 0 25px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid #2c3a44;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #888;
}

/* 通用区块间距 */
section {
  padding: 90px 0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0a1a2b;
}

.section-desc {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 移动端菜单 (公共) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  z-index: 200;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  overflow-y: auto;
}

.mobile-menu.active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-menu-close {
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #222;
}

.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }

.mobile-nav-list li a {
  font-size: 1.2rem; font-weight: 600; color: #111; text-decoration: none;
  display: block; padding: 8px 0; border-bottom: 1px solid #eee;
}

.mobile-sub-items { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-left: 16px; border-left: 3px solid #0f5b9e; }

.mobile-sub-items a { font-size: 1rem; font-weight: 400; color: #444; border-bottom: none; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150; opacity: 0; visibility: hidden; transition: opacity 0.3s; }

.overlay.active { opacity: 1; visibility: visible; }

/* 公共响应式 */
@media (max-width: 768px) {
  .container { padding: 0 20px !important; }
  .nav-links, .lang-btn { display: none; }
  .menu-toggle { display: block; }
}


/* ============================================
   首页 index.html 专属样式
   ============================================ */
body.index .container {
  max-width: 1440px;
}

body.index .logo img {
  height: 76px;
}

/* body.index .nav-links li a {
  padding-bottom: 0;
} */

/* 下拉菜单 */
body.index .dropdown {
  position: relative;
}

body.index .dropdown > a {
  text-decoration: none;
  color: inherit;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.index .dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: white;
  min-width: 230px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  list-style: none;
  z-index: 50;
  border: 1px solid rgba(0,0,0,0.04);
}

body.index .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.index .dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: none !important;
  transition: background 0.2s, color 0.2s;
}

body.index .dropdown-menu li a:hover {
  background: #f3f6f9;
  color: #0f5b9e;
}

body.index .nav-right {
  gap: 24px;
}

body.index .nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

body.index .nav-actions a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.index .nav-actions a:hover {
  color: #0f5b9e;
}

body.index .utility-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

body.index .search-btn, body.index .lang-btn {
  background: none;
  border: 1px solid #d1d9e0;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  transition: all 0.2s;
  background: white;
}

body.index .search-btn:hover, body.index .lang-btn:hover {
  border-color: #0f5b9e;
  color: #0f5b9e;
}

/* Hero 区域 */
body.index .hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #060b14;
  overflow: hidden;
}

body.index .hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(70, 130, 220, 0.25) 0%, transparent 55%),
              radial-gradient(circle at 20% 70%, rgba(120, 80, 200, 0.2) 0%, transparent 55%),
              radial-gradient(circle at 50% 50%, rgba(0, 180, 160, 0.15) 0%, transparent 60%);
  z-index: 1;
}

body.index .light-stream {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: linear-gradient(135deg, 
    rgba(30, 100, 200, 0) 20%, 
    rgba(60, 140, 230, 0.3) 40%, 
    rgba(100, 180, 160, 0.4) 60%, 
    rgba(150, 100, 220, 0.2) 80%, 
    transparent 100%);
  filter: blur(60px);
  transform: rotate(-15deg);
  z-index: 2;
  animation: flowShift 12s infinite alternate ease-in-out;
}

@keyframes flowShift {
  0% { transform: rotate(-15deg) translateX(0); opacity: 0.8; }
  100% { transform: rotate(-12deg) translateX(30px); opacity: 1; }
}

body.index .hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.index .abstract-elements {
  position: relative;
  width: 500px;
  height: 500px;
}

body.index .elem {
  position: absolute;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 35px rgba(0,160,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 28px;
}

body.index .elem-target {
  width: 170px; height: 170px; top: 40px; right: 50px;
  border-radius: 50% 30% 50% 30%;
  background: radial-gradient(circle at 30% 30%, rgba(70,150,240,0.4), rgba(10,40,90,0.6));
  border-color: rgba(100,180,255,0.5);
  transform: rotate(10deg);
}

body.index .elem-parts {
  width: 140px; height: 140px; bottom: 100px; right: 130px;
  border-radius: 20px 50% 30px 50%;
  background: radial-gradient(circle at 60% 50%, rgba(100,80,200,0.4), rgba(30,20,70,0.6));
  border-color: rgba(160,140,240,0.5);
  transform: rotate(-8deg);
}

body.index .elem-recycle {
  width: 120px; height: 120px; top: 150px; left: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(0,180,150,0.4), rgba(0,70,60,0.6));
  border-color: rgba(80,220,190,0.5);
  display: flex; flex-direction: column; gap: 4px;
}

body.index .recycle-arrows { display: flex; gap: 6px; }

body.index .elem-semiconductor {
  width: 150px; height: 150px; bottom: 50px; left: 100px;
  border-radius: 30% 50% 20px 50%;
  background: radial-gradient(circle at 70% 60%, rgba(200,100,220,0.4), rgba(70,20,90,0.6));
  border-color: rgba(220,140,240,0.5);
  transform: rotate(5deg);
}

body.index .connector-line {
  position: absolute; top: 50%; left: 50%; width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  border: 2px dashed rgba(120,180,255,0.3);
  border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%;
  animation: morphRotate 16s infinite linear;
}

@keyframes morphRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%; }
  50% { transform: translate(-50%, -50%) rotate(180deg); border-radius: 55% 45% 40% 60% / 60% 40% 55% 45%; }
  100% { transform: translate(-50%, -50%) rotate(360deg); border-radius: 40% 60% 55% 45% / 45% 55% 45% 55%; }
}

body.index .hero-content {
  position: relative; z-index: 10; max-width: 1400px; margin: 0 auto;
  padding: 80px 60px; width: 100%; display: flex; align-items: center;
}

body.index .hero-text { max-width: 600px; }

body.index .hero-badge {
  display: inline-block; padding: 8px 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px; color: #b0d4ff; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 28px; letter-spacing: 1px; backdrop-filter: blur(5px);
}

body.index .hero-title {
  font-size: clamp(3.5rem, 3.6vw, 5.5rem); font-weight: 800; line-height: 1.2;
  color: white; margin-bottom: 24px; text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

body.index .hero-title .highlight {
  background: linear-gradient(135deg, #6db3f2, #a78bfa, #4fd1c5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

body.index .hero-subtitle {
  font-size: 1.3rem; color: #ccddee; line-height: 1.7; margin-bottom: 36px;
  font-weight: 400; text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

body.index .hero-cta-group { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 50px; }

body.index .btn-primary {
  background: linear-gradient(135deg, #1e5bb0, #3a7bd5); border: none; color: white;
  padding: 14px 36px; font-size: 1rem; font-weight: 600; border-radius: 6px;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 25px rgba(30,90,200,0.3);
}

body.index .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,90,200,0.5); }

body.index .btn-outline {
  background: transparent; border: 2px solid rgba(255,255,255,0.4); color: white;
  padding: 14px 36px; font-size: 1rem; font-weight: 600; border-radius: 6px;
  cursor: pointer; transition: all 0.3s; text-decoration: none; backdrop-filter: blur(4px);
}

body.index .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

body.index .hero-footer-note {
  color: #8899bb; font-size: 0.95rem; font-weight: 500; letter-spacing: 1px;
  display: flex; align-items: center; gap: 10px;
}

body.index .hero-footer-note::before { content: ''; width: 30px; height: 2px; background: #4fd1c5; display: block; }

body.index .innovation-section { padding: 100px 0 80px; background: #ffffff; }
body.index .innovation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
body.index .innovation-text h2 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 28px; color: #111; }
body.index .innovation-text p { font-size: 1.1rem; color: #444; line-height: 1.7; margin-bottom: 24px; }
body.index .innovation-quote { font-size: 1.25rem; font-weight: 600; color: #0f5b9e; margin-top: 32px; border-left: 4px solid #0f5b9e; padding-left: 24px; }
body.index .video-thumb { width: 100%; aspect-ratio: 1/1; background: #fff; border-radius: 100%; overflow: hidden; position: relative; }
body.index .video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
body.index .play-icon-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3.5rem; color: white; background: rgba(0,0,0,0.5); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }

body.index .collaboration-section { background: #f7f9fc; padding: 100px 0; }
body.index .collab-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
body.index .collab-content h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 28px; color: #111; }
body.index .collab-content p { font-size: 1.2rem; max-width: 780px; color: #444; line-height: 1.7; margin-bottom: 40px; }
body.index .collab-stats { display: flex; gap: 60px; margin-top: 20px; font-weight: 500; color: #0f5b9e; }
body.index .collab-stats a { padding: 10px 20px; background: #0f5b9e; color: white; border-radius: 5px; font-size: 1rem;text-decoration: none;}

body.index .news-section { padding: 100px 0; background: #ffffff; }
body.index .news-header { margin-bottom: 48px; }
body.index .news-header .section-label { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #0f5b9e; margin-bottom: 12px; }
body.index .news-header h2 { font-size: 2.8rem; font-weight: 700; color: #111; margin-bottom: 16px; }
body.index .news-header .subtitle { font-size: 1.1rem; color: #555; max-width: 700px; line-height: 1.6; margin-bottom: 24px; }
body.index .view-all-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #0f5b9e; text-decoration: none; font-size: 1rem; }
body.index .news-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
body.index .news-card { padding: 20px; background: #f8f8f8; border-radius: 20px; overflow: hidden; transition: transform 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; border-bottom: 1px solid #e9ecef; padding-bottom: 24px; box-shadow: 0 .3rem .3rem rgba(0, 0, 0, 0.3) !important; }
body.index .news-card:hover { transform: translateY(-4px); }
body.index .news-card-image { width: 100%; /* height: 220px; */ background-color: #eef2f6; background-size: cover; background-position: center; margin-bottom: 22px; border-radius: 4px; }
body.index .news-card-date { font-size: 0.8rem; font-weight: 600; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
body.index .news-card-title { font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; color: #111; }
body.index .news-card-excerpt { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 18px; flex: 1; }
body.index .read-more { font-weight: 700; font-size: 0.9rem; color: #0f5b9e; display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: auto; }

body.index .footer { padding: 60px 0 30px; font-size: 0.9rem; }
body.index .footer-logo img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 12px; }
body.index .footer-links { display: flex; gap: 70px; }
body.index .footer-col h4 { color: white; margin-bottom: 18px; font-size: 1rem; }
body.index .footer-col ul { list-style: none; }
body.index .footer-col ul li { margin-bottom: 10px; }
body.index .footer-col ul li a { color: #aaa; text-decoration: none; transition: color 0.2s; }
body.index .footer-col ul li a:hover { color: white; }
body.index .footer-bottom { padding-top: 24px; flex-wrap: wrap; gap: 15px; align-items: center; }

@media (max-width: 1024px) {
  body.index .nav-links { gap: 20px; }
  body.index .utility-icons { gap: 8px; }
}
@media (max-width: 768px) {
  body.index .nav-links, body.index .nav-actions, body.index .utility-icons { display: none; }
  body.index .menu-toggle { display: block; }
  body.index .nav { height: 68px; }
  body.index .innovation-grid { grid-template-columns: 1fr; gap: 40px; }
  body.index .news-cards { grid-template-columns: 1fr; gap: 32px; }
  body.index .hero-content { padding: 40px 20px 50px; }
  body.index .footer-links { flex-direction: column; gap: 30px; }
  body.index .collab-stats { flex-direction: column; gap: 20px; }
}


/* ============================================
   关于我们 about.html 专属样式
   ============================================ */


body.about .page-hero { padding: 100px 0 80px; }
body.about .page-hero::before { background: radial-gradient(circle at 60% 40%, rgba(70,130,220,0.25) 0%, transparent 60%); }
body.about .page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); margin-bottom: 20px; }
body.about .page-hero .subtitle { font-size: 1.3rem; max-width: 650px; margin: 0 auto; }

body.about .intro-text { max-width: 900px; margin: 0 auto; }
body.about .intro-text p{
  font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 30px;
  }

body.about .intro-text h3 {
  background: #f3f7fd; border-left: 5px solid #0f5b9e;
  padding: 30px 35px; border-radius: 0 12px 12px 0;
  margin: 40px 0; font-weight: 500; color: #1e3b5a;
  font-size:1.0rem;
}

body.about .strategy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; margin-top: 40px; }

body.about .strategy-card {
  background: #f9fbfd; border-radius: 20px; padding: 35px 30px;
  border: 1px solid #eaf0f6; transition: all 0.25s; display: flex; gap: 20px;
}

body.about .strategy-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: #cbddea; }

body.about .strategy-icon { font-size: 2.3rem; color: #0f5b9e; min-width: 55px; }
body.about .strategy-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; color: #0a1a2b; }
body.about .strategy-card p { color: #555; line-height: 1.7; }

body.about .belief-section { background: #f4f8fe; text-align: center; }
body.about .belief-quote { font-size: 1.5rem; font-weight: 600; color: #0f5b9e; max-width: 750px; margin: 0 auto; line-height: 1.6; }

body.about .footer { padding: 50px 0 25px; }

@media (max-width: 768px) {
  body.about .strategy-grid { grid-template-columns: 1fr; }
  body.about .strategy-card { flex-direction: column; }
}


/* ============================================
   产品中心 products.html 专属样式
   ============================================ */

body.product .page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.8rem); }

body.product .products-main { display: flex; gap: 50px; padding: 50px 0 80px; }

body.product .sidebar { width: 260px; flex-shrink: 0; }
body.product .sidebar-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: #0a1a2b; padding-bottom: 12px; border-bottom: 2px solid #eef2f6; }
body.product .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; }
body.product .sidebar-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; text-decoration: none; color: #444; font-weight: 500;
  border-radius: 10px; transition: all 0.2s; font-size: 0.95rem;
}
body.product .sidebar-nav li a:hover { background: #f4f8fe; color: #0f5b9e; }
body.product .sidebar-nav li a.active { background: #0f5b9e; color: white; font-weight: 600; box-shadow: 0 8px 20px rgba(15,91,158,0.2); }
body.product .sidebar-nav li a .count { font-size: 0.8rem; background: #eef2f6; color: #666; padding: 3px 10px; border-radius: 20px; }
body.product .sidebar-nav li a.active .count { background: rgba(255,255,255,0.3); color: white; }

body.product .products-grid-area { flex: 1; }
body.product .products-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
body.product .products-header h2 { font-size: 1.8rem; font-weight: 700; }
body.product .sort-select { padding: 10px 16px; border: 1px solid #d1d9e0; border-radius: 8px; font-size: 0.9rem; background: white; cursor: pointer; }

body.product .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

body.product .product-card {
  background: #ffffff; border-radius: 16px; overflow: hidden; transition: all 0.3s;
  border: 1px solid #eef2f6; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
body.product .product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #d0ddea; }
body.product .product-image { width: 100%; /* height: 220px; */ background: #f4f7fa; background-size: cover; background-position: center; position: relative; }
body.product .product-tag { position: absolute; top: 14px; left: 14px; background: #0f5b9e; color: white; padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
body.product .product-info { padding: 22px 20px 24px; flex: 1; display: flex; flex-direction: column; }
body.product .product-category { font-size: 0.8rem; color: #0f5b9e; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
body.product .product-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: #0a1a2b; line-height: 1.3; }
body.product .product-desc { font-size: 0.9rem; color: #666; line-height: 1.6; flex: 1; margin-bottom: 16px; }
body.product .product-arrow { font-weight: 600; color: #0f5b9e; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; margin-top: auto; }

body.product .footer { padding: 50px 0 25px; }

.litpic{width: 100%;position:relative;height:0;padding-bottom:66.6666%;overflow:hidden;}
.litpic img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}
.pages{padding:40px 0 0;text-align: center;}
.pages li{display: inline-block;list-style: none;}
.pages a{display: inline-block;padding: 10px 17px;margin-right: 5px;border: 1px solid #ddd;font-size:14px;border-radius: 10px;background: #f7f9fc;}
.pages li.active a,.pages li a:hover{background: #0f5b9e;border-color: #0f5b9e;color: #fff;}

@media (max-width: 1024px) {
  body.product .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body.product .products-main { flex-direction: column; gap: 30px; }
  body.product .sidebar { width: 100%; }
  body.product .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  body.product .sidebar-nav li a { padding: 10px 16px; font-size: 0.85rem; }
  body.product .product-grid { grid-template-columns: 1fr; }
  .pages{padding:30px 0;}
}


/* ============================================
   产品详情 show.html 专属样式
   ============================================ */


body.show .detail-main { display: flex; gap: 50px; padding: 50px 0 80px; }

body.show .sidebar { width: 260px; flex-shrink: 0; }
body.show .sidebar-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: #0a1a2b; padding-bottom: 12px; border-bottom: 2px solid #eef2f6; }
body.show .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; }
body.show .sidebar-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; text-decoration: none; color: #444; font-weight: 500;
  border-radius: 10px; transition: all 0.2s; font-size: 0.95rem;
}
body.show .sidebar-nav li a:hover { background: #f4f8fe; color: #0f5b9e; }
body.show .sidebar-nav li a.active { background: #0f5b9e; color: white; font-weight: 600; box-shadow: 0 8px 20px rgba(15,91,158,0.2); }
body.show .sidebar-nav li a .count { font-size: 0.8rem; background: #eef2f6; color: #666; padding: 3px 10px; border-radius: 20px; }
body.show .sidebar-nav li a.active .count { background: rgba(255,255,255,0.3); color: white; }

body.show .detail-content { flex: 1; }
body.show .product-title { font-size: 2rem; font-weight: 700; color: #0a1a2b; margin-bottom: 20px; line-height: 1.3; }
body.show .product-meta { display: flex; gap: 30px; align-items: center; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid #eef2f6; color: #888; font-size: 0.9rem; }
body.show .product-meta i { margin-right: 6px; color: #0f5b9e; }
body.show .product-body { font-size: 1.05rem; color: #444; line-height: 1.9; }
body.show .product-body p { margin-bottom: 20px; }
body.show .product-body h3 { font-size: 1.3rem; color: #0a1a2b; margin: 30px 0 14px; }
body.show .product-body img{max-width:500px;}
body.show .back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; color: #0f5b9e; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
body.show .back-link:hover { gap: 12px; }

body.show .footer { padding: 50px 0 25px; }

@media (max-width: 768px) {
  body.show .detail-main { flex-direction: column; gap: 30px; }
  body.show .sidebar { width: 100%; }
  body.show .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  body.show .sidebar-nav li a { padding: 10px 16px; font-size: 0.85rem; }
  body.show .product-body img{max-width:100%;}
}


/* ============================================
   新闻资讯 news.html 专属样式
   ============================================ */


body.news .news-section { padding: 50px 0 30px; }
body.news .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }

body.news .news-card {
  background: #ffffff; border-radius: 16px; overflow: hidden; transition: all 0.3s;
  border: 1px solid #eef2f6; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
body.news .news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #d0ddea; }
body.news .news-image { width: 100%; /* height: 200px; */ background: #f4f7fa; background-size: cover; background-position: center; }
body.news .news-info { padding: 22px 20px 24px; flex: 1; display: flex; flex-direction: column; }
body.news .news-date { font-size: 0.8rem; color: #888; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
body.news .news-date i { color: #0f5b9e; font-size: 0.85rem; }
body.news .news-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #0a1a2b; line-height: 1.4; }
body.news .news-excerpt { font-size: 0.9rem; color: #666; line-height: 1.6; flex: 1; margin-bottom: 16px; }
body.news .news-arrow { font-weight: 600; color: #0f5b9e; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; margin-top: auto; }

body.news .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 50px 0 70px; }
body.news .pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; text-decoration: none; color: #444;
  font-weight: 500; background: #f7f9fc; transition: all 0.2s; font-size: 0.95rem;
}
body.news .pagination a:hover { background: #e0eaf5; color: #0f5b9e; }
body.news .pagination a.active { background: #0f5b9e; color: white; font-weight: 700; box-shadow: 0 6px 18px rgba(15,91,158,0.25); }
body.news .pagination .prev, body.news .pagination .next { width: auto; padding: 0 18px; }

body.news .footer { padding: 50px 0 25px; }

@media (max-width: 1024px) {
  body.news .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body.news .news-grid { grid-template-columns: 1fr; }
}


/* ============================================
   联系我们 contact.html 专属样式
   ============================================ */


body.contact .page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 3.8rem); }

body.contact .contact-section { padding: 60px 0 80px; }
body.contact .contact-intro { text-align: center; margin-bottom: 50px; }
body.contact .contact-intro h2 { font-size: 2.2rem; font-weight: 700; color: #0a1a2b; margin-bottom: 14px; }
body.contact .contact-intro p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }

body.contact .contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }

body.contact .contact-card {
  background: #f9fbfd; border-radius: 20px; padding: 40px 28px; text-align: center;
  transition: all 0.3s; border: 1px solid #eef2f6; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
body.contact .contact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: #d0ddea; }
body.contact .contact-icon { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, #e8f2fd, #d4e6fa); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #0f5b9e; }
body.contact .contact-label { font-size: 0.85rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 1px; }
body.contact .contact-value { font-size: 1.1rem; font-weight: 600; color: #1a1a1a; word-break: break-all; }

body.contact .footer { padding: 50px 0 25px; margin-top: 40px; }

.search{background:#f2f2f2;position: sticky;top:77px;z-index: 100;padding:50px 0;display:none;}
.search .search_con{display: flex;}
.search_con input{
  flex: 1;border-right: none;
    height: 50px;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    padding: 5px 25px;
    outline: none;
}
.search_con button{
  width:60px;display: flex;border-radius:0 30px 30px 0;border:1px solid #ddd;border-left:none;background: #fff;
  align-items: center;justify-content: center;outline: none;cursor: pointer;
}
.search_con button i{font-size: 20px;color:#1e5bb0;}



@media (max-width: 768px) {
  body.contact .contact-cards { grid-template-columns: 1fr; }
}