/* 产品中心综合分类 - product_center.html (设计基准 1920px) */

:root {
  --pc-primary: #14126f;
  --pc-accent: #1bb8ce;
  --pc-text: #333333;
  --pc-text-muted: #666666;
  --pc-font-hero: clamp(32px, 3.125vw, 60px);
  --pc-font-section: clamp(24px, 2.083vw, 40px);
  --pc-font-card: clamp(18px, 1.25vw, 24px);
}

.site-main--product-center {
  min-height: auto;
}

/* ========== Hero ========== */

.pc-hero {
  position: relative;
  min-height: clamp(320px, 33.854vw, 650px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2a3a;
}

.pc-hero__bg {
  position: absolute;
  inset: 0;
}

.pc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 74, 0.55) 0%,
    rgba(10, 26, 74, 0.2) 55%,
    rgba(10, 26, 74, 0.05) 100%
  );
}

.pc-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 5.208vw, 100px) 0;
}

.pc-hero__title {
  margin: 0;
  max-width: 12em;
  font-size: var(--pc-font-hero);
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.pc-hero__desc {
  margin: clamp(16px, 1.458vw, 28px) 0 0;
  max-width: 28em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.pc-hero__scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 3.125vw, 60px);
  height: clamp(48px, 3.125vw, 60px);
  margin-top: clamp(28px, 2.5vw, 48px);
  color: var(--pc-primary);
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pc-hero__scroll:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.pc-hero__scroll-icon {
  display: block;
  width: clamp(14px, 0.885vw, 17px);
  height: clamp(14px, 0.885vw, 17px);
}

/* ========== Intro ========== */

.pc-intro {
  padding: clamp(56px, 5.208vw, 100px) 0 clamp(48px, 4.167vw, 80px);
  background: #ffffff;
  text-align: center;
}

.pc-intro__title {
  margin: 0;
  font-size: var(--pc-font-section);
  font-weight: 600;
  line-height: 1.3;
  color: var(--pc-text);
}

.pc-intro__desc {
  margin: clamp(20px, 1.667vw, 32px) auto 0;
  max-width: 52em;
  font-size: clamp(14px, 0.9375vw, 18px);
  line-height: 1.9;
  color: var(--pc-text-muted);
}

/* ========== Categories ========== */

.pc-categories {
  padding: 0 0 clamp(64px, 5.729vw, 110px);
  background: #ffffff;
}

.pc-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(24px, 2.083vw, 40px) clamp(20px, 1.667vw, 32px);
}

.pc-category-card {
  grid-column: span 2;
}

.pc-category-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pc-category-card__link:hover {
  border-color: #d8d8d8;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pc-category-card__media {
  overflow: hidden;
  aspect-ratio: 992 / 604;
}

.pc-category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pc-category-card__link:hover .pc-category-card__media img {
  transform: scale(1.03);
}

.pc-category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(20px, 1.667vw, 32px);
}

.pc-category-card__name {
  margin: 0;
  font-size: var(--pc-font-card);
  font-weight: 600;
  line-height: 1.35;
  color: var(--pc-text);
}

.pc-category-card__desc {
  flex: 1;
  margin: clamp(12px, 0.833vw, 16px) 0 0;
  font-size: clamp(13px, 0.8333vw, 16px);
  line-height: 1.75;
  color: var(--pc-text-muted);
}

.pc-category-card__arrow {
  display: block;
  margin-top: clamp(20px, 1.667vw, 32px);
}

.pc-category-card__arrow img {
  display: block;
  width: clamp(28px, 1.771vw, 34px);
  height: auto;
}

/* ========== Responsive ========== */

@media (max-width: 1200px) {
  .pc-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-category-card {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .pc-hero__overlay {
    background: rgba(10, 26, 74, 0.45);
  }

  .pc-categories__grid {
    grid-template-columns: 1fr;
  }
}
