:root {
  --primary: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #eff6ff;
  --accent-red: #e60012;
  --accent-yellow: #ffcc00;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --maxw: 1200px;
}

* { 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: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: min(var(--maxw), 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; border-radius: 10px; }
.brand-text { font-size: 1.25rem; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.nav-links { display: flex; gap: 32px; font-weight: 500; }
.nav-links a { color: var(--text); transition: color .2s; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 3px;
  background: var(--primary); border-radius: 2px;
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s; border: none; cursor: pointer;
  font-size: .98rem;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(0,102,255,.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ghost { background: var(--primary-light); color: var(--primary-dark); }
.btn-ghost:hover { background: #e0ecff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 110px 0 90px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,.08) 0%, transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; }
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-light); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo { display: flex; justify-content: center; position: relative; }
.hero-logo img { width: 300px; border-radius: 28px; box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--white); padding: 10px 20px; border-radius: 50px;
  box-shadow: var(--shadow); font-weight: 700; color: var(--primary); font-size: .9rem;
  white-space: nowrap;
}

/* ---------- Section ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 12px; }
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-light); font-size: 1.05rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.stat-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 20px;
  text-align: center; box-shadow: var(--shadow); transition: transform .25s;
}
.stat-card:hover { transform: translateY(-6px); }
.stat-number { font-size: 2.6rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { color: var(--text-light); font-weight: 500; margin-top: 8px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  border: 1px solid #f1f5f9;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; color: var(--white); margin-bottom: 20px; background: var(--primary);
}
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card-text { color: var(--text-light); font-size: .95rem; }

/* ---------- Reasons ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary);
  transition: transform .25s;
}
.reason:hover { transform: translateY(-6px); }
.reason-num { font-size: 2rem; font-weight: 900; color: var(--primary-light); -webkit-text-stroke: 1px var(--primary); }
.reason h3 { font-size: 1.15rem; margin: 12px 0 8px; }
.reason p { color: var(--text-light); font-size: .95rem; }

/* ---------- Process ---------- */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process-step {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; box-shadow: var(--shadow);
}
.process-step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
  color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { color: var(--text-light); font-size: .9rem; }

/* ---------- Partners ---------- */
.partner-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.partner-tag {
  background: var(--primary-light); color: var(--primary-dark); padding: 10px 22px;
  border-radius: 50px; font-weight: 600; font-size: .95rem; transition: transform .2s;
}
.partner-tag:hover { transform: translateY(-3px); }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; max-width: 820px; margin: 0 auto; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-slide { min-width: 100%; padding: 10px; }
.testi-card {
  background: var(--white); border-radius: var(--radius); padding: 40px; text-align: center;
  box-shadow: var(--shadow);
}
.testi-stars { color: var(--accent-yellow); font-size: 1.2rem; margin-bottom: 16px; }
.testi-text { font-size: 1.1rem; color: #374151; font-style: italic; margin-bottom: 20px; }
.testi-author { font-weight: 700; }
.testi-role { color: var(--text-light); font-size: .9rem; }
.testi-nav { display: flex; justify-content: center; gap: 14px; margin-top: 24px; }
.testi-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--primary);
  background: #fff; color: var(--primary); cursor: pointer; font-size: 1.1rem; transition: .2s;
}
.testi-nav button:hover { background: var(--primary); color: #fff; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; font-size: 1.05rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 22px; color: var(--text-light); }

/* ---------- Knowledge ---------- */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.know-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: block;
}
.know-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.know-thumb {
  height: 170px; background: linear-gradient(135deg, var(--primary) 0%, #00b4ff 100%);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem;
}
.know-body { padding: 24px; }
.know-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.know-body p { color: var(--text-light); font-size: .92rem; }
.know-tag { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--primary); font-weight: 600; }

/* ---------- About ---------- */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-text p { margin-bottom: 16px; color: #374151; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.city-tag { background: #eef2ff; color: #3730a3; padding: 8px 16px; border-radius: 8px; font-weight: 600; }

/* ---------- Services page tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.filter-tabs button {
  padding: 10px 24px; border-radius: 50px; border: 2px solid #e5e7eb; background: #fff;
  color: var(--text-light); font-weight: 600; cursor: pointer; transition: .2s;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.service-detail { margin-bottom: 18px; }
.service-detail .card-text { margin-bottom: 10px; }
.service-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .88rem; color: var(--text-light); }
.service-meta strong { color: var(--text); }
.service-detail[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.store-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.store-filter button {
  padding: 8px 20px; border-radius: 50px; border: 2px solid #e5e7eb; background: #fff;
  color: var(--text-light); font-weight: 600; cursor: pointer; transition: .2s;
}
.store-filter button.active, .store-filter button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.store-list { display: grid; gap: 16px; }
.store-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border-left: 4px solid var(--primary); transition: transform .2s;
}
.store-card:hover { transform: translateY(-3px); }
.store-card[hidden] { display: none; }
.store-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.store-meta { color: var(--text-light); font-size: .95rem; margin-bottom: 4px; }
.store-meta i { color: var(--primary); width: 22px; }
.store-actions { margin-top: 12px; display: flex; gap: 10px; }
.store-actions a, .store-actions button {
  font-size: .85rem; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--primary);
  color: var(--primary); background: #fff; cursor: pointer; font-weight: 600; transition: .2s; text-decoration:none;
}
.store-actions a:hover, .store-actions button:hover { background: var(--primary); color: #fff; }
.qr-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); text-align: center; position: sticky; top: 100px;
}
.qr-card img { width: 220px; margin: 0 auto 16px; border-radius: 12px; }
.qr-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.qr-hint { color: var(--text-light); font-size: .9rem; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 1.2rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer { background: #0b1120; color: #cbd5e1; padding: 60px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 56px; margin-bottom: 16px; border-radius: 10px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-copy { border-top: 1px solid #1f2937; padding-top: 24px; text-align: center; font-size: .9rem; color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid, .know-grid, .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container, .about-content, .contact-wrap { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 200px; }
  .hero-title { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    flex-direction: column; padding: 24px; gap: 18px; box-shadow: var(--shadow);
    transform: translateY(-150%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .stats-grid, .reasons-grid, .know-grid, .process-steps { grid-template-columns: 1fr; }
}

/* ---------- 门店实景相册 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: transform .25s, box-shadow .25s; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-item figcaption { padding: 14px 16px; font-weight: 600; color: var(--text); font-size: .95rem; }

/* ---------- 供应商 logo 墙 ---------- */
.supplier-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.supplier-item { background: #fff; border: 1px solid #eef2f7; border-radius: 14px; padding: 22px; display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; }
.supplier-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.supplier-item img { width: 100%; max-width: 150px; height: 70px; object-fit: contain; }

/* ---------- 单位车定点维修 ---------- */
.unit-badge { display: flex; width: fit-content; align-items: center; gap: 10px; background: var(--primary); color: #fff; padding: 12px 26px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; margin: 0 auto 36px; box-shadow: 0 10px 24px rgba(0,102,255,.25); }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.unit-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #f1f5f9; transition: transform .25s, box-shadow .25s; }
.unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.unit-card img { width: 100%; height: 220px; object-fit: cover; }
.unit-name { font-size: 1.1rem; font-weight: 700; padding: 16px 18px 2px; }
.unit-desc { color: var(--text-light); font-size: .9rem; padding: 0 18px 18px; }
.unit-note { text-align: center; color: var(--text-light); margin-top: 28px; font-size: .95rem; }

/* ---------- 门店卡片照片 ---------- */
.store-photo { width: 100%; height: 200px; object-fit: cover; border-radius: 12px 12px 0 0; margin: -24px -24px 16px; }
.store-note { text-align: center; color: var(--text-light); margin-top: 24px; font-size: .95rem; }

/* ---------- 面包屑导航 ---------- */
.breadcrumb { background: var(--bg); border-bottom: 1px solid #eef2f7; padding: 14px 0; font-size: .9rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { margin: 0 10px; color: #cbd5e1; }

/* ---------- 服务联系内链 ---------- */
.svc-book { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-weight: 700; font-size: .92rem; transition: gap .2s; }
.svc-book:hover { gap: 12px; color: var(--primary-dark); }

/* ---------- 养车知识文章 ---------- */
.post { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; margin-bottom: 28px; }
.post-head { border-bottom: 1px solid #eef2f7; padding-bottom: 18px; margin-bottom: 22px; }
.post-cat { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.post-title { font-size: 1.6rem; font-weight: 800; line-height: 1.3; }
.post-meta { color: var(--text-light); font-size: .85rem; margin-top: 10px; }
.post-body p { margin-bottom: 16px; color: #374151; }
.post-body h3 { font-size: 1.15rem; margin: 22px 0 10px; color: var(--text); }
.post-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: #374151; }
.post-body li { margin-bottom: 8px; }
@media (max-width: 700px) { .post { padding: 26px; } .post-title { font-size: 1.3rem; } }
