/* Общий стиль формы */
.wpcf7 form {
  display: flex;
  width: 100%;
  flex-direction: column;
}

/* Подписи (label) */
.contact-form label {
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Текстовые поля и textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 16px;
  color: #222;
  background: transparent;
  outline: none;
  resize: none;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #999;
}

/* Кнопка */
.wpcf7 input[type="submit"] {
  align-self: flex-end;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid #222;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
  border-radius: 5px;
}

.wpcf7 input[type="submit"]:hover {
  background: #222;
  color: #fff;
}