/* ============================================
   诚业丰标企业网站 - 前台样式
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #267bc3; }
img { max-width: 100%; border: none; vertical-align: middle; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-weight: normal; }

.container {
  width: 1200px;
  margin: 0 auto;
}

.fl { float: left; }
.fr { float: right; }
.clearfix::after { content: ''; display: block; clear: both; }

/* ========== 顶部信息�?========== */
.top-bar {
  background: #f5f5f5;
  height: 36px;
  line-height: 36px;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid #eee;
}
.top-bar a { color: #666; }
.top-bar a:hover { color: #267bc3; }

/* ========== 头部 ========== */
.header {
  background: #fff;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo {
  flex-shrink: 0;
}
.logo h1 {
  font-size: 20px;
  color: #267bc3;
  font-weight: bold;
  white-space: nowrap;
}
.logo img {
  width: 504px;
  height: auto;
  max-width: 100%;
  display: block;
}
.main-nav {
  flex-shrink: 0;
}

/* 主菜�?*/
.main-nav ul {
  display: flex;
}
.main-nav li {
  position: relative;
}
.main-nav li a {
  display: block;
  padding: 0 12px;
  height: 90px;
  line-height: 90px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  transition: all .2s;
}
.main-nav li:hover a,
.main-nav li.active a {
  color: #fff;
  background: #267bc3;
}

/* ========== 首页大 Banner（轮播） ========== */
.banner-home {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: 520px;
  max-height: 520px;
  overflow: hidden;
}
.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.banner-slide.active {
  opacity: 1;
  z-index: 1;
}
.banner-slide .banner-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 40, 70, .55) 0%, rgba(30, 80, 140, .35) 100%);
}
.banner-slide .banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.banner-slide.active .banner-title {
  animation: fadeInUp .8s ease .3s both;
}
.banner-slide.active .banner-subtitle {
  animation: fadeInUp .8s ease .5s both;
}
.banner-slide.active .banner-btns {
  animation: fadeInUp .8s ease .7s both;
}
.banner-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  max-width: 680px;
}
.banner-subtitle {
  font-size: 20px;
  font-weight: 300;
  opacity: .92;
  margin-bottom: 40px;
  max-width: 560px;
}
.banner-btns {
  display: flex;
  gap: 16px;
}
.banner-btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
}

/* ========== 静态 Banner ========== */
.banner-home.static-mode {
  height: 520px !important;
  min-height: 520px !important;
  max-height: 520px !important;
}
.banner-static {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.banner-static .banner-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 40, 70, .45) 0%, rgba(30, 80, 140, .25) 100%);
}
.banner-static .banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 160px;
}
.btn-white {
  background: #fff;
  color: #267bc3;
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #267bc3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.banner-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .3s;
}
.banner-dots span.active {
  width: 36px;
  border-radius: 6px;
  background: #fff;
}

/* 左右箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all .3s;
  user-select: none;
}
.banner-arrow:hover {
  background: rgba(255,255,255,.4);
}
.banner-prev { left: 30px; }
.banner-next { right: 30px; }

.banner-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  z-index: 10;
  text-align: center;
  opacity: .8;
}
.banner-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: #fff;
  margin: 10px auto 0;
  position: relative;
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: bottom; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 内页窄 Banner ========== */
.page-banner {
  height: 210px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  width: 100%;
}
.page-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.35);
}
.page-banner .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
}
.page-banner h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.banner-breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.banner-breadcrumb a {
  color: rgba(255,255,255,.85);
}
.banner-breadcrumb a:hover {
  color: #fff;
}

/* ========== 响应式 Banner ========== */
@media (max-width: 768px) {
  .banner-home { height: 420px; }
  .banner-home .banner-title { font-size: 28px; }
  .banner-home .banner-subtitle { font-size: 15px; margin-bottom: 24px; }
  .banner-btn { padding: 10px 24px; font-size: 14px; }
  .banner-scroll { display: none; }
  .page-banner { height: 160px; }
  .page-banner h2 { font-size: 22px; }
}

/* ========== 主体布局 ========== */
.main {
  padding: 30px 0 50px;
  min-height: 400px;
}
/* 内页内容右移，避开左下角第三方在线留言弹窗 */
.main > .container {
  padding-left: 110px;
}
/* 首页内容左右收紧 */
.home-section .container {
  padding-left: 110px;
  padding-right: 110px;
}
@media (max-width: 900px) {
  .main > .container {
    padding-left: 15px;
  }
  .home-section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* 手机端导航横向滚动 */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }
  .header .container {
    height: auto;
    flex-wrap: wrap;
    display: block;
  }
  .logo {
    max-width: 100%;
    margin: 10px 0;
    float: none;
    text-align: center;
  }
  .logo img {
    height: auto;
    max-width: 100%;
  }
  .main-nav {
    float: none;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overflow-y: hidden;
  }
  .main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    width: auto;
  }
  .main-nav li {
    flex-shrink: 0;
  }
  .main-nav li a {
    padding: 0 14px;
    font-size: 14px;
    height: 50px;
    line-height: 50px;
  }
}
.main-layout {
  display: flex;
  gap: 30px;
}
.main-content {
  flex: 1;
  min-width: 0;
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
}

/* 侧边�?*/
.side-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 20px;
}
.side-title {
  background: #267bc3;
  color: #fff;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px 4px 0 0;
}
.side-body {
  padding: 12px;
}
.side-body ul li {
  padding: 8px 10px;
  border-bottom: 1px dashed #eee;
}
.side-body ul li:last-child { border-bottom: none; }
.side-body ul li a {
  display: block;
  font-size: 14px;
  color: #555;
}
.side-body ul li:hover a,
.side-body ul li.active a {
  color: #267bc3;
}
.side-body ul li.active a::before {
  content: '►';
  margin-right: 6px;
  color: #267bc3;
}

/* 侧边栏欢迎咨询 */
.side-contact {
  overflow: hidden;
  padding: 0;
}
.side-contact-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.side-contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-contact-info {
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #267bc3 0%, #1a5a99 100%);
  color: #fff;
}
.side-contact-info h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}
.side-contact-info .tel {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}
.side-contact-info .time {
  font-size: 12px;
  opacity: .85;
}

/* 内容页标题 */
.page-title {
  font-size: 22px;
  color: #267bc3;
  padding-bottom: 12px;
  border-bottom: 2px solid #267bc3;
  margin-bottom: 20px;
  position: relative;
}
.page-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: #ff8c00;
}
.page-title .more {
  float: right;
  font-size: 13px;
  color: #999;
  font-weight: normal;
}
.page-title .more:hover { color: #267bc3; }

/* 产品分类描述 */
.category-desc {
  background: #f8fafc;
  border-left: 4px solid #267bc3;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 0 6px 6px 0;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

/* 关于我们页面样式 */
.about-section {
  margin-bottom: 32px;
}
.about-heading {
  font-size: 20px;
  color: #267bc3;
  font-weight: bold;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid #267bc3;
  line-height: 1.4;
}
.about-section p {
  color: #555;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 12px;
  text-indent: 2em;
}
.about-section p strong {
  color: #333;
  font-weight: bold;
}
.about-list {
  margin: 10px 0 16px 0;
  padding-left: 2em;
}
.about-list li {
  color: #555;
  font-size: 15px;
  line-height: 2;
  list-style: disc;
}
.about-list li strong {
  color: #267bc3;
  font-weight: bold;
}
.about-certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}
.about-cert-item {
  background: #f8fafc;
  border: 1px solid #e0e8f0;
  border-radius: 6px;
  padding: 18px 20px;
  border-left: 4px solid #267bc3;
}
.about-cert-item h4 {
  font-size: 16px;
  color: #267bc3;
  font-weight: bold;
  margin-bottom: 8px;
}
.about-cert-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  text-indent: 0;
  margin: 0;
}

/* 企业资质展示卡片 */
.cert-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.cert-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px 20px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #267bc3, #1a5a99);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(38,123,195,.15);
  border-color: #267bc3;
}
.cert-card .cert-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.cert-card h4 {
  font-size: 17px;
  color: #267bc3;
  font-weight: bold;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e0e0e0;
}
.cert-card .cert-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  margin: 0;
}
.cert-card .cert-info span {
  color: #333;
  font-weight: 500;
}

/* ========== 首页 ========== */
.hero {
  height: 400px;
  background: linear-gradient(135deg, #267bc3, #1a5a99);
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-text h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 16px;
  opacity: .9;
  line-height: 1.8;
  max-width: 500px;
}
.hero-image {
  width: 400px;
  height: 300px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* 区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h3 {
  font-size: 28px;
  color: #333;
  font-weight: bold;
  margin-bottom: 8px;
}
.section-title p {
  color: #999;
  font-size: 14px;
}
.section-title .line {
  width: 50px;
  height: 3px;
  background: #267bc3;
  margin: 12px auto 0;
}

/* 首页产品 */
.home-section {
  padding: 40px 0;
}
.home-section.gray { background: #f8f9fa; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: all .3s;
}
.product-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-4px);
  border-color: #267bc3;
}
.product-item .img {
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-item .img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s;
}
.product-item:hover .img img {
  transform: scale(1.05);
}
.product-item .info {
  padding: 14px;
  text-align: center;
}
.product-item .info h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-item .info .price {
  color: #ff6b00;
  font-size: 16px;
  font-weight: bold;
}

/* 成功案例相册 */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: all .3s;
}
.case-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-4px);
  border-color: #267bc3;
}
.case-img {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  background: #f5f5f5;
}
.case-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform .3s;
}
.case-item:hover .case-img img {
  transform: scale(1.05);
}
.case-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}
.case-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 123, 195, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.case-item:hover .case-overlay {
  opacity: 1;
}
.case-overlay span {
  color: #fff;
  font-size: 14px;
  border: 1px solid #fff;
  padding: 6px 16px;
  border-radius: 4px;
}
.case-info {
  padding: 12px;
  text-align: center;
}
.case-info h4 {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-info p {
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 分页 */
.pagination {
  text-align: center;
  margin-top: 30px;
}
.pagination a {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #666;
  font-size: 14px;
}
.pagination a:hover,
.pagination a.active {
  background: #267bc3;
  color: #fff;
  border-color: #267bc3;
}

/* 空状态 */
.empty-tip {
  text-align: center;
  padding: 60px 0;
  color: #999;
}

/* 首页新闻 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all .3s;
}
.news-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.news-item .img {
  height: 160px;
  background: #f0f0f0;
  overflow: hidden;
}
.news-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item .body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-item h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  font-weight: bold;
}
.news-item p {
  color: #888;
  font-size: 13px;
  flex: 1;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .date {
  margin-top: 10px;
  font-size: 12px;
  color: #bbb;
}

/* 关于首页 */
.about-home {
  display: flex;
  gap: 40px;
  align-items: center;
}
.about-home .img {
  flex: 1;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
}
.about-home .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.about-home:hover .img img {
  transform: scale(1.03);
}
.about-home .text {
  flex: 1;
}
.about-home .text h3 {
  font-size: 26px;
  color: #333;
  font-weight: bold;
  margin-bottom: 16px;
}
.about-home .text p {
  color: #666;
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-home .btn {
  display: inline-block;
  padding: 10px 28px;
  background: #267bc3;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}
.about-home .btn:hover {
  background: #1a5a99;
}

/* 优势亮点 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: all .3s;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(38,123,195,.15);
  border-color: #267bc3;
}
.feature-item .feature-img {
  width: 100%;
  height: 140px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.feature-item .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.feature-item:hover .feature-img img {
  transform: scale(1.05);
}
.feature-item h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  font-weight: bold;
}
.feature-item p {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
}

/* ========== 列表�?========== */
.list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.list-item:last-child { border-bottom: none; }
.list-item .img {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
}
.list-item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-item .body {
  flex: 1;
  min-width: 0;
}
.list-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.list-item h3 a { color: #333; }
.list-item h3 a:hover { color: #267bc3; }
.list-item p {
  color: #888;
  line-height: 1.7;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-item .meta {
  color: #bbb;
  font-size: 12px;
}
.list-item .meta span { margin-right: 16px; }

/* 产品列表网格 */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ========== 详情�?========== */
.detail-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.detail-header h1 {
  font-size: 26px;
  color: #333;
  margin-bottom: 12px;
  font-weight: bold;
}
.detail-header .meta {
  color: #999;
  font-size: 13px;
}
.detail-header .meta span { margin: 0 10px; }

.detail-content {
  font-size: 15px;
  line-height: 2;
  color: #444;
}
.detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}
.detail-content p { margin-bottom: 16px; }
.detail-content h2, .detail-content h3 { margin: 20px 0 10px; font-weight: bold; }

/* 产品详情统一内容排版（清洗后） */
.detail-content .pc-caption {
  font-weight: bold;
  color: #1a4a8a;
  margin: 24px 0 10px;
}
.detail-content .pc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.detail-content .pc-table th.pc-th {
  background: #1a4a8a;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 9px 8px;
  border: 1px solid #b7c6d9;
}
.detail-content .pc-table td.pc-td {
  padding: 7px 8px;
  border: 1px solid #d7dee8;
  text-align: center;
  background: #fff;
}
.detail-content .pc-table tbody tr:nth-child(even) td.pc-td { background: #f6f9fc; }
.detail-content .pc-table tbody tr:hover td.pc-td { background: #eef4fb; }
/* 产品参数表：宽表缩字号、键值行左对齐（JS 自动标记） */
.detail-content .pc-table.pc-wide { font-size: 13px; }
.detail-content .pc-table.pc-wide td.pc-td, .detail-content .pc-table.pc-wide th.pc-th { padding: 6px 5px; }
.detail-content .pc-table tr.pc-kv td.pc-td { text-align: left; }
.detail-content .pc-table tr.pc-kv td.pc-td:first-child {
  font-weight: 600;
  color: #1a4a8a;
  background: #f0f4f9;
  white-space: nowrap;
}
.detail-content .pc-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}
@media (max-width: 600px) {
  .detail-content .pc-table { font-size: 12px; }
  .detail-content .pc-table th.pc-th, .detail-content .pc-table td.pc-td { padding: 5px 4px; }
}

/* 产品详情 */
.product-detail {
  display: flex;
  gap: 30px;
}
.product-detail .gallery {
  width: 400px;
  flex-shrink: 0;
}
.product-detail .main-img {
  width: 100%;
  height: 350px;
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.product-detail .main-img img {
  max-width: 100%;
  max-height: 100%;
}
.product-detail .thumbs {
  display: flex;
  gap: 10px;
}
.product-detail .thumbs div {
  width: 70px;
  height: 70px;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
}
.product-detail .thumbs div.active {
  border-color: #267bc3;
}
.product-detail .thumbs img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-detail .info {
  flex: 1;
}
.product-detail .info h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 16px;
  font-weight: bold;
}
.product-detail .info .price {
  background: #fff5f5;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.product-detail .info .price span {
  color: #ff4d4f;
  font-size: 28px;
  font-weight: bold;
}
.product-detail .info .specs {
  margin-bottom: 20px;
}
.product-detail .info .specs li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  font-size: 14px;
}
.product-detail .info .specs li strong {
  width: 100px;
  color: #666;
  font-weight: normal;
}

/* ========== 分页 ========== */
.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 4px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}
.pagination a:hover {
  border-color: #267bc3;
  color: #267bc3;
}
.pagination .current {
  background: #267bc3;
  border-color: #267bc3;
  color: #fff;
}
.pagination .disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* ========== 表单 ========== */
.form-wrap {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #eee;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #267bc3;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group .captcha-wrap {
  display: flex;
  gap: 10px;
}
.form-group .captcha-wrap input {
  flex: 1;
}
.form-group .captcha-wrap img {
  height: 40px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.btn-submit {
  padding: 10px 36px;
  background: #267bc3;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover {
  background: #1a5a99;
}

/* ========== 相册 ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: #f5f5f5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 13px;
  text-align: center;
}

/* ========== 联系我们 ========== */
.contact-page {
  display: flex;
  gap: 40px;
}
.contact-info {
  flex: 1;
}
.contact-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #267bc3;
  font-weight: bold;
}
.contact-info ul li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  font-size: 15px;
  color: #555;
}
.contact-info ul li strong {
  color: #333;
  display: inline-block;
  width: 80px;
}
.contact-form {
  flex: 1;
}

/* ========== 页脚 ========== */
.footer {
  background: #2c3e50;
  color: #bdc3c7;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}
.footer-col ul li {
  padding: 5px 0;
}
.footer-col ul li a {
  color: #bdc3c7;
  font-size: 13px;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-about p {
  line-height: 1.8;
  font-size: 13px;
}
.footer-contact p {
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.8;
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: #95a5a6;
}
.footer-bottom p { margin: 4px 0; }

/* ========== 响应�?========== */
@media (max-width: 1200px) {
  .container { width: 95%; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .product-grid,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .about-home {
    flex-direction: column;
  }
  .main-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .contact-page { flex-direction: column; }
  .product-detail { flex-direction: column; }
  .product-detail .gallery { width: 100%; }
}

/* FAQ 常见问题样式 */
.faq-section {
  margin-bottom: 30px;
}
.faq-item {
  background: #f8f9fa;
  border-left: 3px solid #1a73e8;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 0 6px 6px 0;
  transition: all 0.3s;
}
.faq-item:hover {
  background: #e8f0fe;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.faq-item h4 {
  color: #1a73e8;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-item p {
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* 仅搜索引擎/屏幕阅读器可见（首页语义 H1） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
