/* ============================================================
   内页样式 - 列表页 + 详情页
   复用 style.css 的主色变量，只新增内页专属样式
   ============================================================ */

/* ============ 页面头部 Banner ============ */
.page-header {
  padding: 160px 0 64px;
  background: linear-gradient(135deg, #002978 0%, #1a3f8f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(179, 1, 1, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: #fff;
  font-weight: 500;
}

.page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 16px;
  color: #fff;
}

.page-title .hl {
  color: #b30101;
  position: relative;
  display: inline-block;
}

.page-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  line-height: 1.7;
  margin: 0;
}

/* ============ 关于我们页头：左侧文字 + 右侧图片 ============ */
.page-header-split .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.page-header-split .page-desc {
  max-width: 100%;
}

.page-header-split .page-header-media img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ============ 列表页内容区 ============ */
.page-content {
  padding: 64px 0 88px;
  background: #f5f6fa;
}

/* 列表页复用首页的 .product-grid / .product-card 样式
   在 style.css 中已定义 */

/* ============ 详情页布局 ============ */
.detail-section {
  padding: 40px 0 80px;
  background: #f5f6fa;
  min-height: 600px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* 左侧栏 */
.detail-sidebar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 41, 120, 0.08);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.sidebar-title {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #002978 0%, #1a3f8f 100%);
  letter-spacing: 1px;
  border-bottom: 3px solid #b30101;
}

.sidebar-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.sidebar-menu li {
  position: relative;
}

.sidebar-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-bottom: 1px dashed #e6e9f2;
  transition: all 0.25s ease;
  position: relative;
}

.sidebar-menu li:last-child a {
  border-bottom: none;
}

.sidebar-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #b30101;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.sidebar-menu a:hover {
  background: rgba(0, 41, 120, 0.05);
  color: #002978;
}

.sidebar-menu a:hover::before {
  transform: scaleY(0.6);
}

.sidebar-menu a.active {
  background: rgba(0, 41, 120, 0.08);
  color: #002978;
  font-weight: 600;
}

.sidebar-menu a.active::before {
  transform: scaleY(1);
}

.sidebar-menu a.active::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #b30101;
  font-weight: 700;
  font-size: 14px;
}

/* 侧栏咨询卡 */
.sidebar-contact {
  margin: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 41, 120, 0.08) 0%, rgba(179, 1, 1, 0.08) 100%);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(0, 41, 120, 0.1);
}

.sidebar-contact-title {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.sidebar-contact-phone {
  font-size: 22px;
  font-weight: 800;
  color: #b30101;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sidebar-contact-btn {
  display: inline-block;
  padding: 8px 24px;
  background: #002978;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.sidebar-contact-btn:hover {
  background: #b30101;
  color: #fff;
}

/* ============ 详情内容区 ============ */
.detail-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 41, 120, 0.08);
  overflow: hidden;
}

.detail-article {
  padding: 40px 48px;
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e6e9f2;
}

.article-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(179, 1, 1, 0.1);
  color: #b30101;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 30px;
  font-weight: 800;
  color: #002978;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.3;
}

.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002978;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid #b30101;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #002978;
  margin: 24px 0 10px;
}

.article-body p {
  margin: 0 0 14px;
  line-height: 1.9;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.article-body ul li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px dashed #eef0f8;
  font-size: 14.5px;
  line-height: 1.7;
}

.article-body ul li:last-child {
  border-bottom: none;
}

.article-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #002978;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body strong {
  color: #002978;
  font-weight: 600;
}

.article-actions {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #e6e9f2;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .page-header {
    padding: 140px 0 56px;
  }

  .page-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 130px 0 44px;
  }

  .page-title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .page-desc {
    font-size: 14px;
  }

  .page-header-split .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-header-split .page-header-media img {
    max-width: 300px;
  }

  .page-content {
    padding: 44px 0 56px;
  }

  .detail-section {
    padding: 24px 0 48px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-sidebar {
    position: static;
    order: 2;
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }

  .sidebar-menu li {
    width: calc(50% - 4px);
  }

  .sidebar-menu a {
    border-bottom: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .sidebar-menu a::before {
    display: none;
  }

  .sidebar-menu a::after {
    display: none;
  }

  .sidebar-menu a.active {
    background: rgba(0, 41, 120, 0.1);
    color: #002978;
  }

  .sidebar-title {
    padding: 14px 20px;
    font-size: 15px;
  }

  .sidebar-contact {
    margin: 12px;
    padding: 16px;
  }

  .detail-content {
    order: 1;
  }

  .detail-article {
    padding: 24px 20px;
  }

  .article-title {
    font-size: 22px;
  }

  .article-body h3 {
    font-size: 17px;
    margin: 24px 0 10px;
  }

  .article-body ul li {
    padding: 6px 0 6px 18px;
    font-size: 14px;
  }

  .article-actions {
    flex-direction: column;
  }

  .article-actions .btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 24px;
  }

  .sidebar-menu li {
    width: 100%;
  }

  .article-title {
    font-size: 20px;
  }
}

/* ============ 联系我们页面 ============ */
.contact-section {
  padding: 64px 0 88px;
  background: #f5f6fa;
}

.contact-intro {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 41, 120, 0.08);
  padding: 48px;
  margin-bottom: 40px;
}

.contact-intro h3,
.contact-standards h3,
.contact-mission h3 {
  font-size: 22px;
  font-weight: 800;
  color: #002978;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid #b30101;
  letter-spacing: 1px;
}

.contact-intro p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 16px;
}

.contact-intro strong {
  color: #002978;
  font-weight: 600;
}

.contact-standards {
  margin-bottom: 40px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.standard-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 41, 120, 0.08);
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 41, 120, 0.15);
}

.standard-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.standard-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: #002978;
  margin: 0 0 12px;
}

.standard-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.contact-mission {
  background: linear-gradient(135deg, rgba(0, 41, 120, 0.06) 0%, rgba(179, 1, 1, 0.04) 100%);
  border-radius: 10px;
  padding: 40px 48px;
  margin-bottom: 40px;
  border: 1px solid rgba(0, 41, 120, 0.1);
}

.contact-mission p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
}

.contact-mission strong {
  color: #b30101;
  font-weight: 700;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 41, 120, 0.08);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 41, 120, 0.15);
}

.info-card-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.info-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #002978;
  margin: 0 0 10px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

/* ============ 联系我们响应式 ============ */
@media (max-width: 1024px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-intro,
  .contact-mission {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0 56px;
  }

  .contact-intro,
  .contact-mission {
    padding: 24px 20px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
  }

  .contact-intro h3,
  .contact-standards h3,
  .contact-mission h3 {
    font-size: 18px;
  }
}
