/* ═══════════════════════════════════════════════════════════
   bb-galp.css  —  /google-ads-landing-page-optimization/ ONLY
   Load order: globals > additional > bb-pillar > bb-cro > bb-galp
   NOTE: bb-cro.css must also be enqueued (roi-grid + pricing-grid).
   Contents:
     1. Section scaffolding
     2. NEW: bb-galp-qs-formula (S2 Quality Score formula)
     3. S5 myth cards light treatment (bb-galp-myth)
     4. S4 dark-ROI overrides (bb-galp-dark-roi) + badge
     5. bb-server-dec-block (S9)
     6. Proof cases-grid mobile breakpoint
     7. Related card text on dark bg
═══════════════════════════════════════════════════════════ */


/* ── 1. SECTION SCAFFOLDING ───────────────────────────────── */
.bb-galp-white,
.bb-galp-light { padding: 96px 0; }
.bb-galp-white { background: #ffffff; }
.bb-galp-light { background: #F7F8FA; }
.bb-galp-white h2, .bb-galp-light h2 { color: #111827; }
.bb-galp-white .bb-lead, .bb-galp-light .bb-lead { color: #4F5B68; }
.bb-audit { padding: 96px 0 !important; }


/* ── 2. NEW: QUALITY SCORE FORMULA (S2) ───────────────────── */
.bb-galp-qs-formula {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 36px 0 12px;
  padding: 32px 24px;
  background: #fff8f2;
  border: 1px solid rgba(255,106,0,0.15);
  border-radius: 14px;
}
.bb-galp-qs-inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bb-galp-qs-chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  border: 1px solid #E8EBF0;
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.bb-galp-qs-chip--active {
  color: #FF6A00;
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.35);
  font-weight: 700;
}
.bb-galp-qs-op {
  font-size: 1.1rem;
  font-weight: 700;
  color: #9CA3AF;
}
.bb-galp-qs-arrow {
  font-size: 1.2rem;
  color: #FF6A00;
  line-height: 1;
}
.bb-galp-qs-result {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  background: #ffffff;
  border: 2px solid #FF6A00;
  border-radius: 10px;
  padding: 10px 28px;
}
.bb-galp-qs-outcome {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bb-galp-qs-outcome-item {
  font-size: 0.9rem;
  font-weight: 700;
  color: #122035;
  background: #eef1f6;
  border-radius: 8px;
  padding: 8px 18px;
}
.bb-galp-qs-outcome-plus {
  font-size: 1rem;
  font-weight: 700;
  color: #9CA3AF;
}
.bb-galp-qs-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 8px;
}
@media (max-width: 600px) {
  .bb-galp-qs-inputs { flex-direction: column; }
  .bb-galp-qs-outcome { flex-direction: column; }
}


/* ── 3. S5 MYTH CARDS — light treatment ───────────────────── */
.bb-galp-myth { grid-template-columns: 1fr 1fr 1fr !important; }
.bb-galp-myth .bb-conseq-card {
  background: #ffffff;
  border: 1px solid #E8EBF0;
  border-left: 3px solid #DC2626;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 1px 3px rgba(16,24,40,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.bb-galp-myth .bb-conseq-card:hover {
  box-shadow: 0 6px 18px rgba(16,24,40,0.08);
  transform: translateY(-2px);
}
.bb-galp-myth-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #DC2626;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.bb-galp-myth .bb-conseq-card-label {
  color: #4B5563; font-style: italic; font-size: 0.92rem; font-weight: 600;
}
.bb-galp-myth .bb-conseq-card p { color: #4F5B68; }
.bb-galp-myth .bb-conseq-card p strong { color: #111827; }
.bb-galp-myth .bb-conseq-card-strong { color: #C2410C; font-weight: 700; }
@media (max-width: 860px) {
  .bb-galp-myth { grid-template-columns: 1fr !important; }
}


/* ── 4. S4 DARK-ROI OVERRIDES (bb-galp-dark-roi) ──────────────
   roi-grid on black bb-problem-pillar. All cards same dark family,
   hierarchy via weight + orange accent. Matches the audit page. ── */
.bb-galp-dark-roi .bb-cro-roi-grid { padding-top: 22px !important; }

.bb-galp-dark-roi .bb-cro-roi-card--before {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}
.bb-galp-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__label { color: rgba(255,255,255,0.5) !important; }
.bb-galp-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__number { color: rgba(255,255,255,0.55) !important; }
.bb-galp-dark-roi .bb-cro-roi-card--before .bb-cro-roi-card__sub { color: rgba(255,255,255,0.45) !important; }

.bb-galp-dark-roi .bb-cro-roi-card--after {
  background: rgba(255,106,0,0.07) !important;
  border: 1px solid rgba(255,106,0,0.3) !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: visible !important;
}
.bb-galp-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__label { color: rgba(255,106,0,0.8) !important; }
.bb-galp-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__number { color: #FF6A00 !important; }
.bb-galp-dark-roi .bb-cro-roi-card--after .bb-cro-roi-card__sub { color: rgba(255,106,0,0.7) !important; }

.bb-galp-dark-roi .bb-cro-roi-card--gain {
  background: rgba(255,106,0,0.13) !important;
  border: 2px solid #FF6A00 !important;
  box-shadow: 0 0 28px rgba(255,106,0,0.18) !important;
}
.bb-galp-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__label { color: #FF6A00 !important; }
.bb-galp-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__number { color: #FF6A00 !important; }
.bb-galp-dark-roi .bb-cro-roi-card--gain .bb-cro-roi-card__sub { color: rgba(255,106,0,0.75) !important; }

.bb-galp-dark-roi .bb-cro-roi-footnote {
  background: rgba(255,106,0,0.08) !important;
  border: 1px solid rgba(255,106,0,0.2) !important;
  border-left: 3px solid #FF6A00 !important;
  border-radius: 0 10px 10px 0 !important;
  color: rgba(255,255,255,0.75) !important;
}
.bb-galp-dark-roi .bb-cro-roi-footnote strong { color: #ffffff !important; }

.bb-galp-dark-roi .bb-ct-attrib-caption { color: rgba(255,255,255,0.8) !important; }
.bb-galp-dark-roi .bb-ct-attrib-caption strong { color: #ffffff !important; }

/* S4 badge on center card */
.bb-galp-roi-card-featured { position: relative !important; overflow: visible !important; }
.bb-galp-roi-badge {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  white-space: nowrap !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  background: #000000 !important;
  border: 1px solid rgba(255,106,0,0.4) !important;
  border-radius: 999px !important;
  padding: 3px 12px !important;
}


/* ── 5. bb-server-dec-block (S9) ──────────────────────────── */
.bb-server-dec-block {
  background: #fff8f2 !important;
  border: 1px solid rgba(255,106,0,0.15) !important;
  border-left: 3px solid #FF6A00 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 20px 24px !important;
}
.bb-server-dec-block p {
  font-size: 0.9rem !important;
  color: #374151 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}


/* ── 6. Proof cases grid mobile breakpoint ────────────────── */
@media (max-width: 860px) {
  .bb-proof .bb-cases-grid { grid-template-columns: 1fr !important; }
}


/* ── 7. Related card text on dark bg (#080a0e) ────────────── */
.bb-related .bb-related-card h3 {
  color: #ffffff !important; font-size: 1rem !important; font-weight: 700 !important;
  margin: 10px 0 12px !important; line-height: 1.3 !important;
}
.bb-related .bb-related-card p {
  color: rgba(255,255,255,0.72) !important; font-size: 0.84rem !important;
  line-height: 1.65 !important; flex: 1 !important; margin-bottom: 18px !important;
}
.bb-related .bb-related-card .bb-case-pill {
  color: #FF6A00 !important; background: rgba(255,106,0,0.1) !important;
  border: 1px solid rgba(255,106,0,0.2) !important; font-size: 0.65rem !important;
  font-weight: 700 !important; letter-spacing: 0.1em !important; text-transform: uppercase !important;
  padding: 3px 10px !important; border-radius: 999px !important; display: inline-flex !important;
  align-self: flex-start !important; width: auto !important; max-width: fit-content !important;
  margin-bottom: 12px !important;
}