/* ========== 基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: #1a2b3c; background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ========== 顶栏 ========== */
.topbar { background: #0d1b2a; color: #8fa3b8; font-size: 13px; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #8fa3b8; margin-left: 20px; transition: .2s; }
.topbar a:hover { color: #c9a15b; }
.topbar i { margin-right: 5px; color: #c9a15b; }

/* ========== 导航 ========== */
.nav { background: #fff; border-bottom: 1px solid #e8edf2; position: sticky; top: 0; z-index: 100; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: 44px; border-radius: 8px; object-fit: contain; }
.brand-name { font-size: 1.4rem; font-weight: 700; color: #0d1b2a; letter-spacing: 1px; }
.brand-name em { font-style: normal; color: #c9a15b; }
.menu { display: flex; gap: 32px; height: 100%; align-items: center; }
.menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.menu > li > a { font-size: 15px; font-weight: 500; color: #1a2b3c; transition: .2s; padding: 0 2px; display: flex; align-items: center; }
.menu > li > a:hover, .menu > li > a.on { color: #c9a15b; }
.menu > li > a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: #c9a15b; }
.nav-cta { background: #0d1b2a; color: #fff; padding: 10px 22px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: .2s; }
.nav-cta:hover { background: #c9a15b; color: #0d1b2a; }

/* ========== 导航下拉菜单（修复核心） ========== */
.menu > li.has-drop { position: relative; }
.drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(13,27,42,.12);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 999;
}
.menu > li.has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop li { width: 100%; margin: 0; padding: 0; }
.drop a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #1a2b3c;
  white-space: nowrap;
  transition: .15s;
  text-align: center;
}
.drop a:hover { background: #f5f7fa; color: #c9a15b; }

/* ========== 页面Banner ========== */
.page-banner { color: #fff; padding: 80px 0; }
.page-banner h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.page-banner p { color: #c7d3e0; max-width: 640px; }
.crumbs { font-size: 13px; color: #8fa3b8; margin-top: 18px; }
.crumbs a { color: #c9a15b; }

/* ========== 章节 ========== */
.sec { padding: 90px 0; }
.sec-head { margin-bottom: 50px; max-width: 720px; }
.sec-eyebrow { font-size: 13px; letter-spacing: 3px; color: #c9a15b; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.sec-head h2 { font-size: 2.3rem; font-weight: 700; color: #0d1b2a; line-height: 1.3; margin-bottom: 16px; }
.sec-head p { color: #5b6b7c; font-size: 1.05rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ========== 按钮 ========== */
.btn-solid { background: #c9a15b; color: #0d1b2a; padding: 14px 36px; font-weight: 600; font-size: 15px; border-radius: 4px; transition: .25s; display: inline-flex; align-items: center; gap: 10px; }
.btn-solid:hover { background: #ddb877; }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 14px 36px; font-weight: 500; font-size: 15px; border-radius: 4px; transition: .25s; display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost:hover { border-color: #c9a15b; color: #c9a15b; }

/* ========== 信任条 ========== */
.trust-bar { background: #f5f7fa; border-bottom: 1px solid #e8edf2; padding: 28px 0; }
.trust-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.trust-item { text-align: center; flex: 1 1 140px; }
.trust-item strong { display: block; font-size: 1.9rem; font-weight: 700; color: #0d1b2a; }
.trust-item strong em { font-style: normal; color: #c9a15b; }
.trust-item span { font-size: 13px; color: #6b7c8f; }

/* ========== Logo墙 ========== */
.logo-wall { background: #fff; padding: 40px 0; border-bottom: 1px solid #e8edf2; }
.logo-wall .label { text-align: center; font-size: 13px; color: #8fa3b8; letter-spacing: 2px; margin-bottom: 28px; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 60px; align-items: center; }
.logo-grid img { height: 36px; width: auto; object-fit: contain; opacity: .55; filter: grayscale(1); transition: .25s; }
.logo-grid img:hover { opacity: 1; filter: grayscale(0); }

/* ========== 资质荣誉 ========== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.cert-item { background: #fff; border: 1px solid #e8edf2; border-radius: 6px; padding: 26px; text-align: center; transition: .3s; }
.cert-item:hover { border-color: #c9a15b; transform: translateY(-4px); }
.cert-item i { font-size: 1.8rem; color: #c9a15b; margin-bottom: 14px; }
.cert-item h4 { font-size: .95rem; color: #0d1b2a; }

/* ========== 服务矩阵 ========== */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.solution-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; transition: .35s; isolation: isolate; }
.solution-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,38,.1) 0%, rgba(10,22,38,.85) 100%); z-index: -1; transition: .35s; }
.solution-card:hover::after { background: linear-gradient(180deg, rgba(10,22,38,.3) 0%, rgba(10,22,38,.95) 100%); }
.solution-card:hover { transform: translateY(-4px); }
.solution-body { padding: 32px; }
.solution-body h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.solution-body p { color: #c7d3e0; font-size: .95rem; margin-bottom: 16px; }
.solution-link { font-size: 14px; color: #c9a15b; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.solution-link i { transition: .2s; }
.solution-card:hover .solution-link i { transform: translateX(5px); }

/* ========== 行业方案 ========== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.industry-card { background: #fff; border: 1px solid #e8edf2; border-radius: 6px; padding: 32px 26px; transition: .3s; cursor: pointer; }
.industry-card:hover { border-color: #c9a15b; box-shadow: 0 20px 40px -24px rgba(13,27,42,.2); transform: translateY(-4px); }
.industry-card i { font-size: 1.6rem; color: #c9a15b; margin-bottom: 16px; display: block; }
.industry-card h4 { font-size: 1.1rem; color: #0d1b2a; margin-bottom: 10px; }
.industry-card p { font-size: .9rem; color: #5b6b7c; margin-bottom: 14px; }
.industry-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.industry-card .tags span { font-size: 12px; color: #5b6b7c; background: #f5f7fa; padding: 3px 10px; border-radius: 2px; }

/* ========== 为什么选择我们 ========== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-img img { border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(13,27,42,.35); }
.why-list { margin-top: 30px; }
.why-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid #e8edf2; }
.why-item:last-child { border-bottom: none; }
.why-item i { font-size: 1.3rem; color: #c9a15b; width: 30px; padding-top: 4px; }
.why-item h4 { font-size: 1.1rem; color: #0d1b2a; margin-bottom: 4px; }
.why-item p { color: #5b6b7c; font-size: .95rem; }

/* ========== 案例 ========== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid #e8edf2; border-radius: 6px; overflow: hidden; transition: .3s; display: block; }
.case-card:hover { border-color: #c9a15b; box-shadow: 0 20px 40px -20px rgba(13,27,42,.15); transform: translateY(-4px); }
.case-card img { width: 100%; height: 200px; object-fit: cover; }
.case-body { padding: 24px; }
.case-tag { font-size: 12px; color: #c9a15b; font-weight: 600; letter-spacing: 1px; }
.case-body h3 { font-size: 1.1rem; color: #0d1b2a; margin: 8px 0 10px; line-height: 1.5; }
.case-body p { font-size: .9rem; color: #5b6b7c; }

/* ========== 新闻 ========== */
.news-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-home { border-top: 2px solid #0d1b2a; padding-top: 20px; transition: .25s; display: block; }
.news-home:hover { border-top-color: #c9a15b; }
.news-home .date { font-size: 13px; color: #8fa3b8; margin-bottom: 10px; }
.news-home h3 { font-size: 1.1rem; color: #0d1b2a; line-height: 1.5; margin-bottom: 10px; }
.news-home p { font-size: .9rem; color: #5b6b7c; }

/* ========== CTA横幅 ========== */
.cta-band { background: linear-gradient(100deg, #0d1b2a 0%, #16293f 100%); color: #fff; padding: 70px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.cta-band p { color: #a9bbcd; }
.cta-band .btn-solid { flex-shrink: 0; }

/* ========== 页脚 ========== */
.footer { background: #0a1623; color: #8fa3b8; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #1a2b3c; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #8fa3b8; line-height: 1.8; max-width: 300px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #8fa3b8; transition: .2s; }
.footer ul a:hover { color: #c9a15b; }
.footer-contact p { margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact i { color: #c9a15b; margin-top: 4px; }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 13px; color: #5b6b7c; }
.footer-bottom a { color: #5b6b7c; }
.footer-bottom a:hover { color: #c9a15b; }

/* ========== 悬浮咨询条 ========== */
.float-bar { position: fixed; right: 24px; bottom: 40px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.float-btn { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #0d1b2a; color: #c9a15b; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 8px 24px rgba(13,27,42,.3); transition: .25s; cursor: pointer; border: none; }
.float-btn:hover { background: #c9a15b; color: #0d1b2a; transform: translateY(-3px); }
.float-btn .tip { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); background: #0d1b2a; color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.float-btn:hover .tip { opacity: 1; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .solution-grid, .why-grid, .case-grid, .news-home-grid, .industry-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .topbar { display: none; }
  .menu { display: none; } /* 移动端隐藏下拉导航 */
  .nav .wrap { height: 64px; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 2rem; }
  .solution-grid, .why-grid, .case-grid, .news-home-grid, .industry-grid, .footer-grid, .cert-grid { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .sec-head h2 { font-size: 1.7rem; }
  .cta-band .wrap { flex-direction: column; text-align: center; }
  .float-bar { right: 12px; bottom: 20px; }
  .float-btn { width: 44px; height: 44px; font-size: 1rem; }
}