


.apg-topbar{
  background:linear-gradient(90deg,#eef4fd,#f7fbff 55%,#eef4fd);
  border-bottom:1px solid #e3ecf8;
  font-size:12px;color:#5a6b82;line-height:34px;height:34px;position:relative;z-index:80;
}
.apg-topbar__in{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}
.apg-topbar__l b{color:#1048a0;font-weight:600}
.apg-topbar__l .apg-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#22b573;margin-right:8px;vertical-align:2px;box-shadow:0 0 0 3px rgba(34,181,115,.15)}
.apg-topbar__r a{color:#5a6b82;text-decoration:none;transition:.2s}
.apg-topbar__r a:hover{color:#1048a0}
.apg-topbar__r i{display:inline-block;width:1px;height:10px;background:#c9d6ea;margin:0 12px;vertical-align:-1px}


.apg-head{position:relative;background:#fff;overflow:visible}
.apg-head__deco{
  position:absolute;inset:0;pointer-events:none;overflow:hidden;
  background:
    radial-gradient(640px 220px at 88% -20%, rgba(2,133,208,.10), transparent 65%),
    radial-gradient(420px 180px at 2% 120%, rgba(16,72,160,.06), transparent 60%);
}
.apg-head__deco::after{ 
  content:'';position:absolute;right:-40px;top:0;bottom:0;width:46%;
  background:
    repeating-linear-gradient(90deg, rgba(16,72,160,.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(16,72,160,.06) 0 1px, transparent 1px 24px);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 55%);
          mask-image:linear-gradient(90deg,transparent,#000 55%);
}
.apg-head .header{
  max-width:1200px;margin:0 auto;padding:0 20px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  position:relative;z-index:2;height:116px;
  animation:apgFadeIn .6s ease both;
}
@keyframes apgFadeIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.apg-head .header{animation:none}.apg-tel__ico::after{animation:none!important}}


.apg-brand{display:flex;align-items:center;gap:18px;text-decoration:none;min-width:0}
.apg-brand__logo{display:block;transition:.3s;flex:0 0 auto}
.apg-brand__logo img{display:block;height:52px !important;width:auto}
.apg-brand:hover .apg-brand__logo{transform:translateY(-2px);filter:drop-shadow(0 8px 14px rgba(16,72,160,.18))}
.apg-brand__meta{min-width:0;text-align:center}
.apg-brand__slogan{
  display:block;font-size:14px;color:#33445e;font-weight:600;letter-spacing:.5px;
  margin:2px 0 8px;white-space:nowrap;
}
.apg-badges{display:flex;justify-content:center;gap:8px;list-style:none;margin:0;padding:0;white-space:nowrap}
.apg-badges i{
  display:inline-flex;align-items:center;gap:5px;font-style:normal;font-size:12px;color:#4a5d7c;
  background:#f2f6fc;border:1px solid #e2eaf6;border-radius:999px;padding:3.5px 10px;transition:.2s;
}
.apg-badges i:hover{border-color:#bcd2f0;color:#1048a0}
.apg-badges svg{width:13px;height:13px;fill:#1048a0;flex:0 0 13px}


.apg-side{display:flex;align-items:center;gap:20px;flex:0 0 auto}
.apg-side__div{width:1px;height:44px;background:linear-gradient(#dfe8f5,transparent)}


.apg-tel{display:flex;align-items:center;gap:12px;text-decoration:none}

.apg-tel__txt--m{display:none}
.apg-tel__ico{
  position:relative;width:46px;height:46px;border-radius:50%;flex:0 0 46px;
  background:linear-gradient(135deg,#1a63c9,#0185d0);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 14px rgba(2,133,208,.35);
}
.apg-tel__ico svg{width:22px;height:22px;fill:#fff}
.apg-tel__ico::after{
  content:'';position:absolute;inset:0;border-radius:50%;
  box-shadow:0 0 0 0 rgba(2,133,208,.45);animation:apgPulse 2.4s ease-out infinite;
}
@keyframes apgPulse{70%{box-shadow:0 0 0 14px rgba(2,133,208,0)}100%{box-shadow:0 0 0 0 rgba(2,133,208,0)}}
.apg-tel__txt{line-height:1.25}
.apg-tel__label{display:block;font-size:12px;color:#66788f;margin-bottom:3px}
.apg-tel__num{
  display:block;font:700 28px/1 arial,'Segoe UI',sans-serif;letter-spacing:.5px;
  background:linear-gradient(90deg,#1048a0,#0185d0);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  -webkit-text-fill-color:transparent;text-decoration:none;transition:.2s;
}
.apg-tel:hover .apg-tel__num{filter:brightness(1.12)}


.apg-cta{
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;
  background:linear-gradient(135deg,#ff9a1f,#ff6a00);color:#fff!important;
  font-size:15px;font-weight:600;letter-spacing:1px;
  padding:12px 22px;border-radius:999px;
  box-shadow:0 6px 16px rgba(255,106,0,.30);transition:.25s;
}
.apg-cta svg{width:16px;height:16px;fill:#fff}
.apg-cta:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(255,106,0,.42);filter:brightness(1.05)}




.apg-head--b{background:linear-gradient(115deg,#0a2c68 0%,#1048a0 52%,#0e5cb0 100%)}
.apg-head--b .apg-badges{display:none}
.apg-head--b .apg-cta{display:none}
.apg-head--b .apg-brand{flex-direction:column;align-items:flex-start;gap:7px}
.apg-head--b .apg-brand__slogan{margin:0;font-size:13px;color:#dbe8ff;letter-spacing:2px}
.apg-head--b .apg-head__deco{
  background:radial-gradient(700px 260px at 90% -30%, rgba(64,156,255,.28), transparent 62%);
}
.apg-head--b .apg-head__deco::after{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 26px);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 60%);
          mask-image:linear-gradient(90deg,transparent,#000 60%);
}
.apg-head--b .header{height:124px}
.apg-head--b .apg-brand__logo{
  background:#fff;border-radius:10px;padding:8px 14px;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.apg-head--b .apg-brand__logo img{height:44px !important}
.apg-head--b .apg-brand__slogan{color:#dbe8ff}
.apg-head--b .apg-badges i{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.28);color:#eaf2ff}
.apg-head--b .apg-badges svg{fill:#8fc3ff}
.apg-head--b .apg-side__div{background:linear-gradient(rgba(255,255,255,.4),transparent)}
.apg-head--b .apg-tel__label{color:#a9c4ee}
.apg-head--b .apg-tel__num{
  background:linear-gradient(90deg,#ffffff,#bfe0ff);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
}
.apg-head--b .apg-tel__ico{background:linear-gradient(135deg,#ff9a1f,#ff6a00);box-shadow:0 6px 14px rgba(0,0,0,.35)}
.apg-head--b .apg-tel__ico::after{box-shadow:0 0 0 0 rgba(255,138,26,.5);animation-name:apgPulseO}
@keyframes apgPulseO{70%{box-shadow:0 0 0 14px rgba(255,138,26,0)}100%{box-shadow:0 0 0 0 rgba(255,138,26,0)}}


.apg-gallery{display:flex;gap:10px;list-style:none;margin:0;padding:0}
.apg-gallery a{
  display:block;width:88px;height:60px;border-radius:8px;overflow:hidden;position:relative;
  box-shadow:0 6px 16px rgba(0,0,0,.22);transition:.25s;text-decoration:none;
}
.apg-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}
.apg-gallery i{
  position:absolute;left:0;right:0;bottom:0;font-style:normal;font-size:11px;color:#fff;text-align:center;
  background:linear-gradient(transparent,rgba(6,26,60,.82));padding:16px 4px 4px;letter-spacing:1px;
}
.apg-gallery a:hover{transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.3)}
.apg-gallery a:hover img{transform:scale(1.08)}


.apg-head--c .header{height:118px}
.apg-head--c .apg-brand__meta{display:none}
.apg-head--c .apg-brand__logo img{height:48px !important}
.apg-head--c .apg-gallery a{
  box-shadow:0 4px 12px rgba(16,72,160,.14);border:1px solid #eef3fa;
}
.apg-head--c .apg-gallery a:hover{border-color:#bcd2f0}


.apg-head::after{
  content:'';display:block;height:3px;position:relative;z-index:3;
  background:linear-gradient(90deg,#1048a0,#0185d0 45%,rgba(2,133,208,0));
}
.apg-head--b::after{background:linear-gradient(90deg,#ff9a1f,#ff6a00 35%,rgba(255,106,0,0))}


@media screen and (min-width:769px) and (max-width:1199px){
  .apg-head--b .header,.apg-head--c .header,.apg-head .header{height:104px;gap:16px;padding:0 16px}
  .apg-brand__logo img{height:44px !important}
  .apg-head--b .apg-brand__logo img{height:36px !important}
  .apg-head--c .apg-brand__logo img{height:40px !important}
  .apg-brand__slogan{font-size:13px}
  .apg-gallery{display:none}          
  .apg-cta{padding:10px 16px;font-size:14px}
  .apg-side{overflow:hidden}
  .apg-tel__num{font-size:24px}
  .apg-topbar__l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}


@media screen and (max-width:768px){
  .apg-topbar{display:none}
  .apg-head{background:#fff}
  .apg-head__deco::after{width:100%;right:0;opacity:.5}
  .apg-head .header{
    height:64px;padding:0 60px 0 12px;gap:10px;  
    align-items:center;
  }
  .apg-brand{gap:0}
  .apg-brand__meta{display:none}          
  .apg-head--b .apg-brand__slogan{display:none}
  .apg-brand__logo img{height:34px !important}
  .apg-head--b .apg-brand__logo{padding:5px 9px;border-radius:8px}
  .apg-head--b .apg-brand__logo img{height:28px !important}
  .apg-head--c .apg-brand__logo img{height:34px !important}
  .apg-side{gap:0;margin-left:auto;flex-shrink:0}
  .apg-cta,.apg-side__div{display:none}   
  .apg-tel{padding:0}
  .apg-tel__ico{width:42px;height:42px;flex:0 0 42px}
  .apg-tel__ico svg{width:20px;height:20px}
  .apg-head--b .header,.apg-head--c .header{height:64px}
}



@media screen and (min-width:1024px){
  #toolbar.toolbar{right:14px}
  #toolbar.toolbar dd{
    width:54px;height:54px;margin-bottom:9px;position:relative;
    background:rgba(14,58,124,.92);border-radius:50%;
    box-shadow:0 8px 20px rgba(10,40,90,.24);transition:.25s ease;
  }
  #toolbar.toolbar dd:hover{
    background:linear-gradient(140deg,#0a2c68 0%,#0e5cb0 100%);transform:translateY(-2px);
  }
  #toolbar.toolbar dd i span{margin:9px 0 0 9px}
  
  #toolbar.toolbar .code span{
    background:none;margin:7px 0 0 7px;border-radius:50%;overflow:hidden;
    background-image:url(../../../upfile/201909/2019090776229193.webp);
    background-size:100% 100%;box-shadow:0 0 0 3px rgba(255,255,255,.92) inset;
  }
  
  #toolbar.toolbar .pop-code{
    width:196px;top:-46px;right:80px;background:#fff;border-radius:14px;
    box-shadow:0 18px 46px rgba(10,40,90,.26);padding:16px 14px 14px;text-align:center;
  }
  #toolbar.toolbar .pop-code li{list-style:none}
  #toolbar.toolbar .pop-code img{
    width:132px;height:132px;padding:0;margin:0 auto 9px;border-radius:8px;border:1px solid #eef3fa;
  }
  #toolbar.toolbar .pop-code h3{height:auto;line-height:1.55;color:#1048a0;font-size:14px;font-weight:600}
  #toolbar.toolbar .pop-code h3 b{font-size:13px;color:#0185d0;font-weight:700}
  #toolbar.toolbar .pop-code h3::after{
    content:'Quotation / Selection / One-on-one Service';display:block;font-size:11px;color:#8494ab;font-weight:400;margin-top:5px;
  }
  #toolbar.toolbar .pop-code::after{
    content:'';position:absolute;right:-6px;top:58px;width:12px;height:12px;background:#fff;
    transform:rotate(45deg);box-shadow:2px -2px 6px rgba(10,40,90,.06);
  }
}

/* ===== EN header: anti-overlap for longer English strings ===== */
.apg-head .header{flex-wrap:nowrap}
.apg-brand{flex:1 1 auto;min-width:0}
.apg-brand__meta{flex:1 1 auto;min-width:0;overflow:hidden}
.apg-brand__slogan{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.apg-badges{flex-wrap:nowrap;min-width:0;overflow:hidden}
.apg-badges li{min-width:0;flex:0 1 auto;overflow:hidden}
.apg-badges i{
  display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;vertical-align:middle;
}
.apg-side{flex:0 0 auto;min-width:0}
/* new SVG logo is wider than the old trimmed wordmark */
.apg-brand__logo img{width:auto;max-width:none;height:52px !important}
@media screen and (min-width:769px) and (max-width:1199px){
  .apg-brand__slogan{font-size:12px;letter-spacing:0}
  .apg-badges i{font-size:11px}
  .apg-brand{gap:12px}
  .apg-side{gap:12px}
}
@media screen and (max-width:768px){
  .apg-brand{min-width:0}
  .apg-brand__logo img{height:30px !important}
}
@media screen and (min-width:769px) and (max-width:1000px){
  .apg-brand__meta{display:none}
  .apg-brand{flex:0 0 auto}
  .apg-head .header{justify-content:space-between}
}

/* ===== EN: longer English text - overflow fixes ===== */
/* nav list was 102% wide (fine for short CN labels, overflows with EN) */
.nav .list{width:100% !important}
@media screen and (min-width:769px){
  .nav_main .nav li{min-width:0}
  .nav_main .nav li a{white-space:nowrap}
}
/* hero/about headline: allow wrapping instead of a nowrap 28px line */
.apg-about__h2 em{white-space:normal;display:block;line-height:1.35;word-break:break-word}
/* article tables: allow horizontal scroll instead of clipping / page overflow */
.ArticleTencont{overflow-x:auto}
.ArticleTencont table{white-space:normal;word-break:break-word}
.ArticleTencont th,.ArticleTencont td{white-space:normal;word-break:break-word}
@media screen and (max-width:768px){
  .ArticleTencont table{min-width:0;font-size:12px}
  .ArticleTencont th,.ArticleTencont td{padding:5px 6px}
}

/* ===== EN: quote calculator + floating toolbar overflow ===== */
@media screen and (min-width:769px) and (max-width:1250px){
  .bj-inner{width:100% !important;padding:0 16px !important;box-sizing:border-box}
  .bj-card,.bj-result{max-width:100%}
}
@media screen and (max-width:768px){
  /* tooltip text translated longer; keep it inside viewport */
  #toolbar.toolbar .pop-code{right:56px;width:170px;max-width:calc(100vw - 80px)}
  #toolbar.toolbar .pop-code span,#toolbar.toolbar .pop-code h3{word-break:break-word}
}

/* ===== EN: mobile header - logo vs hotline overlap ===== */
@media screen and (max-width:768px){
  .apg-head .header{padding-right:8px;gap:8px}
  .apg-brand{flex:0 1 auto;min-width:0;overflow:hidden}
  .apg-brand__logo img{height:26px !important;width:auto;max-width:100%}
  .apg-side{gap:0;margin-left:auto;flex:0 0 auto}
  .apg-tel__txt{display:none}          /* keep only the round call icon on mobile */
  .apg-tel__ico{width:40px;height:40px;flex:0 0 40px}
}
@media screen and (max-width:480px){
  .apg-brand__logo img{height:24px !important}
  .apg-topbar__r{display:none}
}

/* ===== EN contact redesign: header WhatsApp + E-mail (no phone number) ===== */
.apg-side .apg-c{
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;
  color:#1048a0;font-size:14px;font-weight:600;white-space:nowrap;
  padding:9px 13px;border-radius:10px;background:#eef5ff;border:1px solid #d5e5fb;
  transition:background .2s,transform .2s;
}
.apg-side .apg-c:hover{background:#dcecff;transform:translateY(-1px)}
.apg-side .apg-c svg{width:18px;height:18px;flex:0 0 18px}
.apg-side .apg-c:first-child{background:#e9faef;border-color:#bceccd;color:#128c43}
.apg-side .apg-c:first-child:hover{background:#d8f5e3}
@media screen and (min-width:769px) and (max-width:1199px){
  .apg-side .apg-c{padding:8px 10px;font-size:12px;gap:5px}
  .apg-side .apg-c svg{width:16px;height:16px;flex-basis:16px}
}
@media screen and (max-width:768px){
  .apg-side{display:none !important}
}
/* homepage capability bar */
.apg-cap__links{display:flex;gap:10px;margin:0 0 12px;flex-wrap:wrap}
.apg-cap__links a{
  display:inline-flex;align-items:center;gap:6px;text-decoration:none;
  font-size:14px;font-weight:600;padding:9px 14px;border-radius:9px;color:#fff;
}
.apg-cap__links a svg{width:16px;height:16px;flex:0 0 16px}
.apg-cap__wa{background:#25a75a}
.apg-cap__em{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24)}
.apg-cap__wa:hover{background:#1b8c49}
.apg-cap__em:hover{background:rgba(255,255,255,.24)}

/* ===== breadcrumb (URL redesign 2026-11-12) ===== */
.apg-crumb{max-width:1200px;margin:12px auto 0;padding:0 16px;font-size:13px;line-height:1.7;color:#6b7a90}
.apg-crumb a{color:#2a6ba3;text-decoration:none}
.apg-crumb a:hover{text-decoration:underline}
.apg-crumb .sep{margin:0 7px;color:#b6c3d4}
.apg-crumb .cur{color:#33475e;font-weight:600}
@media screen and (max-width:768px){.apg-crumb{margin:8px 0 0;padding:0 12px;font-size:12px;white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}}
