/* chinalgpump.com — V2 静态原型 · 第二稿
   结构参考 netzsch.com（导航压在首屏大图上、全幅hero+超大标题、大数字、重留白），
   配色不取 NETZSCH 绿，改用自有 logo 的深藏青+红，辅以明亮的活力蓝/青渐变。
   风格更大胆：透明导航→深色首屏无缝过渡、卡片上浮悬停、数字滚动、入场动画。 */

:root{
  --ink:#0B1E30;            /* 深墨蓝：页脚、导航滚动态 */
  --navy:#0E2A44;           /* 品牌藏青（logo 主色系） */
  --blue:#1E6FD9;           /* 活力蓝：交互主色 */
  --blue-dark:#1557AC;
  --cyan:#37B6FF;           /* 渐变辅助青 */
  --red:#E03C31;            /* logo 红（提亮）：主 CTA 点缀 */
  --red-dark:#C22F26;
  --steel:#5E7189;          /* 次要文字 */
  --paper:#F5F8FB;
  --line:#DDE5EC;
  --text-900:#14202B;
  --white:#fff;
  --maxw:1240px;
  --grad:linear-gradient(92deg,var(--blue),var(--cyan));
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:"Helvetica Neue",Helvetica,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--text-900);
  background:var(--white);
  line-height:1.65;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.18;font-weight:800;color:var(--navy);}
h2{font-size:clamp(1.7rem,3vw,2.3rem);letter-spacing:-.01em;}
p{margin:0 0 1em;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
ul{margin:0;padding:0;}

/* ---------- 导航：毛玻璃浅色悬浮（方案C），banner 图下移不与导航重叠 ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  color:var(--navy);
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  transition:background .25s ease,box-shadow .25s ease;
}
.site-header.scrolled{
  background:rgba(255,255,255,.96);
  box-shadow:0 2px 14px rgba(11,30,48,.14);
}
.metabar{border-bottom:1px solid rgba(14,42,68,.12);font-size:.78rem;}
.metabar .container{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding-top:6px;padding-bottom:6px;}
.metabar a{color:rgba(14,42,68,.7);}
.metabar a:hover{color:var(--blue);}
.metabar .sep{color:rgba(14,42,68,.3);}
.lang-switch{display:flex;align-items:center;gap:4px;font-weight:700;}
.lang-switch a{padding:2px 8px;color:rgba(14,42,68,.5);}
.lang-switch a.active{color:var(--blue);border-bottom:2px solid var(--blue);}
.lang-switch .divider{color:rgba(14,42,68,.35);}

.navrow .container{display:flex;align-items:center;justify-content:space-between;padding-top:12px;padding-bottom:12px;}
.navrow .logo{display:inline-flex;align-items:center;} /* 透明背景，logo 原色 */
.navrow .logo img{height:44px;width:auto;}
.navrow .logo img[src*="logo%20en"]{height:60px;} /* 英文logo留白多，放大以匹配中文视觉比例 */
.navlinks{display:flex;gap:32px;align-items:center;}
.navlinks a{
  position:relative;font-weight:600;font-size:.98rem;color:var(--navy);padding:8px 0;
}
.navlinks a::after{
  content:"";position:absolute;left:0;bottom:0;height:3px;width:0;
  background:var(--grad);transition:width .25s ease;
}
.navlinks a:hover,.navlinks a.active{color:var(--blue);}
.navlinks a:hover::after,.navlinks a.active::after{width:100%;}

/* 按钮 */
.btn{display:inline-block;padding:13px 30px;border-radius:0;font-weight:700;font-size:.92rem;letter-spacing:.03em;transition:all .2s ease;}
.btn-red{background:var(--red);color:var(--white);}
.btn-red:hover{background:var(--red-dark);transform:translateY(-2px);}
.btn-blue{background:var(--blue);color:var(--white);}
.btn-blue:hover{background:var(--blue-dark);transform:translateY(-2px);}
.btn-ghost{border:2px solid rgba(255,255,255,.85);color:var(--white);}
.btn-ghost:hover{background:var(--white);color:var(--navy);}
.btn-ghost-dark{border:2px solid var(--navy);color:var(--navy);}
.btn-ghost-dark:hover{background:var(--navy);color:var(--white);}

/* ---------- 首屏：全幅轮播（banner 自带文案，不叠加标题）----------
   导航悬浮在上方深色留白区，banner 图从 padding-top 以下开始，互不重叠 */
.hero{position:relative;padding-top:104px;overflow:hidden;background:var(--paper);}
.hero .carousel-track{display:flex;aspect-ratio:1920/640;max-height:640px;min-height:380px;width:100%;transition:transform .7s cubic-bezier(.7,0,.3,1);}
.hero .carousel-slide{flex:0 0 100%;background-size:cover;background-position:center;}
/* 英文版banner文案/产品图偏下，视口整体上移，避免底部产品图被裁 */
.en-hero .carousel-slide{background-position:center 72%;}
.hero .scrim{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(11,30,48,.9) 0%,rgba(11,30,48,.6) 45%,rgba(11,30,48,.12) 80%),
             linear-gradient(0deg,rgba(11,30,48,.55) 0%,rgba(11,30,48,0) 34%);
}
.hero-content{
  position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;
  pointer-events:none;
}
.hero-content .container{padding-bottom:150px;width:100%;}
.hero-content a{pointer-events:auto;}
.hero-eyebrow{
  display:inline-block;color:var(--cyan);font-weight:700;font-size:.85rem;
  text-transform:uppercase;letter-spacing:.22em;margin-bottom:14px;
}
.hero-content h1{
  color:var(--white);font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800;
  max-width:640px;margin-bottom:14px;letter-spacing:-.01em;
}
.hero-content .lead{color:rgba(255,255,255,.82);font-size:1.08rem;max-width:560px;margin-bottom:26px;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;}

.hero .carousel-dots{position:absolute;left:28px;bottom:118px;z-index:3;display:flex;gap:8px;}
@media(min-width:1300px){.hero .carousel-dots{left:calc((100% - var(--maxw))/2 + 28px);}}
.hero .carousel-dots button{width:34px;height:4px;border:none;border-radius:0;background:rgba(11,30,48,.25);cursor:pointer;padding:0;transition:background .2s;}
.hero .carousel-dots button.active{background:var(--blue);}
.hero .carousel-arrow{
  position:absolute;bottom:104px;z-index:3;width:46px;height:46px;border:none;
  background:rgba(11,30,48,.45);color:#fff;font-size:1.15rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.hero .carousel-arrow:hover{background:var(--blue);}
.hero .carousel-arrow.prev{right:88px;}
.hero .carousel-arrow.next{right:28px;}

/* ---------- 首屏下方：三大入口卡片，上叠 hero（负边距） ---------- */
.entry-cards{position:relative;z-index:5;margin-top:-92px;}
.entry-cards .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
@media(max-width:850px){.entry-cards .grid{grid-template-columns:1fr;}}
.entry-card{
  background:var(--white);padding:30px 28px 26px;border-top:4px solid var(--blue);
  box-shadow:0 14px 40px rgba(11,30,48,.16);
  display:flex;flex-direction:column;gap:8px;
  transition:transform .22s ease,box-shadow .22s ease;
}
.entry-card:hover{transform:translateY(-6px);box-shadow:0 22px 48px rgba(11,30,48,.22);}
.entry-card .t-icon{line-height:1;}
.entry-card .t-icon svg{width:36px;height:36px;stroke:var(--blue);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.entry-card h3{margin:0;font-size:1.18rem;}
.entry-card p{margin:0;color:var(--steel);font-size:.9rem;}
.entry-card .arrow{margin-top:8px;font-weight:800;color:var(--blue);font-size:1.15rem;transition:transform .2s;}
.entry-card:hover .arrow{transform:translateX(6px);}

/* ---------- 版块通用 ---------- */
section{padding:84px 0;}
.section-head{max-width:780px;margin:0 0 46px;}
.section-head.center{margin:0 auto 46px;text-align:center;}
.section-head .kicker{
  display:inline-block;color:var(--blue);font-weight:800;text-transform:uppercase;
  font-size:.8rem;letter-spacing:.18em;margin-bottom:12px;
}
.section-head .kicker::before{
  content:"";display:inline-block;width:26px;height:3px;background:var(--grad);
  vertical-align:middle;margin-right:10px;
}
.section-head p.small{color:var(--steel);}
.bg-paper{background:var(--paper);}
.bg-ink{background:linear-gradient(115deg,var(--ink) 0%,var(--navy) 55%,#123B5F 100%);color:var(--white);}
.bg-ink h2,.bg-ink h3{color:var(--white);}
.bg-ink .text-muted{color:#9FB4C6;}

/* 入场动画 */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease,transform .6s ease;}
.reveal.in{opacity:1;transform:none;}

/* ---------- 网格与产品卡片 ---------- */
.grid{display:grid;gap:28px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
@media(max-width:900px){.grid-3{grid-template-columns:repeat(2,1fr);} .grid-2{grid-template-columns:1fr;}}
@media(max-width:600px){.grid-3,.grid-2{grid-template-columns:1fr;}}

.product-card{
  background:var(--white);border:1px solid var(--line);overflow:hidden;
  display:flex;flex-direction:column;position:relative;
  transition:box-shadow .22s ease,transform .22s ease;
}
.product-card::after{
  content:"";position:absolute;left:0;bottom:0;height:4px;width:0;background:var(--grad);
  transition:width .3s ease;
}
.product-card:hover{transform:translateY(-5px);box-shadow:0 16px 36px rgba(11,30,48,.12);}
.product-card:hover::after{width:100%;}
.product-card:hover h3{color:var(--blue);}
.product-card .thumb{background:var(--paper);height:200px;display:flex;align-items:center;justify-content:center;padding:18px;overflow:hidden;}
.product-card .thumb img{max-height:165px;object-fit:contain;transition:transform .35s ease;}
.product-card:hover .thumb img{transform:scale(1.07);}
/* 备件卡片：小标题/型号行统一高度，使蓝色标题跨卡片对齐 */
.pc-eyebrow{font-size:.8rem;font-weight:700;color:var(--navy);margin:0 0 2px;line-height:1.2;}
.pc-series{font-size:.8rem;font-weight:700;color:var(--steel);margin:0 0 8px;}
.parts-cards .pc-eyebrow{min-height:2.4em;}
.parts-cards .pc-series{min-height:1.1em;}
.parts-cards .product-card .body h3{margin:0 0 4px;}
.product-card .body{padding:24px;display:flex;flex-direction:column;flex:1;}
.product-card h3{font-size:1.12rem;margin-bottom:8px;transition:color .15s;}
.product-card p{color:var(--steel);font-size:.9rem;flex:1;}
/* 小字（eyebrow / 系列行）不参与撑高，保证蓝色标题在各卡片间对齐 */
.product-card p.small{flex:0 0 auto;}
.product-card .more{margin-top:14px;color:var(--blue);font-weight:700;font-size:.88rem;}

/* ---------- 大数字条（NETZSCH式，滚动计数） ---------- */
.stat-bar{padding:70px 0;background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.stat-bar .grid{grid-template-columns:repeat(4,1fr);text-align:center;gap:20px;}
.stat-bar .num{
  font-size:clamp(2.6rem,4.5vw,3.8rem);font-weight:800;letter-spacing:-.02em;line-height:1.1;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.stat-bar .label{font-size:.85rem;color:var(--steel);text-transform:uppercase;letter-spacing:.1em;margin-top:6px;}
@media(max-width:700px){.stat-bar .grid{grid-template-columns:repeat(2,1fr);row-gap:34px;}}

/* ---------- 兼容备件条 ---------- */
.compat-strip{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:center;}
.compat-strip .brand{
  border:1px solid var(--line);padding:12px 24px;font-weight:700;color:var(--navy);background:var(--white);
  transition:all .2s ease;
}
.compat-strip .brand:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-3px);}

/* ---------- 行业标签 ---------- */
.tag-list{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0;}
.tag-list span{
  background:var(--white);border:1px solid var(--line);color:var(--navy);
  font-size:.84rem;font-weight:600;padding:9px 18px;cursor:default;
  transition:all .18s ease;
}
.tag-list span:hover{background:var(--blue);border-color:var(--blue);color:#fff;transform:translateY(-3px);}

/* ---------- CTA 大区块 ---------- */
.cta-band{padding:96px 0;}
.cta-band h2{font-size:clamp(1.9rem,3.4vw,2.6rem);max-width:720px;margin:0 auto .4em;}
.cta-band p{max-width:600px;margin:0 auto 30px;}

/* ---------- 页脚：深色底（保留上一版），logo 原色透明 ---------- */
footer{background:var(--ink);color:#A9BACB;padding-top:0;}
footer .footer-line{height:4px;background:var(--grad);}
footer .container{padding-top:58px;}
footer .grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;}
@media(max-width:800px){footer .grid{grid-template-columns:1fr 1fr;}}
footer h4{color:#fff;font-size:.92rem;margin-bottom:16px;text-transform:uppercase;letter-spacing:.08em;}
footer ul{list-style:none;}
footer li{margin-bottom:10px;font-size:.9rem;}
footer a:hover{color:#fff;}
footer .logo-row{margin-bottom:16px;}
footer .logo-row img{height:40px;}
footer .small{color:#A9BACB;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding:20px 0;font-size:.8rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:#7288A0;}

/* ---------- 客户 logo 滚动条 ---------- */
.client-marquee{overflow:hidden;position:relative;margin-top:34px;}
.client-marquee::before,.client-marquee::after{
  content:"";position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;
}
.client-marquee::before{left:0;background:linear-gradient(90deg,var(--paper),transparent);}
.client-marquee::after{right:0;background:linear-gradient(270deg,var(--paper),transparent);}
.client-track{display:flex;gap:26px;width:max-content;animation:marquee 28s linear infinite;}
.client-marquee:hover .client-track{animation-play-state:paused;}
.client-track .client{
  background:var(--white);border:1px solid var(--line);height:92px;width:190px;
  display:flex;align-items:center;justify-content:center;padding:16px 24px;flex:0 0 auto;
}
.client-track .client img{max-height:56px;max-width:140px;object-fit:contain;} /* 保留客户 logo 原色 */
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ================= 内页组件（全站铺开） ================= */

/* ---------- 内页 hero ---------- */
.hero.hero-sm{
  position:relative;padding:150px 0 52px;aspect-ratio:auto;max-height:none;min-height:0;
  overflow:visible;background:linear-gradient(180deg,#EAF1F7 0%,#FFFFFF 100%);color:var(--text-900);
}
.hero-sm h1{font-size:2.2rem;color:var(--navy);margin-bottom:10px;}
.hero-sm .lead{font-size:1.05rem;color:var(--steel);max-width:680px;}
.hero-sm .hero-eyebrow{color:var(--blue);}
.hero-sm .btn{margin-top:8px;}
/* 带背景图的内页 hero（如单螺杆泵页） */
.hero-sm[style*="background-image"]{background-size:cover;background-position:center;color:#fff;overflow:hidden;}
.hero-sm[style*="background-image"]::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(11,30,48,.94) 0%,rgba(11,30,48,.8) 45%,rgba(11,30,48,.55) 75%,rgba(11,30,48,.4) 100%),
    linear-gradient(0deg,rgba(11,30,48,.35),rgba(11,30,48,.2));
}
.hero-sm[style*="background-image"] .container{position:relative;z-index:2;}
.hero-sm[style*="background-image"] h1{color:#fff;}
.hero-sm[style*="background-image"] .lead{color:rgba(255,255,255,.85);}
.hero-sm[style*="background-image"] .hero-eyebrow{color:var(--cyan);}
/* 左文右图排版 */
.hero-plain .container{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;}
.hero-plain .hero-text{flex:1;min-width:280px;}
.hero-plain .hero-img{flex:0 0 320px;max-width:320px;box-shadow:0 14px 40px rgba(11,30,48,.18);}

/* ---------- 面包屑 ---------- */
.breadcrumb{font-size:.85rem;color:var(--steel);padding:12px 0;background:var(--white);border-bottom:1px solid var(--line);}
.breadcrumb a{color:var(--blue);}

/* ---------- 版块变体 ---------- */
section.tight{padding:46px 0;}
.bg-gray{background:var(--paper);}
.bg-navy{background:linear-gradient(115deg,var(--ink) 0%,var(--navy) 55%,#123B5F 100%);color:var(--white);}
.bg-navy h2,.bg-navy h3{color:var(--white);}
.bg-navy .text-muted{color:#9FB4C6;}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:900px){.grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.grid-4{grid-template-columns:1fr;}}

/* ---------- 卡片/提示块 ---------- */
.card{background:var(--white);border:1px solid var(--line);padding:26px;}
.callout{background:var(--paper);border-left:4px solid var(--blue);padding:18px 22px;margin:18px 0;}
.note-box{background:#FFF7E8;border:1px solid #F0D89A;color:#6B5300;padding:14px 18px;font-size:.88rem;margin:20px 0;}
.badge{display:inline-block;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:4px 14px;font-size:.78rem;font-weight:700;color:var(--blue);margin:2px 4px 2px 0;}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;}
@media(max-width:850px){.two-col{grid-template-columns:1fr;}}

/* ---------- 表格 ---------- */
table{border-collapse:collapse;width:100%;font-size:.95rem;}
th,td{border:1px solid var(--line);padding:8px 12px;text-align:left;}
th{background:var(--paper);font-weight:700;color:var(--navy);}

/* ---------- 表单 ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(max-width:700px){.form-grid{grid-template-columns:1fr;}}
.form-grid .full{grid-column:1/-1;}
label{display:block;font-weight:700;font-size:.85rem;margin-bottom:6px;color:var(--navy);}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:0;font-family:inherit;font-size:.95rem;background:var(--white);}
input:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:-1px;}
textarea{resize:vertical;}
.req{color:var(--red);}
.contact-info-card{background:linear-gradient(135deg,var(--ink) 0%,var(--navy) 100%);color:var(--white);padding:32px;}
.contact-info-card h3{color:#fff;}
.contact-info-card .item{margin-bottom:18px;}
.contact-info-card .item .label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#9FB4C6;margin-bottom:4px;}

/* ---------- 车间照片横向滚动条（统一裁切尺寸） ---------- */
.facility-strip{
  display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:12px;-webkit-overflow-scrolling:touch;
}
.facility-strip img{
  flex:0 0 400px;width:400px;height:260px;object-fit:cover;
  scroll-snap-align:start;
}
.facility-strip::-webkit-scrollbar{height:6px;}
.facility-strip::-webkit-scrollbar-track{background:var(--line);}
.facility-strip::-webkit-scrollbar-thumb{background:var(--blue);}
@media(max-width:600px){.facility-strip img{flex-basis:290px;width:290px;height:195px;}}

/* ---------- 产品图册：主图+缩略图切换 ---------- */
.product-gallery{display:flex;flex-direction:column;gap:12px;}
.product-gallery .pg-main{
  background:var(--white);border:1px solid var(--line);height:340px;
  display:flex;align-items:center;justify-content:center;padding:20px;
}
.product-gallery .pg-main img{max-height:300px;max-width:100%;object-fit:contain;transition:opacity .2s;}
.product-gallery .pg-thumbs{display:flex;gap:10px;flex-wrap:wrap;}
.product-gallery .pg-thumbs button{
  width:76px;height:64px;border:1px solid var(--line);background:var(--white);cursor:pointer;
  display:flex;align-items:center;justify-content:center;padding:6px;transition:border-color .15s;
}
.product-gallery .pg-thumbs button img{max-height:50px;max-width:100%;object-fit:contain;}
.product-gallery .pg-thumbs button:hover{border-color:var(--blue);}
.product-gallery .pg-thumbs button.active{border:2px solid var(--blue);}

/* ---------- 横向推进流程图（定制服务6步） ---------- */
.step-flow{display:flex;align-items:stretch;overflow-x:auto;gap:0;}
.step-flow .step{
  flex:1;min-width:150px;background:var(--white);border:1px solid var(--line);border-left:none;
  padding:20px 26px 18px 34px;display:flex;flex-direction:column;gap:2px;position:relative;
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%,18px 50%);
}
.step-flow .step:first-child{border-left:1px solid var(--line);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%);padding-left:26px;}
.step-flow .step .no{
  font-size:1.6rem;font-weight:800;line-height:1.1;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;
}
.step-flow .step strong{font-size:.88rem;color:var(--navy);}
.step-flow .step .small{color:var(--steel);font-size:.78rem;}
@media(max-width:900px){.step-flow{flex-wrap:nowrap;}}

/* ---------- 旧类名兼容 ---------- */
.btn-primary{background:var(--red);color:var(--white);}
.btn-primary:hover{background:var(--red-dark);transform:translateY(-2px);}
.btn-outline{border:2px solid rgba(255,255,255,.85);color:var(--white);}
.btn-outline:hover{background:var(--white);color:var(--navy);}
.btn-outline-dark{border:2px solid var(--navy);color:var(--navy);}
.btn-outline-dark:hover{background:var(--navy);color:var(--white);}
.mt-0{margin-top:0;}

/* ---------- 其他 ---------- */
.center{text-align:center;}
.small{font-size:.85rem;color:var(--steel);}
@media(max-width:900px){
  .navlinks{display:none;} /* 小样阶段：移动端菜单后续再做 */
  .hero-content .container{padding-bottom:120px;}
}
