/* Beyond Folks — Contact dual-flow forms */

.bf-contact-page .bf-page-hero__intro {
  max-width: 52rem;
}

.bf-contact-flows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 991px) {
  .bf-contact-flows {
    grid-template-columns: 1fr;
  }
}

.bf-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  scroll-margin-top: 120px;
}

.bf-contact-card--brand {
  border-top: 3px solid var(--bf-orange, #ff6b2b);
}

.bf-contact-card--creator {
  border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.bf-contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 107, 43, 0.12);
  color: var(--bf-orange, #ff6b2b);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.bf-contact-card__title {
  font-family: var(--bf-font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.bf-contact-card__intro {
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bf-contact-form .form-label {
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
}

.bf-contact-form .form-control {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
}

.bf-contact-form .bf-select-wrap select.form-select {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;
  font-size: 0.9375rem;
}

.bf-contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bf-contact-form .form-control:focus {
  border-color: var(--bf-orange, #ff6b2b);
  box-shadow: 0 0 0 2px rgba(255, 107, 43, 0.2);
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.bf-contact-form .bf-select-wrap select.form-select:focus {
  border-color: var(--bf-orange, #ff6b2b);
  box-shadow: 0 0 0 2px rgba(255, 107, 43, 0.2);
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.bf-contact-form .form-select option {
  color: #111;
  background: #fff;
}

.bf-contact-form__field {
  margin-bottom: 0.25rem;
}

.bf-contact-form__error {
  color: #ff8a80;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  min-height: 1.1rem;
}

.bf-contact-form__error:empty {
  display: none;
}

.bf-form-alert {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.bf-form-alert--success {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(129, 199, 132, 0.35);
  color: #b9f6ca;
}

.bf-form-alert--error {
  background: rgba(198, 40, 40, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.35);
  color: #ffab91;
}

.bf-contact-form__privacy {
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0;
}

.bf-contact-form__privacy i {
  color: var(--bf-orange, #ff6b2b);
  margin-right: 0.35rem;
}

.bf-contact-form .bf-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.bf-contact-info {
  margin-bottom: 0;
}

.bf-contact-info .bf-audience-card {
  height: 100%;
}

.bf-contact-info .bf-audience-card__text a {
  color: #fff;
  text-decoration: none;
}

.bf-contact-info .bf-audience-card__text a:hover {
  color: var(--bf-orange, #ff6b2b);
}

.bf-map iframe {
  display: block;
  width: 100%;
}

.bf-contact-card.is-highlight {
  box-shadow: 0 0 0 2px rgba(255, 107, 43, 0.35);
}

/* Contact page v2 */
.bf-contact-page--v2 .bf-page-hero--contact {
  padding-bottom: 2rem;
}

.bf-contact-options {
  padding-top: 2rem;
}

.bf-contact-option-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bf-contact-option-card:hover {
  border-color: rgba(255, 107, 43, 0.35);
  transform: translateY(-2px);
}

.bf-contact-option-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.2), rgba(255, 140, 60, 0.08));
  color: var(--bf-orange, #ff6b2b);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.bf-contact-option-card__title {
  font-family: var(--bf-font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
}

.bf-contact-option-card__text {
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.bf-contact-option-card__btn {
  width: 100%;
  text-align: center;
}

.bf-contact-form-section {
  background: var(--bf-black, #0a0a0a);
  padding: 4rem 0;
}

.bf-contact-card--general {
  border-top: 3px solid var(--bf-orange, #ff6b2b);
  background: rgba(255, 255, 255, 0.02);
}

.bf-btn--gradient {
  background: linear-gradient(135deg, #ff6b2b 0%, #ff8c3c 50%, #ff6b2b 100%);
  background-size: 200% auto;
  border: none;
  color: #fff;
  font-weight: 600;
  transition: background-position 0.35s ease, box-shadow 0.25s ease;
}

.bf-btn--gradient:hover,
.bf-btn--gradient:focus-visible {
  background-position: right center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 43, 0.35);
}

.bf-contact-details {
  padding: 4rem 0;
}

.bf-contact-detail-card {
  text-align: center;
  padding: 1.5rem 1rem;
  height: 100%;
}

.bf-contact-detail-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.12);
  color: var(--bf-orange, #ff6b2b);
  font-size: 1.2rem;
}

.bf-contact-detail-card__label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bf-muted, #a0a0a0);
  margin-bottom: 0.5rem;
}

.bf-contact-detail-card__value {
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

.bf-contact-detail-card__value a {
  color: #fff;
  text-decoration: none;
}

.bf-contact-detail-card__value a:hover {
  color: var(--bf-orange, #ff6b2b);
}

.bf-contact-detail-card__social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.bf-contact-detail-card__social a i {
  margin-right: 0.4rem;
  color: var(--bf-orange, #ff6b2b);
}

.bf-contact-faq {
  padding: 4rem 0 5rem;
  background: var(--bf-black, #0a0a0a);
}

.bf-contact-faq .bf-section__title {
  margin-bottom: 2rem;
}

/* Thank you */
.bf-thank-you {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 107, 43, 0.14), transparent 58%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 138, 128, 0.06), transparent 45%),
    var(--bf-charcoal, #141414);
}

.bf-thank-you__card {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.75rem 2rem 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.bf-thank-you__icon-wrap {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.75rem;
}

.bf-thank-you__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 43, 0.35);
  background: rgba(255, 107, 43, 0.08);
  animation: bf-thank-you-pulse 2.4s ease-in-out infinite;
}

.bf-thank-you__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.75rem;
  color: var(--bf-orange, #ff6b2b);
}

@keyframes bf-thank-you-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

.bf-thank-you__title {
  font-family: var(--bf-font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.bf-thank-you__text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.bf-thank-you__reassure {
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.bf-thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.bf-thank-you__actions .bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.bf-thank-you-page--contact .bf-thank-you__reassure {
  margin-bottom: 2.25rem;
}

@media (max-width: 575px) {
  .bf-contact-form-section,
  .bf-contact-details,
  .bf-contact-faq {
    padding: 3rem 0;
  }

  .bf-contact-card {
    padding: 1.25rem;
  }

  .bf-thank-you__actions .bf-btn {
    width: 100%;
  }
}

/* Campaign brief multi-section form */
.bf-campaign-page .bf-page-hero__intro {
  max-width: 52rem;
}

.bf-campaign-form-section {
  padding: 3rem 0 5rem;
}

.bf-campaign-brief {
  padding: 2rem;
  scroll-margin-top: 120px;
}

.bf-form-section {
  border: none;
  margin: 0 0 2rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bf-form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.bf-form-section__legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--bf-font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  width: 100%;
}

.bf-form-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b2b, #ff8c3c);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.bf-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bf-checkbox-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.bf-checkbox-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bf-checkbox-pill span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  color: var(--bf-muted, #a0a0a0);
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.bf-checkbox-pill input:checked + span,
.bf-checkbox-pill input:focus-visible + span {
  border-color: var(--bf-orange, #ff6b2b);
  background: rgba(255, 107, 43, 0.15);
  color: #fff;
}

.bf-checkbox-pill:hover span {
  border-color: rgba(255, 107, 43, 0.4);
}

.bf-checkbox-group.is-invalid {
  outline: 1px solid rgba(255, 138, 128, 0.5);
  border-radius: 8px;
  padding: 0.5rem;
}

.bf-campaign-brief__submit {
  margin-top: 1.5rem;
  text-align: center;
}

.bf-campaign-brief__submit .bf-btn,
.bf-creator-application__submit .bf-btn {
  min-width: 280px;
  width: 100%;
  max-width: 400px;
}

.bf-creator-application__submit {
  margin-top: 1.5rem;
  text-align: center;
}

.bf-form-section__hint {
  margin: -0.25rem 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 575px) {
  .bf-campaign-brief {
    padding: 1.25rem;
  }

  .bf-form-section__legend {
    font-size: 1rem;
  }
}
