.site-header { position: relative; z-index: 30; background: var(--ink); color: var(--paper); border-bottom: 4px solid var(--orange); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; background: var(--orange); color: var(--ink); border: 2px solid var(--paper); font: 900 1.1rem/1 var(--display); }
.brand-copy small { display: block; margin-top: 2px; color: var(--lime); font: 700 .62rem/1 var(--mono); letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 26px); }
.desktop-nav a { position: relative; padding: 10px 0; color: var(--paper); font-size: .91rem; font-weight: 800; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.city-switch { display: flex; align-items: center; gap: 7px; color: var(--paper); font-size: .75rem; }
.city-switch select { max-width: 106px; border: 1px solid var(--paper); border-radius: 0; background: transparent; color: var(--paper); padding: 7px 8px; }
.city-switch option { color: var(--ink); }
.phone-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 2px solid var(--ink); border-radius: 0; padding: 11px 16px; background: var(--orange); color: var(--ink); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease; }
.phone-cta { border-color: var(--orange); background: transparent; color: var(--orange); white-space: nowrap; }
.phone-cta:hover, .btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--lime); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--lime { background: var(--lime); }
.btn--outline { background: transparent; border-color: var(--ink); }
.menu-toggle { display: none; border: 2px solid var(--paper); border-radius: 0; background: transparent; color: var(--paper); padding: 8px 10px; }
.menu-toggle svg { width: 21px; height: 21px; }
.mobile-drawer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 22px var(--gutter); background: var(--ink); color: var(--paper); transform: translateX(100%); transition: transform .35s var(--ease); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 3px solid var(--orange); }
.drawer-close { border: 2px solid var(--paper); border-radius: 0; background: transparent; color: var(--paper); padding: 8px 11px; }
.drawer-nav { display: grid; gap: 0; margin-top: 20px; }
.drawer-nav a { padding: 15px 0; border-bottom: 1px solid rgba(242,239,230,.35); font: 900 clamp(1.5rem,6vw,2.5rem)/1 var(--display); text-transform: uppercase; }
.drawer-city { margin-top: auto; padding: 18px 0 5px; border-top: 3px solid var(--lime); }
.drawer-city label { display: block; margin-bottom: 8px; color: var(--lime); font: 700 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.drawer-city select { width: 100%; border: 2px solid var(--paper); border-radius: 0; background: var(--ink); color: var(--paper); padding: 12px; }

.page-main { min-height: 70vh; }
.section { padding: clamp(62px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head h2 { max-width: 760px; margin: 0; font: 900 clamp(2rem,5vw,4.6rem)/.94 var(--display); text-transform: uppercase; }
.section-head p { max-width: 450px; margin: 0; color: var(--muted); }
.section--dark .section-head p { color: #b3bdb5; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.site-footer { background: var(--ink); color: var(--paper); border-top: 4px solid var(--orange); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 56px 0 42px; }
.footer-brand { padding-right: clamp(20px, 5vw, 80px); border-right: 4px solid var(--orange); }
.footer-brand h2 { margin: 20px 0 12px; font: 900 clamp(2.2rem,6vw,5.5rem)/.85 var(--display); text-transform: uppercase; }
.footer-brand p { max-width: 430px; margin: 0; color: #b3bdb5; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-left: clamp(20px, 5vw, 80px); }
.footer-group summary { margin: 0 0 13px; color: var(--lime); font: 800 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; list-style: none; cursor: pointer; }
.footer-group summary::-webkit-details-marker { display: none; }
.footer-group summary::after { content: "+"; display: none; float: right; font-size: 1rem; }
.footer-group a { display: block; width: fit-content; padding: 4px 0; color: var(--paper); font-weight: 700; }
.footer-group a:hover { color: var(--orange); }
.footer-contact { grid-column: 1 / -1; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(242,239,230,.35); }
.footer-contact h3 { margin: 0 0 12px; color: var(--lime); font: 800 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.footer-contact strong { display: block; color: var(--orange); font: 900 clamp(1.8rem,4vw,3.6rem)/1 var(--display); letter-spacing: .03em; }
.footer-contact span { color: #b3bdb5; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(242,239,230,.35); color: #b3bdb5; font-size: .78rem; }
.footer-bottom a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .footer-admin-link { color: var(--lime); font-weight: 900; }
.footer-bottom .footer-links-inline { display: flex; gap: 14px; margin-left: auto; }

@media (max-width: 1439px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: .82rem; }
  .city-switch { display: none; }
}
@media (max-width: 1199px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .desktop-nav, .header-actions .phone-cta { display: none; }
  .header-actions { justify-content: end; }
  .menu-toggle { display: inline-flex; }
  .section-head, .split { grid-template-columns: 1fr; display: grid; align-items: start; }
}
@media (max-width: 767px) {
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-copy { font-size: .9rem; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 28px; }
  .footer-brand { padding: 0 0 26px; border-right: 0; border-bottom: 4px solid var(--orange); }
  .footer-links { padding: 0; }
  .footer-group summary::after { display: block; }
  .footer-group[open] summary::after { content: "–"; }
  .footer-bottom { display: block; line-height: 1.9; }
  .footer-bottom .footer-links-inline { margin: 8px 0 0; }
}

/* 前台导航、页脚与后台工作台统一 */
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(24,70,54,.05); }
.brand-mark { border: 0; border-radius: 12px; background: #1d806b; color: #fff; }
.brand-copy small { color: #566b62; }
.desktop-nav a { color: var(--ink-soft); }
.desktop-nav a::after { height: 2px; background: #1d806b; border-radius: 99px; }
.city-switch { color: var(--ink-soft); }
.city-switch select { border: 1px solid var(--line); border-radius: 8px; background: #f8fbf9; color: var(--ink); }
.phone-cta, .btn { border: 0; border-radius: 9px; background: #1d806b; color: #fff; letter-spacing: 0; text-transform: none; box-shadow: none; }
.phone-cta { border: 1px solid #c7dbd1; background: #f7fbf8; color: #36705e; }
.phone-cta:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(29,128,107,.2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--lime { background: #d8ebe2; color: #32705d; }
/* 描边按钮：原来写死 color:#fff + 透明底，在浅色页面上就是"白字白底"看不见。
 * 改为白底 + 主色文字 + 细边框，深色区块内再单独覆盖一次（见 .section--dark 规则）。 */
.btn--outline { border: 1px solid #b9cfc3; background: #fff; color: var(--ink); }
.section--dark .btn--outline, .hero--dark .btn--outline { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.menu-toggle, .drawer-close { border: 1px solid var(--line); border-radius: 8px; background: #f7fbf8; color: var(--ink); }
.mobile-drawer { background: #fff; color: var(--ink); }
.drawer-head { border-bottom: 1px solid var(--line); }
.drawer-nav a { border-bottom: 1px solid var(--line); }
.drawer-city { border-top: 2px solid #1d806b; }
.drawer-city label { color: #1d806b; }
.drawer-city select { border: 1px solid var(--line); border-radius: 8px; background: #f8fbf9; color: var(--ink); }
.section--dark { background: #17352d; }
.site-footer { border-top: 1px solid #255647; }
.footer-brand { border-right-color: #d46439; }
.footer-group summary, .footer-contact h3 { color: #cfe8dc; }
.footer-contact strong { color: #e99573; }
.footer-bottom .footer-admin-link { color: #cfe8dc; }

/* ==========================================================================
   备案信息兜底页脚
   --------------------------------------------------------------------------
   页脚主体由 nav.js 在浏览器里渲染，但：
     - 工信部备案核查不会执行 JS
     - 部分搜索引擎爬虫也不执行 JS
   因此把「公司名 + 备案号」直出到静态 HTML 里（build.js 的 pageShell）。
   脚本运行后会渲染完整页脚，这时把这段兜底隐藏，避免出现两份。
   ========================================================================== */
.seo-beian-footer {
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line);
  background: #fff;
  color: #566b62;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: center;
}
.seo-beian-footer a { color: #1d806b; font-weight: 700; }
.seo-beian-footer a:hover { text-decoration: underline; }
/* JS 已完成渲染时隐藏兜底 */
.site-footer ~ .seo-beian-footer,
body:has(.site-footer) .seo-beian-footer { display: none; }
/* 页脚联系方式排版修复
   site-runtime.js 会把客服时间/邮箱写入 <span>，再追加一个 <small class="dynamic-address"> 放地址。
   两者默认都是行内元素，会挤在同一行粘在一起（"7498113@qq.com广州市白云区…"）。
   让它们各占一行。 */
.footer-contact span { display: block; margin-top: 6px; }
.footer-contact .dynamic-address {
  display: block;
  margin-top: 8px;
  color: #9fb3aa;
  font-size: 12.5px;
  line-height: 1.7;
}