*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 1200px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

img{
  max-width: 100%;
}

/* ================= 导航 ================= */
.navbar{
  background-color: rgb(0, 132, 183);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9999;
}

.nav-container{
  width: 1200px;
  display: flex;
  align-items: center;
}

.logo{
  height: 58px;
  display: block;
}

.nav-menu{
  display: flex;
  margin-left: auto;
  gap: 40px;
  align-items: center;
}

.nav-item{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  height: 100px;
}

.nav-item:hover{
  opacity: .85;
}

/* ================= 下拉菜单 ================= */
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 99999;
}

.dropdown-menu::before{
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 100%;
  height: 8px;
}

.dropdown-item{
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-top: 1px solid #f2f2f2;
}

.dropdown-item:hover{
  background: #f6f8fa;
  color: rgb(0,132,183);
}

.nav-dropdown:hover .dropdown-menu{
  display: flex;
}

/* ================= 横幅 ================= */
.page-banner{
  width: 100%;
  min-width: 1200px;
  overflow: hidden;
}

.page-banner img{
  width: 100%;
  height: auto;
  display: block;
}

/* ================= 面包屑 ================= */
.breadcrumb{
  width: 1200px;
  margin: 18px auto 22px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a{
  text-decoration: none;
  color: rgb(0,132,183);
}

.bc-split{
  margin: 0 6px;
  color: #999;
}

.bc-current{
  color: #c00;
}

/* ================= 主体布局 ================= */
.message-wrapper{
  width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

/* 左侧栏 */
.message-sidebar{
  width: 300px;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-box{
  border: 1px solid #eee;
  padding: 28px 28px 30px;
  background: #fff;
}

.message-sidebar .side-box:first-child{
  min-height: 235px;
}

.side-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.side-line{
  height: 1px;
  background: #e5e5e5;
  margin-top: 22px;
}

/* 联系方式卡片 */
.contact-box p{
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

.contact-img{
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

/* 右侧内容 */
.message-content{
  flex: 1;
  min-width: 0;
}

.message-title{
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.message-subtitle{
  font-size: 14px;
  color: #777;
  font-weight: 400;
  margin-left: 8px;
}

/* 表单 */
.message-form{
  margin-top: 52px;
}

.form-row{
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-label{
  width: 118px;
  padding-right: 20px;
  text-align: right;
  font-size: 16px;
  line-height: 46px;
  color: #111;
  flex: 0 0 auto;
}

.form-field{
  flex: 1;
  position: relative;
}

.form-field.required::after{
  content: "*";
  position: absolute;
  top: 2px;
  right: -14px;
  color: #e33;
  font-size: 20px;
  line-height: 1;
}

.form-input,
.form-textarea{
  width: 100%;
  border: 1px solid #d7d7d7;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  background: #fff;
}

.form-input{
  height: 46px;
  padding: 0 14px;
}

.form-textarea{
  height: 190px;
  padding: 12px 14px;
  resize: none;
  line-height: 1.8;
}

.form-input:focus,
.form-textarea:focus{
  border-color: #bcbcbc;
}

/* 验证码 */
.captcha-wrap{
  display: flex;
  align-items: center;
  gap: 18px;
}

.captcha-input{
  width: 46%;
  min-width: 220px;
  flex: 0 0 auto;
}

.captcha-box{
  width: 130px;
  height: 46px;
  border: 1px solid #cc9c87;
  background:
    linear-gradient(135deg, rgba(190,120,80,.08) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, rgba(190,120,80,.08) 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(315deg, rgba(190,120,80,.06) 25%, transparent 25%) 0 0/20px 20px,
    linear-gradient(45deg, rgba(190,120,80,.06) 25%, transparent 25%) 0 0/20px 20px,
    #fff7f2;
  color: #b16d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  letter-spacing: 6px;
  user-select: none;
  font-family: Georgia, serif;
  flex: 0 0 auto;
}

.captcha-change{
  white-space: nowrap;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}

.captcha-change:hover{
  color: rgb(0,132,183);
}

/* 同意条款 */
.agree-row{
  margin: 6px 0 18px 118px;
}

.agree-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.agree-label input{
  margin: 0;
}

.agree-label a{
  color: #6aa0d8;
  text-decoration: none;
}

.agree-label a:hover{
  text-decoration: underline;
}

/* 按钮 */
.form-actions{
  margin-left: 118px;
  display: flex;
  gap: 16px;
}

.btn-submit,
.btn-reset{
  width: 360px;
  height: 50px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  transition: opacity .2s ease;
}

.btn-submit{
  background: #c90000;
}

.btn-reset{
  background: #d77474;
}

.btn-submit:hover,
.btn-reset:hover{
  opacity: .9;
}

/* ================= 底部模块 ================= */
.footer-section{
  width: 100%;
  min-width: 1200px;
  background: rgb(0,132,183);
  padding-top: 28px;
  padding-bottom: 20px;
}

.footer-container{
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1.4fr 1fr 1.2fr 120px;
  gap: 22px;
  align-items: start;
  color: #fff;
}

.footer-logo img{
  width: 84px;
  display: block;
}

.footer-qrcode img{
  width: 110px;
  display: block;
  background: #fff;
  padding: 5px;
}

.footer-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-col p{
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.95;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li{
  margin-bottom: 10px;
  font-size: 13px;
  transition: opacity .2s ease;
}

.footer-list li:hover{
  opacity: 0.85;
}

.footer-btn{
  margin-top: 8px;
  width: 120px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all .25s ease;
}

.footer-btn:hover{
  background: #fff;
  color: rgb(0,132,183);
}

.footer-divider{
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin-top: 18px;
}

.footer-bottom-wrap{
  width: 100%;
}

.footer-bottom{
  width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left p{
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
}

.footer-beian{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-beian a{
  color: #fff;
  text-decoration: none;
}

.footer-beian a:hover{
  text-decoration: underline;
}

.footer-gongan{
  display: inline-flex;
  align-items: center;
}

.footer-gongan img{
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.footer-bottom-right a{
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.footer-bottom-right a:hover{
  text-decoration: underline;
}
