@media screen and (max-width:768px) {
  :root {
    --head: 60px;
  }

  .head1 {
    padding: 0 20px;
  }

  .head1 .logo {
    width: 100px;
  }

  .head1 .menu {
    gap: 0;
  }

  .navbar-toggle span {
    background-color: #333;
  }

  .head1 .menu {
    position: fixed;
    left: 0;
    top: -120vh;
    width: 100%;
    height: calc(100vh - var(--head));
    background: #fff;
    display: block;
    opacity: 0;
    overflow: auto;
    transition: top ease .3s, opacity ease .3s;
    z-index: 50;
    color: #333;
    pointer-events: none;
  }

  header.open .head1 .menu,
  header.open .menu {
    top: var(--head) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .head1 .link {
    width: 100%;
    margin-left: 0;
    height: auto; /* 覆盖桌面 height:100%，否则每项被撑成整屏高 */
    display: block;
  }

  .head1 .link>a {
    display: block;
    border-bottom: 1px solid #ddd;
    line-height: 50px;
    color: #333;
  }

  .head1 .link a {
    padding: 0 20px;
  }

  .head1 .link.has-down > a {
    padding-right: 52px;
  }

  .head1 .link::after {
    display: none;
    width: 52px;
    height: 10px;
    left: 50%;
    top: 100%;
    margin-top: 14px;
    transform: translate(-50%, -50%) scale(0);
  }

  .head1 .link:hover::after,
  .head1 .link.on::after {
    transform: translate(-50%, 0) scale(1);
  }

  .head1 .down {
    min-width: 80px;
    overflow: hidden;
    padding: 0;
  }

  .head1 .link .down {
    left: 50%;
    top: 100%;
    margin-top: 0;
    transform: translate(0, 0);
    min-width: 160px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: static;
    opacity: 1;
    visibility: visible;
    width: 100%;
    pointer-events: auto;
    border-bottom: 1px solid #ddd;
    display: none;
  }

  /* 仅 open-sub 展开；不要用 .on（.on 是当前页高亮） */
  .head1 .link.open-sub > .down {
    display: block;
  }

  /* 关掉桌面 hover 下拉，避免手机点按后浮层“弹出去” */
  .head1 .link.has-down:hover > .down {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: static;
    transform: none;
    left: auto;
    top: auto;
  }

  .head1 .link .down-inner {
    min-width: 0;
    padding: 0;
    box-shadow: none;
  }

  .head1 .link .down::before {
    display: none;
  }

  .head1 .link .down a {
    padding: 10px 30px;
    text-align: left;
    font-size: 14px;
    color: #666;
  }

  .head1 .link .down a:not(:last-child) {
    border-bottom: none;
  }

  /* 三级菜单：取消桌面侧滑绝对定位 */
  .head1 .link .down-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
  }

  .head1 .link .down-sub a {
    padding: 8px 40px;
    font-size: 13px;
    color: #999;
  }

  .head1 .link .down-jt {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    background: url('../../img/icon-jia.svg') no-repeat center/15px;
  }

  .head1 .link.open-sub .down-jt {
    background: url('../../img/icon-jian.svg') no-repeat center/15px;
  }

  .C-wrap,
  .co-w {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .co-w {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .foot1 {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 40px;
  }

  .foot1-zuo,
  .foot1-col,
  .foot1-col-contact {
    width: 100%;
  }

  .foot1-zuo .logo {
    width: 140px;
    height: auto;
    min-height: 50px;
    margin-bottom: 20px;
  }

  .foot1-desc {
    width: 100%;
    margin-bottom: 20px;
  }

  .foot1-social {
    gap: 20px;
    flex-wrap: wrap;
  }

  .foot1-social .icon-wechat {
    width: 16px;
    height: 14px;
  }

  .foot1-social .icon-douyin {
    width: 20px;
    height: 20px;
  }

  .foot1-social .icon-xhs {
    width: 35px;
    height: 12px;
  }

  .foot1-social .icon-weibo {
    width: 20px;
    height: 20px;
  }

  .foot1-social .icon-bilibili {
    width: 34px;
    height: 34px;
  }

  .foot1-tit {
    margin-bottom: 15px;
  }

  .foot1-line {
    height: 1px;
    margin-bottom: 15px;
  }

  .foot1-links {
    gap: 12px;
  }

  .foot2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 15px;
    border-top-width: 1px;
  }

  .foot2-zuo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .foot2-you {
    gap: 20px;
  }

  .home1 {
    height: 500px;
  }

  .home1-txt {
    left: 20px;
    bottom: 80px;
    width: calc(100% - 40px);
  }

  .home1-tit {
    margin-bottom: 12px;
  }

  .home1-dots {
    left: 20px;
    right: 20px;
    transform: none;
    bottom: 40px;
    gap: 8px;
    width: auto;
  }

  .home1-dot {
    flex: 1;
    width: auto;
    height: 2px;
  }

  .home2 {
    padding: 50px 0 40px;
  }

  .home2-head {
    padding: 0 20px;
  }

  .home2-tit {
    margin-bottom: 30px;
  }

  .home2-swiper .swiper {
    margin-left: 0;
    padding-left: 15px;
  }

  .home2-swiper .swiper-slide {
    width: 280px;
    height: 360px;
  }

  .home2-card {
    padding: 20px;
  }

  .home2-card-txt {
    max-width: 100%;
  }

  .home2-card-tit,
  .home2-card-desc {
    margin-bottom: 12px;
  }

  .home2-ctrl {
    margin-top: 20px;
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .home2-progress {
    width: 100%;
    max-width: 200px;
    gap: 8px;
  }

  .home2-progress-item {
    height: 2px;
  }

  .home2-btns {
    gap: 12px;
  }

  .home2-prev,
  .home2-next {
    padding: 8px 16px;
    border-width: 1px;
  }

  .home3 {
    padding: 50px 20px;
  }

  .home3-inner {
    flex-direction: column;
    gap: 30px;
  }

  .home3-zuo,
  .home3-shape,
  .home3-you {
    width: 100%;
  }

  .home3-shape {
    height: auto;
    min-height: 100px;
    position: absolute;
  }

  .home3-txt {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 20px;
  }

  .home3-tit,
  .home3-desc {
    margin-bottom: 15px;
  }

  .home3-you {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .home3-pic {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 220px;
    border-radius: 12px;
  }

  .home3-pic1,
  .home3-pic2 {
    left: auto;
    top: auto;
  }

  .home4 {
    height: auto;
    min-height: 480px;
  }

  .home4-card {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: calc(100% - 40px);
    margin: 50px 20px 0;
    padding: 30px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }

  .home4-card-tit {
    margin-bottom: 15px;
  }

  .home4-tabs {
    position: relative;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column;
    gap: 20px;
    padding: 30px 20px 40px;
  }

  .home4-tab-tit {
    margin-bottom: 12px;
  }

  .home4-tab-line {
    height: 2px;
    max-width: 100%;
  }

  .home5 {
    margin-top: 50px;
    height: auto;
    min-height: 260px;
  }

  .home5-inner {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 70px 20px;
    gap: 20px;
  }

  .home5-tit {
    text-align: center;
  }

  .home-btn {
    gap: 8px;
    padding: 8px 16px;
    border-width: 1px;
  }

  .home-btn__arrow {
    width: 24px;
    height: 17px;
  }
}
