/* =========================================================
   森瓦迪 SENWADI — 工业设备官网样式
   深色 · 简洁 · 加载快
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root{
  --bg:        #0a0d12;
  --bg-2:      #0e131b;
  --panel:     #121823;
  --panel-2:   #161d2a;
  --line:      #222b3a;
  --line-2:    #2e3a4d;
  --text:      #e8edf4;
  --text-2:    #aab6c8;
  --muted:     #74839a;
  --accent:    #ff6a1a;
  --accent-2:  #ff8a3d;
  --accent-dim:rgba(255,106,26,.14);
  --steel:     #4a90d9;
  --ok:        #35c98a;
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1240px;
  --shadow:    0 18px 50px -22px rgba(0,0,0,.85);
  --font: "PingFang SC","Microsoft YaHei","Hiragino Sans GB","Noto Sans SC",
          -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  font-size:16px;
  overflow-x:hidden;
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} *{animation:none!important;transition:none!important;} }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ line-height:1.2; margin:0; font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

/* ---------- 布局 ---------- */
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; position:relative; }
.section--tight{ padding:56px 0; }
.section--alt{ background:var(--bg-2); }
.center{ text-align:center; }
.grid{ display:grid; gap:22px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:980px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } .section{padding:60px 0;} .wrap{padding:0 18px;} }

/* ---------- 排版辅助 ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent); margin-bottom:16px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--accent); }
.eyebrow.center-line::after{ content:""; width:26px; height:2px; background:var(--accent); }

.h-sec{ font-size:clamp(26px,3.4vw,40px); }
.lead{ color:var(--text-2); font-size:17px; margin-top:16px; max-width:680px; }
.section-head{ margin-bottom:46px; }
.section-head.center{ display:flex; flex-direction:column; align-items:center; }
.section-head.center .lead{ margin-left:auto; margin-right:auto; }

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:13px 26px; border-radius:var(--radius-sm);
  font-weight:700; font-size:15px; cursor:pointer; border:1px solid transparent;
  transition:.18s ease; white-space:nowrap;
}
.btn-primary{ background:var(--accent); color:#1a0d02; }
.btn-primary:hover{ background:var(--accent-2); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--line-2); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn-dark{ background:#0c1017; color:var(--text); border-color:var(--line); }
.btn-dark:hover{ border-color:var(--line-2); }
.btn-lg{ padding:16px 34px; font-size:16px; }
.btn-block{ width:100%; }

/* =========================================================
   顶部导航
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(10,13,18,.72);
  backdrop-filter:saturate(140%) blur(14px);
  -webkit-backdrop-filter:saturate(140%) blur(14px);
  border-bottom:1px solid var(--line);
  transition:.25s ease;
}
.site-header.scrolled{ background:rgba(9,11,16,.93); box-shadow:0 10px 30px -18px rgba(0,0,0,.9); }
.nav-top{ display:flex; align-items:center; justify-content:space-between; height:70px; gap:22px; }

.logo{ display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.02em; }
.logo .mark{
  width:34px; height:34px; border-radius:8px; flex:none;
  background:linear-gradient(135deg,var(--accent),#c9480a);
  display:grid; place-items:center; color:#1a0d02; font-weight:900; font-size:18px;
  box-shadow:0 6px 18px -6px rgba(255,106,26,.7);
}
.logo .txt{ display:flex; flex-direction:column; line-height:1.06; }
.logo .txt b{ font-size:17px; }
.logo .txt span{ font-size:10.5px; letter-spacing:.22em; color:var(--muted); font-weight:600; }

.mainnav{ display:flex; align-items:center; gap:4px; }
.nav-item{ position:relative; }
.nav-link{
  display:flex; align-items:center; gap:6px;
  padding:10px 14px; border-radius:8px; font-size:15px; font-weight:600; color:var(--text-2);
  transition:.15s ease; cursor:pointer;
}
.nav-link:hover{ color:var(--text); background:rgba(255,255,255,.04); }
.nav-link.active{ color:var(--accent); }
.nav-link .chev{ width:9px; height:9px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg) translateY(-2px); opacity:.7; }

.dropdown{
  position:absolute; top:calc(100% + 10px); left:0; min-width:250px;
  background:var(--panel); border:1px solid var(--line); border-radius:12px;
  padding:10px; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(8px); transition:.18s ease; z-index:70;
}
.nav-item:hover .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{
  display:flex; flex-direction:column; gap:1px; padding:10px 12px; border-radius:8px; transition:.14s ease;
}
.dropdown a:hover{ background:var(--panel-2); }
.dropdown a b{ font-size:14px; font-weight:600; color:var(--text); }
.dropdown a span{ font-size:12px; color:var(--muted); }
.dropdown a:hover b{ color:var(--accent); }

.nav-actions{ display:flex; align-items:center; gap:12px; }
.lang{ display:flex; gap:2px; font-size:12.5px; font-weight:700; color:var(--muted); }
.lang a{ padding:4px 7px; border-radius:6px; }
.lang a:hover{ color:var(--text); }
.lang a.on{ color:var(--accent); background:var(--accent-dim); }

.burger{ display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:10px; background:var(--panel); cursor:pointer; }
.burger span{ display:block; width:20px; height:2px; background:var(--text); margin:4px auto; border-radius:2px; transition:.2s; }
.burger.on span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.on span:nth-child(2){ opacity:0; }
.burger.on span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

@media(max-width:1080px){
  .mainnav{
    position:fixed; inset:70px 0 auto 0; flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg-2); border-bottom:1px solid var(--line); padding:10px 18px 22px;
    max-height:calc(100vh - 70px); overflow:auto;
    transform:translateY(-12px); opacity:0; visibility:hidden; transition:.2s ease;
  }
  .mainnav.open{ transform:none; opacity:1; visibility:visible; }
  .nav-item{ border-bottom:1px solid var(--line); }
  .nav-link{ padding:15px 6px; font-size:16px; justify-content:space-between; }
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:none; background:transparent; padding:0 0 10px 10px; display:none;
  }
  .nav-item.open .dropdown{ display:block; }
  .burger{ display:block; }
  .lang{ display:none; }
  .logo .txt span{ display:none; }
  .logo{ min-width:0; }
  .nav-top{ gap:12px; }
}
@media(max-width:560px){
  .logo .txt b{ font-size:15.5px; }
  .logo .mark{ width:30px; height:30px; font-size:16px; }
  .nav-actions{ gap:8px; }
  .burger{ width:40px; height:40px; }
  .nav-actions .btn{ display:none; }          /* 小屏收起顶栏按钮 */
  .mainnav .nav-cta-m{ display:flex; margin:16px 6px 0; }
}
.nav-cta-m{ display:none; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(255,106,26,.20), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(74,144,217,.16), transparent 62%),
    linear-gradient(180deg,#0b0f16,#0a0d12);
}
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:radial-gradient(circle at 60% 40%,#000,transparent 78%);
  mask-image:radial-gradient(circle at 60% 40%,#000,transparent 78%);
}
.hero .wrap{ position:relative; z-index:2; padding-top:86px; padding-bottom:96px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
@media(max-width:980px){ .hero-grid{ grid-template-columns:1fr; gap:40px; } }
.hero h1{
  font-size:clamp(32px,5vw,58px); font-weight:900; letter-spacing:-.02em; line-height:1.08;
}
.hero h1 .hl{ color:var(--accent); }
.hero .sub{ margin-top:22px; font-size:clamp(15px,1.6vw,18px); color:var(--text-2); max-width:560px; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-top:34px; }

.hero-stats{ display:flex; gap:14px; flex-wrap:wrap; margin-top:40px; }
.hero-stat{ padding-right:26px; border-right:1px solid var(--line); }
.hero-stat:last-child{ border:none; padding-right:0; }
.hero-stat b{ display:block; font-size:clamp(22px,2.6vw,32px); font-weight:900; color:var(--text); }
.hero-stat span{ font-size:12.5px; color:var(--muted); }

/* Hero 右侧设备视觉卡 */
.hero-visual{ position:relative; }
.hv-frame{
  position:relative; border:1px solid var(--line); border-radius:18px; overflow:hidden;
  background:linear-gradient(160deg,#131a26,#0c1017); box-shadow:var(--shadow);
  aspect-ratio:4/3.4;
}
.hv-frame .scanline{
  position:absolute; inset:0; opacity:.5;
  background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 5px);
}
.hv-badge{
  position:absolute; left:16px; top:16px; z-index:3;
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(10,13,18,.8); border:1px solid var(--line-2); color:var(--text-2);
  font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px;
}
.hv-badge .dot{ width:7px; height:7px; border-radius:50%; background:var(--ok); box-shadow:0 0 10px var(--ok); }
.hv-tag{
  position:absolute; right:-14px; bottom:34px; z-index:3;
  background:var(--accent); color:#1a0d02; font-weight:800; font-size:13px;
  padding:12px 16px; border-radius:12px; box-shadow:0 14px 30px -12px rgba(255,106,26,.8);
}
.hv-tag span{ display:block; font-size:11px; font-weight:700; opacity:.8; }
.hv-machine{ position:absolute; inset:0; display:grid; place-items:center; color:#8ea0ba; }
.hv-machine svg{ width:76%; height:auto; max-height:86%; }

/* =========================================================
   卡片与组件
   ========================================================= */
.card{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; transition:.2s ease; position:relative; overflow:hidden;
}
.card:hover{ border-color:var(--line-2); transform:translateY(-3px); box-shadow:var(--shadow); }
.card .ico{
  width:46px; height:46px; border-radius:11px; display:grid; place-items:center;
  background:var(--accent-dim); color:var(--accent); margin-bottom:18px;
}
.card .ico svg{ width:24px; height:24px; }
.card h3{ font-size:19px; margin-bottom:9px; }
.card p{ color:var(--text-2); font-size:14.5px; }
.card .more{ display:inline-flex; align-items:center; gap:7px; margin-top:16px; color:var(--accent); font-weight:700; font-size:14px; }
.card .more::after{ content:"→"; transition:.2s; }
.card:hover .more::after{ transform:translateX(5px); }

/* 产品卡 */
.pcard{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; transition:.2s ease; display:flex; flex-direction:column;
}
.pcard:hover{ border-color:var(--line-2); transform:translateY(-3px); box-shadow:var(--shadow); }
.pcard .thumb{
  aspect-ratio:16/10; position:relative; overflow:hidden;
  background:linear-gradient(150deg,#151c28,#0d121b);
  display:grid; place-items:center; border-bottom:1px solid var(--line);
}
.pcard .thumb svg{ width:62%; height:62%; opacity:.92; }
.pcard .thumb::after{
  content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 6px); opacity:.6;
}
.pcard .pill{
  position:absolute; left:12px; top:12px; z-index:2;
  background:rgba(10,13,18,.82); border:1px solid var(--line-2); color:var(--text-2);
  font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; border-radius:999px;
}
.pcard .body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.pcard h3{ font-size:17.5px; }
.pcard .model{ font-family:var(--mono); font-size:12.5px; color:var(--accent); margin-top:6px; letter-spacing:.03em; }
.pcard .desc{ color:var(--text-2); font-size:14px; line-height:1.6; margin-top:12px; }
.pcard .specs{ display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.pcard .specs span{
  font-size:12px; color:var(--text-2); background:var(--panel-2); border:1px solid var(--line);
  padding:4px 9px; border-radius:7px;
}
.pcard .specs span b{ color:var(--text); }
.pcard .foot{ margin-top:auto; display:flex; gap:10px; padding-top:6px; }

/* 优势条 */
.adv{ display:flex; gap:14px; align-items:flex-start; }
.adv .n{ font-family:var(--mono); font-size:13px; color:var(--accent); font-weight:700; padding-top:3px; }
.adv h4{ font-size:16px; margin-bottom:6px; }
.adv p{ color:var(--text-2); font-size:14px; }

/* 数字统计 */
.stat-band{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media(max-width:780px){ .stat-band{ grid-template-columns:repeat(2,1fr); } }
.stat{ padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); }
.stat b{ display:block; font-size:34px; font-weight:900; color:var(--accent); line-height:1; }
.stat span{ display:block; margin-top:10px; color:var(--text-2); font-size:14px; }

/* 行业/方案块 */
.ind{
  position:relative; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  min-height:200px; display:flex; flex-direction:column; justify-content:flex-end; padding:24px;
  background:linear-gradient(160deg,#141b27,#0c1017); transition:.2s ease;
}
.ind:hover{ border-color:var(--accent); transform:translateY(-3px); }
.ind .bg{
  position:absolute; right:-30px; top:-20px; width:150px; height:150px; opacity:.12; color:var(--accent);
}
.ind h3{ font-size:19px; }
.ind p{ color:var(--text-2); font-size:13.5px; margin-top:7px; }
.ind .go{ margin-top:14px; color:var(--accent); font-weight:700; font-size:13.5px; }

/* 选型工具 */
.tool{
  background:linear-gradient(160deg,#141c29,#0d121b); border:1px solid var(--line-2);
  border-radius:var(--radius); padding:34px;
}
.tool-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:22px 0; }
@media(max-width:860px){ .tool-grid{ grid-template-columns:1fr 1fr; } }
@media(max-width:520px){ .tool-grid{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:12.5px; font-weight:700; color:var(--text-2); margin-bottom:8px; letter-spacing:.02em; }
.field select,.field input{
  width:100%; padding:12px 14px; border-radius:9px; background:#0b0f16;
  border:1px solid var(--line-2); color:var(--text); font-size:15px; font-family:inherit; outline:none;
}
.field select:focus,.field input:focus{ border-color:var(--accent); }
.tool-result{
  margin-top:20px; padding:20px 22px; border-radius:11px;
  background:var(--accent-dim); border:1px solid rgba(255,106,26,.3);
  display:none;
}
.tool-result.on{ display:block; }
.tool-result h4{ font-size:15px; margin-bottom:6px; }
.tool-result .rec{ font-size:22px; font-weight:900; color:var(--accent); }
.tool-result p{ color:var(--text-2); font-size:13.5px; margin-top:6px; }

/* =========================================================
   表格
   ========================================================= */
.table-scroll{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); }
table.spec{ width:100%; border-collapse:collapse; font-size:14px; min-width:560px; }
table.spec thead th{
  background:var(--panel-2); color:var(--text); text-align:left; font-weight:700;
  padding:14px 16px; border-bottom:1px solid var(--line-2); white-space:nowrap; font-size:13px;
}
table.spec td{ padding:13px 16px; border-bottom:1px solid var(--line); color:var(--text-2); }
table.spec tbody tr:hover td{ background:rgba(255,255,255,.02); }
table.spec td b{ color:var(--text); }
table.spec td.model{ font-family:var(--mono); color:var(--accent); font-weight:700; }
table.spec tbody tr:last-child td{ border-bottom:none; }

.spec-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 40px; }
@media(max-width:720px){ .spec-list{ grid-template-columns:1fr; } }
.spec-row{ display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-bottom:1px dashed var(--line); }
.spec-row dt{ color:var(--muted); font-size:14px; }
.spec-row dd{ margin:0; color:var(--text); font-weight:600; font-size:14px; text-align:right; }
.spec-row dd .unit{ color:var(--muted); font-weight:400; font-size:12px; margin-left:3px; }

/* =========================================================
   CTA 带
   ========================================================= */
.cta-band{
  position:relative; overflow:hidden; border-radius:var(--radius);
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(255,106,26,.24), transparent 60%),
    linear-gradient(150deg,#151d2a,#0e131b);
  border:1px solid var(--line-2); padding:52px;
  display:flex; align-items:center; justify-content:space-between; gap:34px; flex-wrap:wrap;
}
.cta-band h2{ font-size:clamp(22px,3vw,32px); }
.cta-band p{ color:var(--text-2); margin-top:12px; max-width:520px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* =========================================================
   面包屑 / 页头
   ========================================================= */
.page-hero{
  position:relative; overflow:hidden; padding:64px 0 54px;
  background:
    radial-gradient(800px 340px at 85% -20%, rgba(255,106,26,.16), transparent 60%),
    linear-gradient(180deg,#0e131b,#0a0d12);
  border-bottom:1px solid var(--line);
}
.page-hero::before{
  content:""; position:absolute; inset:0; opacity:.4; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(circle at 70% 30%,#000,transparent 80%);
  mask-image:radial-gradient(circle at 70% 30%,#000,transparent 80%);
}
.page-hero .wrap{ position:relative; z-index:2; }
.crumbs{ font-size:13px; color:var(--muted); margin-bottom:16px; display:flex; gap:8px; flex-wrap:wrap; }
.crumbs a:hover{ color:var(--accent); }
.crumbs .sep{ opacity:.5; }
.page-hero h1{ font-size:clamp(28px,4vw,44px); }
.page-hero .lead{ margin-top:16px; }

/* =========================================================
   页面内通用块
   ========================================================= */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media(max-width:900px){ .split{ grid-template-columns:1fr; gap:32px; } }
.panel-img{
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:linear-gradient(160deg,#141b27,#0c1017); aspect-ratio:4/3; position:relative; display:grid; place-items:center;
}
.panel-img svg{ width:64%; height:64%; }

.checklist li{ display:flex; gap:12px; padding:11px 0; color:var(--text-2); font-size:15px; border-bottom:1px solid var(--line); }
.checklist li:last-child{ border-bottom:none; }
.checklist .tick{ width:20px; height:20px; flex:none; margin-top:3px; color:var(--accent); }

/* FAQ 手风琴 */
.faq-item{ border:1px solid var(--line); border-radius:11px; margin-bottom:12px; overflow:hidden; background:var(--panel); }
.faq-q{ width:100%; text-align:left; background:none; border:none; color:var(--text); font-size:16px; font-weight:600; padding:19px 22px; cursor:pointer; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.faq-q .pm{ color:var(--accent); font-size:22px; font-weight:400; flex:none; transition:.2s; }
.faq-item.open .faq-q .pm{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .28s ease; }
.faq-a p{ padding:0 22px 20px; color:var(--text-2); font-size:14.5px; }
.faq-item.open .faq-a{ max-height:400px; }

/* 表单 */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.form-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:32px; }
.form-note{ font-size:12.5px; color:var(--muted); margin-top:14px; }
.field-full{ grid-column:1 / -1; }
textarea.field, textarea{
  width:100%; padding:12px 14px; border-radius:9px; background:#0b0f16;
  border:1px solid var(--line-2); color:var(--text); font-size:15px; font-family:inherit; outline:none; resize:vertical; min-height:110px;
}
textarea:focus{ border-color:var(--accent); }
.form-ok{ display:none; margin-top:16px; padding:14px 18px; border-radius:10px; background:rgba(53,201,138,.12); border:1px solid rgba(53,201,138,.4); color:#7ee6b6; font-size:14px; }
.form-ok.on{ display:block; }

/* 联系信息块 */
.cbox{ display:flex; gap:14px; align-items:flex-start; padding:20px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.cbox .ico{ width:42px; height:42px; border-radius:10px; background:var(--accent-dim); color:var(--accent); display:grid; place-items:center; flex:none; }
.cbox h4{ font-size:15px; margin-bottom:4px; }
.cbox p{ color:var(--text-2); font-size:14px; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer{ background:#080a0e; border-top:1px solid var(--line); padding:64px 0 28px; margin-top:0; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
@media(max-width:900px){ .foot-grid{ grid-template-columns:1fr 1fr; gap:32px; } }
@media(max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand p{ color:var(--muted); font-size:14px; margin-top:16px; max-width:320px; }
.foot-col h5{ font-size:14px; color:var(--text); margin-bottom:18px; letter-spacing:.02em; }
.foot-col li{ margin-bottom:11px; }
.foot-col a{ color:var(--muted); font-size:14px; }
.foot-col a:hover{ color:var(--accent); }
.foot-bottom{
  margin-top:48px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:13px;
}

/* 返回顶部 */
.totop{
  position:fixed; right:22px; bottom:22px; z-index:50; width:46px; height:46px; border-radius:12px;
  background:var(--panel); border:1px solid var(--line-2); color:var(--text); cursor:pointer;
  display:grid; place-items:center; opacity:0; visibility:hidden; transition:.2s;
}
.totop.on{ opacity:1; visibility:visible; }
.totop:hover{ border-color:var(--accent); color:var(--accent); }

/* 滚动渐显:仅在 JS 可用时隐藏,保证无脚本环境内容可见 */
.js .reveal{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity:1; transform:none; }

/* 标签 */
.tag{ display:inline-block; font-size:12px; font-weight:700; color:var(--accent); background:var(--accent-dim); padding:5px 11px; border-radius:999px; }
.tag-gray{ color:var(--text-2); background:var(--panel-2); }

/* 通用间距 */
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.muted{ color:var(--muted); }
.t2{ color:var(--text-2); }
