/* ══════════════════════════════════════════════
   HMF — CF7 Form Styles (Final)
   Paste into: Appearance → Customize → Additional CSS
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Jost:wght@300;400;500&family=DM+Mono:wght@400;500&display=swap');

/* ── Grid layout ── */
.hmf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}
.hmf-form-full {
  grid-column: span 2;
}
.hmf-fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* ── Labels ── */
.hmf-fl {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #0d0f0a;
  opacity: .6;
  display: block;
}

/* ── Inputs ── */
.wpcf7 .hmf-form-grid input[type="text"],
.wpcf7 .hmf-form-grid input[type="email"] {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 2px;
  color: #0d0f0a;
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
  box-shadow: none;
}

/* ── Select ── */
.wpcf7 .hmf-form-grid select {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 2px;
  color: #0d0f0a;
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease;
  box-shadow: none;
  cursor: pointer;
}

/* ── Textarea ── */
.wpcf7 .hmf-form-grid textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 2px;
  color: #0d0f0a;
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s ease;
  box-shadow: none;
  resize: vertical;
  min-height: 130px;
}

/* ── Gold focus ── */
.wpcf7 .hmf-form-grid input[type="text"]:focus,
.wpcf7 .hmf-form-grid input[type="email"]:focus,
.wpcf7 .hmf-form-grid select:focus,
.wpcf7 .hmf-form-grid textarea:focus {
  border-color: #b8975a;
  outline: none;
}

/* ── Placeholder ── */
.wpcf7 .hmf-form-grid input::placeholder,
.wpcf7 .hmf-form-grid textarea::placeholder {
  color: rgba(13,15,10,.35);
}

/* ── CF7 control wrap ── */
.wpcf7 .hmf-form-grid .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ── Remove CF7 line breaks ── */
.wpcf7 form br { display: none; }
.wpcf7 form > p { margin: 0; }

/* ── Submit button ── */
.wpcf7 input[type="submit"] {
  width: 100%;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #9a7d48 !important;
  padding: 16px 28px;
  border: none !important;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: none;
  display: block;
}
.wpcf7 input[type="submit"]:hover {
  background: #b8975a !important;
  transform: translateY(-2px);
}

/* ── Validation field errors ── */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #c0392b !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #c0392b;
  font-family: 'DM Mono', monospace;
  margin-top: 4px;
  display: block;
}

/* ── Error message box ── */
html body .wpcf7-response-output {
  background-color: #c0392b !important;
  background: #c0392b !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'DM Mono', 'Courier New', monospace !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  padding: 14px 18px !important;
  border-radius: 2px !important;
  margin: 16px 0 0 0 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ── Success message box ── */
html body .wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #3d5e34 !important;
  background: #3d5e34 !important;
  color: #ffffff !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hmf-form-grid { grid-template-columns: 1fr; }
  .hmf-form-full { grid-column: span 1; }
}

.site-logo img,
.custom-logo,
.custom-logo-link img {
  width: 100px !important;
  height: auto !important;
}