/* ===== 驰驭租车 样式（移动端优先） ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #222; }
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 15px; }

/* 顶部导航 */
.header { position: sticky; top: 0; z-index: 99; background: #111; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.logo { color: #fff; font-size: 20px; font-weight: bold; text-decoration: none; }
.logo span { color: #e8b93c; }
.menu-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.nav { display: none; flex-direction: column; position: absolute; top: 52px; left: 0; right: 0; background: #1a1a1a; }
.nav.open { display: flex; }
.nav a { color: #ddd; text-decoration: none; padding: 13px 18px; border-bottom: 1px solid #2a2a2a; font-size: 15px; }
.nav a:hover { color: #e8b93c; }

/* 宽屏 Banner */
.banner { position: relative; width: 100%; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slides img { width: 100%; height: 52vw; min-height: 200px; max-height: 480px; object-fit: cover; flex-shrink: 0; }
.banner-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); pointer-events: none; }
.banner-text h1 { font-size: 26px; letter-spacing: 2px; }
.banner-text p { margin-top: 10px; font-size: 14px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.dots span.active { background: #e8b93c; }

/* 区块标题 */
.section-title { text-align: center; font-size: 20px; padding: 34px 0 18px; position: relative; }
.section-title::after { content: ""; display: block; width: 36px; height: 3px; background: #e8b93c; margin: 10px auto 0; }

/* 车型网格 */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 10px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card-body { padding: 12px 14px 16px; }
.card-body h3 { font-size: 16px; }
.card-body .tag { display: inline-block; font-size: 12px; color: #888; margin: 6px 0; }
.card-body .price { color: #d0302b; font-size: 17px; font-weight: bold; }
.card-body .price small { font-size: 12px; font-weight: normal; color: #999; }
.card-body .btn { float: right; background: #111; color: #fff; border: none; border-radius: 16px; padding: 6px 16px; font-size: 13px; cursor: pointer; }

/* 服务优势 */
.about { background: #111; color: #ddd; }
.about .section-title { color: #fff; }
.adv-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 36px; }
.adv-list li { background: #1c1c1c; border-radius: 10px; padding: 16px; }
.adv-list b { color: #e8b93c; font-size: 15px; }
.adv-list p { margin-top: 6px; font-size: 13px; line-height: 1.7; color: #aaa; }

/* 联系我们 */
.contact-card { background: #fff; border-radius: 10px; padding: 22px 18px; margin-bottom: 36px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.contact-card p { font-size: 14px; line-height: 2.2; }
.tel-btn { display: block; margin-top: 14px; text-align: center; background: #d0302b; color: #fff; text-decoration: none; border-radius: 22px; padding: 11px; font-size: 16px; }

.footer { text-align: center; background: #0c0c0c; color: #777; font-size: 12px; padding: 16px 0; }

/* 平板 / 桌面 */
@media (min-width: 640px) {
  .menu-btn { display: none; }
  .nav { display: flex; flex-direction: row; position: static; background: none; }
  .nav a { border: none; padding: 0 0 0 26px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .adv-list { grid-template-columns: repeat(2, 1fr); }
  .banner-text h1 { font-size: 38px; }
  .banner-text p { font-size: 17px; }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
