/* ============================================================
   唐鼎信息官网 · 页面层
   首屏 / 愿景带 / CTA / 痛点-方案-价值三联 / 架构图 / 生态 /
   案例详情 / 联系页 / AI 场景地图
   ============================================================ */

/* ---------- 首页首屏：左右分栏，左文右实拍 ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink-900); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: stretch; min-height: 100vh;
}
.hero-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 90px 0;
  max-width: 640px; margin-left: max(calc((100vw - var(--wrap)) / 2), var(--pad));
  padding-right: 56px;
}
.hero-eyebrow {
  font-size: 12.5px; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.5);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px); line-height: 1.24; color: #fff;
  text-wrap: balance; letter-spacing: -0.015em;
}
.hero h1 em { font-style: normal; color: #ff5468; }
.hero-lead {
  margin-top: 24px; font-size: 17.5px; line-height: 1.8;
  color: rgba(255, 255, 255, 0.76); max-width: 46ch;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--r-xs);
  padding: 6px 14px; font-size: 13.5px; color: rgba(255, 255, 255, 0.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 首屏信任锚：可核验的数字，不做滚动计数 */
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 38px; margin-top: 52px;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-facts div b {
  display: block; font-size: 30px; font-weight: 800; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-facts div b small { font-size: 0.5em; font-weight: 700; margin-left: 2px; }
.hero-facts div span { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink-900) 0%, rgba(13, 14, 26, 0.34) 34%, rgba(13, 14, 26, 0.06) 100%);
}

/* ---------- 愿景带 ---------- */
.vision-band {
  position: relative; overflow: hidden;
  background: var(--ink-800); color: #fff; padding: 92px 0;
}
.vision-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.vision-band .container { position: relative; }
.vision-band h2 { font-size: clamp(24px, 3vw, 36px); color: #fff; text-wrap: balance; max-width: 24em; }
.vision-band p { margin-top: 16px; color: rgba(255, 255, 255, 0.66); font-size: 17px; }
.vision-band .sec-rule { margin-top: 26px; }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--ink-900); color: #fff; padding: 76px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, 0.62); margin-top: 10px; max-width: 56ch; }

/* ---------- 业务方向（首页三入口）---------- */
.biz-list { display: grid; gap: 2px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.biz-item {
  display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 28px;
  background: #fff; padding: 32px 34px;
  transition: background 0.3s var(--ease);
}
.biz-item:hover { background: var(--paper-2); }
.biz-item .biz-num {
  font-size: 15px; font-weight: 800; letter-spacing: 0.12em; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.biz-item h3 { font-size: 20px; margin-bottom: 6px; }
.biz-item p { color: var(--text-2); font-size: 14.5px; max-width: 60ch; }
.biz-arrow { color: var(--red); font-size: 20px; transition: transform 0.3s var(--ease); }
.biz-item:hover .biz-arrow { transform: translateX(6px); }

/* ---------- 痛点 · 方案 · 价值 三联 ---------- */
.tri { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: start; }
.tri-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.tri-head {
  padding: 15px 24px; font-weight: 700; font-size: 15.5px;
  background: var(--paper-3); color: var(--ink-800);
}
.tri-mid .tri-head { background: var(--ink-800); color: #fff; }
.tri-item { padding: 20px 24px; border-top: 1px solid var(--line); }
.tri-item:first-of-type { border-top: none; }
.tri-item h4 { font-size: 16px; margin-bottom: 5px; }
.tri-item p { color: var(--text-2); font-size: 13.5px; }
/* 方案价值栏的三层级：小标签 + 大字结论 + 说明（还原 PPT 的视觉手法） */
/* 用 --text-2 而非 --text-3：#8b90a0 压白底只有 3.18:1，12.5px 正文需 4.5:1 */
.tri-label { display: block; font-size: 12.5px; letter-spacing: 0.1em; color: var(--text-2); }
.tri-big {
  display: block; font-size: 19px; font-weight: 800; color: var(--red);
  line-height: 1.35; margin: 6px 0 6px;
}
.tri-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* ---------- 四层能力架构 ---------- */
.arch { display: flex; flex-direction: column; gap: 10px; }
.arch-row { display: grid; grid-template-columns: 210px 1fr; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-1); }
.arch-label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px 16px; color: #fff; font-weight: 700; font-size: 15.5px;
}
.arch-l1 { background: var(--red); }
.arch-l2 { background: var(--ink-700); }
.arch-l3 { background: var(--slate); }
.arch-l4 { background: #656b80; }   /* 原 #7b829a 配白字只有 3.82:1 */
/* 普通流布局：内容里混着 <b> 与文本节点，用 flex 会把每段文字拆成独立 flex item */
.arch-body { background: #fff; padding: 24px 30px; font-size: 14.5px; color: var(--text-2); }
.arch-body b { color: var(--ink-800); }

/* ---------- 生态双栏 ---------- */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.eco-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 34px; }
.eco-col h3 { font-size: 18px; margin-bottom: 14px; }
.eco-col p { color: var(--text-2); font-size: 14.5px; margin-top: 14px; }

/* ---------- 产品矩阵（带说明，不是光秃秃的标签）---------- */
.matrix { display: grid; gap: 0; border-top: 1px solid var(--line); }
.matrix-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.matrix-item b { font-size: 16px; color: var(--ink-800); }
.matrix-item p { color: var(--text-2); font-size: 14.5px; }

/* ---------- AI 场景地图 ---------- */
.ai-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.16); border-radius: var(--r-sm); overflow: hidden; }
.ai-col { background: var(--ink-800); padding: 26px 22px; }
.ai-col h4 { font-size: 16px; color: #ff5468; margin-bottom: 14px; }
.ai-col li { position: relative; padding: 5px 0 5px 15px; font-size: 14px; color: rgba(255, 255, 255, 0.76); }
.ai-col li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 6px; height: 1px; background: rgba(255, 255, 255, 0.5);
}

/* ---------- 案例详情 ---------- */
.case-detail { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 52px; align-items: start; }
.case-detail.reverse .case-media { order: 2; }
.case-media img { border-radius: var(--r-md); box-shadow: var(--sh-2); width: 100%; }
.case-body h2 { font-size: clamp(21px, 2.3vw, 27px); margin-bottom: 14px; text-wrap: balance; }
.case-intro { color: var(--text-2); font-size: 15px; margin-bottom: 26px; }
.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.case-cols h4 {
  font-size: 14px; letter-spacing: 0.08em; color: var(--text-2);
  text-transform: uppercase; margin-bottom: 12px; font-weight: 700;
}
.case-value { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case-value span {
  background: var(--red-soft); color: var(--red); font-size: 13.5px;
  font-weight: 600; padding: 8px 16px; border-radius: var(--r-xs);
}
.case-fact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 26px 0; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.case-fact b { display: block; font-size: 22px; font-weight: 800; color: var(--ink-800); font-variant-numeric: tabular-nums; }
.case-fact span { font-size: 13px; color: var(--text-2); }

/* ---------- 案例卡（列表页）---------- */
.case-card { display: block; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff;
             transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.case-card:hover { box-shadow: var(--sh-2); border-color: #cfd4e2; }
.case-card-img { overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-3); }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case-card:hover .case-card-img img { transform: scale(1.04); }
.case-card-body { padding: 24px 26px 26px; }
.case-card-body .eyebrow { font-size: 12px; letter-spacing: 0.16em; color: var(--red); font-weight: 700; }
.case-card-body h3 { font-size: 19px; margin: 8px 0 8px; }
.case-card-body p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-logo { height: 42px; width: auto; margin-bottom: 24px; }
.contact-info h2 { font-size: 23px; margin-bottom: 14px; }
.contact-slogan { color: var(--text-2); font-size: 15px; margin-bottom: 30px; }
.contact-list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.contact-list b { font-size: 14px; color: var(--text-2); font-weight: 600; }
.contact-list span { font-size: 16px; }
.contact-list a { color: var(--red); }
.contact-list a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.contact-list .contact-wechat { align-items: start; }
.wechat-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 200px; }
.wechat-qr { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.wechat-copy { display: flex; justify-content: center; width: 100%; }
.wechat-btn { white-space: normal; }
.contact-form-wrap { background: var(--paper-2); border-radius: var(--r-md); padding: 40px; }

/* ---------- 合作客户 Logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.logo-item {
  min-height: 140px; display: flex; align-items: center; justify-content: center;
  padding: 28px 36px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.logo-item img { display: block; max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.logo-item-dark { background: var(--ink-800); border-color: var(--ink-800); }
.logo-item-dark img { max-height: 40px; }

/* ---------- 行业条 ---------- */
.industry-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.industry-row div { background: #fff; padding: 22px 16px; text-align: center; font-weight: 700; color: var(--ink-800); font-size: 15px; }

/* ---------- 流程条 ---------- */
.flow-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px;
  margin-top: 36px; padding: 22px 34px; background: var(--paper-2); border-radius: var(--r-sm);
}
.flow-bar span { font-weight: 700; color: var(--ink-800); font-size: 15.5px; }
.flow-bar i { color: var(--red); font-style: normal; font-weight: 700; }

/* ---------- 404 ---------- */
.err-code { font-size: clamp(72px, 12vw, 140px); font-weight: 800; line-height: 1; color: var(--red); }
