@charset "utf-8";
* { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; }
body { font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif; color:#1a1a1a; line-height:1.7; background:#f5f6f8; }
a { color:inherit; text-decoration:none; transition:color .15s; }
a:hover { color:#2563EB; }
img { max-width:100%; vertical-align:middle; }
ul,ol { list-style:none; }
input,button,textarea { font-family:inherit; outline:none; border:none; }

:root {
  --c-primary:#1d6fe0;
  --c-primary-dark:#155bb5;
  --c-primary-light:#e8f1fd;
  --c-accent:#ff6b35;
  --c-accent-light:#fff3ec;
  --c-text:#1a1a1a;
  --c-text-sub:#666;
  --c-text-mute:#999;
  --c-border:#e8e8e8;
  --c-bg:#f5f6f8;
  --c-white:#fff;
  --radius:6px;
  --shadow:0 1px 4px rgba(0,0,0,.06);
  --shadow-hover:0 4px 16px rgba(0,0,0,.1);
  --maxw:1200px;
}

.wrap { max-width:var(--maxw); margin:0 auto; padding:0 16px; }
.container { max-width:var(--maxw); margin:0 auto; padding:24px 16px; }
.section { margin-bottom:32px; }
.section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; border-bottom:2px solid var(--c-border); padding-bottom:10px; }
.section-head h2 { font-size:20px; font-weight:600; }
.section-head h2::before { content:""; display:inline-block; width:4px; height:18px; background:var(--c-primary); border-radius:2px; margin-right:8px; vertical-align:-3px; }
.section-head .more { font-size:13px; color:var(--c-text-sub); }
.two-col { display:flex; gap:24px; }
.col-main { flex:1; min-width:0; }
.col-side { width:340px; flex-shrink:0; }

.topbar { background:#f9fafc; border-bottom:1px solid var(--c-border); font-size:12px; color:var(--c-text-sub); height:32px; line-height:32px; }
.topbar .wrap { display:flex; justify-content:space-between; align-items:center; }
.topbar .city-switch { color:var(--c-primary); font-weight:500; cursor:pointer; }
.topbar .links a { margin-left:16px; }

.header { background:var(--c-white); box-shadow:var(--shadow); position:sticky; top:0; z-index:100; }
.header .wrap { display:flex; align-items:center; height:64px; gap:32px; }
.logo { font-size:22px; font-weight:700; color:var(--c-primary); letter-spacing:-.5px; white-space:nowrap; }
.logo .dot { color:var(--c-accent); }
.nav { display:flex; gap:28px; flex:1; }
.nav a { font-size:15px; font-weight:500; color:var(--c-text); position:relative; padding:4px 0; }
.nav a:hover, .nav a.active { color:var(--c-primary); }
.nav a.active::after { content:""; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--c-primary); border-radius:1px; }
.header-search { display:flex; align-items:center; border:2px solid var(--c-primary); border-radius:var(--radius); overflow:hidden; width:240px; }
.header-search input { flex:1; padding:7px 12px; font-size:13px; border:none; }
.header-search button { padding:7px 16px; background:var(--c-primary); color:#fff; font-size:13px; cursor:pointer; font-weight:500; }
.btn-call { background:var(--c-accent); color:#fff; padding:8px 20px; border-radius:var(--radius); font-size:14px; font-weight:600; white-space:nowrap; }
.btn-call:hover { color:#fff; opacity:.9; }

.hero { background:linear-gradient(135deg,#1d6fe0 0%,#2563eb 50%,#3b82f6 100%); padding:48px 0; text-align:center; color:#fff; }
.hero h1 { font-size:28px; font-weight:700; margin-bottom:8px; }
.hero .subtitle { font-size:15px; opacity:.9; margin-bottom:24px; }
.hero-search { display:flex; max-width:560px; margin:0 auto 16px; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.15); }
.hero-search input { flex:1; padding:12px 20px; font-size:14px; border:none; color:var(--c-text); }
.hero-search button { padding:12px 28px; background:var(--c-accent); color:#fff; font-size:15px; font-weight:600; cursor:pointer; }
.hero-tags { font-size:13px; opacity:.85; }
.hero-tags a { margin:0 8px; text-decoration:underline; }

.cat-nav { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); display:flex; overflow:hidden; margin-bottom:24px; }
.cat-nav-item { flex:1; text-align:center; padding:14px 8px; border-right:1px solid var(--c-border); cursor:pointer; transition:background .15s; }
.cat-nav-item:last-child { border-right:none; }
.cat-nav-item:hover { background:var(--c-primary-light); }
.cat-nav-item .icon { font-size:24px; margin-bottom:4px; }
.cat-nav-item .name { font-size:14px; font-weight:600; }
.cat-nav-item .sub { font-size:11px; color:var(--c-text-mute); margin-top:2px; }

.service-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:12px; }
.service-card { display:block; background:var(--c-white); border:1px solid var(--c-border); border-radius:var(--radius); padding:16px 14px; transition:all .2s; position:relative; overflow:hidden; }
.service-card:hover { border-color:var(--c-primary); box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.service-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--c-primary); opacity:0; transition:opacity .2s; }
.service-card:hover::before { opacity:1; }
.service-card h3 { font-size:15px; font-weight:600; color:var(--c-text); margin-bottom:6px; }
.service-card .price { display:inline-block; color:var(--c-accent); font-weight:700; font-size:15px; }
.service-card .price-unit { font-size:12px; color:var(--c-text-mute); }
.service-card .faults { display:block; font-size:12px; color:var(--c-text-sub); margin-top:6px; line-height:1.5; }
.service-card .badge { position:absolute; top:8px; right:8px; background:var(--c-accent-light); color:var(--c-accent); font-size:10px; padding:2px 6px; border-radius:3px; font-weight:500; }

.article-list { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.article-list li { padding:14px 20px; border-bottom:1px solid var(--c-border); display:flex; justify-content:space-between; align-items:center; transition:background .15s; }
.article-list li:last-child { border-bottom:none; }
.article-list li:hover { background:var(--c-primary-light); }
.article-list a { color:var(--c-text); font-size:15px; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.article-list a:hover { color:var(--c-primary); }
.article-list .meta { color:var(--c-text-mute); font-size:12px; margin-left:16px; flex-shrink:0; }
.article-list .tag { display:inline-block; font-size:11px; padding:2px 8px; border-radius:3px; margin-right:8px; background:var(--c-primary-light); color:var(--c-primary); }

.qa-card { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); padding:16px 20px; margin-bottom:12px; }
.qa-card .q { font-size:15px; font-weight:600; color:var(--c-text); margin-bottom:6px; }
.qa-card .q::before { content:"Q"; display:inline-block; background:var(--c-primary); color:#fff; width:20px; height:20px; line-height:20px; text-align:center; border-radius:50%; font-size:12px; margin-right:8px; vertical-align:-2px; }
.qa-card .a { font-size:13px; color:var(--c-text-sub); line-height:1.6; }
.qa-card .a::before { content:"A"; display:inline-block; background:var(--c-accent); color:#fff; width:20px; height:20px; line-height:20px; text-align:center; border-radius:50%; font-size:12px; margin-right:8px; vertical-align:-2px; }

.review-card { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); padding:16px 20px; margin-bottom:12px; border-left:3px solid var(--c-accent); }
.review-card .content { font-size:14px; color:var(--c-text); line-height:1.7; margin-bottom:6px; }
.review-card .meta { font-size:12px; color:var(--c-text-mute); }

.wd-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.wd-card { background:var(--c-white); border:1px solid var(--c-border); border-radius:var(--radius); padding:16px; transition:all .2s; }
.wd-card:hover { border-color:var(--c-primary); box-shadow:var(--shadow-hover); }
.wd-card h3 { font-size:15px; font-weight:600; margin-bottom:8px; }
.wd-card .info { display:flex; gap:12px; font-size:13px; color:var(--c-text-sub); margin-bottom:4px; }
.wd-card .addr { font-size:12px; color:var(--c-text-mute); }

.breadcrumb { max-width:var(--maxw); margin:0 auto; padding:12px 16px; font-size:13px; color:var(--c-text-mute); }
.breadcrumb a { color:var(--c-text-sub); }
.breadcrumb a:hover { color:var(--c-primary); }
.breadcrumb .sep { margin:0 6px; }

.cat-hero { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; margin-bottom:20px; }
.cat-hero h1 { font-size:22px; font-weight:700; margin-bottom:12px; }
.cat-price-tag { display:inline-block; background:var(--c-accent-light); color:var(--c-accent); padding:4px 14px; border-radius:20px; font-size:15px; font-weight:700; margin-bottom:14px; }
.cat-info-row { font-size:14px; color:var(--c-text-sub); margin-bottom:6px; line-height:1.7; }
.cat-info-row strong { color:var(--c-text); font-weight:600; margin-right:6px; }
.cat-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.cat-tags a { padding:3px 10px; background:var(--c-primary-light); color:var(--c-primary); border-radius:12px; font-size:12px; }

.article-detail { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); padding:32px; }
.article-detail h1 { font-size:24px; font-weight:700; margin-bottom:10px; line-height:1.4; }
.article-meta { color:var(--c-text-mute); font-size:13px; margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--c-border); display:flex; gap:16px; }
.article-content { font-size:15px; line-height:1.9; color:#333; }
.article-content h2 { font-size:19px; font-weight:600; margin:24px 0 12px; padding-left:12px; border-left:4px solid var(--c-primary); }
.article-content p { margin-bottom:14px; }
.article-content ul, .article-content ol { margin:12px 0 14px 20px; }
.article-content li { margin-bottom:6px; }

.side-box { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); padding:20px; margin-bottom:16px; }
.side-box h3 { font-size:16px; font-weight:600; margin-bottom:12px; padding-bottom:8px; border-bottom:2px solid var(--c-primary); }

.footer { background:#1a2332; color:#889; padding:40px 0 20px; margin-top:40px; }
.footer .wrap { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.footer h4 { font-size:15px; color:#ccd; margin-bottom:12px; font-weight:600; }
.footer li { margin-bottom:8px; font-size:13px; }
.footer li a { color:#889; }
.footer li a:hover { color:var(--c-primary); }
.footer-bottom { border-top:1px solid #2a3a4e; margin-top:24px; padding-top:16px; text-align:center; font-size:12px; color:#667; }

.pager { text-align:center; padding:20px 0; }
.pager a, .pager span { display:inline-block; padding:6px 12px; margin:0 3px; border:1px solid var(--c-border); border-radius:var(--radius); font-size:13px; color:var(--c-text-sub); }
.pager .current { background:var(--c-primary); color:#fff; border-color:var(--c-primary); }
.pager a:hover { border-color:var(--c-primary); color:var(--c-primary); }

.section-title { font-size:22px; font-weight:700; margin-bottom:20px; padding-left:12px; border-left:4px solid var(--c-primary); line-height:1.4; }
.qa-list { background:var(--c-white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.qa-list li { padding:16px 20px; border-bottom:1px solid var(--c-border); }
.qa-list li:last-child { border-bottom:none; }
.qa-list .q { font-size:15px; font-weight:600; color:var(--c-text); margin-bottom:6px; }
.qa-list .q::before { content:"Q"; display:inline-block; background:var(--c-primary); color:#fff; width:20px; height:20px; line-height:20px; text-align:center; border-radius:50%; font-size:12px; margin-right:8px; vertical-align:-2px; }
.qa-list .a { font-size:13px; color:var(--c-text-sub); line-height:1.7; padding-left:28px; margin-bottom:6px; }
.qa-list .meta { font-size:12px; color:var(--c-text-mute); }

.breadcrumb { max-width:var(--maxw); margin:0 auto; padding:12px 16px; font-size:13px; color:var(--c-text-mute); }
.breadcrumb a { color:var(--c-text-sub); }
.breadcrumb a:hover { color:var(--c-primary); }
.breadcrumb .sep { margin:0 6px; }

.empty { color:var(--c-text-mute); text-align:center; padding:40px 20px; font-size:14px; }

/* 拨号引导卡片 */
.side-call-cta { background:linear-gradient(135deg,var(--c-primary-light),var(--c-accent-light)); text-align:center; border:1px solid var(--c-border); }

@media (max-width:768px) {
  .nav { display:none; }
  .header-search { display:none; }
  .hero h1 { font-size:20px; }
  .two-col { flex-direction:column; }
  .col-side { width:100%; }
  .footer .wrap { grid-template-columns:repeat(2,1fr); }
}
