/* 联系我们 + 在线留言 合并页面样式 - 统一配色版 */

/* 内页大图标题样式 */
.contact-banner {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
}

.contact-title {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.contact-title h1 {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-title p {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 15px;
}

.contact-line {
  width: 50px;
  height: 3px;
  background: #fff;
  margin: 0 auto;
  border-radius: 2px;
}

/* 左右布局卡片 */
.contact-combined-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 50px auto;
  display: flex;
  max-width: 1100px;
  min-height: 480px;
}

/* 左侧：公司信息 */
.contact-left {
  width: 42%;
  background: var(--colour1);
  padding: 45px 35px;
  color: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.company-header h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.company-slogan {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.company-intro {
  margin-bottom: 25px;
}

.company-intro p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.9;
}

.contact-info-list {
  margin-bottom: 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.info-item:hover .info-icon {
  background: rgba(255,255,255,0.9);
  transform: scale(1.1);
}

.info-item:hover .info-icon i {
  color: var(--colour1);
}

.info-icon i {
  font-size: 16px;
  color: #fff;
  transition: all 0.3s ease;
}

.info-text {
  flex: 1;
  padding-top: 2px;
}

.info-text span {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-text strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* 右侧：留言表单 */
.contact-right {
  width: 58%;
  padding: 45px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fafbfc;
}

.simple-form {
  width: 100%;
}

.form-item {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e4e8;
  transition: all 0.3s ease;
  overflow: hidden;
}

.form-item:hover,
.form-item:focus-within {
  border-color: var(--colour1);
  box-shadow: 0 2px 8px rgba(6,153,231,0.15);
}

.form-item label {
  width: 44px;
  height: 44px;
  background: #f5f7fa;
  border-right: 1px solid #e0e4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--colour1);
  font-size: 15px;
  flex-shrink: 0;
}

.form-item input[type="text"],
.form-item textarea {
  flex: 1;
  padding: 11px 14px;
  border: none;
  font-size: 14px;
  color: #333;
  background: transparent;
  box-sizing: border-box;
}

.form-item input[type="text"]::placeholder,
.form-item textarea::placeholder {
  color: #aab2bd;
}

.form-item input[type="text"]:focus,
.form-item textarea:focus {
  outline: none;
}

.form-item textarea {
  resize: none;
  min-height: 85px;
  font-family: inherit;
  line-height: 1.5;
}

/* 验证码 */
.verify-item {
  background: transparent;
  border: none;
  box-shadow: none;
}

.verify-item:hover,
.verify-item:focus-within {
  border-color: transparent;
  box-shadow: none;
}

.verify-item .form-item {
  flex: 1;
  margin-bottom: 0;
}

.verify-item input {
  width: auto !important;
  flex: 1 !important;
}

.verify-item img {
  height: 44px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #e0e4e8;
  background: #fff;
}

/* 提交按钮 */
.submit-btn {
  width: 100%;
  background: var(--colour1);
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: var(--colour2);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(6,153,231,0.3);
}

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

/* 响应式 */
@media (max-width: 992px) {
  .contact-combined-card {
    flex-direction: column;
    margin: 30px auto;
  }
  
  .contact-left,
  .contact-right {
    width: 100%;
  }
  
  .contact-left {
    padding: 35px 25px;
  }
  
  .contact-right {
    padding: 35px 25px;
  }
  
  .contact-banner {
    height: 250px;
  }
  
  .contact-title h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .contact-combined-card {
    margin: 20px auto;
    border-radius: 8px;
  }
  
  .contact-left,
  .contact-right {
    padding: 25px 20px;
  }
  
  .company-header h2 {
    font-size: 22px;
  }
  
  .info-item {
    margin-bottom: 15px;
  }
  
  .info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin-right: 12px;
  }
  
  .info-icon i {
    font-size: 14px;
  }
  
  .info-text strong {
    font-size: 14px;
  }
  
  .form-item label {
    width: 40px;
    height: 42px;
  }
  
  .form-item input[type="text"],
  .form-item textarea {
    padding: 10px 12px;
  }
  
  .verify-item img {
    height: 42px;
  }
}
