/* 全局基础，防止横向溢出 */
* { box-sizing: border-box; }

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  font-family: "微软雅黑", Arial, sans-serif;
  background: #f9f9f9;
}

/* ==== 头部导航适配 ==== */
@media screen and (max-width: 1000px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100vw;
    max-width: 100vw;
    left: 0;
    top: 0;
    z-index: 999;
    /* background: rgba(0, 78, 148, 0.95); */
  }
  .logo {
    order: 1;
    text-align: center;
    margin: 10px 0 0 0;
  }
  .logo img {
    max-width: 130px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .nav-center {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .nav {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 0;
    margin: 0 10px;
  }
  .center-brand {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    margin: 0 10px;
  }
  .nav li, .nav a {
    color: #fff;
    font-size: 15px;
    list-style: none;
    padding: 7px 0;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    background: none;
  }
  .nav li:hover, .nav a:hover { color: #6fe1ff; }
}

/* ==== 顶部全屏轮播适配 ==== */
@media screen and (max-width: 1000px) {
  .hero-banner,
  .hero-banner .flexslider,
  .hero-banner .slides,
  .hero-banner .slides li,
  .hero-banner .slides li img {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    height: 100vh;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    border: none;
    padding: 0;
  }
.slide-text-wb {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 5;
}
.slide-text-wb h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 25px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.slide-text-wb  a{
  font-size: 20px;
  color: white;
  margin: 0 18px;
}

  .slide-text h1,

  .slide-text p,

  .link-btn {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    padding: 6px 12px;
  }
  
  .link-btn i {
    margin-right: 8px;
    font-size: 20px;
    transition: transform 0.3s ease;
  }
  
  /* 悬停时上浮 + 图标轻微旋转 */
  .link-btn:hover {
    transform: translateY(-4px);
    color: #00c8ff;
  }
  
  .link-btn:hover i {
    transform: rotate(10deg) scale(1.1);
  }
  
  .link-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #00c8ff;
    transition: width 0.3s ease;
  }
  
  .link-btn:hover::after {
    width: 100%;
  }
}

/* ==== 主要内容区块适配 ==== */
@media screen and (max-width: 1000px) {
  .section-divider {
  text-align: center;
  background: #f5f5f5;
  padding: 16px;
  font-size: 18px;
  color: #666;
  }
  .scene-section, .i_box, .philosophy-block {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto 10px auto;
    padding: 0 0px;
    background: none;
    overflow-x: hidden;
  }
  .box_h .title {
    font-size: 1.1rem;
    color: #034976;
    font-weight: bold;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    padding-left: 7px;
  }
  .box_h .subtitle {
    color: #6db7fa;
    font-size: 0.93rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
    margin-left: 7px;
  }
  .scene-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 3vw;
  }
  .scene-gallery img, .scene-item img {
    width: 47vw;
    max-width: 210px;
    height: 90px;
    object-fit: cover;
    border-radius: 0.7rem;
    cursor: pointer;
    background: #eee;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 10px;
  }
  .scene-item {
    width: 47vw;
    max-width: 220px;
    margin-bottom: 13px;
    text-align: center;
    font-size: 0.98rem;
    color: #333;
  }
  .scene-item p {
    font-size: 0.92rem;
    margin: 3px 0 0 0;
  }
  .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
  }
  .product-card {
    width: 45vw;
    max-width: 210px;
    min-width: 140px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 10px;
    text-align: center;
    padding: 12px 7px 13px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.18s;
  }
  .product-card img, .product-card i {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 7px;
    border-radius: 0.5rem;
    background: #f3f3f3;
  }
  .product-card h3 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: #1a425a;
    font-weight: 700;
  }
  .product-card p {
    font-size: 0.89rem;
    color: #5b768b;
    margin: 0;
    font-weight: 400;
  }
}

/* ==== 其它细节：去除多余间距 ==== */
@media screen and (max-width: 1000px) {
  .space_hx {
    display: none !important;
  }
}


/* 默认只显示PC端footer */
.footer-mobile { display: none !important; }
.footer-pc    { display: block !important; }

/* 手机端只显示手机footer */
@media (max-width: 1000px) {
  .footer-pc { display: none !important; }
  .footer-mobile { display: block !important; }
}

/* 移动端footer横向两栏，内容居中 */
@media screen and (max-width: 1000px) {
  .footer-mobile {
    background: #fff;
    padding: 20px 0 8px 0;
    width: 100vw;
    box-shadow: 0 -1px 6px rgba(0,0,0,0.08);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
  .footer-mobile-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 14px;
  }
  .footer-mobile-logo {
    width: 112px;
    max-width: 34vw;
    margin: 0 auto;
    display: block;
  }
  .footer-mobile-cols {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    width: 100vw;
    max-width: 100vw;
    padding: 0 10vw 0 10vw;
    box-sizing: border-box;
    margin-bottom: 12px;
  }
  .footer-mobile-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 48vw;
    text-align: left;
    font-size: 1rem;
    color: #333;
    padding: 0 5px;
  }
  .footer-mobile-col h4 {
    color: #1370a7;
    font-size: 1.09rem;
    margin: 8px 0 7px 0;
    font-weight: 600;
    letter-spacing: 1px;
  }
  .footer-mobile-col a {
    color: #006fcc;
    text-decoration: none;
    display: block;
    margin: 2px 0 2px 0;
    font-size: 0.99rem;
    padding-left: 2px;
  }
  .footer-mobile-col a:hover {
    text-decoration: underline;
    color: #00aaff;
  }
  .footer-mobile-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 18px 0 0 0;
    font-size: 1rem;
    color: #1370a7;
    flex-wrap: wrap;
    border-top: 1px solid #f0f0f0;
    margin: 0 7vw 0 7vw;
  }
  .footer-mobile-contact-row span {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .footer-mobile-contact-row i {
    color: #00aaff;
    font-size: 1.1em;
  }
  .footer-bottom {
    width: 100vw;
    text-align: center;
    color: #aaa;
    font-size: 0.93rem;
    margin-top: 14px;
    padding-bottom: 10px;
  }
}

/* 超小屏一列排布 */
@media screen and (max-width: 500px) {
  .footer-mobile-cols {
    padding: 0 4vw;
  }
  .footer-mobile-col {
    max-width: 98vw;
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    align-items: flex-start;
    padding: 0 2px;
  }
  .footer-mobile-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
  }
}
.header-pc  { display: block; }
.header-app { 
	display: none; 
	width:100%; 
	margin:0px auto;
	 position:relative; 
	 overflow:hidden;
	 background-color: white;
	
}


/* 手机端只显示老header */
@media (max-width: 1000px) {
	#sc1 {
		width: 350px !important;   /* 你想要的宽度 */
		    max-width: 90vw !important; /* 防止超屏 */
		    height: auto !important;    /* 保证不变形 */
	  }
	  #sc2 {
	  	width: 320px !important;   /* 你想要的宽度 */
	  	    max-width: 90vw !important; /* 防止超屏 */
	  	    height: auto !important;    /* 保证不变形 */
			margin-left: 0px !important;
	    }
		#sc3{
			width: 350px !important;   /* 你想要的宽度 */
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
		}
		#sc4{
			width: 310px !important;   /* 你想要的宽度 */
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
		}
		#sc5{
			width: 310px !important;   /* 你想要的宽度 */
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-left: 0px !important;
		}
		#sc6{
			width: 310px !important;   /* 你想要的宽度 */
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-left: 0px !important;
		}
		#sc7{
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
		#sc8{
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
		#sc9{
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
		#sc10{
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
		#sc11{
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
		#sc12{
			width: 310px !important;   /* 你想要的宽度 */
			    max-width: 90vw !important; /* 防止超屏 */
			    height: auto !important;    /* 保证不变形 */
					margin-top: 100px !important;
		}
  .header-pc  { display: none !important; }
  .header-app { display: block !important; }
}