@charset "utf-8";
/* =========================================================
   responsive.css —— 自适应断点
   1440 / 1200 / 1100 / 992 / 768 / 560 / 400
   ========================================================= */

/* ---------------- 锚点偏移（吸顶导航高度） ---------------- */
#about,
#product,
#news,
#case,
#cases,
#footer {
  scroll-margin-top: 62px;
}

/* ---------------- ≤1440 ---------------- */
@media screen and (max-width: 1440px) {
  .sec-about {
    padding: 74px 0;
  }
}

/* ---------------- ≤1200 ---------------- */
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }

  .header-inner {
    height: 92px;
  }

  .logo img {
    height: 66px;
  }

  .hotline-text strong {
    font-size: 24px;
  }

  .about-inner {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .about-desc {
    -webkit-line-clamp: 8;
  }

  .prod-grid {
    grid-gap: 16px;
  }

  .news-body {
    grid-gap: 28px;
  }

  .ft-nav ul {
    padding-right: 10px;
  }
}

/* ---------------- ≤1100：产品 3 列 ---------------- */
@media screen and (max-width: 1100px) {
  .prod-cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-grid {
    grid-gap: 16px;
  }

  .about-pic {
    width: 50%;
  }

  .about-text {
    width: 44%;
  }

  .about-title p {
    font-size: 34px;
  }
}

/* ---------------- ≤992：导航折叠、主体单列 ---------------- */
@media screen and (max-width: 992px) {
  .header-inner {
    height: 78px;
  }

  .logo img {
    height: 58px;
  }

  .hotline-text em {
    font-size: 13px;
  }

  .hotline-text strong {
    font-size: 20px;
  }

  .hotline-icon {
    display: none;
  }

  /* 汉堡按钮 */
  .nav-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  /* 折叠导航 */
  .nav-list {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-list.open {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .nav-list li {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-list li:first-child {
    border-top: 0;
  }

  .nav-list a {
    height: 50px;
    line-height: 50px;
    text-align: left;
    padding-left: 26px;
    font-size: 15px;
  }

  .nav-list li.active a {
    background: transparent;
    color: #ffd85e;
  }

  /* 幻灯片 */
  .banner-slide img {
    aspect-ratio: 16 / 9;
  }

  /* 关于我们 */
  .sec-about {
    padding: 56px 0;
  }

  .about-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .about-text,
  .about-pic {
    width: 100%;
  }

  .about-title {
    display: inline-block;
  }

  .about-name {
    margin: 26px 0 16px;
    font-size: 21px;
  }

  .about-desc {
    -webkit-line-clamp: 20;
  }

  .about-pic {
    margin: 32px 0 0;
  }

  /* 产品 */
  .sec-product {
    padding: 56px 0;
  }

  .sec-title h3 {
    font-size: 26px;
  }

  /* 新闻 */
  .sec-news {
    padding: 56px 0;
  }

  .news-body {
    grid-template-columns: 1fr;
    grid-gap: 22px;
  }

  .news-slider {
    min-height: 0;
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .news-head-title h2 {
    font-size: 26px;
  }

  .news-head-more {
    width: 150px;
    height: 46px;
    font-size: 15px;
    padding-left: 22px;
  }

  .news-head-more::after {
    width: 46px;
    height: 46px;
    line-height: 46px;
  }

  .news-list li {
    height: 110px;
  }

  /* 案例 */
  .sec-case {
    padding: 56px 0 64px;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-title h4 {
    font-size: 26px;
    width: 150px;
  }

  /* 尾部 */
  .foot-inner {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 46px;
    padding-bottom: 36px;
  }

  .ft-nav,
  .ft-contact {
    width: 50%;
  }

  .ft-contact {
    padding-left: 0;
  }

  .ft-qr {
    width: 100%;
    margin: 30px 0 0;
    text-align: left;
  }

  .ft-qr img {
    margin: 0;
  }

  .ft-qr p {
    text-align: left;
  }
}

/* ---------------- ≤768 ---------------- */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    height: 68px;
  }

  .logo img {
    height: 48px;
  }

  /* 手机版不显示电话热线，汉堡按钮靠右 */
  .hotline {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .prod-cats {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
  }

  .prod-cats li a {
    line-height: 44px;
    font-size: 14px;
  }

  .prod-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
  }

  .prod-item {
    padding-bottom: 14px;
  }

  .prod-item > p {
    line-height: 44px;
    font-size: 14px;
  }

  .prod-btn {
    width: 116px;
    line-height: 30px;
  }

  .prod-btn a {
    font-size: 13px;
  }

  .sec-title h3 {
    font-size: 23px;
  }

  .sec-title p {
    font-size: 13px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-title h4 {
    font-size: 23px;
    line-height: 36px;
    margin-top: -18px;
  }

  .case-title .en {
    font-size: 15px;
    line-height: 30px;
    margin-top: 10px;
  }

  .case-more {
    width: 200px;
    height: 46px;
    margin-top: 34px;
  }

  .news-slide-txt {
    height: 58px;
    padding: 0 18px;
  }

  .news-slide-txt p {
    font-size: 15px;
  }

  .news-slide-txt em {
    margin-left: 14px;
    font-size: 13px;
  }

  .news-list li {
    height: 100px;
    margin-bottom: 10px;
  }

  .news-list a {
    padding: 12px 16px;
  }

  .news-date {
    -ms-flex: 0 0 96px;
    flex: 0 0 96px;
  }

  .news-date .y {
    font-size: 18px;
  }

  .news-date .md {
    font-size: 15px;
  }

  .news-txt {
    padding-left: 20px;
  }

  .news-txt h3 {
    font-size: 15px;
    line-height: 26px;
  }

  .news-txt p {
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 22px;
    margin-top: 2px;
  }

  .ft-nav,
  .ft-contact {
    width: 100%;
  }

  .ft-contact {
    margin-top: 30px;
  }

  .back-top {
    right: 16px;
    bottom: 26px;
    width: 42px;
    height: 42px;
  }
}

/* ---------------- ≤560 ---------------- */
@media screen and (max-width: 560px) {
  .hotline-text em {
    display: none;
  }

  .hotline-text strong {
    font-size: 16px;
    white-space: nowrap;
  }

  .logo img {
    height: 44px;
  }

  .about-title span {
    font-size: 20px;
  }

  .about-title p {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .about-title::before {
    width: 150px;
    height: 104px;
    top: -16px;
    left: 34px;
    border-width: 4px;
  }

  .about-desc {
    font-size: 14px;
    line-height: 27px;
  }

  .news-head {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 24px;
  }

  .news-head-more {
    width: 118px;
    height: 40px;
    font-size: 14px;
    padding-left: 16px;
  }

  .news-head-more::after {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .news-date {
    -ms-flex: 0 0 78px;
    flex: 0 0 78px;
  }

  .news-txt {
    padding-left: 14px;
  }

  .news-list li {
    height: 92px;
  }

  .foot-inner b span {
    font-size: 19px;
  }

  .ft-nav ul {
    grid-gap: 8px 6px;
  }

  .ft-nav li a,
  .ft-contact p {
    font-size: 14px;
  }

  .copyright {
    font-size: 12px;
    line-height: 1.9;
    padding: 16px 18px;
  }
}

/* ---------------- ≤400 ---------------- */
@media screen and (max-width: 400px) {
  .prod-cats li a {
    font-size: 13px;
    padding: 0 6px;
  }

  .case-see {
    width: 140px;
    height: 38px;
    line-height: 36px;
    font-size: 14px;
  }
}

/* ---------------- 横屏小高度 ---------------- */
@media screen and (max-height: 520px) and (orientation: landscape) {
  .nav-list {
    max-height: calc(100vh - 60px);
  }
}
