/* ============================================
   关于我们专属样式 (about.css)
============================================ */
/* 公司简介区块 */
.content-text p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; text-align: justify; }

.intro-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stat-item .stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item .stat-num .plus { font-size: 1.8rem; color: var(--accent-orange); }
.stat-item .stat-name { font-size: 0.95rem; color: #666; font-weight: 500; }

.intro-image-grid { position: relative; height: 100%; min-height: 450px;}
.intro-image-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.img-main { width: 85%; height: 350px; position: absolute; top: 0; right: 0; z-index: 1; }
.img-main img { width: 100%; height: 100%; }
.img-sub { width: 60%; height: 250px; position: absolute; bottom: 0; left: 0; z-index: 2; border: 8px solid #fff; border-radius: 20px;}
.img-sub img { width: 100%; height: 100%; border-radius: 12px; }

/* 智造基地 / 厂区展示图集 */
.factory-tour-wrap { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.factory-main-view { position: relative; width: 100%; padding-top: 52%; border-radius: 8px; overflow: hidden; margin-bottom: 24px; background: #000; }
.factory-main-view img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s ease; }

.factory-main-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); padding: 40px 30px 20px; color: #fff; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.factory-main-view:hover .factory-main-caption { transform: translateY(0); }
.factory-main-caption h4 { margin: 0 0 8px; font-size: 1.4rem; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.factory-main-caption p { margin: 0; font-size: 1rem; opacity: 0.9; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* 缩略图滑动容器 */
.factory-slider-wrapper { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.factory-thumbs-track-wrap { flex: 1; overflow: hidden; position: relative; border-radius: 6px; }
.factory-thumbs-track { display: flex; gap: 16px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.factory-thumb { flex: 0 0 calc(25% - 12px); cursor: pointer; border-radius: 6px; overflow: hidden; position: relative; padding-top: 16%; transition: var(--transition); border: 2px solid transparent; }
.factory-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; filter: brightness(0.6); }
.factory-thumb.active img, .factory-thumb:hover img { filter: brightness(1); transform: scale(1.05); }
.factory-thumb.active { border-color: var(--primary); box-shadow: 0 4px 12px rgba(0, 71, 157, 0.2); }

/* 企业文化 */
.hengjia-culture { padding: 90px 0; background-color: #fff; } 
.culture-item-card { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; padding: 48px 32px; text-align: center; height: 100%; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; align-items: center; }
.culture-item-card .card-icon-wrap { width: 70px; height: 70px; background-color: rgba(0, 71, 157, 0.05); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 28px; transition: all 0.4s ease; }
.culture-item-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; }
.culture-item-card p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.75; margin: 0; text-align: justify; }
.culture-item-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0, 71, 157, 0.12); border-color: rgba(0, 71, 157, 0.2); }
.culture-item-card:hover .card-icon-wrap { background-color: var(--primary); color: #fff; transform: scale(1.05); }

/* 发展历程 */
.timeline-section { padding: 90px 0; background-color: #fcfcfc; }
.timeline-section .section-title::after { background-color: var(--primary) }

.timeline-nav-wrapper { display: flex; align-items: center; position: relative; max-width: 1000px; margin: 0 auto 60px; }
.timeline-track-container { flex: 1; overflow: hidden; position: relative; margin: 0 20px; padding: 20px 0; }
.timeline-line { position: absolute; bottom: 25px; left: 70px; right: 70px; height: 2px; background: #e0e0e0; z-index: 1; }
.timeline-track { display: flex; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 2; }
.timeline-node { flex: 0 0 140px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; cursor: pointer; height: 70px; }
.timeline-node .year { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #a0a0a0; margin-bottom: 14px; transition: all 0.3s; }
.timeline-node .dot { width: 10px; height: 10px; background: #d0d0d0; border-radius: 50%; transition: all 0.3s ease; position: relative; z-index: 3; }
.timeline-node.active .year { color: var(--primary); font-size: 1.6rem; transform: translateY(-4px); }
.timeline-node.active .dot { background: var(--primary); box-shadow: 0 0 0 4px #fcfcfc, 0 0 0 6px rgba(0,71,157,0.25); transform: scale(1.1); }

.timeline-content-wrapper { position: relative; overflow: hidden; max-width: 1000px; margin: 0 auto; }
.timeline-pane { display: none; animation: tlFadeIn 0.5s ease forwards; }
.timeline-pane.active { display: block; }
@keyframes tlFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.timeline-img-wrap { width: 100%; padding-top: 66.66%; position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.06); background: #eee; }
.timeline-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.timeline-img-wrap:hover img { transform: scale(1.03); }
.timeline-text-wrap { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 24px; }
.timeline-text-wrap h3 { font-size: 1.7rem; font-weight: 800; color: #222226; margin-bottom: 20px; }
.timeline-text-wrap p { font-size: 1.05rem; color: #555; line-height: 1.85; text-align: justify; margin: 0; }

/* 荣誉资质与检测报告 */
.cert-filter-btn { display: inline-block; padding: 8px 24px; background: #fff; color: var(--text-muted); font-size: 1rem; font-weight: 600; border-radius: 30px; cursor: pointer; margin: 0 8px 12px; transition: var(--transition); border: 1px solid var(--border-light); }
.cert-filter-btn:hover { color: var(--primary); border-color: var(--primary); }
.cert-filter-btn.active { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); border-color: var(--primary); }

.cert-slider-wrapper { display: flex; align-items: center; gap: 16px; margin-top: 24px; position: relative; }
.cert-track-wrap { flex: 1; overflow: hidden; padding: 10px 0; }
.cert-track { display: flex; gap: 24px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.cert-item { flex: 0 0 calc(25% - 18px); min-width: 0; }

.cert-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; text-align: center; transition: var(--transition); height: 100%; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,71,157,0.3); }
.cert-img { padding: 20px; background: #fafbfc; height: 260px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cert-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.4s ease; }
.cert-card:hover .cert-img img { transform: scale(1.03); }
.cert-title { padding: 16px; font-size: 0.95rem; font-weight: 600; color: var(--text-dark); border-top: 1px solid var(--border-light); flex: 1; display: flex; align-items: center; justify-content: center; }

/* 响应式断点适配 */
@media (max-width: 991px) {
  .intro-image-grid { min-height: 350px; margin-top: 40px; }
  .cert-item { flex: 0 0 calc(33.333% - 16px); }
}
@media (max-width: 767px) {
  .factory-main-caption { padding: 20px 15px 15px; transform: translateY(0); } 
  .factory-main-caption h4 { font-size: 1.1rem; }
  .factory-main-caption p { font-size: 0.85rem; }
  .factory-thumb { flex: 0 0 calc(50% - 8px); padding-top: 30%; } 

  .timeline-node { flex: 0 0 100px; }
  .timeline-line { left: 50px; right: 50px; }
  .timeline-node .year { font-size: 1.1rem; }
  .timeline-node.active .year { font-size: 1.3rem; }
  .timeline-text-wrap { padding: 24px 10px 0 10px; text-align: center; }
  .timeline-text-wrap p { text-align: left; }
  
  .cert-track { gap: 16px; }
  .cert-item { flex: 0 0 calc(50% - 8px); }
}
@media (max-width: 480px) { 
  .intro-stats { gap: 20px; justify-content: space-between; } 
}