@charset "utf-8";
/* 上海大众搬家 - SEO 友好型前端样式
   设计目标：语义化结构、稳定布局（防 CLS）、移动优先、零阻塞渲染 */

:root {
  --brand: #008e44;
  --brand-dark: #00723a;
  --brand-light: #e8f6ee;
  --ink: #1b2328;
  --ink-2: #4a5a63;
  --ink-3: #7b8a93;
  --line: #e3e9ec;
  --bg: #ffffff;
  --bg-soft: #f6f9fa;
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1200px;
  --shadow: 0 6px 24px rgba(16, 42, 60, .08);
  --shadow-lg: 0 18px 48px rgba(16, 42, 60, .14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(26px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button { font-family: inherit; }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover { background: var(--brand-light); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--ink); color: #cfd8dc; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.topbar-slogan { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-contact { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-label { color: #90a2ab; }
.topbar-tel { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .5px; }
.topbar-tel:hover { color: #7ee2a8; }

/* ---------- 头部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: auto; height: 44px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.brand-tag { font-size: 12px; color: var(--ink-3); letter-spacing: 2px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;  /* 防止 flex 空间不足时菜单文字被压成一字一行 */
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); background: var(--brand-light); }

.sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; z-index: 70;
}
.nav-item:hover > .sub-menu { display: block; }
.sub-menu:empty { display: none !important; }
.sub-menu li a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.sub-menu li a:hover { background: var(--brand-light); color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.btn-tel { border-color: var(--brand); color: var(--brand); padding: 8px 16px; }
.btn-tel-num { font-weight: 800; letter-spacing: .5px; }
.btn-tel-icon { font-size: 14px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; margin: 3px 0; background: var(--ink); border-radius: 2px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav:not([hidden]) { display: block; }
.mobile-nav-list { padding: 8px 20px 16px; }
.mobile-nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero { background: linear-gradient(160deg, #f2f9f5 0%, #ffffff 60%); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px; align-items: start; padding: 56px 20px 64px;
}
.hero-eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px;
  background: var(--brand-light); color: var(--brand-dark);
  border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
}
.hero h1 { margin-bottom: 16px; letter-spacing: .5px; }
.hero-lead { font-size: 17px; color: var(--ink-2); margin-bottom: 22px; max-width: 640px; }

.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-bottom: 26px; }
.hero-points li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800;
}
.hero-points strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-stat dt { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.hero-stat dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }

/* ---------- 报价卡 ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; scroll-margin-top: 90px;
}
.quote-title { font-size: 20px; margin-bottom: 6px; }
.quote-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.quote-form .field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field-label em { color: #e02b20; font-style: normal; }
.quote-form input {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 142, 68, .12); }
.quote-privacy { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

/* ---------- 通用区块 ---------- */
.section { padding: 64px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head-left { text-align: left; }
.section-eyebrow { margin-bottom: 8px; font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--brand); text-transform: uppercase; }
.section-desc { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.section-more { margin-top: 26px; text-align: center; }
.section-more a { color: var(--brand); font-weight: 700; }
.section-more a:hover { text-decoration: underline; }

/* ---------- 服务卡片 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.service-card > a { display: block; padding: 26px 20px; }
.service-icon { display: block; font-size: 30px; line-height: 1; margin-bottom: 12px; }
.service-name { font-size: 17px; margin-bottom: 4px; }
.service-en { font-size: 12px; color: var(--ink-3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.service-more { font-size: 14px; color: var(--brand); font-weight: 600; }

/* ---------- 优势 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 24px; }
.why-item h3 { margin-bottom: 8px; color: var(--brand-dark); }
.why-item p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- 关于 ---------- */
.about-inner { max-width: 860px; }
.about-content { font-size: 16px; color: var(--ink-2); margin-bottom: 22px; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-thumb { display: block; width: 100%; height: 180px; background-color: var(--bg-soft); background-size: cover; background-position: center; }
.case-body { padding: 18px 20px 22px; }
.case-title { font-size: 17px; margin-bottom: 8px; }
.case-desc { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- 新闻 ---------- */
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.news-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.news-item > a { display: flex; gap: 14px; padding: 16px 18px; align-items: center; }
.news-thumb {
  flex: 0 0 auto; width: 112px; height: 78px; border-radius: 8px;
  background-color: var(--bg-soft); background-size: cover; background-position: center;
}
.news-body { min-width: 0; flex: 1; }
.news-title { font-size: 16px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-desc { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin: 0; }
.news-date { font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; cursor: pointer; padding: 16px 20px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 16px; margin: 0; }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--brand); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 16px 20px 20px; }
.faq-answer p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- 底部 CTA ---------- */
/* 提高特异性：防止 .section:nth-of-type(even) 斑马纹把绿底盖成浅灰，导致白字看不清 */
.section.section-cta { background: var(--brand); color: #fff; text-align: center; }
.section-cta h2 { color: #fff; }
.section-cta p { color: #d7f2e3; margin-bottom: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.section-cta .btn-primary { background: #fff; color: var(--brand-dark); }
.section-cta .btn-primary:hover { background: #f1f9f4; color: var(--brand-dark); }
.section-cta .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.section-cta .btn-outline:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- 内页布局 ---------- */
.page-layout { padding: 24px 20px 64px; }
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand); }

.page-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.page-main { min-width: 0; }

.page-head { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.page-intro { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- 侧栏 ---------- */
.page-side { display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-title { font-size: 16px; padding-bottom: 12px; margin: 0 0 12px; border-bottom: 2px solid var(--brand); }
.side-nav li a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.side-nav li a:hover { background: var(--brand-light); color: var(--brand); }
.side-nav li.active a { background: var(--brand); color: #fff; font-weight: 600; }
.side-label { display: block; font-size: 12px; color: var(--ink-3); }
.side-tel-num { display: block; font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.side-tel { margin-bottom: 10px; }
.side-addr { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- 文章列表/详情 ---------- */
.article-list { display: grid; gap: 16px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.article-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.article-link { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 16px; }
.article-thumb { width: 200px; height: 130px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.article-title { font-size: 17px; margin-bottom: 8px; }
.article-desc { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; font-size: 13px; color: var(--ink-3); }

.article-detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.article-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.article-head .article-meta { font-size: 13px; }
/* ---------- 内页正文排版体系（覆盖 600+ 篇资讯与全部单页）---------- */
.article-content { font-size: 16px; color: #2b3a42; line-height: 1.9; }

/* 导语 */
.content-lead {
  margin: 0 0 22px; padding: 14px 18px; font-size: 16.5px; color: var(--ink);
  background: var(--brand-light); border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0;
}

/* 正文小标题：左侧色条，层级清晰，便于搜索引擎与读者快速扫读 */
.article-content h2 {
  margin: 34px 0 14px; padding-left: 13px; font-size: 21px; line-height: 1.5;
  color: var(--ink); border-left: 4px solid var(--brand);
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  margin: 24px 0 12px; padding-left: 11px; font-size: 17.5px;
  color: var(--ink); border-left: 3px solid #9bd8b6;
}
.article-content h4 { margin: 20px 0 10px; font-size: 16px; color: var(--ink); }
.article-content p { margin-bottom: 16px; }

/* 列表 */
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 0; }
.article-content ul { list-style: none; }
.article-content ul li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.article-content ul li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.article-content ol { padding-left: 22px; }
.article-content ol li { margin-bottom: 9px; }
.article-content ol li::marker { color: var(--brand); font-weight: 700; }

/* 强调与链接 */
.article-content strong { color: var(--brand-dark); font-weight: 700; }
.article-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* 图片：居中、圆角、不溢出 */
.article-content img {
  display: block; max-width: 100%; height: auto;
  margin: 20px auto; border-radius: 10px; box-shadow: var(--shadow);
}

/* 引用与表格 */
.article-content blockquote {
  margin: 18px 0; padding: 14px 18px; color: var(--ink-2);
  background: #f6f8f9; border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0;
}
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-content th { background: var(--brand-light); color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 18px; }
.article-content hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

/* 热线收尾段 */
.content-hotline {
  margin-top: 24px; padding: 14px 18px; font-weight: 700; color: var(--brand-dark);
  background: var(--brand-light); border-radius: 8px;
}

/* 正文目录（由脚本按小标题自动生成） */
.content-toc {
  margin: 0 0 24px; padding: 16px 18px; font-size: 15px;
  background: #f8fafa; border: 1px solid var(--line); border-radius: var(--radius);
}
.content-toc-title { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.content-toc ol { margin: 0; padding-left: 20px; }
.content-toc li { margin-bottom: 7px; }
.content-toc li::marker { color: var(--ink-3); }
.content-toc a { color: var(--ink-2); }
.content-toc a:hover { color: var(--brand); }
.article-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-tags { font-size: 13px; color: var(--ink-3); }
.article-pager p { margin: 0 0 8px; font-size: 15px; }
.article-pager a { color: var(--brand); }
.article-pager a:hover { text-decoration: underline; }

.related { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.related h2 { font-size: 18px; margin-bottom: 14px; }
.related-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.related-list li:last-child { border-bottom: 0; }
.related-list a:hover { color: var(--brand); }
.related-list time { color: var(--ink-3); font-size: 13px; flex: 0 0 auto; }

.article-cta { margin-top: 22px; background: var(--brand-light); border-radius: var(--radius); padding: 26px; text-align: center; }
.article-cta h2 { font-size: 20px; margin-bottom: 8px; }
.article-cta p { color: var(--ink-2); margin-bottom: 18px; }

/* ---------- 联系页内容卡片 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.contact-card h2 { font-size: 16px; margin-bottom: 10px; color: var(--brand-dark); }
.contact-num { margin-bottom: 6px; }
.contact-num a { font-size: 26px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.contact-num a:hover { color: var(--brand-dark); }
.contact-mail { margin-bottom: 6px; }
.contact-mail a { font-size: 15px; font-weight: 600; color: var(--ink); word-break: break-all; }
.contact-mail a:hover { color: var(--brand); }
.contact-addr { margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.contact-note { margin: 0; font-size: 13px; color: var(--ink-3); }
.contact-extra p { margin-bottom: 12px; color: var(--ink-2); }
.contact-qr { margin: 22px 0 0; padding: 0; text-align: center; }
.contact-qr img { display: inline-block; border-radius: 8px; background: #fff; }
.contact-qr figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

.article-cta .btn-primary,
.side-contact .btn-primary { color: #fff; }

/* ---------- 图文卡片网格 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.grid-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.grid-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.grid-thumb { width: 100%; height: 170px; object-fit: cover; background: var(--bg-soft); }
.grid-title { font-size: 16px; padding: 14px 16px 18px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.page-link, .pagination a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.page-status { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.empty-tip { padding: 40px; text-align: center; color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.site-footer { background: #16232a; color: #b7c5cb; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr .9fr; gap: 32px; padding: 52px 20px 36px; }
.footer-main > * { min-width: 0; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .95; }
.footer-desc { color: #93a5ad; line-height: 1.8; }
.footer-nap li { margin-bottom: 6px; }
.nap-label { display: inline-block; min-width: 52px; color: #6f848d; }
.footer-title { font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a:hover { color: #7ee2a8; }
.footer-tel-label { display: block; font-size: 12px; color: #6f848d; }
.footer-tel-num { display: block; font-size: 24px; font-weight: 800; color: #7ee2a8; letter-spacing: .5px; margin-bottom: 10px; }
.footer-mail a { color: #b7c5cb; word-break: break-all; }
.footer-mail a:hover { color: #7ee2a8; }
.footer-cta { margin-top: 14px; }
.footer-qr-img { width: 120px; height: 120px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-qr-tip { margin: 10px 0 0; font-size: 13px; color: #93a5ad; }

.footer-links { padding: 0 20px 24px; border-top: 1px solid #24333b; padding-top: 24px; }
.footer-links-title { font-size: 14px; color: #fff; margin-bottom: 12px; }
.footer-links-list { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links-list a { font-size: 13px; color: #93a5ad; }
.footer-links-list a:hover { color: #7ee2a8; }

.footer-bottom { background: #101b21; padding: 18px 0; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.copyright { margin: 0; }
.footer-meta { margin: 0; display: flex; gap: 14px; }
.footer-meta a { color: #93a5ad; }
.footer-meta a:hover { color: #7ee2a8; }

/* ---------- 移动端底栏 ---------- */
.mobile-bar { display: none; }

/* ---------- 响应式 ---------- */
/* 中大屏（≤1366px）：隐藏品牌文字、收紧导航，防止菜单被压缩竖排 */
@media (max-width: 1366px) {
  .brand-text { display: none; }
  .nav-link { padding: 10px 11px; font-size: 14px; }
  .header-inner { gap: 18px; }
}
/* 中屏（≤1200px）：收起头部报价按钮，报价走首屏表单与底栏 */
@media (max-width: 1200px) {
  .header-quote { display: none; }
  .nav-link { padding: 10px 9px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 48px; }
  .page-body { grid-template-columns: 1fr; }
  .page-side { order: 2; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== 平板与手机（≤860px）===== */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }

  /* 顶栏：只保留热线，居中显示 */
  .topbar { font-size: 12px; }
  .topbar-slogan { display: none; }
  .topbar-inner { justify-content: center; min-height: 34px; }

  /* 头部：压缩高度，logo 与电话按钮收窄，避免横向溢出 */
  .header-inner { gap: 12px; min-height: 58px; }
  .brand { min-width: 0; }
  .brand-logo { height: 34px; width: auto; max-width: 40vw; }
  .brand-text { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: block; width: 44px; height: 44px; padding: 11px; }
  /* 手机端 main-nav 隐藏后，改由按钮组承担 margin-left:auto，保证汉堡按钮贴右 */
  .header-actions { gap: 8px; min-width: 0; margin-left: auto; }
  .header-quote { display: none; }
  .btn-tel { padding: 9px 13px; }
  .btn-tel-icon { display: none; }
  .btn-tel-num { font-size: 14px; letter-spacing: 0; }

  /* 移动端抽屉导航 */
  .mobile-nav-list { padding: 4px 16px 14px; }
  .mobile-nav-list a { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; font-size: 15px; }
  .mobile-nav-list a::after { content: "›"; color: var(--ink-3); font-size: 18px; }

  /* 首屏 */
  .hero-inner { padding: 30px 16px 38px; gap: 26px; }
  .hero-eyebrow { font-size: 12px; padding: 3px 10px; }
  .hero-lead { font-size: 15px; margin-bottom: 18px; }
  .hero-points { gap: 6px 14px; margin-bottom: 20px; }
  .hero-points li { font-size: 14px; padding-left: 20px; }
  .hero-actions { gap: 10px; margin-bottom: 24px; }
  /* 服务年限等改为「标签 + 值」同行紧凑排布 */
  .hero-stats { grid-template-columns: 1fr; gap: 7px; padding-top: 16px; }
  .hero-stat { display: flex; align-items: baseline; gap: 10px; }
  .hero-stat dt { font-size: 12px; flex: 0 0 auto; }
  .hero-stat dd { font-size: 14px; }

  /* 触控目标：苹果/Android 最小可点区域 44px，主操作 48px */
  .btn { min-height: 44px; }
  .btn-lg, .btn-block { min-height: 48px; }

  /* 报价卡 */
  .quote-card { padding: 22px 18px; border-radius: 16px; box-shadow: var(--shadow); }
  .quote-title { font-size: 19px; }
  .quote-form .field { margin-bottom: 12px; }
  .quote-form .btn { padding: 13px 20px; }

  /* 区块节奏 */
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .section-eyebrow { letter-spacing: 2px; }

  /* 服务卡：两列紧凑网格 */
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card > a { padding: 18px 14px 16px; }
  .service-icon { font-size: 26px; margin-bottom: 10px; }
  .service-name { font-size: 15px; }
  .service-en { font-size: 11px; letter-spacing: 0; margin-bottom: 10px; }
  .service-more { font-size: 13px; }

  /* 优势卡 */
  .why-grid { gap: 12px; }
  .why-item { padding: 18px 16px; border-radius: 10px; }
  .why-item h3 { font-size: 16px; }
  .why-item p { font-size: 14px; }

  /* 案例卡 */
  .case-grid { gap: 10px; }
  /* 案例卡：小图横排紧凑样式，压缩手机端屏幕占比 */
  .case-card > a { display: flex; align-items: center; gap: 12px; padding: 12px; }
  .case-thumb { width: 112px; height: 84px; border-radius: 8px; flex: 0 0 auto; }
  .case-body { padding: 0; min-width: 0; }
  .case-title { font-size: 15px; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .case-desc { display: none; }

  /* 新闻列表：小图横排，隐藏描述保持紧凑 */
  .news-list { gap: 10px; }
  .news-item > a { gap: 12px; padding: 13px 14px; }
  .news-thumb { width: 92px; height: 64px; border-radius: 6px; }
  .news-title { white-space: normal; font-size: 15px; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .news-desc { display: none; }
  .news-date { font-size: 12px; }

  /* 内页（保留左右留白，避免内容贴边） */
  .page-layout { padding: 18px 16px 48px; }
  .page-head { margin-bottom: 20px; }
  .breadcrumb { font-size: 12px; margin-bottom: 14px; }

  /* 文章列表：小图横排，更紧凑 */
  .article-link { grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .article-thumb { width: 118px; height: 88px; border-radius: 6px; }
  .article-title { font-size: 15px; margin-bottom: 6px; }
  .article-desc { font-size: 13px; -webkit-line-clamp: 2; }
  .article-meta { gap: 10px; font-size: 12px; }

  /* 文章详情 */
  .article-detail { padding: 22px 16px; border-radius: 10px; }
  .article-content { font-size: 15.5px; }
  .article-content h2 { margin: 26px 0 12px; padding-left: 11px; font-size: 18px; }
  .article-content h3 { font-size: 16.5px; }
  .content-lead { margin-bottom: 18px; padding: 12px 14px; font-size: 15.5px; }
  .content-toc { margin-bottom: 18px; padding: 13px 15px; font-size: 14.5px; }
  .article-content img { margin: 14px auto; border-radius: 8px; }
  .related { padding: 18px 16px; }
  .article-cta { padding: 20px 16px; }

  /* FAQ */
  .faq-item summary { padding: 14px 16px; }
  .faq-item summary h3 { font-size: 15px; }
  .faq-answer { padding: 12px 16px 16px; }

  /* 底部 CTA：按钮竖排满宽，拇指友好 */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  /* 页脚：单列纵向排布；服务项目双列网格压高度；二维码块改横排；友情链接不展示 */
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding: 34px 16px 26px; }
  .footer-about { grid-column: auto; }
  .footer-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }
  .footer-links { display: none; }
  .footer-title { margin-bottom: 10px; }
  .footer-nav li { margin-bottom: 6px; }
  .footer-tel-num { font-size: 22px; margin-bottom: 8px; }
  .footer-cta { margin-top: 12px; }
  /* 官方微信：标题整行，二维码与说明文字并排，避免整块松散 */
  .footer-qr { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 6px; align-items: center; }
  .footer-qr .footer-title { grid-column: 1 / -1; }
  .footer-qr-img { grid-row: 2; width: 84px; height: 84px; }
  .footer-qr-tip { grid-row: 2; margin: 0; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }

  /* 移动端底栏（含 iPhone 安全区） */
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; padding: 8px 0; font-size: 12px; line-height: 1.35; color: var(--ink-2); min-height: 56px;
  }
  /* 图标不继承 1.35 行高，否则底栏被撑高、遮挡页面底部内容 */
  .mobile-bar-icon { font-size: 18px; line-height: 1; color: var(--brand); }
  .mobile-bar-primary { background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; }
  /* 预留底栏高度（56 + 1px 边框 + 余量），避免页面底部内容被遮挡 */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== 小屏手机（≤480px）===== */
@media (max-width: 640px) {
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { letter-spacing: 0; }
  .hero-inner { padding: 26px 16px 32px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-actions .btn { width: 100%; }
  .quote-card { padding: 20px 16px; }
  .section { padding: 34px 0; }
  .article-detail { padding: 20px 14px; }
  .footer-qr-img { width: 76px; height: 76px; }
  .pagination { justify-content: center; }
  .page-status { margin-left: 0; flex-basis: 100%; text-align: center; }
}

/* ---------- 可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
