:root {
  --color-primary: #31443a !important;
  --color-secondary: #93a87e !important;
  --color-accent: #c49b4f !important;
  --kt-graphite: #202522;
  --kt-sage: #93a87e;
  --kt-gold: #c49b4f;
  --kt-ivory: #f6f2e8;
  --kt-terracotta: #ad604b;
}
html, body { background: var(--kt-ivory) !important; }
.bg-primary, footer, .footer { background-color: var(--kt-graphite) !important; }
.text-primary { color: var(--kt-graphite) !important; }
.border-primary { border-color: var(--kt-sage) !important; }
[type="submit"], .submit, .btn, .button {
  background: var(--kt-gold) !important;
  border-color: var(--kt-gold) !important;
  color: #202522 !important;
}
[type="submit"]:hover, .submit:hover, .btn:hover, .button:hover {
  background: var(--kt-terracotta) !important;
  border-color: var(--kt-terracotta) !important;
  color: #fff !important;
}
input, textarea, select { border-color: rgba(49, 68, 58, .28) !important; }
body.landing-page-contacts form input:not([type="hidden"]),
body.landing-page-contacts form textarea,
body.landing-page-contacts form select,
body.landing-page-contacts form .iti input[type="tel"] {
  background: #fff !important;
  background-color: #fff !important;
  color: #202522 !important;
}
body.landing-page-contacts form input::placeholder,
body.landing-page-contacts form textarea::placeholder {
  color: rgba(32, 37, 34, .58) !important;
  opacity: 1 !important;
}
.absolute.\-z-10 {
  z-index: 0 !important;
  opacity: .28;
}
.apx-lead {
  width: min(100%, 520px);
  margin: 24px auto !important;
}
.apx-lead-form {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}
.apx-lead-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.apx-lead-form input:not([type="hidden"]),
.apx-lead-form select,
.apx-lead-form textarea {
  width: 100% !important;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(49, 68, 58, .22) !important;
  border-radius: 4px;
  background: #fff !important;
  color: #202522;
  font-size: 16px;
  line-height: 1.2;
  box-sizing: border-box;
}
.apx-lead-form .iti {
  width: 100% !important;
}
.apx-lead-form .iti input[type="tel"] {
  padding-left: 92px !important;
}
.apx-lead-form button[type="submit"],
.apx-lead-form .submit {
  width: 100% !important;
  min-height: 52px;
  border-radius: 6px;
  font-weight: 800;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .apx-lead {
    width: 100%;
    margin: 20px auto !important;
  }
  .apx-lead-row {
    grid-template-columns: 1fr;
  }
}
