/* ============ 地胶师傅网 · PbootCMS模板（靛蓝×活力橙，手机优先） ============ */
:root {
  --ink: #26221c;
  --ink-soft: #6f6a60;
  --indigo: #2f3aa0;
  --indigo-deep: #1f2772;
  --indigo-ghost: #eaedff;
  --orange: #ff7a45;
  --orange-deep: #e85f28;
  --cream: #faf7f2;
  --card: #ffffff;
  --line: #e9e2d6;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(31, 39, 114, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--cream);
  line-height: 1.75; font-size: 15px;
  padding-bottom: 64px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶栏 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; height: 56px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.logo img { max-height: 34px; width: auto; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; background: linear-gradient(140deg, var(--indigo) 10%, var(--indigo-deep) 90%); display: flex; align-items: center; justify-content: center; }
.nav-call { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.nav-call:active { background: var(--orange-deep); }
.nav-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255,122,69,.28) 0 22%, transparent 23%),
    radial-gradient(circle at 8% 95%, rgba(255,122,69,.16) 0 18%, transparent 19%),
    linear-gradient(150deg, var(--indigo-deep), var(--indigo) 70%);
  color: #fff; padding: 44px 0 34px;
}
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; font-size: 12.5px; margin-bottom: 16px; }
.hero h1 { font-size: 27px; line-height: 1.4; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { color: #d5dafc; font-size: 14.5px; margin-bottom: 22px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: .2s; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(255,122,69,.4); }
.btn-orange:active { background: var(--orange-deep); }
.btn-line { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span { background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; color: #e3e6ff; }

/* ---------- 快速询价表单 ---------- */
.quick-form { background: var(--card); border-radius: var(--radius); padding: 22px 18px; margin-top: 30px; color: var(--ink); box-shadow: var(--shadow); }
.quick-form h2 { font-size: 18px; margin-bottom: 4px; }
.quick-form .sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.quick-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.quick-form input, .quick-form select, .quick-form textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; background: var(--cream); font-family: inherit;
}
.quick-form textarea { min-height: 90px; }
.quick-form input:focus, .quick-form select:focus, .quick-form textarea:focus { outline: none; border-color: var(--indigo); }
.quick-form button { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; margin-top: 4px; }
.quick-form button:active { background: var(--orange-deep); }

/* ---------- 区块 ---------- */
.section { padding: 48px 0; }
.sec-head { margin-bottom: 24px; }
.sec-head .no { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: 2px; color: var(--indigo); background: var(--indigo-ghost); border-radius: 6px; padding: 3px 10px; margin-bottom: 10px; }
.sec-head h2 { font-size: 22px; line-height: 1.4; }
.sec-head p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

/* ---------- 地胶类型 ---------- */
.type-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.type-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; position: relative; overflow: hidden; }
.type-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); }
.type-card h3 { font-size: 17px; margin-bottom: 6px; }
.type-card h3 .price { float: right; font-size: 12.5px; color: var(--orange-deep); font-weight: 800; background: #fff1ea; padding: 2px 10px; border-radius: 999px; }
.type-card p { color: var(--ink-soft); font-size: 13.5px; }

/* ---------- 师傅卡片 ---------- */
.master-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; display: flex; gap: 14px; }
.avatar { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(140deg, var(--indigo), var(--indigo-deep)); color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.master-main { flex: 1; min-width: 0; }
.master-name { font-size: 16.5px; font-weight: 800; }
.badge-gold { display: inline-block; font-size: 11px; color: #8a5a00; background: #ffe9c2; border-radius: 5px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; font-weight: 700; }
.master-meta { font-size: 13px; color: var(--ink-soft); margin: 3px 0 8px; }
.master-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.master-tags span { font-size: 12px; color: var(--indigo); background: var(--indigo-ghost); border-radius: 6px; padding: 2px 9px; }
.master-stats { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.master-stats .star { color: var(--orange-deep); font-weight: 800; }
.dot-green { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fa864; margin-right: 4px; }
.master-call { align-self: center; flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: var(--orange); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 12px; font-weight: 700; min-width: 74px; }
.master-call b { font-size: 15px; }
.master-call:active { background: var(--orange-deep); }
.center-more { text-align: center; margin-top: 18px; }
.link-more { display: inline-block; color: var(--indigo); font-weight: 700; font-size: 15px; border: 1.5px solid var(--indigo); border-radius: 999px; padding: 10px 30px; }
.link-more:active { background: var(--indigo); color: #fff; }

/* ---------- 报价表 ---------- */
.table-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table-box table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 480px; }
.table-box th { background: var(--indigo); color: #fff; padding: 11px 10px; text-align: left; font-weight: 700; white-space: nowrap; }
.table-box td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.table-box td.hl { color: var(--orange-deep); font-weight: 800; white-space: nowrap; }
.table-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- 九步工艺 ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: step; }
.step-chip { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; position: relative; }
.step-chip::before { counter-increment: step; content: counter(step); position: absolute; top: -9px; left: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-chip h3 { font-size: 14.5px; margin: 6px 0 3px; }
.step-chip p { font-size: 12px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- 城市云 ---------- */
.city-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.city-cloud a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; }
.city-cloud a:active, .city-cloud a:hover { border-color: var(--indigo); color: var(--indigo); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--orange); font-size: 20px; font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 18px 16px; color: var(--ink-soft); font-size: 14px; }

/* ---------- 内页 banner ---------- */
.page-banner { background: linear-gradient(150deg, var(--indigo-deep), var(--indigo)); color: #fff; padding: 34px 0 30px; }
.page-banner h1 { font-size: 24px; line-height: 1.4; }
.page-banner h1 em { font-style: normal; color: var(--orange); }
.page-banner .crumb { color: #c3c9f5; font-size: 13px; margin-top: 8px; }
.page-banner .crumb a { color: #d5dafc; }

/* ---------- 列表页 ---------- */
.list-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.item-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item-card .thumb { height: 180px; background: var(--indigo-ghost); overflow: hidden; }
.item-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-card .body { padding: 15px 17px; }
.item-card h3 { font-size: 16px; margin-bottom: 6px; }
.item-card p { color: var(--ink-soft); font-size: 13.5px; }
.item-card .date { font-size: 12.5px; color: var(--orange-deep); font-weight: 700; margin-top: 8px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.pagination .active, .pagination span.current { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* ---------- 详情页 ---------- */
.detail-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; margin-bottom: 16px; }
.detail-card h1 { font-size: 21px; line-height: 1.45; margin-bottom: 10px; }
.detail-card .meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 14px; }
.detail-content { color: var(--ink); font-size: 15px; overflow-wrap: break-word; }
.detail-content img { border-radius: 12px; margin: 12px 0; }
.detail-content p { margin-bottom: 12px; }
.detail-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 13.5px; }
.detail-nav a { color: var(--indigo); }

/* ---------- 单页/城市页 ---------- */
.rich-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.rich-card h2 { font-size: 17px; margin-bottom: 10px; padding-left: 10px; border-left: 4px solid var(--orange); line-height: 1.3; }
.rich-card .rich { color: var(--ink); font-size: 14.5px; }
.rich-card .rich p { margin-bottom: 12px; }
.rich-card .rich img { border-radius: 12px; margin: 10px 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1c1a26; color: #a8a4b8; padding: 40px 0 26px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 24px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover, .site-footer a:active { color: var(--orange); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; text-align: center; font-size: 12.5px; color: #6f6b80; }

/* ---------- 底部固定操作条 ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; gap: 10px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
.action-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; font-weight: 800; font-size: 15px; }
.ab-call { flex: 1.25; background: var(--orange); color: #fff; }
.ab-form { flex: 1; background: var(--indigo); color: #fff; cursor: pointer; }

/* ---------- 底部滑升表单弹层 ---------- */
.sheet-mask { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 298; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet-mask.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 299; background: var(--card); border-radius: 18px 18px 0 0; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; transform: translateY(105%); transition: transform .3s ease; box-shadow: 0 -10px 40px rgba(0,0,0,.28); }
.sheet.on { transform: translateY(0); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet-head b { font-size: 17px; }
.sheet-close { font-size: 18px; padding: 4px 10px; color: var(--ink-soft); cursor: pointer; }
.sheet form { display: grid; gap: 10px; }
.sheet input, .sheet select, .sheet textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; background: #fff; color: var(--ink); box-sizing: border-box;
}
.sheet textarea { min-height: 64px; resize: vertical; }
.sheet input:focus, .sheet select:focus, .sheet textarea:focus { outline: none; border-color: var(--indigo); }
.sheet .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet button { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
.sheet button:active { background: var(--orange-deep); }
.sheet-alt { font-size: 13px; color: var(--ink-soft); text-align: center; }
.sheet-alt a { color: var(--orange-deep); font-weight: 800; }

/* ---------- 桌面适配 ---------- */
@media (min-width: 760px) {
  body { font-size: 16px; padding-bottom: 0; }
  .action-bar { display: none; }
  .sheet, .sheet-mask { display: none; }
  .nav { height: 66px; }
  .logo { font-size: 21px; }
  .nav-menu { display: flex; gap: 2px; margin-left: 26px; }
  .nav-menu a { padding: 8px 13px; border-radius: 8px; font-size: 15px; }
  .nav-menu a:hover, .nav-menu a.active { background: var(--indigo-ghost); color: var(--indigo); font-weight: 700; }
  .hero { padding: 72px 0 60px; }
  .hero h1 { font-size: 40px; }
  .hero p.lead { font-size: 16.5px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
  .quick-form { margin-top: 0; }
  .section { padding: 72px 0; }
  .sec-head { text-align: center; margin-bottom: 40px; }
  .sec-head h2 { font-size: 30px; }
  .sec-head p { font-size: 15px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .list-grid { grid-template-columns: repeat(3, 1fr); }
  .page-banner { padding: 56px 0 44px; }
  .page-banner h1 { font-size: 32px; }
  .detail-card, .rich-card, .quick-form { padding: 30px 28px; }
  .detail-card h1 { font-size: 26px; }
}
