/* ========== 首页专有样式（原 index.html 内联 <style> 抽出） ========== */

/* ========== 全局重置 ========== */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color:#333; line-height:1.6; background:#fff;
  -webkit-font-smoothing:antialiased;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* ========== 配色变量 ========== */
:root {
  --primary:#1E3A5F;      /* 深蓝灰 */
  --primary-dark:#152a47;
  --primary-light:#2B6CB0;
  --accent:#E8751A;        /* 亮橙 */
  --accent-hover:#d4620c;
  --text:#333;
  --text-light:#666;
  --bg-gray:#F5F7FA;
  --border:#e4e7eb;
  --white:#fff;
}

/* ========== 顶部导航 ========== */
.header {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:#1E3A5F;
  transition:all .3s;
}
.header .container {
  display:flex; align-items:center; justify-content:space-between;
  height:70px;
}
.logo { display:flex; align-items:center; gap:10px; }
.logo img { height:40px; width:auto; max-width:none; }
.logo-text { color:#fff; font-size:15px; font-weight:600; letter-spacing:1px; white-space:nowrap; }
.brand-info { display:flex; flex-direction:column; justify-content:center; margin-left:8px; }
.brand-title { font-size:19px; font-weight:700; color:#fff; line-height:1.15; letter-spacing:.5px; white-space:nowrap; }
.brand-divider { height:1px; background:rgba(255,255,255,.28); margin:7px 0 6px; }
.brand-sub { font-size:12px; color:rgba(255,255,255,.62); line-height:1.2; letter-spacing:.5px; white-space:nowrap; }
.nav { display:flex; align-items:center; gap:36px; }
.nav a {
  color:rgba(255,255,255,.85); font-size:15px;
  transition:color .2s; position:relative;
}
.nav a:hover, .nav a.active { color:var(--accent); }
.nav a.active::after {
  content:''; position:absolute; bottom:-8px; left:0; right:0; height:2px;
  background:var(--accent);
}
.header-contact {
  display:flex; align-items:center; gap:16px; color:#fff; font-size:13px;
}
.header-contact .phone {
  display:flex; align-items:center; gap:6px;
  background:var(--accent); padding:6px 14px; border-radius:20px;
  font-weight:500; transition:background .2s;
}
.header-contact .phone:hover { background:var(--accent-hover); }
.mobile-toggle {
  display:none; flex-direction:column; gap:5px; cursor:pointer;
}
.mobile-toggle span { width:24px; height:2px; background:#fff; transition:.3s; }

/* ========== Banner ========== */
.banner {
  position:relative; height:640px; margin-top:70px; overflow:hidden;
}
.banner-slide {
  position:absolute; inset:0; opacity:0; transition:opacity 1s;
  display:flex; align-items:center;
}
.banner-slide.active { opacity:1; }
.banner-bg {
  position:absolute; inset:0; z-index:0;
}
.banner-1 .banner-bg { background:linear-gradient(135deg,rgba(30,58,95,.85) 0%,rgba(43,108,176,.75) 50%,rgba(21,42,71,.9) 100%),url('../images/products/large-storage/compactus/compactus-1.jpg') center/cover; }
.banner-2 .banner-bg { background:linear-gradient(135deg,rgba(43,108,176,.85) 0%,rgba(30,58,95,.75) 50%,rgba(232,117,26,.7) 100%),url('../images/products/storage-cabinet/wardrobe/wardrobe-series.jpg') center/cover; }
.banner-3 .banner-bg { background:linear-gradient(135deg,rgba(21,42,71,.85) 0%,rgba(30,58,95,.75) 50%,rgba(43,108,176,.85) 100%),url('../images/products/storage-cabinet/password-locker/password-1.jpg') center/cover; }
.banner-bg::before {
  content:''; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,117,26,.15) 0%, transparent 50%);
}
.banner-content {
  position:relative; z-index:2; color:#fff; max-width:600px;
  padding-left:10%;
}
.banner-tag {
  display:inline-block; background:rgba(232,117,26,.9); padding:6px 16px;
  border-radius:20px; font-size:13px; margin-bottom:20px; letter-spacing:2px;
}
.banner-title {
  font-size:46px; font-weight:700; line-height:1.2; margin-top:.83em; margin-bottom:16px;
}
.banner-desc {
  font-size:17px; opacity:.9; margin-bottom:32px; line-height:1.7;
}
.banner-btns { display:flex; gap:16px; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:4px; font-size:15px; font-weight:500;
  transition:all .2s; cursor:pointer; border:none;
}
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:var(--accent-hover); transform:translateY(-2px); }
.btn-outline {
  background:transparent; color:#fff; border:2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background:rgba(255,255,255,.15); border-color:#fff; }
.banner-dots {
  position:absolute; bottom:30px; left:50%; transform:translateX(-50%);
  display:flex; gap:12px; z-index:10;
}
.banner-dots span {
  width:32px; height:4px; background:rgba(255,255,255,.4);
  border-radius:2px; cursor:pointer; transition:all .3s;
}
.banner-dots span.active { background:var(--accent); width:48px; }

/* ========== 通用板块标题 ========== */
.section { padding:80px 0; }
.section-alt { background:var(--bg-gray); }
.section-header { text-align:center; margin-bottom:50px; }
.section-tag {
  display:inline-block; color:var(--accent); font-size:14px; letter-spacing:3px;
  font-weight:500; margin-bottom:12px;
}
.section-title {
  font-size:32px; font-weight:700; color:var(--primary);
  margin-bottom:16px;
}
.section-desc {
  color:var(--text-light); font-size:15px; max-width:640px; margin:0 auto;
}

/* ========== 核心优势 ========== */
.advantages {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.advantage-card {
  background:#fff; border-radius:8px; overflow:hidden; transition:all .3s;
  border:1px solid var(--border);
}
.advantage-card:hover {
  transform:translateY(-6px); box-shadow:0 12px 32px rgba(30,58,95,.12);
  border-color:var(--accent);
}
.advantage-thumb {
  height:200px; overflow:hidden; position:relative;
}
.advantage-thumb img {
  width:100%; height:100%; object-fit:cover; transition:transform .4s;
}
.advantage-card:hover .advantage-thumb img { transform:scale(1.05); }
.advantage-info { padding:24px 20px; text-align:center; }
.advantage-title { font-size:17px; font-weight:600; color:var(--primary); margin-bottom:10px; }
.advantage-desc { font-size:13px; color:var(--text-light); line-height:1.7; }

/* ========== 核心产品 ========== */
.products {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.product-card {
  position:relative; background:#fff; border-radius:8px; overflow:hidden;
  transition:all .3s; cursor:pointer; border:1px solid var(--border);
}
.product-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(30,58,95,.15); }
.product-thumb {
  height:160px; display:flex; align-items:center; justify-content:center;
  font-size:48px; color:#fff; position:relative; overflow:hidden;
  background-size:cover; background-position:center;
}
.product-card:nth-child(1) .product-thumb { background-image:url('../images/products/large-storage/compactus/compactus-2.jpg'); }
.product-card:nth-child(2) .product-thumb { background-image:url('../images/products/office/private-workstation/private-workstation-1.jpg'); }
.product-card:nth-child(3) .product-thumb { background-image:url('../images/products/office/cabinet-1.jpg'); }
.product-card:nth-child(4) .product-thumb { background-image:url('../images/products/storage-cabinet/password-locker/password-1.jpg'); }
.product-info { padding:18px; }
.product-info h3 { font-size:15px; font-weight:600; color:var(--primary); margin-bottom:8px; }
.product-info p { font-size:12px; color:var(--text-light); line-height:1.5; }
.product-card .arrow {
  position:absolute; bottom:14px; right:14px; color:var(--accent); font-size:13px;
  opacity:0; transform:translateX(-6px); transition:all .3s;
}
.product-card:hover .arrow { opacity:1; transform:translateX(0); }

/* ========== 空间方案 ========== */
.solutions {
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.solution-card {
  position:relative; height:240px; border-radius:8px; overflow:hidden;
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--border);
  color:var(--text); cursor:pointer; transition:all .3s;
}
.solution-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(30,58,95,.25); }
.sol-img { position:relative; flex:0 0 135px; height:135px; }
.sol-1 .sol-img { background:url('../images/solutions/solution-hospital.jpg') center/cover no-repeat #1E3A5F; }
.sol-2 .sol-img { background:url('../images/solutions/solution-archive.jpg') center/cover no-repeat #152a47; }
.sol-3 .sol-img { background:url('../images/solutions/solution-workplace.jpg') center/cover no-repeat #2B6CB0; }
.sol-4 .sol-img { background:url('../images/solutions/solution-office-storage.jpg') center/cover no-repeat #2D3748; }
.sol-tag {
  position:absolute; top:12px; left:12px;
  background:rgba(255,255,255,.85); color:#1E3A5F;
  padding:3px 10px; border-radius:12px; font-size:11px; letter-spacing:1px;
}
.sol-content {
  flex:1; padding:14px 18px;
  display:flex; flex-direction:column; justify-content:center;
}
.sol-content h3 { font-size:19px; font-weight:600; color:#1E3A5F; line-height:1.3; margin-bottom:6px; }
.sol-content p { font-size:13px; color:var(--text-light); line-height:1.5; }

/* ========== 服务流程 ========== */
.process {
  display:grid; grid-template-columns:repeat(6,1fr); gap:16px;
  position:relative;
}
.process-step {
  text-align:center; padding:24px 12px; background:#fff; border-radius:8px;
  border:1px solid var(--border); position:relative; transition:all .3s;
}
.process-step:hover { border-color:var(--accent); box-shadow:0 6px 20px rgba(30,58,95,.1); }
.step-num {
  width:36px; height:36px; line-height:36px; border-radius:50%;
  background:var(--accent); color:#fff; font-weight:700; font-size:16px;
  margin:0 auto 12px;
}
.step-title { font-size:14px; font-weight:600; color:var(--primary); margin-bottom:4px; }
.step-desc { font-size:12px; color:var(--text-light); line-height:1.5; }

/* ========== 服务全国 ========== */
.service-area {
  display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
}
.service-info h3 { font-size:24px; font-weight:700; color:var(--primary); margin-bottom:16px; }
.service-info p { color:var(--text-light); margin-bottom:24px; font-size:15px; }
.cities { display:flex; flex-wrap:wrap; gap:10px; }
.city-tag {
  background:#fff; border:1px solid var(--border); padding:8px 16px;
  border-radius:20px; font-size:13px; color:var(--primary);
  transition:all .2s;
}
.city-tag:hover { background:var(--accent); color:#fff; border-color:var(--accent); }
.service-stats {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px; text-align:center;
}
.stat-card {
  background:var(--bg-gray); padding:28px 16px; border-radius:8px;
}
.stat-num { font-size:36px; font-weight:700; color:var(--accent); margin-bottom:4px; }
.stat-label { font-size:13px; color:var(--text-light); }

/* ========== 资讯 ========== */
.news-list {
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.news-card {
  background:#fff; border-radius:8px; overflow:hidden;
  border:1px solid var(--border); transition:all .3s; cursor:pointer;
}
.news-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(30,58,95,.15); }
.news-thumb { height:140px; overflow:hidden; background:var(--bg-gray); }
.news-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.news-body { padding:16px; }
.news-title {
  font-size:14px; font-weight:600; color:var(--primary);
  margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden;
}
.news-date { font-size:12px; color:#999; }

/* ========== Footer ========== */
.footer { background:#1E3A5F; color:rgba(255,255,255,.8); padding:60px 0 0; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:40px;
  padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom:16px; }
.footer-brand .logo-text { color:#fff; font-size:14px; }
.footer-brand p { font-size:13px; line-height:1.8; margin-bottom:16px; }
.footer h4 { color:#fff; font-size:15px; margin-bottom:18px; font-weight:600; }
.footer a { display:block; font-size:13px; padding:5px 0; transition:color .2s; }
.footer a:hover { color:var(--accent); }
.footer-contact li { font-size:13px; padding:6px 0; display:flex; gap:8px; }
.footer-contact li::before { content:'▸'; color:var(--accent); }
.footer-bottom {
  padding:20px 0; text-align:center; font-size:12px; color:rgba(255,255,255,.62);
}
.footer-bottom a { color:rgba(255,255,255,.62); }
.footer-bottom a:hover { color:var(--accent); }

/* ========== 悬浮互动栏 ========== */
.floating {
  position:fixed; right:20px; bottom:100px; z-index:999;
  display:flex; flex-direction:column; gap:10px;
}
.float-btn {
  width:48px; height:48px; border-radius:50%;
  background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .3s; box-shadow:0 4px 12px rgba(0,0,0,.15);
  font-size:18px; position:relative;
}
.float-btn:hover { background:var(--accent); transform:scale(1.1); }
.float-btn .tip {
  position:absolute; right:58px; background:#333; color:#fff;
  padding:4px 10px; border-radius:4px; font-size:12px; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.float-btn:hover .tip { opacity:1; }
.float-wechat .qr-popup {
  position:absolute; right:58px; bottom:0; width:180px; background:#fff;
  border-radius:8px; padding:12px; box-shadow:0 8px 24px rgba(0,0,0,.2);
  display:none;
}
.float-wechat.open .qr-popup { display:block; }
.qr-popup img { width:100%; margin-bottom:8px; }
.qr-popup p { font-size:11px; color:#666; text-align:center; }

/* ========== 响应式 ========== */
@media (max-width:1024px) {
  .banner-title { font-size:36px; }
  .brand-title { font-size:17px; }
  .brand-sub { font-size:11px; }
  .advantages { grid-template-columns:repeat(3,1fr); }
  .products { grid-template-columns:repeat(3,1fr); }
  .solutions { grid-template-columns:repeat(2,1fr); }
  .process { grid-template-columns:repeat(3,1fr); }
  .news-list { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .nav, .header-contact { display:none; }
  .mobile-toggle { display:flex; }
  .brand-sub, .brand-divider { display:none; }
  .brand-title { font-size:15px; letter-spacing:0; }
  .banner { height:480px; }
  .banner-title { font-size:28px; }
  .banner-desc { font-size:14px; }
  .banner-content { padding:0 20px; }
  .section { padding:50px 0; }
  .section-title { font-size:24px; }
  .products { grid-template-columns:repeat(2,1fr); }
  .advantages, .solutions, .process, .news-list { grid-template-columns:1fr; }
  .service-area { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .banner-btns { flex-direction:column; }
}
@media (max-width:480px) {
  .brand-info { margin-left:4px; }
  .brand-title { font-size:11px; }
}

/* ========== 导航移动端 ========== */
.nav.open {
  display:flex; flex-direction:column; position:absolute; top:70px; left:0; right:0;
  background:var(--primary-dark); padding:24px; gap:20px;
}