/* Solutio Care — Contact page styles (extends style.css) */

/* ───────── back link in topbar ───────── */
.topbar .back {
  color: var(--ink-3);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .15s ease;
}
.topbar .back:hover { color: var(--ink); }

/* ───────── stage: contact has its own layout ───────── */
.contact-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 6vh, 64px) 0;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.contact-intro {
  width: 100%;
  margin-bottom: clamp(24px, 4vh, 40px);
}
.contact-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0 0 12px 0;
  color: var(--ink);
}
.contact-lede {
  font-family: var(--body);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ───────── form ───────── */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field label .hint {
  color: var(--ink-3);
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 6px;
}

.field input,
.field textarea {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 8px 0;
  outline: none;
  transition: border-color .15s ease;
  width: 100%;
  resize: vertical;
}
.field textarea {
  min-height: 140px;
  border: 1px solid var(--hair);
  padding: 12px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}

/* ───────── honeypot: off-screen but in DOM ───────── */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ───────── Turnstile widget: ensure spacing ───────── */
.cf-turnstile {
  margin: 4px 0;
}

/* ───────── submit button ───────── */
.submit-btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 14px 28px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
  align-self: flex-start;
}
.submit-btn:hover:not(:disabled) {
  background: var(--paper);
  color: var(--ink);
}
.submit-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ───────── status messages ───────── */
.status {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 1.5em;
  padding: 0;
}
.status.success {
  color: var(--ink);
  padding: 12px 14px;
  border-left: 3px solid var(--bordeaux);
  background: rgba(107, 31, 42, 0.04);
}
.status.error {
  color: var(--bordeaux);
  padding: 12px 14px;
  border-left: 3px solid var(--bordeaux);
  background: rgba(107, 31, 42, 0.04);
}

/* ───────── footer link on contact page ───────── */
.contact-intro + .contact-form ~ .footbar { margin-top: auto; }

/* ───────── responsive ───────── */
@media (max-width: 880px) {
  .topbar { grid-template-columns: 1fr; gap: 6px; text-align: center; }
  .topbar .l, .topbar .r { text-align: center; justify-content: center; }
  .contact-stage { padding: clamp(20px, 4vh, 40px) 0; }
}
