/* 移动端响应式样式 - 适配iPhone和微信 */

/* 基础移动端设置 */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 允许文本选择 */
p, span, div, h1, h2, h3, h4, h5, h6 {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* 防止iOS Safari的缩放 */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 移动端视口设置 */
@media screen and (max-width: 768px) {
  /* 头部响应式 */
  .header-wrapper {
    height: auto !important;
    min-height: 140px !important;
  }
  
  .header-top {
    padding: 0 16px !important;
    height: 30px !important;
    font-size: 12px !important;
  }
  
  .header-main {
    padding: 0 16px !important;
    height: auto !important;
    min-height: 110px !important;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: flex-start;
  }
  
  .logo {
    margin-bottom: 8px;
  }
  
  .logo img {
    height: 32px !important;
  }
  
  .company-name {
    font-size: 16px !important;
  }
  
  .company-name .en {
    font-size: 10px !important;
  }
  
  nav {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    padding: 0 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  nav::-webkit-scrollbar {
    display: none;
  }
  
  .nav-item {
    font-size: 11px !important;
    padding: 4px 6px !important;
    white-space: nowrap;
    min-width: auto;
    text-align: center;
    flex-shrink: 0;
  }
  
  .contact-btn {
    padding: 6px 20px !important;
    font-size: 14px !important;
    margin-top: 8px;
  }
  
  /* Banner区域响应式 */
  .section-home .banner {
    height: 100vh !important;
    min-height: 600px !important;
  }
  
  .section-home .banner .banner-content .top {
    margin-top: 80px !important;
  }
  
  .section-home .banner .banner-content .top .banner-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }
  
  .section-home .banner .banner-content .top .banner-sub {
    font-size: 24px !important;
    margin-bottom: 20px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-slogan {
    font-size: 20px !important;
    margin-bottom: 16px !important;
    margin-top: 20px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-core {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-desc {
    font-size: 16px !important;
    margin-bottom: 20px !important;
    margin-top: 8px !important;
  }
  
  /* About区域响应式 */
  .section-home .about {
    padding: 40px 16px !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  
  .section-home .about .about-left {
    flex: none !important;
    width: 100% !important;
    margin-bottom: 30px;
  }
  
  .section-home .about .about-left .about-img-main {
    position: static !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto 20px !important;
  }
  
  .section-home .about .about-left .about-img-sub {
    position: static !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  
  .section-home .about .about-right {
    width: 100% !important;
    text-align: center;
  }
  
  .section-home .about .about-right .about-title-row {
    justify-content: center !important;
    margin-bottom: 16px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-num {
    font-size: 48px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-en {
    font-size: 28px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-bar {
    height: 50px !important;
    margin: 12px 0 !important;
  }
  
  .section-home .about .about-right .about-title-row .about-title {
    font-size: 48px !important;
  }
  
  .section-home .about .about-right .about-desc-main {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }
  
  .section-home .about .about-right .about-text {
    font-size: 16px !important;
    text-align: center !important;
    max-width: 100% !important;
  }
  
  /* Business区域响应式 */
  .section-home .business {
    padding: 40px 16px !important;
    min-height: auto !important;
  }
  
  .section-home .business .business-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  .section-home .business .business-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  /* Core区域响应式 */
  .section-home .core {
    padding: 40px 16px 0 !important;
  }
  
  .section-home .core .core-header {
    margin-bottom: 24px !important;
  }
  
  .section-home .core .core-header .core-num {
    font-size: 48px !important;
  }
  
  .section-home .core .core-header .core-en {
    font-size: 28px !important;
  }
  
  .section-home .core .core-header .core-bar {
    height: 50px !important;
    margin: 0 12px !important;
  }
  
  .section-home .core .core-header .core-title {
    font-size: 48px !important;
  }
  
  .section-home .core .core-cards {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center;
  }
  
  .section-home .core .core-cards .core-card {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    padding: 20px 16px !important;
  }
  
  .section-home .core .core-cards .core-card .core-card-img {
    width: 100% !important;
    height: 200px !important;
    margin-bottom: 16px !important;
  }
  
  .section-home .core .core-cards .core-card .core-card-title {
    font-size: 24px !important;
  }
  
  .section-home .core .core-cards .core-card .core-card-title i {
    font-size: 24px !important;
  }
  
  .section-home .core .core-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }
  
  .section-home .core .core-bottom .core-bottom-title {
    font-size: 20px !important;
  }
  
  .section-home .core .core-bottom .core-bottom-desc {
    font-size: 16px !important;
  }
  
  /* Core-desc区域响应式 */
  .section-home .core-desc {
    padding: 40px 16px !important;
    min-height: auto !important;
  }
  
  .section-home .core-desc .core-desc-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  
  .section-home .core-desc .core-desc-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  /* Qualifications区域响应式 */
  .section-home .qualifications {
    padding: 40px 16px 0 !important;
  }
  
  .section-home .qualifications .qual-header {
    margin-bottom: 24px !important;
  }
  
  .section-home .qualifications .qual-header .qual-num {
    font-size: 48px !important;
  }
  
  .section-home .qualifications .qual-header .qual-en {
    font-size: 28px !important;
  }
  
  .section-home .qualifications .qual-header .qual-bar {
    height: 50px !important;
    margin: 0 12px !important;
  }
  
  .section-home .qualifications .qual-header .qual-title {
    font-size: 48px !important;
  }
  
  .section-home .qualifications .qual-imgs {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center;
  }
  
  .section-home .qualifications .qual-imgs .qual-img {
    width: 100% !important;
    max-width: 300px !important;
    height: 300px !important;
  }
  
  .section-home .qualifications .qual-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }
  
  .section-home .qualifications .qual-bottom .qual-bottom-desc {
    font-size: 16px !important;
  }
  
  /* Qualifications-desc区域响应式 */
  .section-home .qualifications-desc {
    padding: 40px 16px !important;
    min-height: auto !important;
  }
  
  .section-home .qualifications-desc .qualifications-title {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }
  
  .section-home .qualifications-desc .qualifications-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  /* CC区域响应式 */
  .section-home .cc {
    padding: 40px 16px !important;
  }
  
  .section-home .cc .cc-header {
    margin-bottom: 40px !important;
  }
  
  .section-home .cc .cc-header .cc-num {
    font-size: 48px !important;
  }
  
  .section-home .cc .cc-header .cc-en {
    font-size: 28px !important;
  }
  
  .section-home .cc .cc-header .cc-bar {
    height: 50px !important;
    margin: 0 12px !important;
  }
  
  .section-home .cc .cc-header .cc-title {
    font-size: 48px !important;
  }
  
  .section-home .cc .cc-cases {
    gap: 30px !important;
  }
  
  .section-home .cc .cc-cases .cc-case {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  
  .section-home .cc .cc-cases .cc-case .cc-case-img {
    width: 100% !important;
    height: 200px !important;
  }
  
  .section-home .cc .cc-cases .cc-case .cc-case-content .cc-case-title {
    font-size: 20px !important;
  }
  
  .section-home .cc .cc-cases .cc-case .cc-case-content .cc-case-slogan {
    font-size: 14px !important;
  }
  
  .section-home .cc .cc-cases .cc-case .cc-case-content .cc-case-desc {
    font-size: 14px !important;
  }
  
  /* Footer响应式 */
  .footer-main {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 32px 16px 16px !important;
  }
  
  .footer-col {
    min-width: 0 !important;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 16px !important;
  }
  
  /* About页面响应式 */
  .about-header .header-content .header-line-1 {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }
  
  .about-header .header-content .header-line-2 {
    font-size: 32px !important;
    margin-bottom: 20px !important;
  }
  
  .about-header .header-content .header-line-3 {
    font-size: 14px !important;
  }
  
  .company-philosophy .top {
    flex-direction: column !important;
    padding: 0 16px !important;
    min-height: auto !important;
  }
  
  .company-philosophy .top .top-left {
    padding: 30px 16px !important;
  }
  
  .company-philosophy .top .top-left .top-content .top-title {
    font-size: 20px !important;
  }
  
  .company-philosophy .top .top-left .top-content .top-desc {
    font-size: 16px !important;
  }
  
  .company-philosophy .top .top-left .top-content .top-business .business-title {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }
  
  .company-philosophy .top .top-left .top-content .top-business .business-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  .company-philosophy .top .top-left .top-content .top-business .business-grid .business-item .business-text {
    font-size: 18px !important;
  }
  
  .company-philosophy .top .top-right {
    padding: 30px 16px !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .company-philosophy .top .top-right img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
  }
  
  .company-philosophy .bottom {
    flex-direction: column !important;
    padding: 0 16px !important;
    min-height: auto !important;
  }
  
  .company-philosophy .bottom .bottom-left {
    width: 100% !important;
    height: auto !important;
  }
  
  .company-philosophy .bottom .bottom-left .bottom-img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
  }
  
  .company-philosophy .bottom .bottom-left .bottom-img img {
    width: 100% !important;
    height: auto !important;
  }
  
  .company-philosophy .bottom .bottom-right {
    padding: 30px 16px !important;
  }
  
  .company-philosophy .bottom .bottom-right .bottom-content .bottom-title {
    font-size: 20px !important;
    text-align: center !important;
  }
  
  .company-philosophy .bottom .bottom-right .bottom-content .bottom-text {
    font-size: 16px !important;
    margin: 20px 0 !important;
  }
  
  .company-philosophy .bottom .bottom-right .bottom-content .bottom-slogan {
    font-size: 24px !important;
  }
  
  /* Company页面响应式 */
  .company .company-header {
    padding: 60px 16px !important;
  }
  
  .company .company-header .header-content .header-title {
    font-size: 32px !important;
  }
  
  .company .company-header .header-content .header-subtitle {
    font-size: 18px !important;
  }
  
  .company .company-header .header-content .header-desc {
    font-size: 16px !important;
  }
  
  .company .cc {
    padding: 40px 16px !important;
  }
  
  .company .cc .cc-1 .certificate-container {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .company .cc .cc-1 .certificate-container .certificate {
    width: 100% !important;
    max-width: 300px !important;
    margin-bottom: 20px !important;
  }
  
  .company .cc .cc-2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .company .company-timeline {
    padding: 40px 16px !important;
  }
  
  .company .company-timeline .timeline-container .timeline-title {
    font-size: 28px !important;
    margin-bottom: 40px !important;
  }
  
  .company .company-timeline .timeline-container .timeline-items .timeline-item {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center;
  }
  
  .company .company-timeline .timeline-container .timeline-items .timeline-item .timeline-year {
    font-size: 24px !important;
    min-width: auto !important;
  }
  
  .company .company-timeline .timeline-container .timeline-items .timeline-item .timeline-content {
    padding: 20px !important;
  }
  
  .company .company-timeline .timeline-container .timeline-items .timeline-item .timeline-content .timeline-title {
    font-size: 18px !important;
  }
  
  .company .company-timeline .timeline-container .timeline-items .timeline-item .timeline-content .timeline-desc {
    font-size: 14px !important;
  }
  
  .company .company-vision {
    padding: 40px 16px !important;
  }
  
  .company .company-vision .vision-container {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  .company .company-vision .vision-container .vision-left,
  .company .company-vision .vision-container .vision-right {
    padding: 30px 20px !important;
  }
  
  .company .company-vision .vision-container .vision-left .vision-title,
  .company .company-vision .vision-container .vision-left .mission-title,
  .company .company-vision .vision-container .vision-right .vision-title,
  .company .company-vision .vision-container .vision-right .mission-title {
    font-size: 20px !important;
  }
  
  .company .company-vision .vision-container .vision-left .vision-content,
  .company .company-vision .vision-container .vision-left .mission-content,
  .company .company-vision .vision-container .vision-right .vision-content,
  .company .company-vision .vision-container .vision-right .mission-content {
    font-size: 14px !important;
  }
  
  /* Cases页面响应式 */
  .desc {
    padding: 40px 16px 24px !important;
  }
  
  .desc .desc-title {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }
  
  .desc .desc-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  .case-item-detail {
    flex-direction: column !important;
    padding: 20px 16px 0 !important;
    min-height: auto !important;
  }
  
  .case-item-detail .case-info {
    padding: 20px 16px !important;
    min-width: 0 !important;
  }
  
  .case-item-detail .case-info .case-item-t-d .case-item-title {
    font-size: 20px !important;
  }
  
  .case-item-detail .case-info .case-type {
    font-size: 20px !important;
  }
  
  .case-item-detail .case-info .case-slogan {
    font-size: 16px !important;
  }
  
  .case-item-detail .case-info .case-desc {
    font-size: 14px !important;
  }
  
  .case-item-detail .case-logo {
    width: 100% !important;
    height: auto !important;
    margin: 20px 0 !important;
  }
  
  .case-item-detail .case-logo img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }
  
  .case-item-detail .case-bg {
    width: 100% !important;
    height: 200px !important;
  }
  
  .case-item-detail .case-bg img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }
  
  .case-item-desc-detail {
    padding: 0 16px !important;
  }
  
  .case-item-desc-detail .container {
    width: 100% !important;
    padding-top: 30px !important;
  }
  
  .case-item-desc-detail .item {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center;
  }
  
  .case-item-desc-detail .item .num {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    margin: 0 auto !important;
  }
  
  .case-item-desc-detail .item .content .content-title {
    font-size: 20px !important;
  }
  
  .case-item-desc-detail .item .content p {
    font-size: 16px !important;
  }
  
  .case-item-desc-detail .bottom-desc {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding-bottom: 30px !important;
  }
}

/* 超小屏幕适配 (iPhone SE等) */
@media screen and (max-width: 375px) {
  .section-home .banner .banner-content .top .banner-title {
    font-size: 28px !important;
  }
  
  .section-home .banner .banner-content .top .banner-sub {
    font-size: 20px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-slogan {
    font-size: 18px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-core {
    font-size: 20px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-desc {
    font-size: 14px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-num {
    font-size: 40px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-en {
    font-size: 24px !important;
  }
  
  .section-home .about .about-right .about-title-row .about-title {
    font-size: 40px !important;
  }
  
  .section-home .about .about-right .about-desc-main {
    font-size: 20px !important;
  }
  
  .section-home .about .about-right .about-text {
    font-size: 14px !important;
  }
  
  .section-home .business .business-title {
    font-size: 24px !important;
  }
  
  .section-home .business .business-desc {
    font-size: 14px !important;
  }
  
  .section-home .core .core-header .core-num {
    font-size: 40px !important;
  }
  
  .section-home .core .core-header .core-en {
    font-size: 24px !important;
  }
  
  .section-home .core .core-header .core-title {
    font-size: 40px !important;
  }
  
  .section-home .core .core-cards .core-card .core-card-title {
    font-size: 20px !important;
  }
  
  .section-home .core .core-bottom .core-bottom-title {
    font-size: 18px !important;
  }
  
  .section-home .core-desc .core-desc-title {
    font-size: 24px !important;
  }
  
  .section-home .core-desc .core-desc-desc {
    font-size: 14px !important;
  }
  
  .section-home .qualifications .qual-header .qual-num {
    font-size: 40px !important;
  }
  
  .section-home .qualifications .qual-header .qual-en {
    font-size: 24px !important;
  }
  
  .section-home .qualifications .qual-header .qual-title {
    font-size: 40px !important;
  }
  
  .section-home .qualifications-desc .qualifications-title {
    font-size: 28px !important;
  }
  
  .section-home .qualifications-desc .qualifications-text {
    font-size: 14px !important;
  }
  
  .section-home .cc .cc-header .cc-num {
    font-size: 40px !important;
  }
  
  .section-home .cc .cc-header .cc-en {
    font-size: 24px !important;
  }
  
  .section-home .cc .cc-header .cc-title {
    font-size: 40px !important;
  }
  
  .section-home .cc .cc-cases .cc-case .cc-case-content .cc-case-title {
    font-size: 18px !important;
  }
  
  .about-header .header-content .header-line-2 {
    font-size: 28px !important;
  }
  
  .company .company-header .header-content .header-title {
    font-size: 28px !important;
  }
  
  .company .company-timeline .timeline-container .timeline-title {
    font-size: 24px !important;
  }
  
  .desc .desc-title {
    font-size: 24px !important;
  }
}

/* 横屏适配 */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .section-home .banner {
    height: 100vh !important;
    min-height: 500px !important;
  }
  
  .section-home .banner .banner-content .top {
    margin-top: 40px !important;
  }
  
  .section-home .banner .banner-content .top .banner-title {
    font-size: 28px !important;
    margin-bottom: 16px !important;
  }
  
  .section-home .banner .banner-content .top .banner-sub {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-slogan {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    margin-top: 16px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-core {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  
  .section-home .banner .banner-content .bottom .banner-desc {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    margin-top: 6px !important;
  }
}

/* 微信内置浏览器特殊处理 */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  /* 针对高DPI屏幕的优化 */
  .section-home .banner .banner-content .top .banner-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .section-home .banner .banner-content .top .banner-sub {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .nav-item:hover {
    color: #222 !important;
  }
  
  .nav-item.active:hover {
    color: #0057b8 !important;
  }
  
  .contact-btn:hover {
    background: #0057b8 !important;
  }
  
  .section-home .cc .cc-cases .cc-case:hover {
    transform: none !important;
    box-shadow: 0 4px 20px #0000001a !important;
  }
}

/* 防止iOS Safari的橡皮筋效果 */
body {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* 微信分享优化 */
.weixin-share {
  display: none;
}

/* 加载动画优化 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-home .banner .banner-content,
.section-home .about,
.section-home .business,
.section-home .core,
.section-home .qualifications,
.section-home .cc {
  animation: fadeIn 0.6s ease-out;
}

/* 图片懒加载优化 */
img {
  loading: lazy;
  decoding: async;
}

/* 字体优化 */
@font-face {
  font-family: 'PingFang SC';
  src: local('PingFang SC'), local('Helvetica Neue'), local('Arial');
  font-display: swap;
}

body, html {
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}
