/* ==========================================================================
   道邦企服 (dbbk.cn) - 内页通用样式
   关于 · 资讯 · 详情 · 联系 · 案例等
   ========================================================================== */

/* ---------- 内页 Banner ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue-deep) 60%, var(--blue-glow) 100%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -200px; right: -100px;
  filter: blur(50px);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: var(--blue-glow);
  border-radius: 50%;
  bottom: -160px; left: -100px;
  filter: blur(80px);
  opacity: 0.25;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.page-hero .lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}
.page-hero .breadcrumb {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.page-hero .breadcrumb a,
.page-hero .breadcrumb span { color: rgba(255, 255, 255, 0.8); }
.page-hero .breadcrumb span.current { color: var(--white); }
.page-hero .breadcrumb a:hover { color: var(--white); }

/* ---------- 资讯列表页 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue-mist); }
.news-card .nc-thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .nc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.news-card:hover .nc-thumb img { transform: scale(1.08); }
.news-card .nc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .nc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-mist);
  padding: 4px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
  width: fit-content;
}
.news-card .nc-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.4; transition: color 0.25s var(--ease); }
.news-card:hover .nc-title { color: var(--blue-deep); }
.news-card .nc-excerpt {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card .nc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--muted);
}
.news-card .nc-meta .date { display: flex; align-items: center; gap: 6px; }

/* ---------- 详情页 ---------- */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-head { margin-bottom: 36px; }
.article-head .cat-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-mist);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  margin-bottom: 16px;
}
.article-head h1 { font-size: 32px; line-height: 1.35; margin-bottom: 18px; }
.article-head .meta { display: flex; gap: 24px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.article-head .meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: #33445A;
}
.article-body p { margin-bottom: 20px; }
.article-body h3 { font-size: 20px; margin: 36px 0 16px; padding-left: 14px; border-left: 4px solid var(--blue-deep); }
.article-body ul, .article-body ol { margin: 16px 0; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body img {
  width: 100%;
  border-radius: var(--r);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* ---------- 相关/最新新闻 ---------- */
.related-block {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.related-block h3 {
  font-size: 20px;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--blue-deep);
}
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--ice-blue-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}
.related-item:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-item .ri-thumb {
  flex-shrink: 0;
  width: 110px; height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.related-item .ri-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item .ri-body { flex: 1; min-width: 0; }
.related-item h5 {
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s var(--ease);
}
.related-item:hover h5 { color: var(--blue-deep); }
.related-item span { font-size: 12px; color: var(--muted); }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-img-wrap .about-deco {
  position: absolute;
  width: 120px; height: 120px;
  background: var(--blue-mist);
  border-radius: var(--r);
  z-index: -1;
}
.about-img-wrap .about-deco.d1 { top: -24px; left: -24px; }
.about-img-wrap .about-deco.d2 { bottom: -24px; right: -24px; background: linear-gradient(135deg, var(--blue), var(--blue-glow)); }
.about-text h2 { font-size: 30px; margin-bottom: 18px; }
.about-text p { margin-bottom: 14px; font-size: 15.5px; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-mist); }
.team-card .tc-avatar { aspect-ratio: 1; overflow: hidden; }
.team-card .tc-avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.team-card:hover .tc-avatar img { transform: scale(1.06); }
.team-card .tc-info { padding: 22px 20px; }
.team-card .tc-info h4 { font-size: 16px; margin-bottom: 4px; }
.team-card .tc-info .role { font-size: 13px; color: var(--blue-deep); font-weight: 600; margin-bottom: 10px; }
.team-card .tc-info p { font-size: 13px; color: var(--body); line-height: 1.6; }

/* ---------- 联系我们 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci-box {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--ice-blue-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}
.contact-info .ci-box:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.contact-info .ci-box .ci-ico {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--blue-mist), var(--blue-light));
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .ci-box h5 { font-size: 16px; margin-bottom: 6px; }
.contact-info .ci-box p { font-size: 14px; color: var(--body); }

.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h3 { font-size: 20px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- 案例详情 ---------- */
.case-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
}
.case-hero img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.case-hero .case-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--blue-mist);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  margin-bottom: 14px;
}
.case-hero h2 { font-size: 28px; margin-bottom: 14px; }
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.case-meta .cm-item { padding: 14px; background: var(--ice-blue); border-radius: var(--r-sm); }
.case-meta .cm-item span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 4px; }
.case-meta .cm-item strong { font-size: 15px; color: var(--ink); }

/* ---------- 资质办理表格 ---------- */
.qual-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.qual-table th,
.qual-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.qual-table thead tr { background: linear-gradient(135deg, var(--deep-blue), var(--blue-deep)); }
.qual-table th { color: var(--white); font-weight: 600; font-size: 14px; }
.qual-table tbody tr:hover { background: var(--ice-blue); }
.qual-table tbody tr:last-child td { border-bottom: none; }

/* ---------- 服务详情模块 ---------- */
.svc-section { padding: 60px 0; }
.svc-section.bg-blue { background: linear-gradient(180deg, var(--ice-blue-deep), var(--ice-blue)); }
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.svc-split.reverse { direction: rtl; }
.svc-split.reverse > * { direction: ltr; }
.svc-split img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.svc-text { padding: 8px 0; }
.svc-split h3 { font-size: 26px; margin-bottom: 16px; }
.svc-split p { margin-bottom: 14px; }
.svc-features { list-style: none; margin-top: 20px; }
.svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
}
.svc-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .case-hero { grid-template-columns: 1fr; }
  .svc-split { grid-template-columns: 1fr; gap: 32px; }
  .related-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero h1 { font-size: 28px; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 24px; }
  .related-list { grid-template-columns: 1fr; }
  .qual-table { display: block; overflow-x: auto; }
  .qual-table th, .qual-table td { padding: 12px; }
}
