/* ═══════════════════════════════════════════════════════════
   SHARED TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  
  --bb-dark:  #132036; /* dark bluish shade */
  --bb-text:  #FFFFFF;   /* text */
  --bb-accent:  #FF6A00;   /* brand orange */
  
  --bb-or:      #FF6A00;
  --bb-or-d:    #ED4B00;
  --bb-or-pale: rgba(255,106,0,0.09);

  /* DARK SYSTEM */
  --bb-dk:      #101722;
  --bb-dk2:     #0B121B;
  --bb-dk3:     #141C27;
  --bb-dk-bl:   #000000;

  --bb-white:   #ffffff;
  --bb-black:   #000000;
  --bb-off:     #FAFAFA;
  --bb-border:  #E2E5EC;

  /* TEXT SYSTEM */
  --bb-tx:      #111827;
  --bb-tx2:     #2B3542;
  --bb-tx3:     #4F5B68;

  --bb-r:       8px;
}


/* ═══════════════════════════════════════════════════════════
   SHARED UTILITIES
═══════════════════════════════════════════════════════════ */
.bb-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(20px, 4vw, 60px);
  padding-bottom: clamp(20px, 4vw, 60px);
}

/* Orange highlight utility — matches pillar */
.bb-or {
  color: var(--bb-or);
  font-weight: 700;
}

.bb-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bb-or);
  margin-bottom: 14px;
}

.bb-label-dot {
  width: 5px;
  height: 5px;
  background: var(--bb-or);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.bb-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bb-tx);
  margin-bottom: 16px;
}

.bb-heading em,
.elementor-widget-html h2 em {
  font-style: normal;
  color: var(--bb-or);
}

.bb-heading-light {
  color: var(--bb-white) !important;
}

.bb-dark .bb-heading {
  color: var(--bb-white) !important;
}

/* GLOBAL — Make all H2 inside HTML widgets match Elementor headings */
.elementor-widget-html h2 {
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bb-tx) !important;
  margin: 0 0 16px;
}

/* Dark sections override */
.bb-dark .elementor-widget-html h2,
.bb-services .elementor-widget-html h2 {
  color: var(--bb-white);
}

.bb-insight h2 {
  color: var(--bb-white) !important;
}

.bb-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  color: rgba(0,0,0,0.65);
}

.bb-lead-light {
  color: rgba(255,255,255,0.8);
}

/* GLOBAL DARK SURFACE TEXT CONTROL */
.bb-dark p,
.bb-dark li,
.bb-dark blockquote,
.bb-dark cite {
  color: rgba(255,255,255,0.82);
}

.bb-dark .bb-lead-light {
  color: rgba(255,255,255,1) !important;
}

.bb-dark .bb-cta-note {
  color: rgba(255,255,255,0.92);
}

.bb-dark .bb-cta-sub {
  color: rgba(255,255,255,0.75);
}

/* GLOBAL BUTTON SYSTEM */
.bb-btn,
.bb-prob-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--bb-r);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.bb-btn-primary,
.bb-prob-cta-btn {
  background: var(--bb-or);
  color: var(--bb-white);
}

.bb-btn-primary:hover,
.bb-prob-cta-btn:hover {
  background: var(--bb-or-d);
  color: var(--bb-white);
  transform: translateY(-1px);
}

.bb-btn-outline {
  background: transparent;
  color: var(--bb-tx2);
  border: 1.5px solid var(--bb-border);
  font-weight: 500;
}

.bb-btn-outline:hover {
  border-color: var(--bb-or);
  color: var(--bb-or);
  transform: translateY(-1px);
}

.bb-btn-outline-lt {
  background: transparent;
  color: rgba(255,255,255,1);
  border: 1.5px solid var(--bb-or);
  font-weight: 500;
}

.bb-btn-outline-lt:hover {
  border-color: var(--bb-or-d);
  color: var(--bb-or-d);
  transform: translateY(-1px);
}

.bb-btn-lift {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.bb-btn-lift:hover {
  transform: translateY(-1px);
}

/* GLOBAL CTA TEXT SYSTEM */
.bb-cta-block,
.bb-prob-cta {
  text-align: center;
}

.bb-cta-note,
.bb-prob-cta-note {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bb-tx);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin: 0 auto 14px;
  text-align: center;
}

.bb-cta-sub,
.bb-prob-cta-sub {
  display: block;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--bb-tx2);
  margin-top: 10px;
  font-weight: 400;
  text-align: left;
}

.bb-cta-sub-light {
  color: rgba(255,255,255,0.38);
}

.bb-cta-actions {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* GLOBAL CARD SYSTEM */
.bb-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--bb-r);
}

.bb-card-dark {
  background: var(--bb-dk);
  border-radius: var(--bb-r);
}

/* ─── HERO RIGHT COLUMN ─── */
.bb-hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
}

/* ─── CERTIFICATION ROW ─── */
.bb-hero-certs-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 10px;
}

.bb-hero-certs-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.bb-hero-certs-block .certification-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.bb-hero-certs-block .certification-logos img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  --scale-base: 0.55;
  transform: scale(var(--scale-base));
  transform-origin: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.bb-hero-certs-block .certification-logos img[alt*="Google"] {
  --scale-base: 0.88;
}

.bb-hero-certs-block .certification-logos img[alt*="WordPress"] {
  --scale-base: 1.1;
  padding: 0 8px;
}

.bb-hero-certs-block .certification-logos img[alt*="Meta"] {
  margin-left: -16px;
  margin-right: -32px;
}

.bb-hero-certs-block .certification-logos img[alt*="Shopify"] {
  --scale-base: 0.65;
}

/* ─── TRUST ROW ─── */
.bb-hero-trust-bar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.bb-hero-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.bb-hero-trust-stars {
  color: #FF6A00;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.bb-hero-trust-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  white-space: nowrap;
}

.bb-hero-badge {
  display: flex;
  justify-content: center;
}

.bb-hero-badge-text {
  border: 1px solid rgba(255,106,0,0.7);
  margin-top: 15px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  white-space: nowrap;
}

/* Hero multi-step WPForms only */
/* Hero WPForms only */
.wpforms-container.bb-hero-form .wpforms-submit-container[style*="display:none"] {
  display: none !important;
}

.wpforms-container.bb-hero-form .wpforms-submit-container:not([style*="display:none"]),
.wpforms-container.bb-hero-form .wpforms-pagebreak-left {
  display: flex !important;
  justify-content: left !important;
  width: 100%;
}

/* Hide step text, keep only a very subtle progress hint */
.wpforms-container.bb-hero-form .wpforms-page-indicator-page-title,
.wpforms-container.bb-hero-form .wpforms-page-indicator-steps {
  display: none !important;
}

.wpforms-container.bb-hero-form .wpforms-page-indicator {
  margin: 0 0 18px;
}

.wpforms-container.bb-hero-form .wpforms-page-indicator-page-progress-wrap {
  width: 72px;
  height: 3px !important;
  min-height: 0 !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 999px;
  overflow: hidden;
}

/* Progress bar color -> orange */
.wpforms-container.bb-hero-form .wpforms-page-indicator-page-progress {
  height: 3px !important;
  min-height: 0 !important;
  background: rgba(255,106,0,0.7) !important;
  border-radius: 999px;
}


.wpforms-container.bb-hero-form .wpforms-field-label {
  color: #fff !important;
  margin-bottom: 8px !important;
}

/* Inputs */
.wpforms-container.bb-hero-form input[type="text"],
.wpforms-container.bb-hero-form input[type="email"],
.wpforms-container.bb-hero-form input[type="url"] {
  min-height: 44px;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #fff !important;
  border-radius: 10px !important;
}

.wpforms-container.bb-hero-form input::placeholder {
  color: rgba(255,255,255,0.9) !important;
}

/* Match hero CTA thickness more closely */
.wpforms-container.bb-hero-form .wpforms-page-button,
.wpforms-container.bb-hero-form .wpforms-submit {
  align-items: left;
  justify-content: left;
  width: 100%;
  background: #FF6A00 !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}

.wpforms-container.bb-hero-form .wpforms-page-button:hover,
.wpforms-container.bb-hero-form .wpforms-submit:hover {
  background: #ED4B00 !important;
}


/* Continuous smooth logo slider */
.bb-logos-wrap .swiper-wrapper {
  transition-timing-function: linear !important;
  transition-duration: 25000ms !important;
  will-change: transform;
  display: flex !important;
  align-items: center;
}

.bb-logos-wrap .swiper,
.bb-logos-wrap .swiper-container {
  overflow: hidden !important;
}

/* Logo slider — reduced height, less competition with hero */
.bb-logos-wrap {
  padding: 10px 0 !important;
}

/* Hero logo strip — compact trust bar */

.bb-logos-wrap {
  background: linear-gradient(90deg, #331000 30%, #070707 45%, #000 100%) !important;
}

.bb-logos-wrap:hover .swiper-wrapper {

  animation-play-state: running !important;

}

/* Logo sizing */

.bb-logos-wrap img,
.bb-logos-wrap .swiper-slide img {
  max-height: 105px !important;
  max-width: 150px !important;
  width: auto !important;
  object-fit: contain !important;
  opacity: 0.88 !important;
}



/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — globals
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  
  .bb-logos-wrap .swiper-slide {
    min-width: 100px !important;
    padding: 0 12px !important;
  }

  .bb-logos-wrap img,
  .bb-logos-wrap .swiper-slide img {
    max-height: 52px !important;
    max-width: 100px !important;
  }
  
  .bb-wrap { padding: 0 18px; }

  .elementor-widget-html h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    color: var(--bb-tx) !important;
    margin: 0 0 16px !important;
  }

  .bb-insight h2 {
    color: var(--bb-white) !important;
  }
	
   .bb-btn-primary {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 14px 16px !important;
    font-size: 1em !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }
}