* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

ul {
  list-style: none;
}

:root {
  --primary-dark: #002554;
  /* 更深的深蓝，匹配设计图 */
  --primary-blue: #0088cc;
  --primary-light-blue: #e8f4ff;
  --secondary-blue: #0066cc;
  /* 辅助蓝色 */
  --white: #ffffff;
  --gray: #666666;
  --light-gray: #f0f5ff;
}

.bg-gradual {
  background: #0C73C3;
  background: linear-gradient(90deg, #0C73C3 0%, #0CA8C3 100%);
  color: #fff;
}

/* 导航 */
.header {
  background: url('../img/bgnav.png') left top repeat-x;
  color: #fff;
  padding: 0 max(5%, calc((100vw - 1500px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
  height: 68px;
  margin-bottom: 0;
  /* 加高导航栏，匹配设计图 */
}

.header-logo {
  display: flex;
  align-items: center;
  margin-right: 50px;
}

.header-logo img {
  height: 50px;
}

.header-nav {
  display: flex;
  gap: 36px;
  font-size: 16px;
  flex-wrap: nowrap;
}

.header-nav a {
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--primary-blue);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header-contact > span,
.header-contact > a,
.header-contact > p,
.header-contact > p > a {
  white-space: nowrap;
}

/* 顶栏电话/邮箱：图标与文字垂直居中（区块输出为 p / span / a） */
.header-contact > span,
.header-contact > a:not(.btn),
.header-contact > p {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin: 0;
}

.header-contact > span img,
.header-contact > a:not(.btn) img,
.header-contact > p img {
  display: block;
  flex-shrink: 0;
}

.header-contact > p > a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.header-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 4px;
  line-height: 1;
  transition: background-color 0.3s;
}

.header-contact .btn:hover {
  background-color: var(--secondary-blue);
}

.header-contact .messageBtn:hover {
  background: linear-gradient(90deg, #0B7DDB 0%, #08B8D5 100%) !important;
  color: #fff;
  box-shadow: 0 6px 16px rgba(8, 184, 213, 0.28);
}

/* 移动端汉堡菜单 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 22px;
  height: 18px;
  cursor: pointer;
  z-index: 3001;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #050932;
  z-index: 3000;
  transition: right 0.3s ease;
  
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-logo img {
  height: 40px;
}

.mobile-menu-close {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 1002;
}

/* 确保移动端菜单打开时，汉堡按钮仍然可见 */
.mobile-menu.active {
  right: 0;
}

/* 修复移动端菜单关闭功能 */
.mobile-menu-close {
  cursor: pointer;
  z-index: 1002;
}

.mobile-menu-close:hover {
  color: #0CA8C3;
  transition: color 0.3s ease;
}

.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #fff;
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact {
  margin-top: 30px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.mobile-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* 页脚 - 优化样式匹配设计图 */
.footer {
  background: #050932 url('../img/dibu.png') center center / cover no-repeat;
  color: #fff;
  padding: 48px 5% 0;
}

.footer .container {
  max-width: 1500px;
  margin: 0 auto;
}

.footer-logo {
  padding: 0 30px 48px;
}

.footer-logo img {
  height: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 140px;
  padding: 0 30px 60px;
}

.footer-nav {
  flex: 0 0 auto;
  min-width: 360px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 130px;
  row-gap: 0;
}

.footer-nav li {
  margin-bottom: 36px;
  font-size: 16px;
}

.footer-contact {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-qr {
  flex: 0 0 auto;
}



.footer-contact {}

.footer-contact h3 {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 36px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-contact .text {
  width: 80%;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 32px;
}

.footer-qr {
  text-align: center;
  min-width: 150px;
  flex: 1;
}

.footer-qr .qr-img {
  width: 120px;
  height: 120px;
  background: #fff;
  margin: 0 auto 10px;
  border-radius: 8px;
}

.footer-qr p {
  font-size: 14px;
  color: #b3c7e6;
}

.footer-bottom {
  margin-top: 0;
  padding: 24px 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  line-height: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 悬浮客服 */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
}

.float-item {
  width: 50px;
  padding: 12px;
  border-radius: 26px;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
}

.float-item.contact {
  writing-mode: vertical-rl;
  font-size: 16px;
}

.float-item.kefu {
  font-size: 12px;
  flex-flow: column;
  background: #fff;
}


.float-qrcode {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: none;
  padding: 14px 16px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  margin-right: 10px;
}

.float-qrcode p {
  font-size: 13px;
  color: #2A4153;
  text-align: center;
  margin-top: 10px;
  white-space: nowrap;
}

.float-qrcode img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  object-fit: cover;
}

.float-item:hover .float-qrcode {
  display: block;
}

/* 返回顶端按钮 */
.float-item.back-top {
  background: #0C73C3;
  background: linear-gradient(135deg, #0C73C3 0%, #0CA8C3 100%);
  color: #fff;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
  pointer-events: none;
}

.float-item.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.float-item.back-top:hover {
  background: linear-gradient(135deg, #0CA8C3 0%, #0C73C3 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 16px rgba(12, 115, 195, 0.4);
}

.float-item.back-top:active {
  transform: translateY(0) scale(0.95);
}

.back-top-arrow {
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 4px;
  margin-bottom: 2px;
  transition: transform 0.3s;
}

.float-item.back-top:hover .back-top-arrow {
  transform: rotate(-45deg) translate(2px, -2px);
}

.back-top-text {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 2px;
}

/* 弹窗遮罩 */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

/* 弹窗主体*/
.modal-content {
  width: 438px;
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: url('../img/popbg.jpg') top center no-repeat #fff;
  background-size: 100% auto;
}

#consultModal .modal-content,
#messageModal .modal-content {
  background:
    url('../img/popbg-transparent.png') top center / calc(100% + 80px) auto no-repeat,
    linear-gradient(#fff, #fff) left 136px / 100% calc(100% - 136px) no-repeat;
}

.modal-content--message {
  width: 438px;
}

.modal-content--message .message-content-group {
  align-items: flex-start;
}

.modal-content--message .message-content-group p {
  padding-top: 10px;
  width: 100px;
  flex: 0 0 100px;
}

.modal-content--message .message-content-group textarea {
  width: calc(100% - 100px);
  min-height: 140px;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.6;
  display: block;
}

.modal-content--message .message-content-group textarea::placeholder {
  color: #999;
  font-size: 14px;
  font-family: inherit;
}

.modal-content--message .message-content-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: none;
  background: #fff;
}

/* 关闭按钮 */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: #999;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #333;
}

/* 弹窗标题 */
.modal-title {
  font-size: 22px;
  color: #0C73C3;
  margin-bottom: 72px;
  font-weight: 400;
  text-align: right;
  line-height: 87px;

}

/* 弹窗说明文字 */
.modal-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

/* 表单样式 */
.form-group {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.form-group p {
  width: 100px;
  flex: 0 0 100px;
  font-size: 16px;
  color: #979797;
}

.form-group p span {
  color: #f00;
  padding-right: 10px;
}

.form-group input {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* 清除按钮 */
.clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: #999;
}

.clear-btn::after {
  content: "✕";
  font-size: 16px;
}

.clear-btn:hover {
  color: #333;
}

/* 表单校验错误提示：红色小字，绝对定位在输入框下方，显示/隐藏不改变表单高度 */
.form-group {
  margin-bottom: 22px;
}

.error-text {
  display: none;
  position: absolute;
  left: 100px;
  right: 0;
  top: 100%;
  margin-top: 2px;
  font-size: 11px;
  color: #f00;
  line-height: 1;
  text-align: left;
  box-sizing: border-box;
  pointer-events: none;
  white-space: nowrap;
}

.error-text.show {
  display: block;
}

.form-group input.is-error {
  border-color: #f00;
}

/* 协议勾选 */
.agreement-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 12px;
  color: #666;
  justify-content: center;
  text-align: center;
}

.agreement-group .error-text {
  left: 22px;
  right: 0;
  top: 100%;
  margin-top: 2px;
}

.agreement-group .error-text.show {
  display: block;
}

.agreement-group input {
  margin-right: 8px;
  margin-top: 2px;
}

.agreement-group a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.agreement-group.is-error label,
.agreement-group.is-error a {
  color: #c0392b;
}

.agreement-group #agreement.is-error {
  outline: 1px solid #f00;
  outline-offset: 2px;
  border-radius: 2px;
}

/* 提交按钮 */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0C73C3;
  background: linear-gradient(90deg, #0C73C3 0%, #0CA8C3 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--secondary-blue);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* 咨询提交结果提示（替代浏览器 alert） */
.consult-result-toast {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(5, 9, 50, 0.48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.consult-result-toast.is-visible {
  display: flex;
}

.consult-result-toast__card {
  width: 100%;
  max-width: 380px;
  padding: 36px 32px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 24px 80px rgba(12, 115, 195, 0.22), 0 0 0 1px rgba(12, 168, 195, 0.12);
  text-align: center;
  box-sizing: border-box;
  animation: consultToastPop 0.38s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}

@keyframes consultToastPop {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.consult-result-toast__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  color: #fff;
  font-weight: 600;
}

.consult-result-toast--success .consult-result-toast__icon {
  background: linear-gradient(135deg, #0C73C3 0%, #0CA8C3 100%);
  box-shadow: 0 8px 24px rgba(12, 168, 195, 0.35);
}

.consult-result-toast--error .consult-result-toast__icon {
  background: linear-gradient(135deg, #e85d5d 0%, #c0392b 100%);
  box-shadow: 0 8px 24px rgba(232, 93, 93, 0.3);
}

.consult-result-toast__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #002554;
}

.consult-result-toast__msg {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
}

.consult-result-toast__btn {
  min-width: 140px;
  padding: 10px 28px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #0C73C3 0%, #0CA8C3 100%);
  transition: opacity 0.2s, transform 0.2s;
}

.consult-result-toast__btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.consult-result-toast--success .consult-result-toast__btn {
  display: inline-block;
  background: linear-gradient(90deg, #0C73C3 0%, #0CA8C3 100%);
  box-shadow: 0 6px 18px rgba(12, 115, 195, 0.28);
}

.consult-result-toast--error .consult-result-toast__btn {
  display: inline-block;
}


.banner-inpage {
  height: 570px;
  margin-top: -68px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .banner-inpage {
    margin-top: -64px;
  }
}

@media (max-width: 375px) {
  .banner-inpage {
    margin-top: -56px;
  }
}

.banner-inpage span {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42px;
  color: #fff;
}


/* 分页样式 */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333333;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.page-btn.active {
  background: #0C73C3;
  color: #fff;
}

.page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.page-input {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
}


/* 响应式优化 - 1920px */
@media (max-width: 1920px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 1400px;
  }
}

/* 1600px */
@media (max-width: 1600px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 1200px;
  }

  .header-nav {
    gap: 1.8vw;
    font-size: 15px;
  }

  .footer-contact .text {
    width: 70%;
  }
}

/* 1440px */
@media (max-width: 1440px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 1100px;
  }

  .header-nav {
    gap: 1.5vw;
    font-size: 14px;
  }

  .footer-nav {
    width: 35%;
  }

  .footer-content {
    gap: 80px;
    flex-wrap: nowrap;
  }

  .footer-nav ul {
    column-gap: 90px;
  }

  .cta-features {
    gap: 60px;
  }
}

/* 1366px */
@media (max-width: 1366px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 1000px;
  }

  .header-nav {
    gap: 1.0vw;
    font-size: 13px;
  }

  .footer-contact .text {
    width: 60%;
    font-size: 14px;
  }

  .footer-content {
    gap: 64px;
    flex-wrap: nowrap;
  }

  .footer-nav ul {
    column-gap: 70px;
  }

  .footer-qr {
    min-width: 130px;
  }

  .cta-features {
    gap: 40px;
  }
}

/* 1280px */
@media (max-width: 1280px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 960px;
  }

  .header-nav {
    gap: 0.8vw;
    font-size: 13px;
  }

  .header-contact {
    gap: 15px;
    font-size: 14px;
  }
}

/* 1025–1280px：PC 导航在该区间最易挤换行（≤1024 走移动菜单），
   收紧 logo / 间距 / 字号 / 按钮，强制 header 不换行，保证 8 项中文导航 + 联系方式 + 在线留言 单行容纳 */
@media (min-width: 1025px) and (max-width: 1280px) {

  .header {
    padding: 0 20px !important;
    flex-wrap: nowrap !important;
    column-gap: 12px;
  }

  .header-left {
    flex-wrap: nowrap !important;
    min-width: 0;
  }

  .header-logo {
    margin-right: 16px !important;
  }

  .header-logo img {
    height: 40px !important;
  }

  .header-nav {
    gap: 14px !important;
    font-size: 12px !important;
    flex-wrap: nowrap !important;
  }

  .header-nav a {
    white-space: nowrap !important;
  }

  .header-contact {
    gap: 10px !important;
    font-size: 12px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .header-contact > span,
  .header-contact > a,
  .header-contact > p,
  .header-contact > p > a {
    white-space: nowrap !important;
  }

  .header-contact .btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }




  .footer-nav {
    width: 50%;
    min-width: 0;
  }

  .footer-contact {
    width: 50%;
  }

  .footer-content {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 28px;
  }

  .footer-contact .text {
    width: 100%;
    max-width: none;
  }

  .footer-contact p {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .footer-qr {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .footer-qr .qr-img {
    margin: 0;
  }

  /* 1280（含平板横屏/小笔记本）三列同排：联系方式与二维码上移，不掉到下方 */
  .footer-content {
    flex-wrap: nowrap;
    row-gap: 0;
    gap: 72px;
  }

  .footer-nav {
    width: auto;
    min-width: 320px;
    flex: 0 0 auto;
  }

  .footer-nav ul {
    column-gap: 80px;
  }

  .footer-contact {
    width: auto;
    flex: 1 1 auto;
  }

  .footer-contact .text {
    max-width: 520px;
  }

  .footer-qr {
    width: auto;
    min-width: 150px;
    flex: 0 0 auto;
    text-align: center;
  }

  .footer-qr .qr-img {
    margin: 0 auto 10px;
  }

  .cta-features {
    gap: 30px;
    flex-wrap: wrap;
  }
}

/* 1024px - 平板横屏 */
@media (max-width: 1024px) {

  .container,
  .value-section .container,
  .industry-swiper {
    max-width: 90%;
  }

  .header {
    padding: 0 3%;
    margin-bottom: 0;
  }

  .header-nav {
    display: none;
  }

  .header-contact span,
  .header-contact p,
  .header-contact a:not(.btn) {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .process-section {
    padding: 40px 3%;
  }




  .process-tab-item {
    margin-bottom: 0;
    height: auto;
    padding: 10px 15px;
  }

  .value-section {
    padding: 40px 3%;
  }

  .tech-section {
    padding: 40px 3%;
  }

  .tech-accordion {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tech-item {
    min-width: 200px;
    height: 400px;
  }

  .industry-section {
    padding: 40px 3%;
  }

  .case-section {
    padding: 40px 3%;
  }

  .news-section {
    padding: 40px 3%;
  }

  .cta-section .container {
    padding: 60px 3%;
  }

  .footer {
    padding: 40px 3%;
  }

  .footer-bottom {
    padding: 20px 0;
    flex-direction: column;
    gap: 10px;
  }

  .value-swiper-basic .swiper-button-prev,
  .value-swiper-basic .swiper-button-next,
  .value-swiper-unique .swiper-button-prev,
  .value-swiper-unique .swiper-button-next {
    display: none;
  }

  .industry-swiper .swiper-button-prev,
  .industry-swiper .swiper-button-next {
    display: none;
  }
}

/* 768px - 平板竖屏 */
@media (max-width: 768px) {
  .header {
    height: 64px;
    margin-bottom: 0;
  }

  .header-logo img {
    height: 48px;
  }

  .banner-swiper {
    height: 400px;
  }

  .banner-slide {
    height: 400px;
  }

  .banner-content .big-title {
    font-size: 48px;
    letter-spacing: 3px;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  .banner-content p {
    font-size: 16px;
  }

  .banner-content .input-group {
    width: 320px;
    max-width: 100%;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-item {
    flex: 1 1 45%;
    padding: 15px;
    justify-content: center;
  }

  .nav-item:not(:last-child)::after {
    display: none;
  }

  .process-section .title {
    font-size: 28px;
  }

  .tech-section .title {
    font-size: 24px;
  }

  .tech-section .desc {
    font-size: 16px;
  }

  .tech-item {
    min-width: 160px;
    height: 350px;
  }

  .industry-section .title {
    font-size: 24px;
  }

  .industry-section .desc {
    font-size: 16px;
  }

  .industry-slide-content {
    flex-direction: column;
  }

  .industry-text {
    min-width: 100%;
  }

  .industry-img {
    width: 100%;
    min-width: 100%;
    height: 250px;
    margin: 20px 0;
  }

  .industry-img::after {
    display: none;
  }

  .industry-link {
    position: static;
    width: 100%;
    height: auto;
    background: none;
    margin-top: 20px;
  }

  .industry-link a {
    display: block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #0C73C3 0%, #0CA8C3 100%);
    border-radius: 6px;
    font-size: 16px;
  }

  .case-section .section-title {
    font-size: 24px;
  }

  .case-section .tab-nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  .case-section .tab-item {
    font-size: 16px;
    padding: 0 10px 10px;
  }

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

  .case-section .card-img {
    height: 200px;
  }

  .news-grid {
    flex-direction: column;
    align-items: center;
  }

  .news-card {
    width: 100%;
    max-width: 400px;
  }

  .cta-section .title {
    font-size: 28px;
  }

  .cta-section .input-group {
    width: 100%;
    max-width: 350px;
    flex-direction: column;
    gap: 10px;
  }

  .cta-section .input-group input {
    width: 100%;
  }

  .cta-section .input-group button {
    width: 100%;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cta-feature-item {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding: 30px 3%;
  }

  .footer-content {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .footer-nav {
    width: 100%;
    /* 覆盖桌面端 min-width:360px，避免 320～359px 机型页脚区触发横向溢出 */
    min-width: 0;
  }

  .footer-nav ul {
    justify-content: flex-start;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-contact p {
    justify-content: flex-start;
  }

  .footer-contact h3 {
    text-align: left;
  }

  .footer-contact .text {
    width: 100%;
    text-align: left;
  }

  .footer-qr {
    display: none;
  }

  .float-service .float-item.contact,
  .float-service .float-item.kefu {
    display: none;
  }

  .float-service {
    right: 12px;
    bottom: 20px;
  }

  .float-item.back-top {
    width: 44px;
    padding: 8px;
  }

  .back-top-arrow {
    width: 12px;
    height: 12px;
  }

  .back-top-text {
    font-size: 11px;
  }

  .modal-content {
    width: 95%;
    max-width: 400px;
    max-height: 90vh;
    padding: 20px;
  }
}

/* 375px - 手机 */
@media (max-width: 375px) {
  .header {
    height: 56px;
  }

  .header-logo img {
    height: 40px;
  }

  .header-contact .btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .banner-swiper {
    height: 350px;
  }

  .banner-slide {
    height: 350px;
  }

  .banner-content .big-title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .banner-content h1 {
    font-size: 20px;
  }

  .banner-content p {
    font-size: 14px;
  }

  .banner-content .input-group {
    width: 280px;
    max-width: 100%;
    height: 44px;
  }

  .banner-content .input-group input {
    padding: 10px 15px;
    width: calc(100% - 100px);
  }

  .banner-content .input-group button {
    width: 100px;
    height: 44px;
    font-size: 14px;
  }

  .nav-container {
    padding: 15px 0;
  }

  .nav-item {
    flex: 1 1 100%;
    padding: 12px;
  }

  .nav-item .title-row {
    font-size: 14px;
  }

  .process-section {
    padding: 30px 3%;
  }

  .process-section .title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .process-tab-item {
    padding: 8px 12px;
    font-size: 13px;
  }

  .value-section {
    padding: 30px 3%;
  }

  .value-section .title {
    font-size: 24px;
  }

  .value-section .desc {
    font-size: 14px;
  }

  .tech-section {
    padding: 30px 3%;
  }

  .tech-section .title {
    font-size: 20px;
  }

  .tech-section .desc {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .tech-item {
    min-width: 140px;
    height: 300px;
  }

  .tech-item .tech-item-front {
    padding: 20px 15px;
  }

  .tech-item .tech-item-front p {
    font-size: 16px;
  }

  .tech-item-content {
    padding: 30px 15px;
  }

  .tech-item-content .titlebx {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .tech-item-content .textbx h3 {
    font-size: 16px;
  }

  .tech-item-content .textbx p {
    font-size: 14px;
    padding-left: 0;
    margin-bottom: 20px;
  }

  .industry-section {
    padding: 30px 3%;
  }

  .industry-section .title {
    font-size: 20px;
  }

  .industry-section .desc {
    font-size: 14px;
  }

  .industry-text h3 {
    font-size: 20px;
    padding-left: 30px;
  }

  .industry-text p {
    font-size: 14px;
  }

  .industry-text ul li {
    font-size: 14px;
  }

  .industry-img {
    height: 180px;
  }

  .case-section {
    padding: 30px 3%;
  }

  .case-section .section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .case-section .tab-nav {
    gap: 15px;
  }

  .case-section .tab-item {
    font-size: 14px;
  }

  .case-section .card-img {
    height: 160px;
  }

  .case-section .card-body {
    padding: 15px;
  }

  .news-section {
    padding: 30px 3%;
  }

  .news-section .title {
    font-size: 24px;
  }

  .news-card {
    margin-bottom: 20px;
  }

  .cta-section .title {
    font-size: 22px;
  }

  .cta-features {
    gap: 15px;
  }

  .cta-feature-item h3 {
    font-size: 16px;
  }

  .cta-feature-item p {
    font-size: 14px;
  }

  .footer {
    padding: 25px 3%;
  }

  .footer-logo img {
    height: 30px;
  }

  .footer-nav li {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
  }

  .footer-contact h3 {
    font-size: 18px;
  }

  .modal-content {
    padding: 15px;
  }

  .modal-title {
    font-size: 18px;
    margin-bottom: 56px;
  }

  .modal-desc {
    font-size: 13px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 13px;
  }

  .submit-btn {
    font-size: 14px;
  }
}

/* ========= 可点击卡片 / 链接触摸反馈 ========= */
.nav-item,
.news-item,
.news-card,
.case-card,
.industry-link a,
.value-card,
.tech-item,
.page-btn,
.read-more,
.tab-btn,
.btn,
.submit-btn,
.float-item,
.quick-entry-item,
.cta-feature-item {
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.2s ease;
}

@media (hover: none) {

  .nav-item:active,
  .news-item:active,
  .news-card:active,
  .case-card:active,
  .industry-link a:active,
  .value-card:active,
  .tech-item:active,
  .page-btn:active,
  .read-more:active,
  .tab-btn:active,
  .btn:active,
  .submit-btn:active,
  .float-item:active,
  .quick-entry-item:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* 折叠屏展开强制桌面模式：仅修正 footer 挤压换行 */
html.force-desktop .footer-content {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

html.force-desktop .footer-nav {
  width: auto;
  min-width: 360px;
  flex: 0 0 auto;
}

html.force-desktop .footer-nav ul {
  grid-template-columns: auto auto;
  column-gap: 90px;
}

html.force-desktop .footer-contact {
  width: auto;
  min-width: 260px;
  flex: 1 1 auto;
}

html.force-desktop .footer-contact .text {
  width: 100%;
  max-width: 420px;
  overflow-wrap: anywhere;
  word-break: normal;
}

html.force-desktop .footer-qr {
  display: block;
  min-width: 150px;
  flex: 0 0 auto;
}

/* 弹窗表单在手机端的协议区与按钮对齐修复 */
@media (max-width: 768px) {
  .modal-content #consultForm .agreement-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    /* 与输入框左缘对齐（与 .form-group 内 80px 标签列后输入区一致，见图2） */
    padding-left: 80px !important;
    box-sizing: border-box !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
    margin-bottom: 16px !important;
  }

  .modal-content #consultForm .agreement-group input[type="checkbox"] {
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0.22em 8px 0 0 !important;
    align-self: flex-start !important;
  }

  .modal-content #consultForm .agreement-group label {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
  }

  .modal-content #consultForm .agreement-group .error-text {
    position: absolute !important;
    left: 22px !important;
    right: 0 !important;
    top: 100% !important;
    margin-top: 2px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .submit-btn {
    margin-top: 6px;
  }
}

@media (min-width: 1025px) {
  .header {
    background: url('../img/bgnav.png') left top repeat-x !important;
    height: 68px !important;
    padding-left: max(5%, calc((100vw - 1500px) / 2)) !important;
    padding-right: max(5%, calc((100vw - 1500px) / 2)) !important;
  }

  .header-nav {
    gap: 36px !important;
  }
}
