/* v2.5 首页检测服务重排：产品 4x2 + 用途 2x5 */

.home-services-stack{max-width:1360px;margin:0 auto}
.home-service-tabs{max-width:920px;margin:0 auto 46px;gap:18px}
.home-service-tab{min-height:76px;font-size:22px;border-radius:20px}

.home-service-block{scroll-margin-top:150px}
.home-service-block + .home-service-block{margin-top:74px;padding-top:62px;border-top:1px solid #e2eaf2}
.home-service-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}
.home-service-block-head h3{font-size:32px;line-height:1.2;margin-top:6px;color:#0f1623}
.home-service-block-head p{font-size:16px;line-height:1.75;color:#244867;max-width:580px;text-align:right}

.home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-product-card{display:flex;flex-direction:column;min-height:390px;background:#fff;border:1px solid #d8e4ef;border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;transition:.22s ease}
.home-product-card:hover{transform:translateY(-3px);border-color:#8ab6ec;box-shadow:0 12px 30px rgba(15,61,114,.08)}
.home-product-card>img,.home-product-placeholder{width:100%;height:168px;object-fit:cover;background:#eef5fb}
.home-product-placeholder{display:flex;align-items:center;justify-content:center;padding:18px;text-align:center;font-size:18px;font-weight:800;color:#173a56;background:linear-gradient(145deg,#eaf3ff,#eefbf7)}
.home-product-body{padding:20px;display:flex;flex-direction:column;flex:1}
.home-product-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.home-product-emoji{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eef6ff;font-size:23px}
.home-product-num{font-size:13px;font-weight:800;color:#cbd5e1;letter-spacing:.08em}
.home-product-title{font-size:19px;line-height:1.4;font-weight:800;color:#0f1623;margin-bottom:12px}
.home-product-tags{display:flex;flex-wrap:wrap;gap:8px}
.home-product-tags span{font-size:12.5px;line-height:1.35;padding:5px 9px;border:1px solid #d5e2ed;border-radius:999px;color:#111827;background:#fff;font-weight:650}
.home-product-link{margin-top:auto;padding-top:18px;color:#0b5ed7;font-size:14px;font-weight:800}

.home-find-card{background:#f7fbff;border-style:dashed}
.home-find-card .home-product-placeholder{height:168px;background:#edf6ff;font-size:48px;color:#0b5ed7}
.home-find-card p{font-size:14px;line-height:1.75;color:#244867;margin:2px 0 8px}
.home-find-actions{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:12px}
.home-find-actions a{font-size:14px;font-weight:800;color:#0b5ed7;text-decoration:none}
.home-find-actions a:last-child{color:#315a7a}

.home-purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-purpose-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:18px;align-items:start;min-height:230px;padding:24px;border:1px solid #d6e4f1;border-radius:18px;background:#f8fbff;text-decoration:none;color:inherit;transition:.22s ease}
.home-purpose-card:hover{transform:translateY(-2px);border-color:#7baee8;background:#fff;box-shadow:0 10px 24px rgba(15,61,114,.06)}
.home-purpose-icon{width:50px;height:50px;border-radius:13px;background:#eaf3ff;display:flex;align-items:center;justify-content:center;font-size:23px}
.home-purpose-body{display:flex;flex-direction:column;min-height:180px}
.home-purpose-meta{display:flex;justify-content:flex-end;min-height:18px}
.home-purpose-num{font-size:13px;font-weight:800;color:#cbd5e1;letter-spacing:.08em}
.home-purpose-title{font-size:19px;line-height:1.45;font-weight:800;color:#0f1623;margin:0 0 10px}
.home-purpose-tags{display:flex;flex-wrap:wrap;gap:8px}
.home-purpose-tags span{font-size:12.5px;line-height:1.35;padding:5px 9px;border:1px solid #d5e2ed;border-radius:999px;color:#111827;background:#fff;font-weight:650}
.home-purpose-desc{font-size:14px;line-height:1.72;color:#244867;margin-top:12px}
.home-purpose-link{margin-top:auto;padding-top:14px;color:#0b5ed7;font-size:14px;font-weight:800}

.home-services-footer{display:flex;justify-content:center;margin-top:36px}
.home-services-footer a{text-decoration:none}

@media(max-width:1150px){
  .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:780px){
  .home-service-block-head{display:block}
  .home-service-block-head p{text-align:left;margin-top:8px}
  .home-product-grid,.home-purpose-grid{grid-template-columns:1fr}
  .home-product-card{min-height:0}
  .home-purpose-card{grid-template-columns:50px minmax(0,1fr);padding:20px;min-height:0}
  .home-purpose-body{min-height:0}
  .home-service-block + .home-service-block{margin-top:48px;padding-top:44px}
}
