/* ============================================================
   Anboma English Site - standalone stylesheet
   No dependency on the original Chinese site CSS.
   ============================================================ */
:root{
  --blue:#0b5fa5;
  --blue-dark:#084a82;
  --orange:#ff6600;
  --orange-dark:#e65c00;
  --ink:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f7f9fc;
  --white:#fff;
  --maxw:1280px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:Arial,Helvetica,"Segoe UI",sans-serif;
  color:var(--ink);
  font-size:15px;
  line-height:1.7;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul,ol{list-style:none}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}
.sec{padding:64px 0}
.sec-sm{padding:40px 0}
.crumb-bar{padding:14px 0 0}
.crumb-bar + .sec,.crumb-bar + .sec-sm{padding-top:24px}
.an-pagehd + .sec,.an-pagehd + .sec-sm{padding-top:32px}

/* ---------- Top bar ---------- */
.an-topbar{background:#0d3d63;color:#dbe7f2;font-size:13px}
.an-topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:36px}
.an-topbar .slogan{letter-spacing:.3px}
.an-topbar .links a{margin-left:18px}
.an-topbar .links a:hover{color:var(--orange)}
.an-topbar .tel{color:#fff;font-weight:bold}

/* ---------- Header ---------- */
.an-header{background:var(--white);border-bottom:1px solid var(--line)}
.an-header .wrap{display:flex;justify-content:space-between;align-items:center;height:74px}
.an-logo img{height:34px;width:auto}
.an-nav{display:flex;align-items:center;gap:4px}
.an-nav a{padding:10px 15px;font-size:15px;color:var(--ink);border-radius:4px;font-weight:bold}
.an-nav a:hover,.an-nav a.on{color:var(--orange)}
.an-nav .an-quote{background:var(--orange);color:#fff;padding:10px 18px;border-radius:4px;margin-left:10px}
.an-nav .an-quote:hover{background:var(--orange-dark);color:#fff}
.an-nav .an-lang{color:var(--blue);font-weight:normal}

/* ---------- Mobile head / nav ---------- */
.an-mhead{display:none;position:relative;z-index:60;background:var(--white);height:58px;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line)}
.an-mhead img{height:30px;width:auto}
.an-mnavbtn{width:30px;height:24px;position:relative;cursor:pointer}
.an-mnavbtn i{position:absolute;left:0;width:100%;height:2px;background:var(--ink);transition:.25s}
.an-mnavbtn i:nth-child(1){top:2px}
.an-mnavbtn i:nth-child(2){top:11px}
.an-mnavbtn i:nth-child(3){top:20px}
.an-mnavbtn.open i:nth-child(1){top:11px;transform:rotate(45deg)}
.an-mnavbtn.open i:nth-child(2){opacity:0}
.an-mnavbtn.open i:nth-child(3){top:11px;transform:rotate(-45deg)}
.an-mnav{display:none;position:absolute;top:58px;left:0;right:0;z-index:59;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(0,0,0,.12);max-height:calc(100vh - 58px);overflow-y:auto}
.an-mnav.open{display:block}
.an-mnav a{display:block;padding:13px 20px;border-top:1px solid var(--line);font-size:15px}
.an-mnav a:hover{background:var(--bg);color:var(--orange)}

/* ---------- Page header band ---------- */
.an-pagehd{position:relative;background:linear-gradient(115deg,#0d3d63 0%,#0b5fa5 60%,#1479c9 100%);color:#fff;padding:44px 0 42px;overflow:hidden}
.an-pagehd:before{content:"";position:absolute;right:-60px;top:-90px;width:320px;height:320px;border:1px solid rgba(255,255,255,.10);border-radius:50%}
.an-pagehd:after{content:"";position:absolute;right:60px;bottom:-130px;width:260px;height:260px;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.an-pagehd .wrap{position:relative;z-index:1}
.an-pagehd h1{font-size:32px;line-height:1.3;color:#fff;margin:0 0 10px}
.an-pagehd p{color:rgba(255,255,255,.88);font-size:16px;line-height:1.8;max-width:900px}

/* ---------- Stats strip ---------- */
.an-stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--blue);border-radius:10px;overflow:hidden;margin:0 0 10px}
.an-stats div{text-align:center;padding:24px 8px;color:#fff;border-right:1px solid rgba(255,255,255,.18)}
.an-stats div:last-child{border-right:0}
.an-stats b{display:block;font-size:28px;line-height:1.2;color:#fff}
.an-stats span{font-size:13px;opacity:.85}

/* ---------- Breadcrumb ---------- */
.an-crumb{font-size:13px;color:var(--muted)}
.an-crumb a:hover{color:var(--blue)}

/* ---------- Buttons / titles ---------- */
.an-btn{display:inline-block;background:var(--orange);color:#fff;padding:12px 28px;border-radius:4px;font-weight:bold;font-size:15px;transition:.2s}
.an-btn:hover{background:var(--orange-dark)}
.an-btn-outline{background:transparent;border:1px solid var(--blue);color:var(--blue)}
.an-btn-outline:hover{background:var(--blue);color:#fff}
.an-h1{font-size:30px;line-height:1.35;color:var(--ink);margin:0 0 16px}
.an-h2{font-size:22px;color:var(--ink);margin:38px 0 14px;padding-left:12px;border-left:4px solid var(--orange)}
.an-lead{font-size:16px;color:var(--muted);line-height:1.9;max-width:920px}
.an-p{font-size:15px;color:#4b5563;line-height:1.9;margin:12px 0}
.an-sechd{text-align:center;margin-bottom:36px}
.an-sechd h2{font-size:28px;color:var(--ink)}
.an-sechd p{color:var(--muted);margin-top:10px}

/* ---------- Hero banner (swiper) ---------- */
.an-hero{position:relative;overflow:hidden;background:#0d3d63}
.an-hero .swiper-container,.an-hero .swiper-wrapper,.an-hero .swiper-slide{height:100%}
.an-herobanner{position:relative;width:100%;height:100%;background-position:center;background-size:cover;overflow:hidden}
.an-herobanner::before{content:"";position:absolute;inset:-40px;background:inherit;background-size:cover;background-position:center;filter:blur(26px) brightness(.72);transform:scale(1.08)}
.an-herobanner img{position:relative;display:block;width:100%;height:100%;object-fit:contain;margin:0 auto}
.an-hero .swiper-pagination-bullet{background:#fff;opacity:.5}
.an-hero .swiper-pagination-bullet-active{background:var(--orange);opacity:1}

/* ---------- Product grid ---------- */
.an-progrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.an-procard{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white);transition:.25s;display:block;border-top:3px solid var(--blue)}
.an-procard:hover{box-shadow:0 12px 30px rgba(11,95,165,.14);transform:translateY(-3px)}
.an-procard .thumb{position:relative;height:260px;background:var(--bg);display:flex;align-items:center;justify-content:center;padding:16px;overflow:hidden}
.an-procard .thumb img{max-height:100%;width:auto;object-fit:contain}
.an-procard .body{padding:18px 18px 22px}
.an-procard .body h3{font-size:18px;color:var(--ink);margin-bottom:6px}
.an-procard .body .tag{font-size:13px;color:var(--blue);margin-bottom:10px}
.an-procard .body .sizes{font-size:12px;color:var(--muted)}
.an-procard .body .sizes span{display:inline-block;background:var(--bg);padding:2px 8px;border-radius:3px;margin:3px 4px 0 0}
.an-procard .body .more{display:inline-block;margin-top:14px;color:var(--orange);font-weight:bold;font-size:14px}

/* ---------- Solution cards ---------- */
.an-solgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.an-solcard{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white);border-top:3px solid var(--orange)}
.an-solcard img{width:100%;height:180px;object-fit:cover}
.an-solcard .body{padding:18px}
.an-solcard h3{font-size:18px;margin-bottom:8px}
.an-solcard p{font-size:14px;color:var(--muted);line-height:1.8}
.an-solcard a{color:var(--orange);font-weight:bold;font-size:14px;display:inline-block;margin-top:10px}

/* ---------- Generic feature grid ---------- */
.an-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:26px}
.an-box{border:1px solid var(--line);border-radius:8px;padding:22px;background:var(--white);border-top:3px solid var(--blue)}
.an-box h3{font-size:17px;color:var(--blue);margin-bottom:8px}
.an-box p{font-size:14px;color:#4b5563;line-height:1.8}
.an-box .num{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--bg);color:var(--orange);border-radius:50%;font-size:16px;font-weight:bold;margin-bottom:10px}
.an-cta{margin-top:44px;background:var(--bg);border-radius:10px;padding:34px;text-align:center}
.an-cta h3{font-size:22px;color:var(--blue);margin-bottom:8px}
.an-cta p{color:var(--muted);margin-bottom:6px}

/* ---------- About banner ---------- */
.an-banner{width:100%;max-height:340px;object-fit:cover;border-radius:8px;margin-bottom:30px}

/* ---------- Product detail ---------- */
.an-series{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.an-series a{padding:8px 16px;border:1px solid var(--line);border-radius:22px;font-size:14px;color:var(--muted)}
.an-series a.on,.an-series a:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.an-phead{width:100%;max-height:340px;object-fit:contain;background:var(--bg);border-radius:8px;margin-bottom:24px}
.an-heroimg{position:relative;height:420px;background:linear-gradient(160deg,#eef4fa,#dfeaf4);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:24px;display:flex;align-items:center;justify-content:center}
.an-heroimg img{max-height:100%;width:auto;object-fit:contain}
.an-heroimg-tip{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:12px;color:var(--muted);background:rgba(255,255,255,.85);padding:4px 12px;border-radius:12px;white-space:nowrap}
.an-heroimg:hover .an-heroimg-tip{opacity:0}
.an-specs{display:grid;grid-template-columns:repeat(4,1fr);background:var(--bg);border-radius:8px;overflow:hidden;margin:24px 0}
.an-specs div{text-align:center;padding:20px 8px;border-right:1px solid var(--line)}
.an-specs div:last-child{border-right:0}
.an-specs dt{font-size:22px;color:var(--orange);font-weight:bold}
.an-specs dd{font-size:12px;color:var(--muted);margin-top:4px}
.an-online{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--muted)}
.an-online .sizes span{display:inline-block;background:var(--bg);padding:2px 9px;border-radius:3px;margin-right:5px}
.an-feat li,.an-apps li{position:relative;padding-left:22px;margin:9px 0;font-size:15px;color:#4b5563;line-height:1.8}
.an-feat li:before,.an-apps li:before{content:"";position:absolute;left:2px;top:11px;width:8px;height:8px;background:var(--orange);border-radius:50%}

/* ---------- Service promise ---------- */
.an-promise{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:var(--blue);border-radius:8px;overflow:hidden;margin:26px 0}
.an-promise div{text-align:center;padding:24px 8px;color:#fff;border-right:1px solid rgba(255,255,255,.2)}
.an-promise div:last-child{border-right:0}
.an-promise dt{font-size:28px;font-weight:bold}
.an-promise dd{font-size:13px;opacity:.9}

/* ---------- Contact ---------- */
.an-contactgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:26px}
.an-contactgrid .an-box h3{color:var(--ink)}
.an-contactgrid a{color:var(--blue)}

/* ---------- Footer ---------- */
.an-foot{background:#0d2539;color:#b9c8d6;margin-top:40px}
.an-foot .top{display:flex;flex-wrap:wrap;gap:40px;padding:48px 0 36px}
.an-foot .fbrand{flex:1 1 280px}
.an-foot .fbrand img{height:36px;margin-bottom:16px}
.an-foot .fbrand p{font-size:14px;line-height:1.9}
.an-foot .flinks{flex:1 1 200px}
.an-foot .flinks h4{color:#fff;font-size:15px;margin-bottom:14px}
.an-foot .flinks a{display:block;font-size:14px;margin:8px 0}
.an-foot .flinks a:hover{color:var(--orange)}
.an-foot .bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}
.an-foot .bottom a:hover{color:var(--orange)}

/* ---------- Floating contact ---------- */
.an-float{position:fixed;right:0;top:45%;z-index:60;display:flex;flex-direction:column;gap:2px}
.an-float a{background:var(--orange);color:#fff;font-size:12px;padding:10px 12px;writing-mode:vertical-rl;border-radius:4px 0 0 4px;text-align:center}
.an-float a:hover{background:var(--orange-dark)}
.an-float .an-float-tel{background:var(--blue)}

/* ---------- Responsive ---------- */
@media(max-width:1024px){
  .an-progrid,.an-solgrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .an-topbar,.an-header{display:none}
  .an-mhead{display:flex}
  .sec{padding:44px 0}
  .an-h1{font-size:24px}
  .an-sechd h2{font-size:23px}
  .an-progrid,.an-solgrid,.an-grid2,.an-contactgrid{grid-template-columns:1fr}
  .an-specs{grid-template-columns:repeat(2,1fr)}
  .an-specs div:nth-child(2){border-right:0}
  .an-specs div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .an-promise dt{font-size:22px}
  .an-foot .top{gap:24px}
  .an-float{display:none}
}
