/* acevoz.com's Contact page (#3168, a form since #3195). The canvas draws
   no Contact board, so this is the Find a teacher page's type on one short
   card, with the Notify me page's fields. Tokens and fonts come from
   site-brand.css (#3006); every rule is under .contact. */

.contact {
  display: block;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  padding: 40px 16px 72px;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.contact h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.contact p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-lede);
  margin: 16px 0 0;
}

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

.contact a { color: var(--color-secondary-strong); }

.contact .contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.contact .contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact .contact-field label { font-weight: 700; font-size: 14px; }

.contact .contact-field input,
.contact .contact-field textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-line-strong);
  border-radius: 12px;
  background: var(--color-bg);
  color: var(--color-text);
  width: 100%;
  box-sizing: border-box;
}

.contact .contact-field textarea { resize: vertical; min-height: 140px; }

.contact .contact-field input:focus,
.contact .contact-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--focus-ring);
}

.contact .contact-error {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-error-strong);
}

.contact .contact-button {
  align-self: flex-start;
  background: var(--color-button);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  min-height: 52px;
  cursor: pointer;
}

.contact .contact-button:hover { background: var(--color-button-hover); }
.contact .contact-button:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.contact .contact-success {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-success-soft);
  border: 1px solid var(--color-success-strong);
  border-radius: 20px;
  padding: 16px 20px;
  margin-top: 24px;
  color: var(--color-success-strong);
}

.contact .contact-success svg { flex: none; margin-top: 2px; }
.contact .contact-success p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: inherit;
}

/* The honeypot: off-screen for people, filled in by naive bots. */
.contact .hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .contact { padding-top: 72px; }
  .contact-card { padding: 48px; }
}
