/* ==========================================================================
   董力美途 DLMT · 官网样式
   移动优先，字号偏大、按钮偏大，照顾中老年用户
   ========================================================================== */

:root {
  --ink: #191b1e;
  --ink2: #3a4046;
  --muted: #6f757c;
  --line: #e7e1d8;
  --line-2: #f0ece5;
  --bg: #faf8f5;
  --paper: #ffffff;
  --brand: #e8531f;
  --brand-d: #c4400f;
  --brand-soft: #fdf1eb;
  --steel: #8d959d;
  --ok: #1a7f4f;
  --maxw: 1140px;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(25, 27, 30, .35);
  --shadow-sm: 0 2px 8px -4px rgba(25, 27, 30, .2);
  --header-h: 60px;
  --tab-h: 62px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------------- 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 20px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 17px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s;
  text-align: center; white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -14px rgba(232, 83, 31, .95); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink2); border-color: transparent; }
.btn-lg { height: 58px; font-size: 18px; padding: 0 26px; border-radius: 14px; }
.btn-sm { height: 46px; font-size: 15px; padding: 0 16px; border-radius: 10px; }
.btn-block { display: flex; width: 100%; }

.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .14em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow-light { color: #ffb894; }

.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(25px, 6.6vw, 40px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; color: var(--brand); white-space: nowrap; }
.link-more svg { width: 18px; height: 18px; }

.br-m { display: none; }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.brand-text i { font-size: 10.5px; font-style: normal; color: var(--muted); letter-spacing: .06em; margin-top: 3px; }

.top-nav { display: none; margin-left: auto; gap: 4px; }
.top-nav a {
  padding: 10px 15px; border-radius: 10px; font-size: 15.5px; font-weight: 600; color: var(--ink2);
}
.top-nav a:hover { background: var(--line-2); }
.top-nav a.on { color: var(--brand); background: var(--brand-soft); }

.header-tel {
  display: none; align-items: center; gap: 7px; margin-left: 6px;
  padding: 0 16px; height: 42px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.header-tel svg { width: 17px; height: 17px; }

.menu-btn {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; border-radius: 10px;
}
.menu-btn span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
  padding: 18px; z-index: 55; animation: fadeIn .18s ease;
}
.drawer[hidden] { display: none; }
.drawer-in { max-width: var(--maxw); margin: 0 auto; }
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; border-bottom: 1px solid var(--line-2);
  font-size: 20px; font-weight: 700;
}
.drawer-link svg { width: 20px; height: 20px; color: var(--steel); }
.drawer-link.on { color: var(--brand); }
.drawer-call { margin-top: 24px; }
.drawer-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- 首屏 ---------------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; padding: 60px 0 34px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 17, .55) 0%, rgba(12, 14, 17, .25) 32%, rgba(12, 14, 17, .88) 100%),
    linear-gradient(90deg, rgba(12, 14, 17, .55), rgba(12, 14, 17, 0) 70%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; }
.hero h1 {
  font-size: clamp(36px, 11vw, 68px); line-height: 1.04; margin: 4px 0 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-lead { font-size: 16.5px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 0; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.hero-facts b span { font-size: 13px; font-weight: 600; margin-left: 1px; }
.hero-facts em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .72); }

/* ---------------- 区块 ---------------- */
.section { padding: 52px 0; }
.section + .section { padding-top: 0; }
.section-flow { padding-top: 46px; }

.flow { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.flow li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px dashed var(--line);
}
.flow li:last-child { border-bottom: 0; }
.flow b {
  flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--paper);
  border: 1.5px solid var(--line); display: grid; place-items: center;
  font-size: 15px; color: var(--brand); font-weight: 800;
}
.flow div { display: flex; flex-direction: column; }
.flow span { font-size: 18px; font-weight: 700; }
.flow em { font-style: normal; font-size: 14px; color: var(--muted); }
.flow-cta { margin-bottom: 18px; }
.flow-cta svg { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 14px; padding: 7px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink2);
}

/* ---------------- 产品线 ---------------- */
.prods { display: flex; flex-direction: column; gap: 22px; }
.prod {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.prod-media { position: relative; aspect-ratio: 4 / 3; background: var(--line-2); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.media-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 14px; }
.prod-badge {
  position: absolute; left: 14px; top: 14px;
  background: rgba(25, 27, 30, .82); color: #fff; font-size: 13px; font-weight: 800;
  padding: 5px 11px; border-radius: 999px; letter-spacing: .06em; backdrop-filter: blur(4px);
}
.prod-body { padding: 20px 18px 22px; }
.prod-body h3 { font-size: 25px; }
.prod-tag { margin-top: 6px; color: var(--brand); font-weight: 700; font-size: 15px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.prod-specs > div { display: flex; flex-direction: column; }
.prod-specs dt { font-size: 12.5px; color: var(--muted); }
.prod-specs dd { font-size: 15.5px; font-weight: 700; }
.prod-desc { color: var(--ink2); font-size: 15.5px; }
.prod-feats { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.prod-feats li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink2); }
.prod-feats li::before {
  content: ""; position: absolute; left: 2px; top: 10px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--brand); transform: rotate(45deg);
}
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.price { font-size: 28px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price i { font-size: 16px; font-style: normal; margin-right: 2px; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }

/* ---------------- 通用配置 ---------------- */
.section-spec { background: var(--ink); color: #fff; }
.section-spec .sec-head h2 { color: #fff; }
.section-spec .sec-head p { color: rgba(255, 255, 255, .62); }
.spec-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; }
.spec-grid li { background: #1f2226; padding: 18px 18px 20px; }
.spec-grid b { display: block; font-size: 17px; margin-bottom: 6px; }
.spec-grid span { font-size: 14.5px; color: rgba(255, 255, 255, .6); }

/* ---------------- 案例瀑布流 ---------------- */
.masonry { columns: 2; column-gap: 12px; }
.case-card {
  break-inside: avoid; margin: 0 0 12px; background: var(--paper); display: block;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.case-card:hover { border-color: #d9cfc1; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.case-media { position: relative; background: var(--line-2); overflow: hidden; }
.case-media img, .case-media video { width: 100%; height: auto; display: block; }
.case-media video { background: #0e0f11; }
.case-video-ph {
  display: flex; align-items: center; justify-content: center; min-height: 150px;
  padding: 16px; text-align: center; font-size: 13px; color: var(--muted);
  background: linear-gradient(135deg, #2a2d31, #14161a);
}
.case-badge {
  position: absolute; right: 10px; top: 10px; background: rgba(25, 27, 30, .8); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em;
}
.case-play {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
}
.case-play svg { width: 22px; height: 22px; margin-left: 2px; }
.case-info { padding: 10px 12px 13px; }
.case-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.case-card h3 { font-size: 14.5px; line-height: 1.45; font-weight: 700; letter-spacing: 0; }
.case-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.case-more {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 9px;
  font-size: 12.5px; font-weight: 700; color: var(--brand);
}
.case-more svg { width: 14px; height: 14px; }

/* ---------------- 面包屑 ---------------- */
.crumbs { padding: 14px 0 0; }
.crumbs .wrap { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--ink2); }
.crumbs a:hover { color: var(--brand); }
.crumbs em { font-style: normal; color: var(--muted); max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.crumbs-flat { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs-flat a { color: var(--ink2); }

/* ---------------- 案例详情页 ---------------- */
.case-head { padding: 22px 0 4px; }
.case-head .eyebrow { margin-bottom: 10px; }
.case-head h1 { font-size: clamp(25px, 6.6vw, 42px); }
.case-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px;
  font-size: 13.5px; color: var(--muted);
}
.case-meta span { position: relative; padding-left: 12px; }
.case-meta span::before { content: "·"; position: absolute; left: 0; }

.case-main { padding: 18px 0 0; }
.case-hero { margin: 0 0 20px; }
.case-hero-zoom { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--line-2); }
.case-hero img { width: 100%; height: auto; }
.case-hero-tip {
  position: absolute; right: 12px; bottom: 12px; background: rgba(25, 27, 30, .72); color: #fff;
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
}
.case-video-wrap { border-radius: var(--r); overflow: hidden; background: #0e0f11; }
.case-video-wrap video { width: 100%; display: block; max-height: 76vh; }
.case-hero figcaption {
  margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.65;
}

.case-body p { font-size: 16.5px; line-height: 1.85; color: var(--ink2); }
.case-body p + p { margin-top: 12px; }
.case-facts {
  margin: 22px 0 0; padding: 4px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.case-facts div { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.case-facts div:last-child { border-bottom: 0; }
.case-facts dt { flex: none; width: 76px; font-size: 14px; color: var(--muted); }
.case-facts dd { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.case-facts dd a { color: var(--brand); font-variant-numeric: tabular-nums; }

.case-cta {
  margin-top: 22px; padding: 22px 18px; border-radius: var(--r);
  background: var(--ink); color: #fff;
}
.case-cta-title { font-size: 21px; font-weight: 800; }
.case-cta-sub { margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.case-cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.case-cta-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.case-cta-actions .btn-outline:hover { border-color: #fff; }

.case-related { padding-top: 40px; }
.case-nav { display: flex; gap: 10px; padding: 8px 0 40px; }
.case-nav-item {
  flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); display: block;
}
.case-nav-item span { display: block; font-size: 12.5px; color: var(--muted); }
.case-nav-item b { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; }
.case-nav-next { text-align: right; }

/* ---------------- 区域小标题 / 常见问题 ---------------- */
.seo-postscript { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.seo-postscript h2 { font-size: 22px; }
.seo-postscript p { margin-top: 10px; font-size: 15.5px; color: var(--ink2); line-height: 1.8; }
.seo-postscript a { color: var(--brand); font-weight: 700; }

.faq-block { margin-top: 32px; }
.faq-block h2 { font-size: 24px; }
.faq-item {
  margin-top: 10px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 0 16px;
}
.faq-item summary {
  cursor: pointer; padding: 15px 26px 15px 0; font-weight: 700; font-size: 16px;
  position: relative; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 13px; font-size: 20px; color: var(--brand);
  font-weight: 700; transition: transform .15s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 16px; }
.faq-a p { font-size: 15px; color: var(--ink2); line-height: 1.8; }

.section-cases .btn-block { margin-top: 20px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 9, 10, .94);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; cursor: pointer;
}

/* ---------------- 联系 CTA ---------------- */
.cta-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 20px; box-shadow: var(--shadow);
}
.cta-text h2 { font-size: clamp(23px, 6vw, 32px); }
.cta-text p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.cta-side { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink2); font-size: 15px; }
.cta-side p + .cta-side-title { margin-top: 14px; }
.cta-side-title { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; font-weight: 700; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 40px 0 26px; margin-top: 8px; }
.foot-grid { display: grid; gap: 26px; }
.brand-foot .brand-text b { color: #fff; }
.brand-foot .brand-text i { color: rgba(255, 255, 255, .5); }
.foot-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .55); }
.foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.foot-col h4 { font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); margin-bottom: 3px; }
.foot-col a, .foot-col span { color: rgba(255, 255, 255, .72); }
.foot-col a:hover { color: #fff; }
.foot-tel { font-size: 22px; font-weight: 800; color: #fff !important; font-variant-numeric: tabular-nums; }
.foot-bottom {
  display: flex; flex-direction: column; gap: 6px; margin-top: 26px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .4);
}

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  height: var(--tab-h); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; color: var(--muted); font-size: 11.5px; font-weight: 600;
}
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--brand); }
.tab-call { color: var(--brand); }
.tab-call svg { width: 24px; height: 24px; }

/* ---------------- 内页头部 ---------------- */
.sub-hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 30px 0 26px; border-bottom: 1px solid var(--line-2);
}
.sub-hero h1 { font-size: clamp(27px, 7.6vw, 44px); }
.sub-hero p { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 620px; }
.stat-row { display: flex; gap: 20px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.stat-row b { color: var(--ink); font-size: 17px; font-weight: 800; }

/* ---------------- 帮我选 ---------------- */
.steps-bar { position: relative; display: flex; justify-content: space-between; gap: 2px; padding: 22px 0 6px; }
.steps-line { position: absolute; left: 6%; right: 6%; top: 40px; height: 3px; background: var(--line); border-radius: 3px; }
.steps-line i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 3px; transition: width .3s ease; }
.step-dot {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); font-weight: 600; flex: 1; text-align: center;
}
.step-dot::before {
  content: attr(data-s); width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); color: var(--muted);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 800;
}
.step-dot.done::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-dot.on { color: var(--ink); }
.step-dot.on::before { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

.picker { padding-bottom: 30px; }
.picker-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 6px 0 18px;
}
.picker-progress { font-size: 14px; color: var(--muted); }

.step { padding: 6px 0 4px; animation: slideUp .22s ease; }
.step[hidden] { display: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-title { display: flex; align-items: baseline; gap: 10px; font-size: 22px; flex-wrap: wrap; }
.step-title b {
  font-size: 12.5px; font-weight: 800; color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
}
.step-title span { font-size: clamp(21px, 5.6vw, 28px); }
.step-hint { margin: 10px 0 18px; font-size: 14.5px; color: var(--muted); }

.opt-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left;
  background: var(--paper); border: 1.6px solid var(--line); border-radius: 15px;
  padding: 17px 16px; cursor: pointer; transition: .15s; min-height: 74px;
  -webkit-tap-highlight-color: transparent;
}
.opt:hover { border-color: #cfc6b8; }
.opt:active { transform: scale(.995); }
.opt.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 2px rgba(232, 83, 31, .12); }
.opt-name { font-size: 19px; font-weight: 700; line-height: 1.3; }
.opt-intro { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.opt-price { font-size: 13px; color: var(--brand); font-weight: 700; }
.opt-idx { position: absolute; right: 14px; top: 12px; font-size: 12px; font-weight: 800; color: #c9c0b2; letter-spacing: .06em; }
.opt.loading { opacity: .55; pointer-events: none; }

.empty-tip {
  margin-top: 16px; padding: 16px; border-radius: 12px;
  background: #fff6ee; border: 1px solid #f6dcc7; color: #8a4b1d; font-size: 15px;
}
.empty-tip a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.rack-list { display: flex; flex-direction: column; gap: 12px; }
.rack-opt {
  display: flex; gap: 14px; align-items: stretch; text-align: left; width: 100%;
  background: var(--paper); border: 1.6px solid var(--line); border-radius: 16px;
  padding: 12px; cursor: pointer; transition: .15s;
}
.rack-opt.selected { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(232, 83, 31, .12); }
.rack-opt-media { width: 104px; height: 104px; flex: none; border-radius: 11px; overflow: hidden; background: var(--line-2); }
.rack-opt-media img { width: 100%; height: 100%; object-fit: cover; }
.rack-opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.rack-opt-body h3 { font-size: 19px; }
.rack-opt-body p { font-size: 13.5px; color: var(--muted); }
.rack-opt-price { font-size: 21px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.rack-opt-price small { font-size: 12px; color: var(--muted); font-weight: 600; }

/* 结果 */
.result-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.result-head { padding: 20px; background: var(--ink); color: #fff; }
.result-head h2 { font-size: 24px; }
.result-head p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.result-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.result-chips span {
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9);
}
.result-body { padding: 18px 18px 20px; }
.result-rack { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.result-rack img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; flex: none; }
.result-rack h3 { font-size: 20px; }
.result-rack p { font-size: 13.5px; color: var(--muted); }
.result-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.result-specs span { font-size: 12px; background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; color: var(--ink2); }

.price-lines { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.price-lines div { display: flex; justify-content: space-between; gap: 14px; font-size: 15.5px; }
.price-lines dt { color: var(--ink2); }
.price-lines dd { font-variant-numeric: tabular-nums; font-weight: 700; }
.price-total {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.price-total span { font-size: 15px; color: var(--ink2); }
.price-total b { font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-total b i { font-size: 20px; font-style: normal; margin-right: 2px; }
.price-total b em { font-size: 13px; font-style: normal; color: var(--muted); font-weight: 600; margin-left: 6px; }

.result-note {
  margin-top: 14px; padding: 13px 14px; background: #fff8f2; border: 1px solid #f6dcc7;
  border-radius: 11px; font-size: 14px; color: #8a4b1d;
}
.result-feats { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.result-feats li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink2); }
.result-feats li::before { content: "·"; position: absolute; left: 4px; top: -1px; color: var(--brand); font-weight: 800; }
.result-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.result-actions .row { display: flex; gap: 10px; }
.result-actions .row > * { flex: 1; }

/* ---------------- 案例页 ---------------- */
.section-cases-page { padding-top: 22px; }
.empty-block { text-align: center; padding: 50px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); }
.empty-block p { color: var(--muted); margin-bottom: 18px; }

/* ---------------- 联系我们 ---------------- */
.contact-section { padding-top: 26px; }
.contact-grid { display: grid; gap: 14px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.contact-label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.contact-tel {
  display: block; margin: 10px 0 4px; font-size: clamp(30px, 8.4vw, 40px); font-weight: 800;
  letter-spacing: .01em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.contact-tel-2 { font-size: 24px; color: var(--ink2); }
.contact-note { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.contact-call .btn { margin-top: 6px; }

.contact-wechat { text-align: center; }
.contact-wechat .contact-label { text-align: left; }
.qr { width: 190px; height: 190px; margin: 14px auto 10px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.qr-empty { display: grid; place-items: center; border-style: dashed; color: var(--muted); font-size: 14px; }
.wechat-id { font-size: 15px; color: var(--ink2); }
.wechat-id b { font-size: 17px; color: var(--ink); letter-spacing: .02em; }

.addr-text { font-size: 19px; font-weight: 700; margin: 10px 0 14px; line-height: 1.5; }
.contact-addr .btn + .btn { margin-top: 10px; }
.contact-addr .contact-note { margin: 14px 0 0; }

.map-card { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map-head { padding: 18px 20px 14px; }
.map-head h2 { font-size: 19px; }
.map-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.map-body { width: 100%; height: 300px; border: 0; display: block; background: var(--line-2); }

/* 免 Key 静态小地图 */
.mini-map { position: relative; height: 300px; overflow: hidden; background: #e9ebe7; touch-action: pan-y; }
.mini-map-tiles { position: absolute; width: 768px; height: 768px; }
.mini-map-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
.mini-map-pin {
  position: absolute; left: 50%; top: 50%; width: 30px; height: 42px;
  margin: -42px 0 0 -15px; pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 40'%3E%3Cpath d='M14 0C6.3 0 0 6.3 0 14c0 10.5 14 26 14 26s14-15.5 14-26C28 6.3 21.7 0 14 0z' fill='%23e8531f'/%3E%3Ccircle cx='14' cy='14' r='5.5' fill='%23fff'/%3E%3C/svg%3E");
}

.contact-about { margin-top: 26px; }
.contact-about h2 { font-size: 24px; }
.contact-about h3 { font-size: 18px; margin-top: 20px; }
.contact-about p { margin-top: 10px; color: var(--ink2); font-size: 15.5px; }
.about-list { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.about-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }
.about-list b { display: block; font-size: 16px; }
.about-list span { font-size: 14px; color: var(--muted); }

/* ---------------- 平板 / 桌面 ---------------- */
@media (min-width: 680px) {
  body { font-size: 17.5px; }
  .hero-actions { flex-direction: row; }
  .cta-actions { flex-direction: row; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .prod { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .prod-media { aspect-ratio: auto; height: 100%; min-height: 280px; }
  .prod-body { padding: 26px 24px; }
  .masonry { columns: 3; column-gap: 14px; }
  .case-card { margin-bottom: 14px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-addr { grid-column: 1 / -1; }
  .map-body { height: 380px; }
  .result-body { padding: 22px 22px 24px; }
  .price-lines div { font-size: 16px; }
}

@media (min-width: 900px) {
  :root { --header-h: 70px; }
  body { padding-bottom: 0; }
  .menu-btn { display: none; }
  .top-nav { display: flex; }
  .header-tel { display: inline-flex; }
  .tabbar { display: none; }
  .drawer { display: none !important; }
  .wrap { padding: 0 26px; }
  .section { padding: 76px 0; }
  .section + .section { padding-top: 0; }
  .hero { min-height: 90vh; padding-bottom: 56px; }
  .hero-lead { font-size: 18px; }
  .hero-facts { max-width: 560px; }
  .flow { flex-direction: row; gap: 14px; }
  .flow li { flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
  .flow b { width: auto; height: auto; border: 0; background: transparent; padding: 0; font-size: 22px; }
  .flow span { font-size: 19px; }
  .br-m { display: none; }
  .prods { gap: 26px; }
  .prod-b { direction: rtl; }
  .prod-b > * { direction: ltr; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
  .spec-grid li { padding: 22px 20px 24px; }
  .masonry { columns: 4; column-gap: 16px; }
  .case-card { margin-bottom: 16px; }
  .cta-card { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: 38px 40px; }
  .cta-text { flex: 1; }
  .cta-side { margin: 0; padding: 0 0 0 30px; border-top: 0; border-left: 1px solid var(--line-2); min-width: 260px; }
  .contact-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .contact-addr { grid-column: auto; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
  .foot-bottom { flex-direction: row; justify-content: space-between; }
  .steps-bar { max-width: 620px; }
  .picker .wrap { max-width: 860px; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .opt { padding: 20px 18px; }
  .opt-name { font-size: 20px; }
  .result-actions { flex-direction: row; }
  .result-actions > .btn-primary { flex: 2; }
  .result-actions .row { flex: 1; }

  /* 案例详情：左图右文 */
  .crumbs { padding-top: 20px; }
  .case-head { padding-top: 26px; }
  .case-main { display: grid; grid-template-columns: 1.12fr .88fr; gap: 36px; align-items: start; padding-top: 22px; }
  .case-hero { position: sticky; top: calc(var(--header-h) + 18px); margin-bottom: 0; }
  .case-body p { font-size: 17px; }
  .case-cta { padding: 26px 24px; }
  .case-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .case-nav { padding-bottom: 56px; }
  .faq-block { max-width: 860px; }
  .seo-postscript { max-width: 860px; }
}

@media (min-width: 1100px) {
  .opt-grid { gap: 14px; }
  .hero h1 { max-width: 780px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* 打印 / 无障碍 */
:focus-visible { outline: 3px solid rgba(232, 83, 31, .45); outline-offset: 2px; }
