/* ============================================================
   Homepage v2 — Find the Right Part Number, Faster.
   Container = 90% (matches header / footer / LEM pages).
   All selectors prefixed hm2- to avoid clashing with global CSS.
   ============================================================ */
.hm2-page { --hm2-blue:#0a64e0; --hm2-blue-d:#0854bd; --hm2-navy:#0b1f3a;
  --hm2-muted:#51617a; --hm2-line:#e2e9f2;
  color:var(--hm2-navy); background:#fff; line-height:1.6;
  font-family:'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; overflow-x:hidden; }
.hm2-page a { text-decoration:none; }
.hm2-container { width:90%; max-width:none; margin:0 auto; padding:0 15px; }
.hm2-page em { color:var(--hm2-blue); font-style:normal; }

/* ---------- Hero ---------- */
.hm2-hero {
  position:relative; overflow:hidden;
  background:linear-gradient(90deg, rgb(211,233,254) 0%, rgb(166,210,245) 100%);
  min-height:420px;
  --hm2-gap:24px; /* 文字右边缘与图片左边缘之间的最小安全间隙 */
}
/* 只设置上下内边距，左右沿用 .hm2-container 的 15px，保证与导航栏左边缘对齐 */
.hm2-hero-inner { position:relative; z-index:2; padding-top:54px; padding-bottom:56px; }
.hm2-hero-copy { max-width:560px; min-width:0; }

/* 图片：右对齐；空间充足时填满 hero 高度，空间不足时按比例缩小并垂直居中 */
.hm2-hero-pic-wrap {
  position:absolute; z-index:1;
  top:0; right:0; bottom:0;
  left:calc(5% + 15px + 560px + var(--hm2-gap));
  overflow:hidden; pointer-events:none;
  display:flex; align-items:center; justify-content:flex-end;
}
.hm2-hero-pic {
  display:block;
  width:auto; height:auto;
  max-width:100%; max-height:100%;
  object-fit:contain;
  pointer-events:none;
  /* 边缘径向淡出，与 hero 蓝色渐变背景融合，看不出图片边界 */
  -webkit-mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 78%, rgba(0,0,0,.85) 85%, rgba(0,0,0,.4) 93%, rgba(0,0,0,0) 100%);
  mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 78%, rgba(0,0,0,.85) 85%, rgba(0,0,0,.4) 93%, rgba(0,0,0,0) 100%);
}
.hm2-eyebrow { font-size:12.5px; letter-spacing:2.2px; color:var(--hm2-blue); font-weight:800; }
.hm2-hero h1 { font-size:clamp(34px,3.4vw,54px); line-height:1.12; letter-spacing:-1.5px; font-weight:900; margin:14px 0 16px; }
.hm2-hero .hm2-lead { color:#44546d; font-size:16px; max-width:560px; margin:0 0 22px; }
.hm2-search { display:flex; align-items:center; background:#fff; border:1.5px solid #d7deea; border-radius:8px; height:52px; max-width:560px; overflow:hidden; }
.hm2-search .fa-magnifying-glass { color:#8b98ac; font-size:14px; padding:0 0 0 16px; }
.hm2-search input { flex:1; min-width:0; border:none; outline:none; padding:0 14px; font-size:14px; color:#1f2937; font-family:inherit; }
.hm2-search button { flex:0 0 auto; border:none; background:var(--hm2-blue); color:#fff; font-size:14px; font-weight:700; padding:0 26px; height:100%; cursor:pointer; font-family:inherit; }
.hm2-search button:hover { background:var(--hm2-blue-d); }
.hm2-actions { display:flex; gap:12px; margin:22px 0 24px; flex-wrap:wrap; }
.hm2-btn { display:inline-flex; align-items:center; gap:9px; background:var(--hm2-blue); border:1px solid var(--hm2-blue); color:#fff; border-radius:7px; padding:12px 22px; font-size:14px; font-weight:700; transition:.15s; }
.hm2-btn:hover { background:var(--hm2-blue-d); color:#fff; }
.hm2-btn.hm2-outline { background:#fff; color:var(--hm2-blue); }
.hm2-btn.hm2-outline:hover { background:#f0f6ff; }
.hm2-trust { display:flex; gap:24px; flex-wrap:wrap; color:#36506f; font-size:13.5px; font-weight:600; }
.hm2-trust i { color:var(--hm2-blue); margin-right:7px; }
.hm2-brand-logo { margin-bottom:10px; line-height:1; }
.hm2-brand-logo img { height:24px; width:auto; display:block; }

/* ---------- Browse by Brand ---------- */
.hm2-brands { padding:52px 0; background:linear-gradient(115deg,#e9f2fc 0%,#f6faff 60%,#eef5fd 100%); }
.hm2-h2 { font-size:27px; font-weight:800; letter-spacing:-.5px; margin:0 0 22px; }
.hm2-brand-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hm2-brand { display:flex; align-items:center; gap:26px; border:1px solid var(--hm2-line); border-radius:10px; padding:28px 28px; background:#fff; transition:.18s; min-height:200px; }
.hm2-brand:hover { box-shadow:0 10px 26px rgba(13,44,97,.10); transform:translateY(-2px); border-color:#cfdcec; }
.hm2-brand-body { flex:1 1 auto; min-width:0; }
.hm2-brand-logo { margin-bottom:14px; line-height:1; }
.hm2-brand-desc { font-size:13.5px; color:var(--hm2-muted); margin:0 0 14px; }
.hm2-brand-link { font-size:13px; font-weight:700; color:var(--hm2-blue); white-space:nowrap; }
.hm2-brand-link i { font-size:11px; margin-left:5px; transition:.15s; }
.hm2-brand:hover .hm2-brand-link i { transform:translateX(3px); }
.hm2-brand-pic { flex:0 0 auto; width:230px; height:170px; display:flex; align-items:center; justify-content:center; }
.hm2-brand-pic img { width:100%; height:100%; object-fit:contain; }

/* ---------- Why SafeCirk ---------- */
.hm2-why { padding:60px 0 64px; text-align:center;
  background:radial-gradient(#d4e3f6 1px,transparent 1px) 0 0/22px 22px, linear-gradient(180deg,#f2f7fd,#e7f0fb); }
.hm2-why .hm2-eyebrow { display:block; }
.hm2-why h2 { font-size:clamp(30px,3vw,42px); font-weight:900; letter-spacing:-1px; margin:12px 0 10px; }
.hm2-why .hm2-sub { font-size:16px; color:var(--hm2-muted); margin:0 0 36px; }
.hm2-why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; text-align:left; }
.hm2-why-card { background:#fff; border:1px solid var(--hm2-line); border-radius:10px; padding:26px 22px; }
.hm2-why-card .hm2-ico { width:44px; height:44px; border-radius:50%; background:#e8f1fd; color:var(--hm2-blue); display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:16px; }
.hm2-why-card h3 { font-size:16px; margin:0 0 7px; color:var(--hm2-navy); }
.hm2-why-card p { font-size:13.5px; color:var(--hm2-muted); margin:0 0 4px; }
.hm2-why-card .hm2-cert-link { font-size:13px; font-weight:700; color:var(--hm2-blue); display:inline-block; margin-top:6px; }
.hm2-why-cta { margin-top:36px; }

/* ---------- Quote / BOM ---------- */
.hm2-quote { background:linear-gradient(115deg,#e9f2fc 0%,#f6faff 60%,#eef5fd 100%); padding:58px 0 18px; }
.hm2-quote-grid { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:38px; align-items:center; }
.hm2-quote h2 { font-size:clamp(26px,2.4vw,34px); font-weight:900; letter-spacing:-.8px; line-height:1.18; margin:12px 0 12px; }
.hm2-quote .hm2-q-lead { font-size:14.5px; color:#44546d; margin:0 0 22px; max-width:430px; }
.hm2-q-actions { display:flex; gap:11px; flex-wrap:wrap; margin:0 0 20px; }
.hm2-q-contact { display:flex; gap:20px; flex-wrap:wrap; font-size:13px; color:#36506f; font-weight:600; }
.hm2-q-contact a { color:#36506f; }
.hm2-q-contact a:hover { color:var(--hm2-blue); }
.hm2-q-contact i { color:var(--hm2-blue); margin-right:7px; }
.hm2-q-feats { display:grid; gap:24px; }
.hm2-q-feat { display:flex; gap:13px; align-items:flex-start; }
.hm2-q-feat .hm2-ico { flex:0 0 38px; width:38px; height:38px; border-radius:50%; background:#fff; border:1px solid #d7e4f4; color:var(--hm2-blue); display:flex; align-items:center; justify-content:center; font-size:15px; }
.hm2-q-feat h4 { font-size:14.5px; margin:1px 0 5px; color:var(--hm2-navy); }
.hm2-q-feat p { font-size:12.5px; color:var(--hm2-muted); margin:0; }

/* quote right image */
.hm2-q-pic { display:flex; justify-content:center; align-items:center; }
.hm2-q-pic img {
  max-width:100%; max-height:380px; object-fit:contain;
  border-radius:0; box-shadow:none;
  /* 边缘径向淡出，与 section 浅蓝渐变背景融合，看不出图片边界 */
  -webkit-mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 81%, rgba(0,0,0,.85) 87%, rgba(0,0,0,.4) 94%, rgba(0,0,0,0) 100%);
  mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 81%, rgba(0,0,0,.85) 87%, rgba(0,0,0,.4) 94%, rgba(0,0,0,0) 100%);
}

/* ---------- Responsive ---------- */
@media (max-width:1100px) {
  .hm2-hero { min-height:auto; }
  .hm2-hero-pic-wrap { position:static; top:auto; left:auto; right:auto; bottom:auto; margin-top:24px; }
  .hm2-hero-inner { padding:40px 15px 36px; }
  .hm2-hero-copy { max-width:none; }
  .hm2-hero-pic-wrap { display:block; text-align:center; margin-top:20px; }
  .hm2-hero-pic {
    position:static; width:100%; max-width:520px; max-height:none; height:auto;
    display:block; margin:0 auto; border-radius:0;
    box-shadow:none; pointer-events:auto;
    object-fit:cover; aspect-ratio:16/9;
    -webkit-mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 81%, rgba(0,0,0,.85) 87%, rgba(0,0,0,.4) 94%, rgba(0,0,0,0) 100%);
    mask-image:radial-gradient(ellipse 100% 100% at 50% 50%, #000 81%, rgba(0,0,0,.85) 87%, rgba(0,0,0,.4) 94%, rgba(0,0,0,0) 100%);
  }
  .hm2-why-grid { grid-template-columns:repeat(2,1fr); }
  .hm2-quote-grid { grid-template-columns:1fr 1fr; }
  .hm2-quote-grid > div:first-child { grid-row:1; }
  .hm2-q-feats { grid-row:2; }
  .hm2-q-pic { grid-column:2; grid-row:1 / span 2; align-self:center; }
}
@media (max-width:720px) {
  .hm2-brand-grid { grid-template-columns:1fr; }
  .hm2-brand { flex-direction:column-reverse; align-items:flex-start; gap:16px; padding:20px; }
  .hm2-brand-pic { width:100%; max-width:220px; height:auto; aspect-ratio:4/3; }
  .hm2-brand-pic img { object-fit:contain; }
  .hm2-brand-logo img { height:20px; }
  .hm2-why-grid { grid-template-columns:1fr; }
  .hm2-quote-grid { grid-template-columns:1fr; gap:28px; }
  .hm2-q-feats { grid-row:auto; }
  .hm2-q-pic { grid-column:auto; grid-row:auto; }
  .hm2-q-pic img { max-height:310px; }
}
