/* 新盛装饰 · /m/ 移动版样式（首屏主体突出、320px/200%缩放无溢出、底部拨号栏不遮挡页脚） */
:root {
  --primary: #35404D;
  --primary-soft: #45505E;
  --accent: #9A6338;
  --bg: #F1F3F5;
  --surface: #FFFFFF;
  --surface-alt: #F7F8FA;
  --text: #202730;
  --muted: #525E6D;
  --border: #D3D9E0;
  --banner-bg: #FFF3DA;
  --banner-text: #553B0C;
  --banner-border: #DFC083;
  --m-header-h: 3.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  padding-bottom: 9.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.m-wrap { width: min(680px, 100% - 1.5rem); margin-inline: auto; }

.concept-banner {
  background: var(--banner-bg);
  color: var(--banner-text);
  border-bottom: 1px solid var(--banner-border);
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.42rem 0;
}
.concept-banner p { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.m-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}
.m-header-bar {
  min-height: var(--m-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  flex-wrap: wrap;
}
.m-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.m-brand img.brand-logo { width: auto; height: 36px; flex-shrink: 0; object-fit: contain; border-radius: 5px; }
.brand-logo-dark { background: #000000; padding: 2px; border: 1px solid rgba(0, 0, 0, 0.14); }
.brand-logo-light { background: transparent; }
.m-footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
.m-footer-brand img.brand-logo { width: auto; height: 26px; flex-shrink: 0; object-fit: contain; border-radius: 4px; }
.m-brand-title { font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.m-brand-sub { display: block; font-size: 0.72rem; color: var(--muted); }

.m-actions { display: inline-flex; align-items: center; gap: 0.45rem; }
.m-switch, .m-menu-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.62rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.m-nav {
  display: none;
  padding: 0.5rem 0 0.75rem;
  border-top: 1px solid var(--border);
  gap: 0.35rem;
  flex-direction: column;
}
.m-nav.is-open { display: flex; }
.m-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.42rem 0.25rem;
  font-size: 0.94rem;
  font-weight: 500;
}

.m-hero {
  background: var(--surface);
  padding: 1.15rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}
.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
h1 {
  margin: 0 0 0.5rem;
  font-size: 1.38rem;
  line-height: 1.28;
  color: var(--primary);
  overflow-wrap: anywhere;
}
.m-entity {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--surface-alt);
  border-left: 3px solid var(--accent);
  padding: 0.45rem 0.65rem;
}
.m-lead { margin: 0 0 0.75rem; font-size: 0.96rem; }
.m-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}
.m-hint { margin: 0 0 0.9rem; font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }

.m-diagram {
  margin: 0;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem;
}
.m-diagram figcaption { margin-top: 0.45rem; font-size: 0.76rem; color: var(--muted); }

.m-section {
  padding: 1.25rem 0;
  scroll-margin-top: calc(var(--m-header-h) + 0.8rem);
}
.m-section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { margin: 0 0 0.65rem; font-size: 1.18rem; color: var(--primary); line-height: 1.3; }
h3 { margin: 0 0 0.3rem; font-size: 0.98rem; color: var(--primary); }

.m-stack { display: grid; gap: 0.75rem; }
.m-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem;
}
.m-section-alt .m-card { background: var(--surface-alt); }
.m-card p { margin: 0 0 0.45rem; font-size: 0.92rem; }
.m-card p:last-child { margin-bottom: 0; }
.m-note { font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 0.45rem; margin-top: 0.45rem; }

.m-step-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; }
.m-badge {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.m-list { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.45rem; font-size: 0.9rem; }

.m-faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}
.m-faq summary {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--primary);
  cursor: pointer;
}
.m-faq p { margin: 0.55rem 0 0; font-size: 0.89rem; color: var(--text); }

.m-contact {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 1.05rem;
}
.m-contact h2 { color: #FFFFFF; }
.m-contact p { margin: 0 0 0.55rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.92); overflow-wrap: anywhere; }
.m-contact-btn {
  display: block;
  text-align: center;
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.m-footer {
  padding: 1.1rem 0 1.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.m-footer p { margin: 0 0 0.4rem; }

.m-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}
.m-callbar-inner {
  width: min(680px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.m-callbar-btn {
  flex: 1 1 180px;
  text-align: center;
  background: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.m-callbar-pc {
  flex: 0 1 auto;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
}
.m-hero-photo {
  margin: 0 0 0.85rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.m-hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.m-hero-photo figcaption { padding: 0.35rem 0.55rem; font-size: 0.74rem; color: var(--muted); }
.back-to-top {
  position: fixed;
  right: 0.9rem;
  bottom: calc(var(--callbar-h, 4.4rem) + 0.85rem);
  z-index: 125;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.32);
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  display: grid;
  place-items: center;
  text-decoration: none;
  opacity: 0.92;
}
.back-to-top:hover { opacity: 1; background: var(--accent); }

.m-header { background: #1E252D; color: #FFFFFF; border-bottom: 3px solid #B06D3E; }
.m-brand { color: #FFFFFF; }
.m-brand-sub { color: rgba(255,255,255,0.75); }
.m-switch, .m-menu-btn { background: #2E3844; color: #FFFFFF; border-color: #4A5868; border-radius: 2px; }
.m-nav a { color: #FFFFFF; }
.m-hero { background: #252E38; color: #FFFFFF; border-bottom: 3px solid #B06D3E; }
.m-hero h1 { color: #FFFFFF; }
.m-entity { background: rgba(255,255,255,0.08); color: #E2E7EC; border-left-color: #B06D3E; }
.m-hint { color: rgba(255,255,255,0.8); }
.m-cta { background: #B06D3E; color: #FFFFFF; border-radius: 2px; }
.m-card, .m-faq, .m-diagram { border-radius: 2px; border-left: 4px solid #35404D; }

