.contact-outer {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px 64px;
}

.contact-intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.contact-success {
  background: var(--young-bg);
  border: 2px solid var(--brand);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--young-text);
  margin-bottom: 24px;
}
.contact-success:empty { display: none; }

.contact-error {
  background: var(--adv-bg);
  border: 2px solid var(--adv-text);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--adv-text);
  margin-bottom: 16px;
}
.contact-error:empty { display: none; }

.contact-field {
  margin-bottom: 20px;
}
.contact-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color .15s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--brand);
}
.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-field-error {
  display: block;
  font-size: 12px;
  color: var(--adv-text);
  margin-top: 4px;
}
.contact-field-error:empty { display: none; }

.contact-submit {
  width: 100%;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.contact-submit:hover { background: var(--brand-dark); transform: translateY(-1px); }
.contact-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
