/* ========================================
   CONTACT FORM — AUTOHUB
   На синем/градиентном фоне
   ======================================== */

.contact_form > p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.contact_form > div > form > p > span > input,
.contact_form > div > form > p > span > textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 0.06rem solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: var(--text-light);
  font-family: "LT Superior", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.64rem;
  padding: 0.9rem 0;
}

.contact_form > div > form > p > span > input::placeholder,
.contact_form > div > form > p > span > textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact_form > div > form > p > span > input:focus,
.contact_form > div > form > p > span > textarea:focus {
  border-bottom-color: var(--text-light);
}

.contact_form > div > form > p > span > textarea {
  max-height: 7rem;
  resize: vertical;
}

/* Чекбокс + согласие */
.contact_form > div > form > p > span > span > span > label {
  display: flex;
  align-items: start;
  margin-bottom: 1rem;
}

.contact_form > div > form > p > span > span > span > label > input {
  margin-top: 0.3rem;
  margin-right: 0.8rem;
}

.contact_form
  > div
  > form
  > p
  > span
  > span
  > span
  > label
  > input[type="checkbox"] {
  width: 1rem;
  accent-color: var(--text-light);
}

.contact_form > div > form > p > span > span > span > label > span {
  width: 70%;
  font-size: 0.74rem;
  line-height: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}

/* Кнопка отправить */
.contact_form > div > form > p > input {
  border: 0.06rem solid var(--text-light);
  border-radius: var(--rounded-10);
  color: var(--text-light);
  background-color: transparent;
  font-family: "LT Superior", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.9rem 2.43rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact_form > div > form > p > input:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: scale(1.05);
}

/* Скрываем стандартный CF7 response */
.wpcf7 form .wpcf7-response-output {
  display: none !important;
}

/* ========================================
   MOBILE — 1024px
   ======================================== */

@media (max-width: 1024px) {
  .contact_form > div > form > p > span > input,
  .contact_form > div > form > p > span > textarea {
    width: 100%;
    padding: 1.5rem 0;
    font-size: 2rem;
  }

  .contact_form > div > form > p > span > input::placeholder,
  .contact_form > div > form > p > span > textarea::placeholder {
    font-size: 2rem;
  }

  .contact_form > div > form > p > input {
    width: 100%;
    font-size: 2rem;
    padding: 1.8rem 2.43rem;
    text-align: center;
    margin-bottom: 5rem;
  }

  .contact_form > div > form > p > span > span > span > label > span {
    width: auto;
    font-size: 1.6rem;
    line-height: 2rem;
    margin-top: 0.5rem;
  }

  .contact_form
    > div
    > form
    > p
    > span
    > span
    > span
    > label
    > input[type="checkbox"] {
    width: 2rem;
  }
}
