/*
 * BlazeByte Solutions — Homepage Custom Sections
 * File: bb-homepage.css
 * Scope: Homepage only (enqueued via functions.php on front_page)
 * Prefix: bb- (all classes scoped, zero conflict with Astra or Elementor)
 * Depends on: globals.css (tokens + utilities loaded globally)
 *
 * REMOVED FROM THIS FILE (now in globals.css):
 *   :root tokens, .bb-wrap, .bb-label, .bb-heading, .bb-lead,
 *   all .bb-btn-*, all .bb-cta-*, .bb-card, .bb-card-dark,
 *   .bb-hero-*, .elementor-widget-html h2, .bb-insight h2 override,
 *   .bb-wrap mobile override, .elementor-widget-html h2 mobile override
 */



/* ═══════════════════════════════════════════════════════════
   SECTION 1 — THE REAL PROBLEM
═══════════════════════════════════════════════════════════ */
.bb-problem {
  padding: 110px 0;
  background: var(--bb-off);
}

.bb-problem-inner {
  display: grid;
  grid-template-columns: 55% 41%;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}

.bb-problem-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-problem-heading em {
  font-style: normal;
  color: var(--bb-or);
}

.bb-problem-copy p {
  font-size: 0.98rem;
  color: var(--bb-tx2);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 16px;
}

.bb-problem-copy p:last-child {
  margin-bottom: 0;
}

.bb-problem-copy strong {
  color: var(--bb-tx);
  font-weight: 600;
}

.bb-insight-box {
  width: 100%;
  background: #000000;
  padding: 34px 0;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.bb-insight-box p {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #ffffff;
  font-weight: 500;
  padding: 0 24px;
}

.bb-insight-box strong {
  color: #ffffff;
  font-weight: 700;
}

.bb-prob-items {
  margin-top: -10px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bb-prob-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  transition: border-color 0.2s;
}

.bb-prob-item:hover {
  border-color: var(--bb-or);
}

.bb-prob-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--bb-or-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bb-or);
}

.bb-prob-item-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bb-tx);
  margin-bottom: 3px;
}

.bb-prob-item-text span {
  font-size: 0.82rem;
  color: var(--bb-tx3);
  line-height: 1.55;
}

.bb-prob-cta {
  margin-top: 6px;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 2 — MAKE YOUR DATA TELL THE TRUTH
═══════════════════════════════════════════════════════════ */
.bb-insight {
  padding: 110px 0;
  background: var(--bb-dk-bl);
}

.bb-insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.bb-insight-quote {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--bb-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.bb-insight-quote em {
  font-style: normal;
  color: var(--bb-or);
}

.bb-insight-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,1) !important;
  line-height: 1.78;
  font-weight: 400;
  margin-bottom: 26px;
  max-width: 640px;
}

.bb-insight-bullets {
  display: flex;
  flex-direction: column;
}

.bb-insight-bullet {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #262626;
}

.bb-insight-bullet:first-of-type {
  border-top: 1px solid #262626;
}

.bb-ib-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bb-or);
  flex-shrink: 0;
  width: 24px;
  margin-top: 1px;
  letter-spacing: 0.06em;
}

.bb-ib-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--bb-white);
  margin-bottom: 5px;
  line-height: 1.35;
}

.bb-ib-text span {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.62;
}

.bb-insight-card {
  background: #161616;
  border: 1px solid rgba(255,106,0,0.35);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 26px;
}

.bb-insight-card p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.78;
  font-weight: 400;
}

.bb-insight-card p + p {
  margin-top: 12px;
}

.bb-insight-card strong {
  color: var(--bb-white);
  font-weight: 600;
}

.bb-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.bb-stat-item {
  padding: 20px 0;
  border-top: 1px solid #262626;
  text-align: left;
}

.bb-stat-item:nth-child(odd) {
  padding-right: 20px;
}

.bb-stat-item:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid #262626;
}

.bb-stat-item:nth-child(1),
.bb-stat-item:nth-child(2) {
  border-top: none;
  padding-top: 0;
}

.bb-stat-num {
  display: block;
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--bb-or);
  line-height: 1;
  margin-bottom: 7px;
}

.bb-stat-lbl {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 3 — TRACKING → CAMPAIGNS → CONVERSION → SCALE
═══════════════════════════════════════════════════════════ */
.bb-process {
  padding: 96px 0;
  background: var(--bb-white);
}

.bb-process-header {
  text-align: center;
  margin-bottom: 56px;
}

.bb-process-header .bb-heading {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

.bb-process-header .bb-lead {
  max-width: 460px;
  margin: 0 auto;
}

.bb-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.bb-process-steps::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,0,0,0.12),
    var(--bb-or),
    rgba(0,0,0,0.12),
    transparent
  );
  z-index: 0;
}

.bb-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.bb-step-node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 2px solid var(--bb-border);
  background: var(--bb-white);
  color: var(--bb-tx);
  position: relative;
  z-index: 1;
}

.bb-step:first-child .bb-step-node {
  background: var(--bb-or);
  border-color: var(--bb-or);
  color: var(--bb-white);
  box-shadow: 0 0 0 8px rgba(255,106,0,0.1);
}

.bb-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-or);
  margin-bottom: 8px;
}

.bb-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bb-tx);
  margin-bottom: 6px;
  line-height: 1.4;
}

.bb-step p {
  font-size: 0.92rem;
  color: rgba(0,0,0,0.74);
  line-height: 1.65;
  font-weight: 400;
}

/* ─── PROCESS SECTION CTA ─── */
.bb-process-cta {
  text-align: center;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--bb-border);
}

.bb-process-cta-note {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bb-tx);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}


/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */
.bb-services-head {
  max-width: 760px;
  padding: 96px 0;
  text-align: center;
}

.bb-services-head .bb-label {
  justify-content: center;
}

.bb-services-head .bb-heading {
  max-width: 760px;
  margin: 0 auto 16px;
}

.bb-services-head .bb-lead {
  max-width: 540px;
  margin: 0 auto;
}

.bb-services-scarce {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.7);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.bb-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.bb-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.bb-service-step {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,106,0,0.65);
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
  padding-bottom: 4px;
}

.bb-service-heading {
  margin-top: 0;
}

.bb-highlight {
  color: var(--bb-or);
  font-weight: 700;
}

.bb-subheading {
  color: rgba(255,255,255,0.92);
}


/* ═══════════════════════════════════════════════════════════
   SECTION 4 — REAL RESULTS FROM DATA-DRIVEN CAMPAIGNS
═══════════════════════════════════════════════════════════ */
.bb-results {
  padding: 110px 0;
  background: var(--bb-dk-bl);
}

.bb-results h2,
.bb-results .bb-heading,
.bb-results .elementor-widget-html h2 {
  color: var(--bb-white) !important;
}

.bb-results-header {
  margin-bottom: 48px;
}

.bb-results-header .bb-lead {
  max-width: 520px;
}

.bb-results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--bb-r);
  overflow: hidden;
}

.bb-res-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.07); 
}

.bb-res-card:last-child {
  border-right: none;
}

.bb-res-num {
  display: block;
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--bb-or);
  line-height: 1;
  margin-bottom: 8px;
}

.bb-res-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,1) !important;
  line-height: 1.6;
}

.bb-home-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bb-case-card {
  background: #141414;
  border: 1px solid rgba(255,106,0,0.22) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.03);
  border-radius: var(--bb-r);
  padding: 26px;
  transition: border-color 0.2s;
}

.bb-case-card:hover {
  border-color: var(--bb-or);
}

.bb-case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bb-case-pill {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--bb-or);
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 100px;
  padding: 3px 10px;
}

.bb-case-flag {
  font-size: 1rem;
}

.bb-case-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bb-white);
  line-height: 1.45;
  margin-bottom: 10px;
}

.bb-case-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,1) !important;
  line-height: 1.75;
  margin-bottom: 18px;
}

.bb-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,106,0,0.25);
  border-bottom: 1px solid rgba(255,106,0,0.25);
  padding: 14px 0;
  margin-bottom: 18px;
  text-align: center;
}

.bb-case-stats > div + div {
  border-left: 1px solid rgba(255,106,0,0.18);
}

.bb-cs-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bb-or);
  line-height: 1;
  margin-bottom: 3px;
}

.bb-cs-lbl {
  font-size: 0.75rem;
  color: #ffffff;
  line-height: 1.45;
}

.bb-case-quote {
  font-size: 0.9rem;
  color: rgba(255,255,255,1) !important;
  line-height: 1.65;
  font-style: italic;
  border-left: 2px solid var(--bb-or);
  padding-left: 13px;
}

.bb-case-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255,255,255,1) !important;
  margin-top: 7px;
}

.bb-results .bb-cta-block {
  padding-top: 44px;
}


/* ═══════════════════════════════════════════════════════════
   WPFORMS
═══════════════════════════════════════════════════════════ */
.wpforms-container {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: var(--bb-tx);
  margin-bottom: 0 !important;
}

.wpforms-container input::placeholder {
  color: rgba(0,0,0,0.45);
}

.wpforms-container,
.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select,
.wpforms-container label {
  font-family: 'Inter', sans-serif !important;
}


/* ═══════════════════════════════════════════════════════════
   SECTION 6 — FINAL CTA
═══════════════════════════════════════════════════════════ */
.bb-final {
  padding: 96px 0;
  background: var(--bb-dk-bl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bb-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(255,106,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bb-final-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bb-scarce {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.22);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bb-or);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

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

.bb-final h2,
.bb-final .bb-heading,
.bb-final .elementor-widget-html h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

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

.bb-final-body,
.bb-final p.bb-final-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 400;
  line-height: 1.72;
  margin-bottom: 32px;
}

.bb-final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.bb-final .bb-btn-primary {
  background: var(--bb-or);
  color: #ffffff !important;
  border: 1px solid var(--bb-or);
}

.bb-final .bb-btn-primary:hover {
  background: var(--bb-or-d);
  border-color: var(--bb-or-d);
  color: #ffffff !important;
}

.bb-final .bb-btn-outline-lt {
  background: transparent;
  color: var(--bb-white) !important;
  border-color: var(--bb-or) !important;
}

.bb-final .bb-btn-outline-lt:hover {
  background: rgba(255,106,0,0.08);
  color: var(--bb-or) !important;
  border-color: var(--bb-or-d) !important;
  transform: translateY(-1px);
}

.bb-final-note {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75) !important;
}

.bb-cta-actions + .bb-final-note {
  display: block;
  margin-top: 10px;
}


/* ═══════════════════════════════════════════════════════════
   WHY BLAZEBYTE
═══════════════════════════════════════════════════════════ */
.bb-why {
  padding: 116px 0;
  background: var(--bb-off);
}

.bb-why-header {
  max-width: 760px;
  margin-bottom: 60px;
}

.bb-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bb-why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 30px 28px;
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.bb-why-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255,106,0,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.bb-why-num {
  color: #FF6A00;
  opacity: 0.9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 28px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255,106,0,0.35);
}

.bb-why-content {
  display: flex;
  flex-direction: column;
}

.bb-why-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-or);
  margin-bottom: 10px;
  line-height: 1;
}

.bb-why-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}

.bb-why-body {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.72;
  font-weight: 400;
  margin: 0;
}

.bb-why .bb-cta-block {
  margin-top: 56px !important;
  padding-top: 30px;
  border-top: 1px solid rgba(17,17,17,0.08);
  text-align: center;
}

.bb-why .bb-cta-sub {
  text-align: center;
  margin-top: 12px !important;
  display: block;
  color: var(--bb-tx3);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS — SP Testimonial (Real Testimonials plugin)
   Layout: Carousel (Swiper). 12 slides, 3 visible at once.
   Background set on Elementor container: #0D1117
═══════════════════════════════════════════════════════════ */

.bb-testi {
  text-align: center;
}

/* ─── Problem section — homepage overrides for bb-pillar.css conflicts ─── */

/* Restore icons — pillar hides them with !important */
.bb-problem .bb-prob-icon {
  display: flex !important;
  color: #FF6A00 !important;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,106,0,0.09);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}

/* Fix text colors — pillar forces white */
.bb-problem .bb-prob-item-text strong {
  color: var(--bb-tx) !important;
}

.bb-problem .bb-prob-item-text span {
  color: var(--bb-tx3) !important;
}

/* Fix border — pillar uses white divider, wrong on light bg */
.bb-problem .bb-prob-item {
  border-bottom: 1px solid var(--bb-border) !important;
  background: #ffffff !important;
  border-radius: var(--bb-r) !important;
  padding: 20px !important;
  margin-bottom: 8px;
}

.bb-problem .bb-prob-item:last-child {
  border-bottom: 1px solid var(--bb-border) !important;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   AUDIT FORM — strip WPForms container card inside bb-audit
   .bb-audit-form-wrap is the card. No double border.
═══════════════════════════════════════════════════════════ */
.bb-audit .wpforms-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Form card */
.bb-audit-form-wrap {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(22,22,26,.95), rgba(11,18,27,.92));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-top: 2px solid #FF6A00;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 0 0 1px rgba(255,106,0,0.1), 0 24px 56px rgba(0,0,0,0.45);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — homepage sections
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .bb-problem-inner     { grid-template-columns: 1fr; gap: 36px; }
  .bb-insight-grid      { grid-template-columns: 1fr; gap: 44px; }
  .bb-process-steps     { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .bb-process-steps::before { display: none; }
  .bb-cases-grid        { grid-template-columns: 1fr; }
  .bb-audit-inner       { grid-template-columns: 1fr; gap: 36px; }
 
  /* Results row — collapse to stacked cards */
  .bb-results-row {
    grid-template-columns: 1fr;
    border: none;
  }
  .bb-res-card {
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: var(--bb-r);
    margin-bottom: 8px;
  }
 
  /* Case cards — stack at 900px, 2-col is too cramped */
  .bb-home-cases-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  
}
 
@media (max-width: 768px) {
  .bb-why               { padding: 72px 0; }
  .bb-why-header        { max-width: 100%; margin-bottom: 40px; }
  .bb-why-grid          { grid-template-columns: 1fr; gap: 14px; }
  .bb-why-item          { padding: 24px 20px; gap: 14px; }
  .bb-why .bb-cta-block { margin-top: 40px !important; padding-top: 24px; }
	
  .service-block {

    background: linear-gradient(

      0deg,           /* flipped */

      #000 65%,

      #1F5C99 100%

    ) !important;

  }

  .service-block .animation-section {
    order: 1 !important;
  }
	
  .service-block .service-section {
    order: 2 !important;
  }
}
 
@media (max-width: 600px) {
  .bb-problem,
  .bb-insight,
  .bb-process,
  .bb-results,
  .bb-audit,
  .bb-final             { padding: 60px 0; }
 
  .bb-prob-items        { margin-top: 20px; }
 
  /* ─── Certification logos ─── */
  .bb-hero-certs-block {
    flex-wrap: wrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
  }
  .bb-hero-certs-block .certification-logos {
    flex-wrap: wrap !important;
    gap: 2px !important;
  }
  .bb-hero-certs-block .certification-logos img[alt*="Shopify"] {
    margin-left: 8px !important;
  }
  .bb-hero-certs-block .certification-logos img[alt*="Google"] {
    --scale-base: 0.85 !important;
  }
  .bb-hero-certs-block .certification-logos img[alt*="WordPress"] {
    --scale-base: 0.9 !important;
    padding: 0 4px !important;
    margin-left: 8px !important;
  }
  .bb-hero-certs-block .certification-logos img[alt*="Meta"] {
    margin-left: -8px !important;
    margin-right: -16px !important;
  }
  .bb-hero-certs-label  { width: 100%; margin-bottom: 4px; }
 
  /* ─── Results row stats ─── */
  .bb-results-row       { grid-template-columns: 1fr !important; border: none; }
  .bb-res-card          {
    padding: 20px 16px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-right: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: var(--bb-r) !important;
    margin-bottom: 8px;
  }
  .bb-res-num           { font-size: 2rem !important; text-align: center !important; }
  .bb-res-label         { font-size: 0.82rem !important; text-align: center !important; }
 
  /* ─── Button text wrap fix ─── */
  .bb-btn               { white-space: normal !important; text-align: center !important; }
  .bb-results .bb-btn   { width: 100%; justify-content: center; }
 
  /* ─── Case stats grid — 2-col, clear all conflicting borders ─── */
  .bb-case-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    text-align: center !important;
  }
  .bb-case-stats > div {
    border-left: none !important;
    border-top: 1px solid rgba(255,106,0,0.18) !important;
    padding: 10px 8px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .bb-case-stats > div:nth-child(1),
  .bb-case-stats > div:nth-child(2) {
    border-top: none !important;
  }
  .bb-case-stats > div:nth-child(even) {
    border-left: 1px solid rgba(255,106,0,0.18) !important;
  }
  .bb-case-stats > div:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    border-left: none !important;
    border-top: 1px solid rgba(255,106,0,0.18) !important;
  }
  
  .bb-cs-num {
    text-align: center !important;
  }
  .bb-cs-lbl {
    text-align: center !important;
  }
 
  /* ─── Results CTA — full width button, centered ─── */
  .bb-results .bb-cta-block {
    text-align: center !important;
    padding-top: 32px !important;
  }
  .bb-results .bb-cta-note {
    text-align: center !important;
    color: rgba(255,255,255,0.9) !important;
  }
  .bb-results .bb-cta-actions,
  .bb-results .bb-final-actions {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  .bb-results .bb-cta-actions .bb-btn,
  .bb-results .bb-final-actions .bb-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .bb-final-note {
    display: block !important;
    text-align: center !important;
    margin-top: 10px !important;
  }
  /* ─── Audit form — keep wpforms transparent on mobile too ─── */
  .bb-audit .wpforms-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
 
  /* ─── General stat sizing ─── */
  .bb-insight-quote     { font-size: clamp(2rem, 7vw, 2.3rem); line-height: 1.08; }
  .bb-insight-intro     { margin-bottom: 20px; }
  .bb-insight-card      { padding: 20px; margin-bottom: 20px; }
  .bb-stat-num          { font-size: 1.8rem !important; }
  .bb-stat-lbl          { font-size: 0.76rem; }
 
  /* ─── Process / steps ─── */
  .bb-process-steps     { grid-template-columns: 1fr; }
 
  /* ─── Final CTA ─── */
  .bb-final             { padding: 64px 0; }
  .bb-final-body        { font-size: 0.95rem; }
  .bb-final-actions     { flex-direction: column; align-items: center; gap: 12px; }
  .bb-final-actions .bb-btn { width: 100%; justify-content: center; }
 
  /* ─── Hero stats ─── */
  .bb-hero-stats        { gap: 20px; flex-wrap: wrap; }
  .bb-hero-stat-div     { display: none; }
 
  /* ─── Cases grid ─── */
  .bb-cases-grid        { grid-template-columns: 1fr !important; gap: 14px; }
  
  .bb-case-stats > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
  
}
 
@media (max-width: 400px) {
  /* Case stats — fully 1-col on very small screens */
  .bb-case-stats {
    grid-template-columns: 1fr !important;
  }
  .bb-case-stats > div {
    border-left: none !important;
    border-top: 1px solid rgba(255,106,0,0.18) !important;
    padding: 10px 0 !important;
  }
  .bb-case-stats > div:nth-child(1) {
    border-top: none !important;
  }
  .bb-case-stats > div:nth-child(2) {
    border-top: 1px solid rgba(255,106,0,0.18) !important;
  }
  .bb-case-stats > div:last-child:nth-child(odd) {
    grid-column: auto !important;
  }
}