/* ──────────────────────────────────────────────────────────────
   Haven Contact Form — Send us a Message
   Updated to match haven-auth input styling (labels above,
   glacier/200 borders, 8px radius, consistent spacing)
   ────────────────────────────────────────────────────────────── */

.hcf {
  background-color: #e9edf6; /* glacier/100 */
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
  box-sizing: border-box;
}

/* ── Section header ───────────────────────────────────────── */
.hcf__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 792px;
  width: 100%;
  margin-bottom: 32px;
}

.hcf__eyebrow {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #626e8b; /* glacier/700 */
  margin: 0;
}

.hcf__heading {
  font-family: 'Conso Serif', Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 40px;
  color: #313745; /* glacier/900 */
  margin: 0;
}

/* ── Card ─────────────────────────────────────────────────── */
.hcf__card {
  background-color: #fefefd; /* ivory/100 */
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

.hcf__form-label {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #545a6d; /* shale/base */
  text-align: center;
  margin: 0;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 1px solid #dbe1ef; /* glacier/200 */
}

.hcf__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* ── Standard labels-above field (matches haven-auth) ─────── */
.hcf__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.hcf__label {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 20px;
  color: #545a6d; /* shale/base */
}

.hcf__input,
.hcf__textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #dbe1ef; /* glacier/200 */
  border-radius: 8px;
  outline: none;
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #313745; /* glacier/900 */
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.hcf__input:focus,
.hcf__textarea:focus {
  border-color: #626e8b; /* glacier/700 */
}

.hcf__input::placeholder,
.hcf__textarea::placeholder {
  color: #b7c3e0; /* glacier/400 */
}

.hcf__field--error .hcf__input,
.hcf__field--error .hcf__textarea {
  border-color: #8e6a58; /* canyon/700 — warm error tone */
}

.hcf__field--error .hcf__label {
  color: #8e6a58;
}

.hcf__textarea {
  min-height: 160px;
  resize: vertical;
}

/* ── Actions ──────────────────────────────────────────────── */
.hcf__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.hcf__actions .haven-btn,
.hcf__actions .haven-btn--primary {
  width: 100%;
}

/* ── Success notification pill ────────────────────────────── */
.hcf__notice {
  background-color: #dbe1ef; /* glacier/200 */
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.hcf__notice-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hcf__notice-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hcf__notice-icon svg path[fill="none"] {
  fill: none;
}

.hcf__notice-text {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #313745; /* glacier/900 */
  margin: 0;
  flex: 1 0 0;
  min-width: 0;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 540px) {
  .hcf {
    padding: 24px 16px;
  }
  .hcf__header {
    margin-bottom: 24px;
  }
  .hcf__heading {
    font-size: 28px;
    line-height: 36px;
  }
  .hcf__card {
    padding: 32px 24px;
  }
}
