/* ============================================================
   sbrac.com 全站设计系统 v2.0 —— 深色科技风 · 蓝紫渐变 · 简洁动效
   设计目标：专业、高级、现代；兼容老式表格布局页面；桌面端适配
   说明：本文件由改版工程新增，不修改原 css.css；banner 与图片目录不变
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg-deep: #070b15;
  --bg-base: #0b1120;
  --bg-panel: rgba(255, 255, 255, 0.045);
  --bg-panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 163, 255, 0.16);
  --line-strong: rgba(148, 163, 255, 0.34);
  --txt-hi: #f2f6ff;
  --txt: #cdd8ee;
  --txt-dim: #93a3c4;
  --blue: #3d8bff;
  --cyan: #35d4ff;
  --violet: #8b6cff;
  --pink: #c86bff;
  --grad-main: linear-gradient(120deg, #3d8bff 0%, #8b6cff 55%, #c86bff 100%);
  --grad-blue: linear-gradient(120deg, #2f7bff, #5fa8ff);
  --grad-violet: linear-gradient(120deg, #7a5cff, #a05cff);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 14px 40px rgba(2, 6, 20, 0.55);
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --max-w: 1180px;
}

/* ---------- 全局基础 ---------- */
html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--txt) !important;
  background:
    radial-gradient(1100px 520px at 88% -6%, rgba(139, 108, 255, 0.16), transparent 60%),
    radial-gradient(900px 480px at -8% 4%, rgba(53, 138, 255, 0.14), transparent 55%),
    radial-gradient(1000px 700px at 50% 115%, rgba(200, 107, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #070b15 0%, #0a1122 38%, #0b1120 100%) !important;
  background-attachment: fixed;
  min-height: 100vh;
}

/* 极细科技网格线（叠加在背景上） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(139, 108, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 108, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* 内容层级提升到网格线之上 */
body > * { position: relative; z-index: 1; }

/* 文字与链接统一（覆盖老页面内联色） */
td, th, div, p, li, font, span, h1, h2, h3, h4, h5, h6 {
  color: inherit;
}
b, strong, i, em { color: inherit; }

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--cyan); }

img { border: 0; max-width: 100%; height: auto; }

/* ---------- 老式表格布局兼容：透明玻璃化 ---------- */
table {
  border-collapse: collapse;
}
/* 覆盖常见内联背景色（白色/浅色底），转为深色玻璃感 */
td,
table[bgcolor] td,
tr[bgcolor] td,
td[bgcolor],
table[style*="background"] td,
td[style*="background"] {
  background-color: transparent !important;
}
table[bgcolor],
tr[bgcolor] {
  background: transparent !important;
}

/* 页面上最大的内容表格自动变成玻璃卡片 */
table[width="1018"], table[width="1000"], table[width="1024"] {
  background: var(--bg-panel) !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  margin-top: 0 !important;   /* 改为 0：老页面 body 下第一个 table 不应有顶部外边距，
                               否则会在地址栏下方产生深色空隙 */
  margin-bottom: 30px !important;
  overflow: hidden;
}
table[width="1018"] td, table[width="1000"] td, table[width="1024"] td {
  border-color: var(--line) !important;
}

/* 老页面中的内容分隔条/横线 */
hr { border-color: var(--line) !important; }

/* ============================================================
   组件：顶部信息条 / 导航栏（全站统一注入）
   ============================================================ */
.site-topbar {
  background: linear-gradient(90deg, rgba(20, 28, 56, 0.92), rgba(16, 12, 40, 0.92));
  border-bottom: 1px solid var(--line);
  color: var(--txt-dim);
  font-size: 12.5px;
  padding: 7px 0;
}
.site-topbar .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-topbar .hotline {
  color: var(--txt-hi);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.site-topbar .hotline em {
  font-style: normal;
  color: var(--cyan);
  font-size: 15px;
  margin-left: 4px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.96), rgba(9, 13, 28, 0.92));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 26px rgba(2, 6, 20, 0.45);
}
.site-nav .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
}
.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--txt-hi) !important;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.site-nav .brand .logo-dot {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 18px rgba(139, 108, 255, 0.55);
}
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
.site-nav .nav-links a {
  color: var(--txt) !important;
  font-size: 14px;
  padding: 8px 13px;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.site-nav .nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: var(--txt-hi) !important;
  background: rgba(139, 108, 255, 0.14);
}
.site-nav .nav-links a:hover::after,
.site-nav .nav-links a.active::after { transform: scaleX(1); }
.site-nav .nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-violet);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(122, 92, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.site-nav .nav-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(122, 92, 255, 0.6);
  color: #fff !important;
}

/* ============================================================
   首页 Hero 横幅（保留原 banner 图片，重排布局）
   ============================================================ */
.hero-wrap {
  max-width: var(--max-w);
  margin: 26px auto 10px;
  padding: 0 22px;
}
.hero-banner {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card), 0 0 60px rgba(139, 108, 255, 0.22);
  background: #0a1022;
}
.hero-banner img {
  width: 100%;
  display: block;
  border-radius: inherit;
}
/* banner 底部渐隐 + 标语 */
.hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 30px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, 0.88));
  color: var(--txt-hi);
}
.hero-overlay h1 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, #b9a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-overlay p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(230, 236, 255, 0.88);
}

/* 首页三栏信息区：左侧介绍 / 右侧栏目 */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  max-width: var(--max-w);
  margin: 22px auto 0;
  padding: 0 22px;
  align-items: start;
}
.home-main { min-width: 0; }
.home-side { min-width: 0; }

@media (max-width: 980px) {
  .home-layout { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
}

/* ============================================================
   组件：卡片 / 面板
   ============================================================ */
.tech-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(3, 8, 22, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(3, 8, 22, 0.55), 0 0 34px rgba(139, 108, 255, 0.18);
}

/* 标题横条：左侧渐变竖线 */
.sec-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sec-title::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--grad-main);
  box-shadow: 0 0 12px rgba(139, 108, 255, 0.8);
}
.sec-title h2, .sec-title h3 {
  margin: 0;
  color: var(--txt-hi);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.sec-title .en {
  margin-left: auto;
  font-size: 11px;
  color: var(--txt-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================================
   组件：特征点 / 服务列表
   ============================================================ */
.point-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0;
}
@media (max-width: 1100px) { .point-grid { grid-template-columns: repeat(2, 1fr); } }
.point-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.point-item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px rgba(3, 8, 22, 0.5), 0 0 26px rgba(61, 139, 255, 0.16);
}
.point-item .ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--grad-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 11px;
  box-shadow: 0 6px 16px rgba(47, 123, 255, 0.4);
}
.point-item.violet .ico { background: var(--grad-violet); box-shadow: 0 6px 16px rgba(122, 92, 255, 0.45); }
.point-item h4 { margin: 0 0 5px; font-size: 15px; color: var(--txt-hi); }
.point-item p { margin: 0; font-size: 12.5px; color: var(--txt-dim); line-height: 1.6; }

/* 服务文字列表 */
.svc-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  color: var(--txt) !important;
  font-size: 13px;
  transition: all 0.26s ease;
}
.svc-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 8px rgba(139, 108, 255, 0.9);
}
.svc-tag:hover {
  color: var(--txt-hi) !important;
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(3, 8, 22, 0.45);
}

/* 双列信息分栏 */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .cols-2 { grid-template-columns: 1fr; } }

/* ============================================================
   组件：按钮
   ============================================================ */
.tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--grad-main);
  background-size: 160% 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(122, 92, 255, 0.4);
}
.tech-btn:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(122, 92, 255, 0.55);
  color: #fff !important;
}
.tech-btn.ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--txt-hi) !important;
  box-shadow: none;
}
.tech-btn.ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
  box-shadow: 0 0 24px rgba(53, 212, 255, 0.25);
}

/* ============================================================
   组件：统计数字条（营销用）
   ============================================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 1100px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.stat-cell .num {
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.stat-cell .label { font-size: 12.5px; color: var(--txt-dim); margin-top: 4px; }

/* ============================================================
   组件：页脚
   ============================================================ */
.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 13, 28, 0.85), rgba(6, 9, 20, 0.96));
  padding: 30px 22px 26px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 108, 255, 0.8), transparent);
}
.site-footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .site-footer .inner { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--txt-hi);
  font-size: 15px;
  margin: 0 0 12px;
  position: relative;
  padding-left: 12px;
}
.site-footer h4::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  border-radius: 2px;
  background: var(--grad-main);
}
.site-footer a {
  color: var(--txt-dim) !important;
  font-size: 13px;
  display: block;
  padding: 3.5px 0;
  transition: color 0.22s ease, padding-left 0.22s ease;
}
.site-footer a:hover { color: var(--cyan) !important; padding-left: 5px; }
.site-footer .brand-line {
  font-size: 17px;
  font-weight: 700;
  color: var(--txt-hi);
  margin-bottom: 10px;
}
.site-footer .copy {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--txt-dim);
  font-size: 12.5px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 10px;
}

/* ============================================================
   简洁动效
   ============================================================ */
@keyframes techFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(139, 108, 255, 0.45); }
  50% { box-shadow: 0 0 34px rgba(61, 139, 255, 0.65); }
}
@keyframes shine {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

/* 页面入场动效（老页面首屏表格） */
body > table:first-of-type,
.page-enter {
  animation: techFadeUp 0.65s ease both;
}
/* 卡片批量入场（用 inline style 的 --d 控制延迟） */
.tech-card, .point-item, .stat-cell, .sec-title {
  animation: techFadeUp 0.7s ease both;
  animation-delay: calc(var(--d, 0) * 90ms);
}
.hero-banner { animation: techFadeUp 0.7s ease both; }

/* 滚动条（桌面端美化） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0e1c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3d5c99, #6b4fc4);
  border-radius: 5px;
  border: 2px solid #0a0e1c;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4f74bf, #8a66e0); }

/* 选中文本 */
::selection { background: rgba(139, 108, 255, 0.4); color: #fff; }

/* ============================================================
   新增：首页组件（类 I：四大分类 / 专项维修 / 品牌分区）
   ============================================================ */
.topbar-slogan { color: var(--txt-dim); }
.site-topbar .slogan { color: var(--txt-dim); }
.site-topbar .sub { color: var(--txt-dim); }

/* 首页 logo 品牌条（hero banner 下的 logo 拼接图） */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 24px 6px;
  background: rgba(10, 16, 34, 0.9);
  border-bottom: 1px solid var(--line);
}
.logo-strip img {
  height: 46px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 4px 14px rgba(2, 6, 20, 0.55));
  transition: transform 0.25s ease;
}
.logo-strip img:hover { transform: translateY(-3px); }

.hero-hl { margin-top: 8px !important; font-size: 16px !important; }
.hero-hl em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 14px; }

/* 小节标题（卡片内次级标题） */
.sub-title {
  margin: 18px 0 10px;
  color: var(--txt-hi);
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-title::before {
  content: "";
  width: 14px; height: 3px;
  border-radius: 2px;
  background: var(--grad-violet);
}

/* 四大分类网格 */
.cls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .cls-grid { grid-template-columns: 1fr; } }
.cls-card { padding: 16px !important; text-align: center; }
.cls-link { display: block; }
.cls-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cls-link:hover img {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px rgba(3, 8, 22, 0.6), 0 0 26px rgba(139, 108, 255, 0.25);
}
.cls-link h4 {
  margin: 12px 0 0;
  font-size: 15.5px;
  color: var(--txt-hi);
  font-weight: 600;
}

/* 专项维修卡片 */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  color: var(--txt) !important;
  transition: all 0.28s ease;
}
.spec-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  color: var(--txt-hi) !important;
  box-shadow: 0 12px 28px rgba(3, 8, 22, 0.5), 0 0 22px rgba(61, 139, 255, 0.18);
}
.spec-card img {
  width: 78px; height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.spec-card span { font-size: 14px; font-weight: 600; line-height: 1.5; }

/* 品牌分区卡片 */
.brand-block { margin-top: 22px; }
.brand-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
}
.brand-head { margin-bottom: 12px; }
.brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--txt-hi) !important;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
a.brand-title::before {
  content: "";
  width: 5px; height: 18px;
  border-radius: 3px;
  background: var(--grad-main);
}
a.brand-title:hover { color: var(--cyan) !important; }
span.brand-title::before {
  content: "";
  width: 5px; height: 18px;
  border-radius: 3px;
  background: var(--grad-violet);
}
.brand-body { display: flex; gap: 18px; align-items: flex-start; }
.brand-img { flex: 0 0 150px; text-align: center; }
.brand-img img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.brand-img a:hover img {
  transform: scale(1.03);
  border-color: var(--line-strong);
}
.mdl-wrap { flex: 1; min-width: 0; }
.mdl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.mdl-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  color: var(--txt) !important;
  font-size: 12.5px;
  transition: all 0.24s ease;
}
a.mdl-tag:hover {
  color: var(--cyan) !important;
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 8, 22, 0.4);
}
.mdl-plain .mdl-tag { color: var(--txt-dim) !important; cursor: default; border-style: dashed; }
@media (max-width: 700px) { .brand-body { flex-direction: column; } .brand-img { flex: auto; } }

/* ============================================================
   新增：首页组件（类 II：侧栏 / 城市 / 板块）
   ============================================================ */
/* 侧栏 */
.side-text { font-size: 13px; color: var(--txt); line-height: 1.9; margin: 0; }
.side-list {
  margin: 0; padding: 0;
  list-style: none;
}
.side-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13px;
  color: var(--txt);
  border-bottom: 1px dashed var(--line);
}
.side-list li:last-child { border-bottom: 0; }
.side-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--grad-main);
  box-shadow: 0 0 8px rgba(139, 108, 255, 0.7);
}
.dim-text { font-size: 12.5px; color: var(--txt-dim); }
.consult-card b { color: var(--cyan); }

/* 核心优势（图片+文案） */
.adv-grid { display: flex; flex-direction: column; gap: 12px; }
.adv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.adv-item:hover { transform: translateX(4px); border-color: var(--line-strong); }
.adv-item img {
  width: 56px; height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.adv-item span { font-size: 13px; color: var(--txt); line-height: 1.5; }

/* 全国维修站点 */
.city-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--line);
}
.city-row:last-child { border-bottom: 0; }
.city-prov {
  font-weight: 700;
  color: var(--txt-hi);
  font-size: 14px;
  padding-top: 1px;
  white-space: nowrap;
}
.city-prov::after { content: "："; }
.city-list { display: flex; flex-wrap: wrap; gap: 4px 0; }
.city-list a {
  display: inline-block;
  margin-right: 18px;
  font-size: 13px;
  color: var(--txt) !important;
  padding: 2px 0;
  transition: color 0.2s ease;
}
.city-list a:hover { color: var(--cyan) !important; }

/* 大板块卡片间距 */
.sec-block { margin-bottom: 22px; }

/* ============================================================
   兼容层：老式页面表格玻璃化补充（无用例时保持轻量）
   ============================================================ */
.tech-card.sec-block { animation-delay: calc(var(--d, 0) * 90ms); }

/* 降低动效偏好：减少动画 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   兼容层：内页老式表格列宽修复（中文碎裂 / 表格被撑宽）
   注意：不能用 word-break:keep-all —— 它会让中文整句变成
   不可断"单词"，列 min-content 暴增，反而撑坏表格列宽。
   中文应使用默认断行（CJK 天然可换行），仅兜底英文长词。
   ============================================================ */
/* 小表格边框玻璃化（保留宽度行为，避免 overflow:hidden 导致表格缩窄） */
table[border="1"] {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
}
table[border="1"] td {
  padding: 10px 14px !important;
  border-color: rgba(148,163,255,0.12) !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* 主内容表格不超过视口宽度，避免窄窗口下整体错位 */
table[width="1018"], table[width="1000"], table[width="1024"] {
  max-width: 96vw !important;
}

/* 旧 <font size=N> 字体大小统一映射 */
font[size="1"] { font-size: 11px !important; }
font[size="2"] { font-size: 13px !important; line-height: 1.7 !important; }
font[size="3"] { font-size: 15px !important; }
font[size="4"] { font-size: 17px !important; }
font[size="5"] { font-size: 19px !important; }
font[size="6"] { font-size: 21px !important; }
font[size="7"] { font-size: 23px !important; }

/* 关键窄列兜底：保证左右信息栏不被内容挤压到"逐字换行"。
   注意：Chrome 表格式自动布局会忽略 td 的百分比 min-width
   （computed 存在但列宽仍按内容 min-content 分配，27% 列会被
   压到 ~92px 只剩"最新客户评价"几个字），因此必须用像素值
   明确下限。桌面 1018px 主表下 27%≈275px、25%≈254px，取略小
   像素值保证主内容列有足够空间，又不撑破 96vw 上限。 */
td[width="27%"] { min-width: 260px !important; }
td[width="25%"] { min-width: 240px !important; }
td[width="20%"] { min-width: 195px !important; }
td[width="18%"] { min-width: 173px !important; }

/* 内嵌在 1018 主表内的同宽表格（如"客户评价"内容表）改为自适应：
   若保持固定 1018px，会与 27% 窄列相加把整个主表撑到 1280px，
   反过来把窄列压到 min-content（逐字换行）。width:auto + max-width:100%
   让它收缩进父单元格，主表恢复 1018px、列比例恢复正常。 */
table[width="1018"] table[width="1018"] {
  width: auto !important;
  max-width: 100% !important;
}