/* ==========================================================================
   华新视界 · 企业介绍（/jieshao/）长文排版
   作用域：.hx-ab（仅在 about.html 的 .text-4.hx-rich 内生效）
   站点为深色星空主题（body #000），此处采用「暗底 + 品牌蓝 #1fc2ff」的信息型排版
   ========================================================================== */

.hx-ab {
  --ab-ink: #ffffff;
  --ab-body: #c3d3e1;
  --ab-muted: #7d93a6;
  --ab-brand: #1fc2ff;
  --ab-brand-d: #4fd2ff;
  --ab-line: rgba(255, 255, 255, .10);
  --ab-card: rgba(255, 255, 255, .04);
  --ab-card-h: rgba(31, 194, 255, .07);
  color: var(--ab-body);
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: .2px;
  text-align: left;
}


/* 企业介绍页正文放宽（其他单页保持原 944px）；不支持 :has 的浏览器自动回退 */
.text-4:has(.hx-ab) {
  max-width: 1080px;
}

/* 覆盖 .text-4 的 #a9a9a9 与 36px 固定行高 */
.text-4 .hx-ab { color: var(--ab-body); }

.hx-ab p { margin: 0 0 18px; color: var(--ab-body); line-height: 1.9; }
.hx-ab strong { color: var(--ab-ink); font-weight: 600; }
.hx-ab a { color: var(--ab-brand); }

/* ---------- 导语 ---------- */
.hx-ab-lead {
  position: relative;
  margin: 0 0 36px !important;
  padding: 18px 22px 18px 22px !important;
  font-size: 17px !important;
  line-height: 1.95 !important;
  color: #e8f1f8 !important;
  border-left: 3px solid var(--ab-brand);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, rgba(31, 194, 255, .10), rgba(31, 194, 255, .015) 62%, transparent);
}
.hx-ab-lead strong { color: var(--ab-brand); font-weight: 600; }

/* ---------- 关键数据 ---------- */
.hx-ab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.hx-ab-stats li {
  padding: 20px 14px 18px;
  border: 1px solid rgba(31, 194, 255, .26);
  border-radius: 10px;
  background:
    radial-gradient(300px 150px at 86% -30%, rgba(31, 194, 255, .22), transparent 68%),
    linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.hx-ab-stats li:hover {
  border-color: rgba(31, 194, 255, .55);
  transform: translateY(-2px);
}
.hx-ab-stats b {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ab-brand);
  letter-spacing: .5px;
}
.hx-ab-stats b em {
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  margin-left: 3px;
  color: rgba(255, 255, 255, .62);
}
.hx-ab-stats span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ab-muted);
}

/* ---------- 页内锚点导航 ---------- */
.hx-ab-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 44px;
  padding: 12px 14px;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}
.hx-ab-toc a {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #a8d9ef;
  background: rgba(31, 194, 255, .07);
  border: 1px solid rgba(31, 194, 255, .24);
  border-radius: 999px;
  text-decoration: none;
  transition: all .22s ease;
}
.hx-ab-toc a:hover {
  color: #04131f;
  background: var(--ab-brand);
  border-color: var(--ab-brand);
}

/* ---------- 标题 ---------- */
.hx-ab h2 {
  position: relative;
  margin: 54px 0 20px;
  padding: 0 0 13px 15px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ab-ink);
  letter-spacing: .3px;
  border-bottom: 1px solid var(--ab-line);
}
.hx-ab h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 19px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ab-brand), rgba(31, 194, 255, .25));
  box-shadow: 0 0 12px rgba(31, 194, 255, .5);
}
.hx-ab h2:first-of-type { margin-top: 6px; }
.hx-ab h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ab-ink);
}
.hx-ab h4 {
  margin: 36px 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ab-ink);
}

/* ---------- 工商信息表 ---------- */
.hx-ab-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 26px 0 8px;
  padding: 1px;
  background: var(--ab-line);
  border-radius: 10px;
  overflow: hidden;
}
.hx-ab-facts > div {
  display: flex;
  gap: 14px;
  padding: 13px 18px;
  background: #050b12;
  background: rgba(6, 14, 22, .86);
}
.hx-ab-facts > div.wide { grid-column: 1 / -1; }
.hx-ab-facts dt {
  flex: 0 0 108px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ab-muted);
  font-weight: 400;
}
.hx-ab-facts dd {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #dbe7f1;
  word-break: break-word;
}

/* ---------- 时间轴 ---------- */
.hx-ab-tl {
  position: relative;
  margin: 26px 0 8px;
  padding: 0 0 0 26px;
  list-style: none;
}
.hx-ab-tl::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(31, 194, 255, .85), rgba(31, 194, 255, .10));
}
.hx-ab-tl li {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 0 4px;
}
.hx-ab-tl li:last-child { margin-bottom: 0; }
.hx-ab-tl li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ab-brand);
  box-shadow: 0 0 0 3px rgba(31, 194, 255, .16), 0 0 14px rgba(31, 194, 255, .55);
}
.hx-ab-tl b {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--ab-brand);
}
.hx-ab-tl p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ab-body);
}

/* ---------- 业务体系卡片 ---------- */
.hx-ab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}
.hx-ab-card {
  padding: 22px 22px 20px;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  background: var(--ab-card);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.hx-ab-card:hover {
  border-color: rgba(31, 194, 255, .45);
  background: var(--ab-card-h);
  transform: translateY(-2px);
}
.hx-ab-card h3 {
  position: relative;
  padding-left: 13px;
}
.hx-ab-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--ab-brand);
}
.hx-ab-card p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ab-muted);
}
.hx-ab-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-ab-card li {
  position: relative;
  padding: 4px 0 4px 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ab-body);
}
.hx-ab-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(31, 194, 255, .85);
}

/* ---------- 项目履历表 ---------- */
.hx-ab-tablewrap {
  margin: 24px 0 12px;
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hx-ab-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
  background: rgba(255, 255, 255, .015);
}
.hx-ab-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: var(--ab-brand);
  background: rgba(31, 194, 255, .10);
  border-bottom: 1px solid rgba(31, 194, 255, .22);
  white-space: nowrap;
}
.hx-ab-table td {
  padding: 14px 16px;
  line-height: 1.75;
  color: var(--ab-body);
  border-top: 1px solid var(--ab-line);
  vertical-align: top;
}
.hx-ab-table tbody tr:hover { background: rgba(31, 194, 255, .05); }
.hx-ab-table td:first-child {
  white-space: nowrap;
  color: var(--ab-ink);
  font-weight: 600;
}
.hx-ab-table td span {
  display: block;
  font-size: 12.5px;
  color: var(--ab-muted);
}
.hx-ab-note {
  margin: 10px 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.7 !important;
  color: var(--ab-muted) !important;
}

/* ---------- 客户标签 ---------- */
.hx-ab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hx-ab-tags li {
  padding: 6px 13px;
  font-size: 13px;
  line-height: 1.6;
  color: #c3d3e0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ab-line);
  border-radius: 6px;
}

/* ---------- 资质列表 ---------- */
.hx-ab-list {
  margin: 22px 0 8px;
  padding: 0;
  list-style: none;
}
.hx-ab-list li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 16px 12px 34px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ab-body);
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 8px;
}
.hx-ab-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ab-brand);
  transform: rotate(45deg);
}
.hx-ab-list b {
  display: inline-block;
  margin-right: 8px;
  color: var(--ab-ink);
  font-weight: 600;
}

/* ---------- 交付流程 ---------- */
.hx-ab-steps {
  margin: 22px 0 8px;
  padding: 0;
  list-style: none;
  counter-reset: abstep;
}
.hx-ab-steps li {
  position: relative;
  margin: 0 0 12px;
  padding: 16px 18px 16px 58px;
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-left: 2px solid rgba(31, 194, 255, .6);
  border-radius: 8px;
  counter-increment: abstep;
}
.hx-ab-steps li::before {
  content: counter(abstep, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ab-brand);
  letter-spacing: .5px;
  opacity: .9;
}
.hx-ab-steps b {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--ab-ink);
}
.hx-ab-steps span {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ab-body);
}

/* ---------- 按钮 ---------- */
.hx-ab-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0 !important;
}
.hx-ab-btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #04131f !important;
  background: linear-gradient(135deg, #6fdcff, var(--ab-brand));
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  transition: box-shadow .22s ease, transform .22s ease;
}
.hx-ab-btn:hover {
  box-shadow: 0 8px 26px rgba(31, 194, 255, .38);
  transform: translateY(-1px);
}
.hx-ab-btn.ghost {
  color: var(--ab-brand) !important;
  background: transparent;
  border-color: rgba(31, 194, 255, .45);
}
.hx-ab-btn.ghost:hover { background: rgba(31, 194, 255, .08); }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  .hx-ab { font-size: 15px; }
  .hx-ab-lead { font-size: 16px !important; padding: 16px 16px !important; }
  .hx-ab-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hx-ab-stats b { font-size: 25px; }
  .hx-ab-facts { grid-template-columns: 1fr; }
  .hx-ab-facts > div { padding: 12px 15px; }
  .hx-ab-facts dt { flex-basis: 96px; }
  .hx-ab-grid { grid-template-columns: 1fr; }
  .hx-ab h2 { font-size: 19px; margin-top: 44px; }
}

@media (max-width: 575px) {
  .hx-ab { font-size: 14.5px; line-height: 1.85; }
  .hx-ab-lead { font-size: 15px !important; line-height: 1.85 !important; }
  .hx-ab-stats li { padding: 16px 10px 14px; }
  .hx-ab-stats b { font-size: 22px; }
  .hx-ab-stats b em { font-size: 12px; }
  .hx-ab-stats span { font-size: 11.5px; }
  .hx-ab-toc { gap: 6px; padding: 11px; }
  .hx-ab-toc a { padding: 4px 11px; font-size: 12px; }
  .hx-ab-card { padding: 18px 16px; }
  .hx-ab-facts > div { flex-direction: column; gap: 2px; }
  .hx-ab-facts dt { flex-basis: auto; }
  .hx-ab-list li { padding: 11px 13px 11px 30px; }
  .hx-ab-list li::before { left: 13px; top: 18px; }
  .hx-ab-steps li { padding: 14px 14px 14px 50px; }
  .hx-ab-steps li::before { left: 14px; font-size: 15px; }
  .hx-ab-btn { flex: 1 1 auto; text-align: center; padding: 10px 18px; }
}

/* ---------- 移动端：表格改为卡片堆叠 ---------- */
@media (max-width: 767px) {
  .hx-ab-tablewrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .hx-ab-table {
    display: block;
    min-width: 0;
    background: none;
  }
  .hx-ab-table thead { display: none; }
  .hx-ab-table tbody { display: block; }
  .hx-ab-table tr {
    display: block;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid var(--ab-line);
    border-radius: 10px;
    background: var(--ab-card);
  }
  .hx-ab-table tr:hover { background: var(--ab-card); }
  .hx-ab-table td {
    display: block;
    padding: 0;
    border: 0;
    border-top: 0;
  }
  .hx-ab-table td:first-child {
    margin-bottom: 5px;
    font-size: 12.5px;
    letter-spacing: .5px;
    color: var(--ab-brand);
  }
  .hx-ab-table td:nth-child(2) {
    font-size: 14.5px;
    line-height: 1.7;
    color: #e8f1f8;
  }
  .hx-ab-table td:nth-child(3) {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed rgba(255, 255, 255, .12);
    font-size: 13px;
    color: #9fb3c4;
  }
  .hx-ab-table td:nth-child(3)::before {
    content: "参与内容：";
    color: var(--ab-muted);
  }
}

/* ---------- 移动端：客户标签更紧凑 ---------- */
@media (max-width: 575px) {
  .hx-ab-tags { gap: 6px; }
  .hx-ab-tags li { padding: 5px 10px; font-size: 12px; }
}
