/* ============================================
   深圳腾骏达科技 - 关于我们详情页样式
   ============================================ */

.about-detail-wrapper { max-width: 900px; margin: 0 auto; padding: 2.5rem 0; }

.about-block { display: none; }
.about-block.active { display: block; }

.about-header { text-align: center; padding: 2rem 0; margin-bottom: 2rem; }
.about-icon { font-size: 4rem; margin-bottom: 1rem; }
.about-header h1 { font-size: 2.2rem; font-weight: 700; color: #003D7A; margin-bottom: 0.5rem; }
.about-header p { color: #6b7280; font-size: 1.1rem; }

/* 通用模块 */
.detail-module { background: white; border-radius: 16px; padding: 2rem; box-shadow: 0 8px 20px rgba(0,0,0,0.04); margin-bottom: 2rem; }
.detail-module h2 { font-size: 1.5rem; font-weight: 700; color: #003D7A; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 2px solid #eef3fa; }
.detail-module p { color: #4b5563; line-height: 1.8; margin-bottom: 0.8rem; }

/* 底部咨询模块 */
.detail-consult { text-align: center; background: linear-gradient(135deg,#003D7A,#0055a5); color: white; padding: 1.5rem 2rem; }
.detail-consult h2 { color: white; border-bottom-color: rgba(255,255,255,0.3); margin-bottom: 0.8rem; }
.detail-consult p { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }

/* 工厂展示网格 */
.factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.factory-item { text-align: center; }
.factory-img-wrap { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 0.5rem; }
.factory-img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.factory-img-wrap:hover .factory-img { transform: scale(1.05); }
.factory-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: white; padding: 2rem 0.5rem 0.5rem;
  font-size: 0.9rem; font-weight: 600; text-align: center;
  transition: background 0.3s ease;
}
.factory-img-wrap:hover .factory-img-overlay { background: linear-gradient(transparent, rgba(0,0,0,0.8)); }
.factory-item p { font-size: 0.9rem; color: #374151; margin-top: 0.3rem; }
.factory-consult { padding: 1rem 2rem; }
.factory-consult h2 { font-size: 1.3rem; margin-bottom: 0.4rem; padding-bottom: 0.4rem; }
.factory-consult p { margin-bottom: 0.6rem; }

/* 时间轴 */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #e5e7eb; border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -2.35rem; top: 0.3rem; width: 14px; height: 14px; border-radius: 50%; background: #FF6600; border: 3px solid white; box-shadow: 0 0 0 2px #FF6600; }
.timeline-year { font-size: 0.85rem; color: #FF6600; font-weight: 700; margin-bottom: 0.3rem; }
.timeline-content h4 { color: #003D7A; margin-bottom: 0.2rem; }

/* 业务网格 */
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.business-item { background: #f9fafb; border-radius: 12px; padding: 1.5rem; text-align: center; transition: transform 0.2s; }
.business-item:hover { transform: translateY(-4px); }
.business-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.business-item h4 { color: #003D7A; margin-bottom: 0.3rem; }

/* 选择理由网格 */
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.reason-item { display: flex; gap: 1rem; align-items: flex-start; background: #f9fafb; border-radius: 12px; padding: 1.2rem; transition: transform 0.2s, box-shadow 0.2s; }
.reason-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.reason-icon { font-size: 1.8rem; flex-shrink: 0; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.reason-text h4 { font-size: 1rem; font-weight: 700; color: #003D7A; margin-bottom: 0.2rem; }
.reason-text p { font-size: 0.85rem; color: #6b7280; line-height: 1.4; margin-bottom: 0; }

/* 资质证书网格 */
.cert-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.cert-card-item { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.04); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; border: 1px solid #f3f4f6; }
.cert-card-item:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.1); }
.cert-card-img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; }
.cert-card-item:hover .cert-card-img { transform: scale(1.05); }
.cert-card-info { padding: 1rem; }
.cert-card-info h4 { font-size: 0.95rem; font-weight: 700; color: #003D7A; margin-bottom: 0.4rem; }
.cert-card-info p { font-size: 0.8rem; color: #6b7280; line-height: 1.4; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.5rem; border-radius: 8px; font-size: 0.9rem; cursor: pointer; transition: 0.2s; background: #f9fafb; color: #374151; border: 1px solid #e5e7eb; }
.pagination a:hover { background: #003D7A; color: white; border-color: #003D7A; }
.pagination a.active { background: #003D7A; color: white; border-color: #003D7A; font-weight: 700; }
.pagination a.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* 价值观 */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.value-item { background: #f9fafb; border-radius: 12px; padding: 1.5rem; text-align: center; border-top: 3px solid #FF6600; transition: transform 0.2s; }
.value-item:hover { transform: translateY(-4px); }
.value-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.value-item h4 { color: #003D7A; margin-bottom: 0.3rem; }

/* 招聘 */
.job-list { display: flex; flex-direction: column; gap: 1rem; }
.job-item { background: #f9fafb; border-radius: 12px; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid #FF6600; transition: transform 0.2s; }
.job-item:hover { transform: translateX(4px); }
.job-item h4 { color: #003D7A; margin-bottom: 0.2rem; }
.job-item p { font-size: 0.85rem; margin-bottom: 0; }
.job-tag { background: #003D7A; color: white; padding: 0.2rem 0.8rem; border-radius: 12px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; }

/* 响应式 */
@media (max-width: 992px) {
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-card-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-header h1 { font-size: 1.6rem; }
  .business-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .job-item { flex-direction: column; text-align: left; gap: 0.5rem; }
  .factory-grid { grid-template-columns: 1fr; }
  .cert-card-grid { grid-template-columns: 1fr; }
}