/* ==========================================================================
   common.css — 全站公共样式
   包含：基础重置 / 顶部 Header / 底部 Footer / 联系表单 / 返回顶部 / 公共按钮
   供首页及各内页共用
   ========================================================================== */

/* ---------------- 全站轻弹窗提示 funaToast ---------------- */
.funa-toast {
  position: fixed;
  top: 32px;
  left: 50%;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  padding: 13px 22px;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translate(-50%, -18px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.funa-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.funa-toast__icon {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
}

.funa-toast__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.funa-toast--success {
  background: #2fb9a8;
}

.funa-toast--error {
  background: #e64340;
}

.funa-toast--info {
  background: #403580;
}

@media (max-width: 767px) {
  .funa-toast {
    white-space: normal;
    text-align: left;
  }
}

/* ---------------- 全站居中卡片弹窗 funaToast(success) ---------------- */
.funa-dialog {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 28, 38, .38);
  opacity: 0;
  transition: opacity .26s ease;
}

.funa-dialog.is-show {
  opacity: 1;
}

.funa-dialog__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 260px;
  max-width: 90vw;
  padding: 36px 40px 32px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
  transform: translateY(14px) scale(.96);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.funa-dialog.is-show .funa-dialog__box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.funa-dialog__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.funa-dialog__box--success .funa-dialog__icon {
  color: #2fb9a8;
  background: rgba(47, 185, 168, .12);
}

.funa-dialog__box--error .funa-dialog__icon {
  color: #e64340;
  background: rgba(230, 67, 64, .10);
}

.funa-dialog__box--info .funa-dialog__icon {
  color: #403580;
  background: rgba(64, 53, 128, .10);
}

.funa-dialog__msg {
  margin: 0;
  color: #2b2f38;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #343741;
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: inline-block;
  max-width: 100%;
}

button {
  font: inherit;
}

.header {
  width: 100%;
  height: 90px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s ease;
}

.header.is-stuck {
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.header__inner {
  width: min(1600px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header__logo {
  width: 246px;
  flex: 0 0 246px;
  margin-top: -1px;
}

.header__logo img {
  width: auto;
  height: 76px;
  padding: 10px 0px;
}

.header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}

.header__nav-link {
  color: #494C53;
  font-size: 16px;
  font-size: clamp(15px, 1vw, 16px);
  font-weight: 400;
  line-height: 90px;
  transition: color .25s ease;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: #403586;
}

.header__nav-link.active {
  font-weight: bold;
}

.header__actions {
  margin-left: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__contact {
  height: 48px;
  min-width: 145px;
  padding: 0 20px 0 23px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  background: #73cacc;
  box-shadow: 0 8px 18px rgba(100, 197, 200, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.header__contact svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__contact:hover {
  transform: translateY(-2px);
  color: #fff;
}

.header__lang {
  width: 47px;
  height: 47px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #403586;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.header__lang:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(64, 53, 134, .28);
}

.header__lang svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__lang-wrap {
  position: relative;
}

.header__lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 148px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(46, 56, 72, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 30;
}

.header__lang-menu::before {
  content: "";
  position: absolute;
  right: 16px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -3px -3px 6px rgba(46, 56, 72, .06);
}

.header__lang-wrap.is-open .header__lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__lang-menu button {
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  display: block;
  text-align: left;
  color: #494C53;
  font-size: 15px;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.header__lang-menu button:hover {
  background: #f2f8f8;
  color: #403586;
}

.header__lang-menu button.is-active {
  color: #fff;
  background: #73cacc;
}

.header__menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  padding: 9px;
  border-radius: 50%;
  background: #72c9cc;
  cursor: pointer;
}

.header__menu span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
}

.home-products__more {
  width: 180px;
  height: 60px;
  margin: 60px auto 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 24px;
  color: #fff;
  background: #75C6C4;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 14px 24px rgba(98, 204, 205, .20);
}

.home-products__more span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  line-height: 1;
}

.home-products__more:hover {
  color: #fff;
}

.home-articles__more {
  width: 180px;
  height: 60px;
  margin: 40px auto 0;
  padding: 0 12px 0 31px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  background: #76cfd0;
  box-shadow: 0 10px 22px rgba(100, 197, 200, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-articles__more span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #72c9cc;
  background: #fff;
  font-size: 27px;
  line-height: 1;
}

.home-articles__more:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(100, 197, 200, .28);
}

.home-partners__more {
  width: 180px;
  height: 60px;
  margin: 40px auto 0;
  padding: 0 12px 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  background: #76cfd0;
  box-shadow: 0 10px 22px rgba(100, 197, 200, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-partners__more span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #72c9cc;
  background: #fff;
  font-size: 27px;
  line-height: 1;
}

.home-partners__more:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 15px 28px rgba(100, 197, 200, .28);
}

.home-contact {
  height: 620px;
  padding: 80px 0 0;
  overflow: hidden;
  background: url(../img/home-contactbg.svg) center center no-repeat;
  position: relative;
  background-size: cover;
  z-index: 10;
  scroll-margin-top: calc(var(--solutiondetail-sticky-top) + var(--solutiondetail-nav-height) + 24px);
}

.home-contact__inner {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
  text-align: center;
}

.home-contact__head {
  text-align: center;
}

.home-contact__title {
  margin: 0;
  color: #73CBC7;
  font-weight: 700;
  font-size: clamp(32px, 2.4vw, 36px);
  line-height: 1.2;
}

.home-contact__subtitle {
  margin: 10px 0 0;
  color: #494C53;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 600;
  line-height: 1.4;
}

.home-contact__form {
  margin-top: 32px;
}

.home-contact__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.home-contact__row:first-child {
  margin-top: 0;
}

.home-contact__field,
.home-contact__textarea {
  width: 100%;
  display: block;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.home-contact__field {
  height: 60px;
}

.home-contact__field input,
.home-contact__textarea textarea {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  appearance: none;
  color: #333333;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
}

.home-contact__field input {
  padding: 0 20px;
}

.home-contact__field input::placeholder,
.home-contact__textarea textarea::placeholder {
  color: rgba(51, 51, 51, .5);
  opacity: 1;
}

.home-contact__field:hover,
.home-contact__textarea:hover,
.home-contact__field:focus-within,
.home-contact__textarea:focus-within,
.home-contact__field--active {
  border: 1px solid #73CBC7;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.home-contact__field:focus-within,
.home-contact__textarea:focus-within {
  box-shadow: 0 0 0 3px rgba(115, 203, 199, .12);
}

.home-contact__field input:hover,
.home-contact__field input:focus,
.home-contact__textarea textarea:hover,
.home-contact__textarea textarea:focus {
  color: #333333;
}

.home-contact__field--code {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-contact__field--code input:first-child {
  width: 270px;
  flex: 0 0 270px;
  padding-right: 18px;
}

.home-contact__field--code span {
  width: 1px;
  height: 40px;
  background: #e3e3e6;
  flex: 0 0 1px;
}

.home-contact__field--code input:nth-of-type(2) {
  width: 130px;
  flex: 0 0 130px;
  padding: 0 14px;
}

.home-contact__field--code button {
  width: 100px;
  height: 40px;
  margin-right: 10px;
  border: 0;
  border-radius: 120px;
  color: #fff;
  background: #403580;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.home-contact__textarea {
  height: 120px;
  margin-top: 10px;
}

.home-contact__textarea textarea {
  padding: 21px 24px;
  resize: none;
  line-height: 1.5;
}

.home-contact__submit {
  width: 260px;
  height: 60px;
  margin: 20px auto 0;
  padding: 0 12px 0 32px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  background: #76cfd0;
  box-shadow: 0 10px 22px rgba(100, 197, 200, .16);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-contact__submit span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #72c9cc;
  background: #fff;
  font-size: 27px;
  line-height: 1;
}

.home-contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(100, 197, 200, .28);
}

.home-contact__field.is-error,
.home-contact__textarea.is-error {
  border-color: #e64340;
  box-shadow: 0 0 0 3px rgba(230, 67, 64, .12);
}

.home-contact__field--code button:disabled {
  background: #a7a2cf;
  cursor: not-allowed;
}

/* ---- 行内字段校验：错误文字 ---- */
.home-contact__field-wrap {
  text-align: left;
}

.home-contact__err {
  display: none;
  margin: 6px 2px 0;
  color: #e64340;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.home-contact__field-wrap.is-error .home-contact__err {
  display: block;
}

.home-contact__field-wrap.is-error .home-contact__field,
.home-contact__field-wrap.is-error .home-contact__textarea {
  border-color: #e64340;
  box-shadow: 0 0 0 3px rgba(230, 67, 64, .12);
}

.footer {
  min-height: 640px;
  color: #fff;
  background: #494C53;
}

.footer__inner {
  width: min(1600px, calc(100% - 64px));
  margin: 0 auto;
}

.footer__main {
  height: 550px;
  padding-top: 60px;
  display: flex;
  align-items: flex-start;
}

.footer__brand {
  width: 420px;
  flex: 0 0 420px;
}

.footer__logo {
  width: 164px;
  height: auto;
  object-fit: contain;
  margin-bottom: 40px;
}

.footer__contact-block {
  margin-top: 21px;
}

.footer__contact-block:first-of-type {
  margin-top: 0;
}

.footer__label {
  margin: 0 0 8px;
  color: #73CBC7;
  font-size: 14px;
  line-height: 1.2;
}

.footer__contact-block p:not(.footer__label) {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.footer__contact-block p:not(.footer__label):hover {
  text-decoration: underline;
}

.footer__phone,
.footer__email {
  line-height: 1.2 !important;
}

.footer__follow {
  position: relative;
  margin-top: 33px;
}

.footer__wechat {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transition: transform .25s ease;
}

.footer__wechat:hover {
  transform: translateY(-2px);
}

.footer__wechat img {
  width: 36px;
}

.footer__qr {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  width: 160px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.96);
  transform-origin: bottom left;
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  z-index: 40;
}

.footer__qr::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
}

.footer__follow.is-open .footer__qr,
.footer__follow:hover .footer__qr,
.footer__follow:focus-within .footer__qr {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.footer__qr img {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  object-fit: contain;
}

.footer__qr span {
  display: block;
  margin-top: 8px;
  color: #494C53;
  font-size: 13px;
  line-height: 1.4;
}

.footer__follow svg {
  width: 43px;
  height: 32px;
  margin-top: 8px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 100px;
  padding-top: 14px;
}

.footer__col h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.footer__col a {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, .45);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  transition: color .25s ease;
}

.footer__col a:hover {
  color: #73cfd0;
}

.footer__bottom {
  height: 100px;
  border-top: 1px solid rgba(255, 255, 255, .20);
}

.footer__bottom-inner {
  width: min(1600px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.footer__bottom p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.footer__bottom div {
  display: flex;
  gap: 64px;
}

.footer__bottom a {
  color: #fff;
  font-size: 16px;
}

@media (max-width: 1680px) {
  .header__nav {
    gap: 29px;
  }

  .header__actions {
    margin-left: 28px;
  }

  .footer__links {
    column-gap: 40px;
    padding-left: 50px;
  }
}

@media (max-width: 1480px) {

  .header__logo img {
    height: 64px;
    padding: 6px 0px;
  }

  .home-contact__title {
    font-size: 32px;
  }

  .home-contact__field input,
  .home-contact__textarea textarea {
    font-size: 15px;
  }

  .home-contact__field {
    height: 54px;
  }

  .home-contact__submit {
    width: 180px;
    height: 46px;
  }

  .home-contact__submit span {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .home-contact__field--code button {
    width: 90px;
    height: 40px;
    margin-right: 8px;
    font-size: 13px;
  }

  .footer__contact-block p:not(.footer__label) {
    font-size: 16px;
  }

  .footer__bottom p {
    font-size: 15px;
  }
}


@media (max-width: 1366px) {

  .header__inner,
  .footer__inner,
  .footer__bottom-inner {
    width: min(1180px, calc(100% - 48px));
  }

  .header__logo {
    width: 220px;
    flex-basis: 220px;
  }

  .header__logo img {}

  .header__nav {
    gap: 21px;
  }

  .header__nav-link {
    font-size: 14px;
  }

  .footer__main {
    height: auto;
    min-height: 550px;
  }

  .footer__links {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    row-gap: 36px;
  }

  .home-contact__field input,
  .home-contact__textarea textarea {
    font-size: 14px;
  }

  .home-contact__submit {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .home-contact {
    height: auto;
    padding: 70px 0;
  }

  .home-contact__inner {
    width: min(760px, calc(100% - 48px));
  }

  .home-contact__row {
    grid-template-columns: 1fr;
  }

  .home-contact__field--code input:first-child {
    width: 48%;
    flex-basis: 48%;
  }

  .home-contact__field--code input:nth-of-type(2) {
    flex: 1 1 auto;
  }
}

@media (max-width: 1024px) {
  .header__inner {
    width: calc(100% - 36px);
  }

  .header__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 90px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav-link {
    line-height: 48px;
    border-bottom: 1px solid #eef0f2;
    font-size: 15px;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__contact {
    display: none;
  }

  .header__menu {
    display: block;
  }

  .footer__main {
    flex-direction: column;
    gap: 48px;
    padding-bottom: 56px;
  }

  .footer__brand {
    width: 100%;
    flex-basis: auto;
  }

  .footer__links {
    width: 100%;
    padding-left: 0;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .header {
    height: 76px;
  }

  .header__logo {
    width: 180px;
    flex-basis: 180px;
  }

  .header__logo img {
    height: 56px;
  }

  .header__lang {
    width: 42px;
    height: 42px;
  }

  .header__nav {
    top: 76px;
  }

  .footer__inner,
  .footer__bottom-inner {
    width: calc(100% - 32px);
  }

  .home-contact {
    padding-left: 0;
    padding-right: 0;
  }

  .home-contact__inner {
    width: calc(100% - 32px);
  }

  .home-contact__title {
    font-size: 28px;
  }

  .home-contact__subtitle {
    font-size: 14px;
  }

  .home-contact__field--code {
    height: auto;
    padding: 8px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .home-contact__field--code input:first-child,
  .home-contact__field--code input:nth-of-type(2) {
    width: 100%;
    flex: 1 1 100%;
    height: 44px;
    padding: 0 14px;
  }

  .home-contact__field--code span {
    display: none;
  }

  .home-contact__field--code button {
    width: 100%;
    margin: 0;
  }

  .footer__main {
    padding-top: 54px;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    column-gap: 28px;
  }

  .footer__bottom {
    height: auto;
  }

  .footer__contact-block p:not(.footer__label) {
    font-size: 16px;
  }

  .footer__phone,
  .footer__email {
    font-size: 18px !important;
  }

  .footer__label img {
    width: 24px;
  }

  .footer__bottom-inner {
    min-height: 110px;
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer__bottom div {
    gap: 32px;
  }
}

.home-backtop {
  position: fixed;
  right: 32px;
  bottom: 80px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #73cacc;
  box-shadow: 0 10px 24px rgba(64, 53, 134, .24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s ease;
  z-index: 900;
}

.home-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-backtop:hover {
  background: #403586;
  transform: translateY(-3px);
}

.home-backtop svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .home-backtop {
    right: 18px;
    bottom: 24px;
    width: 46px;
    height: 46px;
  }
}

.home-products__more,
.home-articles__more,
.home-partners__more,
.home-contact__submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
}

.home-products__more::before,
.home-articles__more::before,
.home-partners__more::before,
.home-contact__submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: -1;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .6s cubic-bezier(.22, .61, .36, 1);
}

.home-products__more:hover::before,
.home-articles__more:hover::before,
.home-partners__more:hover::before,
.home-contact__submit:hover::before {
  left: 130%;
}

.home-products__more span,
.home-articles__more span,
.home-partners__more span,
.home-contact__submit span {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background .3s ease;
}

.home-products__more:hover span,
.home-articles__more:hover span,
.home-partners__more:hover span,
.home-contact__submit:hover span {
  transform: translateX(6px) scale(1.08);
}

.home-products__more span svg,
.home-articles__more span svg,
.home-partners__more span svg,
.home-contact__submit span svg {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.home-products__more:hover span svg,
.home-articles__more:hover span svg,
.home-partners__more:hover span svg,
.home-contact__submit:hover span svg {
  transform: translateX(2px);
}

.home-products__more:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(98, 204, 205, .30);
}

@media (prefers-reduced-motion: reduce) {

  .home-products__more::before,
  .home-articles__more::before,
  .home-partners__more::before,
  .home-contact__submit::before {
    display: none;
  }
}

/* ============================== Header 二级下拉菜单 ============================== */
.header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* 带二级菜单的一级链接：右侧箭头指示 */
.header__nav-link--has-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.header__nav-link--has-sub::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

/* 二级菜单浮层（桌面端） */
.header__submenu {
  position: absolute;
  left: 50%;
  top: 76px;
  min-width: 168px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(46, 56, 72, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 30;
}

.header__submenu::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: -3px -3px 6px rgba(46, 56, 72, .06);
}

/* hover / focus-within 展开（桌面端） */
.header__nav-item--has-sub:hover .header__submenu,
.header__nav-item--has-sub:focus-within .header__submenu,
.header__nav-item.is-open .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header__nav-item--has-sub:hover .header__nav-link--has-sub::after,
.header__nav-item--has-sub:focus-within .header__nav-link--has-sub::after,
.header__nav-item.is-open .header__nav-link--has-sub::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.header__submenu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: #494C53;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.header__submenu a:hover {
  background: #f2f8f8;
  color: #403586;
}

/* ------- 移动端(≤1024px)：二级菜单转为手风琴内联展开 ------- */
@media (max-width: 1024px) {
  .header__nav-item {
    display: block;
    width: 100%;
  }

  .header__nav-item .header__nav-link--has-sub {
    justify-content: space-between;
    line-height: 48px;
    border-bottom: 1px solid #eef0f2;
    font-size: 15px;
    width: 100%;
  }


  .header__nav-item--has-sub:hover .header__submenu,
  .header__nav-item--has-sub:focus-within .header__submenu,
  .header__nav-item.is-open .header__submenu {
    transform: translate(0%, 0);
  }

  .header__submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #f8fbfb;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .header__submenu::before {
    display: none;
  }

  .header__nav-item.is-open .header__submenu {
    max-height: 320px;
  }

  .header__submenu a {
    padding: 12px 16px 12px 28px;
    border-bottom: 1px solid #eef0f2;
    border-radius: 0;
    font-size: 14px;
  }

}