/* ==========================================================================
   inner.css — 内页：品类 / 详情 / 资讯 / 问答 / 师傅 / 关于 / 搜索 / 下单 / 账户
   ========================================================================== */

.page-banner { background: var(--bg); border-bottom: 1px solid var(--border); padding: 34px 0 30px; }
.page-banner h1 { font-size: 26px; }
.page-banner p { color: var(--text-3); margin-top: 8px; font-size: 14px; max-width: 780px; }

.main-wrap { padding: 40px 0 20px; }
.layout-2col { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.panel-head h2, .panel-head h3 { font-size: 17px; font-weight: 600; }
.panel-head .ph-dot { width: 4px; height: 16px; background: var(--primary); border-radius: 2px; margin-right: 10px; }
.panel-head .ph-more { margin-left: auto; font-size: 13px; color: var(--text-3); }
.panel-body { padding: 22px; }
.panel-body.tight { padding: 8px 22px; }

/* ---------- 侧栏 ---------- */
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 18px; }
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.side-tel { text-align: center; background: var(--primary-soft); border-color: var(--primary-line); }
.side-tel .st-label { font-size: 13px; color: var(--text-2); }
.side-tel .st-num { font-size: 24px; font-weight: 700; color: var(--primary-dark); letter-spacing: .5px; margin: 6px 0 4px; }
.side-tel .st-note { font-size: 12px; color: var(--text-3); }
.side-links li { border-bottom: 1px dashed var(--border); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 14px; }
.side-links a::after { content: "›"; color: var(--text-3); font-size: 16px; }
.side-links a:hover { color: var(--primary); }

/* ---------- 服务列表（品类页） ---------- */
.svc-rows li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px dashed var(--border); }
.svc-rows li:last-child { border-bottom: 0; }
.svc-rows .sr-thumb {
  width: 96px; height: 76px; border-radius: 10px; background: var(--primary-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.svc-rows .sr-main { flex: 1; min-width: 0; }
.svc-rows h3 { font-size: 16px; margin-bottom: 6px; }
.svc-rows .sr-desc { font-size: 13px; color: var(--text-3); line-height: 1.65; }
.svc-rows .sr-tags { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.svc-rows .sr-side { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; }
.svc-rows .sr-price { color: var(--primary); font-size: 21px; font-weight: 700; }
.svc-rows .sr-price small { font-size: 12px; color: var(--text-3); font-weight: 400; }

/* ---------- 服务详情 ---------- */
.detail-head { display: flex; gap: 26px; padding: 24px 0 6px; }
.detail-head .dh-thumb { width: 150px; height: 116px; border-radius: 12px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-head h1 { font-size: 24px; }
.detail-head .dh-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.detail-price-box { background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 4px; flex-wrap: wrap; }
.detail-price-box .dp-num { color: var(--primary); font-size: 32px; font-weight: 700; line-height: 1; }
.detail-price-box .dp-num small { font-size: 14px; font-weight: 400; }
.detail-price-box .dp-note { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.detail-price-box .dp-actions { display: flex; gap: 10px; }

.article { font-size: 15px; line-height: 1.9; color: #33383f; }
.article h3 { font-size: 17px; margin: 26px 0 10px; padding-left: 12px; border-left: 3px solid var(--primary); }
.article p { margin-bottom: 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 4px; }
.article li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.article li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.article strong { font-weight: 600; }

.detail-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.detail-info-grid .di { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.detail-info-grid .di b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.detail-info-grid .di span { font-size: 12px; color: var(--text-3); }

/* ---------- 资讯列表 ---------- */
.news-rows li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--border); }
.news-rows li:last-child { border-bottom: 0; }
.news-rows .nr-thumb {
  width: 168px; height: 112px; border-radius: 10px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #fff3eb 0%, #ffe3d1 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 24px; font-weight: 700;
}
.news-rows .nr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-rows h3 { font-size: 17px; margin-bottom: 8px; }
.news-rows h3 a:hover { color: var(--primary); }
.news-rows .nr-sum { font-size: 13px; color: var(--text-3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-rows .nr-meta { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--text-3); display: flex; gap: 16px; align-items: center; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.filter-tabs a { padding: 6px 16px; border-radius: 20px; font-size: 13px; background: var(--bg); color: var(--text-2); }
.filter-tabs a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.filter-tabs a.on { background: var(--primary); color: #fff; }

.article-head { padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.article-head h1 { font-size: 26px; line-height: 1.4; }
.article-head .ah-meta { margin-top: 14px; font-size: 13px; color: var(--text-3); display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 问答 ---------- */
.ask-rows li { border-bottom: 1px dashed var(--border); padding: 20px 0; }
.ask-rows li:last-child { border-bottom: 0; }
.ask-rows .aq { display: flex; gap: 10px; font-size: 15px; font-weight: 600; }
.ask-rows .aq .mark { color: var(--primary); flex-shrink: 0; }
.ask-rows .aa { display: flex; gap: 10px; margin-top: 10px; font-size: 14px; color: var(--text-2); line-height: 1.8; }
.ask-rows .aa .mark { color: var(--text-3); flex-shrink: 0; font-weight: 600; }
.ask-rows .am { margin-top: 10px; padding-left: 24px; display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-3); }

/* ---------- 师傅 ---------- */
.eng-grid-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eng-card-lg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: all .2s; }
.eng-card-lg:hover { border-color: var(--primary-line); box-shadow: var(--shadow-lg); }
.eng-card-lg .eg-top { display: flex; gap: 14px; align-items: center; }
.eng-card-lg .eg-av { width: 54px; height: 54px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.eng-card-lg b { font-size: 16px; font-weight: 600; display: block; }
.eng-card-lg .eg-city { font-size: 12px; color: var(--text-3); }
.eng-card-lg .eg-intro { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 14px 0; }
.eng-card-lg .eg-stats { display: flex; gap: 18px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-3); }
.eng-card-lg .eg-stats b { color: var(--text); font-size: 15px; font-weight: 600; }

/* ---------- 关于我们 ---------- */
.sub-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 28px; overflow-x: auto; }
.sub-nav a { padding: 12px 20px; font-size: 15px; color: var(--text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.sub-nav a.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
.about-stats .as { background: var(--bg); border-radius: 12px; padding: 20px; text-align: center; }
.about-stats .as b { display: block; font-size: 26px; color: var(--primary); font-weight: 700; }
.about-stats .as span { font-size: 13px; color: var(--text-3); }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--primary-line); }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); }
.timeline li b { display: block; color: var(--primary-dark); font-size: 15px; margin-bottom: 4px; }
.timeline li p { font-size: 14px; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-grid .ct { background: var(--bg); border-radius: 12px; padding: 20px 22px; }
.contact-grid .ct span { font-size: 13px; color: var(--text-3); display: block; margin-bottom: 6px; }
.contact-grid .ct b { font-size: 16px; font-weight: 600; }

/* ---------- 搜索 ---------- */
.search-bar { display: flex; gap: 10px; max-width: 620px; }
.search-bar .input { flex: 1; height: 46px; }
.result-head { font-size: 14px; color: var(--text-3); margin-bottom: 18px; }
.result-head b { color: var(--primary); }

/* ---------- 下单 / 账户 ---------- */
.form-wrap { max-width: 620px; margin: 0 auto; }
.form-wrap .panel-body { padding: 30px; }
.order-svc-box { background: var(--bg); border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.order-svc-box b { font-size: 15px; }
.order-svc-box .os-price { color: var(--primary); font-size: 20px; font-weight: 700; }

.auth-wrap { max-width: 420px; margin: 0 auto; }
.auth-wrap .panel-body { padding: 34px 32px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head b { display: block; font-size: 22px; font-weight: 600; }
.auth-head span { font-size: 13px; color: var(--text-3); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-3); }
.auth-foot a { color: var(--primary); }

@media (max-width: 960px) {
  .layout-2col { grid-template-columns: 1fr; }
  .eng-grid-lg, .detail-info-grid, .about-stats, .contact-grid { grid-template-columns: 1fr 1fr; }
  .detail-head { flex-direction: column; gap: 16px; }
  .news-rows li { gap: 14px; }
  .news-rows .nr-thumb { width: 110px; height: 84px; }
}

/* ============ 材料与设备 ============ */
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; display: flex; flex-direction: column; }
.pd-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.pd-img { height: 170px; background: #f7f8fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.pd-body > b { font-size: 15px; color: var(--text-1); }
.pd-spec { font-size: 12px; color: var(--text-3); }
.pd-detail summary { cursor: pointer; font-size: 13px; color: var(--primary); font-weight: 600; margin-top: 4px; }
.pd-content { font-size: 13px; color: var(--text-2); line-height: 1.8; padding-top: 8px; }
.pd-content p { margin: 0 0 8px; }
@media (max-width: 1100px) { .pd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pd-grid { grid-template-columns: 1fr; } }

/* 招聘卡片 */
.job-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.job-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.job-card > b { font-size: 15px; color: var(--text-1); display: block; margin-bottom: 8px; }
.job-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0 0 8px; }
@media (max-width: 960px) { .job-list { grid-template-columns: 1fr; } }

/* ============ 工程案例页 ============ */
.acase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acase-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.acase-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.acase-img { display: block; height: 180px; overflow: hidden; background: #f7f8fa; }
.acase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.acase-card:hover .acase-img img { transform: scale(1.04); }
.acase-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acase-top { display: flex; justify-content: space-between; align-items: center; }
.acase-name { font-size: 15px; color: var(--text-1); }
.acase-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-3); }
.acase-meta span::before { content: '·'; margin-right: 4px; color: var(--primary); }
.acase-result { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0; border-top: 1px dashed var(--border); padding-top: 10px; }
@media (max-width: 1100px) { .acase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .acase-grid { grid-template-columns: 1fr; } }
