@charset "utf-8";
/* ==========================================================
   首页主体改版样式 v2  —— 仅 index.html 引用
   风格参考 wxdtc.com（科技蓝卡片式），不影响任何内页
   ========================================================== */

/* ---------- 通用 ---------- */
.hp-wrap { width: 1400px; margin: 0 auto; }
.hp-sec { padding: 60px 0 70px; overflow: hidden; }
.hp-hd { text-align: center; margin-bottom: 42px; }
.hp-hd h2 { font-size: 32px; line-height: 1.3; color: #222; font-weight: 700; letter-spacing: 2px; }
.hp-hd .hp-en { display: inline-block; position: relative; margin-top: 10px; padding: 0 46px; font-size: 13px; color: #0191d3; letter-spacing: 3px; text-transform: uppercase; }
.hp-hd .hp-en::before, .hp-hd .hp-en::after { content: ''; position: absolute; top: 50%; width: 34px; height: 2px; }
.hp-hd .hp-en::before { left: 0; background: #e70000; }
.hp-hd .hp-en::after { right: 0; background: #0052c2; }

/* ---------- 1. 产品解决方案 ---------- */
.hp-products { background: #f2f5f8; }
.hp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hp-tabs a { display: block; padding: 9px 22px; border-radius: 30px; background: #fff; color: #555; font-size: 15px; transition: .2s; }
.hp-tabs a:hover { background: #0191d3; color: #fff; }
.hp-tabs .hp-tab-all { background: #0191d3; color: #fff; }
.hp-p-swiper { padding: 4px 0 34px; }
.hp-pcard { background: #fff; border: 1px solid #e6ebf0; transition: .25s; }
.hp-pcard:hover { box-shadow: 0 10px 28px rgba(1, 120, 190, .16); transform: translateY(-4px); }
.hp-pcard .hp-pimg { display: block; height: 220px; overflow: hidden; background: #fff;padding: 10px; }
.hp-pcard .hp-pimg img { width: 100%; height: 100%; object-fit: contain; transition: .3s; }
.hp-pcard:hover .hp-pimg img { transform: scale(1.05); }
.hp-pcard .hp-pbody { padding: 20px 22px 24px; }
.hp-pcard .hp-ptitle { font-size: 19px; font-weight: 700; color: #333; line-height: 1.4; margin-bottom: 10px; }
.hp-pcard .hp-pdes { font-size: 13px; color: #888; line-height: 1.7; min-height: 44px; }
.hp-pcard .hp-lines { margin-top: 14px; }
.hp-pcard .hp-lines i { display: block; width: 18px; height: 3px; float: left; margin-top: 2px; }
.hp-pcard .hp-lines .h { background: #e70000; }
.hp-pcard .hp-lines .h2 { background: #0052c2; margin-left: 4px; }
.hp-pcard .hp-more { clear: both; display: block; padding-top: 12px; font-size: 13px; color: #0191d3; }
.hp-pcard .hp-more:hover { color: #d81304; }
.hp-pagination { text-align: center; position: absolute; bottom: 0; left: 0; width: 100%; }
.hp-pagination .swiper-pagination-bullet { width: 9px; height: 9px; background: #b8c4ce; opacity: 1; margin: 0 5px !important; }
.hp-pagination .swiper-pagination-bullet-active { background: #0191d3; }

/* ---------- 2. 我们的优势 ---------- */
.hp-advantage { background: #0191d3; }
.hp-advantage .hp-hd h2 { color: #fff; }
.hp-advantage .hp-hd .hp-en { color: #cbeaf8; }
.hp-adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hp-adv-item { display: flex; background: #fff; min-height: 156px; overflow: hidden; }
.hp-adv-l { flex: 1; padding: 28px 30px; }
.hp-adv-l h3 { font-size: 20px; color: #222; font-weight: 700; margin-bottom: 12px; }
.hp-adv-l p { font-size: 14px; color: #666; line-height: 1.9; }
.hp-adv-r { width: 118px; flex: none; background: #e3f3fa; display: flex; align-items: center; justify-content: center; }
.hp-adv-r span { font-size: 46px; font-weight: 800; color: #0191d3; opacity: .35; font-family: Arial, sans-serif; }

/* ---------- 3. 设备展示 ---------- */
.hp-equip { background: #fff; }
.hp-eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-eq-item { border: 1px solid #e6ebf0; background: #fff; transition: .25s; }
.hp-eq-item:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.hp-eq-item .hp-eqimg { display: block; height: 280px; overflow: hidden; }
.hp-eq-item .hp-eqimg img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.hp-eq-item:hover .hp-eqimg img { transform: scale(1.05); }
.hp-eq-item .hp-eqtitle { display: block; padding: 14px 8px; text-align: center; font-size: 15px; color: #444; background: #f7f9fb; }
.hp-eq-more { display: table; margin: 38px auto 0; padding: 11px 42px; border-radius: 30px; background: #d81304; color: #fff; font-size: 16px; transition: .2s; }
.hp-eq-more:hover { background: #b81004; color: #fff; }

/* ---------- 4. 关于我们 ---------- */
.hp-about { background: #f2f5f8; }
.hp-about-card { display: flex; gap: 46px; align-items: center; background: #fff; border: 1px solid #d8dadc; box-shadow: 2px 2px 14px rgba(0, 0, 0, .08); padding: 46px 50px; }
.hp-about-txt { flex: 1; }
.hp-about-txt .hp-ab-t { font-size: 27px; font-weight: 700; color: #222; border-left: 5px solid #0191d3; padding-left: 16px; line-height: 1.2; }
.hp-about-txt .hp-ab-t span { display: block; font-size: 12px; color: #aaa; letter-spacing: 2px; font-weight: 400; margin-top: 8px; }
.hp-about-txt .hp-ab-des { font-size: 14px; color: #555; line-height: 2; margin-top: 24px; }
.hp-about-txt .hp-ab-more { display: inline-block; margin-top: 26px; padding: 11px 34px; border-radius: 30px; background: #0191d3; color: #fff; font-size: 15px; transition: .2s; }
.hp-about-txt .hp-ab-more:hover { background: #0052c2; color: #fff; }
.hp-about-img { width: 47%; flex: none; }
.hp-about-img img { width: 100%; display: block; border: 1px solid #e8e8e8; padding: 5px; }

/* ---------- 5. 技术文库 ---------- */
.hp-news { background: #fff; }
.hp-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hp-news-col { border: 1px solid #e6ebf0; }
.hp-news-col h3 { font-size: 17px; color: #fff; background: #0191d3; padding: 14px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.hp-news-col h3 a { font-size: 12px; color: #cbeaf8; font-weight: 400; }
.hp-news-col h3 a:hover { color: #fff; }
.hp-news-col ul { padding: 6px 22px 12px; }
.hp-news-col li { border-bottom: 1px dashed #e3e8ed; }
.hp-news-col li:last-child { border-bottom: 0; }
.hp-news-col li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; font-size: 14px; color: #444; }
.hp-news-col li a:hover { color: #0191d3; }
.hp-news-col li .hp-nt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-news-col li .hp-nd { flex: none; color: #aaa; font-size: 12px; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1200px) {
    .hp-wrap { width: 96%; }
}
@media screen and (max-width: 768px) {
    .hp-sec { padding: 38px 0 44px; }
    .hp-hd { margin-bottom: 28px; }
    .hp-hd h2 { font-size: 24px; }
    .hp-tabs { gap: 7px; margin-bottom: 24px; }
    .hp-tabs a { padding: 7px 15px; font-size: 13px; }
    .hp-pcard .hp-pimg { height: 170px; }
    .hp-adv-grid, .hp-news-grid { grid-template-columns: 1fr; }
    .hp-adv-item { min-height: 130px; }
    .hp-adv-r { width: 84px; }
    .hp-adv-r span { font-size: 34px; }
    .hp-eq-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hp-eq-item .hp-eqimg { height: 130px; }
    .hp-about-card { flex-direction: column; gap: 22px; padding: 28px 20px; }
    .hp-about-img { width: 100%; }
    .hp-about-txt .hp-ab-t { font-size: 22px; }
}
@media screen and (max-width: 480px) {
    .hp-eq-grid { grid-template-columns: 1fr 1fr; }
}
