:root{
  --primary:#4a6bdf;
  --primary2:#1f2328;
  --text:#1f2328;
  --muted:#6c757d;
  --line:#e6e8eb;
  --soft:#f6f8fb;
  --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
/* 菜单锚点平滑滚动 + 不被 sticky 头部遮挡（让顶部菜单切换更柔和） */
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);line-height:1.7;background:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}

/* 导航 */
header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
nav{display:flex;align-items:center;justify-content:space-between;height:64px;gap:24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;white-space:nowrap}
.brand img{height:32px;width:auto}
.brand .dot{width:30px;height:30px;border-radius:8px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:14px}
.navlinks{display:flex;gap:26px;font-size:15px;color:var(--muted);flex-wrap:wrap}
.navlinks a{position:relative;transition:color .2s}
.navlinks a:hover{color:var(--primary)}
/* 下划线：默认收起，hover/选中时平滑滑出，避免切换生硬 */
.navlinks a::after{content:'';position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--primary);border-radius:2px;transform:scaleX(0);transform-origin:center;transition:transform .22s ease}
.navlinks a:hover::after{transform:scaleX(1)}
.navlinks a.on{color:var(--primary);font-weight:600}
.navlinks a.on::after{transform:scaleX(1)}
/* 顶部电话（图标+号码，在顶部菜单右侧）：默认隐藏，仅 classic 经典商务风格展示（风格差异化设计）。
   想换到别的风格展示，把下面选择器里的 classic 改成 tech/warm/elegant 即可 */
.head-phone{display:none}
html[data-style="classic"] .head-phone{display:inline-flex;align-items:center;margin-left:20px}
.head-phone a{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:600;
  font-size:15px;text-decoration:none;white-space:nowrap;transition:color .2s}
.head-phone a:hover{color:var(--primary2)}
.head-phone svg{flex:none}

/* 回到顶部浮动按钮 */
.go-top{position:fixed;right:24px;bottom:28px;z-index:40;width:42px;height:42px;border-radius:50%;
  border:none;background:var(--primary);color:#fff;font-size:18px;cursor:pointer;
  display:none;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.18);transition:opacity .2s}
.go-top:hover{opacity:.85}

/* 通用区块 */
section{padding:72px 0}
section.soft{background:var(--soft)}
h2{font-size:30px;text-align:center;margin-bottom:10px}
.lead{text-align:center;color:var(--muted);margin-bottom:44px}

/* Banner —— 主流网站做法：轮播图 <img> 走文档流、自己撑高度铺满整幅，
   不再用"绝对定位嵌套+容器定高"方案（该方案易出 0 高度/露底渐变/黑边问题） */
.banner{position:relative;overflow:hidden;color:#fff;text-align:center;background:#e9eef6;padding:0}
.banner .slick{position:relative}
.banner .slide{display:none}
.banner .slide.on{display:block}
/* 图片 width:100% 铺满、aspect-ratio 锁 165/32（对应建议尺寸 1650×320）；
   object-fit:cover 裁切补位——任何比例的图都铺满，不露底色、无黑边；
   .banner 高度完全由图片撑开；图片未加载时显示浅色兜底背景 */
.banner .bg{display:block;width:100%;aspect-ratio:165/32;min-height:200px;object-fit:cover;object-position:center;border:0}
.banner .inner{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2;text-shadow:0 2px 16px rgba(0,0,0,.55);padding:0 20px}
.banner h1{font-size:40px;font-weight:700;margin-bottom:18px;line-height:1.3}
.banner p{font-size:17px;opacity:.9;max-width:660px;margin:0 auto 28px}
.btn{display:inline-block;background:#fff;color:var(--primary);padding:11px 26px;border-radius:8px;font-weight:600}
.dots{position:absolute;left:0;right:0;bottom:14px;z-index:3;display:flex;gap:8px;justify-content:center}
.dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:0 0 4px rgba(0,0,0,.25);cursor:pointer;display:block;transition:all .2s}
.dots i.on{background:#fff;width:22px;border-radius:4px}

/* 卡片网格 */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.card{border:1px solid var(--line);border-radius:var(--radius,12px);padding:26px;background:#fff;transition:.2s}
.card:hover{border-color:var(--primary);box-shadow:0 8px 24px rgba(0,0,0,.06);transform:translateY(-2px)}
.card img{width:100%;height:170px;object-fit:cover;border-radius:8px;margin-bottom:14px}
.card h3{font-size:17px;margin-bottom:8px}
.card p{color:var(--muted);font-size:14.5px}
.card .more{display:inline-block;margin-top:12px;color:var(--primary);font-size:14px}

/* 关于 */
.about-body{max-width:780px;margin:0 auto;text-align:center;color:var(--muted);line-height:1.9;font-size:15.5px}
/* 富文本排版：标题/段落/列表/引用/图片 */
.about-body h2{font-size:20px;color:var(--text);margin:26px 0 10px}
.about-body h3{font-size:17px;color:var(--text);margin:20px 0 8px}
.about-body p{margin:0 0 14px}
.about-body ul,.about-body ol{text-align:left;margin:0 auto 14px;max-width:560px;padding-left:22px}
.about-body li{margin-bottom:6px}
.about-body blockquote{border-left:3px solid var(--primary);background:var(--soft);margin:14px 0;padding:10px 16px;border-radius:0 8px 8px 0;text-align:left}
.about-body img{max-width:100%;border-radius:var(--radius,12px);margin:10px 0}
.about-body a{color:var(--primary)}

/* 新闻 */
.news{display:grid;gap:14px}
.news a{display:flex;gap:18px;align-items:center;border:1px solid var(--line);border-radius:var(--radius,12px);padding:16px 20px;transition:.2s}
.news a:hover{border-color:var(--primary)}
.news img{width:120px;height:76px;object-fit:cover;border-radius:8px;flex:none}
.news .meta{color:var(--muted);font-size:13px;margin-top:4px}

/* 联系 */
.contact{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;text-align:center}
.contact div{border:1px solid var(--line);border-radius:var(--radius,12px);padding:24px}
.contact small{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}
.contact b{font-size:16px;font-weight:600}

/* 页脚 */
footer{background:#1f2328;color:#9aa0a6;padding:34px 0;font-size:14px}
footer .cols{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px}
footer .cols a{display:block;margin-bottom:6px}
footer .icp{border-top:1px solid rgba(255,255,255,.1);padding-top:16px;text-align:center;font-size:13px;color:rgba(255,255,255,.75)}
footer .icp a{color:rgba(255,255,255,.75);text-decoration:none}
footer .icp a:hover{color:#fff}
footer .icp .sep{margin:0 10px;color:rgba(255,255,255,.35)}
footer .icp a.gongan{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
footer .icp a.gongan img{width:16px;height:16px;border-radius:2px;flex:none}
footer .icp a{color:#9aa0a6;margin:0 6px}
footer .icp a:hover{color:#fff}
footer .icp img{height:14px;vertical-align:-2px;margin-right:2px}

.empty{padding:120px 0;text-align:center;color:var(--muted)}

@media (max-width:820px){
  .grid,.grid.two,.contact{grid-template-columns:1fr}
  .navlinks{display:none}
  .head-phone{display:none}
  .banner h1{font-size:28px}
  section{padding:52px 0}
}

/* ============================================================
   风格整套 UI：index.html applyStyle 写 html[data-style]，按风格代号切换
   每套风格在「配色(--primary 等) + 圆角(--radius) + 布局/字体/装饰」上都有明显区别
   ============================================================ */

/* ---------- 经典蓝 classic：标准商务（默认基线，不额外覆盖） ---------- */

/* ---------- 科技青 tech：直角 + 深色网格 hero + 区块标题左对齐带方块 ---------- */
html[data-style="tech"] header{box-shadow:0 1px 0 rgba(14,23,42,.05)}
html[data-style="tech"] .banner{text-align:left}
html[data-style="tech"] .banner .inner{max-width:940px;margin:0 auto;padding:0 24px}
html[data-style="tech"] .banner h1{letter-spacing:2px}
html[data-style="tech"] .banner p{margin-left:0}
html[data-style="tech"] h2{text-align:left;font-weight:700;letter-spacing:1px}
html[data-style="tech"] h2::before{content:'';display:inline-block;width:10px;height:10px;background:var(--primary);margin-right:12px;vertical-align:middle;border-radius:2px}
html[data-style="tech"] .lead{text-align:left}
html[data-style="tech"] .about-body{text-align:left}
html[data-style="tech"] .card,
html[data-style="tech"] .news a,
html[data-style="tech"] .contact div{border-radius:4px}
html[data-style="tech"] .card{position:relative;overflow:hidden;box-shadow:0 1px 3px rgba(15,23,42,.08)}
html[data-style="tech"] .card::before{content:'';position:absolute;left:0;top:0;right:0;height:3px;background:var(--primary)}
html[data-style="tech"] .news a{border-radius:4px;box-shadow:0 1px 3px rgba(15,23,42,.06)}
html[data-style="tech"] .card:hover{box-shadow:0 8px 20px rgba(15,23,42,.14)}
html[data-style="tech"] .btn{border-radius:4px}
html[data-style="tech"] .brand .dot{border-radius:4px}

/* ---------- 活力橙 warm：大圆角 + 柔和阴影 + 胶囊按钮 + 亲和 ---------- */
html[data-style="warm"] .banner h1{font-weight:800}
html[data-style="warm"] h2{font-weight:800}
html[data-style="warm"] h2::after{content:'';display:block;width:54px;height:5px;border-radius:999px;background:var(--primary);margin:14px auto 0}
html[data-style="warm"] .card,
html[data-style="warm"] .news a,
html[data-style="warm"] .contact div{border-radius:22px}
html[data-style="warm"] .card{border-color:transparent;box-shadow:0 10px 30px rgba(249,115,22,.10)}
html[data-style="warm"] .card img{border-radius:16px}
html[data-style="warm"] .card:hover{transform:translateY(-6px);box-shadow:0 16px 42px rgba(249,115,22,.18)}
html[data-style="warm"] .news a{border-color:transparent;border-radius:18px;box-shadow:0 6px 20px rgba(249,115,22,.08)}
html[data-style="warm"] .news a:hover{box-shadow:0 10px 26px rgba(249,115,22,.16)}
html[data-style="warm"] .contact div{border-color:transparent;box-shadow:0 8px 24px rgba(249,115,22,.08)}
html[data-style="warm"] .btn{border-radius:999px;padding:12px 30px}
html[data-style="warm"] .brand .dot{border-radius:50%}

/* ---------- 商务墨绿 elegant：衬线标题 + 左对齐 + 细线 + 克制留白 + 描边按钮 ---------- */
html[data-style="elegant"] h1,
html[data-style="elegant"] h2,
html[data-style="elegant"] h3{font-family:Georgia,"Times New Roman","Songti SC","SimSun",serif;font-weight:600}
html[data-style="elegant"] .banner{text-align:left}
html[data-style="elegant"] .banner .inner{max-width:900px;margin:0 auto;padding:0 24px}
html[data-style="elegant"] .banner p{margin-left:0}
html[data-style="elegant"] h2{text-align:left;letter-spacing:1px}
html[data-style="elegant"] h2::before{content:'';display:inline-block;width:4px;height:22px;background:var(--primary);margin-right:14px;vertical-align:middle}
html[data-style="elegant"] .lead{text-align:left;max-width:720px;margin-right:auto}
html[data-style="elegant"] section{padding:88px 0}
html[data-style="elegant"] .card,
html[data-style="elegant"] .news a,
html[data-style="elegant"] .contact div{border-radius:14px;border:1px solid var(--line);box-shadow:none}
html[data-style="elegant"] .card:hover{box-shadow:0 6px 20px rgba(15,118,110,.10);border-color:var(--primary)}
html[data-style="elegant"] .news a:hover{box-shadow:0 6px 20px rgba(15,118,110,.10);border-color:var(--primary)}
html[data-style="elegant"] .about-body{text-align:left;margin:0;max-width:820px}
html[data-style="elegant"] .btn{background:transparent;color:var(--primary);border:1.5px solid var(--primary);padding:10px 26px}
html[data-style="elegant"] .btn:hover{background:var(--primary);color:#fff}
html[data-style="elegant"] .brand .dot{border-radius:6px}
