/* 在线咨询表单板块样式 */
.consultation-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #f5f7fa 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.consultation-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e3f2fd, transparent);
}

.consultation-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

/* 左侧信息卡片 */
.consultation-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  background: white;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e3f2fd;
  transition: all 0.4s ease;
}

.info-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(21, 101, 192, 0.15);
  border-color: #42a5f5;
}

.info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
}

.info-icon svg {
  width: 35px;
  height: 35px;
  stroke: #1565c0;
  transition: stroke 0.4s ease;
}

.info-card:hover .info-icon svg {
  stroke: white;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 24px;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 8px;
  line-height: 1.4;
}

.info-card span {
  font-size: 14px;
  color: #757575;
}

/* 右侧表单 */
.consultation-form {
  background: white;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e3f2fd;
  position: relative;
  overflow: hidden;
}

.consultation-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1565c0 0%, #42a5f5 50%, #64b5f6 100%);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1565c0;
  margin-bottom: 12px;
}

.form-group label svg {
  width: 20px;
  height: 20px;
  stroke: #42a5f5;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e3f2fd;
  border-radius: 12px;
  font-size: 15px;
  color: #424242;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #42a5f5;
  background: white;
  box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2342a5f5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 50px;
}

.submit-btn {
  width: 100%;
  padding: 18px 40px;
  background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

.form-tip {
  text-align: center;
  font-size: 13px;
  color: #9e9e9e;
  margin-top: 20px;
}

/* 动画效果 */
.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
  .consultation-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .consultation-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .consultation-section {
    padding: 80px 0;
  }

  .consultation-form {
    padding: 35px 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-group {
    margin-bottom: 25px;
  }

  .info-card {
    padding: 30px 25px;
  }

  .info-card p {
    font-size: 20px;
  }
}
