/* ============================================================
 * XiaoCMS 新版样式（基于 ASP 模板 cn-style-backup 提取）
 * 兼容现代浏览器 + 响应式
 * ============================================================ */

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.6; color: #1a1a2e; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Containers ===== */
.main-container { width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 15px; }
.container { width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 15px; }

/* ===== Top Bar ===== */
.top-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 0; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.top-bar .logo img { height: 50px; width: auto; }
.top-bar h1 { font-size: clamp(12px, 2vw, 18px); color: #1a1a2e; font-weight: 500; margin: 0; text-align: center; flex: 1; }
.top-bar .contact { text-align: right; font-size: 14px; }
.top-bar .contact .phone { font-size: clamp(14px, 2vw, 20px); color: #0056b3; font-weight: 700; }

/* ===== Navbar ===== */
.navbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; position: relative; padding: 0; }
.navbar-nav { display: flex; flex-direction: row; padding-left: 0; margin-bottom: 0; list-style: none; margin-top: 0; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 12px 16px; text-decoration: none; font-weight: 700; font-size: 18px; transition: background .3s; }
.navbar-main { background: #0056b3 !important; padding: 0; }
.navbar-main .nav-link { color: #fff !important; }
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { background: rgba(255,255,255,0.1); }
.dropdown-menu { position: absolute; z-index: 1000; display: none; min-width: 180px; padding: 8px 0; margin: 0; background: #f8fafc; border: 1px solid #0056b3; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); list-style: none; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 8px 20px; color: #333; text-decoration: none; font-size: 14px; }
.dropdown-item:hover { background: #007BFF; color: #fff; }

/* ===== Footer ===== */
.site-footer { background: #0056b3; color: #fff; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-top { padding: 40px 0 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 15px; }
.site-footer .footer-col .footer-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col li { margin-bottom: 6px; font-size: 13px; }
.site-footer .footer-bottom { padding: 16px 0; background: rgba(0,0,0,0.15); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 12px; margin-bottom: 10px; width: 80%; max-width: 1800px; margin: 0 auto 10px; padding: 0 15px; }
.site-footer .copyright { text-align: center; font-size: 12px; color: rgba(255,255,255,0.6); width: 80%; max-width: 1800px; margin: 0 auto; padding: 0 15px; }

/* ===== CTA 区块（db.html）===== */
.cta-wrapper { padding: 40px 0; margin: 30px auto; max-width: 960px; }
.cta-divider { border: none; border-top: 2px solid #e2e8f0; margin-bottom: 30px; }
.cta-headline { font-size: 28px; color: #E71F18; text-align: center; margin-bottom: 20px; font-weight: 700; }
.cta-lead { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 16px; }
.cta-section-title { font-size: 20px; color: #1a1a2e; margin: 24px 0 12px; font-weight: 700; }
.cta-stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0; }
.cta-stage-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; text-align: center; }
.stage-label { font-size: 18px; font-weight: 700; color: #0056b3; margin-bottom: 10px; }
.stage-text { font-size: 14px; color: #555; line-height: 1.6; }
.cta-brand { text-align: center; font-size: 18px; margin-top: 30px; color: #1a1a2e; }
.cta-highlight { color: #E71F18; font-weight: 700; }
@media (max-width: 768px) {
  .cta-stage-grid { grid-template-columns: 1fr; }
}

/* ===== Mobile ===== */
@media (max-width: 991px) {
  .top-bar-inner { flex-wrap: nowrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
