/* =====================================================
   byekey-gop 首页 1:1 结构样式（GOP 版式 · 蓝色主题色）
   仅 front-page 加载
   ===================================================== */

/* ---------- ① HERO：全宽底图 + 渐隐 + 居中 ---------- */
.hg-hero{position:relative;background:var(--gray,#F5F5F5);min-height:240px;display:flex;align-items:center;padding:86px 0 52px;overflow:hidden}
.hg-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.78;pointer-events:none}
.hg-hero-fade{position:absolute;inset:0;background:linear-gradient(to right,rgba(255,255,255,.92),rgba(255,255,255,.75));pointer-events:none}
.hg-hero-in{position:relative;text-align:center;max-width:860px}
.hg-hero h1{font-size:clamp(34px,4.4vw,58px);font-weight:800;line-height:1.14;margin:0 0 18px;color:var(--ink)}
.hg-hero-sub{font-size:17px;line-height:1.65;color:var(--sec);margin:0 auto 30px;max-width:680px}
.hg-hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:26px}
.hg-btn-ghost{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 24px;border-radius:8px;
  background:#fff;color:var(--ink);border:1.5px solid var(--ink);font-size:15px;font-weight:600;text-decoration:none;transition:all .2s ease}
.hg-btn-ghost:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-2px)}
.hg-hero-note{display:inline-block;font-size:13.5px;color:var(--sec);background:rgba(255,255,255,.7);
  border:1px solid var(--line);border-radius:999px;padding:8px 18px}

/* ---------- ② 数据条（黑底 4 列） ---------- */
.hg-stats{background:#fff;color:#0062cc;padding:48px 0}
.hg-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 0}
.hg-stat{text-align:center;padding:8px 24px;position:relative}
.hg-stat:not(:last-child)::after{content:"";position:absolute;right:0;top:20%;height:60%;width:1px;background:#333}
.hg-stat b{display:block;font-size:44px;font-weight:800;line-height:1.1;letter-spacing:-.01em}
.hg-stat span{display:block;margin-top:8px;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#0062cc}

/* ---------- 区块头（参考站 .section-title / .section-header-center 实测值） ---------- */
.hg-sec-head{max-width:700px;margin:0 auto 48px}
.hg-sec-head.center{text-align:center}
.hg-sec-head h2{font-size:clamp(28px,4vw + 1rem,48px);font-weight:700;line-height:1.2;margin:0 0 16px;position:relative;display:inline-block;padding-bottom:20px}
.hg-sec-head h2::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:40px;height:3px;background:var(--brand)}
.hg-sec-head.left h2::after{left:0;transform:none}
.hg-sec-head p{color:var(--sec);font-size:clamp(15px,1vw + 1rem,18px);margin:0;line-height:1.6}

/* ---------- ③ 产品区（参考站 .section padding-block 96px + grid gap 24px） ---------- */
.hg-products{padding:56px 0;background:#f5f5f5;}
.hg-products .bk-home-grid{gap:24px}
.hg-products .bk-sect-cta{margin-top:36px;text-align:center}

/* ---------- ④ 六条买家理由（文 6 : 图 4，图在右） ---------- */
.hg-why-grid{display:grid;grid-template-columns:6fr 4fr;gap:64px;align-items:start}
.hg-why-img{position:sticky;top:110px;aspect-ratio:9/16;border-radius:16px;background:linear-gradient(160deg,#EAF3FF 0%,#DCE9F7 100%);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#9AA6B5;font-size:14px;overflow:hidden}
.hg-why-img img{width:100%;height:100%;object-fit:cover}
.hg-why-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hg-why-list li{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.hg-why-list li:last-child{border-bottom:none}
.hg-why-list .tick{flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--hover,#EAF3FF);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;margin-top:2px}
.hg-why-list h3{font-size:17px;font-weight:800;margin:0 0 6px}
.hg-why-list p{font-size:14px;color:var(--sec);margin:0;line-height:1.6}

/* ---------- ⑤ 客户类型 2×2（上图 16:9 + 下文） ---------- */
.hg-seg-wrap{padding-top:0}
.hg-seg-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
/* v1.3.20：三列变体（auto-fit）——首页客户类型用 .hg-seg-grid，列表页 showcase / 详情页应用卡用 .three，
   两处共用；原本只在 plp.css 定义，详情页也要用所以提到这里。 */
.hg-seg-grid.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;margin-top:40px}
.hg-seg-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0;
  box-shadow:0 2px 16px rgba(0,0,0,.06);transition:transform .3s ease,box-shadow .3s ease;position:relative;overflow:hidden}
.hg-seg-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--brand),transparent);z-index:2}
.hg-seg-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.12)}
.hg-seg-body{padding:26px 28px 28px}
.hg-seg-img{width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(160deg,#EAF3FF 0%,#DCE9F7 100%)}
.hg-seg-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.hg-seg-card:hover .hg-seg-img img{transform:scale(1.05)}
.hg-seg-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--brand);
  background:var(--hover,#EAF3FF);border-radius:999px;padding:5px 12px;margin-bottom:14px}
.hg-seg-card h3{font-size:20px;font-weight:800;margin:0 0 10px}
.hg-seg-card p{font-size:14px;color:var(--sec);line-height:1.65;margin:0 0 16px}
.hg-seg-link{color:var(--brand);font-weight:700;font-size:14px;text-decoration:none;transition:color .2s ease}
.hg-seg-link:hover{color:#0059bb}

/* ---------- ⑥ 质量与检测（图 4 : 竖排卡 6，GOP 式） ---------- */
.hg-quality{padding-top:0}
.hg-quality-grid{display:grid;grid-template-columns:4fr 6fr;gap:64px;align-items:start}
.hg-quality-img{position:sticky;top:110px;aspect-ratio:9/16;border-radius:16px;background:linear-gradient(160deg,#EAF3FF 0%,#DCE9F7 100%);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#9AA6B5;font-size:14px;overflow:hidden}
.hg-quality-img img{width:100%;height:100%;object-fit:cover}
.hg-quality-right{display:flex;flex-direction:column;gap:22px}
.hg-quality-card{background:#fff;border-left:4px solid var(--brand);border-radius:16px;padding:26px 28px;
  box-shadow:0 2px 16px rgba(0,0,0,.08);transition:transform .3s ease,box-shadow .3s ease}
.hg-quality-card:hover{transform:translateX(6px);box-shadow:0 10px 30px rgba(0,0,0,.10)}
.hg-quality-card h3{font-size:19px;font-weight:800;margin:0 0 8px}
.hg-quality-card p{font-size:14.5px;color:var(--sec);line-height:1.65;margin:0}

/* ---------- ⑦ About 分栏（文 | 竖图） ---------- */
.hg-about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:start}
.hg-about-p{font-size:15px;color:var(--sec);line-height:1.7;margin:0 0 16px}
.hg-about-list{list-style:none;margin:0 0 28px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
.hg-about-list li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--ink)}
.hg-about-list .tick{color:var(--brand);font-weight:800}
.hg-about-img{aspect-ratio:1/1;border-radius:16px;background:linear-gradient(160deg,#F2F5F9 0%,#E4EAF2 100%);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#9AA6B5;font-size:14px;overflow:hidden}
.hg-about-img img{width:100%;height:100%;object-fit:cover}

/* ---------- ⑧ OEM 四步 ---------- */
.hg-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.hg-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 24px;overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease}
.hg-step:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.10)}
.hg-step-num{position:absolute;top:6px;right:14px;font-size:56px;font-weight:800;color:rgba(0,123,255,.07);line-height:1}
.hg-step-tag{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--brand);margin-bottom:10px}
.hg-step h3{font-size:18px;font-weight:800;margin:0 0 8px}
.hg-step p{font-size:13.5px;color:var(--sec);line-height:1.6;margin:0}

/* ---------- ⑨ 评价卡（开启后显示） ---------- */
.hg-testimonials{background:var(--gray,#F5F5F5)}
.hg-testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hg-testi-card{position:relative;background:#fff;border-radius:16px;padding:36px 28px 28px;
  box-shadow:0 2px 16px rgba(0,0,0,.08);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.hg-testi-card::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--brand),transparent)}
.hg-testi-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.14)}
.hg-testi-stars{color:var(--brand);letter-spacing:2px;margin-bottom:14px;font-size:15px}
.hg-testi-quote{font-size:14.5px;line-height:1.7;color:#3a4250;margin:0 0 20px}
.hg-testi-who{display:flex;align-items:center;gap:12px;margin-top:auto}
.hg-testi-avatar{flex-shrink:0;width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px}
.hg-testi-who b{display:block;font-size:14.5px}
.hg-testi-who span span{display:block;font-size:12.5px;color:var(--sec)}

/* ---------- ⑩ 工厂实拍（黑底画廊） ---------- */
.hg-gallery-wrap{background:var(--ink);color:#fff}
.hg-gallery-wrap .hg-sec-head h2{color:#fff}
.hg-gallery-wrap .hg-sec-head p{color:rgba(255,255,255,.7)}
.hg-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hg-gallery-item{border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:#222}
.hg-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;display:block}
.hg-gallery-item:hover img{transform:scale(1.05)}

/* ---------- ⑪ 博客 ---------- */
.hg-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hg-blog-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease}
.hg-blog-card:hover{transform:translateY(-6px);box-shadow:0 12px 30px rgba(0,0,0,.12)}
.hg-blog-img{display:block;aspect-ratio:16/9;background:linear-gradient(160deg,#EAF3FF,#DCE9F7);overflow:hidden}
.hg-blog-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;display:block}
.hg-blog-card:hover .hg-blog-img img{transform:scale(1.05)}
.hg-blog-body{padding:20px 22px 22px}
.hg-blog-body h3{font-size:16.5px;font-weight:800;line-height:1.35;margin:0 0 8px}
.hg-blog-body h3 a{color:var(--ink);text-decoration:none;transition:color .2s}
.hg-blog-body h3 a:hover{color:var(--brand)}
.hg-blog-meta{font-size:12.5px;color:var(--sec);margin-bottom:14px}

/* ---------- ⑫ FAQ 双列手风琴 ---------- */
.hg-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
/* v1.3.20：单列变体——列表页下方 FAQ / 详情页 FAQ 用 .one（居中、限宽）。
   原只在 plp.css 定义，详情页也要用所以提到这里。 */
.hg-faq-grid.one{grid-template-columns:1fr;max-width:900px;margin:0 auto;gap:16px}
.hg-faq-item{background:#fff;border:1px solid var(--line);border-left:4px solid transparent;border-radius:16px;
  overflow:hidden;transition:all .3s ease}
.hg-faq-item.active{background:#F2F8FF;border-left-color:var(--brand);border-color:#D8E9FF}
.hg-faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 22px;background:none;border:none;cursor:pointer;text-align:left;
  font-size:15px;font-weight:700;color:var(--ink);font-family:inherit;transition:color .3s ease}
.hg-faq-item.active .hg-faq-q{color:var(--brand)}
.hg-faq-ic{flex-shrink:0;font-style:normal;color:var(--brand);font-size:20px;font-weight:700;line-height:1;transition:transform .3s ease}
.hg-faq-item.active .hg-faq-ic{transform:rotate(45deg)}
.hg-faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.hg-faq-item.active .hg-faq-a{grid-template-rows:1fr}
.hg-faq-a-in{min-height:0;overflow:hidden}
.hg-faq-a-in p{padding:0 22px 20px;margin:0;font-size:14px;color:var(--sec);line-height:1.65}

/* ---------- ⑬ 收尾 CTA ---------- */
.hg-cta{background:var(--ink);color:#fff;padding:80px 0}
.hg-cta-in{display:flex;justify-content:space-between;align-items:center;gap:32px}
.hg-cta h2{font-size:clamp(26px,3vw,38px);font-weight:800;margin:0 0 10px;color:#fff}
.hg-cta p{color:rgba(255,255,255,.8);font-size:17px;line-height:1.6;margin:0;max-width:600px}
.hg-cta-btns{display:flex;gap:14px;flex-shrink:0;flex-wrap:wrap}
.hg-cta .hg-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.hg-cta .hg-btn-ghost:hover{border-color:#fff;color:#fff}

/* ---------- 滚动淡入（.reveal 由 home.js 激活） ---------- */
.bk-home1x1 .reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease}
.bk-home1x1 .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.bk-home1x1 .reveal{opacity:1;transform:none;transition:none}}

/* ---------- 响应式 ---------- */
@media (max-width:1180px){
  .hg-hero{min-height:560px}
  .hg-stat b{font-size:36px}
}
@media (max-width:1024px){
  .hg-stats-grid{grid-template-columns:repeat(2,1fr)}
  .hg-stat:nth-child(2n)::after{display:none}
  .hg-why-grid{grid-template-columns:1fr;gap:40px}
  .hg-why-img{position:static;aspect-ratio:16/9}
  .hg-seg-grid{grid-template-columns:1fr}
  .hg-quality-grid{grid-template-columns:1fr;gap:40px}
  .hg-quality-img{position:static;aspect-ratio:16/9}
  .hg-about-grid{grid-template-columns:1fr;gap:36px}
  .hg-about-img{aspect-ratio:4/3}
  .hg-steps-grid{grid-template-columns:repeat(2,1fr)}
  .hg-testi-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .hg-gallery{grid-template-columns:repeat(2,1fr)}
  .hg-blog-grid{grid-template-columns:repeat(2,1fr)}
  .hg-faq-grid{grid-template-columns:1fr}
  .hg-cta-in{flex-direction:column;text-align:center}
  .hg-cta p{margin:0 auto}
  .hg-cta-btns{justify-content:center;width:100%}
}
@media (max-width:640px){
  .hg-hero{padding:64px 0 48px;min-height:auto}
  .hg-hero h1{font-size:30px}
  .hg-hero-btns{flex-direction:column}
  .hg-hero-btns a{width:100%;justify-content:center}
  .hg-stats-grid{grid-template-columns:1fr;gap:20px}
  .hg-stat::after{display:none!important}
  .hg-stat b{font-size:32px}
  .hg-steps-grid{grid-template-columns:1fr}
  .hg-seg-grid.three{margin-top:28px}
  .hg-gallery{grid-template-columns:1fr}
  .hg-blog-grid{grid-template-columns:1fr}
  .hg-about-list{grid-template-columns:1fr}
}
