/**
 * Beyond Folks — Plan Your Campaign page
 */

.bf-plan-campaign-page {
  overflow-x: hidden;
}

.bf-plan-campaign-page .preloader {
  display: none;
}

/* Hero */
.bf-plan-hero {
  position: relative;
  padding: calc(var(--bf-header-offset, 8rem) + 1.5rem) 0 5rem;
  background-color: var(--bf-black);
  overflow: hidden;
}

.bf-plan-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(229, 97, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 148, 40, 0.08), transparent 50%);
  pointer-events: none;
}

.bf-plan-hero__grid {
  position: relative;
  z-index: 1;
}

.bf-plan-hero__h1 {
  font-family: var(--bf-font-display);
  font-size: clamp(2rem, 4vw + 0.75rem, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--bf-white);
  margin: 0 0 1.25rem;
  max-width: 16em;
}

.bf-plan-hero__subtext {
  font-size: clamp(1.0625rem, 1.5vw + 0.5rem, 1.125rem);
  line-height: 1.8;
  color: var(--bf-sand);
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.bf-plan-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.bf-plan-hero__badges li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bf-sand);
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(var(--bf-white-rgb), 0.14);
  border-radius: var(--bf-radius-pill);
  background: rgba(var(--bf-white-rgb), 0.04);
}

.bf-plan-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.bf-plan-hero--compact {
  padding: calc(var(--bf-header-offset, 8rem) + 1rem) 0 2.75rem;
}

.bf-plan-hero--compact .bf-plan-hero__subtext {
  margin-bottom: 0;
}

.bf-plan-hero__actions .bf-btn {
  min-height: 52px;
  padding: 0.875rem 1.5rem;
}

.bf-plan-hero__visual {
  position: relative;
  padding: 1rem;
}

.bf-plan-hero__dashboard {
  position: relative;
  padding: 2rem 1.5rem;
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(var(--bf-orange-rgb), 0.1), transparent 45%),
    var(--bf-panel);
  border: 1px solid rgba(var(--bf-orange-rgb), 0.25);
  border-radius: var(--bf-radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.bf-plan-hero__dash-card {
  position: absolute;
  padding: 0.875rem 1rem;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--bf-white-rgb), 0.12);
  border-radius: var(--bf-radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  max-width: 13rem;
}

.bf-plan-hero__dash-card--1 { top: 1.5rem; left: 0.5rem; border-left: 2px solid var(--bf-orange); }
.bf-plan-hero__dash-card--2 { top: 4.5rem; right: 0; }
.bf-plan-hero__dash-card--3 { bottom: 5rem; left: 1rem; }
.bf-plan-hero__dash-card--4 { bottom: 1.5rem; right: 0.5rem; max-width: 14rem; }

.bf-plan-hero__dash-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-muted);
  margin-bottom: 0.25rem;
}

.bf-plan-hero__dash-value {
  display: block;
  font-family: var(--bf-font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-white);
  line-height: 1.35;
}

.bf-plan-hero__dash-note {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bf-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .bf-plan-hero {
    padding-bottom: 3.5rem;
  }

  .bf-plan-hero__h1 {
    max-width: none;
  }

  .bf-plan-hero__visual {
    margin-top: 1rem;
  }

  .bf-plan-hero__dash-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: none;
    margin-bottom: 0.5rem;
  }

  .bf-plan-hero__dashboard {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 2rem;
  }

  .bf-plan-hero__dash-note {
    grid-column: 1 / -1;
    position: static;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575px) {
  .bf-plan-hero__dashboard {
    grid-template-columns: 1fr;
  }
}

/* Intro block */
.bf-plan-intro {
  background: var(--bf-panel);
  border-top: 1px solid rgba(var(--bf-white-rgb), 0.06);
  border-bottom: 1px solid rgba(var(--bf-white-rgb), 0.06);
}

.bf-plan-intro__inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.bf-plan-intro__title {
  font-family: var(--bf-font-display);
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--bf-white);
  margin: 0 auto 1rem;
  max-width: 28em;
}

.bf-plan-intro__text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--bf-sand);
  margin: 0 auto 2.5rem;
  max-width: 44rem;
}

.bf-plan-intro__card {
  height: 100%;
  padding: 1.5rem;
  text-align: left;
  background: var(--bf-black);
  border: 1px solid rgba(var(--bf-white-rgb), 0.1);
  border-radius: var(--bf-radius-md);
  border-top: 2px solid var(--bf-orange);
}

.bf-plan-intro__card-title {
  font-family: var(--bf-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bf-white);
  margin: 0 0 0.5rem;
}

.bf-plan-intro__card-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--bf-muted);
  margin: 0;
}

/* Form section */
.bf-plan-form-section {
  padding: 4rem 0 5rem;
}

.bf-campaign-brief__header {
  margin-bottom: 2rem;
}

.bf-campaign-brief__title {
  font-family: var(--bf-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bf-white);
  margin: 0 0 0.5rem;
}

.bf-campaign-brief__subtitle {
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--bf-muted);
  margin: 0;
}

.bf-required {
  color: var(--bf-amber);
}

.bf-contact-form .form-control {
  min-height: 48px;
  font-size: 1rem;
}

.bf-contact-form .bf-select-wrap select.form-select {
  min-height: 48px;
  font-size: 1rem;
}

.bf-contact-form textarea.form-control {
  min-height: 120px;
}

.bf-plan-support {
  position: sticky;
  top: calc(var(--bf-header-offset, 8rem) + 0.5rem);
  padding: 1.75rem;
  background: var(--bf-panel);
  border: 1px solid rgba(var(--bf-white-rgb), 0.1);
  border-radius: var(--bf-radius-md);
  border-top: 2px solid rgba(var(--bf-orange-rgb), 0.5);
}

.bf-plan-support__title {
  font-family: var(--bf-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--bf-white);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.bf-plan-support__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.bf-plan-support__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--bf-sand);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--bf-white-rgb), 0.06);
}

.bf-plan-support__list li:last-child {
  border-bottom: none;
}

.bf-plan-support__list i {
  color: var(--bf-amber);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.bf-plan-support__note {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--bf-muted);
  margin: 0;
  padding: 1rem;
  background: rgba(var(--bf-orange-rgb), 0.08);
  border-radius: var(--bf-radius-sm);
  border-left: 2px solid var(--bf-orange);
}

@media (max-width: 991px) {
  .bf-plan-support {
    position: static;
    margin-top: 0.5rem;
  }
}

/* Process */
.bf-plan-process {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(var(--bf-orange-rgb), 0.08), transparent 55%),
    var(--bf-black);
}

.bf-plan-process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1199px) {
  .bf-plan-process__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .bf-plan-process__grid {
    grid-template-columns: 1fr;
  }
}

.bf-plan-process__card {
  height: 100%;
  padding: 1.5rem;
  background: var(--bf-panel);
  border: 1px solid rgba(var(--bf-white-rgb), 0.1);
  border-radius: var(--bf-radius-md);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.bf-plan-process__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bf-amber), var(--bf-orange));
  opacity: 0.7;
}

.bf-plan-process__card:hover {
  border-color: rgba(var(--bf-orange-rgb), 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.bf-plan-process__num {
  display: block;
  font-family: var(--bf-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bf-amber);
  margin-bottom: 0.75rem;
}

.bf-plan-process__title {
  font-family: var(--bf-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bf-white);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.bf-plan-process__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bf-muted);
  margin: 0;
}

/* Campaign type cards */
.bf-plan-type-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--bf-black);
  border: 1px solid rgba(var(--bf-white-rgb), 0.1);
  border-radius: var(--bf-radius-md);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bf-plan-type-card:hover {
  border-color: rgba(var(--bf-orange-rgb), 0.35);
  transform: translateY(-3px);
}

.bf-plan-type-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bf-radius-sm);
  background: linear-gradient(135deg, rgba(var(--bf-orange-rgb), 0.18), rgba(var(--bf-orange-rgb), 0.04));
  border: 1px solid rgba(var(--bf-orange-rgb), 0.25);
  color: var(--bf-amber);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.bf-plan-type-card__title {
  font-family: var(--bf-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--bf-white);
  margin: 0 0 0.5rem;
}

.bf-plan-type-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--bf-sand);
  margin: 0;
}

.bf-campaign-brief.is-highlight {
  outline: 2px solid rgba(var(--bf-orange-rgb), 0.5);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .bf-plan-type-card:hover {
    transform: none;
  }

  .bf-plan-campaign-page .wow {
    visibility: visible !important;
    animation: none !important;
  }
}
