:root{--theme-primary:#1e3a8a;--theme-primary-rgb:30,58,138}
/* 龙威图文广告 · 商务深蓝标准版主题 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333; line-height: 1.6; background: #fff;
}
a { color: var(--theme-primary, #1e3a8a); text-decoration: none; }
img { max-width: 100%; display: block; }

/* 顶部导航 */
.nav {
  background: var(--theme-primary, #1e3a8a); color: #fff;
  padding: 14px 0; position: sticky; top: 0; z-index: 100;
}
.nav .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav .logo { font-size: 20px; font-weight: bold; color: #fff; }
.nav ul { list-style: none; display: flex; gap: 25px; }
.nav ul a { color: #fff; font-size: 15px; }
.nav ul a:hover { color: #fbbf24; }

/* Banner */
.banner {
  background: linear-gradient(135deg, var(--theme-primary, #1e3a8a), var(--theme-secondary, #3b82f6));
  color: #fff; text-align: center; padding: 80px 20px;
}
.banner h1 { font-size: 36px; margin-bottom: 12px; }
.banner p { font-size: 18px; opacity: .9; }

/* 通用容器 */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section h2 { text-align: center; color: var(--theme-primary, #1e3a8a); font-size: 28px; margin-bottom: 40px; }

/* 业务卡片 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 25px;
  text-align: center; transition: all .3s; background: #fff;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(30,58,138,.12); border-color: var(--theme-primary, #1e3a8a); }
.card .icon { font-size: 36px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; color: #1e3a8a; }
.card p { font-size: 13px; color: #6b7280; }
.card .price { color: #dc2626; font-weight: bold; margin-top: 10px; }

/* 联系区 */
.contact { background: #f3f4f6; padding: 50px 0; text-align: center; }
.contact .phone { font-size: 30px; color: var(--theme-primary, #1e3a8a); font-weight: bold; }

/* 底部 */
.footer { background: #111827; color: #9ca3af; padding: 25px 0; text-align: center; font-size: 13px; }

/* 移动端适配 */
@media (max-width: 768px) {
  .nav .wrap { flex-wrap: wrap; }
  .nav ul {
    display: flex; gap: 15px; width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-top: 10px; white-space: nowrap;
  }
  .nav ul a { font-size: 14px; }
  .nav .logo { font-size: 17px; }
  .banner h1 { font-size: 26px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 0; }
}


/* LOGO 尺寸（后台可换图，高度自动统一） */
.nav .logo .logo-img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  vertical-align: middle;
  display: block;
}
@media (max-width: 768px) {
  .nav .logo .logo-img { height: 40px; max-width: 150px; }
}

.nav .logo .logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
