/* BBM Homepage Design v1.0.3
   Below hero sections only. Scoped to body.home so no other page is affected.
   Uses only the site brand variables. No rule here touches the header, hero,
   stats band or trust strip. */

/* ---------- shared: a little more air on desktop ---------- */
@media (min-width: 769px) {
  body.home .bbm-section:has(.bbm-problems),
  body.home .bbm-section:has(.bbm-cards),
  body.home .bbm-section:has(.bbm-guide),
  body.home .bbm-section:has(.bbm-steps),
  body.home .bbm-section:has(.bbm-faq) {
    padding: 84px 0;
  }
}

/* ---------- 1. Sound Familiar (problems) ---------- */
body.home .bbm-section:has(.bbm-problems) .bbm-problem {
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(22, 50, 60, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.home .bbm-section:has(.bbm-problems) .bbm-problem:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(22, 50, 60, 0.12);
  border-color: var(--bbm-teal-light);
}
body.home .bbm-section:has(.bbm-problems) .bbm-problem .tick {
  flex-basis: 32px;
  height: 32px;
  font-size: 17px;
  background: var(--bbm-orange);
  color: #fff;
}
/* closing line becomes a deep teal banner (class added by JS, inline style removed).
   v1.0.3 (Ayaz, 12 Nov 2026): banner content centred as one group, smaller
   gaps above and below it. */
body.home .bbm-section:has(.bbm-problems) {
  padding-bottom: 48px;
}
body.home .bbm-section:has(.bbm-problems) .bbm-hd-close {
  margin-top: 20px;
  background: var(--bbm-deep);
  color: #edf3f5;
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 768px) {
  body.home .bbm-section:has(.bbm-problems) {
    padding-bottom: 40px;
  }
}
body.home .bbm-section:has(.bbm-problems) .bbm-hd-close a {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  background: var(--bbm-orange);
  padding: 10px 22px;
  border-radius: 8px;
}
body.home .bbm-section:has(.bbm-problems) .bbm-hd-close a:hover {
  background: var(--bbm-orange-dark);
  color: #fff;
}

/* ---------- 2. Services: photo led cards, staggered on desktop ---------- */
body.home #services .bbm-cards {
  padding-bottom: 18px;
}
body.home #services .bbm-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(22, 50, 60, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
body.home #services .bbm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(22, 50, 60, 0.14);
  border-color: var(--bbm-teal-light);
}
@media (min-width: 1025px) {
  body.home #services .bbm-card:nth-child(3n+2) {
    transform: translateY(16px);
  }
  body.home #services .bbm-card:nth-child(3n+2):hover {
    transform: translateY(10px);
  }
}
body.home #services .bbm-card img {
  border-radius: 0;
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
  width: 100%;
  transition: transform 0.35s ease;
}
body.home #services .bbm-card:hover img {
  transform: scale(1.04);
}
body.home #services .bbm-card h3 {
  margin: 22px 26px 10px;
  font-size: 20px;
}
body.home #services .bbm-card p {
  margin: 0 26px 18px;
  flex: 1;
}
body.home #services .bbm-card .more {
  margin: 0 26px 24px;
}
body.home #services .bbm-card .more:hover {
  color: var(--bbm-orange);
}

/* ---------- 3. Free Guide: deep teal panel ---------- */
body.home .bbm-section:has(.bbm-guide) .bbm-guide {
  background: linear-gradient(135deg, var(--bbm-deep) 0%, var(--bbm-teal) 100%);
  border-radius: 20px;
  padding: 52px 48px;
  box-shadow: 0 24px 48px rgba(22, 50, 60, 0.18);
}
body.home .bbm-section:has(.bbm-guide) .bbm-guide h2 {
  font-size: 30px;
}
body.home .bbm-section:has(.bbm-guide) .bbm-guide p {
  color: #d8edf4;
}
body.home .bbm-section:has(.bbm-guide) .bbm-guide .bbm-btn.light {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  body.home .bbm-section:has(.bbm-guide) .bbm-guide {
    padding: 36px 24px;
  }
  body.home .bbm-section:has(.bbm-guide) .bbm-guide h2 {
    font-size: 26px;
  }
}

/* ---------- 4. Process: connected timeline ---------- */
body.home .bbm-section:has(.bbm-steps) .bbm-steps {
  position: relative;
}
body.home .bbm-section:has(.bbm-steps) .bbm-step {
  border-radius: 16px;
  padding: 26px 20px;
  box-shadow: 0 2px 10px rgba(22, 50, 60, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  z-index: 1;
}
body.home .bbm-section:has(.bbm-steps) .bbm-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(22, 50, 60, 0.12);
}
body.home .bbm-section:has(.bbm-steps) .bbm-step .num {
  box-shadow: 0 0 0 5px #fff, 0 6px 14px rgba(22, 50, 60, 0.2);
  position: relative;
  z-index: 1;
}
body.home .bbm-section:has(.bbm-steps) .bbm-step:first-child .num {
  background: var(--bbm-orange);
}
@media (min-width: 1025px) {
  body.home .bbm-section:has(.bbm-steps) .bbm-steps::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--bbm-teal-light);
    z-index: 0;
  }
}
@media (max-width: 520px) {
  body.home .bbm-section:has(.bbm-steps) .bbm-steps::before {
    content: "";
    position: absolute;
    top: 46px;
    bottom: 46px;
    left: 40px;
    width: 2px;
    background: var(--bbm-teal-light);
    z-index: 0;
  }
}

/* ---------- 5. Results: dark deep teal band ---------- */
body.home .bbm-section:has(.bbm-quotes) {
  background: var(--bbm-deep);
  color: #edf3f5;
}
body.home .bbm-section:has(.bbm-quotes) h2 {
  color: #fff;
}
body.home .bbm-section:has(.bbm-quotes) .bbm-kicker {
  color: var(--bbm-teal-light);
}
body.home .bbm-section:has(.bbm-quotes) .bbm-sub {
  color: #b9cbd2;
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote:hover {
  transform: translateY(-4px);
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote .bbm-hd-stat {
  font-size: 44px;
  font-weight: 800;
  color: var(--bbm-orange);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote .stars {
  color: var(--bbm-orange);
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote p {
  flex: 1;
}
body.home .bbm-section:has(.bbm-quotes) .bbm-quote cite {
  color: var(--bbm-teal);
}
body.home .bbm-section:has(.bbm-quotes) .bbm-center a {
  color: var(--bbm-teal-light);
  font-weight: 700;
}

/* ---------- 6. FAQ: rounded accordion cards ---------- */
body.home .bbm-section:has(.bbm-faq) .bbm-faq-item {
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(22, 50, 60, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-item.open {
  border-color: var(--bbm-teal);
  box-shadow: 0 12px 28px rgba(22, 50, 60, 0.12);
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-q {
  margin: 0;
  padding: 22px 26px;
  font-size: 17px;
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-q::after {
  content: "+";
  color: #fff;
  background: var(--bbm-teal);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  flex: 0 0 30px;
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-item.open .bbm-faq-q::after {
  transform: rotate(45deg);
  background: var(--bbm-orange);
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-a {
  padding: 0 26px 24px;
}
body.home .bbm-section:has(.bbm-faq) .bbm-faq-a p {
  margin: 0;
}

/* ---------- 7. Final CTA: full width orange panel ---------- */
body.home .bbm-cta-band {
  background: linear-gradient(135deg, var(--bbm-orange) 0%, var(--bbm-orange-dark) 100%);
  padding: 72px 0;
  border-top: 0;
}
body.home .bbm-cta-band h2 {
  color: #fff;
  font-size: 34px;
}
body.home .bbm-cta-band p {
  color: rgba(255, 255, 255, 0.92);
}
body.home .bbm-cta-band .bbm-btn {
  background: #fff;
  color: var(--bbm-orange-dark) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
body.home .bbm-cta-band .bbm-btn:hover {
  background: var(--bbm-ice);
  color: var(--bbm-orange-dark) !important;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  body.home .bbm-cta-band {
    padding: 56px 0;
  }
  body.home .bbm-cta-band h2 {
    font-size: 28px;
  }
}
