/* Lead Form Styles */
.lead-form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lead-form h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  color: #2C3D50;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.form-intro {
  color: #6B7280;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-progress {
  height: 4px;
  background: #E5E5E5;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #C17B39 0%, #9CAF88 100%);
  width: 0;
  transition: width 0.3s ease;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #2C3D50;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #E5E5E5;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #C17B39;
  box-shadow: 0 0 0 3px rgba(193, 123, 57, 0.1);
}

.form-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.form-group.half {
  flex: 1;
  min-width: 0;
}

.optional {
  color: #9CAF88;
  font-size: 0.85rem;
  font-weight: normal;
}

.trust-indicators {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  flex-wrap: wrap;
}

.trust-indicators .indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6B7280;
  font-size: 0.85rem;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.trust-indicators svg {
  color: #9CAF88;
  flex-shrink: 0;
}

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #C17B39 0%, #a06530 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-sizing: border-box;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(193, 123, 57, 0.3);
}

.button-subtext {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}

.privacy-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.privacy-note svg {
  color: #9CAF88;
}

.form-testimonial {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-content p {
  font-size: 0.9rem;
  color: #495057;
  font-style: italic;
  margin: 0 0 0.5rem 0;
}

.testimonial-content cite {
  font-size: 0.85rem;
  color: #6B7280;
  font-style: normal;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  color: #9CAF88;
  margin-bottom: 1rem;
}

.form-success h3 {
  color: #2F4B3B;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.success-note {
  color: #9CAF88;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .lead-form {
    padding: 1.25rem;
  }
  
  .lead-form h3 {
    font-size: 1.25rem;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .form-group.half {
    width: 100%;
  }
  
  .trust-indicators {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
  }
  
  .trust-indicators .indicator {
    justify-content: flex-start;
    width: 100%;
  }
  
  .form-testimonial {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-avatar {
    margin: 0 auto;
  }
  
  .submit-button {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .form-group input,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .lead-form {
    padding: 1rem;
  }
  
  .trust-indicators {
    font-size: 0.75rem;
  }
  
  .privacy-note {
    font-size: 0.75rem;
  }
}