/* ========== jgc-parking.com 公共样式 ========== */
:root {
  --primary: #185FA5;
  --primary-dark: #0C447C;
  --accent: #1D9E75;
  --text: #2C2C2A;
  --text-muted: #5F5E5A;
  --bg: #F8F9FA;
  --card: #FFFFFF;
  --border: #E5E7EB;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); }
img { max-width: 100%; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 56px;
}
.nav-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.nav-brand span { color: #8FD9C0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.14); }
.nav-links a.active { background: rgba(255,255,255,0.18); font-weight: 600; }
.nav-tel {
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-tel:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(29,158,117,0.4); }

/* ---------- 页面横幅 ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 48px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: 1.9rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.5px; }
.page-hero .subtitle { font-size: 1.05rem; opacity: 0.94; max-width: 760px; margin: 0 auto; }
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 通用区块 ---------- */
section { padding: 56px 0; }
section.alt { background: var(--card); }
h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.card-icon {
  width: 110px;
  height: 82px;
  background: #E6F1FB;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--primary-dark); }
.card p { color: var(--text-muted); font-size: 0.94rem; flex: 1; }
.card .more { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }

/* ---------- 特点 ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: #F0FDF6;
  border-radius: 12px;
}
.feature .check {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.feature div { font-size: 0.95rem; }
.feature strong { color: var(--primary-dark); }

/* ---------- 场景案例 ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.case { background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; display: block; color: var(--text); text-decoration: none; }
.case:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.case-img { height: 180px; background: #E6F1FB; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-body { padding: 22px; }
.case-body h4 { color: var(--primary-dark); margin-bottom: 8px; }
.case-body p { color: var(--text-muted); font-size: 0.92rem; }
.case-more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 18px; text-align: center; }
.step .num {
  width: 36px; height: 36px; margin: 0 auto 12px;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
}
.step h4 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- 参数表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
table.spec th, table.spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.spec thead th { background: var(--primary); color: #fff; font-weight: 600; white-space: nowrap; }
table.spec tbody tr:nth-child(even) { background: #F5F8FB; }
table.spec tbody tr:last-child td { border-bottom: none; }
table.spec td:first-child { font-weight: 600; color: var(--primary-dark); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1.03rem; color: var(--primary-dark); margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- 文章排版 ---------- */
.article { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 44px 48px; }
.article .meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article h2 { font-size: 1.45rem; text-align: left; margin-top: 36px; margin-bottom: 12px; }
.article h3 { font-size: 1.18rem; color: var(--primary-dark); margin-top: 26px; margin-bottom: 10px; }
.article p { margin-bottom: 14px; color: var(--text); }
.article ul, .article ol { margin: 0 0 14px 22px; }
.article li { margin-bottom: 6px; }
.article blockquote {
  border-left: 4px solid var(--primary);
  background: #F0F6FC;
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- CTA ---------- */
.cta { background: var(--primary-dark); color: #fff; text-align: center; padding: 64px 0; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { font-size: 1.08rem; opacity: 0.9; margin-bottom: 30px; }
.cta-phone {
  display: inline-block;
  font-size: 1.9rem; font-weight: 700; color: #fff; text-decoration: none;
  background: var(--accent); padding: 15px 40px; border-radius: 50px; margin-bottom: 14px;
  transition: transform 0.2s;
}
.cta-phone:hover { transform: scale(1.03); }
.cta small { display: block; opacity: 0.75; }

/* ---------- 页脚 ---------- */
footer { text-align: center; padding: 30px 0; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
footer .foot-links { margin-bottom: 10px; }
footer .foot-links a { color: var(--text-muted); text-decoration: none; margin: 0 8px; font-size: 0.88rem; }
footer .foot-links a:hover { color: var(--primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-inner { justify-content: center; gap: 8px; padding: 10px 20px; }
  .nav-links { justify-content: center; }
  .page-hero h1 { font-size: 1.5rem; }
  .article { padding: 28px 22px; }
  .cta-phone { font-size: 1.45rem; padding: 13px 26px; }
}
