/* ============================================================
   首页定制样式 v3 (2026-11-17)
   品牌蓝 Hero + bento 交错 + 信任融合条 + 关于航线图 + 最新文章
   ============================================================ */

/* ---------- 1. Hero：纯品牌蓝 ---------- */
.home-hero{
  background-color:#004098 !important;
  background-image:linear-gradient(120deg,#0a58bd 0%,#004098 48%,#002f6e 100%) !important;
  padding:104px 0 92px !important; overflow:hidden;
}
.home-hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(circle at 82% 24%,rgba(120,180,255,.20) 0,transparent 38%),
             radial-gradient(circle at 12% 88%,rgba(10,70,160,.35) 0,transparent 46%);
}
.home-hero .ind-wrap{ position:relative; z-index:2; }
.home-hero h1{
  font-size:52px; font-weight:800; letter-spacing:.5px; line-height:1.2;
  color:#fff; margin:6px 0 22px; text-shadow:0 2px 18px rgba(0,20,60,.28);
}
.home-hero .ind-cta-kicker{
  display:inline-block; font-size:13px; font-weight:800; letter-spacing:2px;
  color:#fff; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28);
  padding:8px 20px; border-radius:30px; margin-bottom:22px;
}
.home-hero-lead{ font-size:18px; line-height:1.85; color:#e2edff; max-width:760px; margin:0 auto 34px; }
.home-hero-actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:center; }
.home-hero .ind-btn{ font-size:16px; padding:15px 34px; }
.home-hero .ind-btn-ghost{
  display:inline-block; padding:15px 30px; font-size:16px; font-weight:700;
  color:#fff; text-decoration:none; border:1.5px solid rgba(255,255,255,.6);
  border-radius:8px; transition:.2s;
}
.home-hero .ind-btn-ghost:hover{ background:rgba(255,255,255,.14); border-color:#fff; }

/* ---------- 2. 数字+认证融合条 ---------- */
.home-trustbar{ background:#fff; border-bottom:1px solid #e6ecf5; padding:30px 0; }
.home-trustbar-inner{ display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.home-trust-stats{ display:flex; flex:1 1 600px; gap:0; }
.home-trust-stat{ flex:1; text-align:center; border-right:1px solid #eef1f6; }
.home-trust-stat:last-child{ border-right:0; }
.home-trust-stat b{ display:block; font-size:34px; color:#e2231a; font-weight:800; line-height:1.1; }
.home-trust-stat span{ display:block; font-size:13px; color:#7b8ca5; margin-top:5px; }
.home-trust-certs{
  flex:0 0 auto; display:flex; align-items:center; gap:20px;
  padding-left:32px; border-left:1px solid #eef1f6;
}
.home-trust-certs-label{ font-size:12px; font-weight:800; color:#9aa8bb; letter-spacing:1px; }
.home-trust-certs img{ height:32px; width:auto; object-fit:contain; filter:grayscale(.15); }

/* ---------- 3. 服务 bento 交错布局（12列：1大+2小+底部4卡） ---------- */
.home-services-bento{
  display:grid; grid-template-columns:repeat(12,1fr);
  grid-auto-rows:minmax(180px,auto); gap:18px;
}
/* 大卡：占左半区跨6列×2行 */
.bento-card.bento-lg{ grid-column:span 6; grid-row:span 2; }
/* 第2、3张：占右半区上下各6列 */
.bento-card:nth-child(2), .bento-card:nth-child(3){ grid-column:span 6; }
/* 底部4张标准卡：各占3列，一排铺满 */
.bento-card:nth-child(4),
.bento-card:nth-child(5),
.bento-card:nth-child(6),
.bento-card:nth-child(7){ grid-column:span 3; }
.bento-card{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid #e6ecf5; border-radius:15px;
  padding:28px 26px; box-shadow:0 4px 18px rgba(0,40,98,.05);
  transition:transform .25s, box-shadow .25s, border-color .25s;
  display:flex; flex-direction:column;
}
.bento-card:hover{ transform:translateY(-5px); box-shadow:0 14px 34px rgba(0,64,152,.14); border-color:#bcd3f0; }
.bento-card.bento-lg{
  background:linear-gradient(150deg,#0a58bd 0%,#004098 55%,#002f6e 100%);
  border-color:transparent; color:#fff; padding:38px 36px; justify-content:flex-end;
}
.bento-card.bento-lg::after{
  content:""; position:absolute; right:-40px; top:-40px; width:220px; height:220px;
  border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%);
}
.bento-ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:13px;
  background:#eef3fb; color:#004098; margin-bottom:18px; flex:0 0 auto;
}
.bento-ico svg{ width:27px; height:27px; display:block; }
.bento-lg .bento-ico{ background:rgba(255,255,255,.16); color:#fff; width:60px; height:60px; }
.bento-lg .bento-ico svg{ width:32px; height:32px; }
.bento-card h3{ font-size:19px; font-weight:800; color:#1a2b4a; margin:0 0 10px; }
.bento-lg h3{ font-size:27px; color:#fff; }
.bento-card p{ font-size:14px; line-height:1.75; color:#66788f; margin:0 0 18px; flex:1 1 auto; }
.bento-lg p{ color:#dce9ff; font-size:15.5px; }
.bento-card .ind-rel-link{ color:#004098; font-weight:700; text-decoration:none; font-size:14px; }
.bento-lg .ind-rel-link{ color:#ffd9d4; }
.bento-card .ind-rel-link:hover{ text-decoration:underline; }

/* 更多服务横条（每个link内嵌小图标） */
.home-more-services{
  margin-top:18px; background:#f6f9fe; border:1px solid #e6ecf5; border-radius:13px;
  padding:18px 24px; display:flex; flex-wrap:wrap; gap:12px 14px; align-items:center;
}
.home-more-label{ font-weight:800; color:#1a2b4a; font-size:14px; margin-right:6px; }
.home-more-link{
  display:inline-flex; align-items:center; gap:9px; font-size:13.5px; font-weight:700;
  color:#45596f; text-decoration:none; padding:7px 14px 7px 8px;
  background:#fff; border:1px solid #e3ebf6; border-radius:30px; transition:.2s;
}
.home-more-link:hover{ color:#004098; border-color:#004098; transform:translateY(-2px); }
.home-more-link .bento-ico{
  width:30px; height:30px; margin:0; border-radius:9px; background:#eef3fb;
}
.home-more-link .bento-ico svg{ width:17px; height:17px; }

/* ---------- 4. 服务行业：紧凑错落网格 ---------- */
.home-industries{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.home-ind-card{
  background:#fff; border:1px solid #e6ecf5; border-radius:13px; padding:24px;
  transition:.2s; display:flex; flex-direction:column;
}
.home-ind-card:hover{ border-color:#004098; box-shadow:0 8px 22px rgba(0,64,152,.1); transform:translateY(-3px); }
.home-ind-card .bento-ico{ width:46px; height:46px; border-radius:11px; }
.home-ind-card .bento-ico svg{ width:24px; height:24px; }
.home-ind-card h3{ font-size:17px; color:#1a2b4a; margin:0 0 8px; font-weight:800; }
.home-ind-card p{ font-size:13.5px; color:#7b8ca5; margin:0 0 14px; line-height:1.7; flex:1; }
.home-ind-card .ind-rel-link{ color:#004098; font-weight:700; font-size:13.5px; text-decoration:none; }

/* ---------- 5. 关于佰越：品牌蓝 + 航线图 ---------- */
.home-about{
  background:linear-gradient(125deg,#00357a 0%,#004098 52%,#0a58bd 100%) !important;
  color:#fff; padding:64px 0;
}
.ind-section.home-about .home-about-copy h2.ind-title{ color:#fff !important; text-align:left !important; }
.ind-section.home-about .home-about-copy p.ind-sub{ color:#cfe2ff !important; text-align:left !important; max-width:none !important; margin-left:0 !important; }
.home-about-inner{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.ind-section.home-about .home-about-copy p:not(.ind-sub){ color:#dce9ff; font-size:15px; line-height:1.9; margin:0 0 24px; text-align:left; }
.home-about-copy .ind-rel-link{ color:#ffd9d4; font-weight:700; text-decoration:none; }
.home-about-visual{
  margin:0; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
  border-radius:16px; padding:26px; text-align:center;
}
.home-about-visual svg{ width:100%; height:auto; display:block; }
.home-about-visual figcaption{
  margin-top:14px; font-size:11px; letter-spacing:2px; color:#a9c9f5; font-weight:700;
}

/* ---------- 6. 最新文章卡片 ---------- */
.home-latest-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.home-post{
  background:#fff; border:1px solid #e6ecf5; border-radius:13px; overflow:hidden;
  text-decoration:none; transition:.25s; display:flex; flex-direction:column;
}
.home-post:hover{ transform:translateY(-5px); box-shadow:0 14px 34px rgba(0,40,98,.13); border-color:#bcd3f0; }
.home-post-thumb{ height:170px; background:#eef3fb center/cover no-repeat; overflow:hidden; }
.home-post-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s; }
.home-post:hover .home-post-thumb img{ transform:scale(1.05); }
.home-post-body{ padding:20px 22px; display:flex; flex-direction:column; flex:1; }
.home-post-cat{
  display:inline-block; align-self:flex-start; font-size:11px; font-weight:800; letter-spacing:.5px;
  color:#004098; background:#eef3fb; padding:4px 10px; border-radius:20px; margin-bottom:12px;
}
.home-post-title{ font-size:16px; font-weight:800; color:#1a2b4a; line-height:1.5; margin:0 0 12px; }
.home-post-date{ font-size:12px; color:#9aa8bb; margin-top:auto; }

/* ---------- 6.5 最新资讯 section ---------- */
.home-latest{ background:#f6f9fe; padding:64px 0 72px; }
.ind-section.home-latest h2.ind-title{
  font-size:32px; font-weight:800; color:#004098;
  text-align:center; margin:0 0 12px;
}
.ind-section.home-latest p.ind-sub{
  color:#5a6b82; font-size:16px; text-align:center;
  max-width:720px; margin:0 auto 34px;
}

/* ---------- 6.8 服务流程：4字步骤标题加粗强调 ---------- */
.ind-step-flow .ind-step h4{
  font-weight:800 !important; font-size:17px !important;
  color:#1a2b4a !important; letter-spacing:.3px;
}

/* ---------- 7. WHY 8项优势网格 + 图标 ---------- */
.ind-why.eight{ grid-template-columns:repeat(4,1fr); }
/* 禁用主题旧的伪元素图标，改用内联SVG */
.ind-why.eight .ind-why-item::before{ display:none !important; content:none !important; }
.ind-why.eight .ind-why-item{ padding-top:28px; }
.why-ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:50px; height:50px; border-radius:13px;
  background:linear-gradient(135deg,#eef3fb,#e3edfa); color:#004098;
  margin-bottom:16px;
}
.why-ico svg{ width:25px; height:25px; display:block; }
.ind-why.eight .ind-why-item h3{ color:#1a2b4a; }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .home-services-bento{ grid-template-columns:repeat(2,1fr); }
  .bento-card.bento-lg,
  .bento-card:nth-child(n){ grid-column:span 2; grid-row:span 1; }
  .home-hero h1{ font-size:42px; }
  .home-about-inner{ gap:32px; }
}
@media (max-width:760px){
  .home-trustbar{ padding:22px 0; }
  .home-trustbar-inner{ flex-direction:column; gap:18px; }
  .home-trust-certs{ border-left:0; border-top:1px solid #eef1f6; padding-left:0; padding-top:18px; }
  /* 关键：column 方向下必须重置flex-basis，否则桌面600px宽度basis变成600px高度，撑出大片空白 */
  .home-trust-stats{ flex:0 0 auto; width:100%; flex-wrap:wrap; }
  .home-trust-stat{ flex:1 1 45%; margin-bottom:12px; }
  .home-services-bento{ grid-template-columns:1fr; }
  .bento-card.bento-lg,.bento-card:nth-child(n){ grid-column:span 1; }
  .home-industries,.home-latest-cards{ grid-template-columns:1fr; }
  .home-about-inner{ grid-template-columns:1fr; }
  .ind-why.eight{ grid-template-columns:repeat(2,1fr); }
  .home-hero h1{ font-size:32px; }
  .home-hero-lead{ font-size:16px; }
}
@media (max-width:480px){ .ind-why.eight{ grid-template-columns:1fr; } }

/* ---------- 8. 消除 CTA 与 Footer 之间约30px白空白 ---------- */
/* 白带来自 </main> 后主题注入的组件容器，让 footer 上移贴合 CTA */
.ind-landing ~ #colophon.baiyue-footer-2026,
.ind-landing + #colophon.baiyue-footer-2026,
#colophon.baiyue-footer-2026{
  margin-top:-30px !important;
}
/* 上移后补足顶部内边距，保持footer内容垂直位置不变 */
#colophon.baiyue-footer-2026{ padding-top:30px !important; }
