/* ============================================================
   Ningde Linjingxingke — pump component foundry
   Type scale, colours, spacing and section heights measured
   directly off the reference site at a 1440px viewport.
   Font sizes are FIXED px (verified: the reference renders the
   same 38.4px at 1440 as the 1905px design frame shows), only
   the container is fluid at 90%.
   ============================================================ */

:root{
  /* colour */
  /* Brand colours sampled from the client's logo PNG:
     #0058A0 (primary blue) and #E89010 (accent orange). */
  --primary:#0058a0;
  --primary-dk:#004480;
  --primary-lt:#e6f0f9;
  --brand-orange:#e89010;
  --accent:#d90d0d;
  --ink:#000000;
  --body:#4d4d4d;
  --muted:#666666;        /* 参考站就是 #666(5.74:1);#999696 只有 2.93:1,双重错误 */
  --dark:#000000;          /* process / footer band   */
  --dark-2:#212121;        /* certifications band     */
  --gray:#efeff1;          /* blog band               */
  --line:#e4e4e4;
  --line-input:#8a8a8a;   /* 表单控件边框要 >=3:1;#e4e4e4 只有 1.27:1 */
  --radius:4px;
  --font:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;

  /* type scale — measured, line-height is a flat 1.3 throughout */
  --fs-h1:48px;    --lh-h1:62.4px;
  --fs-h2:48px;    --lh-h2:62.4px;
  --fs-h2-xl:50px; --lh-h2-xl:70px;
  --fs-h2-md:36px; --lh-h2-md:46.8px;
  --fs-h2-sm:28px; --lh-h2-sm:36.4px;
  --fs-lead:38.4px;--lh-lead:49.92px;
  --fs-h3:22px;    --lh-h3:28.6px;
  --fs-h3-sm:18px; --lh-h3-sm:23.4px;
  --fs-body:16px;  --lh-body:1.7;
}

*,*::before,*::after{box-sizing:border-box}
/* 预览照片:容器已经定好比例,图一律 cover 填满 */
.ph{width:100%;height:100%;object-fit:cover;display:block}
.split > div > .ph,.split .ph{border-radius:var(--radius)}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* 统一焦点环。键盘可见、鼠标不打扰。 */
:focus-visible{outline:3px solid #ffb703;outline-offset:2px;border-radius:2px}
.hdr :focus-visible,.pbanner :focus-visible,.cta--quote :focus-visible,
.band--dark :focus-visible,.sec--dark :focus-visible{outline-color:#ffd166}

.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:#fff;color:#0058a0;
  padding:12px 20px;border-radius:4px;font-weight:700;box-shadow:0 4px 16px rgba(0,0,0,.25);
  transition:top .15s}
.skip-link:focus{top:12px}
body{margin:0;font-family:var(--font);font-size:var(--fs-body);line-height:var(--lh-body);
     color:var(--body);background:#fff;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:20px}
li{margin:.35em 0}

h1,h2,h3,h4{color:var(--ink);margin:0;font-weight:600}
h1{font-size:var(--fs-h1);line-height:var(--lh-h1);font-weight:700;margin-bottom:10px}
h2{font-size:var(--fs-h2);line-height:var(--lh-h2);margin-bottom:20px}
h2.xl{font-size:var(--fs-h2-xl);line-height:var(--lh-h2-xl);margin-bottom:0}
h2.md{font-size:var(--fs-h2-md);line-height:var(--lh-h2-md);margin-bottom:0}
h2.sm{font-size:var(--fs-h2-sm);line-height:var(--lh-h2-sm);margin-bottom:20px}
h3{font-size:var(--fs-h3);line-height:var(--lh-h3);margin-bottom:6px}
h4{font-size:var(--fs-h3-sm);line-height:var(--lh-h3-sm)}

/* Container policy — verified against the reference's own bootstrap 5.2.0 build,
   whose container ladder has been customised (>=1200 is 90%, not the stock 1140px),
   then fly_style.css overrides the >=1400 step (1320px) back to 90% with !important.
   Net effect: 90% from 1200 up, bootstrap fixed widths below.
   The HEADER container carries an inline max-width:90%!important, so it is 90% at
   every width — that is why measuring the FIRST .container on the page misleads. */
.container{width:100%;max-width:90%;margin:0 auto;padding:0 16.8px}
@media (max-width:1199px){ .container{max-width:960px} }
@media (max-width:991px){  .container{max-width:720px} }
@media (max-width:767px){  .container{max-width:540px} }
@media (max-width:575px){  .container{max-width:100%} }
.hdr .container{max-width:90%!important}
.row{display:flex;flex-wrap:wrap;margin:0 -12px}
.col{padding:0 12px}

/* spacer blocks — the reference uses standalone height divs, not padding */
.sp-30{height:30px}.sp-35{height:35px}.sp-50{height:50px}.sp-60{height:60px}
.sp-70{height:70px}.sp-80{height:80px}.sp-90{height:90px}.sp-100{height:100px}
.sp-110{height:110px}.sp-125{height:125px}

.center{text-align:center}
.muted{color:var(--muted)}
.lead{font-size:var(--fs-lead);line-height:var(--lh-lead);font-weight:600;color:var(--ink)}
.eyebrow{display:inline-block;font-size:14px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--primary);margin-bottom:14px}
.eyebrow--light{color:#9fc0ff}

/* ---------- buttons ---------- */
.btn{display:inline-block;padding:15px 34px;border-radius:var(--radius);font-weight:600;
  font-size:14px;letter-spacing:.06em;text-transform:uppercase;text-align:center;cursor:pointer;
  border:2px solid transparent;transition:.18s;text-decoration:none!important}
/* nowrap belongs to the header CTA, which must never wrap; a long in-body button
   ('Send a drawing or a photo of your worn impeller') was 510px wide at 390 and
   pushed the whole article page sideways. */
.nav__cta,.btn--nowrap{white-space:nowrap}
.btn--primary{background:var(--primary);color:#fff}
.btn--primary:hover{background:var(--primary-dk)}
.btn--ghost{border-color:#fff;color:#fff}
.btn--ghost:hover{background:#fff;color:var(--primary)}
.btn--outline{border-color:var(--primary);color:var(--primary)}
.btn--outline:hover{background:var(--primary);color:#fff}
.btn--dark{border-color:#fff;color:#fff}
.btn--dark:hover{background:#fff;color:#000}
.btn--lg{padding:18px 42px;font-size:15px}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}

/* ---------- header ---------- */
/* The reference header is a TRANSPARENT layer sitting on top of the hero
   (position:absolute; top:10px) with white nav text — there is no white-background
   header state anywhere on the site. top:10px collapses to 0 at <=1199. */
.hdr{background:transparent;border-bottom:0;position:absolute;top:10px;left:0;right:0;z-index:60}
/* Three-block header, same as the reference's _left / _center / _right.
   DELIBERATE DEVIATION: the reference centres _center with
   position:absolute;left:50%;translate(-50%,-50%). It can afford that because its
   @font-face is broken (format('ttf') is an invalid keyword, so the whole src is
   dropped) and it renders in a system font — its 9 nav items measure 620px. We
   load Montserrat correctly and the same 9 items measure 662px, which makes an
   absolutely-centred nav collide with the right block at 1440. Centring inside the
   remaining space instead keeps 14px item gaps and guarantees no overlap. */
.hdr .container{display:flex;align-items:center;gap:16px;min-height:90px;position:relative}
.hdr__left{flex:0 0 auto}
.hdr__center{flex:1 1 auto;min-width:0;display:flex;justify-content:center}
.hdr__right{flex:0 0 auto;display:flex;align-items:center;gap:8px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none!important;flex:0 0 auto}
.logo__mark{width:44px;height:44px;flex:0 0 auto;object-fit:contain}
.logo__txt{font-weight:800;font-size:17px;color:#fff;line-height:1.1;letter-spacing:.2px}
.logo__txt small{display:block;font-size:10px;font-weight:600;color:#c9d3e6;
  letter-spacing:.14em;text-transform:uppercase}
/* nav metrics lifted from the reference: 14px/500, padding 10px 0 (no side padding —
   items are separated by the flex gap), letter-spacing normal, CTA is a 32px pill. */
/* Nav is absolutely centred like the reference's .cs-main_header_center, so its
   width has to fit inside container - 2 x right-block. Rather than squeezing the
   nav until items touch, the right block is kept narrow (smaller gap + tighter
   CTA padding) so a readable 14px gap survives here. */
.nav{display:flex;align-items:center;gap:12px}
.nav a{padding:10px 0;font-size:14px;font-weight:500;letter-spacing:normal;white-space:nowrap;
  text-transform:uppercase;color:#fff;text-decoration:none!important}
.nav a:hover,.nav a[aria-current]{color:#9fc0ff}
/* ---------- dropdown / mega panels ----------
   Reference geometry (.cs-nav_list ul): width 260px, background #181818,
   2px #0058a0 top border, padding 10px 0, radius 0 0 5px 5px,
   hidden via opacity+visibility, slides from top:calc(100%+15px) to 100%.
   Mega panel: 1296px @>=1401, 1116px @<=1400, 100% @<=1199. */
.nav-item{position:relative;display:flex;align-items:center}
.nav-item.has-sub > a{cursor:pointer}
/* The caret is absolutely positioned so it costs the <a> no width — four inline
   carets were adding 36px to the nav, which is what still pushed the centred nav
   into the right block. The reference's arrow behaves the same way. */
.nav-item.has-sub > a{position:relative;padding-right:10px}
.nav .caret{position:absolute;right:0;top:50%;width:6px;height:6px;margin:0;
  border-right:1px solid currentColor;border-bottom:1px solid currentColor;
  transform:translateY(-70%) rotate(45deg)}
.subnav{position:absolute;top:calc(100% + 15px);left:0;width:260px;background:#181818;
  border-top:2px solid #0058a0;padding:10px 0;border-radius:0 0 5px 5px;
  box-shadow:0 1px 2px 0 rgba(2,0,181,.1);opacity:0;visibility:hidden;
  transition:all .4s ease;z-index:70}
/* :focus-within —— 只有 :hover 的话键盘用户永远打不开下拉,
   而 productlist/jet-pump-casing.html 全站唯一入口就在里面。 */
.nav-item:hover > .subnav,
.nav-item:focus-within > .subnav{opacity:1;visibility:visible;top:100%}
.subnav a{display:block;padding:8px 20px;color:#fff!important;font-size:14px;
  font-weight:500;text-transform:none;letter-spacing:normal;white-space:normal}
.subnav a:hover{color:#9fc0ff!important;background:rgba(255,255,255,.06)}
/* The mega panel is centred on the HEADER, not on its own menu item — anchoring it
   to the item pushed a 1296px panel off the left edge. position:static on the item
   makes .hdr (which is already positioned) the containing block. Width is capped so
   it can never overflow the viewport. */
.nav-item.is-mega{position:static}
.nav-item.is-mega .subnav{width:min(1296px, calc(100vw - 48px));left:50%;
  transform:translateX(-50%);padding:16px 20px 20px;display:grid;
  grid-template-columns:repeat(3,1fr);gap:2px 24px}
@media (max-width:1400px){ .nav-item.is-mega .subnav{width:min(1116px, calc(100vw - 48px))} }

/* selector must out-specify `.nav a` (0,1,1), otherwise its 14px wins */
/* CTA lives in .hdr__right now, outside .nav — the old `.nav a…` selector
   stopped matching and .btn's uppercase widened it 181px -> 237px, which is
   what made the centred nav collide. .btn.nav__cta (0,2,0) beats .btn. */
.btn.nav__cta{border-radius:32px;font-size:15px;padding:10px 16px;
  text-transform:none;letter-spacing:normal;font-weight:600;color:#fff}
.btn.nav__cta:hover{background:var(--primary-dk);color:#fff}
.burger{display:none;background:none;border:1px solid rgba(255,255,255,.5);
  border-radius:5px;padding:8px 10px;cursor:pointer}
.burger span{display:block;width:20px;height:2px;background:#fff;margin:4px 0}

/* ---------- hero: parallax swiper, values lifted from the reference ----------
   .cs-hero.cs-style4  height:100vh · padding:80px 120px · align-items:center
   .cs-hero_title      48px/700, margin 0 0 10px      .tit  28px #fff
   .cs-hero_text       clip-path inset(0 100% 0 0) -> inset(0 0% 0 0), .7s, delay .8s
   .cs-entity_img      height:100vh, object-fit:cover
   ---------------------------------------------------------------------------- */
.hero-slider{position:relative;overflow:hidden;background:#0b0f16}
.hero-slider.loading{opacity:0;visibility:hidden}
.hero-slider{transition:opacity .6s ease}
/* Each slide must clip: the parallax handler translates .hero-fig by up to
   half the viewport width, which would otherwise bleed into the next slide. */
.hero-slider .swiper-slide{overflow:hidden;position:relative}
.hero-fig{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;
  background-position:center;background-size:cover;overflow:hidden}
.hero-fig .hero-img{height:100vh;width:100%;object-fit:cover;display:block}
/* NO scrim: the reference puts white text straight onto the photo. */
.hero-inner{height:100vh;display:flex;align-items:center;padding:80px 120px;position:relative}
.hero-text{position:relative;z-index:10;width:100%;
  clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);
  transition:all .7s ease}
.swiper-slide-active .hero-text{clip-path:inset(0 0% 0 0);-webkit-clip-path:inset(0 0% 0 0);
  transition-delay:.8s;height:85vh;display:flex;flex-direction:column;
  justify-content:flex-end;box-sizing:border-box}
.hero-text .tit{color:#fff;font-size:28px;line-height:1.4;margin:0 0 6px;font-weight:400}
p.hero-title,
.hero-title{color:#fff;margin:0 0 10px 0;font-weight:700;font-size:48px;
  line-height:62.4px;max-width:1000px;position:relative}
.hero-desc{color:#fff;max-width:800px;margin:14px 0 0;font-size:16px;line-height:1.75}
.hero-btn{display:inline-block;border-radius:15px;background:#0058a0;color:#fff;
  padding:10px 20px;font-weight:600;cursor:pointer;transition:all .3s ease;
  text-decoration:none!important;border:none;margin-top:26px;font-size:16px}
.hero-btn:hover{background:#f1f1f1;color:#0058a0}
/* pagination + arrows, positioned bottom-right like the reference */
/* pagination geometry lifted from the reference:
   60x12 pill, radius 15, margin 0 8px, 50% white -> #0058a0 when active.
   Position: >=600 left:90% translateX(-50%) bottom:80px; <600 centred bottom:30px. */
.hero-slider .swiper-pagination{position:absolute;bottom:80px;left:90%;right:auto;
  transform:translateX(-50%);width:initial;z-index:12;display:flex;justify-content:center}
.hero-slider .swiper-pagination-bullet{width:60px;height:12px;border-radius:15px;
  margin:0 8px;background:rgba(255,255,255,.5);opacity:1;transition:.25s;cursor:pointer}
.hero-slider .swiper-pagination-bullet-active{background:#0058a0;width:60px}

/* inner page banner */
/* header is absolute and transparent, so inner-page banners must clear it themselves */
.pbanner{background:linear-gradient(120deg,var(--primary),#0a1f5c);color:#fff;
  padding:170px 0 66px}
.pbanner h1{color:#fff}
.pbanner p{color:#c9d8f6;margin:14px 0 0;max-width:52em;font-size:17px}
/* ⚠️ 必须排在 .pbanner 之后。.pbanner 的 background 是**简写**,会把 background-size /
   background-repeat 一并重置掉;写在前面的话行内 background-image 虽然赢了,
   但尺寸退回 auto、平铺退回 repeat —— 图会在横幅里平铺。今天已经踩过一次(.split--rfq)。 */
.pbanner--photo{background-size:cover;background-position:center 42%;
  background-repeat:no-repeat;background-color:#0a1f5c}
.crumb{font-size:13px;color:#a9bde6;margin-bottom:16px}
.crumb a{color:#dbe6ff}

/* ---------- section bands ---------- */
.band--dark{background:var(--dark);color:#c9cfd8}
.band--dark h2,.band--dark h3,.band--dark h4{color:#fff}
.band--dark2{background:var(--dark-2);color:#c9cfd8}
.band--dark2 h2,.band--dark2 h3{color:#fff}
.band--gray{background:var(--gray)}
.band--grad{background:linear-gradient(120deg,#0058a0,#0a1f5c);color:#fff}
.band--grad h2,.band--grad h3{color:#fff}

/* Clients & Partners — reference: eyebrow 24px!important/600 centred #0058a0,
   intro paragraph max-width:860px with margin:auto (which also cancels the
   global p{margin-bottom:15px}). Logo strip is full-bleed, outside .container. */
.clients-eyebrow{color:#0058a0;text-align:center;font-size:24px;font-weight:600;margin:0}
.clients-intro{color:#000;text-align:center;max-width:860px;margin:auto}

/* ---------- Product-series band ----------
   Reference: a slick pair — copy pane (source order FIRST) linked to a card rail.
   Background is a photo via inline background-image; .cs-gradient_bg_1 is an EMPTY
   ruleset, so there is no gradient to reproduce. Card rail disappears <=420px.
   Slide h2 is inline 28px but @media(<=991) h2{26px!important} beats it. */
.prodband{position:relative;background:#0b1a3a;background-size:cover;background-position:center}
.prodband::before{content:"";position:absolute;inset:0;background:rgba(6,16,40,.72)}
.prodband .container{position:relative;z-index:2}
/* minmax(0,…) is required: a grid item defaults to min-width:auto, and Swiper's
   horizontally laid-out wrapper then blows the column out to millions of px. */
.prodband__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px;align-items:center}
.ps-label{color:#fff;font-size:28px;margin:0}
.ps-cat{color:#fff;font-size:20px;margin:15% 0 0}
.prodband h2{color:#fff;font-size:28px;line-height:36.4px;max-width:600px}
.prodband__copy p.ps-desc{color:#fff;font-weight:500;max-width:600px}
.ps-actions{display:flex;gap:20px;flex-wrap:wrap;margin-top:6px}
/* autoHeight 把 wrapper 高度设成正好等于内容高,按钮底边是贴着裁切线的;
   留 2px 余量,亚像素舍入就啃不到按钮最后一行 */
#ps-copy .swiper-slide{padding-bottom:2px}
.ps-learn{border-radius:5px;background:#0058a0;color:#fff;padding:10px 20px;font-weight:600;
  display:inline-block;text-decoration:none!important;transition:.2s}
.ps-learn:hover{background:#fff;color:#0058a0}
.ps-quote{border-radius:5px;background:#fff;color:#000;padding:10px 20px;font-weight:600;
  display:inline-block;text-decoration:none!important;transition:.2s}
.ps-quote:hover{background:#0058a0;color:#fff}
.prodband__rail{min-width:0}
.prodband__rail .swiper{overflow:hidden;width:100%}
.ps-card{background:#fff;border-radius:8px;overflow:hidden;cursor:pointer;
  transition:transform .25s,box-shadow .25s}
.ps-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(0,0,0,.25)}
.ps-card__img{aspect-ratio:4/3;background:#e8eefb}
.ps-card__img svg{width:100%;height:100%}
.ps-card__body{padding:16px 18px 20px}
.ps-card__body h3{font-size:18px;line-height:1.35;margin:0 0 4px;color:#000}
.ps-card__body p{font-size:13.5px;color:#666;margin:0}
.swiper-slide-thumb-active .ps-card{outline:3px solid #0058a0;outline-offset:-3px}
@media (max-width:991px){ .prodband__grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .ps-cat{margin-top:20px} }
/* reference hides the whole card rail below 420px */
@media (max-width:420px){ .prodband__rail{display:none} }

/* ---------- Process band (black) ----------
   Reference: col-lg-5 heading | col-lg-7 two-up slider.
   .cs-post_overlay has no background/opacity anywhere — it is an empty hook,
   NOT a scrim. Card title/body are bare <p> at 20px/600 and 14px/500 justified. */
.procband{background:#000}
.procband__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:40px;align-items:center}
.procband h2{color:#fff}
.proc-card{background:transparent}
.proc-card__thumb{margin:0 0 15px;position:relative;border-radius:6px;overflow:hidden}
.proc-card__thumb svg{width:100%;height:100%;display:block}
.proc-card__info p:first-child{font-size:20px;font-weight:600;color:#fff;margin:0 0 6px}
.proc-card__info p:last-child{font-size:14px;font-weight:500;color:#9aa3af;margin:0;
  text-align:justify;text-justify:inter-word}
.procband .swiper{overflow:hidden;width:100%;min-width:0}
.proc-nav{display:flex;gap:12px;margin-top:26px}
.proc-nav button{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);
  background:transparent;color:#fff;cursor:pointer;font-size:18px;line-height:1;transition:.2s}
.proc-nav button:hover{background:#0058a0;border-color:#0058a0}
@media (max-width:991px){ .procband__grid{grid-template-columns:minmax(0,1fr);gap:26px} }

/* ---------- About block ----------
   Reference layout: left column = eyebrow + h2(max-width:360px),
   right column = TAB SWITCHER (not buttons) + tab body.
   Tab chrome: 1px border in currentColor -> #0058a0 outline when inactive;
   li.active a gets color:#fff;background:#0058a0. Panels swap with a 400ms fade.
   Columns use the bootstrap lg and sm tiers, so they stack at 575, not 767. */
.about-eyebrow{color:#0058a0;font-size:20px;font-weight:700;line-height:20px;
  font-variant:all-small-caps;margin:0}
.about-head h2{color:#000;max-width:360px}
.tabs{display:block}
.tabs__body{display:block}
.tabs__links{display:flex;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.tabs__links li{margin:0}
.tabs__links li a{display:inline-block;padding:13px 24px;border:1px solid #0058a0;
  color:#0058a0;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  text-decoration:none!important;transition:.2s}
.tabs__links li a:hover{background:#e8eefb}
.tabs__links li.active a{color:#fff;background:#0058a0}
.tab{display:none;animation:tabfade .4s ease}
.tab.is-active{display:block}
.tab p{color:#000;text-align:justify;text-justify:inter-word}
@keyframes tabfade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){ .tab{animation:none} }

/* full-bleed image band under the About row — real height is 620px
   (the reference's 725px rule is always clipped by an inline max-height:620px) */
.about-band{display:block;height:620px;max-height:620px;border-radius:20px;overflow:hidden;
  position:relative;z-index:10}
.about-band svg{width:100%;height:100%;object-fit:cover}
.about-band::before{content:"";position:absolute;inset:0;background:rgba(22,22,22,.4);
  opacity:0;transition:opacity .4s ease;z-index:2}
.about-band:hover::before{opacity:1}
@media (max-width:1550px){ .about-band{height:520px} }
@media (max-width:991px){  .about-band{height:380px;border-radius:14px} }
@media (max-width:575px){  .about-band{height:260px} }

/* claim row: col-lg-4 / col-lg-8, and the 2.4rem type never shrinks on the reference */
.claimrow{display:grid;grid-template-columns:4fr 8fr;gap:24px;align-items:end}
@media (max-width:575px){ .claimrow{grid-template-columns:1fr} }

/* funfact strip */
.funfacts{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.funfact_number{color:#0058a0;font-size:50px;line-height:1.2;font-weight:600}
.funfact p{color:#666;margin:20px 0 0;font-size:15px}
@media (max-width:991px){ .funfacts{grid-template-columns:repeat(2,1fr);gap:30px}
  .funfact_number{font-size:40px} }
@media (max-width:575px){ .funfacts{grid-template-columns:1fr} }

/* value bar — 1:2 split, exactly as measured (568 : 1137) */
.valuebar{display:grid;grid-template-columns:1fr 2fr;gap:24px;align-items:end}

/* generic inner-page section, mapped onto the measured scale */
.sec{padding:80px 0}
.sec--alt{background:var(--gray)}
.sec--dark{background:var(--dark);color:#c9cfd8}
.sec--dark h2,.sec--dark h3,.sec--dark h4{color:#fff}
.sec__head{max-width:840px;margin:0 auto 46px;text-align:center}
.sec__head p{color:var(--muted);font-size:17px;margin:0}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--line)}
.stat{background:#fff;padding:30px 20px;text-align:center}
.stat b{display:block;font-size:var(--fs-h2-md);line-height:var(--lh-h2-md);
  color:var(--primary);font-weight:700}
.stat span{font-size:14px;color:var(--muted);display:block;margin-top:8px}

/* generic grids */
.grid{display:grid;gap:24px}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
/* 必须排在 .split 之后 —— 同权重靠源码顺序决胜,写在前面会被基类整条盖掉。 */
.split--rfq{grid-template-columns:1.35fr 1fr;align-items:start}

/* cards */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:.18s;display:flex;flex-direction:column;
  text-decoration:none!important}
.card:hover{box-shadow:0 8px 26px rgba(2,50,158,.10);transform:translateY(-2px)}
.card__img{background:var(--primary-lt);aspect-ratio:4/3}
.card__img svg,.card__img img{width:100%;height:100%;object-fit:cover;display:block}
.card__body{padding:22px 24px 26px;flex:1;display:flex;flex-direction:column}
.card__body p{color:var(--muted);font-size:15px;flex:1}
.card__link{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--primary);margin-top:12px}
.card--dark{background:#141414;border-color:#2a2a2a}
.card--dark .card__body p{color:#9aa3af}

/* process steps */
.steps{counter-reset:s;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{padding:28px 24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.step::before{counter-increment:s;content:counter(s,decimal-leading-zero);
  font-size:34px;font-weight:800;color:var(--primary-lt);line-height:1;display:block;margin-bottom:10px}
.step p{font-size:15px;color:var(--muted);margin:0}
/* Dark bands come in two flavours (.band--dark on the home page, .sec--dark on inner
   pages). Both must restyle .step, otherwise the card stays white while the heading is
   turned white by the band rule — white-on-white, heading invisible. */
.band--dark .step,.sec--dark .step{background:#141414;border-color:#2a2a2a}
.band--dark .step::before,.sec--dark .step::before{color:#26406f}
.band--dark .step p,.sec--dark .step p{color:#9aa3af}
.band--dark .step h3,.sec--dark .step h3{color:#fff}

/* tables */
.tbl{width:100%;border-collapse:collapse;font-size:15px;background:#fff}
.tbl th,.tbl td{padding:14px 16px;border:1px solid var(--line);text-align:left;vertical-align:top}
.tbl th{background:var(--primary);color:#fff;font-weight:600;font-size:13px;
  letter-spacing:.06em;text-transform:uppercase}
.tbl tbody tr:nth-child(even){background:#f6f8fc}
.tbl td:first-child,.tbl th[scope="row"]{font-weight:600;color:var(--ink);white-space:nowrap}
.tbl th[scope="row"]{text-align:left;background:transparent}
.tbl-scroll{overflow-x:auto;border-radius:var(--radius)}

/* certifications */
/* certification cards, verbatim from the reference: col-lg-3 col-sm-4 grid,
   #3F3F3F card, 12px radius, 40px padding, fixed 250px height */
.badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.badge{border:0;border-radius:12px;background:#3f3f3f;padding:40px;height:250px;
  display:flex;flex-direction:column;justify-content:center}
.badge b{display:block;color:#fff;font-size:var(--fs-h3);line-height:var(--lh-h3)}
.badge span{font-size:14px;color:#c9cfd8;display:block;margin-top:10px}
@media (max-width:991px){ .badges{grid-template-columns:repeat(3,minmax(0,1fr))}
  .badge{padding:28px;height:220px} }
@media (max-width:767px){ .badges{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:575px){ .badges{grid-template-columns:minmax(0,1fr)}
  .badge{height:auto;padding:24px} }

/* client logo wall — 69px tall strip, as measured */
.logowall{display:grid;grid-template-columns:repeat(7,1fr);gap:20px;align-items:center}
.logowall div{height:69px;border:1px dashed #cfd6e4;border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;font-size:11px;color:var(--muted);
  letter-spacing:.08em;text-transform:uppercase;background:#fafbfd}

.pills{display:flex;flex-wrap:wrap;gap:9px;padding:0;list-style:none;margin:0}
.pills li{margin:0}
.pills a{display:inline-block;padding:8px 16px;border:1px solid var(--line);border-radius:100px;
  font-size:14px;color:var(--body);background:#fff;text-decoration:none!important}
.pills a:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-lt)}

/* CTA band — 900px in the reference; kept generous but not empty */
.cta{background:linear-gradient(120deg,var(--primary),#0a1f5c);color:#fff;text-align:center;
  padding:72px 0}
.cta h2{color:#fff}
.cta p{color:#c9d8f6;max-width:46em;margin:18px auto 30px;font-size:17px}

/* forms */
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.field{margin-bottom:18px}
.field label{display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:6px}
.field .req{color:var(--accent)}
.field input,.field select,.field textarea{width:100%;padding:12px 14px;border:1px solid var(--line-input);
  border-radius:var(--radius);font-family:inherit;font-size:15px;color:var(--ink);background:#fff}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(2,50,158,.10)}
.field textarea{min-height:112px;resize:vertical}
.field small{display:block;color:var(--muted);font-size:13px;margin-top:5px}
.drop{border:2px dashed #c3d0e8;border-radius:var(--radius);padding:28px 18px;text-align:center;
  background:#f6f8fc;cursor:pointer;transition:.15s}
.drop:hover,.drop.is-over{border-color:var(--primary);background:var(--primary-lt)}
.drop b{color:var(--primary)}
.drop span{display:block;font-size:13px;color:var(--muted);margin-top:5px}
.filelist{list-style:none;padding:0;margin:12px 0 0;font-size:14px}
.filelist li{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;background:#f6f8fc;
  border:1px solid var(--line);border-radius:var(--radius);margin:6px 0}
.form-note{background:var(--primary-lt);border-left:3px solid var(--primary);padding:15px 17px;
  font-size:14px;border-radius:0 var(--radius) var(--radius) 0;margin-bottom:22px}

/* blog band heading row: col-lg-6 h2 | col-lg-6 right-aligned "learn" button
   (border-radius:5px). The reference block carries NO date anywhere. */
.blog-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;
  align-items:end;margin-bottom:40px}
.blog-head h2{color:#000;margin:0}
.blog-head .blog-cta{justify-self:end}
.learn{display:inline-block;border-radius:5px;background:#0058a0;color:#fff;
  padding:10px 20px;font-weight:600;text-decoration:none!important;transition:.2s}
.learn:hover{background:#fff;color:#0058a0;box-shadow:inset 0 0 0 1px #0058a0}
.card__img.is-thumb{border-radius:15px;overflow:hidden;aspect-ratio:16/10}
@media (max-width:767px){ .blog-head{grid-template-columns:minmax(0,1fr)}
  .blog-head .blog-cta{justify-self:start} }

/* blog article */
.post{max-width:820px;margin:0 auto}
.post h2{margin-top:1.5em;font-size:var(--fs-h2-md);line-height:var(--lh-h2-md)}
.post h3{margin-top:1.3em}
.post figure{margin:30px 0}
.post figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}
.post blockquote{border-left:3px solid var(--primary);margin:26px 0;padding:6px 0 6px 22px;
  color:var(--ink);font-size:18px}
.meta{font-size:14px;color:var(--muted);margin-bottom:24px}

/* footer — h3 18/23.4 with 35px bottom margin, as measured */
.ftr{background:#000;color:#a7b1c2;padding:70px 0 0;font-size:15px}
.ftr h3{color:#fff;font-size:var(--fs-h3-sm);line-height:var(--lh-h3-sm);margin-bottom:35px}
.ftr a{color:#a7b1c2;text-decoration:none}
.ftr a:hover{color:#fff}
.ftr ul{list-style:none;padding:0;margin:0}
.ftr li{margin:9px 0}
/* 参考站是 col-lg-2 ×4 + col-lg-4 —— 品牌栏宽,四个链接栏窄。 */
.ftr__grid{display:grid;grid-template-columns:1.7fr .85fr .85fr .85fr 1.2fr;
  gap:30px;padding-bottom:50px}
.ftr__bot{border-top:1px solid #222;padding:22px 0;display:flex;justify-content:space-between;
  gap:16px;flex-wrap:wrap;font-size:13px;color:#7e8899}


/* scroll reveal — the reference puts .wow on exactly two headings
   (certifications h2 and clients h2). Honour prefers-reduced-motion. */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s ease,transform .8s ease}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){ .reveal{opacity:1;transform:none;transition:none} }

/* ---------- floating controls (reference has both) ---------- */
.fab-chat{position:fixed;right:26px;top:52%;z-index:70;width:46px;height:46px;border-radius:50%;
  background:#25d366;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.22);transition:.2s;border:0;padding:0}
/* 客户还没给号码,渲染成 disabled button;有号码了去掉 disabled 换回 <a href="https://wa.me/..."> */
.fab-chat[disabled]{opacity:.55;cursor:not-allowed}
.fab-chat:not([disabled]){cursor:pointer}
.fab-chat:not([disabled]):hover{transform:scale(1.08)}
.fab-chat svg{width:24px;height:24px;fill:#fff}
/* reference .cs-scrollup: slides up from bottom:-60px to 50px, 50x50 circle,
   box-shadow 0 1px 5px 1px rgba(22,22,22,.2), inverts on hover, right:15px <=991 */
.fab-top{position:fixed;right:40px;bottom:-60px;z-index:10;width:50px;height:50px;
  border-radius:50%;background:#0058a0;color:#fff;display:flex;align-items:center;
  justify-content:center;border:none;cursor:pointer;
  box-shadow:0 1px 5px 1px rgba(22,22,22,.2);transition:all .4s ease}
.fab-top.is-on{bottom:50px}
.fab-top:hover{background:#fff;color:#0058a0}
.fab-top svg{width:20px;height:20px;fill:currentColor}

/* ---------- header search (reference has a search icon before the CTA) ---------- */
.nav-search{background:#8a8a8a;border:0;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;cursor:pointer;margin-left:8px;
  flex:0 0 auto;transition:.2s}
.nav-search:hover{background:#0058a0}
.nav-search svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2}
/* reference search is a viewport-centred modal, not a dropdown strip:
   fixed, translate(-50%,-50%), max-width 600px, white, 1px #ccc, radius 8px */
.searchbar{display:none;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);
  width:100%;max-width:600px;padding:20px;background:#fff;border:1px solid #ccc;
  border-radius:8px;box-shadow:0 4px 10px rgba(0,0,0,.2);z-index:120}
.searchbar.is-open{display:block}
.searchbar .container{max-width:100%!important;padding:0}
.searchbar h3{color:#0058a0;font-size:34px;line-height:1.2;margin:0}
.searchbar p{color:#000;padding:22px 0;margin:0;font-size:15px}
.search-box{display:flex;gap:10px}
.searchbar input{flex:1;padding:10px;border:1px solid #ccc;border-radius:4px;
  font-family:inherit;font-size:16px;color:#666}
.searchbar input:focus{border-color:var(--primary)}
.search-results{margin-top:18px;max-height:46vh;overflow:auto;text-align:left}
.search-hits{list-style:none;margin:0;padding:0}
.search-hits li{border-top:1px solid #e4e4e4}
.search-hits a{display:block;padding:12px 4px;text-decoration:none!important}
.search-hits a:hover,.search-hits a:focus-visible{background:#f4f7fc}
.search-hits b{display:block;color:var(--ink);font-size:15px;font-weight:600}
.search-hits span{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.search-empty{color:var(--muted);font-size:14px;margin:14px 0 0}
.field-hint{display:block;margin-top:6px;color:var(--muted);font-size:12.5px}
.field-label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:var(--ink)}
.form-msg{font-size:14px}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#d90d0d}
.searchbar .search-submit{background:#c6c6c6;border:0;border-radius:4px;padding:0 18px;
  cursor:pointer;font-size:16px;transition:.2s}
.searchbar .search-submit:hover{background:#0056b3;color:#fff}
.searchbar .search-close{position:absolute;top:10px;right:14px;background:none;border:0;
  font-size:20px;color:#aaa;cursor:pointer;line-height:1}
.searchbar .search-close:hover{color:#ff0000}
.search-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:110}
.search-backdrop.is-open{display:block}
.nav .caret{display:inline-block;margin-left:5px;font-size:9px;opacity:.7;vertical-align:middle}

/* Request-a-Quote band — reference: background photo, min-height:100vh,
   col-lg-7 (heading + copy + contact list) | col-lg-5 (form container).
   Contact labels are 24px/600 #fff. Overrides the earlier .cta rules on purpose. */
.cta--quote{background:#0b1a3a;background-size:cover;background-position:center;color:#fff;
  min-height:100vh;position:relative;text-align:left;padding:0}
.cta--quote::before{content:"";position:absolute;inset:0;background:rgba(6,16,40,.78)}
.cta--quote .container{position:relative;z-index:2}
.cta--quote h2{color:#fff;text-align:left}
.cta--quote p{color:#fff;font-size:16px;margin:0;max-width:none}
.quote-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;
  align-items:start}
.contact-info{list-style:none;padding:0;margin:0}
.contact-info li{margin:0;padding-left:0}
.contact-info li p:first-child{font-size:24px;color:#fff;font-weight:600;margin:0 0 6px}
.contact-info li p,.contact-info li span{color:#fff;margin:0;display:block;max-width:450px}
.quote-form{background:rgba(255,255,255,.96);border-radius:8px;padding:28px}
.quote-form h3{margin:0 0 6px;color:#000}
.quote-form .field{margin-bottom:14px}
.quote-form label{color:#000}

/* ---------- responsive ----------
   Breakpoints and type sizes measured on the reference at 1440 / 768 / 390.
   Note the hero headline gets BIGGER on tablet (48 -> 60) before dropping to
   26 on phones — that is the reference's real behaviour, verified in-browser,
   not a transcription slip.
   -------------------------------------------------------------------------- */

/* nav: 9 items + search + pill CTA stop fitting below ~1360 */
/* 1400: the first hero-title step (48 -> 50) */
@media (max-width:1400px){
  .hero-title{font-size:50px;line-height:65px}
}
/* .cs-font_50 ladder measured off the reference: 50 -> 42@<=1380 -> 36@<=991,
   line-height 1.4em throughout. Below 991 the theme's h2{26px!important}
   overrides it, which is why our token drops to 26 there rather than 36. */
@media (max-width:1380px){
  :root{--fs-h2-xl:42px; --lh-h2-xl:58.8px}
}

/* The client's wordmark (LINJINGXINGKE) is far longer than the placeholder brand
   was, so the left block eats into the centred nav. Measured at 1440: nav needed
   798px in a 743px box and overlapped the logo. Below 1500 the nav steps down to
   13px/10px gap — it stays 14px above that, where there is room. */
@media (max-width:1500px){
  .nav{gap:10px}
  .nav a{font-size:13px}
}

/* 1361-1400 is the last strip where the horizontal nav still shows (it becomes a
   burger at 1360). Measured at 1361 the nav cleared the CTA by only 4px, so the
   gaps tighten once more here. */
@media (max-width:1400px){
  .nav{gap:8px}
  .hdr .container{gap:12px}
}

@media (max-width:1360px){
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#181818;flex-direction:column;
    align-items:stretch;padding:10px;gap:0;border-bottom:1px solid var(--line);
    box-shadow:0 10px 24px rgba(0,0,0,.25)}
  .nav.is-open{display:flex}
  .nav a{padding:13px 14px;border-bottom:1px solid #656565;color:#fff}
  .nav a:last-of-type{border-bottom:0}
  /* drawer: panels open inline instead of floating; reference caps the drawer at
     calc(100vh - 80px) and scrolls it */
  .nav{max-height:calc(100vh - 80px);overflow:auto}
  .nav-item{display:block}
  .nav-item > a{display:block}
  .subnav,.nav-item.is-mega .subnav{position:static;width:auto!important;transform:none!important;
    opacity:1;visibility:visible;background:#000;border-top:0;border-radius:0;box-shadow:none;
    padding:0 0 0 15px;display:block;grid-template-columns:none}
  .subnav a{border-bottom:1px solid #3a3a3a;font-size:13.5px}
  .nav .caret{opacity:.6}
  .btn.nav__cta{font-size:14px;padding:9px 16px}
  .nav-search{display:none}  /* reference hides .cs-toolbox entirely <=1199 */
  .burger{display:block}
}
/* container stays 90% at EVERY breakpoint on the reference
   (1440->1283, 768->678, 390->338). Do not widen it on small screens. */

/* ---- <=1199: hero + header geometry only (type still full size here) ---- */
@media (max-width:1199px){
  .hdr{top:0}
  .hdr .container{min-height:80px}
  .hero-inner{padding:80px 15px}
  .hero-title{font-size:60px;line-height:78px}
}

/* ---- <=991: the reference's real layout breakpoint.
       h2 drops to 26px here (not 1199), the spacer family switches to its _lg values,
       and bootstrap's col-lg-* collapse. ---- */
@media (max-width:991px){
  .quote-grid{grid-template-columns:minmax(0,1fr);gap:30px}
  .cta--quote{min-height:0}
  :root{
    --fs-h2:26px;    --lh-h2:33.8px;
    --fs-h2-xl:26px; --lh-h2-xl:33.8px;
    --fs-h2-md:26px; --lh-h2-md:33.8px;
    --fs-h2-sm:22px; --lh-h2-sm:28.6px;
    --fs-lead:26px;  --lh-lead:33.8px;
    --fs-h3:20px;    --lh-h3:26px;
  }
  .sec{padding:60px 0}
  .split,.valuebar{grid-template-columns:1fr;gap:30px}
  .split--rfq{grid-template-columns:1fr}
  .g3,.g4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr)}
  .logowall{grid-template-columns:repeat(4,1fr)}
  .ftr__grid{grid-template-columns:1fr 1fr;gap:28px}
  .ftr__grid > div:first-child{grid-column:1 / -1}
  /* spacer _lg values, measured off the reference's cs-height_lg_* family */
  .sp-125{height:30px}
  .sp-110,.sp-100{height:20px}
  .sp-90{height:20px}
  .sp-80{height:30px}
  .sp-70{height:30px}
  .sp-60{height:30px}
  .sp-50{height:20px}
  .sp-35{height:30px}
  .sp-30{height:20px}
}

/* ---- phone: <=767 ---- */
@media (max-width:767px){
  :root{
    --fs-h1:26px;    --lh-h1:33.8px;
    --fs-h2:26px;    --lh-h2:33.8px;
    --fs-h2-xl:26px; --lh-h2-xl:33.8px;
    --fs-h2-md:24px; --lh-h2-md:31.2px;
    --fs-h2-sm:20px; --lh-h2-sm:26px;
    --fs-lead:22px;  --lh-lead:28.6px;
    --fs-h3:20px;    --lh-h3:26px;
    --fs-h3-sm:16px; --lh-h3-sm:20.8px;
  }
  /* The reference header on a phone is mark + CTA + burger only: its logo is a
     60x60 image rendered at 32px, with no wordmark at all. Ours carries a text
     wordmark, and at 390 it pushed the CTA 74px past the viewport. Below 767 the
     wordmark drops and the header matches the reference exactly. */
  .logo__mark{width:32px;height:32px}
  .logo__txt{display:none}
  .hero-desc{font-size:15px}
  .sec{padding:48px 0}
  .g2,.g3,.g4,.steps{grid-template-columns:1fr;gap:22px}
  .logowall{grid-template-columns:repeat(3,1fr)}
  .ftr{padding:48px 0 0}
  .ftr__grid{grid-template-columns:1fr;gap:26px;padding-bottom:34px}
  .ftr h3{margin-bottom:18px}
  .ftr__bot{flex-direction:column;gap:8px}
  .form{padding:20px}
  .tbl th,.tbl td{padding:11px 12px;font-size:14px}
  .fab-chat{right:12px;width:42px;height:42px}
  .fab-top{right:15px}
  .fab-top.is-on{bottom:30px}
  .btn{padding:13px 26px;font-size:13px}
  .btn--lg{padding:15px 30px;font-size:14px}
  .pbanner{padding:130px 0 42px}
  .post h2{margin-top:1.2em}
}

/* ---- small phone: <=575 ---- */
/* 600/575: hero drops to 26px, .tit to 18px, pagination centres */
@media (max-width:599px){
  .hero-text .tit{font-size:18px;line-height:25.6px}
  .hero-slider .swiper-pagination{left:50%;bottom:30px}
  .swiper-slide-active .hero-text{height:80vh;padding-bottom:20px}
}
@media (max-width:575px){
  .hero-inner{padding:80px 20px}
  .hero-title{font-size:26px;line-height:33.8px}
  .stats{grid-template-columns:1fr}
  .logowall{grid-template-columns:repeat(2,1fr)}
  .btn-row{flex-direction:column;align-items:stretch}
  .btn-row .btn{width:100%}
}
