/* =========================================================
   footer.html 组件样式（在线留言表单 + 页脚）
   从 /footer.html 抽取，集中管理，供全站页面复用
   ========================================================= */

/* 组件依赖的基础布局类（footer.html 原依赖外部定义，这里补齐） */
.constrain {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.f-end {
  justify-content: flex-end;
}

/* ===================== 在线留言表单 ===================== */
.sec-7 { position: relative; z-index: 2; padding: 50px 0; background-color: #f7f7f7; }
.sec-7 .title { margin-bottom: 24px; }
.sec-7 h2 { font-size: clamp(24px, 3vw, 32px); color: #1f2937; font-weight: 700; }
.new_form { width: 100%; }
.new_form form::after { content: ""; display: table; clear: both; }
.new_form p.nf_input { float: left; width: 49%; margin-right: 2%; margin-bottom: 20px; position: relative; }
.new_form p.nf_input:nth-of-type(2) { margin-right: 0; }
.new_form p.nf_input input { width: 100%; background-color: #fff; font-size: 16px; height: 50px; border-radius: 5px; padding: 0 25px; box-sizing: border-box; border: 1px solid #e5e7eb; transition: border-color .2s, box-shadow .2s; }
.new_form p.nf_input input:focus { outline: none; border-color: #e5e7eb;}
.new_form p.nf_input span { position: absolute; top: 0; left: 10px; color: red; display: inline-block; line-height: 50px; }
.new_form p.nf_text { float: left; width: 100%; margin-bottom: 20px; position: relative; }
.new_form p.nf_text textarea { width: 100%; background-color: #fff; font-size: 16px; height: 100px; border-radius: 5px; border: 1px solid #e5e7eb; padding: 10px 25px; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.new_form p.nf_text textarea:focus { outline: none; border-color: #e5e7eb; }
.new_form p.nf_btn { text-align: center; clear: both; }
.new_form p.nf_btn input { border: 1px solid #1d4ed8; width: 421px; height: 48px; background: #027AFF; padding: 0 48px; height: 50px; color: #fff; font-size: 18px; border-radius: 5px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.new_form p.nf_btn input:hover { transform: translateY(-2px); }

/* ===================== Footer ===================== */
footer {
  padding: 60px 0;
  background-color: #182335;
  color: #fff;
}

footer .constrain {
  height: 300px;
}

footer .constrain > div {
  padding: 10px 0;
}

footer .constrain > div > img {
	height: 52px;
}

footer .left {
  flex: 3;
}
footer .left p {
  font-size: 0.8rem;
  color: #78808d;
  padding: 5px 0;
}

footer .left p img {
  position: relative;
  top: 3px;
  margin-right: 5px;
}

footer .left .contact {
  padding: 30px 0;
}

footer .left .qr p {
  font-size: 0.9rem;
  color: #78808d;
	text-align: center;
}

footer .left .qq {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 15px 0 0 50px;
}

footer .left .qq img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

footer .mid {
  flex: 6;
  display: flex;
  justify-content: space-around;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  border-bottom: none;
}

footer .mid h3 {
  padding-bottom: 10px;
}

footer .mid a {
  display: block;
  color: #78808d;
  margin: 20px 0;
	transition: all .3s;
}

footer .mid a:hover{
	color: #fff;
	text-shadow: 0 0 5px #2374E7;
}

/* SaaS软件：两列链接布局 */
footer .mid .saas-links {
  gap: 24px;
}
footer .mid .saas-links > div {
  flex: 1;
  min-width: 0;
}

footer .right {
  flex: 3;
  text-align: right;
}

footer .right .phone {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

footer .right .phone img {
  display: inline;
  margin-right: 10px;
}

footer .right .phone h3 {
  font-size: 1.1rem;
}

footer .right .phone h3 b {
  font-size: 1.4rem;
}

footer .right .time {
  padding: 10px 0 50px;
}

footer .right p {
  color: #78808d;
  position:relative;
  display: flex;
  justify-content: flex-end
}
footer .right p span{
	color: red;
	position:absolute;
	top:10px;
	left:55px;
	z-index:3;
	display:inline-block;
	line-height:30px;
}
footer .right p img {
  position: relative;
  top: 3px;
  margin-right: 5px;
  width: 15px;
  height: 15px;
}
footer .right p input{
	border:1px #CCC solid;
	width: 300px;
    height: 30px;
	font-size: 16px;
    color: #fff;
	padding: 0 15px;
	background-color: #182335;
}
footer .right p textarea{
	border:1px #CCC solid;
	width: 300px;
    height: 76px;
	padding: 8px 15px;
	background-color: #182335;
	font-size: 16px;
	color:#fff;
}
footer .right p .submit{
	border: 1px #00F solid;
    width: 90px;
    height: 30px;
    background: #00F;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
}

footer .link{color: #78808d; margin:0 5%; line-height:30px;}
footer .link a{color: #78808d;}
footer .link a:hover{color: #fff;}
