/* 服务案例详情页样式 - fwalxq.css */
/* 顶部导航 header / CTA / 页脚 footer 为全站公共样式，统一放在 style.css */

/* ==================== 详情首屏 ==================== */
/* 首屏：设计稿 hero 高 560，内容起点 x20；左侧整体绝对定位，右侧设备图 800×425 @(646,131) */
/* 设计稿首屏从 y79 开始（页头 79 高），我方页头含描边为 80 → 上提 1px 对齐 */
.hero {
  position: relative; margin-top: -1px; height: 560px; overflow: hidden;
  background: #eef3fb url('../img/fwalxq/61683888.jpg') 50% 50%/cover no-repeat;
}
.hero-inner { position: relative; height: 100%; padding-top: 0; }
.hero-left { position: absolute; left: 0; top: 0; width: 640px; }

.hero-tags { display: flex; gap: 10px; margin-top: 142px; }
.hero-tags span {
  box-sizing: border-box; width: 80px; height: 30px; line-height: 30px; padding: 0;
  border-radius: 200px; text-align: center;
  font-family: "Source Han Sans", Geneva, sans-serif; font-size: 14px;
}
.hero-tags span:nth-child(1) { background: #fae9e9; color: #e05070; }
.hero-tags span:nth-child(2) { background: #e7f1ff; color: #317af7; }

.hero-title {
  margin-top: 16px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 48px; font-weight: 700; color: #fff; line-height: 72px;
}
.hero-en {
  margin-top: 1px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 24px; color: #fff; line-height: 36px;
}
/* 设计稿 CASE SHOW 下是 60×6 的品牌蓝短线（不是白线） */
.hero-en::after {
  content: ""; display: block; width: 60px; height: 6px; margin-top: 15px;
  background: #317af7; border-radius: 3px;
}

.hero-contact { display: flex; align-items: flex-start; gap: 24px; margin-top: 20px; }
.hero-qr { display: block; width: 118px; height: 116px; }
.hero-phones { padding-top: 9px; }
.hero-phones li { display: flex; align-items: flex-start; gap: 16px; }
.hero-phones li + li { margin-top: 13px; }
.hero-phones img { flex: 0 0 38px; width: 38px; height: 38px; object-fit: contain; }
.hero-phones span {
  margin-top: 8px;
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 24px; font-weight: 700; color: #fff; line-height: 24px;
}

.hero-btns { position: static; display: flex; gap: 25px; margin-top: 28px; }
.hero-btns .btn { width: 145px; height: 48px; padding: 0; border-radius: 6px; font-size: 18px; }
.hero-pic { position: absolute; left: 645px; top: 131px; width: 800px; height: 425px; }
.hero-pic img { width: 100%; height: 100%; object-fit: contain; }

/* ==================== 正文 ==================== */
.detail { padding: 80px 0 23px; background: #f7f8fa; }
.detail-wrap { display: flex; gap: 40px; align-items: flex-start; }
.detail-main { flex: 1 1 auto; min-width: 0; }

/* 整块白卡：设计稿里正文是【一个整体】——1040 宽的单张白卡（radius 10、padding 32），
   四组内容 + 两张配图 + 翻页都在同一张卡里连续排布，中间没有分段间隙 */
.dt-card { background: #fff; border-radius: 10px; padding: 32px 32px 46px; }

/* 小标题 24px #2f3031，行盒 28；下面的浅蓝笔刷细线与标题故意重叠 10px（设计稿 title top32 h28 / line top50 h22） */
.dt-title {
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 24px; font-weight: 700; line-height: 28px; color: #2f3031;
}
.dt-line {
  display: block; width: 100px; height: 22px; margin-top: -10px;
  object-fit: contain; object-position: left center;
}
/* 设计稿正文组件宽 980（比白卡内容区 976 宽 4px），换行点依赖这个宽度 */
.dt-text { margin-top: 27px; margin-right: -4px; }
/* 设计稿的正文没有指定 font-family（继承浏览器默认），这里也不指定，
   否则字体变宽会让换行点前移、整段多出一行 */
.dt-text p { font-size: 16px; color: #636e80; line-height: 2; }
/* 段间距：设计稿只在有空段落处产生间距（12px），同一小标题下的正文段之间紧邻 */
.dt-text .dt-gap { margin-top: 12px; }
.dt-text strong { font-weight: 700; }
/* 正文里的蓝色强调（设计稿用 #317af7 加粗） */
.dt-text .em { color: #317af7; }

.dt-figure { margin-top: 28px; border-radius: 10px; overflow: hidden; }
.dt-figure img { width: 100%; display: block; }
/* 设计稿里块与图之间、图与块之间的间距逐处不同，按实测分别设定 */
.dt-figure:nth-of-type(1) { margin-top: 33px; }
.dt-block + .dt-block { margin-top: 32px; }
.dt-figure + .dt-block { margin-top: 50px; }
.dt-figure:nth-of-type(2) + .dt-block { margin-top: 39px; }

/* 翻页：设计稿是上下两行（各 16px #636e80、行高 24），不是左右并排 */
.dt-nav { display: flex; flex-direction: column; margin-top: 63px; }
.dt-nav-item {
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 16px; color: #636e80; line-height: 24px;
}
.dt-nav-item:hover { color: #317af7; }

/* ==================== 侧栏 ==================== */
.detail-side { flex: 0 0 320px; }
.side-card {
  background: #fff; border-radius: 10px; padding: 22px;
  box-shadow: 0 0 12px rgba(238, 238, 238, .9);
}
.side-card + .side-card { margin-top: 20px; }
.side-promo { padding: 16px; }
.side-promo-img { width: 100%; border-radius: 5px; display: block; }
.side-btn { width: 100%; height: 48px; border-radius: 8px; margin-top: 16px; font-size: 18px; }
.side-title {
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 20px; font-weight: 700; color: #1d2129;
  padding-bottom: 12px; border-bottom: 1px solid #eef1f6;
}
.side-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.side-tags li {
  padding: 7px 14px; border-radius: 6px; background: #f2f6fd;
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 14px; color: #636e80; cursor: pointer;
}
.side-tags li:hover { background: #e6efff; color: #317af7; }
.side-news { margin-top: 6px; }
.side-news li { padding: 14px 0; border-bottom: 1px dashed #eef1f6; }
.side-news li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-news a {
  display: block;
  font-family: "Source Han Sans", Geneva, sans-serif;
  font-size: 15px; color: #4a5568; line-height: 1.5;
}
.side-news a:hover { color: #317af7; }
.side-news span {
  display: block; margin-top: 6px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 13px; color: #a5a5a5;
}

/* ==================== 更多案例 ==================== */

/* ==================== 响应式适配 ==================== */
@media (max-width: 1399px) {
  .hero { height: auto; overflow: visible; padding: 60px 0; background-position: 62% 50%; }
  .hero-inner { display: flex; align-items: center; gap: 40px; height: auto; }
  .hero-left { position: static; width: auto; flex: 1 1 50%; }
  .hero-tags { margin-top: 0; }
  .hero-title { margin-top: 18px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.3; }
  .hero-en { font-size: 20px; line-height: 1.6; }
  .hero-contact { margin-top: 24px; }
  .hero-phones { padding-top: 0; }
  .hero-phones li { align-items: center; }
  .hero-phones span { margin-top: 0; font-size: 20px; line-height: 1.5; }
  .hero-btns { margin-top: 28px; }
  .hero-pic { position: static; width: auto; height: auto; flex: 1 1 50%; text-align: right; }
  .hero-pic img { width: 100%; max-width: 480px; height: auto; }

  .detail-side { flex: 0 0 280px; }
  .dt-card { padding: 26px 28px 34px; }
  .dt-title { font-size: 23px; }
  .dt-text p { font-size: 15px; }
}

@media (max-width: 1199px) {
  .hero-inner { gap: 24px; }
  .hero-pic img { max-width: 380px; }
  .hero-title { font-size: 34px; }
  .detail-wrap { gap: 20px; }
  .detail-side { flex: 0 0 250px; }
}

@media (max-width: 991px) {
  /* 原来这里给深色首屏叠了 92% 白的渐变，白字直接看不见 —— 去掉，保持深色首屏 */
  .hero { padding: 48px 0 52px; background-position: 68% 50%; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-pic { width: 100%; text-align: center; }
  .hero-pic img { max-width: 420px; }

  .detail-wrap { flex-direction: column; }
  .detail-side { flex: none; width: 100%; }
  .side-card + .side-card { margin-top: 16px; }
  .side-promo { display: flex; align-items: center; gap: 20px; }
  .side-promo-img { width: 260px; }
  .side-btn { width: 220px; margin-top: 0; }
}

@media (max-width: 767px) {
  .hero { padding: 36px 0 40px; }
  .hero-title { font-size: 26px; }
  .hero-en { font-size: 15px; }
  .hero-en::after { width: 48px; height: 5px; margin-top: 10px; }
  .hero-contact { gap: 14px; margin-top: 18px; }
  .hero-qr { width: 84px; height: auto; }
  .hero-phones img { flex: 0 0 24px; width: 24px; height: 24px; }
  .hero-phones span { font-size: 14px; }
  .hero-btns { margin-top: 20px; gap: 12px; }
  .hero-btns .btn { width: auto; height: 42px; font-size: 15px; flex: 1 1 0; }
  .hero-pic img { max-width: 280px; }

  .detail { padding: 32px 0 40px; }
  .dt-card { padding: 20px 18px 26px; }
  .dt-title { font-size: 19px; }
  .dt-text { margin-top: 14px; }
  .dt-text p { font-size: 14px; line-height: 1.8; }
  .dt-text .dt-gap { margin-top: 9px; }
  .dt-figure, .dt-figure:nth-of-type(1) { margin-top: 20px; }
  .dt-block, .dt-figure + .dt-block, .dt-figure:nth-of-type(2) + .dt-block { margin-top: 22px; }
  .dt-line { margin-top: -6px; }
  .dt-nav { margin-top: 26px; }
  .dt-nav-item { font-size: 14px; }

  .side-promo { flex-direction: column; align-items: stretch; }
  .side-promo-img { width: 100%; }
  .side-btn { width: 100%; margin-top: 14px; height: 44px; font-size: 16px; }
  .side-card { padding: 18px; }
  .side-title { font-size: 17px; }
  .side-news a { font-size: 14px; }

}

@media (max-width: 479px) {
  .side-tags li { font-size: 13px; padding: 6px 12px; }
}

/* ==================== 更多案例 ==================== */
   （已抽为公共组件：style.css 的 .more / .case-* —— 与新闻详情页同源，
     两页设计稿 ref_full 互 diff 平均 0.0000；本页不要再写任何 .more/.case-* 规则，
     残留会把公共定义静默压掉） */
