/* ==================================================
   КОНТАКТ-ФОРМА
   ================================================== */

.contact-main {
  max-width: 640px;
  margin: 36px auto 0;
}

.contact-card {
  padding: 24px 26px 30px;
  border-left: 5px solid #71858a;
  background-color: #eef2f1;
}

.contact-card h1 {
  margin: 0 0 24px;
  color: #2c2c2c;
  font-size: 2rem;
  line-height: 1.25;
  text-align: left;
}

.contact-intro {
  margin: 0 0 24px;
}

.contact-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #2c2c2c;
  font-weight: bold;
}

.required {
  color: #8b4545;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  color: #333333;
  background: #fffdfb;
  border: 1px solid #b9c3c4;
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #71858a;
  outline-offset: 1px;
}

.form-actions {
  margin-top: 24px;
}

.form-actions button {
  padding: 11px 20px;
  color: #fffdfb;
  background: #8b4545;
  border: none;
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  cursor: pointer;
}

.form-actions button:hover {
  background: #6f3636;
}

/* Скриено honeypot поле против спам */

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Пораки за успех и грешка */

.alert {
  margin: 0 0 22px;
  padding: 14px 16px;
}

.alert p {
  margin: 0;
}

.alert-success {
  border-left: 4px solid #71858a;
  background: #ffffff;
}

.alert-error {
  border-left: 4px solid #8b4545;
  background: #f4eeee;
}

/* Мобилен приказ */

@media (max-width: 600px) {
  .contact-main {
    margin-top: 24px;
  }

  .contact-card {
    padding: 20px 18px 24px;
  }

  .contact-card h1 {
    font-size: 1.8rem;
  }
}