/* ==========================================================================
   907 智慧医养官网 · 公共样式（导航 / 页脚 / 商务合作 / 右侧悬浮栏）
   设计稿基准宽度 1920px，内容区 1600px（左右各 160px）
   断点：≥1440 桌面（1920 时与设计稿 1:1）｜ 1024–1439 小桌面 ｜ 768–1023 平板 ｜ <768 手机
   ========================================================================== */

:root {
  --c-primary: #ff7d00;        /* 主色调 */
  --c-primary-soft: #ffeae2;   /* 导航选中底色 */
  --c-hover: #f3f4f7;          /* 悬色 */
  --c-text: #000;
  --c-body: #343536;
  --c-muted: #8a7d74;
  --c-muted2: #4a403a;
  --c-ink: #1f1a17;
  --c-orange2: #f07a1e;
  --c-footer-bg: #1e1915;
  --c-footer-text: #a0978e;

  --f-yahei: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --f-pingfang: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --f-song: "Songti SC", "STSongti-SC-Regular", "STSong", "SimSun", "Noto Serif SC", serif;
  --f-inter: "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;

  --design-w: 1920px;
  --content-w: 1600px;
  --gutter: 160px;
  --header-h: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--f-yahei); color: var(--c-text); background: #fff; -webkit-font-smoothing: antialiased; }

/* Web 端 1200–1919：页面主体按 1920 设计稿等比缩放到视口宽，内容因此始终居中、背景始终通栏铺满。
   只缩放 <main>（不含 fixed 悬浮栏与 sticky 导航，避免缩放影响固定定位）；1920 及以上为 1，1200 以下不缩放（走手机版）。 */
body.is-stage-scaled main { zoom: var(--stage-zoom, 1); }

/* 手机版 / Web 版内容互斥：同一文件内两套结构，靠媒体查询切换 */
.m-only { display: none; }
@media (max-width: 1199.98px) {
  .m-only { display: block; }
  .m-only--inline { display: inline; }
  .m-only--flex { display: flex; }
  .pc-only { display: none !important; }
}
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
::selection { background: rgba(255, 125, 0, .18); }

/* 内容容器：1920 设计稿下为 1600 宽，左右 160 */
.container {
  width: 100%;
  max-width: calc(var(--content-w) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 顶部导航（Figma 499:40644，高 75） ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
}
.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo { display: block; width: 205px; height: 40px; flex: none; }
.site-header__logo img { width: 100%; height: 100%; }

.site-nav {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.site-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 36px;
  padding: 8px 24px;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}
.site-nav__item span {
  display: block;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color .2s, color .2s;
}
/* 仅手机版抽屉里出现的导航项（如「合作咨询」），Web 版隐藏 */
.site-nav__item--mobile { display: none; }
.site-nav__item:hover span { background: var(--c-hover); }
.site-nav__item.is-active span {
  background: var(--c-primary-soft);
  color: var(--c-primary);
  font-weight: 700;
}

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.btn-consult {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--c-hover);
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}
.btn-consult img { width: 20px; height: 20px; }
.link-coop { font-size: 15px; line-height: 20px; white-space: nowrap; }
.link-coop:hover, .btn-consult:hover { color: var(--c-primary); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle__icon { display: none; width: 38px; height: 38px; }
.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  position: absolute; left: 10px; width: 20px; height: 2px; border-radius: 1px; background: #000; content: "";
  transition: transform .2s, opacity .2s;
}
.nav-toggle i { top: 19px; }
.nav-toggle i::before { left: 0; top: -6px; }
.nav-toggle i::after { left: 0; top: 6px; }
.site-header.is-open .nav-toggle i { background: transparent; }
.site-header.is-open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle i::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 商务合作（Figma 499:35480 + 499:35947，高 802） ---------- */
.contact-section {
  position: relative;
  height: 802px;
  overflow: hidden;
  background: linear-gradient(157.33deg, #f3dcc2 0%, #e9c3a0 45%, #d9a47e 100%);
  color: #fff;
}
.contact-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(43, 36, 32, .78) 0%, rgba(43, 36, 32, .5) 55%, rgba(43, 36, 32, .2) 100%);
}
.contact-section__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--design-w);
  margin: 0 auto;
}
.contact-intro {
  position: absolute;
  left: 288.33px;
  top: 167.28px;
  width: 650px;
}
.contact-intro__eyebrow {
  display: flex;
  align-items: center;
  gap: 11.08px;
  height: 24.49px;
  margin-top: 8.14px;
  margin-bottom: 22.15px;
  font-family: var(--f-pingfang);
  font-size: 14.4px;
  line-height: 24.49px;
  letter-spacing: 3.46px;
  color: #f6a564;
}
.contact-intro__eyebrow::before { content: ""; width: 31.02px; height: 1.11px; background: #f6a564; }
.contact-intro__title {
  font-family: var(--f-song);
  font-weight: 400;
  font-size: 50.97px;
  line-height: 68.8px;
  letter-spacing: 1.02px;
  white-space: nowrap;
}
.contact-intro__desc {
  padding-top: 24.38px;
  font-family: var(--f-pingfang);
  font-size: 18.84px;
  line-height: 32.02px;
  color: rgba(255, 255, 255, .78);
}
.contact-points {
  position: absolute;
  left: 288.33px;
  top: 477.64px;
  display: flex;
  flex-direction: column;
  gap: 26.59px;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: 8.86px;
  font-size: 17.73px;
  line-height: 25.93px;
  white-space: nowrap;
}
.contact-points img { width: 22.16px; height: 22.16px; flex: none; }

.contact-card {
  position: absolute;
  left: 1129px;
  top: 160.45px;
  width: 510px;
  padding: 39.91px 35.48px 35.48px;
  border-radius: 22.17px;
  background: #fff;
  filter: drop-shadow(0 33.26px 33.26px rgba(0, 0, 0, .3));
  color: #1f1a17;
  text-align: center;
}
.contact-card__title { font-size: 24.39px; font-weight: 700; line-height: normal; }
.contact-card__desc {
  height: 31.04px;
  padding-top: 8.87px;
  font-size: 15px;
  line-height: 21.62px;
  color: #8a7d74;
}
.contact-card__person {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 112px;
  margin-top: 20px;
  padding: 24.39px 19.96px 19.96px;
  border: 1.11px solid #f0ebe4;
  border-radius: 17.74px;
  background: #fff7f0;
  text-align: left;
}
.contact-card__avatar { width: 60px; height: 60px; border-radius: 50%; background: #fff; flex: none; }
.contact-card__name { font-size: 14px; font-weight: 700; line-height: normal; color: var(--c-primary); }
.contact-card__tel {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  color: #000;
  white-space: nowrap;
}
.contact-card__qr {
  margin-top: 25px;
  padding: 24.39px 19.96px 19.96px;
  border: 1.11px solid #f0ebe4;
  border-radius: 17.74px;
  background: #fff7f0;
}
.contact-card__qr img {
  width: 186.26px;
  height: 193.64px;
  margin: 0 auto;
  border-radius: 13.3px;
  background: #e8e8e8;
  object-fit: cover;
}
.contact-card__qr-title { padding-top: 15.52px; font-size: 16.63px; font-weight: 700; line-height: normal; }
.contact-card__qr-desc { padding-top: 4.44px; font-size: 13.3px; line-height: normal; color: #8a7d74; }

/* ---------- 右侧悬浮栏（Figma 499:43182，115×263，固定在视口右侧 30px） ---------- */
.float-bar {
  position: fixed;
  right: 30px;
  top: 50%;
  z-index: 90;
  width: 115px;
  transform: translateY(-50%);
  font-family: var(--f-inter);
  color: #fff;
  text-align: center;
}
.float-bar__card {
  position: relative;
  height: 209px;
  padding-top: 25px;
  background: url("../images/common/float-bg.svg") no-repeat center / 100% 100%;
}
.float-bar__avatar { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: #fff; }
.float-bar__name { margin-top: 14px; font-size: 12px; line-height: 15px; }
.float-bar__tel { display: block; margin-top: 6px; font-family: "IBM Plex Sans Devanagari", var(--f-inter); font-size: 14px; font-weight: 700; line-height: 21px; white-space: nowrap; }
.float-bar__btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  border-radius: 4px;
  background: #fff;
  color: var(--c-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
}
.float-bar__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 115px;
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--c-primary);
  font-size: 12px;
  line-height: 15px;
  color: #fff;
}
.float-bar__top img { width: 10px; height: 10px; transform: rotate(-90deg); }
.float-bar__btn:hover, .float-bar__top:hover { opacity: .88; }
.m-to-top { display: none; }

/* ---------- 页脚（Figma 499:35031，高 281.78） ---------- */
.site-footer {
  background: var(--c-footer-bg);
  padding: 62px 0 25px;
  color: var(--c-footer-text);
  font-size: 14px;
}
.site-footer__inner {
  width: min(1536px, calc(100% - 40px));
  margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .65fr);
  column-gap: clamp(24px, 4vw, 75px);
  min-height: 105px;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.footer-brand__logo { width: 160px; max-width: 100%; height: auto; }
.footer-brand__desc { max-width: 420px; line-height: 23.4px; overflow-wrap: anywhere; }
.footer-col__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.32px;
  color: #fff;
}
.footer-col--brand-pos { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.footer-col--brand-pos p { line-height: 23.4px; overflow-wrap: anywhere; }
.footer-col--contact { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.footer-col--contact ul { padding-top: 9px; line-height: 28px; }
.footer-col--contact a { overflow-wrap: anywhere; }
.footer-col--contact a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  line-height: 15px;
}
.site-footer__bottom p:last-child { font-family: var(--f-inter); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1199.98px) {
  .contact-intro, .contact-points { left: 15.02%; }
  .contact-card { left: auto; right: 14.64%; }
}

@media (max-width: 1199.98px) {
  :root { --gutter: 80px; }
  .site-footer__inner { padding: 0 var(--gutter); }
}

/* 小桌面：商务合作改为左右弹性布局，避免文案与卡片重叠 */
@media (max-width: 1199.98px) {
  .contact-section { height: auto; padding: 100px 0; }
  .contact-section__inner {
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    grid-template-rows: auto 1fr;
    column-gap: 60px;
    padding: 0 var(--gutter);
  }
  .contact-intro, .contact-points { position: static; width: auto; }
  .contact-intro { grid-column: 1; grid-row: 1; }
  .contact-points { grid-column: 1; grid-row: 2; margin-top: 48px; }
  .contact-intro__title { white-space: normal; }
  .contact-card { position: relative; left: auto; right: auto; top: auto; grid-column: 2; grid-row: 1 / 3; width: 100%; }
  .contact-card__person { height: auto; }
}

@media (max-width: 1199.98px) {
  :root { --gutter: 40px; }
  .site-nav__item { width: 120px; padding: 8px 12px; }
  .float-bar { right: 16px; }
}

/* 平板及以下：导航折叠为汉堡菜单 */
@media (max-width: 1023px) {
  :root { --gutter: 32px; --header-h: 64px; }
  .site-header__logo { width: 164px; height: 32px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: var(--header-h);
    transform: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 16px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    display: none;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__item { width: auto; height: 48px; justify-content: flex-start; padding: 0; }
  .site-header__actions { margin-left: auto; margin-right: 12px; }

  .contact-section { padding: 80px 0; }
  .contact-section__inner { display: block; }
  .contact-points { margin-top: 40px; }
  .contact-card { max-width: 510px; margin: 48px auto 0; }

  /* 平板及以下：悬浮栏收起联系人卡片，仅保留回到顶部 */
  .float-bar { top: auto; bottom: 24px; right: 16px; width: auto; transform: none; }
  .float-bar__card { display: none; }
  .float-bar__top { width: 48px; height: 48px; margin: 0; padding: 0; border-radius: 50%; box-shadow: 0 6px 16px rgba(255, 125, 0, .35); }
  .float-bar__top span { display: none; }
  .float-bar__top img { width: 14px; height: 14px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__desc { white-space: normal; }
  .footer-brand__desc br { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 56px; }
  .site-header__logo { width: 133px; height: 26px; }
  .link-coop { display: none; }
  .btn-consult { height: 32px; padding: 6px 12px; font-size: 14px; }

  .contact-section { padding: 56px 0; }
  .contact-intro__title { font-size: 32px; line-height: 44px; white-space: normal; }
  .contact-intro__desc { font-size: 15px; line-height: 26px; padding-top: 16px; }
  .contact-points li { font-size: 15px; white-space: normal; }
  .contact-card { padding: 28px 16px 20px; border-radius: 16px; }
  .contact-card__title { font-size: 20px; }
  .contact-card__desc { height: auto; font-size: 13px; }
  .contact-card__person { gap: 14px; padding: 16px; }
  .contact-card__tel { font-size: 20px; }

  .site-footer { padding-top: 40px; }
  .site-footer__grid { grid-template-columns: 1fr; row-gap: 28px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; margin-top: 32px; }
}

/* ---------- 语义化标签的浏览器默认样式修正 ---------- */
/* address 默认 font-style: italic，页脚联系信息需保持正体 */
address.footer-col--contact { font-style: normal; }
/* figure 已由上方 reset 归零 margin，此处兜底 */
figure { margin: 0; }

/* ==========================================================================
   手机版公共组件（< 1200px，设计稿宽 402：Figma 590:15703 / 590:14843 / 603:33494）
   —— 导航 / 手机版商务合作 / 底部拨号栏 / 页脚 / 滚动动效
   ========================================================================== */
@media (max-width: 1199.98px) {
  :root {
    --gutter: 22px;
    --header-h: 68px;
    --m-body: #302c29;
    --m-muted: #786f68;
    --m-muted2: #8a7d74;
    --m-line: #f0e4da;
    --m-orange: #ff7d00;
    --m-song: "Songti SC", "STSongti-SC-Bold", "STSong", "SimSun", "Noto Serif SC", serif;
  }

  html { scroll-padding-top: var(--header-h); }

  /* ---------- 顶部导航：68 高，白底 + 细描边 ---------- */
  .site-header {
    height: var(--header-h);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #f0e5db;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .site-header__inner { padding: 0 20px; }
  .site-header__logo { width: 135px; height: 28px; }
  /* 手机版顶部只保留 logo + 菜单按钮（设计稿 header 无其它文字入口） */
  .site-header__actions { display: none; }
  .btn-consult,
  .link-coop { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
  }
  /* 菜单图标用 Figma 导出的 603:33798（38×38，含圆底与三横线） */
  .nav-toggle__icon { display: block; width: 38px; height: 38px; }
  .nav-toggle i { display: none; }
  .nav-toggle i,
  .nav-toggle i::before,
  .nav-toggle i::after { left: 11px; width: 16px; height: 1px; border-radius: 1px; background: #343536; }
  .nav-toggle i { top: 18px; }
  .nav-toggle i::before { top: -6px; }
  .nav-toggle i::after { top: 6px; }
  /* 展开态：图标换成 X（复用原有三条线做旋转） */
  .site-header.is-open .nav-toggle__icon { display: none; }
  .site-header.is-open .nav-toggle i {
    display: block;
    position: absolute;
    background: transparent;
  }
  .site-header.is-open .nav-toggle i::before,
  .site-header.is-open .nav-toggle i::after { background: #343536; }
  .site-nav {
    top: var(--header-h);
    display: none;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border-top: 1px solid #f0e5db;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav__item {
    width: 100%;
    height: 55px;
    padding: 0 22px;
    justify-content: space-between;
    font-size: 15px;
    color: #302c29;
    border-bottom: 1px solid rgba(240, 229, 219, .55);
  }
  .site-nav__item:last-child { border-bottom: 0; }
  .site-nav__item--mobile { display: flex; }
  .site-nav__item span { padding: 0; border-radius: 0; background: none; }
  .site-nav__item:hover span,
  .site-nav__item.is-active span { background: none; }
  .site-nav__item.is-active span { color: var(--m-orange); font-weight: 400; }
  .site-nav__item::after { content: "→"; color: var(--m-orange); font-size: 16px; line-height: 1; }

  /* ---------- 手机版商务合作 ---------- */
  .m-contact {
    position: relative;
    overflow: hidden;
    padding: 60px 22px 83px;
    background: #272219;
    color: #fff;
  }
  .m-contact__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .m-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(33, 28, 22, .45) 0%, rgba(33, 28, 22, .75) 55%, rgba(33, 28, 22, .92) 100%);
  }
  .m-contact__inner { position: relative; z-index: 2; }
  .m-contact__eyebrow {
    font-size: 9px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 1.4px;
    color: #e7b885;
  }
  .m-contact__title {
    margin-top: 14px;
    font-family: var(--m-song);
    font-weight: 400;
    font-size: 31px;
    line-height: 48px;
    color: #fff;
  }
  .m-contact__desc {
    margin-top: 14px;
    font-size: 12px;
    line-height: 24px;
    color: #ded4c6;
  }
  .m-contact__points {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 20px;
  }
  .m-contact__points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    line-height: 15px;
    color: #e9cfac;
  }
  .m-contact__points li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: #e6a04a;
    flex: none;
  }
  .m-contact__card {
    margin-top: 32px;
    padding: 27px 24px;
    border-radius: 18px;
    background: #fffdfb;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
    color: #302c29;
    text-align: center;
  }
  .m-contact__card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 1.4px;
    color: #000;
  }
  .m-contact__card-desc {
    margin-top: 8px;
    font-size: 12px;
    line-height: 22px;
    color: var(--m-muted2);
  }
  .m-contact__person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 13px 17px;
    border-radius: 10px;
    background: #faf4ed;
    text-align: left;
  }
  .m-contact__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
  }
  .m-contact__person-label { font-size: 12px; line-height: 15px; color: var(--m-muted2); }
  .m-contact__tel {
    display: block;
    margin-top: 4px;
    font-family: var(--f-inter);
    font-size: 19px;
    font-weight: 700;
    line-height: 29px;
    color: var(--m-body);
    white-space: nowrap;
  }
  .m-contact__qr { margin: 20px auto 0; }
  .m-contact__qr img {
    width: 145px;
    height: 151px;
    margin: 0 auto;
    object-fit: contain;
  }
  .m-contact__qr-tip {
    margin-top: 10px;
    font-size: 10px;
    line-height: 15px;
    color: var(--m-muted2);
  }
  .m-contact__call {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-top: 23px;
    border-radius: 99px;
    background: var(--m-orange);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #fff;
  }


  /* ---------- 页脚 ---------- */
  .site-footer {
    width: 100%;
    padding: 42px 22px calc(26px + env(safe-area-inset-bottom));
    background: #211a15;
    text-align: center;
  }
  .site-footer__inner { width: 100%; max-width: none; padding: 0; }
  .site-footer__grid { display: block; min-height: 0; }
  .footer-brand { display: block; }
  .footer-brand__logo { width: min(185px, 100%); height: auto; margin: 0 auto; }
  .footer-brand__desc { display: none; }
  .footer-col--brand-pos { display: block; margin-top: 20px; }
  .footer-col__title { display: none; }
  .footer-col--brand-pos p {
    font-size: 10px;
    line-height: 18px;
    color: #9e9188;
    overflow-wrap: anywhere;
  }
  .footer-col--contact { display: none; }
  .site-footer__bottom {
    display: block;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 10px;
    line-height: 18px;
    color: #9e9188;
  }
  .site-footer__bottom p { overflow-wrap: anywhere; }
  .site-footer__bottom p:last-child { display: none; }

  /* 悬浮联系栏在手机版隐藏；回到顶部改用右下角圆形按钮 */
  .float-bar { display: none; }
  .m-to-top {
    display: block;
    position: fixed;
    right: 16px;
    bottom: calc(75px + env(safe-area-inset-bottom));
    z-index: 90;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(30, 25, 21, .16);
  }
  .m-to-top img { width: 100%; height: 100%; object-fit: cover; }

  /* 页面内容底部留出固定拨号栏高度（页脚已留出，正文无需重复） */
  .m-page { padding-bottom: 0; }

  /* ---------- 手机版滚动动效 ----------
     仅在 html.js-reveal 开启时隐藏；位移减小，降低滚动时合成层抖动 */
  html.js-reveal .m-reveal {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
  }
  html.js-reveal .m-reveal.in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* 标题在窄屏不出现单字孤行 */
  .m-page h2,
  .m-page h3 { text-wrap: pretty; }

  /* 触控反馈；横向裁切放到内容层，避免 body overflow-x:hidden 在 iOS 卡住惯性滚动 */
  html {
    -webkit-tap-highlight-color: transparent;
    overflow-x: clip;
  }
  body {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .page-index,
  .page-solution,
  .page-about { overflow-x: clip; }
  .m-page a:active,
  .m-page button:active { opacity: .88; }
  .m-page img { -webkit-user-drag: none; user-select: none; }
}

@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {
  html.js-reveal .m-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   1200–1439：主体按 0.625–0.75 缩放，导航 / 悬浮栏 / 页脚同步收一档，
   避免「文字比正文大一倍」的割裂感
   ========================================================================== */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  :root { --header-h: 64px; }
  .site-header__logo { width: 176px; height: 34px; }
  .site-nav { top: 16px; }
  .site-nav__item { width: 136px; height: 32px; padding: 7px 16px; font-size: 14px; }
  .site-nav__item span { padding: 7px 12px; }
  .btn-consult { height: 32px; padding: 6px 14px; font-size: 14px; }
  .link-coop { font-size: 14px; }
  .float-bar { right: 20px; transform: translateY(-50%) scale(.86); transform-origin: right center; }
  .site-footer { padding-top: 52px; }
  .site-footer__grid { column-gap: 48px; }
}

@media (min-width: 1440px) and (max-width: 1599.98px) {
  .site-header__logo { width: 190px; height: 37px; }
}

/* ==========================================================================
   768–1199 平板：手机版内容居中成一列，导航 / 拨号栏与列对齐，两侧留浅底，
   避免「手机版内容孤零零漂在白色背景中间」
   ========================================================================== */
@media (max-width: 480px) {
  .site-footer { padding: 32px 16px calc(20px + env(safe-area-inset-bottom)); }
  .m-contact { padding-left: 16px; padding-right: 16px; }
  .m-contact__card { padding: 24px 16px; }
  .m-contact__person { padding: 12px; }
  .m-contact__tel { font-size: 17px; white-space: normal; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  body { background: #f3f4f7; }
  .site-header__inner { max-width: 684px; margin: 0 auto; }
  .site-footer { margin: 0 auto; max-width: 684px; }
  .m-page {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(240, 229, 219, .55);
  }
}
