.bf-contact-main { max-width: 1000px; margin: auto; padding: 0 24px 30px; }
.bf-contact-hero { padding: 30px 0 28px; }
.bf-contact-badge { display: inline-block; padding: 7px 20px; margin-bottom: 20px; border-radius: 30px; color: var(--bf-purple); background: #eee7fc; font-size: 16px; font-weight: 700; }
.buddyfile-contact .bf-contact-hero h1 { font-size: clamp(34px, 4.8vw, 60px); }
.bf-contact-hero > p { font-size: 21px; }
.buddyfile-contact .bf-navigation > a[aria-current="page"] { color: var(--bf-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 10px; }
.bf-contact-card { padding: 28px 30px; border: 1px solid #e6e1f2; border-radius: 18px; background: #fff; box-shadow: 0 10px 35px #6d28d903; }
.buddyfile-contact .bf-contact-card h2 { margin: 0 0 22px; font-size: 28px; line-height: 1.3; letter-spacing: -.6px; }
.bf-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.bf-contact-field { min-width: 0; }
.bf-contact-message { grid-column: 1 / -1; }
.bf-contact-field > label { display: block; margin-bottom: 7px; color: var(--bf-ink); font-size: 15px; font-weight: 600; }
.buddyfile-contact .bf-contact-field .form-control { width: 100%; padding: 12px 16px; min-height: 48px; border: 1px solid #ded6f1; border-radius: 9px; background: #fff; color: var(--bf-ink); font-family: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; }
.buddyfile-contact .bf-contact-field .form-control::placeholder { color: #818aa0; opacity: 1; }
.buddyfile-contact .bf-contact-field .form-control:focus { border-color: var(--bf-lavender); outline: 2px solid #eee7fc; outline-offset: 1px; }
.buddyfile-contact .bf-contact-field textarea.form-control { min-height: 132px; resize: vertical; }
.bf-contact-message-limit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 7px; color: var(--bf-muted); font-size: 13px; }
.bf-contact-footer { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px 24px; margin-top: 24px; }
.bf-contact-captcha { flex: 1 1 510px; border: 0; border-top: 1px solid #e6dff3; padding: 20px 0 0; margin: 0; min-width: 0; }
.bf-contact-captcha legend { float: none; width: auto; margin: 0 0 12px; padding: 0; font-size: 15px; font-weight: 600; }
.bf-contact-captcha-row { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; }
.buddyfile-contact .bf-contact-captcha .wrapper-captcha { display: flex; align-items: center; gap: 16px; }
.buddyfile-contact .bf-contact-captcha .img-captcha { display: block; max-width: 190px; height: 58px; border: 1px solid #e7e1f3; border-radius: 8px; object-fit: contain; }
.buddyfile-contact .bf-contact-captcha .btn-captcha-refresh { position: static; width: 52px; height: 58px; padding: 0; border: 1px solid #e3dbf4; border-radius: 8px; background: #faf8fe; color: var(--bf-purple); font-size: 21px; box-shadow: none; }
.buddyfile-contact .bf-contact-captcha .btn-captcha-refresh:hover { border-color: var(--bf-lavender); background: #f1ebfc; }
.bf-contact-code { width: 250px; max-width: 100%; }
.bf-contact-actions { display: flex; justify-content: flex-end; margin-left: auto; }
.buddyfile-contact .bf-contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 30px; min-height: 54px; border: 1px solid var(--bf-purple); border-radius: 9px; background: linear-gradient(110deg, #6d28d9, #6421d3); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.buddyfile-contact .bf-contact-submit:hover { background: #5920b7; }
.bf-contact-submit > span[aria-hidden] { font-size: 24px; line-height: 1; font-weight: 400; }
.bf-contact-note .alert { margin: 0 0 22px; padding: 16px 18px; border-radius: 10px; overflow-wrap: anywhere; }
.bf-contact-note .alert-success { color: #246843; background: #eef9f2; border-color: #d0eadb; }
.bf-contact-note .alert-danger { color: #a83843; background: #fff2f3; border-color: #f1d7dc; }
.bf-contact-help { display: flex; align-items: center; gap: 28px; padding: 26px 30px; margin-top: 26px; border: 1px solid #eee7fb; border-radius: 14px; background: #f5f0fd; }
.bf-contact-help-icon { display: grid; place-items: center; flex: 0 0 86px; padding-right: 28px; border-right: 1px solid #dfd6f3; }
.bf-contact-help-icon > span { display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--bf-purple); border-radius: 50%; color: var(--bf-purple); font-size: 34px; line-height: 1; }
.bf-contact-help-copy { flex: 1; min-width: 0; }
.buddyfile-contact .bf-contact-help h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.3px; }
.bf-contact-help p { margin: 6px 0 0; color: var(--bf-muted); font-size: 16px; line-height: 1.5; }
.buddyfile-contact .bf-contact-faq-link { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; color: var(--bf-purple); font-size: 16px; font-weight: 600; }
.bf-contact-faq-link > span { font-size: 24px; font-weight: 400; }
@media (max-width: 700px) {
  .bf-contact-main { padding: 0 18px 30px; }
  .bf-contact-hero { padding: 28px 0 24px; }
  .bf-contact-badge { margin-bottom: 16px; padding: 6px 18px; font-size: 15px; }
  .buddyfile-contact .bf-contact-hero h1 { font-size: 34px; }
  .bf-contact-hero > p { font-size: 17px; }
  .bf-contact-card { padding: 24px 20px; }
  .buddyfile-contact .bf-contact-card h2 { font-size: 24px; }
  .bf-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bf-contact-captcha-row { gap: 12px; }
  .bf-contact-code { width: 100%; }
  .bf-contact-actions { width: 100%; }
  .buddyfile-contact .bf-contact-submit { width: 100%; padding: 14px 20px; }
  .bf-contact-help { flex-wrap: wrap; justify-content: center; gap: 16px; padding: 24px 20px; text-align: center; }
  .bf-contact-help-icon { flex-basis: 100%; border: 0; padding: 0; }
  .bf-contact-help-copy { flex-basis: 100%; }
}
