@charset "utf-8";
/**
 * Site-wide responsive overrides (loads after basic.css / index.css / inner.css).
 * Uses max-width + horizontal padding instead of fixed 1200px shells.
 */

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

/* 桌面端隐藏移动端菜单按钮 */
.nav-toggle {
  display: none;
}

/* --- Fluid layout shells (desktop-first) --- */
@media screen and (max-width: 1279px) {
  .top_con,
  .head,
  .footer_con,
  .bottom_con,
  .page,
  .general_con,
  .case,
  .item_list,
  .case_detail,
  .case_detail_info,
  .service_project,
  .service_scope_sub_con,
  .service_cooperation_con,
  .service_scope_con,
  .mobile_ul,
  .mobile_net_class01,
  .mobile_APP,
  .solution_li_con,
  .solution_li2_con,
  .solution_content,
  .solution_detail_con,
  .solution_detail_class,
  .solutions_content,
  .news_con,
  .news_class,
  .news_01,
  .contact_type,
  .contact_arrive,
  .certificate_ul,
  .box_parent,
  .design_box,
  .design,
  .service_bg,
  .service,
  .cases,
  .news,
  .partners {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .contact_type_ul {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .zxbody {
    width: 100%;
    max-width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

/* --- Inner pages: two-column / wide blocks --- */
@media screen and (max-width: 991px) {
  .case_detail_color {
    float: none;
    width: 100%;
  }

  .case_detail_le,
  .case_detail_ri {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .case_detail_le div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .general_con_c_le,
  .general_con_c_ri,
  .general_con_c_le2,
  .general_con_c_ri2 {
    width: 100%;
    max-width: 600px;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .news_left,
  .news_right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .news_con_left {
    border-right: none;
    padding-right: 0;
  }

  .news_con_right {
    padding-left: 0;
  }

  .news_con_01 dl {
    width: 100%;
    max-width: 100%;
    float: none;
  }

  .mobile_net_class_le,
  .mobile_net_class_ri,
  .mobile_APP_le,
  .mobile_APP_ri {
    width: 100%;
    max-width: 600px;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile_net_class_le img,
  .mobile_APP_ri img {
    padding-left: 0;
    max-width: 100%;
    height: auto;
  }

  .mobile_ul ul li {
    float: none;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
  }

  .solution_img,
  .solution_con {
    width: 100%;
    max-width: 600px;
  }

  .service_scope_sub_con_en2 {
    width: 100%;
    max-width: 980px;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .contact_arrive_left,
  .contact_arrive_right {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    box-sizing: border-box;
  }

  .contact_table textarea {
    width: 100%;
    max-width: 420px;
    box-sizing: border-box;
  }

  .contact_table input {
    max-width: 100%;
    box-sizing: border-box;
  }

  .certificate_ul {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .certificate_ul ul li {
    float: none;
    display: inline-block;
    vertical-align: top;
    margin: 8px;
  }
}

/* --- Header: 移动端汉堡菜单 + 纵向导航 --- */
@media screen and (max-width: 900px) {
  #siteHeader .head_bg {
    position: relative;
    z-index: 10050;
  }

  #siteHeader .head {
    height: auto;
    min-height: 56px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #siteHeader .head .logo.fl,
  #siteHeader .head .menu.fr {
    float: none;
  }

  #siteHeader .head .logo {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 4px;
  }

  #siteHeader .head .logo h1 {
    line-height: 0;
  }

  #siteHeader .head .logo img {
    margin-bottom: 0 !important;
    max-height: 48px;
    width: auto;
    max-width: min(160px, 52vw);
    vertical-align: middle;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle:focus {
    outline: 2px solid #4bcdd9;
    outline-offset: 2px;
  }

  .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  #siteHeader.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #siteHeader.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  #siteHeader.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #siteHeader .menu {
    flex: 1 1 100%;
    width: 100%;
    line-height: normal;
    padding: 0;
  }

  #siteHeader .menu nav .clear {
    display: none;
  }

  #siteHeader .menu nav ul {
    display: none;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 8px 0 12px;
    margin: 0;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  #siteHeader.nav-open .menu nav ul {
    display: flex;
  }

  #siteHeader .menu ul li {
    float: none;
    width: 100%;
    max-width: none;
    flex: none;
    text-align: left;
  }

  #siteHeader .menu ul li a {
    display: block;
    padding: 12px 14px;
    line-height: 1.45;
    background: none !important;
    border-radius: 4px;
  }

  #siteHeader .menu ul li a:hover,
  #siteHeader .menu ul li a.a1 {
    background-color: #4bcdd9 !important;
    background-image: none !important;
    color: #fff !important;
  }

  .index_header {
    height: auto;
    min-height: 0;
  }

  .service_bg {
    height: auto;
    min-height: 0;
  }

  .service {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 24px 12px 32px;
    box-sizing: border-box;
  }

  .service dl {
    float: none;
    margin-right: 0;
    margin-bottom: 0;
  }

  .service01,
  .service02,
  .service03 {
    margin-right: 0;
  }

  .dierge {
    height: auto;
    min-height: 180px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .dierge .swiper-slide img {
    height: auto;
    max-height: 52vw;
    min-height: 160px;
    object-fit: cover;
  }

  .partners_table ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }

  .partners_table li {
    float: none;
  }

  .item_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
  }

  .item,
  .item_hover {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .case_class ul {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .case_class ul li {
    float: none;
    margin-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .top_con {
    text-align: center;
    height: auto;
    line-height: normal;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
  }

  .top_con .weixin,
  .top_con .tel,
  .top_con .mail,
  .top_con .renshu {
    float: none;
    display: inline-flex;
    align-items: center;
  }

  .footer_dl {
    height: auto;
  }

  .footer_dl dl {
    float: none;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .footer_dl dl.footer_dl2 {
    width: 100%;
    max-width: 100%;
  }

  .footer_dl > div {
    float: none;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .gwlist {
    flex-direction: column;
    align-items: stretch;
  }

  .gwlist > div {
    width: 100%;
    max-width: 100%;
  }

  .newsimg {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .contact_banner {
    width: 100%;
    max-width: 100%;
    height: min(420px, 65vw);
    background-size: cover;
    box-sizing: border-box;
  }

  .contact_type_ul ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact_type_ul ul li {
    float: none;
    margin: 12px 0;
  }

  .contact_type_tel {
    margin-left: 0;
    margin-right: 0;
  }

  .about_banner,
  .case_banner,
  .service_banner,
  .mobile_banner,
  .solution_banner,
  .news_banner {
    background-size: cover;
    background-position: center top;
    min-height: 200px;
    height: min(350px, 42vw);
  }
}

@media screen and (max-width: 480px) {
  .title_ch,
  a.title_ch,
  .title_en {
    font-size: clamp(16px, 4.5vw, 20px);
  }
}
