/* =========================================================
   深爱居装饰集团 · 官网样式系统
   设计调性：温润品质整装 · 暖木 / 米灰 / 金棕
   纯静态 · 零依赖 · 移动端优先 · 利于 GEO 抓取
   ========================================================= */

/* ---------- 1. 设计 Tokens ---------- */
:root {
  /* 配色 */
  --bg: #faf7f2;          /* 暖米白底 */
  --surface: #ffffff;     /* 卡片/区块白 */
  --surface-2: #f3ece1;   /* 次级背景 */
  --ink: #2b2622;         /* 主文字 深棕黑 */
  --ink-soft: #6f665b;    /* 次级文字 */
  --ink-faint: #9a8f80;   /* 弱化文字 */
  --primary: #8a5a2b;     /* 金棕 主色 */
  --primary-dark: #5e3a1a;/* 深棕 */
  --primary-soft: #c9a36a;/* 浅金/木色点缀 */
  --line: #e8ded0;        /* 描边 */
  --line-strong: #d8cab4;
  --ok: #2f7d52;          /* 成功/可信 */
  --shadow-sm: 0 2px 8px rgba(43, 38, 34, .06);
  --shadow-md: 0 10px 30px rgba(43, 38, 34, .10);
  --shadow-lg: 0 18px 50px rgba(43, 38, 34, .14);

  /* 字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;

  /* 间距与圆角 */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --gap: 24px;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 折叠屏/异形屏安全区兜底：竖屏 inset 为 0 时零影响，横屏/刘海屏自动留白 */
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary-soft); outline-offset: 2px; }

/* ---------- 3. 容器与栅格 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 70px) 0; }
.section--alt { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 4. 排版工具 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--primary-soft); }
.h2 { font-size: clamp(26px, 4vw, 40px); color: var(--ink); }
.h3 { font-size: clamp(19px, 2.4vw, 23px); }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
/* 区块头：标题 + 行动按钮分列（桌面横排，手机端堆叠） */
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  max-width: none;
}
@media (max-width: 600px) {
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head--split .btn { align-self: stretch; justify-content: center; }
}
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--primary-dark); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 6. 顶栏导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 18px; letter-spacing: .02em; }
.brand__name small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-faint); letter-spacing: .22em; }
.brand__logo { height: 38px; width: auto; max-width: 100%; display: block; }
.brand__logo--footer { height: 46px; padding: 8px 12px; background: #fff; border-radius: 10px; }
@media (max-width: 600px) { .brand__logo { height: 32px; } .brand__logo--footer { height: 40px; } }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: 15px;
  color: var(--ink-soft); transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--primary); background: var(--surface-2); }
.nav__cta { margin-left: 10px; }
.nav__tel {
  display: inline-flex; align-items: center; gap: 7px;
  margin-left: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  font-size: 16px; font-weight: 800; color: var(--primary-dark);
  letter-spacing: .02em; white-space: nowrap;
  transition: border-color .15s, color .15s, transform .15s;
}
.nav__tel:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
@media (max-width: 980px) { .nav__tel { display: none; } }
.nav__toggle {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: var(--surface-2); position: relative;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav__toggle:hover { background: #ece1d0; }
.nav__toggle:active { transform: scale(.94); }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 10px; width: 22px; height: 2px;
  border-radius: 999px; background: var(--primary);
  transition: transform .28s var(--ease), opacity .2s, background .2s;
}
.nav__toggle span { top: 20px; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle { background: var(--primary); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before,
.nav.is-open .nav__toggle span::after { background: #fff; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 13px 12px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__tel { display: inline-flex; justify-content: center; margin: 10px 0 0; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,163,106,.30), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(138,90,43,.18), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero__title { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.1; }
.hero__title em { font-style: normal; color: var(--primary); position: relative; }
.hero__sub { margin: 22px 0 30px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 48ch; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.hero__stat .num { font-family: var(--font-num); font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: var(--primary-dark); }
.hero__stat .lbl { font-size: 13px; color: var(--ink-soft); }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4;
  background: linear-gradient(135deg, #b98a52, #e8cfa6);
  display: grid; place-items: center; color: #fff;
}
.hero__media .tag {
  position: absolute; left: 18px; bottom: 18px; background: rgba(43,38,34,.6);
  color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(4px);
}
.hero__badge {
  position: absolute; top: 18px; right: 18px; background: #fff; color: var(--primary-dark);
  padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 600px) {
  .hero__stats { gap: 18px 24px; }
  .hero__stat { flex: 1 1 calc(50% - 12px); }
}

/* ---------- 8. 数据条 ---------- */
.statbar { background: var(--primary-dark); color: #fff; }
.statbar .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 30px 20px; }
.statbar .num { font-family: var(--font-num); font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.statbar .lbl { font-size: 13px; opacity: .82; }
/* 数据条：嵌入普通区块的浅色内嵌版 */
.statbar--plain { background: transparent; color: var(--ink); }
.statbar--plain .container { padding: 0; justify-items: center; align-items: center; text-align: center; }
@media (max-width: 920px) {
  .statbar .container { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .statbar .container > div:last-child { grid-column: 1 / -1; text-align: center; }
}

/* ---------- 9. 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--primary); font-size: 24px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* 优势列表 */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__no {
  flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--primary);
  color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--font-num);
}

/* ---------- 10. 案例 ---------- */
.case {
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case__media { aspect-ratio: 4/3; position: relative; display: grid; place-items: center; color: #fff; }
.case__media .case__tag {
  position: absolute; top: 14px; left: 14px; background: rgba(43,38,34,.55);
  padding: 6px 12px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(4px);
}
.case__body { padding: 18px 20px 22px; }
.case__body h3 { font-size: 18px; margin-bottom: 6px; }
.case__meta { display: flex; gap: 14px; color: var(--ink-faint); font-size: 13px; }
/* SVG/渐变占位图配色 */
.ph-1 { background: linear-gradient(135deg, #9a6a38, #d9b483); }
.ph-2 { background: linear-gradient(135deg, #6f5b46, #b79b7c); }
.ph-3 { background: linear-gradient(135deg, #7d5536, #c8a878); }
.ph-4 { background: linear-gradient(135deg, #8a6f4e, #e3cda6); }
.ph-5 { background: linear-gradient(135deg, #5e4a36, #a98c6a); }
.ph-6 { background: linear-gradient(135deg, #9c7b4f, #d7bd92); }

/* 案例详情 · 封面图（单一模板占位）
   接入真实素材时：删掉 .case-cover__ph，并在 .case-cover 内首行放入
   <img class="case-cover__img" src="..." alt="..." loading="eager" fetchpriority="high">，
   同时把 <head> 里的 og:image / twitter:image 改成该图绝对地址。 */
.case-cover {
  position: relative; overflow: hidden;
  min-height: clamp(360px, 52vw, 560px);
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, var(--primary-dark), #3a2a1a);
  color: #fff;
}
.case-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.case-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,14,8,.12) 0%, rgba(20,14,8,.66) 100%);
}
.case-cover .container { position: relative; z-index: 2; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(28px, 4vw, 46px); }
.case-cover .breadcrumb, .case-cover .breadcrumb a { color: rgba(255,255,255,.78); }
.case-cover h1 { color: #fff; }
.case-cover p { color: rgba(255,255,255,.82); margin-top: 12px; }
/* 占位提示（接入真实封面图后整块删除） */
.case-cover__ph {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  color: rgba(255,255,255,.5); font-size: 14px; letter-spacing: .08em; text-align: center; padding: 20px;
}

/* ---------- 11. 服务流程时间轴 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.flow__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; position: relative;
}
.flow__item .step {
  font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--primary-soft);
  line-height: 1;
}
.flow__item h3 { font-size: 17px; margin: 12px 0 6px; }
.flow__item p { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 920px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* ---------- 12. 团队 ---------- */
.member { text-align: center; }
.member__avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 800;
}
.member h3 { font-size: 17px; }
.member .role { color: var(--primary); font-weight: 700; font-size: 14px; }
.member .years { color: var(--ink-faint); font-size: 13px; }

/* ---------- 13. 面包屑 ---------- */
.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ---------- 14. 页面头图 ---------- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), #3a2a1a); color: #fff; }
.page-hero .container { padding: clamp(46px, 6vw, 78px) 20px; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 100%; margin-top: 14px; text-wrap: pretty; }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: 12px; width: 100%; max-width: none; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 20px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); margin: 0; }

/* ---------- 16. 表单 ---------- */
.form { display: grid; gap: 16px; max-width: 560px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--surface); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(138,90,43,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- 17. 联系信息条 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.info-card { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-card .ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--surface-2); color: var(--primary); display: grid; place-items: center; font-size: 20px; }
.info-card h3 { font-size: 15px; color: var(--ink-faint); font-weight: 600; margin-bottom: 2px; }
.info-card p { margin: 0; font-weight: 600; }
.map-ph {
  aspect-ratio: 16/10; border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; background: var(--surface);
}
.map-ph img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 0;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 18. 日志/资讯列表 ---------- */
.news-item {
  display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 22px 0;
  border-bottom: 1px solid var(--line); align-items: center;
}
.news-item .date { font-family: var(--font-num); color: var(--primary); font-weight: 700; }
.news-item .date small { display: block; color: var(--ink-faint); font-weight: 500; font-family: var(--font-sans); }
.news-item h3 { font-size: 17px; margin-bottom: 4px; }
.news-item p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.news-item a:hover h3 { color: var(--primary); }
@media (max-width: 560px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- 19. 页脚 ---------- */
.site-footer { background: #241c15; color: #e9e0d2; }
.site-footer .container { padding: 56px 20px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { color: #c9bda9; display: block; padding: 6px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-tel { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.footer-tel a {
  display: inline-block; margin-left: 6px; padding: 0;
  font-size: 20px; font-weight: 800; color: #eac98e; letter-spacing: .02em;
}
.footer-tel a:hover { color: #fff; }
.footer-brand p { color: #b6a892; font-size: 14px; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: #9c8f7a;
}
.footer-bottom a { color: #c9bda9; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- 20. 滚动渐入动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 21. 工具类 ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- 22. 首页前半部分手机端留白加宽（仅首页生效） ---------- */
/* 首页 hero/数据条/优势/案例/12步流程 水平 padding 20px→24px，固定值保证 375/390/414px 一致；
   其余页面与首页后半段保持 20px 不变。.hero__inner 的 padding 简写覆盖了 .container 的 20px，
   导致 hero 实际左右贴边(0)，此处一并补上。 */
/* 断点取 920px：覆盖双折叠屏展开态竖屏（视口约 733–832px），与单屏手机表现一致 */
@media (max-width: 920px) {
  body.page-home .hero__inner,
  body.page-home .statbar .container,
  body.page-home .home-top .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 首页「核心数据」栏：数字/标签文字默认左对齐导致视觉整体偏左，改为水平居中。
   仅限首页（body.page-home），about 页共用的 .statbar 数据条不受影响。
   居中规则在 5 列与 920px 断点 2 列布局下均自动生效。 */
body.page-home .statbar .container {
  justify-items: center;
  text-align: center;
}

/* ---------- 22.5 真实素材接入补充（网站改造） ---------- */
/* 案例图/首图：.case__media 直接作为 <img> 铺满 4/3 容器 */
img.case__media { object-fit: cover; width: 100%; }
/* 首页 Hero：真实主视觉铺满，徽标/标签浮于其上 */
.hero__media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* 团队头像：真实照片铺满圆形容器 */
.member__avatar { object-fit: cover; }
/* 团队合影横幅 */
.team-group {
  width: 100%; border-radius: var(--radius-lg); aspect-ratio: 21/9;
  object-fit: cover; box-shadow: var(--shadow-md); margin-bottom: 38px;
}
/* 资质证书图集 · 瀑布流（每张按原始比例自适应高度，横竖版混排） */
.cert-grid { columns: 3; column-gap: 18px; }
.cert-grid figure {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  display: inline-block; width: 100%; vertical-align: top;
  margin: 0 0 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm);
}
.cert-grid img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }
.cert-grid figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; text-align: center; }
@media (max-width: 720px) { .cert-grid { columns: 2; column-gap: 14px; } .cert-grid figure { margin-bottom: 14px; } }
