/* ==========================================================================
   钰宁悦家 YUNING HOMECARE — 全站公共样式 common.css
   --------------------------------------------------------------------------
   【文件职责】存放"首页与分页（列表/详情页）共用"的样式：
        reset 基础样式 / 品牌变量 / 顶部信息条 / 页头导航 / 友情链接 /
        页脚（含社媒二维码弹层）/ 懒加载占位与入场动画 / 通用按钮 /
        右侧悬浮挂件（微信、电话、机器人、回到顶部）
   【配套文件】首页专属样式 → index.css
              分页专属样式 → list.css
   【配色来源】《钰宁悦家 VI 视觉识别系统手册（极简轻奢版）》
              页面严禁出现 <style> 内嵌样式与 style="" 内联样式
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VI 品牌色变量（取自 VI 手册色彩系统，全站统一引用，勿随意改动）
   -------------------------------------------------------------------------- */
:root {
  --pink:  #E8B4B8;   /* 主色·柔粉   ：主按钮、重点图形、悬停强调 */
  --bean:  #D4A5A5;   /* 辅助色·豆沙粉：次级标签、细分隔线 */
  --brown: #B08968;   /* 文字色·暖棕 ：副标题、说明性文字 */
  --cream: #FFF8F5;   /* 背景色·奶白 ：页面底色、卡片底纹 */
  --deep:  #8B6B52;   /* 深棕        ：标题主文字、深色面板 */
  --hair:  #EED9D2;   /* 发丝线      ：边框、分隔线 */
  --ink:   #54402F;   /* 正文深棕（品牌棕加深，保证正文可读性） */
  --white: #FFFFFF;
  --shadow: 0 12px 32px rgba(139, 107, 82, .10);  /* 轻奢卡片投影 */
  --radius: 14px;     /* 统一圆角 */
}

/* --------------------------------------------------------------------------
   2. Reset 与基础排版
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

/* 字体栈：英文 Inter + Poppins（现代感无衬线），中文微软雅黑优先 */
body {
  font-family: "Inter", "Poppins", "Segoe UI", "Helvetica Neue", Arial,
               "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 英文数字专用字体类（如需某处强制 Inter，可套此类） */
.font-en { font-family: "Inter", "Poppins", "Segoe UI", Arial, sans-serif; }

ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--brown); }

/* 版心：内容区净宽 1400px（加上左右各 32px 安全留白 → 1464px）
   大屏更宽更大气，笔记本/手机自动收缩 */
.container {
  width: 100%;
  max-width: 1464px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --------------------------------------------------------------------------
   3. 通用版块标题（VI 字体规范：大字距、轻奢留白）
   -------------------------------------------------------------------------- */
.section { padding: 100px 0; }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.sec-head--left { justify-content: flex-start; }
.sec-head--center {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 左列：中文标题 + 中文下方英文 */
.sec-head-main h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--deep);
  line-height: 1.3;
}
.sec-head-main .sec-rule {
  width: 64px;
  height: 2px;
  background: var(--pink);
  margin: 18px 0 12px;
}
/* 英文在中文标题下方（眉位） */
.sec-head-main .sec-en {
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--bean);
  font-weight: 300;
  text-transform: uppercase;
  font-family: "Inter", "Poppins", Arial, sans-serif;
}

/* 右列：查看更多链接 */
.sec-head-action {
  flex: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
/* 好评版块专用：右列纵向堆叠「按钮 + 评分条」，整体右对齐 */
.sec-head-action--stack {
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
/* 胶囊按钮：默认样式（放哪里都是胶囊） */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--brown);
  padding: 10px 20px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  transition: all .3s ease;
  background: var(--white);
}
.more-link:hover {
  color: var(--white);
  border-color: var(--pink);
  background: var(--pink);
  letter-spacing: 3px;
}
.more-link::after {
  content: "→";
  transition: transform .3s ease;
}
.more-link:hover::after { transform: translateX(3px); }

/* 左列标题下方的「更多」按钮：额外间距 */
.sec-head-main .more-link { margin-top: 22px; }

/* 纯文字版"查看更多"（无边框） */
.sec-head-action .more-text {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--brown);
  padding-right: 18px;
  position: relative;
  transition: color .3s ease, letter-spacing .3s ease;
}
.sec-head-action .more-text::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 0;
  transition: transform .3s ease;
}
.sec-head-action .more-text:hover { color: var(--pink); letter-spacing: 3px; }
.sec-head-action .more-text:hover::after { transform: translateX(4px); }

/* 兼容左对齐版 head 的标题 */
.sec-head--left .sec-head-main { text-align: left; }
.sec-head--center .sec-head-main { text-align: center; }
.sec-head--center .sec-head-main .sec-rule { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. 通用按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1.6;
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid transparent;
}

/* 主按钮：深棕底反白 */
.btn-primary {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}
.btn-primary:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(232, 180, 184, .45);
}

/* 次按钮：柔粉描边镂空 */
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--bean);
}
.btn-ghost:hover {
  border-color: var(--pink);
  background: rgba(232, 180, 184, .15);
}

/* --------------------------------------------------------------------------
   5. 顶部信息条（深棕门头色，移动端隐藏）
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  letter-spacing: 2px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}
.topbar-slogan span { color: var(--pink); }
/* 咨询热线：电话图标 + 号码（图标与文字基线对齐） */
.topbar-tel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-tel .topbar-tel-ico {
  flex: none;
  color: var(--pink);
  margin-right: 2px;
}
.topbar-tel b {
  color: var(--pink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   6. 页头：LOGO + 主导航（吸顶，透明渐变）
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(238, 217, 210, .5);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(139, 107, 82, .08); }

/* 层叠基准：移动端全屏菜单 z-index:997，
   header 需更高（998）让 LOGO + 汉堡浮在菜单上方
   注：position 保持 sticky（桌面吸顶），backdrop-filter 在移动端关闭避免创建错误包含块 */
.header { z-index: 998; }

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

/* 品牌 LOGO（头部主标）
   实测 LOGO 图片左侧几乎无透明留白（仅 0.5%），无需负边距，
   图形左边缘自然落在版心左线（与顶部文案首字、承诺条图标同一条竖线） */
.brand { display: flex; align-items: center; gap: 14px; }
/* 品牌 LOGO：高度 60px（较原缩小 20px，宽度按 3.84:1 比例自适应） */
.brand-logo { height: 60px; width: auto; }

/* 主导航（调大 2 号） */
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block;
  padding: 10px 22px;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--ink);
  position: relative;
  font-weight: 500;
  /* 一级菜单始终单行：空间不足时禁止文字折行，改由下面的笔记本断点收窄字号 */
  white-space: nowrap;
}
/* 当前页与悬停：柔粉下划线 */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 30px; }
.nav-list a.active { color: var(--deep); font-weight: 700; }
.nav-list a:hover { color: var(--deep); }

/* 最后一项去掉右内边距：让"联系我们"文字右边缘与版心右边线严格对齐
   （Banner 承诺条最后一个字同样对齐到这条线） */
.nav-list li:last-child a { padding-right: 0; }

/* —— 主导航二级下拉（新闻资讯 / 服务项目） —— */
.nav-has-drop { position: relative; }
/* 下拉指示小箭头（CSS 绘制，悬停时翻转为向上） */
.nav-caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .3s ease;
}
.nav-has-drop:hover .nav-caret { transform: translateY(0) rotate(225deg); }

/* 悬停 "热区桥"：补足一级导航与下拉面板之间的空隙，避免鼠标下移时菜单闪退 */
.nav-has-drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  min-width: 186px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(139, 107, 82, .26),
              0 2px 6px rgba(139, 107, 82, .05);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}

/* 顶部小指针：与下拉面板同色，视觉上"接住"一级导航 */
.nav-drop::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--white);
  border-left: 1px solid var(--hair);
  border-top: 1px solid var(--hair);
  border-radius: 3px 0 0 0;
  transform: rotate(45deg);
}

/* 展示：淡入 + 轻微上浮 */
.nav-has-drop:hover .nav-drop,
.nav-has-drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* 下拉项：左侧柔粉小圆点 + 圆角底纹；轻微错峰淡入 */
.nav-drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 18px;
  font-size: 15px;
  letter-spacing: 1.5px;
  border-radius: 10px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(5px);
  transition: background-color .25s ease, color .25s ease,
              opacity .3s ease, transform .3s ease;
}
.nav-drop a::after { display: none; }
.nav-drop a::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hair);
  transition: background-color .25s ease, transform .25s ease;
}
.nav-has-drop:hover .nav-drop a,
.nav-has-drop:focus-within .nav-drop a { opacity: 1; transform: translateY(0); }
.nav-drop li:nth-child(1) a { transition-delay: .04s; }
.nav-drop li:nth-child(2) a { transition-delay: .08s; }
.nav-drop li:nth-child(3) a { transition-delay: .12s; }
.nav-drop li:nth-child(4) a { transition-delay: .16s; }
.nav-drop li:nth-child(5) a { transition-delay: .20s; }
.nav-drop li:nth-child(6) a { transition-delay: .24s; }
.nav-drop a:hover,
.nav-drop a:focus-visible {
  background: var(--cream);
  color: var(--deep);
}
.nav-drop a:hover::before,
.nav-drop a:focus-visible::before {
  background: var(--pink);
  transform: scale(1.25);
}

/* —— 服务项目下拉：一级类目（保姆 / 月嫂 / 保洁）+ 二级子项，三栏分组 —— */
/* 面板右对齐一级导航项，避免在 993–1200px 宽度下向右溢出视口 */
.nav-drop--svc {
  left: auto;
  right: 0;
  display: flex;
  gap: 6px;
  min-width: 0;
  padding: 18px 16px 16px;
  transform: translateY(8px);
}
/* 小指针跟随面板右对齐位置 */
.nav-drop--svc::before { left: auto; right: 46px; }
.nav-has-drop:hover .nav-drop--svc,
.nav-has-drop:focus-within .nav-drop--svc { transform: translateY(0); }

.nav-drop--svc .nav-group {
  flex: none;
  min-width: 126px;
  padding: 0 4px;
}
/* 分组之间用细分隔线划分，强化"类目"层级 */
.nav-drop--svc .nav-group + .nav-group {
  border-left: 1px solid var(--hair);
  padding-left: 16px;
}
/* 一级类目名：仅作分组标题，不参与点击 */
.nav-group-title {
  margin: 0 0 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brown);
}
.nav-group-en {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: #BFA79C;
}
.nav-drop--svc .nav-sub { margin: 0; padding: 0; }


/* 汉堡按钮：移动端显示（由 main.js 切换 .nav-open） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: 0;
}
.nav-toggle i {
  display: block;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
/* 汉堡变叉（菜单展开时） */
.nav-open .nav-toggle i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. 懒加载通用样式（图片占位 / 加载完成淡入 / 模块入场动画）
   -------------------------------------------------------------------------- */
.lazy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
  background:
    linear-gradient(135deg, rgba(232, 180, 184, .18), rgba(176, 137, 104, .10)),
    var(--cream);
}
img.lazy-img.loaded { opacity: 1; }
img.lazy-img.error {
  opacity: 1;
  object-fit: contain;
  background: var(--cream);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* 尊重系统"减少动态效果"偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   8. 友情链接（页底上方横条）
   -------------------------------------------------------------------------- */
.links-bar {
  background: var(--cream);
  padding: 28px 0;
}
.links-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.links-label {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--deep);
  font-weight: 600;
  flex: none;
}
.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
}
.links-list a {
  font-size: 14px;
  color: var(--brown);
  letter-spacing: 1px;
}
.links-list a:hover { color: var(--pink); }

/* --------------------------------------------------------------------------
   9. 页脚（深棕门头面板：品牌信息 / 4 栏导航 / 联系我们 / 版权）
   -------------------------------------------------------------------------- */
.footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}
.footer a { color: rgba(255, 255, 255, .82); }
.footer a:hover { color: var(--pink); }

/* 页脚分栏：品牌栏自适应占位（吸走多余留白），4 个导航栏按内容宽度紧排并整体右移
   栏目间距 88px（较原 44px 加大一倍） */
.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto auto;
  column-gap: 88px;
  row-gap: 40px;
  /* 只写上下内边距：左右内边距沿用 .container，
     保证页脚 LOGO 左边缘与上方"友情链接"首字、版心左边线严格对齐 */
  padding-top: 80px;
  padding-bottom: 56px;
}

/* —— 品牌栏 —— */
/* 页脚白色 LOGO：缩小到 72px 高度，与右侧栏目文字视觉比例协调；
   图片本身无透明留白，左边缘与上方"友情链接"首字同一条竖线 */
.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
}
.footer-brand p {
  line-height: 2;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .72);
  max-width: 360px;
}

/* —— 社媒图标（只留图标去掉文字 + 悬停二维码弹层） —— */
/* 四个图标之间间距 49px（相当于原 14px 的 3.5 倍） */
.qr-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 49px;
  margin-top: 26px;
}
.qr-item { position: relative; }
.qr-link {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* 官方品牌图标（透明底白色 LOGO）：去掉圆形底框，直接展示图形本身 */
.qr-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  transition: transform .3s ease;
}
.qr-ico .qr-img {
  height: 34px;
  width: auto;
  display: block;
}
.qr-item:hover .qr-ico { transform: translateY(-4px) scale(1.06); }

/* 二维码弹层：鼠标悬停时向上淡入 */
.qr-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: 148px;
  padding: 12px 12px 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(84, 64, 47, .25);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 60;
}
.qr-pop img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  margin: 0 auto 8px;
  border-radius: 6px;
}
.qr-pop p {
  font-size: 12px;
  color: var(--deep);
  letter-spacing: 2px;
}
.qr-pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
}
.qr-item:hover .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* —— 页脚 4 栏导航（无下横线） —— */
.footer-col h3 {
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 22px;
  /* 去掉 h3 下方柔粉短横线（用户要求） */
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { letter-spacing: 1px; color: rgba(255, 255, 255, .75); }
.footer-col a:hover { color: var(--pink); }

/* —— 联系我们（参考截图样式：图标 + 文字，VI 配色） —— */
/* 联系我们各条目行间距：1px + 10px = 11px（比上一版略放松，仍比原 16px 紧凑） */
.footer-contact ul { display: flex; flex-direction: column; gap: 11px; }
.footer-contact li {
  display: flex;
  gap: 14px;
  /* 图标 36px、文字行高 24px：改为垂直居中，让文字落在图标中心线（图标位置不变，文字下移） */
  align-items: center;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  font-size: 14px;
}
.footer-contact .fc-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 180, 184, .22);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-style: normal;
  border: 1px solid rgba(232, 180, 184, .4);
}
.footer-contact .fc-text b { color: var(--pink); font-weight: 500; margin-right: 6px; }

/* --------------------------------------------------------------------------
   10. 页脚底部：版权左右分栏
   -------------------------------------------------------------------------- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .65);
  flex-wrap: wrap;
  gap: 10px 16px;
}
.footer-bottom-left a { color: rgba(255, 255, 255, .65); }
.footer-bottom-left a:hover { color: var(--pink); }
.footer-bottom-right { display: flex; gap: 14px; }
.footer-bottom-right a { color: rgba(255, 255, 255, .65); }
.footer-bottom-right a:hover { color: var(--pink); }
.footer-bottom-right .sep { color: rgba(255, 255, 255, .35); }

/* --------------------------------------------------------------------------
   11. 右侧悬浮挂件（微信 / 电话 / 机器人 / 回到顶部）
      .sideslide 包含 4 个圆圈，主回到顶部 + 3 个次级挂件堆叠
      JS 实现：滚动 300px 后显示回到顶部，点击回到顶部平滑 scrollTo 0
      微信/电话/机器人为悬停弹层（二维码 / tel: / 在线咨询）
   -------------------------------------------------------------------------- */
.sideslide {
  position: fixed;
  right: 28px;
  bottom: 34px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sideslide .ss-item {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(139, 107, 82, .35);
  transition: all .3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.sideslide .ss-item:hover {
  background: var(--pink);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(232, 180, 184, .55);
}
.sideslide .ss-item .ss-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
/* 悬挂挂件图标：官方 PNG 图标（白色透明底），统一 28px 等比居中，留点安全边距避免裁切 */
.sideslide .ss-item .ss-icon .ss-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.sideslide .ss-item .ss-label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 16px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  pointer-events: none;
}
.sideslide .ss-item:hover .ss-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
/* 带 popover 的挂件：hover 时隐藏极简 .ss-label（popover 更丰富） */
.sideslide .ss-item.is-open .ss-label,
.sideslide .ss-item:has(.ss-pop):hover .ss-label {
  opacity: 0;
  visibility: hidden;
}
/* 次级挂件：默认隐藏，滚动 300px 后出现，或始终显示（按需） */
.sideslide .ss-wechat .ss-icon { color: var(--white); }
/* 回到顶部按钮：不再显示 .ss-label 文字，点图标直接到顶 */
.sideslide .ss-backtop .ss-label { display: none; }

/* ========== 悬停 popover（微信二维码 / 电话号码 / 在线咨询）
   设计原则：白卡 + 单层轻阴影 + 纯 CSS 三角箭头，极简直白，无多余装饰
   ========================================================================== */
.ss-pop {
  position: absolute;
  right: calc(100% + 14px);
  top: 42%;
  transform: translateY(-50%) translateX(6px);
  background: var(--white);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(84, 64, 47, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
  z-index: 12;
  white-space: nowrap;
}
/* 纯 CSS 三角箭头（white-fill + 同色阴影模拟边框） */
.ss-pop::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--white);
  filter: drop-shadow(2px 0 2px rgba(84, 64, 47, .04));
}
/* JS 控制：.is-open 优先级最高；CSS hover 保留做无 JS 降级；:focus-within 键盘用户 */
.sideslide .ss-item.is-open .ss-pop,
.sideslide .ss-item:hover .ss-pop,
.sideslide .ss-item:focus-within .ss-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* --- 1) 微信二维码：极简白卡 + 二维码 + 一行提示 --- */
.ss-pop-wechat {
  width: 140px;
  padding: 12px 12px 10px;
  text-align: center;
}
.ss-pop-wechat .ss-pop-qr {
  width: 116px;
  height: 116px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.ss-pop-wechat .ss-pop-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ss-pop-wechat .ss-pop-tip {
  margin-top: 8px;
  font-size: 11px;
  color: var(--brown);
  letter-spacing: .5px;
}

/* --- 2) 电话号码：Inter 大号码 + 中间段柔粉锚点 + 柔粉胶囊按钮 --- */
.ss-pop-phone {
  min-width: 170px;
  padding: 14px 16px 12px;
  text-align: center;
}
.ss-pop-phone .ss-pop-title {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--bean);
  text-transform: uppercase;
  margin-bottom: 4px;
  position: relative;
}
/* 标题下方柔粉短划线，装饰 + 视觉分层 */
.ss-pop-phone .ss-pop-title::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--pink);
  margin: 8px auto 0;
  border-radius: 2px;
}
/* 号码主体：更大、更有存在感 */
.ss-pop-phone .ss-pop-tel {
  font-family: "Inter", "Poppins", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep);
  letter-spacing: 1px;
  line-height: 1.2;
  margin-top: 4px;
}
/* 中间段 9817：柔粉 + 稍大一号，形成视觉锚点 */
.ss-pop-phone .ss-pop-tel span {
  color: var(--pink);
  font-size: 26px;
  margin: 0 2px;
}
/* 复制按钮：柔粉胶囊 + hover 微抬起 + 柔粉阴影 */
.ss-pop-phone .ss-pop-copy {
  margin-top: 12px;
  padding: 6px 18px;
  border-radius: 999px;
  border: none;
  background: var(--pink);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .25s ease;
}
.ss-pop-phone .ss-pop-copy:hover {
  background: var(--bean);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 180, 184, .5);
}
.ss-pop-phone .ss-pop-copy.is-copied {
  background: #6B9E6B;
  box-shadow: none;
  transform: none;
}

/* --- 3) 在线咨询入口：纯平柔粉胶囊按钮 --- */
.ss-pop-robot {
  min-width: 200px;
  padding: 18px 20px 14px;
  text-align: center;
}
.ss-pop-robot .ss-pop-title {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--deep);
  font-weight: 500;
  margin-bottom: 4px;
}
.ss-pop-robot .ss-pop-desc {
  font-size: 12px;
  color: var(--bean);
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.ss-pop-robot .ss-pop-chat {
  width: 100%;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  background: var(--pink);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 3px;
  cursor: pointer;
  transition: background .2s;
}
.ss-pop-robot .ss-pop-chat:hover { background: var(--bean); }

/* ========== 在线咨询弹层（模态）—— 极简奶白 + 柔粉点缀 ========== */
.ss-chat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(84, 64, 47, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.ss-chat-overlay.is-open { opacity: 1; visibility: visible; }

.ss-chat-panel {
  width: 400px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 64px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(84, 64, 47, .14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.ss-chat-overlay.is-open .ss-chat-panel {
  transform: translateY(0);
  opacity: 1;
}

/* 头部：纯色柔粉 + 去 avatar（减少信息层级） */
.ss-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--pink);
  color: var(--white);
}
.ss-chat-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
}
.ss-chat-avatar { display: none; }
.ss-chat-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.ss-chat-close:hover { background: rgba(255,255,255,.38); }

/* 消息区：去阴影，用极淡边框区分气泡 */
.ss-chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: var(--cream);
}
.ss-chat-msg {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--hair);
  padding: 12px 14px;
  max-width: 85%;
}
.ss-chat-msg--left { margin-right: auto; border-top-left-radius: 4px; }
.ss-chat-msg p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink);
}
.ss-chat-msg p + p { margin-top: 4px; }
.ss-chat-tip {
  margin-top: 18px;
  font-size: 11px;
  color: var(--bean);
  text-align: center;
  letter-spacing: .5px;
}

/* 底部输入：10px 小圆角，去掉 999 胶囊 */
.ss-chat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
  background: var(--white);
}
.ss-chat-input {
  flex: 1;
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.ss-chat-input:focus { border-color: var(--pink); }
.ss-chat-send {
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  background: var(--bean);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background .2s;
}
.ss-chat-send:not(:disabled):hover { background: var(--pink); }
.ss-chat-send:disabled { opacity: .4; cursor: not-allowed; }

/* 响应式：小屏 popover 保持可见（touch 设备 tap 触发，tap 外部关闭） */
@media (max-width: 640px) {
  .sideslide .ss-item { overflow: visible; }
}

/* --------------------------------------------------------------------------
   11.5 移动端悬浮操作（≤992 显示）：「+」实心圆展开微信 / 电话 / 机器人 / 回到顶部
   桌面端沿用上面的 .sideslide 四个圆圈，本组件默认隐藏
   -------------------------------------------------------------------------- */
.mfab { display: none; position: fixed; right: 16px; bottom: 20px; z-index: 996; }
.mfab-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.mfab-list { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 12px; }
.mfab-item,
.mfab-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--brown);
  box-shadow: 0 6px 18px rgba(84, 64, 47, .22);
  transition: transform .22s ease, background .2s ease, opacity .22s ease, visibility .22s;
  box-sizing: border-box;
}
.mfab-item svg { width: 55%; height: 55%; max-width: 24px; max-height: 24px; }
/* 手机端 PNG 图标：和按钮内 SVG 一样大小，留点安全边距 */
.mfab-item .mfab-icon { width: 60%; height: 60%; object-fit: contain; display: block; }
.mfab-item { width: 44px; height: 44px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.9); }
.mfab-item:active { background: var(--deep); }
/* 回到顶部：滚动超过一屏才出现 */
.mfab-item.mfab-top { display: none; }
.mfab-item.mfab-top.is-visible { display: flex; }
.mfab-toggle { width: 52px; height: 52px; background: var(--deep); }
.mfab-toggle i {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .26s ease;
}
.mfab-toggle i:first-child { transform: rotate(0); }
.mfab-toggle i:last-child { transform: rotate(90deg); }
.mfab.is-open .mfab-item { opacity: 1; visibility: visible; transform: none; }
.mfab.is-open .mfab-item:nth-child(1) { transition-delay: .16s; }
.mfab.is-open .mfab-item:nth-child(2) { transition-delay: .11s; }
.mfab.is-open .mfab-item:nth-child(3) { transition-delay: .06s; }
.mfab.is-open .mfab-item:nth-child(4) { transition-delay: 0s; }
.mfab.is-open .mfab-toggle i:first-child { transform: rotate(45deg); }
.mfab.is-open .mfab-toggle i:last-child { transform: rotate(-45deg); }
/* 微信二维码卡片：在按钮左侧弹出（位置上移，避免贴到底部太往下） */
.mfab-qr {
  position: absolute;
  right: 64px;
  bottom: 70px;
  width: 164px;
  padding: 12px 12px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(84, 64, 47, .2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.mfab-qr.is-open { opacity: 1; visibility: visible; transform: none; }
.mfab-qr img { display: block; width: 140px; height: 140px; object-fit: contain; margin: 0 auto; }
.mfab-qr p { margin-top: 6px; font-size: 12px; letter-spacing: 1px; color: var(--deep); }

/* 全屏菜单打开时锁定页面滚动 */
body.nav-locked { overflow: hidden; }

/* 一级「全部服务项目」入口与底部咨询条：仅移动端显示 */
.nav-svc-all { display: none; }
.nav-mfoot { display: none; }

/* --------------------------------------------------------------------------
   12. 公共响应式（≤1600 笔记本 / ≤1280 小笔记本 / ≤992 平板 / ≤640 手机）
   -------------------------------------------------------------------------- */
/* 14–15 寸笔记本（1281–1600px）：仅收紧导航字号与间距，
   版心宽度（1464/1400）保持不变，大屏视觉不受影响 */
@media (max-width: 1600px) and (min-width: 1281px) {
  .nav-list { gap: 0; }
  .nav-list > li > a { padding: 10px 14px; font-size: 16px; letter-spacing: 1px; }
  .nav-list > li:last-child > a { padding-right: 0; }
}

@media (max-width: 1280px) {
  .container { padding: 0 24px; max-width: 1200px; }
  .section { padding: 80px 0; }
  /* 小笔记本（如 13–14 寸 + 系统缩放）：导航进一步收窄，保证 8 个一级菜单单行 */
  .nav-list { gap: 0; }
  .nav-list > li > a { padding: 10px 11px; font-size: 15px; letter-spacing: 0; }
  .nav-list > li:last-child > a { padding-right: 0; }
  /* 页脚收窄：品牌栏最小宽度与列间距同步减小，避免窄屏挤压 */
  .footer-top {
    grid-template-columns: minmax(240px, 1fr) auto auto auto auto;
    column-gap: 56px;
  }
  /* 笔记本断点：图标间距收紧，保证 4 个图标仍单行不换行 */
  .qr-nav { gap: 24px; }
}

@media (max-width: 992px) {
  .topbar { display: none; }

  /* 移动端 header：fixed 吸顶 + 关闭 backdrop-filter
     backdrop-filter 会给 fixed 子元素创建新包含块，导致 .nav 的 inset:0 不再相对于视口 */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--hair);
  }
  .header-inner { height: 96px; }
  .brand-logo { height: 45px; }

  /* 补偿 header 脱离文档流：body 需留出 header 高度 */
  body { padding-top: 96px; }

  /* 移动端菜单：全屏铺满（页头 LOGO + × 保持在上层） */
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 997;
    background: var(--white);
    padding: 96px 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    /* 移动端不需要 opacity transition：会导致 computed style 延迟（position:fixed + transition 组合 BUG） */
    transition: transform .26s ease;
    box-shadow: none;
  }
  /* is-open 直接挂在 nav 自身：避免浏览器对 fixed 父元素的 class 变更不级联到 fixed 子元素 */
  .nav-open .nav,
  .nav.is-open { opacity: 1 !important; visibility: visible !important; transform: none; }

  .nav-list { flex-direction: column; gap: 0; padding: 4px 28px 24px; }
  .nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 2px;
    border-bottom: 1px solid var(--hair);
    font-size: 17px;
    letter-spacing: 1px;
  }
  .nav-list > li > a::after { display: none; }

  /* 一级带子菜单：右侧箭头，点击只展开、不跳转（手风琴） */
  .nav-has-drop::after { display: none; }
  .nav-caret {
    display: block;
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.5px solid var(--deep);
    border-bottom: 1.5px solid var(--deep);
    transform: rotate(45deg);
    transition: transform .24s ease;
  }
  .nav-has-drop.is-expanded .nav-caret { transform: rotate(-135deg); }

  /* 子菜单：默认收起，父级展开后显示 */
  /* 移动端子菜单容器：彻底覆盖桌面端所有属性，避免级联残留 */
  .nav-drop {
    position: static !important;
    display: none;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    float: none !important;
    clear: none !important;
    transform: none !important;
    min-width: 0;
    width: auto !important;
    height: auto !important;
    margin: 0;
    padding: 2px 0 10px;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible;
  }
  .nav-has-drop.is-expanded .nav-drop { display: block; }
  .nav-drop::before { display: none !important; }
  .nav-drop a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 12px 2px 12px 20px;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
    color: var(--deep) !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    transition: none !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
  }
  .nav-drop a::after,
  .nav-drop a::before { display: none !important; }
  /* 覆盖桌面端 .nav-drop li:nth-child(n) a 的 transition-delay */
  .nav-drop li:nth-child(n) a { transition-delay: 0s !important; }
  /* 覆盖桌面端 hover/focus 规则，移动端不需要 */
  .nav-drop a:hover,
  .nav-drop a:focus-visible {
    background: none !important;
    color: var(--deep) !important;
  }

  /* 服务项目分组：纵向「分组标题 + 缩进子项」 */
  .nav-drop--svc { display: none; min-width: 0; padding: 2px 0 10px; }
  .nav-has-drop.is-expanded .nav-drop--svc { display: block; }
  .nav-drop--svc::before { display: none; }
  .nav-drop--svc .nav-group { min-width: 0; padding: 0; }
  .nav-drop--svc .nav-group + .nav-group { border-left: 0; padding-left: 0; }
  .nav-group-title {
    margin: 0;
    padding: 14px 2px 4px;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--brown);
  }
  .nav-group-en { display: inline; margin: 0 0 0 8px; font-size: 10px; }
  .nav-drop--svc .nav-sub a { padding-left: 22px; }
  /* 全部服务项目：桌面用，移动端隐藏 */
  .nav-svc-all { display: none !important; }

  /* 全屏菜单底部固定：电话 / 微信（用户要求去掉） */
  .nav-mfoot { display: none !important; }

  /* 版块标题：恢复左右布局 + 隐藏英文眉 + 隐藏装饰线，让标题和按钮同一行 */
  .sec-head { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 28px; }
  .sec-head-main .sec-en { display: none !important; }
  .sec-head-main .sec-rule { display: none !important; }
  /* 公司简介模块用的是 .about-head（没有 sec-head-main 包裹），单独覆盖 */
  .about-head .sec-en { display: none !important; }
  .about-head .sec-rule { display: none !important; }
  .sec-head h2 { font-size: 24px; letter-spacing: 2px; line-height: 1.2; white-space: nowrap; }
  .sec-head-action { flex-shrink: 0; }
  /* 胶囊按钮手机版：再瘦一点更适合窄屏 */
  .more-link { padding: 6px 14px; font-size: 12px; letter-spacing: 1.5px; }
  /* 左列标题下方那个 .more-link 间距 —— 手机端按钮都在右列了，这个清零 */
  .sec-head-main .more-link { margin-top: 0; }
  /* 手机端客户好评：评分条隐藏；右列纵向堆叠也恢复为横向，和其它版块一致 */
  .review .review-score { display: none; }
  .review .sec-head-action--stack { flex-direction: row; align-items: center; gap: 0; }

  /* 手机 / 平板页脚瘦身：隐藏友情链接、品牌栏与四列导航 */
  .links-bar { display: none; }
  .footer-top { display: none; }
  .footer-bottom { border-top: 0; padding: 26px 0 30px; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .5px;
    text-align: center;
  }
  .footer-bottom-left { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  /* 手机上只保留两行：版权行 + 原创设计行，备案信息仅桌面显示 */
  .footer-bottom-left .fb-rights { display: none; }
  .footer-bottom-left .fb-beian { display: none; }
  .footer-bottom-right { justify-content: center; flex-wrap: wrap; gap: 10px; }

  /* 手机 / 平板：旧的 4 圆悬浮隐藏，改用「+」展开组件 */
  .sideslide { display: none; }
  .mfab { display: block; }
}

/* ============================================================
   首页与分页共用的卡片样式：
   需求卡 .demand-card / 招聘卡 .recruit-card
   （index.css 原归属 → 移到 common.css 供分页复用）
   ============================================================ */
.demand-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: all .3s ease;
  position: relative;
}
.demand-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.demand-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--pink);
  border-radius: 4px;
  padding: 3px 10px;
}
.demand-tag--plain {
  background: transparent;
  color: var(--bean);
  border: 1px solid var(--hair);
}
.demand-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ink);
  padding-right: 70px;
}
.demand-card h3 small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--brown);
  margin-top: 6px;
  letter-spacing: .5px;
  padding-right: 0;
}
.demand-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
}
.demand-salary { font-size: 16px; color: var(--deep); font-weight: 700; letter-spacing: .5px; }
/* 原来的右下角日期 → 改成纯文字「查看详情」链接 */
.demand-detail {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--brown);
  text-decoration: none;
  transition: color .26s ease, letter-spacing .26s ease;
}
.demand-detail:hover {
  color: var(--pink);
  letter-spacing: 2px;
}

.recruit-card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--cream);
  transition: all .3s ease;
}
.recruit-card:hover { border-color: var(--pink); box-shadow: var(--shadow); transform: translateY(-4px); }
.recruit-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.recruit-head h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--deep);
}
.recruit-head h3 small {
  font-size: 12px;
  font-weight: 400;
  color: var(--bean);
  margin-left: 8px;
  letter-spacing: 1px;
}
.recruit-pay { font-size: 17px; font-weight: 700; color: var(--pink); letter-spacing: .5px; flex: none; font-family: "Inter", "Poppins", "Microsoft YaHei", sans-serif; }
.recruit-desc {
  margin: 12px 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--brown);
}
.recruit-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.recruit-tags span {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--brown);
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 2px 12px;
}
.recruit-btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--deep);
  border: 1px solid var(--bean);
  border-radius: 999px;
  padding: 7px 24px;
  transition: all .3s ease;
}
.recruit-btn:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }

/* 招聘卡片按钮组：左「立即报名」、右「查看详情」，首页与分页共用 */
.recruit-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}

/* 查看详情按钮：粉色实底，与报名按钮形成主次对比 */
.recruit-btn--detail {
  color: var(--white);
  background: var(--pink);
  border-color: var(--pink);
}
.recruit-btn--detail:hover {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

@media (max-width: 640px) {
  .container { padding: 0 16px; max-width: 100%; }
  .section { padding: 56px 0; }

  .header-inner { height: 72px; }
  .brand-logo { height: 34px; }
  body { padding-top: 72px; }

  /* 手机断点：导航菜单顶部 padding 与 header 对齐（992px 断点写的 96px 在这里覆盖掉） */
  .nav { padding-top: 72px !important; transform: translateY(-4px) !important; }
  .nav-open .nav, .nav.is-open { transform: none !important; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-right { justify-content: center; }

  /* 右侧悬浮挂件（小屏收窄靠左） */
  .sideslide { right: 14px; bottom: 20px; gap: 12px; }
  .sideslide .ss-item { width: 48px; height: 48px; font-size: 22px; }
  .sideslide .ss-item .ss-icon .ss-img { width: 26px; height: 26px; }
  .sideslide .ss-item .ss-label { display: none; }
}

/* 回到顶部：默认透明度 0，滚动 300px 后淡入 */
.ss-backtop {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.ss-backtop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   通用列表行样式（行业百科 / 家政问答 / 资讯列表）
   -------------------------------------------------------------------------- */
.bk-list { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.bk-row {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  transition: all .3s ease;
  position: relative;
}
.bk-row:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.bk-date {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  border-right: 1px dashed var(--hair);
  margin-right: 4px;
}
.bk-date b {
  font-size: 32px;
  font-weight: 700;
  color: var(--deep);
  font-family: "Inter", "Poppins", sans-serif;
  line-height: 1.1;
}
.bk-date span {
  font-size: 12px;
  color: var(--bean);
  letter-spacing: 2px;
  margin-top: 4px;
}
.bk-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bk-main h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .5px;
  margin-bottom: 6px;
  transition: color .25s ease;
}
.bk-row:hover .bk-main h3 { color: var(--deep); }
.bk-main p {
  font-size: 13.5px;
  color: var(--brown);
  line-height: 1.7;
  letter-spacing: .2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}
.bk-views {
  font-size: 12px;
  color: var(--bean);
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter", sans-serif;
}
.bk-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--bean);
  transition: all .3s ease;
  align-self: center;
}
.bk-row:hover .bk-arrow {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
  transform: translateX(3px);
}

/* 列表行响应式 */
@media (max-width: 640px) {
  .bk-row { gap: 14px; padding: 16px 18px; }
  .bk-date { flex-basis: 54px; }
  .bk-date b { font-size: 24px; }
  .bk-date span { font-size: 11px; letter-spacing: 1px; }
  .bk-main h3 { font-size: 15px; letter-spacing: .2px; }
  .bk-main p { font-size: 12.5px; }
  .bk-arrow { width: 36px; height: 36px; font-size: 14px; }
}

/* --------------------------------------------------------------------------
   通用背景类 + 文字色工具类（严禁内联 style）
   -------------------------------------------------------------------------- */
.bg-cream  { background: var(--cream); }
.bg-white  { background: var(--white); }
.bg-deep   { background: var(--deep); }
.text-pink { color: var(--pink); }
.text-deep { color: var(--deep); }
.text-brown{ color: var(--brown); }
.letter-wide { letter-spacing: 6px; }
