/* =========================================================
   艾小手健康管理连锁机构 — 网站复刻样式
   还原 ixshou.com/zyyjj 原版视觉（wezhan 建站模板）
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* 品牌色（原站 fullcolumn-outer 背景 rgb(120,63,4)） */
  --brand-brown: #783f04;
  --brand-deep: #5f3102;
  --brand-line: rgba(120, 63, 4, .28);
  --brand-tint: rgba(120, 63, 4, .07);
  --accent: #d81b00;

  /* 文字层级 */
  --text-dark: #2e2a25;
  --text-body: #433e37;
  --text-soft: #6f6960;
  --text-mute: #a29a90;

  /* 分隔与底色 */
  --line: #ece7e0;
  --line-soft: #f4f1ec;
  --cream: #faf8f4;

  --page-width: 1000px;

  /* 字体栈：中文优先，兼顾 Windows / macOS / Linux 渲染 */
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans CJK SC", Helvetica, Arial, sans-serif;
  --font-serif: "Songti SC", STSong, SimSun, "Source Han Serif SC",
                "Noto Serif CJK SC", Georgia, serif;
  --font-kai: STXinwei, "华文新魏", "Kaiti SC", KaiTi, STKaiti, var(--font-sans);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;   /* 顶部吸顶导航高度补偿 */
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { border: 0; display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-size: inherit; font-weight: normal; }

/* 数字等宽，列表/日期列对齐更整齐 */
.pager, .news-list .meta, .news-grid .date, .detail-meta, .contact-list {
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--brand-brown); color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-line);
  outline-offset: 2px;
}

.container {
  width: var(--page-width);
  margin: 0 auto;
  position: relative;
}

/* ================= 顶部导航 ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--brand-brown);
  background-image: linear-gradient(180deg, #82450a 0%, #6d3903 100%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .16);
  transition: box-shadow .25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 6px 22px rgba(60, 30, 0, .26);
}

/* flex 布局替代原绝对定位：文字长度/字号变化都不会错位 */
.header-inner {
  width: var(--page-width);
  height: 80px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  flex: none;
  width: 70px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-slogan {
  flex: none;
  width: 249px;
  color: #fff;
  font-family: var(--font-kai);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}

.main-nav {
  width: 600px;
  margin-left: auto;
  align-self: stretch;
  display: flex;
}

.main-nav > ul {
  display: flex;
  width: 100%;
}

.main-nav > ul > li {
  flex: 1;
  position: relative;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  letter-spacing: .5px;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

/* 悬停/当前项：底部短横线，比整块底色更克制 */
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 0;
  height: 2px;
  background: #f0cd93;
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current > a {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current > a::after {
  width: 26px;
}

/* 下拉子导航 */
.subnav {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 100%;
  background: #6d3903;
  box-shadow: 0 10px 24px rgba(50, 25, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 100;
}

.main-nav li.has-sub:hover .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav li a {
  display: block;
  padding: 0 16px;
  height: 42px;
  line-height: 42px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.subnav li:first-child a { border-top: 0; }

.subnav li a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ================= 首页轮播 ================= */

.banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #2a1a0b;
}

.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .9s var(--ease);
  will-change: opacity, transform;
}

.banner-slide.active {
  opacity: 1;
  animation: banner-zoom 9s linear forwards;
}

/* 极缓慢推近，让静态大图不呆板（幅度 6%，不会露出边缘） */
@keyframes banner-zoom {
  from { transform: scale(1.001); }
  to   { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .banner-slide.active { animation: none; }
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  padding: 0;
  line-height: 44px;
  text-align: center;
  font-size: 30px;
  font-family: var(--font-sans);
  color: #fff;
  border: 0;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  background: rgba(40, 20, 0, .26);
  backdrop-filter: blur(2px);
  opacity: .78;
  transition: opacity .22s var(--ease), background-color .22s var(--ease),
              transform .22s var(--ease);
  z-index: 5;
}

.banner-arrow:hover {
  opacity: 1;
  background: rgba(40, 20, 0, .52);
}

.banner-arrow.prev { left: 22px; }
.banner-arrow.next { right: 22px; }
.banner-arrow.prev:hover { transform: translateY(-50%) translateX(-2px); }
.banner-arrow.next:hover { transform: translateY(-50%) translateX(2px); }

.banner-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 5;
}

.banner-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 0 6px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: width .28s var(--ease), background-color .28s var(--ease);
}

.banner-dots .dot.active {
  width: 26px;
  background: #fff;
}

.banner-dots .dot:hover { background: #fff; }

/* ================= 主体内容 ================= */

.page {
  padding-bottom: 52px;
}

/* 栏目标题条（祥云纹理背景） */
.section-title-strip {
  width: var(--page-width);
  height: 148px;
  margin: 0 auto;
  background: url('../images/pattern.jpg') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title-strip h1 {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1.25;
  letter-spacing: 8px;
  padding-left: 8px;          /* 抵消末字右侧字距，视觉居中 */
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

/* 标题下的短装饰线，替代原站孤立的一行大字 */
.section-title-strip h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 15px auto 0;
  background: var(--brand-brown);
  opacity: .45;
}

/* 图文介绍区：flex 排布，文字变长自动撑高，不再压到下一节 */
.intro {
  width: var(--page-width);
  margin: 0 auto;
  padding: 38px 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 21px;
}

.intro-img {
  flex: 0 0 466px;
  width: 466px;
}

.intro-img img { width: 100%; height: auto; }

.intro-img.narrow {
  flex: 0 0 476px;
  width: 476px;
  margin-right: 23px;         /* 原站此节图↔文间距 44px */
}

.intro-text {
  flex: 1;
  min-width: 0;
  padding-top: 24px;
}

.intro-text p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 2;
  color: var(--text-body);
  text-align: justify;
  text-indent: 2em;           /* 原生首行缩进，替代 &nbsp; 假缩进 */
  letter-spacing: .2px;
}

.intro-text p + p { margin-top: .45em; }

.intro-text.small {
  padding-top: 32px;
  font-size: 18px;
}

.intro-text.small p {
  font-size: 18px;
  line-height: 1.95;
}

/* 整幅 banner 图 */
.banner-img {
  width: var(--page-width);
  margin: 0 auto;
}

.banner-img img { width: 100%; height: auto; }

/* 四疗法图：限制在容器宽度内并按原始比例缩放 */
.tuina-grid .grid-img img { width: 100%; height: auto; }

.banner-img a { display: block; }

/* 小儿推拿四疗法网格 */
.tuina-grid {
  width: var(--page-width);
  margin: 0 auto;
}

.tuina-grid .grid-img {
  position: relative;
}

.tuina-grid .grid-img + .grid-img { margin-top: -4px; }

/* 热区链接（覆盖在圆形图上） */
.hotzone {
  position: absolute;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.hotzone:hover {
  background: rgba(120, 63, 4, .09);
  box-shadow: 0 0 0 3px rgba(120, 63, 4, .45) inset;
}

/* 大段文本：两侧留白收窄行宽，中文阅读更省力 */
.para-text {
  width: var(--page-width);
  margin: 0 auto;
  padding: 44px 24px 30px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 2;
  color: var(--text-body);
  text-align: justify;
  letter-spacing: .2px;
}

.para-text p { text-indent: 2em; }
.para-text p + p { margin-top: .5em; }

/* 返回顶部 */
.backtop { margin-top: 12px; }
.backtop a { cursor: pointer; }

/* ================= 页脚 ================= */

.site-footer {
  background: var(--brand-brown);
  background-image: linear-gradient(180deg, #7d4206 0%, #5f3102 100%);
  color: #fff;
  margin-top: 26px;
}

.footer-inner {
  width: var(--page-width);
  margin: 0 auto;
  padding: 36px 0 0;
}

/* 二维码 + 联系方式：flex 居中，高度自适应，不会再被固定 268px 裁剪 */
.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 118px;
  padding-bottom: 30px;
}

.footer-qrcode {
  flex: none;
  width: 124px;
  text-align: center;
}

.footer-qrcode img {
  width: 124px;
  height: auto;          /* 按原始比例，二维码不被压扁才能扫得出 */
  border: 4px solid #fff;
  border-radius: 3px;
  background: #fff;
  box-sizing: content-box;
}

.footer-qrcode p {
  margin-top: 11px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .76);
}

.footer-contact { flex: none; }

.contact-title {
  position: relative;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 5px;
  padding-bottom: 10px;
  margin-bottom: 13px;
}

.contact-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, .48);
}

.contact-list li {
  font-size: 14px;
  line-height: 2.15;
  color: rgba(255, 255, 255, .93);
  white-space: nowrap;
}

/* 冒号标签等宽，四条信息左对齐成一条竖线 */
.contact-list .k {
  display: inline-block;
  width: 3.2em;
  color: rgba(255, 255, 255, .58);
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-line {
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 26px;
  padding: 16px 0 22px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .76);
}

.footer-copy a { color: rgba(255, 255, 255, .9); }

.footer-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   子页面（特色业务 / 行业动态 / 联系我们）
   ========================================================= */

/* 子页面大图轮播（与首页轮播同构，图片不同） */

/* 栏目标题（原站：36px 微软雅黑 加粗 #783f04 居中） */
.page-title {
  width: var(--page-width);
  margin: 0 auto;
  padding: 38px 0 26px;
  text-align: center;
}

.page-title h1 {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1.3;
  letter-spacing: 8px;
  padding-left: 8px;
}

.page-title h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 15px auto 0;
  background: var(--brand-brown);
  opacity: .45;
}

/* ---------- 特色业务 ---------- */

.biz-banner {
  width: var(--page-width);
  margin: 0 auto;
}

.biz-banner img { width: 100%; height: auto; }

.biz-grid {
  width: var(--page-width);
  margin: 0 auto;
  position: relative;
}

.biz-row {
  display: flex;
  justify-content: space-between;
}

.biz-row + .biz-row { margin-top: -5px; }

.biz-row .cell { width: 50%; }
.biz-row .cell img { width: 100%; height: auto; }

/* 中央叠图：定位到两行图片的交界（50%），不再依赖写死的 295px */
.biz-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 273px;
  z-index: 3;
}

.biz-center img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(40, 20, 0, .26);
}

/* 服务项目网格（原站 listproduct Style2） */
.product-grid {
  width: var(--page-width);
  margin: 38px auto 6px;
}

.product-grid ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
}

.product-grid li {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  list-style: none;
  overflow: hidden;
  transition: border-color .25s var(--ease),
              box-shadow .25s var(--ease),
              transform .25s var(--ease);
}

.product-grid li:hover {
  border-color: var(--brand-brown);
  box-shadow: 0 12px 28px rgba(120, 63, 4, .14);
  transform: translateY(-4px);
}

.product-grid li a {
  display: block;
  width: 100%;
  min-width: 0;
}

/* aspect-ratio + 100% 宽：图片不再溢出卡片 */
.product-grid .pic {
  width: 100%;
  aspect-ratio: 318 / 250;
  overflow: hidden;
  background: var(--cream);
}

.product-grid .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.product-grid li:hover .pic img { transform: scale(1.06); }

.product-grid .name {
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--line-soft);
  transition: color .22s var(--ease);
}

.product-grid li:hover .name { color: var(--brand-brown); }

/* 深红卡片（行业动态页 listproduct Style5） */
.product-cards {
  width: var(--page-width);
  margin: 32px auto 8px;
}

.product-cards ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* li 拉满行高，卡片高度一致，最后一行不会参差 */
.product-cards li {
  list-style: none;
  min-width: 0;
  display: flex;
}

.product-cards li a {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;          /* 否则 nowrap 标题会把卡片撑出网格 */
  padding: 10px 10px 14px;
  background: rgb(102, 0, 0);
  background-image: linear-gradient(180deg, #6d0303 0%, #5a0000 100%);
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.product-cards li a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(80, 0, 0, .3);
}

.product-cards .pic {
  flex: none;
  width: 100%;
  aspect-ratio: 280 / 180;
  overflow: hidden;
}

.product-cards .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.product-cards li a:hover .pic img { transform: scale(1.06); }

.product-cards .name {
  margin-top: 11px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-cards .desc {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-cards li a:hover .name { text-decoration: underline; }

/* ---------- 行业动态 ---------- */

/* 图片资讯网格（listnews Style6） */
.news-grid {
  width: var(--page-width);
  margin: 30px auto 0;
}

.news-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
}

.news-grid li { list-style: none; min-width: 0; }

.news-grid li a {
  display: block;
  transition: transform .25s var(--ease);
}

.news-grid li a:hover { transform: translateY(-3px); }

.news-grid .pic {
  position: relative;
  width: 100%;
  aspect-ratio: 455 / 232;
  overflow: hidden;
  background: var(--cream);
}

.news-grid .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.news-grid li a:hover .pic img { transform: scale(1.06); }

/* 日期改为压在图片右下角，信息层级更清晰 */
.news-grid .date {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 11px;
  background: rgba(35, 18, 0, .62);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .3px;
}

.news-grid .name {
  padding-top: 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .22s var(--ease);
}

.news-grid li a:hover .name { color: var(--accent); }

.news-grid .info {
  margin-top: 5px;
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 文字资讯列表（listnews Style5） */
/* 顶部分隔线：与上方「图片资讯」明确分区，避免两条分页条连读 */
.news-list {
  width: var(--page-width);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.news-list ul {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.news-list li {
  list-style: none;
  padding-bottom: 26px;
  border-bottom: 1px dashed var(--line);
}

.news-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-list .title a {
  display: block;
  position: relative;
  padding-left: 15px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .22s var(--ease);
}

/* 标题前的方形小标记 */
.news-list .title a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--brand-brown);
  opacity: .5;
  transform: translateY(-50%) rotate(45deg);
  transition: opacity .22s var(--ease);
}

.news-list .title a:hover { color: var(--accent); }
.news-list li:hover .title a::before { opacity: 1; }

.news-list .body {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  align-items: flex-start;
}

.news-list .thumb {
  flex: 0 0 232px;
  width: 232px;
  aspect-ratio: 232 / 150;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream);
}

.news-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.news-list li:hover .thumb img { transform: scale(1.05); }

.news-list .in {
  flex: 1;
  min-width: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

.news-list .desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.95;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-list .meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-mute);
}

.news-list .meta .views::before {
  content: "浏览 ";
  color: var(--text-mute);
}

/* 分页条（原站 xn-pager）：本站为静态复刻，页码作样式展示，不跳转 */
.pager {
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
}

.pager a,
.pager span {
  display: inline-block;
  min-width: 30px;
  height: 30px;
  line-height: 28px;
  padding: 0 10px;
  margin: 0 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-soft);
  background: #fff;
  vertical-align: middle;
}

/* 页码为非链接的展示元素，不显示文本光标 */
.pager span {
  cursor: default;
  user-select: none;
}

.pager span.current {
  background: var(--brand-brown);
  border-color: var(--brand-brown);
  color: #fff;
}

.pager a:hover {
  border-color: var(--brand-brown);
  color: var(--brand-brown);
  text-decoration: none;
}

/* ---------- 联系我们 ---------- */

/* 三项联系信息：等宽信息卡，第三项（地址）稍宽 */
.contact-icons {
  width: var(--page-width);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 6px 0 4px;
}

.contact-icons .c-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  white-space: nowrap;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.contact-icons .c-item:nth-child(3) { flex: 1.35; }

.contact-icons .c-item:hover {
  border-color: var(--brand-line);
  background: #fff;
}

.contact-icons .c-item svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.contact-block {
  width: var(--page-width);
  margin: 24px auto 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.map-box {
  flex: 0 0 418px;
  width: 418px;
  aspect-ratio: 418 / 281;
  background: #e8ecef url('../images/map-baidu.png') center/cover no-repeat;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}

/* 百度静态图内已带红色定位标（近江时代大厦/婺江路217号），
   此处仅叠加文字标注，置于图钉正上方 */
.map-box .pin {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -100%);
  text-align: center;
}

.map-box .pin span {
  display: block;
  background: rgba(120, 63, 4, .94);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  padding: 4px 10px;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}

/* 标注框下方小三角，指向地图上的定位点 */
.map-box .pin::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border: 5px solid transparent;
  border-top-color: rgba(120, 63, 4, .94);
}

.map-box .open-map {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.map-box .open-map:hover {
  color: var(--brand-brown);
  border-color: var(--brand-brown);
  text-decoration: none;
}

.flow-pic {
  flex: 1;
  min-width: 0;
}

.flow-pic img { width: 100%; height: auto; }

/* 联系电话：居中并加两侧装饰线 */
.contact-phone-line {
  width: var(--page-width);
  margin: 0 auto;
  padding: 26px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-kai);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--brand-brown);
}

.contact-phone-line::before,
.contact-phone-line::after {
  content: "";
  width: 84px;
  height: 1px;
  background: var(--brand-line);
}

/* 在线留言（listproduct leaveword Style5） */
.guestbook {
  width: var(--page-width);
  margin: 0 auto 46px;
}

.guestbook .row2 {
  display: flex;
  gap: 20px;
}

.guestbook .field {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin-bottom: 14px;
  padding: 0 14px;
  background: #EDF1F5;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

/* 聚焦时整块变白并描边，输入位置更明确 */
.guestbook .field:focus-within {
  background: #fff;
  border-color: var(--brand-line);
}

.guestbook input,
.guestbook textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-dark);
}

.guestbook input { padding: 10px 0; line-height: 22px; }

.guestbook input::placeholder,
.guestbook textarea::placeholder { color: var(--text-mute); }

.guestbook textarea {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: 14px;
  padding: 12px 14px;
  line-height: 1.75;
  resize: none;
  background: #EDF1F5;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.guestbook textarea:focus {
  background: #fff;
  border-color: var(--brand-line);
}

.guestbook .code-row {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.guestbook .code-row .field {
  flex: 1;
  margin-bottom: 0;
}

.guestbook .codeimg {
  flex: none;
  width: 118px;
  height: 44px;
  background: #EDF1F5;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 5px;
  text-indent: 5px;
  color: #5c6a72;
  user-select: none;
  cursor: pointer;
}

/* 提示语在左、提交按钮在右，替代原来的 float */
.guestbook .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.guestbook .submit {
  flex: none;
  width: 124px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--brand-brown);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 2px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.guestbook .submit:hover {
  background: var(--brand-deep);
  box-shadow: 0 6px 16px rgba(120, 63, 4, .28);
}

.guestbook .tip {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-mute);
}

/* ---------- 右侧悬浮服务条（qqservice） ---------- */

.float-service {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  background: var(--brand-brown);
  background-image: linear-gradient(180deg, #7d4206 0%, #5f3102 100%);
  border-radius: 4px 0 0 4px;
  box-shadow: 0 8px 26px rgba(50, 25, 0, .32);
  z-index: 400;
  /* 注意：此处不能用 overflow:hidden，否则内部二维码弹层会被裁掉 */
  transition: width .26s var(--ease);
}

.float-service:hover { width: 152px; }

.float-service a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  height: 56px;
  padding-left: 19px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.float-service a:last-child { border-bottom: none; }

.float-service a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
}

.float-service svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* 文字标签：收起时隐藏（用 visibility 保证不拦截鼠标，也不撑开宽度） */
.float-service .fs-label {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), visibility .18s;
}

.float-service:hover .fs-label {
  opacity: 1;
  visibility: visible;
}

.float-service .fs-qrcode {
  position: relative;
}

.float-service .fs-qrcode .qr-pop {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  width: 124px;
  height: 124px;
  padding: 5px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s;
}

.float-service .fs-qrcode:hover .qr-pop {
  opacity: 1;
  visibility: visible;
}

.float-service .fs-qrcode .qr-pop img {
  width: 100%;
  height: 100%;
}

/* 浮动服务条在小屏隐藏 */
@media (max-width: 1180px) {
  .float-service { display: none; }
}

/* =========================================================
   详情页（detail.html）— 商品 / 资讯共用
   ========================================================= */

.crumbs {
  padding: 20px 0 0;
  font-size: 13px;
  line-height: 24px;
  color: var(--text-mute);
}

.crumbs a { color: var(--text-mute); transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--brand-brown); text-decoration: none; }
.crumbs span { margin: 0 7px; color: #d6d1c9; }
.crumbs em { font-style: normal; color: var(--text-soft); }

/* 正文区收窄到 820px，中文行宽约 50 字，阅读更顺畅 */
.detail {
  width: 820px;
  margin: 8px auto 0;
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line);
}

.detail-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1.5;
  text-align: center;
  letter-spacing: .5px;
}

.detail-meta {
  margin: 16px 0 26px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
}

.detail-meta span {
  position: relative;
  display: inline-block;
  margin: 0 13px;
}

/* 相邻信息之间的小圆点分隔，替代原来的纯空格 */
.detail-meta span + span::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d6d1c9;
  transform: translateY(-50%);
}

.detail-body {
  font-size: 16px;
  line-height: 2.05;
  color: var(--text-body);
  letter-spacing: .2px;
}

.detail-body p {
  margin-bottom: 14px;
  text-indent: 2em;
  text-align: justify;
  word-break: break-word;
}

.detail-body p:last-child { margin-bottom: 0; }

.detail-figure {
  margin: 24px 0;
  text-align: center;
}

.detail-figure img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 3px;
}

.detail-empty {
  padding: 30px 24px;
  background: var(--cream);
  border: 1px dashed var(--brand-line);
  border-radius: 3px;
  color: var(--text-soft);
  text-indent: 0;
  text-align: center;
  line-height: 1.95;
}

.detail-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.detail-actions .btn {
  display: inline-block;
  min-width: 140px;
  height: 42px;
  line-height: 40px;
  padding: 0 20px;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  border-radius: 3px;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.detail-actions .btn-orig {
  background: var(--brand-brown);
  border: 1px solid var(--brand-brown);
  color: #fff;
}

.detail-actions .btn-orig:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  box-shadow: 0 8px 20px rgba(120, 63, 4, .26);
  color: #fff;
  text-decoration: none;
}

.detail-actions .btn-back {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
}

.detail-actions .btn-back:hover {
  border-color: var(--brand-brown);
  color: var(--brand-brown);
  text-decoration: none;
}

.related {
  width: 820px;
  margin: 0 auto 56px;
  padding-top: 30px;
}

.related-title {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-brown);
  letter-spacing: 1px;
  padding-left: 11px;
  line-height: 20px;
  margin-bottom: 20px;
}

.related-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  background: var(--brand-brown);
  transform: translateY(-50%);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.related-list li { list-style: none; }

.related-list li a {
  display: block;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}

.related-list li a:hover {
  border-color: var(--brand-brown);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(120, 63, 4, .12);
  text-decoration: none;
}

.related-list .rel-pic {
  display: block;
  width: 100%;
  aspect-ratio: 198 / 124;
  overflow: hidden;
  background: var(--cream);
}

.related-list .rel-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.related-list li a:hover .rel-pic img { transform: scale(1.06); }

.related-list .rel-name {
  display: block;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-list li a:hover .rel-name { color: var(--brand-brown); }

/* =========================================================
   13  响应式
   原站为固定 1010px 以上布局，小屏只能横向滚动。
   以下分级：≤1040 流式 / ≤860 单列图文 / ≤620 手机单列
   ========================================================= */

@media (max-width: 1040px) {
  /* ---- 容器改为流式，左右保留安全边距 ---- */
  .header-inner,
  .footer-inner {
    width: 100%;
    max-width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .container {
    width: 100%;
    max-width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* 容器内的定宽区块统一改为占满容器内容宽 */
  .section-title-strip,
  .intro,
  .banner-img,
  .tuina-grid,
  .para-text,
  .page-title,
  .biz-banner,
  .biz-grid,
  .product-grid,
  .product-cards,
  .news-grid,
  .news-list,
  .contact-icons,
  .contact-block,
  .contact-phone-line,
  .guestbook,
  .detail,
  .related {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  /* ---- 页头：吸顶在大屏好用，小屏占位太多，改为静态并换行 ---- */
  .site-header { position: static; }

  .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 8px;
    gap: 0 14px;
  }

  .logo { width: 58px; height: 64px; }

  .brand-slogan {
    width: auto;
    font-size: 24px;
    letter-spacing: 1px;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
    align-self: auto;
    margin-top: 8px;
  }

  .main-nav > ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav > ul > li { flex: 0 0 auto; }

  .main-nav > ul > li > a {
    height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .main-nav > ul > li > a::after { bottom: 5px; }

  /* 触屏没有 hover，下拉菜单点不开，直接收起来 */
  .subnav { display: none; }

  /* ---- 轮播：保持与 600px 桌面高度平滑衔接 ---- */
  .banner { height: min(58vw, 600px); min-height: 220px; }

  /* ---- 正文行宽随视口收窄 ---- */
  .para-text { padding-left: 0; padding-right: 0; }
}

@media (max-width: 860px) {
  /* ---- 网格降列 ---- */
  .product-grid ul,
  .product-cards ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid ul { grid-template-columns: minmax(0, 1fr); }

  .related-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* ---- 图文区改为上下排布 ---- */
  .intro {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding-top: 28px;
  }

  .intro-img,
  .intro-img.narrow {
    flex: none;
    width: 100%;
    max-width: 466px;
    margin-right: 0;
  }

  .intro-text,
  .intro-text.small {
    width: 100%;
    padding-top: 0;
  }

  .intro-text p,
  .intro-text.small p { font-size: 17px; line-height: 1.95; }

  /* ---- 中央叠图按比例缩放，避免压出容器 ---- */
  .biz-center { width: 38%; }

  /* ---- 地图与流程图上下排 ---- */
  .contact-block { flex-direction: column; gap: 22px; }

  .map-box {
    flex: none;
    width: 100%;
    max-width: 418px;
    margin: 0 auto;
  }

  .flow-pic { width: 100%; }

  .contact-icons { flex-direction: column; gap: 12px; }

  .contact-icons .c-item:nth-child(3) { flex: 1; }

  /* ---- 页脚改为上下排布 ---- */
  .footer-main {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .contact-title::after { left: 50%; transform: translateX(-50%); }

  .contact-list li { white-space: normal; }

  .footer-copy { flex-direction: column; gap: 4px; }
}

@media (max-width: 620px) {
  .product-grid ul,
  .product-cards ul { grid-template-columns: minmax(0, 1fr); }

  .section-title-strip h1,
  .page-title h1 {
    font-size: 26px;
    letter-spacing: 4px;
    padding-left: 4px;
  }

  .section-title-strip { height: 120px; }
  .page-title { padding: 28px 0 20px; }

  .para-text {
    font-size: 16px;
    padding-top: 32px;
    padding-bottom: 22px;
  }

  /* ---- 资讯列表改为图上文下 ---- */
  .news-list .body { flex-direction: column; gap: 14px; }

  .news-list .thumb {
    flex: none;
    width: 100%;
  }

  .news-list .in { min-height: 0; }

  .news-list .title a { font-size: 16px; padding-left: 13px; }

  /* ---- 表单与按钮 ---- */
  .guestbook .row2 { flex-direction: column; gap: 0; }
  .guestbook .codeimg { width: 100px; font-size: 17px; letter-spacing: 3px; }

  .guestbook .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .guestbook .submit { width: 100%; }

  .detail-actions { flex-direction: column; gap: 12px; }
  .detail-actions .btn { width: 100%; }

  .detail-title { font-size: 20px; }
  .detail-body { font-size: 15px; line-height: 2; }
  .detail { padding: 22px 0 26px; }

  .contact-phone-line { font-size: 18px; gap: 12px; }
  .contact-phone-line::before,
  .contact-phone-line::after { width: 34px; }

  .banner-arrow {
    width: 38px;
    height: 38px;
    line-height: 36px;
    font-size: 24px;
  }

  .banner-arrow.prev { left: 10px; }
  .banner-arrow.next { right: 10px; }

  .banner-dots { bottom: 14px; }
}
