/* Contact Us lead form - additive styles only, built on the site's existing
   design tokens (Manrope type, #313863 navy, #2051ff brand blue, #e9e9e9
   borders, pill-shaped gradient buttons). Does not modify vendor.css or
   alistee.css. */

.contact-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 20px 96px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 40px;
}

.contact-hero h1 {
  color: #313863;
  font-family: Manrope, sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 16px 0 12px;
}

.contact-dek {
  color: #404040;
  font-family: Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row > label {
  color: #313863;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.form-row .req {
  color: #e0433c;
  margin-left: 2px;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row textarea {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  color: #333;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 13px 16px;
  background-color: #fff;
  outline: none;
  transition: border-color .15s;
}

.form-row input[type="text"]:focus,
.form-row input[type="tel"]:focus,
.form-row textarea:focus {
  border-color: #2051ff;
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
  font-family: Manrope, sans-serif;
}

.field-error {
  display: block;
  color: #e0433c;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  min-height: 16px;
}

.requirement-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: inline-flex;
  align-items: center;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2051ff;
  background-color: #f0f4ff;
  border: 1px solid #dbe4ff;
  border-radius: 40px;
  padding: 10px 18px;
  transition: background-color .15s, color .15s, border-color .15s;
}

.chip input:checked + span {
  background-image: linear-gradient(#2b62f2, #204ab7);
  color: #fff;
  border-color: transparent;
}

.chip input:focus-visible + span {
  outline: 2px solid #2051ff;
  outline-offset: 2px;
}

.contact-submit-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(#2b62f2, #204ab7);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 40px;
  padding: 14px 34px;
  margin-top: 8px;
}

.contact-submit-button:disabled {
  opacity: .6;
  cursor: default;
}

.form-note {
  color: #8e929d;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  margin: 0;
}

.contact-success {
  text-align: center;
  background: linear-gradient(100deg, #eef1ff, #e6fbff);
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  padding: 48px 32px;
}

.contact-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #2051ff;
  color: #fff;
  font-size: 26px;
  margin: 0 auto 16px;
}

.contact-success h2 {
  color: #313863;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
}

.contact-success p {
  color: #404040;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  margin: 0;
}

.contact-error-banner {
  background-color: #fff2f1;
  border: 1px solid #ffd6d3;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 4px;
}

.contact-error-banner p {
  color: #b3261e;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  margin: 0;
}

.contact-error-banner a {
  color: #b3261e;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .contact-hero h1 {
    font-size: 28px;
  }

  .contact-shell {
    padding: 40px 20px 72px;
  }
}
