/* Shared lead-form field/button styling — used by both the inline lead form
   (sections/high/form-sec-section.html, wrapped in .form-sec) and the popup
   modal form (still inline in qalam-high.html, wrapped in .modal). Both forms
   share the class="lead-form" / class="field" / class="submit" markup.
   Depends on shared page tokens (--warm-gray, --dark-950, --line, --sans,
   --crimson-*, --text-light). */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-950);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.field input,
.field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: var(--warm-gray);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-950);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
.field input::placeholder {
  color: var(--text-light);
}
.field input:hover,
.field select:hover {
  border-color: var(--crimson-100);
}
.field input:focus,
.field select:focus {
  background: #fff;
  border-color: var(--crimson-600);
  box-shadow: 0 0 0 3px rgba(140, 26, 46, 0.1);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5 7 9 11 5' fill='none' stroke='%238C1A2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.lead-form .submit {
  width: 100%;
  background: var(--crimson-600);
  color: #fff;
  padding: 19px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(140, 26, 46, 0.28);
}
.lead-form .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(140, 26, 46, 0.42);
  background: var(--crimson-700);
}
.lead-form .submit:active {
  transform: translateY(0);
}
.lead-form .submit span {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .lead-form .submit {
    font-size: 15.5px;
    padding: 18px;
  }
}
