/* ========== 林立汽车 · 全站响应式 ========== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
}
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}
table {
  max-width: 100%;
}

/* 内容容器：桌面保持 1400，窄屏流体 */
.w1200,
.w1200l,
.w12003,
.box,
.maxe > .box {
  width: 100% !important;
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.max,
.maxe {
  min-width: 0 !important;
  width: 100%;
  overflow: visible;
}

/* Logo 可点击 */
.indextb .indexLeft {
  display: block;
  text-decoration: none;
  color: inherit;
}
.indextb::after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* 桌面下拉：单列竖排 */
@media (min-width: 993px) {
  .indexRight > ul > li {
    position: relative;
  }
  .indexRight > ul.pc-nav > li.has-sub:hover > .menuNext {
    display: flex !important;
    flex-direction: column;
  }
  .indexRight > ul.pc-nav > li > .menuNext {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 148px;
    width: max-content;
    z-index: 1200;
  }
  .indexRight > ul.pc-nav > li > .menuNext > li {
    float: none !important;
    display: block !important;
    width: 100% !important;
  }
}

/* 汉堡按钮（桌面隐藏） */
.sp_nav {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1200;
  box-sizing: border-box;
}
.sp_nav span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: #1287bd;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.sp_nav.sp_nav_se span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.sp_nav.sp_nav_se span:nth-child(2) {
  opacity: 0;
}
.sp_nav.sp_nav_se span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.llqc-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1090;
}
.llqc-nav-mask.is-open {
  display: block;
}

/* 首页关于我们 */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr .75fr;
  gap: 12px;
  align-items: stretch;
  padding-bottom: 40px;
}
.home-about-pic img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
}
.home-about-text {
  border: 1px solid #e2e2e2;
}
.home-about-text-inner {
  padding: 24px 28px;
}
.home-about-text-inner > img {
  display: block;
  margin-bottom: 12px;
  max-width: 100%;
}
.home-about-text-inner p {
  line-height: 1.8;
  color: #333;
  font-size: 14px;
}
.home-about-more {
  text-align: right !important;
  padding-top: 10px;
}
.home-about-more .moreab {
  display: inline-block;
  margin: 10px 0 0;
}
.home-about-form {
  border: 1px solid #e2e2e2;
  border-left: 0;
}
.home-about-form .box24 {
  width: 100% !important;
  border-left: 0 !important;
  box-sizing: border-box;
}
.home-about-form .box24 .box24cn1 input {
  width: calc(100% - 70px);
  max-width: 220px;
  box-sizing: border-box;
}

/* 优势图：跟随桌面纵向全宽布局 */
.llqc-adv-list {
  gap: 16px;
}
.llqc-adv-item {
  border-radius: 6px;
}

/* 新闻区默认排版 */
.floor_5 .clearfix {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.floor_5 .imglistbox,
.floor_5 .txtlistbox {
  float: none !important;
}
.floor_5 .imglistbox {
  flex: 1 1 320px;
  max-width: 480px;
}
.floor_5 .txtlistbox {
  flex: 1 1 360px;
}
.floor_5 .imglistbox .list li img,
.floor_5 .imglistbox img {
  width: 100%;
  height: auto;
  display: block;
}

/* 案例卡片 */
.floor_4 .textlist .item,
.floor_4 .textlist .item .img {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
}
.floor_4 .textlist .item {
  float: none !important;
  margin-right: 0 !important;
}
.floor_4 .textlist .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.floor_4 .textlist .item .img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.floor_4 .textlist .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 产品详情壳 */
.menuNextTpSub {
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
}
.cpxqMenuSub {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
  padding: 0 12px;
}

/* ---------- ≤1280：导航再收 ---------- */
@media (max-width: 1280px) {
  .indextb .indexLeft {
    width: 180px !important;
  }
  .indexRight > ul.pc-nav > li > a,
  .xrcd a {
    padding: 8px 8px !important;
    font-size: 13px;
  }
  .indexRight > ul.pc-nav > li.nav-phone {
    display: none !important;
  }
  .index_pro .pro_list li {
    width: 33.333% !important;
  }
  .index_pro .pro-row .left .pro_list li,
  .index_pro .pro-row .right .pro_list li {
    width: 50% !important;
  }
  .home-about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-about-form {
    grid-column: 1 / -1;
    border-top: 1px solid #e6e6e6;
  }
  .home-about-form .box24 {
    max-width: 420px;
    margin: 0 auto;
  }
  .home-case-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .home-adv-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #banner_main .banner,
  #banner,
  .banner ul {
    height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  #banner .tip {
    width: 100% !important;
    max-width: 100%;
    left: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  .banner li img {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    position: static !important;
  }
  .banner li {
    position: relative !important;
  }
}

/* ---------- ≤992：手机导航 ---------- */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .indextb {
    height: 64px;
    width: 100% !important;
    max-width: 100vw;
  }
  #banner .tip,
  #banner_main .tip {
    width: auto !important;
    max-width: 90%;
    left: 50% !important;
    transform: translateX(-50%);
    margin-left: 0 !important;
  }
  .indextb {
    height: 64px !important;
    padding: 0 !important;
  }
  .indextb-inner {
    height: 64px;
    padding: 0 12px;
  }
  .indextb .indexLeft {
    width: auto !important;
    max-width: 70% !important;
    flex: 1 1 auto !important;
    height: 52px !important;
    line-height: 52px !important;
    background-size: auto 40px !important;
    background-position: left center !important;
  }
  .indextb .indexRight {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .sp_nav {
    display: block;
    position: static;
    transform: none;
  }
  .indexRight > ul.pc-nav {
    display: none !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: #fff;
    z-index: 1150;
    margin: 0;
    padding: 8px 0 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }
  .indexRight > ul.pc-nav.is-open {
    display: flex !important;
  }
  .indexRight > ul.pc-nav > li {
    float: none;
    height: auto;
    line-height: 1.4;
    margin: 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    flex: none !important;
    text-align: left;
  }
  .indexRight > ul.pc-nav > li > a,
  .indexRight > ul.pc-nav > li.xrcd > a,
  .xrcd a {
    display: block;
    margin: 0 !important;
    padding: 14px 20px !important;
    height: auto !important;
    line-height: 1.4 !important;
    border-radius: 0;
    background: transparent;
    color: #222;
    white-space: normal;
  }
  .indexRight > ul.pc-nav > li.xrcd > a,
  .indexRight > ul.pc-nav > li > a:hover {
    background: #1287bd;
    color: #fff;
  }
  .indexRight > ul.pc-nav .menuNext {
    display: none;
    margin: 0;
    position: static;
  }
  .indexRight > ul.pc-nav > li.has-sub.is-open > .menuNext {
    display: block;
  }
  .indexRight > ul.pc-nav .menuNext li {
    height: auto;
    line-height: 1.4;
    background: #f5f7f9;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
  }
  .indexRight > ul.pc-nav .menuNext li a {
    padding: 12px 20px 12px 36px;
    color: #444;
  }
  .indexRight > ul.pc-nav .nav-phone {
    display: block !important;
    padding: 16px 20px;
    font-size: 16px;
    color: #1287bd;
    margin-left: 0 !important;
    border-left: 0 !important;
  }
  .indexRight > ul.pc-nav .nav-phone img {
    vertical-align: middle;
    margin-right: 6px;
  }

  #banner_main {
    margin-top: 64px;
  }
  .aboutBanner {
    margin-top: 64px;
  }
  .aboutBanner .bannerP1 {
    font-size: 24px;
  }
  .aboutBanner .bannerP2 {
    font-size: 14px;
  }

  .index_pro .pro_list li,
  .index_pro .left .pro_list li,
  .index_pro .right .pro_list li,
  .index_pro .pro-row .left .pro_list li,
  .index_pro .pro-row .right .pro_list li {
    width: 50% !important;
    padding: 6px !important;
  }
  .index_pro .pro-row {
    flex-direction: column;
    gap: 0;
  }
  .index_pro .pro-row .left,
  .index_pro .pro-row .right,
  .index_pro .left,
  .index_pro .right {
    float: none !important;
    width: 100% !important;
  }
  .index_pro .lmt strong,
  .index_pro .lmt strong font {
    font-size: 20px !important;
    line-height: 1.4;
  }
  .index_pro .lmt p {
    font-size: 14px;
    padding: 0 8px;
  }

  .home-news-grid {
    flex-direction: column !important;
  }
  .home-news-grid .newsBox,
  .home-news-grid .newsBox.fl {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-height: 0;
  }
  .home-news-grid .txtlistbox {
    width: 100% !important;
  }
  .home-case-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .home-adv-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .xunpan .llqc-xunpan,
  .xunpan .w1200.llqc-xunpan {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 18px;
    padding: 24px 16px;
  }
  .xunpan .llqc-xunpan__actions,
  .xunpan .zixun {
    width: 100% !important;
    max-width: 280px;
  }
  .floor_4 .textlist .list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer_main .botnavlist {
    float: none !important;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
  }
  .footer_main .botnavlist li {
    float: none;
    width: auto;
    padding: 0;
  }
  .footer_main .btel .p2 {
    font-size: 26px;
  }

  .location .w1200 {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .location .sitepath,
  .location .menu {
    float: none !important;
  }
  .location .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
  }
  .location .menu li {
    list-style: none;
  }

  .menuNextTp {
    height: auto !important;
    margin-top: 64px;
    overflow: visible !important;
  }
  .menuNextTpSub {
    width: 100% !important;
    height: auto !important;
    padding: 20px 16px 30px;
  }
  .menuNextTpSubLeft,
  .menuNextTpSubRight {
    float: none !important;
    width: 100% !important;
    margin-top: 16px !important;
    height: auto !important;
  }
  .menuNextTpSubLeft .swiper-slide {
    height: auto !important;
  }
  .menuNextTpSubRightThree {
    height: auto !important;
  }
  .cpxqMenuSubLeft,
  .cpxqMenuSubRight {
    float: none !important;
    width: 100% !important;
  }

  .page-product .dh ul li {
    flex: 1 1 30%;
    max-width: none;
  }
  .page-product .jstd .jstdSub,
  .page-product .xgalSub,
  .page-product .cpsj,
  .page-product .dh ul {
    padding-left: 12px;
    padding-right: 12px;
  }
  .page-product .jstd table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .page-product .xgal .index_pro .pro_list li {
    width: 50% !important;
  }
  .footer_main .footer {
    padding: 28px 16px !important;
  }
  .footer_main .botnavlist {
    gap: 16px 20px;
  }
  .footer_main .qcode {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .showNews .title {
    font-size: 22px;
    line-height: 1.4;
  }
  .wrapper {
    padding: 30px 0;
  }
}

/* ---------- ≤768 ---------- */
@media (max-width: 768px) {
  .home-about-grid {
    grid-template-columns: 1fr;
  }
  .home-about-form {
    border-left: 1px solid #e2e2e2;
  }
  .home-about-pic img {
    max-height: 260px;
  }
  .home-about-text-inner {
    padding: 16px;
  }
  .moreab {
    width: 100%;
    max-width: 220px;
    margin: 16px auto 0;
  }

  .index .title h3,
  .floor_3 .title h3,
  .floor_4 .title h3,
  .floor_5 .title h3 {
    font-size: 22px;
  }

  .floor_3_main .imglist img {
    flex: 1 1 45%;
  }

  .floor_5 .clearfix {
    flex-direction: column;
  }
  .floor_5 .imglistbox,
  .floor_5 .txtlistbox,
  .floor_5 .imglistbox.fl,
  .floor_5 .txtlistbox.fr {
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }
  .txtlistbox .item .time {
    width: 56px;
  }

  .floor_4 .textlist .list {
    grid-template-columns: 1fr;
  }

  .footer_main .botnavlist {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_main .qcode .btel,
  .footer_main .qcode .ewm {
    float: none !important;
    display: block;
    margin: 0 auto 12px;
  }
  .footer_main .btel {
    width: 100%;
    text-align: center;
  }
  .copymain {
    padding: 12px 16px;
    line-height: 1.7;
  }

  .index_pro .title strong {
    font-size: 15px;
    padding: 0 12px;
  }
  .swiper-slideThree .ThreeLeft p {
    font-size: 13px;
    line-height: 1.3;
  }

  .bannerP {
    top: 40%;
  }
  .bannerP1 {
    font-size: 20px !important;
    margin-bottom: 8px;
  }
  .bannerP2 {
    font-size: 12px !important;
  }

  /* 正文表格横向滚动 */
  .showContxt,
  .content,
  .menuNextTp {
    overflow-x: auto;
  }
  .showContxt table,
  .content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------- ≤480 ---------- */
@media (max-width: 480px) {
  .indextb {
    height: 56px;
  }
  .indextb .indexLeft {
    height: 56px;
    background-size: auto 36px;
  }
  .indexRight > ul.pc-nav {
    top: 56px;
    max-height: calc(100vh - 56px);
  }
  #banner_main,
  .aboutBanner,
  .menuNextTp {
    margin-top: 56px !important;
  }

  .index_pro .pro_list li,
  .index_pro .left .pro_list li,
  .index_pro .right .pro_list li,
  .index_pro .pro-row .left .pro_list li,
  .index_pro .pro-row .right .pro_list li {
    width: 100% !important;
    padding: 8px 0 !important;
  }

  .home-case-grid {
    grid-template-columns: 1fr !important;
  }
  .home-adv-list {
    grid-template-columns: 1fr !important;
  }
  .floor_3_main .imglist img {
    flex: 1 1 100%;
  }

  .footer_main .botnavlist {
    grid-template-columns: 1fr 1fr;
  }

  .box24 .box24cn1 {
    text-align: left;
    padding: 0 12px;
  }
  .box24 .box24cn1 span {
    display: inline-block;
    min-width: 48px;
  }
  .box24 .box24cn1 input {
    width: calc(100% - 60px) !important;
    max-width: none;
  }
  .pages a,
  .pages span {
    padding: 4px 8px;
    margin: 3px 2px;
    font-size: 13px;
  }
}

/* 防止 AOS 在窄屏造成横向溢出 */
[aos],
[data-aos] {
  max-width: 100%;
}
body.llqc-nav-lock {
  overflow: hidden;
}
