/* ============================================================
   车车快修 · 门店网点模块（列表页 / 详情页）
   依赖 style.css 的设计变量与基础组件
   ============================================================ */

/* ---------- 列表页：深色首屏 ---------- */
.br-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(880px 460px at 78% -12%, rgba(34,197,94,.3), transparent 62%),
    radial-gradient(620px 360px at 2% 92%, rgba(0,153,68,.24), transparent 60%),
    linear-gradient(152deg, #08150e 0%, #0c2116 56%, #0a1a11 100%);
  padding: 34px 0 96px;
}
.br-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 62% 22%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 62% 22%, #000 0%, transparent 76%);
}
.br-hero::after {
  content: ""; position: absolute; left: 50%; bottom: -180px; width: 900px; height: 360px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(34,197,94,.18), transparent);
}
.br-hero .container { position: relative; z-index: 2; }

.br-crumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 34px; }
.br-crumb a { color: rgba(255,255,255,.72); }
.br-crumb a:hover { color: #4ade80; }
.br-crumb span { margin: 0 8px; opacity: .45; }
.br-crumb strong { color: #d9f7e6; font-weight: 500; }

.br-hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.br-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: 3px; color: #86c6a3; text-transform: uppercase;
  margin-bottom: 20px;
}
.br-eyebrow::before { content: ""; width: 26px; height: 1px; background: #4ade80; opacity: .8; }
.br-hero h1 {
  font-size: clamp(30px, 3.9vw, 44px); line-height: 1.28; letter-spacing: .5px;
  font-weight: 700; margin-bottom: 18px;
}
.br-hero h1 em {
  display: block; font-style: normal; margin-top: 6px;
  background: linear-gradient(96deg, #86efac 0%, #4ade80 45%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.br-hero-sub { font-size: 15px; color: #a9c7b7; line-height: 1.9; max-width: 520px; }
.br-hero-sub b { color: #eafff2; font-weight: 600; }
.br-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.br-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: .25s; border: 1px solid transparent; line-height: 1;
}
.br-btn svg { width: 17px; height: 17px; }
.br-btn-solid {
  background: linear-gradient(135deg, #22c55e, #009944); color: #fff;
  box-shadow: 0 10px 24px rgba(34,197,94,.36);
}
.br-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(34,197,94,.46); }
.br-btn-line { border-color: rgba(255,255,255,.34); color: #eafff2; }
.br-btn-line:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); }
.br-btn-white { background: #fff; color: #0d2318; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.br-btn-white:hover { transform: translateY(-2px); }

.br-hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 34px;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13);
}
.br-hero-stats strong {
  display: block; font-size: 26px; font-weight: 700; color: #4ade80;
  line-height: 1.2; font-variant-numeric: tabular-nums;
}
.br-hero-stats strong small { font-size: 13px; font-weight: 500; color: #8fbfa6; margin-left: 2px; }
.br-hero-stats span { font-size: 12px; color: #8faf9d; letter-spacing: .5px; }

/* 网点示意卡 */
.br-net {
  position: relative; padding: 22px 22px 18px; border-radius: 26px;
  background: linear-gradient(158deg, rgba(255,255,255,.1), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}
.br-net-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #a9c7b7; letter-spacing: 1.5px; margin-bottom: 4px;
}
.br-net-head b { color: #eafff2; font-weight: 600; letter-spacing: 1px; }
.br-net-live { display: inline-flex; align-items: center; gap: 6px; color: #7ee2a8; font-size: 11px; }
.br-net-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: brPulse 2.2s infinite;
}
.br-net-svg { display: block; width: 100%; height: auto; margin: 2px 0 6px; }
.br-net-svg text { font-family: inherit; }
.br-dot { transform-box: fill-box; transform-origin: center; }
.br-dot-ring { animation: brRing 3s ease-out infinite; }
.br-dot-ring.d2 { animation-delay: 1s; }
.br-dot-ring.d3 { animation-delay: 2s; }
@keyframes brRing {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes brPulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.br-net-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px;
}
.br-net-list li {
  display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: #c8e3d5;
  padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.045);
}
.br-net-list i { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; flex: 0 0 auto; }
.br-net-list strong { font-weight: 600; color: #eafff2; }
.br-net-list span { font-size: 11px; color: #8faf9d; margin-left: auto; }

/* ---------- 筛选条（上移压住首屏） ---------- */
.br-list-sec { background: #fff; padding: 0 0 88px; }
.br-toolbar {
  position: relative; z-index: 5; margin-top: -34px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 34px;
}
.br-filters {
  display: inline-flex; gap: 4px; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 16px 36px rgba(13,60,34,.12);
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.br-filters::-webkit-scrollbar { display: none; }
.br-chip {
  flex: 0 0 auto; border: 0; background: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--ink-soft); padding: 10px 18px; border-radius: 999px;
  transition: .22s; white-space: nowrap;
}
.br-chip em {
  font-style: normal; font-size: 11.5px; padding: 1px 7px; border-radius: 999px;
  background: #eef5f0; color: #6d8a79; transition: .22s;
}
.br-chip:hover { color: var(--green); }
.br-chip.active {
  background: linear-gradient(135deg, #0d2318, #143520); color: #fff;
  box-shadow: 0 8px 18px rgba(13,60,34,.26);
}
.br-chip.active em { background: rgba(255,255,255,.16); color: #b9f0cf; }
.br-result {
  font-size: 13px; color: #6d8a79; letter-spacing: .3px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; box-shadow: 0 16px 36px rgba(13,60,34,.12);
}
.br-result b { color: var(--green); font-size: 15px; }

/* 门店列表容器 */
.br-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.br-item.is-hide { display: none; }
.br-item { animation: brFadeUp .6s ease both; }
.br-item:nth-child(2) { animation-delay: .07s; }
.br-item:nth-child(3) { animation-delay: .14s; }
.br-item:nth-child(4) { animation-delay: .21s; }
.br-item:nth-child(5) { animation-delay: .28s; }
.br-item:nth-child(6) { animation-delay: .35s; }
@keyframes brFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .br-item, .br-why-item { animation: none !important; }
}
.br-empty {
  grid-column: 1 / -1; text-align: center; padding: 70px 0; color: #8aa496; font-size: 14px;
}

/* ---------- 列表页底部：服务承诺 ---------- */
.br-why { background: #f6faf7; padding: 80px 0; border-top: 1px solid var(--line); }
.br-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.br-why-item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px;
  transition: .3s; animation: brFadeUp .6s ease both; animation-delay: .1s;
}
.br-why-item:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(13,60,34,.1); border-color: #cfe8db; }
.br-why-icon {
  width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e9f8ef, #d9f2e3); color: var(--green); margin-bottom: 16px;
}
.br-why-icon svg { width: 22px; height: 22px; }
.br-why-item h3 { font-size: 15.5px; margin-bottom: 8px; }
.br-why-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.br-why-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   门店详情页
   ============================================================ */
.br-dh {
  position: relative; min-height: 460px; display: flex; align-items: flex-end;
  overflow: hidden; background: #08150e; color: #fff;
}
.br-dh-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.br-dh-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,16,11,.78) 0%, rgba(6,16,11,.3) 34%, rgba(6,16,11,.9) 100%),
    linear-gradient(90deg, rgba(6,16,11,.66) 0%, rgba(6,16,11,.12) 62%);
}
.br-dh-inner { position: relative; z-index: 2; width: 100%; padding: 30px 0 50px; }
.br-dh h1 {
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.26; letter-spacing: .5px;
  margin: 14px 0 0; text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.br-dh-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 5px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .8px; color: #d7f7e5;
}
.br-dh-tag svg { width: 13px; height: 13px; color: #4ade80; }
.br-dh-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 20px 0 26px;
  font-size: 14px; color: #d3e8dc; list-style: none;
}
.br-dh-meta li { display: flex; align-items: center; gap: 8px; line-height: 1.6; }
.br-dh-meta svg { width: 16px; height: 16px; color: #4ade80; flex: 0 0 auto; }
.br-dh-meta a { color: #fff; border-bottom: 1px dashed rgba(255,255,255,.4); }
.br-dh-meta a:hover { color: #4ade80; }
.br-dh-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.br-dh-acts .br-btn { padding: 12px 24px; font-size: 14.5px; }
.br-dh-acts .br-btn-line { border-color: rgba(255,255,255,.4); }
.br-dh-crumb { color: rgba(255,255,255,.62); margin-bottom: 0; }

/* 详情主体 */
.br-main { padding: 54px 0 92px; background: #fff; }
.br-grid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 40px; align-items: start; }
.br-panel {
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  padding: 30px 32px; margin-bottom: 22px;
}
.br-panel:last-child { margin-bottom: 0; }
.br-panel h2 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18.5px; margin-bottom: 16px; letter-spacing: .3px;
}
.br-panel h2::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #22c55e, #009944);
}
.br-prose { font-size: 14.5px; color: var(--ink-soft); line-height: 2; text-align: justify; }
.br-prose p { margin-bottom: 12px; }
.br-prose p:last-child { margin-bottom: 0; }

.br-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.br-svc-item {
  display: flex; align-items: center; gap: 9px;
  background: #f7fbf8; border: 1px solid #e6f1ea; border-radius: 11px;
  padding: 12px 14px; font-size: 13.5px; color: #2c4a3a; transition: .2s;
}
.br-svc-item:hover { background: #eff9f3; border-color: #cfe8db; }
.br-svc-item svg { width: 16px; height: 16px; color: var(--green); flex: 0 0 auto; }

.br-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background:
    radial-gradient(400px 200px at 92% -20%, rgba(34,197,94,.3), transparent 70%),
    linear-gradient(135deg, #0b1d13, #12341f);
  border-radius: 20px; padding: 26px 30px; color: #fff;
}
.br-cta strong { display: block; font-size: 18px; margin-bottom: 6px; }
.br-cta p { font-size: 13.5px; color: #a8c6b6; margin: 0; }
.br-cta .br-btn { white-space: nowrap; }

/* 侧栏 */
.br-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.br-info { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.br-info-h {
  display: flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #0b1d13, #12341f); color: #fff;
  padding: 16px 20px; font-size: 13.5px; letter-spacing: 1.2px;
}
.br-info-h svg { width: 17px; height: 17px; color: #4ade80; }
.br-info-row {
  display: flex; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #f1f7f3;
  font-size: 13px; color: var(--ink-soft); line-height: 1.7;
}
.br-info-row:last-child { border-bottom: 0; }
.br-info-row svg { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.br-info-row span { display: block; font-size: 11.5px; color: #9ab1a4; letter-spacing: .5px; margin-bottom: 2px; }
.br-info-row strong { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.br-info-row a { color: var(--green); font-weight: 600; }

.br-others { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: #fff; }
.br-others h3 { font-size: 14px; color: #6d8a79; letter-spacing: 1px; margin-bottom: 12px; padding-left: 2px; }
.br-other {
  display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 9px; border: 1px solid #eef5f1; border-radius: 13px; margin-bottom: 9px;
  transition: .22s; color: inherit;
}
.br-other:last-child { margin-bottom: 0; }
.br-other:hover { border-color: #cfe8db; background: #f8fcf9; transform: translateX(3px); }
.br-other img { width: 66px; height: 54px; object-fit: cover; border-radius: 9px; }
.br-other strong { display: block; font-size: 13px; line-height: 1.45; }
.br-other em { font-style: normal; font-size: 11.5px; color: #9ab1a4; }
.br-other-arrow { justify-self: end; color: #b9d6c6; display: flex; }
.br-other-arrow svg { width: 15px; height: 15px; }
.br-other:hover .br-other-arrow { color: var(--green); }

.br-hotline {
  border-radius: 20px; padding: 24px; text-align: center; color: #fff;
  background:
    radial-gradient(300px 160px at 80% -10%, rgba(34,197,94,.34), transparent 70%),
    linear-gradient(135deg, #0b1d13, #12341f);
}
.br-hotline span { font-size: 12px; letter-spacing: 1.5px; color: #8fbfa6; }
.br-hotline strong {
  display: block; font-size: 24px; font-weight: 700; color: #4ade80;
  letter-spacing: .5px; margin: 8px 0 14px; font-variant-numeric: tabular-nums;
}
.br-hotline .br-btn { width: 100%; justify-content: center; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .br-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .br-net { max-width: 460px; }
  .br-grid { grid-template-columns: 1fr; }
  .br-side { position: static; }
  .br-why-grid { grid-template-columns: repeat(2, 1fr); }
  .br-list { gap: 22px; }
}
@media (max-width: 860px) {
  .br-list { grid-template-columns: 1fr; }
  .br-hero { padding: 26px 0 82px; }
}
@media (max-width: 640px) {
  .br-hero { padding: 22px 0 76px; }
  .br-crumb { margin-bottom: 22px; }
  .br-hero h1 { font-size: 27px; }
  .br-hero-sub { font-size: 14px; }
  .br-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; margin-top: 28px; }
  .br-hero-stats strong { font-size: 22px; }
  .br-hero-acts .br-btn { flex: 1; justify-content: center; }
  .br-toolbar { margin-top: -30px; flex-direction: column; align-items: stretch; gap: 12px; }
  .br-filters { justify-content: flex-start; }
  .br-result { text-align: center; align-self: center; }
  .br-panel { padding: 24px 20px; }
  .br-svc-grid { grid-template-columns: 1fr; }
  .br-why { padding: 58px 0; }
  .br-why-grid { grid-template-columns: 1fr; }
  .br-dh { min-height: 420px; }
  .br-dh-inner { padding: 24px 0 34px; }
  .br-dh-meta { gap: 8px 18px; font-size: 13px; }
  .br-dh-acts .br-btn { flex: 1 1 45%; justify-content: center; }
  .br-main { padding: 34px 0 64px; }
  .br-cta { padding: 22px; }
  .br-cta .br-btn { width: 100%; justify-content: center; }
}
