/* ============================================
   关于我们样式 about.css
   ============================================ */

/* ---------- 公司简介 ---------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.about-intro-text .tag {
  background: rgba(0, 128, 96, 0.1);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  padding: 6px 14px;
}
.about-intro-text h2 {
  font-size: var(--font-size-2xl);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
}
.about-intro-text p {
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: var(--space-4);
}
.about-intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.about-intro-stats div {
  text-align: center;
}
.about-intro-stats strong {
  display: block;
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  font-weight: 800;
}
.about-intro-stats span {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}
.about-intro-img {
  min-width: 0;
}
.about-intro-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-intro-stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}

/* ---------- 品牌故事 ---------- */
.brand-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.brand-story-text .tag {
  background: rgba(201, 168, 106, 0.15);
  color: var(--color-secondary-dark);
  margin-bottom: var(--space-3);
  padding: 6px 14px;
}
.brand-story-text .section-title {
  text-align: left;
  margin-bottom: var(--space-5);
}
.brand-story-text .section-title::after {
  margin-left: 0;
}
.brand-story-text p {
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-base);
}
.brand-story-text p:first-of-type::first-letter {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
}
.brand-story-img {
  min-width: 0;
}
.brand-story-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
@media (max-width: 768px) {
  .brand-story-grid { grid-template-columns: 1fr; }
  .brand-story-text .section-title { text-align: center; }
  .brand-story-text .section-title::after { margin: var(--space-3) auto 0; }
}

/* ---------- 企业文化 ---------- */
.culture-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.culture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.culture-icon {
  margin-bottom: var(--space-3);
}
.culture-card h3 {
  font-size: var(--font-size-lg);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
}
.culture-card p {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: var(--font-size-sm);
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-year {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.timeline-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}
.timeline-content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.timeline-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.timeline-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base);
}
.timeline-images img:hover {
  transform: scale(1.03);
}

/* ---------- 资质荣誉 ---------- */
.honor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}
.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.honor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.honor-card h3 {
  padding: var(--space-4);
  font-size: var(--font-size-base);
  text-align: center;
  color: var(--color-text);
}

/* ---------- 主要合作伙伴（异形轮播） ---------- */
.partners-carousel {
  position: relative;
  padding: 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.partners-swiper {
  width: 100%;
  padding: 30px 0 0;
  overflow: hidden;
  height: 410px;
}
.partners-carousel > .swiper-pagination.partners-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  height: 20px;
}
.partners-swiper .swiper-slide {
  width: 280px;
  height: 380px;
  transition: opacity 0.4s, filter 0.4s;
}
.partner-card {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}
.partner-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 128, 96, 0.06) 0%, rgba(201, 168, 106, 0.04) 100%);
  z-index: 0;
  pointer-events: none;
}
.partner-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 220px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.partner-card:hover .partner-logo {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.partner-type {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-xs);
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  font-weight: 600;
}
.partner-name {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.partner-desc {
  position: relative;
  z-index: 1;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.75;
  margin-bottom: var(--space-4);
  flex: 1;
}
.partner-meta {
  position: relative;
  z-index: 1;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  width: 100%;
}

/* 异形 accent 配色：顶部横条 + logo 容器边框使用不同颜色 */
.partner-ort::before { background: linear-gradient(90deg, #DC2626 0%, #EF4444 100%); }
.partner-ort .partner-logo { border-color: rgba(220, 38, 38, 0.25); }
.partner-fromm::before { background: linear-gradient(90deg, #2563EB 0%, #3B82F6 100%); }
.partner-fromm .partner-logo { border-color: rgba(37, 99, 235, 0.25); }
.partner-jiancai::before { background: linear-gradient(90deg, #EA580C 0%, #FB923C 100%); }
.partner-jiancai .partner-logo { border-color: rgba(234, 88, 12, 0.25); }
.partner-shipin::before { background: linear-gradient(90deg, #CA8A04 0%, #EAB308 100%); }
.partner-shipin .partner-logo { border-color: rgba(202, 138, 4, 0.25); }
.partner-yiyao::before { background: linear-gradient(90deg, #059669 0%, #10B981 100%); }
.partner-yiyao .partner-logo { border-color: rgba(5, 150, 105, 0.25); }
.partner-xinnengyuan::before { background: linear-gradient(90deg, #0891B2 0%, #06B6D4 100%); }
.partner-xinnengyuan .partner-logo { border-color: rgba(8, 145, 178, 0.25); }

/* 异形轮播：侧面 slide 视觉弱化 */
.partners-swiper .swiper-slide:not(.swiper-slide-active) .partner-card {
  filter: grayscale(0.3) brightness(0.96);
  opacity: 0.75;
}
.partners-swiper .swiper-slide.swiper-slide-active .partner-card {
  filter: none;
  opacity: 1;
  box-shadow: 0 16px 40px rgba(0, 80, 60, 0.15), var(--shadow-md);
}

/* 导航箭头 */
.partners-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}
.partners-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.partners-arrow::after {
  display: none;
}
.partners-arrow.swiper-button-prev {
  left: 0;
}
.partners-arrow.swiper-button-next {
  right: 0;
}
@media (hover: none) {
  .partners-arrow:hover {
    background: #fff;
    color: var(--color-primary-dark);
    border-color: var(--color-border);
  }
}

/* 移动端：隐藏箭头，让用户用滑动/分页点交互 */
@media (max-width: 1024px) {
  .partners-arrow {
    display: none !important;
  }
}

/* 移动端 */
@media (max-width: 768px) {
  .partners-carousel {
    padding: 0 12px;
  }
  .partners-swiper {
    padding: 20px 0 12px;
  }
  .partners-swiper .swiper-slide {
    width: 240px;
    height: 360px;
  }
  .partner-card {
    padding: var(--space-5) var(--space-4);
  }
  .partner-logo {
    max-width: 200px;
    height: 80px;
    padding: 6px 10px;
  }
  .partner-name {
    font-size: var(--font-size-xl);
  }
  .partner-desc {
    font-size: 13px;
  }
  .partners-arrow {
    width: 36px;
    height: 36px;
  }
  .partners-arrow.swiper-button-prev {
    left: 4px;
  }
  .partners-arrow.swiper-button-next {
    right: 4px;
  }
}
@media (max-width: 480px) {
  .partners-swiper .swiper-slide {
    width: 220px;
    height: 340px;
  }
  .partner-card {
    padding: var(--space-4) var(--space-3);
  }
  .partner-logo {
    max-width: 180px;
    height: 72px;
  }
  .partner-name {
    font-size: var(--font-size-lg);
  }
  .partner-desc {
    font-size: 12px;
    line-height: 1.65;
  }
  .partner-meta {
    font-size: 11px;
  }
}

/* ---------- Swiper 轮播（公司简介 / 自力品牌） ---------- */
.about-intro-swiper,
.brand-story-swiper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
}
.about-intro-swiper .swiper-slide,
.brand-story-swiper .swiper-slide {
  position: relative;
  display: block;
  background: #f5f5f5;
  height: 100%;
}
.about-intro-swiper .swiper-slide img,
.brand-story-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* slide 标题 + 副标题叠加层 */
.about-intro-swiper .slide-title,
.brand-story-swiper .slide-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38px;
  padding: 0 var(--space-5);
  color: #fff;
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 5;
  pointer-events: none;
  line-height: 1.3;
}
.about-intro-swiper .slide-subtitle,
.brand-story-swiper .slide-subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  padding: 0 var(--space-5);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--font-size-sm);
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 5;
  pointer-events: none;
}
.about-intro-swiper .swiper-slide::after,
.brand-story-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 4;
  pointer-events: none;
}

/* 容器内分页点定位 */
.about-intro-swiper .intro-pagination,
.brand-story-swiper .brand-pagination {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  width: 100%;
}
.about-intro-swiper .intro-pagination .swiper-pagination-bullet,
.brand-story-swiper .brand-pagination .swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--transition-base);
  margin: 0 !important;
  opacity: 1 !important;
  position: relative;
}
.about-intro-swiper .intro-pagination .swiper-pagination-bullet::before,
.brand-story-swiper .brand-pagination .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  inset: -17px;
}
.about-intro-swiper .intro-pagination .swiper-pagination-bullet-active,
.brand-story-swiper .brand-pagination .swiper-pagination-bullet-active {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-secondary);
}

/* 自定义箭头按钮 */
.about-intro-swiper .intro-arrow,
.brand-story-swiper .brand-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}
.about-intro-swiper .intro-arrow:hover,
.brand-story-swiper .brand-arrow:hover {
  background: var(--color-primary);
  color: #fff;
}
.about-intro-swiper .intro-arrow::after,
.brand-story-swiper .brand-arrow::after {
  display: none;
}
.about-intro-swiper .swiper-button-prev,
.brand-story-swiper .swiper-button-prev {
  left: 12px;
}
.about-intro-swiper .swiper-button-next,
.brand-story-swiper .swiper-button-next {
  right: 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .about-intro-swiper .intro-arrow,
  .brand-story-swiper .brand-arrow {
    width: 36px;
    height: 36px;
  }
  .about-intro-swiper .swiper-button-prev,
  .brand-story-swiper .swiper-button-prev {
    left: 8px;
  }
  .about-intro-swiper .swiper-button-next,
  .brand-story-swiper .swiper-button-next {
    right: 8px;
  }
  .about-intro-swiper .intro-pagination .swiper-pagination-bullet,
  .brand-story-swiper .brand-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }
  .about-intro-swiper .intro-pagination .swiper-pagination-bullet-active,
  .brand-story-swiper .brand-pagination .swiper-pagination-bullet-active {
    width: 18px;
    height: 6px;
  }
  .about-intro-swiper .slide-title,
  .brand-story-swiper .slide-title {
    font-size: var(--font-size-base);
    bottom: 32px;
    padding: 0 var(--space-3);
  }
  .about-intro-swiper .slide-subtitle,
  .brand-story-swiper .slide-subtitle {
    font-size: var(--font-size-xs);
    bottom: 12px;
    padding: 0 var(--space-3);
  }
  .about-intro-swiper .swiper-slide::after,
  .brand-story-swiper .swiper-slide::after {
    height: 42%;
  }
}
@media (max-width: 480px) {
  .about-intro-swiper .slide-title,
  .brand-story-swiper .slide-title {
    font-size: var(--font-size-sm);
    bottom: 28px;
  }
  .about-intro-swiper .slide-subtitle,
  .brand-story-swiper .slide-subtitle {
    font-size: 11px;
    bottom: 10px;
  }
}
@media (hover: none) {
  .about-intro-swiper .intro-arrow:hover,
  .brand-story-swiper .brand-arrow:hover {
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-primary-dark);
  }
}

/* ---------- 专业团队 ---------- */
.team-grid {
  gap: var(--space-5);
}
.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.team-card:hover::before {
  opacity: 1;
}
.team-avatar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 128, 96, 0.2);
  user-select: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar i {
  font-size: 44px;
  line-height: 1;
  display: block;
}
.team-card:nth-child(2) .team-avatar {
  background: linear-gradient(135deg, #c99858 0%, #a07736 100%);
  box-shadow: 0 8px 20px rgba(201, 152, 88, 0.25);
}
.team-card:nth-child(3) .team-avatar {
  background: linear-gradient(135deg, #d96b3c 0%, #b04d22 100%);
  box-shadow: 0 8px 20px rgba(217, 107, 60, 0.25);
}
.team-card:nth-child(4) .team-avatar {
  background: linear-gradient(135deg, #4a8fb5 0%, #2c6b8e 100%);
  box-shadow: 0 8px 20px rgba(74, 143, 181, 0.25);
}
.team-name {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.team-role {
  display: inline-block;
  padding: 3px 12px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(0, 128, 96, 0.1);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.team-card:nth-child(2) .team-role {
  color: #8a5f1a;
  background: rgba(201, 152, 88, 0.15);
}
.team-card:nth-child(3) .team-role {
  color: #b04d22;
  background: rgba(217, 107, 60, 0.12);
}
.team-card:nth-child(4) .team-role {
  color: #2c6b8e;
  background: rgba(74, 143, 181, 0.12);
}
.team-bio {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.75;
  text-align: left;
  margin-bottom: var(--space-3);
  flex: 1;
}
.team-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
  margin-top: auto;
}
.team-metrics div {
  text-align: center;
}
.team-metrics strong {
  display: block;
  font-size: var(--font-size-lg);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.team-card:nth-child(2) .team-metrics strong {
  color: #8a5f1a;
}
.team-card:nth-child(3) .team-metrics strong {
  color: #b04d22;
}
.team-card:nth-child(4) .team-metrics strong {
  color: #2c6b8e;
}
.team-metrics span {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-avatar { width: 96px; height: 96px; }
  .team-avatar i { font-size: 38px; }

  /* 资质荣誉：移动端 2 列 × 3 行（共 6 张荣誉证书） */
  .honors-grid {
    /* 覆盖 common.css 的 .grid-3 在 ≤600px 退化为 1fr 的默认行为 */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-3) !important;
  }

  .honor-card h3 {
    padding: var(--space-3) var(--space-2);
    font-size: var(--font-size-sm);
    line-height: 1.4;
    /* 标题最多 2 行截断，避免长证书名撑高卡片破坏两列等高 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---------- 工厂与产线 ---------- */
.production-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.production-mobile {
  display: none;
}
@media (max-width: 1024px) {
  .production-grid {
    display: none;
  }
  .production-mobile {
    display: block;
  }
}
/* 工厂与产线移动端：覆盖 slider-shape 默认的 78% 宽度与缩放/暗化效果，改为单卡全宽
   修复点（about.html 工厂与产品 swiper 上下空隙过大）：
   1. .slider-shape 默认 padding: 24px 0 16px 与 .swiper-wrapper { align-items: center }
      在卡片型 swiper 中会导致 slide 被居中于过高容器内，上下出现 200px+ 空隙
   2. swiper.js 初始化时会写入内联 height，需用 !important 强制覆盖
   3. 关键修复：align-items 改为 flex-start，禁止 slide 被 stretch 撑高；
      同时给 .production-card 自身设 height: 100% + display: flex 让它填满 slide，
      避免出现 slide 比 card 高 23px 的底部空白
   4. 关闭 swiper.js 的 autoHeight（见 js/about.js），改用 CSS height: auto + flex-start
      + card height: 100% 的纯 CSS 方案，彻底消除内联 height 覆盖 CSS !important 的问题 */
.production-swiper.slider-shape {
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  /* 必须保持 overflow: hidden 以裁剪循环 slide，并防止 swiper 宽度被内容撑大 */
  overflow: hidden !important;
  /* 双重保险：强制 swiper 宽度不超过父容器，避免被 loop 克隆 slide 撑宽到 viewport */
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* .slider-mobile 也要 overflow: hidden，裁剪 swiper 溢出（swiper 宽度异常时兜底） */
.production-mobile.slider-mobile {
  overflow: hidden !important;
}
.production-swiper.slider-shape .swiper-wrapper {
  align-items: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  transition: transform 0.6s !important;
}
.production-swiper.slider-shape .swiper-slide {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
  align-self: flex-start !important;
}
/* 让 .production-card 自身填满 slide 高度，彻底消除 slide 底部空白 */
.production-swiper.slider-shape .swiper-slide .production-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* body 内的 metrics 块贴底，避免卡片底部出现多余空隙 */
.production-swiper.slider-shape .swiper-slide .production-body {
  flex: 1 1 auto !important;
}
.production-swiper.slider-shape .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
  transform: none !important;
}
/* 移动端压缩 .section / .section-header 的间距，让 swiper 卡片视觉上更紧凑 */
@media (max-width: 1024px) {
  #production {
    padding: var(--space-6) 0 !important;
  }
  #production .section-header {
    margin-bottom: var(--space-5) !important;
  }
}
.production-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.production-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.production-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.production-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.production-card:hover .production-img img {
  transform: scale(1.05);
}
.production-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 128, 96, 0.92);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.production-card:nth-child(3) .production-tag,
.production-card:nth-child(4) .production-tag {
  background: rgba(74, 143, 181, 0.92);
}
.production-card:nth-child(5) .production-tag {
  background: rgba(217, 107, 60, 0.92);
}
.production-card:nth-child(6) .production-tag {
  background: rgba(201, 152, 88, 0.92);
}
.production-body {
  padding: var(--space-4) var(--space-4) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.production-body h3 {
  font-size: var(--font-size-md);
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 700;
}
.production-body p {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.65;
  margin-bottom: var(--space-3);
  flex: 1;
}
.production-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
}
.production-metrics div {
  text-align: center;
}
.production-metrics strong {
  display: block;
  font-size: var(--font-size-lg);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.production-metrics strong small {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-light);
  margin-left: 2px;
}
.production-metrics span {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
@media (max-width: 1024px) {
  .production-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 客户评价 ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 80px;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}
.testimonial-logo {
  width: 110px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.testimonial-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition-base);
}
.testimonial-card:hover .testimonial-logo img {
  filter: grayscale(0%);
}
.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
  color: #f5a623;
  font-size: 14px;
}
.testimonial-quote {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  flex: 1;
  font-style: normal;
  quotes: none;
}
.testimonial-quote::before,
.testimonial-quote::after {
  content: none;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-border);
  gap: var(--space-2);
}
.testimonial-author-info strong {
  display: block;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}
.testimonial-author-info span {
  display: block;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}
.testimonial-cooperation {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 128, 96, 0.1);
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.testimonial-cooperation i {
  font-size: 10px;
}
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

