/* BusinessFes — Modern homepage */

.bf-home {
  --bf-home-ink: #0f172a;
  --bf-home-muted: #475569;
  --bf-home-line: rgba(15, 23, 42, 0.08);
  --bf-home-radius: 20px;
  --bf-home-radius-sm: 14px;
  color: var(--bf-home-ink);
  overflow-x: clip;
}

.bf-home * {
  box-sizing: border-box;
}

/* ── Hero ── */
.bf-home-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(145deg, #0b1026 0%, #1a1147 38%, #0f3d5c 72%, #0d4f4f 100%);
  color: #f8fafc;
}

.bf-home-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(14, 165, 233, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 90%, rgba(245, 158, 11, 0.18), transparent 55%);
  pointer-events: none;
}

.bf-home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 960px) {
  .bf-home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.bf-home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.bf-home-hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.bf-home-hero__title-main {
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.bf-home-hero h1,
.bf-home-hero .bf-home-hero__title {
  color: #ffffff !important;
}

.bf-home-hero__title-accent {
  background: linear-gradient(90deg, #fde68a 0%, #f472b6 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bf-home-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.88);
}

.bf-home-hero .bf-search-cta {
  justify-content: flex-start;
  margin: 0 0 1.25rem;
  padding: 0;
}

.bf-home-hero .bf-search-cta__btn {
  max-width: none;
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 50%, #8b5cf6 100%);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35);
}

@media (min-width: 640px) {
  .bf-home-hero .bf-search-cta__btn {
    width: auto;
    min-width: 320px;
  }
}

.bf-home-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

.bf-home-hero__badges span {
  color: #4ade80;
  margin-right: 0.25rem;
}

.bf-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bf-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.bf-home-btn:hover {
  transform: translateY(-2px);
}

.bf-home-btn--ghost {
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.bf-home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bf-home-hero__visual {
  position: relative;
}

.bf-home-hero__frame {
  border-radius: calc(var(--bf-home-radius) + 4px);
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bf-home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bf-home-hero__float {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: var(--bf-home-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--bf-home-ink);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(10px);
  animation: bf-home-float 5s ease-in-out infinite;
}

.bf-home-hero__float strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bf-home-hero__float span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bf-home-muted);
}

.bf-home-hero__float--1 {
  left: -0.5rem;
  bottom: 12%;
}

.bf-home-hero__float--2 {
  right: -0.25rem;
  top: 10%;
  animation-delay: -2.5s;
}

@keyframes bf-home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Stats band ── */
.bf-home-stats {
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%);
}

.bf-home-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bf-home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bf-home-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  color: #fff;
}

.bf-home-stat strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
}

.bf-home-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.92;
}

/* ── Popular searches ── */
.bf-home-popular {
  background: #fff;
  padding-bottom: 1.5rem;
}

.bf-home-popular__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  max-width: 900px;
  margin: 0 auto;
}

.bf-home-popular__chip {
  display: inline-flex;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4338ca;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef2ff, #fae8ff);
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-home-popular__chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
  color: #3730a3;
}

/* ── Sections ── */
.bf-home-section {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.bf-home-section__head {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.bf-home-section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}

.bf-home-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bf-home-section__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--bf-home-muted);
}

/* ── Categories ── */
.bf-home-categories {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.bf-home-categories__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .bf-home-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .bf-home-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bf-home-cat {
  display: flex;
  flex-direction: column;
  border-radius: var(--bf-home-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bf-home-line);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bf-home-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.bf-home-cat__media {
  position: relative;
  height: 148px;
  overflow: hidden;
}

.bf-home-cat__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.55) 100%);
}

.bf-home-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bf-home-cat:hover .bf-home-cat__media img {
  transform: scale(1.05);
}

.bf-home-cat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
}

.bf-home-cat__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.bf-home-cat__emoji {
  margin-right: 0.35rem;
}

.bf-home-cat__tagline {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--bf-home-muted);
}

.bf-home-cat__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.bf-home-cat__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef2ff;
  transition: background 0.2s ease;
}

.bf-home-cat__links a:hover {
  background: #ddd6fe;
}

.bf-home-cat__cta {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bf-home-ink);
  text-decoration: none;
}

.bf-home-cat__cta:hover {
  color: #7c3aed;
}

.bf-home-cat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: auto;
}

.bf-home-cat__cta--secondary {
  color: #0369a1;
}

.bf-home-cat__cta--secondary:hover {
  color: #0c4a6e;
}

.bf-home-cat--tourism .bf-home-cat__title { color: #0369a1; }
.bf-home-cat--health .bf-home-cat__title { color: #047857; }
.bf-home-cat--business .bf-home-cat__title { color: #b45309; }
.bf-home-cat--craft .bf-home-cat__title { color: #c2410c; }
.bf-home-cat--pro .bf-home-cat__title { color: #6d28d9; }

/* ── Featured ── */
.bf-home-featured {
  position: relative;
  background: #fff;
}

.bf-home-featured__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(139, 92, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.bf-home-featured .bf-listings {
  position: relative;
  z-index: 1;
}

.bf-home-featured__hint {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0.5rem auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--bf-home-muted);
}

.bf-home-featured .bf-listings__empty {
  padding: 2rem 1rem;
  font-size: 1rem;
  color: var(--bf-home-muted);
  background: linear-gradient(135deg, #f5f3ff, #ecfeff);
  border-radius: var(--bf-home-radius);
  border: 1px dashed rgba(124, 58, 237, 0.25);
}

/* ── Why ── */
.bf-home-why__grid {
  display: grid;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .bf-home-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bf-home-why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bf-home-benefit {
  padding: 1.35rem 1.2rem;
  border-radius: var(--bf-home-radius-sm);
  background: #fff;
  border: 1px solid var(--bf-home-line);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-home-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.bf-home-benefit__icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.bf-home-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.bf-home-benefit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bf-home-muted);
}

/* ── How it works ── */
.bf-home-steps {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.bf-home-steps__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bf-home-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bf-home-step {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: var(--bf-home-radius);
  background: #fff;
  border: 1px solid var(--bf-home-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.bf-home-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.bf-home-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.bf-home-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--bf-home-muted);
}

/* ── Testimonials (3) ── */
.bf-home-testimonials {
  background: linear-gradient(135deg, #faf5ff 0%, #f0f9ff 100%);
}

.bf-home-testimonials__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bf-home-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bf-home-testimonial__quote {
  height: 100%;
  margin: 0;
  padding: 1.35rem 1.2rem;
  text-align: left;
  border-radius: var(--bf-home-radius-sm);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.08);
  backdrop-filter: blur(8px);
}

.bf-home-testimonial__stars {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #f59e0b;
}

.bf-home-testimonial__quote p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.65;
  color: #334155;
}

.bf-home-testimonial__quote footer {
  font-size: 0.82rem;
  color: var(--bf-home-muted);
}

.bf-home-testimonial__quote cite {
  font-style: normal;
  font-weight: 800;
  color: var(--bf-home-ink);
}

/* ── FAQ ── */
.bf-home-faq__grid {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}

.bf-home-faq__item {
  padding: 0.25rem 1.1rem;
  border-radius: var(--bf-home-radius-sm);
  background: #fff;
  border: 1px solid var(--bf-home-line);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.bf-home-faq__item summary {
  padding: 0.85rem 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.bf-home-faq__item summary::-webkit-details-marker {
  display: none;
}

.bf-home-faq__item summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: #7c3aed;
}

.bf-home-faq__item[open] summary::after {
  content: "−";
}

.bf-home-faq__item p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--bf-home-muted);
}

/* ── CTA ── */
.bf-home-cta {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: linear-gradient(135deg, #312e81 0%, #5b21b6 42%, #0e7490 100%);
}

.bf-home-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #f8fafc;
}

.bf-home-cta__inner h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bf-home-cta__inner p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.9);
}

.bf-home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.bf-home-btn--light {
  color: #312e81;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.bf-home-btn--light:hover {
  color: #312e81;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.bf-home-btn--outline-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.bf-home-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Kadence full-width bleed */
.entry-content .bf-home {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
