.page-header {
  position: relative;
}
.test-font {
  font-size: 5.20833333vw;
}
.page-header .container {
  z-index: 2;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}
.plan-container {
  background-color: #111;
  position: relative;
  margin: 0 auto;
}
/* 表单区域 */
.plan-form-section {
  display: flex;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}
.plan-image-section {
  position: absolute;
  width: 40%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 0.6));
}
.plan-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) contrast(1.2);
}
.plan-form-container {
  padding: 8vw 0 5.16vw 0;
  flex-direction: column;
  justify-content: center;
}
.plan-form-container .plan-form-container-lt {
  width: 42%;
  display: inline-block;
}
.plan-form-container .plan-form-container-rt {
  width: 57%;
  display: inline-block;
  vertical-align: top;
}
@media (max-width: 750px) {
  .plan-form-container .plan-form-container-lt {
    width: 100%;
    height: 400px;
  }
  .plan-form-container .plan-form-container-rt {
    width: 100%;
    margin-top: 0.8rem;
    padding: 0;
  }
  .contact-us .plan-form-container .plan-form-container-lt {
    height: auto;
  }
}
.plan-form-header .titles {
  color: #fff;
}
.plan-form-header p {
  color: #ccc;
  line-height: 1.6;
}
/* 表单样式 */
#plan-contact-form {
  margin-top: 3vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plan-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.plan-input-group {
  position: relative;
  margin-bottom: 1.3vw;
}
@media (max-width: 1200px) {
  .plan-input-group {
    margin-bottom: 20px;
  }
}
.plan-form-input,
.plan-form-select,
.plan-form-textarea {
  width: 100%;
  padding: 0 0 14px 0;
  border: none;
  border-bottom: 1px solid #333;
  background: transparent;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
  color: #fff;
}
.plan-form-input:focus,
.plan-form-select:focus,
.plan-form-textarea:focus {
  border-bottom-color: #1976d2;
}
.plan-form-input::placeholder,
.plan-form-textarea::placeholder {
  color: #999;
}
.plan-form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cccccc'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3e%3c/path%3e%3c/svg%3e");
  background-position: right 0px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding-right: 30px;
  cursor: pointer;
  appearance: none;
}
.plan-form-select {
  color: #999;
  /* placeholder 颜色 */
}
.plan-form-select:valid {
  color: #fff;
  /* 选择后的正常文字颜色 */
}
.plan-form-select option {
  color: #fff;
  /* 选项的正常颜色 */
}
.plan-form-select option:first-child {
  color: #999;
  /* placeholder 选项颜色 */
}
/* 验证码容器 */
.plan-captcha-container {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #333;
  transition: border-color 0.3s ease;
}
.plan-captcha-container:focus-within {
  border-bottom-color: #1976d2;
}
.plan-captcha-input {
  flex: 1;
  padding: 0 0 14px 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: #fff;
}
.plan-captcha-canvas {
  margin-left: 12px;
  margin-bottom: -2px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.plan-captcha-canvas:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* 手机验证码容器 */
.plan-phone-code-container {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid #333;
  transition: border-color 0.3s ease;
}
.plan-phone-code-container:focus-within {
  border-bottom-color: #1976d2;
}
.plan-phone-code-input {
  flex: 1;
  border: none !important;
  border-bottom: none !important;
  padding: 0 0 14px 0;
  background: transparent;
}
.plan-send-code-btn {
  background-color: transparent;
  color: #666;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 12px;
  margin-bottom: 14px;
  white-space: nowrap;
  font-family: inherit;
}
.plan-send-code-btn:hover:not(:disabled) {
  color: #fff;
}
.plan-send-code-btn:disabled {
  cursor: not-allowed;
  transform: none;
}
/* 提交按钮 */
.plan-submit-btn {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100px;
  height: 50px;
  border-radius: 50px;
  background: #007FC6;
  color: #fff;
  font-size: 16px;
}
.plan-submit-btn:hover:not(:disabled) {
  background: #1565c0;
  transform: translateY(-1px);
}
.plan-submit-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}
/* 错误提示 */
.plan-error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
}
.plan-error-message.show {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}
/* 错误状态 */
.plan-form-input.error,
.plan-form-select.error,
.plan-form-textarea.error {
  border-bottom-color: #ef4444;
}
.plan-captcha-container.error {
  border-bottom-color: #ef4444;
}
/* 响应式设计 */
@media (max-width: 750px) {
  .plan-form-section {
    flex-direction: column;
  }
  .plan-image-section {
    width: 100%;
    height: 400px;
  }
  .plan-form-row {
    grid-template-columns: 1fr;
  }
  .plan-form-header h1 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .plan-form-container {
    padding: 20px 0px;
  }
  .plan-captcha-container {
    flex-direction: column;
    align-items: stretch;
  }
  .plan-captcha-canvas {
    margin-left: 0;
    margin-top: 12px;
    align-self: center;
  }
  .plan-phone-code-container {
    flex-direction: column;
    align-items: stretch;
  }
  .plan-send-code-btn {
    margin-left: 0;
    margin-top: 12px;
    align-self: center;
    width: auto;
  }
}
/* 联系我们 */
.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.contact-content {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  overflow: hidden;
}
.left-section {
  flex: 1;
  padding: 60px 50px;
  background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80') center / cover no-repeat;
  position: relative;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.left-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
}
.left-section > * {
  position: relative;
  z-index: 2;
}
.title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.subtitle {
  font-size: 20px;
  margin-bottom: 10px;
  opacity: 0.9;
}
.description {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.8;
}
.right-section {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}
.icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 20px;
  flex-shrink: 0;
  color: #ccc;
  position: relative;
}
.phone-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}
.email-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}
.location-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
}
.contact-info {
  flex: 1;
  padding-top: 8px;
  text-align: right;
}
.contact-text {
  font-size: 16px;
  font-weight: normal;
  color: #fff;
}
.address-line {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.6;
}
.address-line:last-child {
  margin-bottom: 0;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    margin: 20px;
  }
  .left-section {
    padding: 40px 30px;
    text-align: center;
  }
  .title {
    font-size: 36px;
  }
  .right-section {
    padding: 40px 30px;
    gap: 30px;
  }
  .contact-item {
    gap: 15px;
  }
  .icon {
    width: 40px;
    height: 40px;
  }
  .phone-icon::before,
  .email-icon::before,
  .location-icon::before {
    width: 16px;
    height: 16px;
  }
  .contact-text {
    font-size: 16px;
  }
  .address-line {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .contact-container {
    padding: 20px 10px;
  }
  .left-section,
  .right-section {
    padding: 30px 20px;
  }
  .title {
    font-size: 28px;
  }
  .subtitle {
    font-size: 18px;
  }
  .description {
    font-size: 14px;
  }
}
