:root{
  --brand:#1a5fb4;
  --brand-dark:#0f3d7a;
  --brand-light:#e8f1fb;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#f7f9fc;
  --white:#fff;
  --shadow:0 8px 28px rgba(15,61,122,.08);
  --radius:12px;
  --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul,ol{margin:0;padding:0;list-style:none}
.container{width:min(100% - 32px,var(--max));margin:0 auto}

/* header */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:80px;gap:20px;
}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{height:58px;width:auto}
.nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.nav a{
  padding:8px 12px;border-radius:8px;font-size:14px;color:#334155;
  transition:.2s;
}
.nav a:hover,.nav a.active{background:var(--brand);color:#fff}
.header-hotline{font-size:13px;color:var(--brand-dark);font-weight:600;white-space:nowrap}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 12px}

/* hero - 全幅背景铺满，产品在背景图右侧完整显示 */
.hero{position:relative;overflow:hidden;background:#d9e7f5}
.hero-slide{
  display:none;
  min-height:clamp(420px,52vw,560px);
  background-size:cover;
  background-position:80% center;
  background-repeat:no-repeat;
}
.hero-slide.active{display:block}
.hero-mask{
  min-height:inherit;
  display:flex;align-items:center;
  background:linear-gradient(90deg,rgba(235,244,252,.94) 0%,rgba(235,244,252,.72) 36%,rgba(235,244,252,.18) 58%,transparent 72%);
}
.hero-copy{padding:48px 0;max-width:520px}
.hero-copy h1{
  margin:0 0 10px;font-size:clamp(28px,3.8vw,44px);line-height:1.25;
  color:var(--brand);font-weight:800;letter-spacing:.02em;
}
.hero-copy h1 span{display:block;color:var(--brand-dark)}
.hero-copy .sub{color:#475569;margin:0 0 22px;font-size:15px}
.hero-points{display:grid;gap:10px;margin:0 0 28px}
.hero-points li{
  display:flex;align-items:center;gap:10px;color:#334155;font-size:14px;
}
.hero-points li::before{
  content:"";width:18px;height:18px;border-radius:50%;
  background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.2 11.2 2.8 7.8l1.1-1.1 2.3 2.3 5-5 1.1 1.1z'/%3E%3C/svg%3E") center/12px no-repeat;
  flex-shrink:0;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;padding:0 20px;border-radius:10px;font-size:14px;font-weight:600;
  border:none;cursor:pointer;transition:.2s;
}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-ghost{background:#fff;color:var(--brand);border:1px solid #c7d7ef;margin-left:10px}
.hero-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}
.hero-dots button{
  width:10px;height:10px;border-radius:50%;border:0;background:#94a3b8;cursor:pointer;
}
.hero-dots button.active{background:var(--brand);width:24px;border-radius:999px}

/* sections */
.section{padding:64px 0}
.section.alt{background:var(--bg)}
.section-head{text-align:center;margin-bottom:36px;position:relative}
.section-head .en{
  font-size:clamp(28px,5vw,56px);font-weight:800;letter-spacing:.08em;
  color:rgba(26,95,180,.08);line-height:1;text-transform:uppercase;
}
.section-head h2{
  margin:-28px 0 8px;font-size:28px;position:relative;z-index:1;
}
.section-head p{margin:0;color:var(--muted);font-size:14px}

.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.cat-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 16px;text-align:center;transition:.25s;box-shadow:0 0 0 transparent;
}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#bfd4f2}
.cat-card img{width:72px;height:72px;object-fit:contain;margin:0 auto 12px}
.cat-card h3{margin:0 0 6px;font-size:16px}
.cat-card p{margin:0;font-size:12px;color:var(--muted)}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.product-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:.25s;
}
.product-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.product-card .thumb{
  aspect-ratio:4/3;background:#f3f6fb;display:flex;align-items:center;justify-content:center;padding:18px;
}
.product-card .thumb img{max-height:180px;width:auto;object-fit:contain}
.product-card .body{padding:14px 16px 18px}
.product-card h3{margin:0 0 6px;font-size:15px;font-weight:600}
.product-card .brief{margin:0;font-size:12px;color:var(--muted);min-height:36px}

.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feature-card{
  background:#fff;border-radius:var(--radius);padding:24px 18px;border:1px solid var(--line);
}
.feature-card .num{color:var(--brand);font-weight:800;font-size:22px;margin-bottom:8px}
.feature-card h3{margin:0 0 8px;font-size:16px}
.feature-card p{margin:0;color:var(--muted);font-size:13px}

.about-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center}
.about-wrap h3{margin:0 0 12px;font-size:24px;color:var(--brand-dark)}
.about-wrap .content{color:#475569;font-size:14px}
.about-wrap .content p{margin:0 0 10px}
.about-visual{
  border-radius:16px;overflow:hidden;background:#e8f1fb;min-height:280px;
  display:flex;align-items:center;justify-content:center;padding:20px;
}
.about-visual img{max-height:300px;object-fit:contain}

.news-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}
.news-feature{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:grid;grid-template-columns:1fr 1fr;
}
.news-feature img{width:100%;height:100%;object-fit:cover;min-height:220px;background:#eef3f9}
.news-feature .txt{padding:22px}
.news-feature h3{margin:0 0 10px;font-size:18px}
.news-list{display:grid;gap:12px}
.news-list a{
  display:flex;justify-content:space-between;gap:12px;padding:14px 16px;
  background:#fff;border:1px solid var(--line);border-radius:10px;font-size:14px;
}
.news-list a:hover{border-color:#bfd4f2;color:var(--brand)}
.news-list time{color:var(--muted);font-size:12px;white-space:nowrap}

.case-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.case-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.case-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef3f9}
.case-card h3{margin:0;padding:12px 14px;font-size:14px}

/* page layout */
.page-banner{
  background:linear-gradient(120deg,var(--brand-dark),var(--brand));
  color:#fff;padding:42px 0 36px;
}
.page-banner h1{margin:0 0 8px;font-size:28px}
.page-banner .crumb{font-size:13px;opacity:.85}
.page-banner .crumb a{opacity:.95}
.page-banner .crumb a:hover{text-decoration:underline}

.page-main{padding:36px 0 64px;background:var(--bg)}
.layout-2{display:grid;grid-template-columns:260px 1fr;gap:24px;align-items:start}
.side-panel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  position:sticky;top:88px;
}
.side-panel .side-title{
  background:linear-gradient(135deg,var(--brand),#2b78d6);
  color:#fff;padding:16px 18px;
}
.side-panel .side-title strong{display:block;font-size:18px}
.side-panel .side-title span{font-size:11px;letter-spacing:.12em;opacity:.85}
.cat-nav .parent>a{
  display:block;padding:12px 16px;background:#1e4f96;color:#fff;font-weight:600;font-size:14px;
  border-top:1px solid rgba(255,255,255,.12);
}
.cat-nav .child a{
  display:block;padding:10px 16px 10px 28px;background:#edf4fc;color:#1e3a5f;font-size:13px;
  border-bottom:1px solid #dce8f5;
}
.cat-nav .child a:hover,.cat-nav .child a.active{background:#d7e7fb;color:var(--brand)}
.side-contact{padding:16px;font-size:13px;color:#475569;border-top:1px solid var(--line)}
.side-contact strong{display:block;margin-bottom:8px;color:var(--brand-dark)}

.content-panel{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;
}
.content-panel h2.panel-title{margin:0 0 18px;font-size:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}

.pager{margin-top:24px;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.pager a,.pager span{
  min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:8px;font-size:13px;background:#fff;
}
.pager .active{background:var(--brand);color:#fff;border-color:var(--brand)}

/* detail */
.detail-top{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.detail-gallery{
  background:#f3f6fb;border-radius:var(--radius);padding:24px;
  display:flex;align-items:center;justify-content:center;min-height:340px;
}
.detail-gallery img{max-height:300px;object-fit:contain}
.detail-info h1{margin:0 0 12px;font-size:24px}
.detail-info .meta{color:var(--muted);font-size:14px;margin-bottom:16px}
.detail-info .meta p{margin:0 0 6px}
.detail-body{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.detail-body h3{margin:0 0 12px;font-size:18px}
.detail-body img{max-width:100%}

.article-list{display:grid;gap:12px}
.article-item{
  display:grid;grid-template-columns:140px 1fr;gap:16px;padding:14px;
  border:1px solid var(--line);border-radius:10px;
}
.article-item img{width:140px;height:90px;object-fit:cover;border-radius:8px;background:#eef3f9;object-position:center}
.article-item img[src*="/down/"]{object-fit:contain;padding:8px;background:#f3f6fb}
.article-item h3{margin:0 0 6px;font-size:16px}
.article-item p{margin:0;font-size:13px;color:var(--muted)}

.rich{font-size:15px;color:#334155}
.rich p{margin:0 0 12px}
.rich ul{padding-left:18px;list-style:disc;margin:0 0 12px}
.form-card label{display:block;margin:0 0 6px;font-size:13px;color:#475569}
.form-card input,.form-card textarea{
  width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-bottom:14px;font:inherit;
}
.form-card textarea{min-height:120px;resize:vertical}
.captcha-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.captcha-row img{
  height:42px;width:auto;border-radius:8px;border:1px solid var(--line);background:#f8fafc;flex-shrink:0;
}
.form-tip{margin:0 0 14px;font-size:12px;color:#94a3b8}
.hp-field{
  position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;
  overflow:hidden!important;opacity:0!important;pointer-events:none!important;
}

/* footer */
.site-footer{background:#1b2430;color:#cbd5e1;padding:48px 0 20px;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr;gap:28px}
.footer-grid h4{margin:0 0 14px;color:#fff;font-size:16px}
.footer-grid p,.footer-grid a{font-size:13px;color:#94a3b8}
.footer-grid a:hover{color:#fff}
.footer-grid .brand img{height:42px;margin-bottom:12px;background:#fff;border-radius:8px;padding:4px}
.footer-bottom{
  margin-top:28px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);
  font-size:12px;color:#64748b;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
}

.float-bar{
  position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:90;
  display:flex;flex-direction:column;gap:1px;
  background:#fff;border:1px solid #dbe4f0;border-right:0;
  border-radius:12px 0 0 12px;overflow:hidden;
  box-shadow:-4px 8px 24px rgba(15,61,122,.12);
}
.float-item{
  width:56px;min-height:56px;padding:8px 4px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  color:var(--brand);background:#fff;transition:.2s ease;
  border-bottom:1px solid #eef2f7;
}
.float-item:last-child{border-bottom:0}
.float-ico{width:22px;height:22px;display:block}
.float-ico svg{width:100%;height:100%;display:block}
.float-txt{font-size:11px;line-height:1;color:#64748b;font-weight:600}
.float-item:hover{background:var(--brand);color:#fff}
.float-item:hover .float-txt{color:#fff}
.float-top{opacity:.55}
.float-top.is-show{opacity:1}
@media (max-width:768px){
  .float-bar{right:8px;border-radius:12px;border-right:1px solid #dbe4f0}
  .float-item{width:48px;min-height:48px}
  .float-txt{display:none}
}

@media (max-width:1024px){
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .feature-grid,.case-grid{grid-template-columns:repeat(2,1fr)}
  .about-wrap,.news-feature,.detail-top,.layout-2,.footer-grid{grid-template-columns:1fr}
  .hero-slide{background-position:70% center}
  .hero-mask{background:linear-gradient(180deg,rgba(235,244,252,.92) 0%,rgba(235,244,252,.55) 55%,rgba(235,244,252,.2) 100%)}
  .side-panel{position:static}
  .news-grid{grid-template-columns:1fr}
}
@media (max-width:768px){
  .menu-toggle{display:inline-flex}
  .brand img{height:42px}
  .header-inner{min-height:64px}
  .nav{display:none;position:absolute;left:0;right:0;top:64px;background:#fff;border-bottom:1px solid var(--line);padding:10px;flex-direction:column;align-items:stretch}
  .nav.open{display:flex}
  .header-hotline{display:none}
  .cat-grid,.product-grid,.feature-grid,.case-grid{grid-template-columns:1fr}
  .article-item{grid-template-columns:1fr}
  .article-item img{width:100%;height:160px}
}
