/* =========================================================
   全站增强层 v1
   - 页面进场淡入 / 顶部滚动进度
   - 图片与文本滚动出现（.enh-reveal）
   - 高端悬停：图片推近、按钮扫光、链接下划线、卡片浮起
   - 桌面端自定义光标环（触屏与减少动效时自动关闭）
   ========================================================= */ :root {
  --enh-accent: #b5432c;
  --enh-ease: cubic-bezier(.19, 1, .22, 1);
}
/* 移动端兼容细节 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img {
  -webkit-user-drag: none;
}
/* =========================================================
   产品中心 · 桌面端大面板（18 个二级分类 + 三级浮层）
   ========================================================= */
.k-nav-item-mega {
  position: static;
}
.k-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 100px);
  z-index: 120;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .32s var(--enh-ease), transform .32s var(--enh-ease), visibility .32s;
  line-height: 1.7;
}
.k-nav-item-mega.st-active .k-mega, .k-nav-item-mega:hover .k-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.k-mega-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 34px 48px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
}
.k-sec-6 {
  --ratio-scale: 0.7;   /* 矮 30% */
  --ratio-max: 0;
}
.k-mega-col {
  list-style: none;
  margin: 0;
  padding: 0;  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 44px;
}
.k-mega-col li {
  border-bottom: 1px solid #f2efe9;
}
.k-mega-cat-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px 10px 0;
  color: #3f3b36;
  transition: color .25s, background .25s;
}
.k-mega-cat-zh {
  font-size: 13.5px;
  letter-spacing: .02em;
}
.k-mega-cat-en {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .2em;
  color: #c6bfb6;
  margin-right: auto;
}
.k-mega-cat-arrow {
  font-size: 9px;
  color: #c6bfb6;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.k-mega-cat-link.has-sub:hover .k-mega-cat-arrow {
  opacity: 1;
  transform: none;
}
.k-mega-cat-link:hover .k-mega-cat-zh {
  color: #111;
}
.k-mega-cat-link.has-sub:hover {
  background: linear-gradient(90deg, transparent, #faf8f4);
}
.k-mega-side {
  border-left: 1px solid #eee;
  padding-left: 32px;
  min-height: 240px;
}
.k-mega-sub {
  display: none;
}
.k-mega-sub.st-default, .k-mega-sub.is-on {
  display: block;
  animation: kMegaFade .28s var(--enh-ease) both;
}
@keyframes kMegaFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.k-mega-sub-title {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #b3aca3;
}
.k-mega-sub-text {
  margin: 0;
  font-size: 12.5px;
  color: #6b665f;
  line-height: 1.9;
}
.k-mega-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.k-mega-sub-list li {
  border-bottom: 1px solid #f4f1ec;
}
.k-mega-sub-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  color: #5f5a54;
  transition: color .25s, padding-left .3s var(--enh-ease);
}
.k-mega-sub-list a:hover {
  color: #111;
  padding-left: 6px;
}
.k-mega-sub-list a i {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: .18em;
  color: #c6bfb6;
}
.k-mega-sub-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid #111;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: #111;
  transition: gap .3s var(--enh-ease);
}
.k-mega-sub-more:hover {
  gap: 16px;
}
/* 面板内统一深色，避免继承透明头部的白字 */
.k-header .k-mega, .k-header.st-fade .k-mega {
  color: #111;
}
.k-header .k-mega a, .k-header.st-fade .k-mega a {
  color: inherit;
  line-height: 1.7;
}
@media (max-width: 1279px) {
  .k-mega-inner {
    padding: 28px 32px 32px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .k-mega-cols {
    gap: 0 28px;
  }
}
/* ---------- 页面进场 ---------- */
@keyframes enhPageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  animation: enhPageIn .55s ease-out both;
}
/* ---------- 顶部滚动进度 ---------- */
.enh-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  z-index: 150;
  pointer-events: none;
  background: transparent;
}
.enh-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--enh-accent);
  opacity: .9;
  transition: width .12s linear;
}
/* ---------- 滚动出现 ---------- */
.enh-on .enh-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .95s var(--enh-ease), transform .95s var(--enh-ease);
  will-change: opacity, transform;
}
.enh-on .enh-reveal.enh-in {
  opacity: 1;
  transform: none;
  margin-bottom: 15px;
}
.enh-on img.enh-reveal {
  transform: scale(1.035);
  transition: opacity 1s var(--enh-ease), transform 1.3s var(--enh-ease);
}
.enh-on img.enh-reveal.enh-in {
  transform: scale(1);
}
/* 图片容器统一裁切，配合悬停推近 */
.enh-zoom {
  overflow: hidden;
}
.enh-zoom img {
  transition: transform 1s var(--enh-ease);
}
.enh-zoom:hover img {
  transform: scale(1.04);
}
/* ---------- 链接：下划线滑动 ---------- */
.enh-underline {
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .45s var(--enh-ease);
}
.enh-underline:hover {
  background-size: 100% 1px;
}
/* ---------- 按钮：上浮 + 光影（保留原站自身反色逻辑） ---------- */
.enh-btn {
  transition: transform .4s var(--enh-ease), box-shadow .4s var(--enh-ease), background-color .35s ease, color .35s ease, border-color .35s ease;
}
.enh-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.enh-btn:active {
  transform: translateY(-1px);
}
/* ---------- 卡片浮起 ---------- */
.enh-lift {
  transition: transform .5s var(--enh-ease), box-shadow .5s var(--enh-ease);
}
.enh-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
}
/* ---------- 首屏大图缓慢呼吸 ---------- */
.enh-breathe img {
  animation: enhBreathe 18s ease-in-out infinite alternate;
}
@keyframes enhBreathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}
/* ---------- 头部：滚动后细节 ---------- */
.enh-header-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}
/* ---------- 自定义光标环 ---------- */
.enh-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(17, 17, 17, .45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 400;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity .3s, width .25s var(--enh-ease), height .25s var(--enh-ease), margin .25s var(--enh-ease), border-color .25s, background .25s;
  mix-blend-mode: difference;
}
.enh-cursor.is-on {
  opacity: .75;
}
.enh-cursor.is-hover {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
}
@media (hover: none), (pointer: coarse) {
  .enh-cursor {
    display: none;
  }
}
/* ---------- 深浅色自适应 ---------- */
.enh-on-dark .enh-underline {
  background-image: linear-gradient(#fff, #fff);
}
/* ---------- 无障碍与细节 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--enh-accent);
  outline-offset: 3px;
}
.k-ab-page ::selection {
  background: #111;
  color: #fff;
}
/* =========================================================
   桌面端头部右侧：宣传语 + 咨询电话
   ========================================================= */
.k-head-contact {
  position: absolute;
  right: 85px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  line-height: 1.35;
  text-align: right;
}
@media (min-width: 1280px) {
  .k-head-contact {
    display: flex;
  }
}
.k-head-slogan {
  font-size: 9.5px;
  letter-spacing: .26em;
  white-space: nowrap;
  opacity: .5;
  transition: opacity .3s;
}
.k-header .k-head-phone, .k-header.st-fade .k-head-phone {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  transition: color .3s;
}
.k-head-phone i {
  font-size: 11.5px;
  transform: translateY(-1px);
  transition: transform .35s var(--enh-ease);
}
.k-head-phone span {
  position: relative;
}
.k-head-phone span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--enh-ease);
}
.k-head-phone:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}
.k-head-phone:hover i {
  transform: translateY(-1px) rotate(-10deg);
}
.k-head-contact:hover .k-head-slogan {
  opacity: .8;
}
.k-head-phone:hover {
  color: var(--enh-accent);
}
.k-header.st-fade .k-head-phone:hover {
  color: #fff;
}
@media (max-width: 1279px) {
  .k-head-contact {
    display: none;
  }
}
/* 首页分类：底部“查看更多”居中 */
.k-cat-more {
  text-align: center;
  margin: 8px 0 10px;
}
.k-cat-more > a {
  letter-spacing: .18em;
}
/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  .enh-on .enh-reveal, .enh-on img.enh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .enh-zoom img, .enh-lift, .enh-btn::before {
    transition: none;
  }
  .enh-breathe img {
    animation: none;
  }
  .enh-cursor {
    display: none;
  }
}