/*
Theme Name: Bizzbyte Editable Theme
Theme URI: https://bizzbyte.in/
Author: OpenAI
Author URI: https://openai.com/
Description: Editable, Elementor-ready WordPress theme for Bizzbyte. Full Elementor Pro Theme Builder support (header, footer, single, archive), native "Bizzbyte" Elementor widgets for every homepage section, matching shortcodes, plus Customizer controls, Services, blog, FAQ/privacy/terms templates and starter content.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bizzbyte-editable
Tags: custom-logo, custom-colors, custom-menu, featured-images, one-column, editor-style, portfolio, blog
*/

:root {
  --bb-primary: #0ea5e9;
  --bb-primary-rgb: 14, 165, 233;
  --bb-accent: #8b5cf6;
  --bb-accent-rgb: 139, 92, 246;
  --bb-bg: #070b14;
  --bb-bg-2: #0a0f1c;
  --bb-card: #101622;
  --bb-card-2: #141b2a;
  --bb-text: #f1f5f9;
  --bb-muted: #8c99ac;
  --bb-border: rgba(148, 163, 184, 0.16);
  --bb-border-strong: rgba(148, 163, 184, 0.26);
  --bb-radius: 22px;
  --bb-radius-sm: 14px;
  --bb-shadow: 0 18px 60px -28px rgba(0, 0, 0, 0.75);
  --bb-glow: 0 0 70px -22px rgba(var(--bb-primary-rgb), 0.65);
  --bb-gradient: linear-gradient(135deg, var(--bb-primary), var(--bb-accent));
  --bb-gradient-soft: radial-gradient(ellipse at 20% 50%, rgba(var(--bb-primary-rgb), .11) 0%, transparent 48%), radial-gradient(ellipse at 80% 20%, rgba(var(--bb-accent-rgb), .10) 0%, transparent 52%), radial-gradient(ellipse at 50% 80%, rgba(var(--bb-primary-rgb), .06) 0%, transparent 50%);
  --bb-font-display: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bb-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bizzbyte-theme, body { margin: 0; background: var(--bb-bg); color: var(--bb-text); font-family: var(--bb-font-body); line-height: 1.6; }
body.bizzbyte-theme { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.bb-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.bb-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.bb-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }
.bb-section { position: relative; padding: 112px 0; overflow: hidden; }
.bb-section-tight { padding: 76px 0; }
.bb-kicker { display: inline-block; margin-bottom: 12px; color: var(--bb-primary); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.bb-section-title { margin: 0; font-family: var(--bb-font-display); font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--bb-text); }
.bb-section-copy { margin: 18px 0 0; max-width: 680px; color: var(--bb-muted); font-size: 16px; }
.text-gradient { background: var(--bb-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted-heading { color: rgba(241, 245, 249, .45); }
.bb-glass { border: 1px solid var(--bb-border); background: rgba(16, 22, 34, .70); backdrop-filter: blur(18px); box-shadow: var(--bb-shadow); }
.bb-bg-mesh { position: absolute; inset: 0; background: var(--bb-gradient-soft); pointer-events: none; }
.bb-grid-bg { position: absolute; inset: 0; background-size: 60px 60px; background-image: linear-gradient(to right, rgba(148, 163, 184, .10) 1px, transparent 1px), linear-gradient(to bottom, rgba(148, 163, 184, .10) 1px, transparent 1px); pointer-events: none; }
.bb-dot-bg { position: absolute; inset: 0; background-size: 30px 30px; background-image: radial-gradient(circle, rgba(148, 163, 184, .12) 1px, transparent 1px); pointer-events: none; }
.bb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.bb-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.bb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 20px; border-radius: 14px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; border: 1px solid transparent; cursor: pointer; }
.bb-btn:hover { transform: translateY(-1px); }
.bb-btn-primary { background: var(--bb-gradient); color: #051018; box-shadow: var(--bb-glow); }
.bb-btn-outline { color: var(--bb-text); border-color: rgba(var(--bb-primary-rgb), .26); background: rgba(16, 22, 34, .55); }
.bb-btn-outline:hover { border-color: rgba(var(--bb-primary-rgb), .5); box-shadow: var(--bb-glow); }
.bb-btn-light { background: rgba(255,255,255,.96); color: var(--bb-primary); border: 2px solid rgba(255,255,255,.25); }
.bb-btn-ghost { color: white; border-color: rgba(255,255,255,.32); background: transparent; }
.bb-btn-full { width: 100%; }
.bb-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* Header */
.bb-site-header { position: fixed; inset: 0 0 auto; z-index: 1000; background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.admin-bar .bb-site-header { top: 32px; }
.bb-site-header.is-scrolled { background: rgba(7, 11, 20, .76); backdrop-filter: blur(22px); border-bottom-color: var(--bb-border); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.bb-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 13px; background: var(--bb-gradient); color: #06111a; font-family: var(--bb-font-display); font-size: 19px; font-weight: 800; box-shadow: var(--bb-glow); }
.brand-name { font-family: var(--bb-font-display); font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.brand-logo-img img { max-height: 48px; width: auto; }
.bb-primary-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bb-primary-menu li { margin: 0; }
.bb-primary-menu a { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 11px; color: var(--bb-muted); font-size: 14px; font-weight: 600; }
.bb-primary-menu a:hover, .bb-primary-menu .current-menu-item > a { color: var(--bb-text); background: rgba(148, 163, 184, .09); }

/* Desktop submenu / dropdown */
.bb-primary-menu li { position: relative; }
.bb-primary-menu .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px); transition: transform .2s ease; opacity: .8; }
.bb-primary-menu .menu-item-has-children:hover > a::after { transform: rotate(-135deg) translateY(1px); }
.bb-primary-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 224px; margin: 0; padding: 8px; list-style: none; background: rgba(10, 15, 28, .97); backdrop-filter: blur(18px); border: 1px solid var(--bb-border); border-radius: var(--bb-radius-sm); box-shadow: 0 24px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 200; }
/* invisible bridge so the cursor doesn't drop the menu in the gap */
.bb-primary-menu .menu-item-has-children::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 10px; }
.bb-primary-menu li:hover > .sub-menu, .bb-primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bb-primary-menu .sub-menu li { width: 100%; }
.bb-primary-menu .sub-menu a { display: block; width: 100%; padding: 9px 12px; border-radius: 9px; white-space: nowrap; font-size: 14px; }
.bb-primary-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: auto; }
.bb-primary-menu .sub-menu .sub-menu { top: -8px; left: 100%; }

.bb-header-cta { margin-left: 10px; }
.bb-menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 13px; background: rgba(148, 163, 184, .08); color: var(--bb-text); align-items: center; justify-content: center; }
.bb-mobile-panel { display: none; }

/* Hero */
.bb-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 144px 0 88px; }
.bb-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bb-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.bb-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, .45), rgba(7, 11, 20, .78) 48%, var(--bb-bg)); }
.bb-orb { position: absolute; border-radius: 999px; filter: blur(92px); opacity: .75; animation: bbGlow 5s ease-in-out infinite; }
.bb-orb-one { left: 10%; top: 18%; width: 310px; height: 310px; background: rgba(var(--bb-primary-rgb), .10); }
.bb-orb-two { right: 14%; bottom: 28%; width: 240px; height: 240px; background: rgba(var(--bb-accent-rgb), .10); animation-delay: 2s; }
@keyframes bbGlow { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .9; } }
.bb-hero-grid { position: relative; z-index: 2; display: grid; align-items: center; gap: 64px; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
.bb-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(var(--bb-primary-rgb), .22); background: rgba(var(--bb-primary-rgb), .06); color: var(--bb-primary); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; margin-bottom: 24px; }
.bb-badge-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--bb-primary); box-shadow: 0 0 0 7px rgba(var(--bb-primary-rgb), .13); }
.bb-hero-title { margin: 0; font-family: var(--bb-font-display); font-size: clamp(2.7rem, 7vw, 4.8rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 800; }
.bb-hero-copy { margin: 26px 0 0; max-width: 590px; color: var(--bb-muted); font-size: clamp(16px, 2vw, 18px); }
.bb-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.bb-stats { margin-top: 56px; display: flex; gap: 42px; border-top: 1px solid var(--bb-border); padding-top: 28px; }
.bb-stat-value { font-family: var(--bb-font-display); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; font-weight: 800; }
.bb-stat-label { margin-top: 7px; color: var(--bb-muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.bb-dashboard { position: relative; perspective: 1000px; }
.bb-dashboard-card { position: relative; overflow: hidden; border-radius: 24px; padding: 25px; }
.bb-dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.bb-dashboard-head-left { display: flex; align-items: center; gap: 9px; font-family: var(--bb-font-display); font-size: 12px; font-weight: 800; }
.bb-live { border-radius: 999px; background: rgba(var(--bb-primary-rgb), .12); color: var(--bb-primary); padding: 2px 10px; font-size: 10px; font-weight: 800; }
.bb-bars { height: 132px; display: flex; align-items: end; gap: 8px; margin-bottom: 24px; }
.bb-bar { flex: 1; min-width: 10px; border-radius: 8px 8px 0 0; background: var(--bb-gradient); opacity: .82; animation: bbRise .9s cubic-bezier(.2,.85,.25,1) both; }
@keyframes bbRise { from { height: 0 !important; } }
.bb-mini-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bb-mini-metric { border-radius: 14px; background: rgba(148,163,184,.08); padding: 13px; }
.bb-mini-metric span { display: block; color: var(--bb-muted); font-size: 10px; }
.bb-mini-metric strong { display: block; font-family: var(--bb-font-display); margin-top: 4px; }
.bb-mini-metric em { display: block; color: var(--bb-primary); font-size: 10px; font-style: normal; font-weight: 800; }
.bb-float-card { position: absolute; z-index: 4; border-radius: 16px; padding: 14px; }
.bb-float-left { left: -35px; bottom: -16px; animation: bbFloatA 4s ease-in-out infinite; }
.bb-float-right { right: -18px; top: 32px; animation: bbFloatB 5s ease-in-out infinite; }
@keyframes bbFloatA { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }
@keyframes bbFloatB { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(7px);} }

/* Trusted platforms */
.bb-trusted { border-block: 1px solid var(--bb-border); padding: 46px 0; overflow: hidden; }
.bb-trusted-title { margin: 0 0 28px; color: var(--bb-muted); text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.bb-marquee { position: relative; display: flex; overflow: hidden; }
.bb-marquee::before, .bb-marquee::after { content:''; position:absolute; top:0; bottom:0; z-index:2; width:120px; pointer-events:none; }
.bb-marquee::before { left:0; background: linear-gradient(90deg, var(--bb-bg), transparent); }
.bb-marquee::after { right:0; background: linear-gradient(270deg, var(--bb-bg), transparent); }
.bb-marquee-track { display: flex; align-items: center; gap: 46px; min-width: max-content; animation: bbMarquee 30s linear infinite; }
.bb-platform { display: inline-flex; align-items: center; gap: 10px; color: rgba(140, 153, 172, .86); font-family: var(--bb-font-display); font-weight: 700; white-space: nowrap; }
.bb-platform-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--bb-border); background: rgba(148,163,184,.08); color: var(--bb-primary); font-size: 12px; }
@keyframes bbMarquee { to { transform: translateX(-50%); } }

/* Services */
.bb-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 58px; }
.bb-card-grid { display: grid; gap: 22px; }
.bb-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-service-card { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 24px; border: 1px solid var(--bb-border); background: rgba(16, 22, 34, .68); transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.bb-service-card::before { content:''; position:absolute; inset:0; opacity:0; transition: opacity .35s ease; background: linear-gradient(135deg, rgba(var(--bb-primary-rgb), .18), rgba(var(--bb-primary-rgb), .04)); }
.bb-service-card.accent::before { background: linear-gradient(135deg, rgba(var(--bb-accent-rgb), .18), rgba(var(--bb-accent-rgb), .04)); }
.bb-service-card.mixed::before { background: linear-gradient(135deg, rgba(var(--bb-primary-rgb), .16), rgba(var(--bb-accent-rgb), .10)); }
.bb-service-card:hover { border-color: rgba(var(--bb-primary-rgb), .35); transform: translateY(-4px); box-shadow: var(--bb-glow); }
.bb-service-card:hover::before { opacity: 1; }
.bb-service-inner { position: relative; padding: 32px; }
.bb-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.bb-icon-box { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: var(--bb-gradient); color: #07101a; box-shadow: var(--bb-glow); }
.bb-service-card h3 { margin: 24px 0 0; font-family: var(--bb-font-display); font-size: 21px; line-height: 1.2; }
.bb-service-card p { margin: 12px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bb-pill { display: inline-flex; align-items: center; border: 1px solid var(--bb-border); border-radius: 999px; padding: 6px 10px; background: rgba(148,163,184,.07); color: rgba(241,245,249,.82); font-size: 12px; font-weight: 700; }

/* Process */
.bb-center { text-align: center; }
.bb-center .bb-section-copy { margin-left: auto; margin-right: auto; }
.bb-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-process-card { position: relative; border-radius: 22px; border: 1px solid var(--bb-border); background: rgba(16,22,34,.78); padding: 28px; min-height: 255px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-process-card:hover { transform: translateY(-4px); border-color: rgba(var(--bb-primary-rgb), .35); box-shadow: var(--bb-glow); }
.bb-process-card::after { content: attr(data-step); position: absolute; right: -6px; top: -28px; font-family: var(--bb-font-display); font-size: 74px; font-weight: 800; color: rgba(var(--bb-primary-rgb), .06); }
.bb-process-card h3 { margin: 15px 0 0; font-family: var(--bb-font-display); font-size: 18px; line-height: 1.25; }
.bb-process-card p { margin: 12px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-step-label { display: block; margin-top: 18px; color: var(--bb-primary); font-family: var(--bb-font-display); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* About */
.bb-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.bb-check-list { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.bb-check-list li { display: flex; align-items: center; gap: 9px; color: var(--bb-text); font-size: 14px; }
.bb-check-list svg { color: var(--bb-primary); }
.bb-quote { margin: 38px 0 0; border: 1px solid var(--bb-border); border-radius: 18px; background: rgba(16,22,34,.52); padding: 22px; color: var(--bb-muted); }
.bb-quote p { margin: 0; font-style: italic; }
.bb-quote cite { display: block; margin-top: 10px; color: var(--bb-primary); font-size: 12px; font-style: normal; font-weight: 800; }
.bb-values { display: grid; gap: 18px; }
.bb-value-card { display: flex; gap: 20px; border: 1px solid var(--bb-border); border-radius: 22px; background: rgba(16,22,34,.68); padding: 24px; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.bb-value-card:hover { border-color: rgba(var(--bb-primary-rgb), .32); transform: translateY(-3px); box-shadow: var(--bb-glow); }
.bb-value-card h3 { margin: 0; font-family: var(--bb-font-display); font-size: 18px; }
.bb-value-card p { margin: 8px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-radius: 22px; background: var(--bb-gradient); padding: 24px; }
.bb-about-stat { text-align: center; color: #06101a; }
.bb-about-stat strong { display: block; font-family: var(--bb-font-display); font-size: 26px; line-height: 1; }
.bb-about-stat span { display: block; margin-top: 7px; font-size: 10px; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

/* Testimonials */
.bb-testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-testimonial { position: relative; overflow: hidden; border: 1px solid var(--bb-border); border-radius: 24px; background: rgba(16,22,34,.74); padding: 30px; }
.bb-testimonial .bb-quote-icon { position: absolute; right: 24px; top: 22px; color: rgba(var(--bb-primary-rgb), .12); }
.bb-stars { display: flex; gap: 4px; color: var(--bb-primary); margin-bottom: 20px; }
.bb-stars svg { fill: currentColor; }
.bb-testimonial p { margin: 0; color: var(--bb-muted); font-size: 14px; }
.bb-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--bb-border); }
.bb-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bb-gradient); color: #061018; font-family: var(--bb-font-display); font-weight: 800; }
.bb-person strong { display: block; font-family: var(--bb-font-display); line-height: 1.2; }
.bb-person span { color: var(--bb-muted); font-size: 12px; }

/* Blog cards */
.bb-blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.bb-post-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; border: 1px solid var(--bb-border); border-radius: 24px; background: rgba(16,22,34,.68); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-post-card:hover { transform: translateY(-4px); border-color: rgba(var(--bb-primary-rgb), .35); box-shadow: var(--bb-glow); }
.bb-post-img { aspect-ratio: 16/10; overflow: hidden; background: rgba(148,163,184,.07); }
.bb-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.bb-post-card:hover .bb-post-img img { transform: scale(1.05); }
.bb-post-content { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.bb-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--bb-muted); font-size: 12px; }
.bb-category { border-radius: 999px; padding: 5px 10px; color: var(--bb-primary); background: rgba(var(--bb-primary-rgb), .10); font-weight: 800; }
.bb-post-card h3, .bb-post-card h2 { margin: 16px 0 0; font-family: var(--bb-font-display); font-size: 22px; line-height: 1.25; }
.bb-post-card p { margin: 10px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-read-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; color: var(--bb-primary); font-size: 14px; font-weight: 800; }
.bb-blog-stack { display: flex; flex-direction: column; gap: 16px; }
.bb-post-card.compact { flex-direction: row; gap: 18px; padding: 16px; }
.bb-post-card.compact .bb-post-img { width: 128px; height: 104px; aspect-ratio: auto; flex-shrink: 0; border-radius: 15px; }
.bb-post-card.compact .bb-post-content { padding: 0; justify-content: center; }
.bb-post-card.compact h3 { margin-top: 8px; font-size: 15px; }
.bb-post-card.compact .bb-read-link { padding-top: 9px; font-size: 12px; opacity: .9; }

/* Blog section v2 — uniform card grid */
.bb-blog-grid-v2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 52px; }
.bb-blog-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); background: linear-gradient(180deg, var(--bb-card-2), var(--bb-card)); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.bb-blog-card:hover { transform: translateY(-6px); border-color: rgba(var(--bb-primary-rgb), .4); box-shadow: var(--bb-glow); }
.bb-blog-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(148,163,184,.07); }
.bb-blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.bb-blog-card:hover .bb-blog-card-media img { transform: scale(1.06); }
.bb-blog-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,11,20,.55)); }
.bb-blog-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(7,11,20,.7); backdrop-filter: blur(8px); border: 1px solid var(--bb-border); color: var(--bb-primary); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.bb-blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.bb-blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--bb-muted); font-size: 12.5px; }
.bb-blog-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bb-blog-card-title { margin: 14px 0 0; font-family: var(--bb-font-display); font-size: 20px; line-height: 1.28; letter-spacing: -.01em; }
.bb-blog-card-title a { color: var(--bb-text); }
.bb-blog-card-title a:hover { color: var(--bb-primary); }
.bb-blog-card-excerpt { margin: 12px 0 0; color: var(--bb-muted); font-size: 14px; line-height: 1.6; }
.bb-blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.bb-blog-card-author { display: inline-flex; align-items: center; gap: 6px; color: var(--bb-muted); font-size: 13px; font-weight: 600; }
.bb-blog-card .bb-read-link { margin-top: 0; padding-top: 0; }

@media (max-width: 980px) {
  .bb-blog-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* CTA */
.bb-cta-box { position: relative; overflow: hidden; border-radius: 32px; background: var(--bb-gradient); padding: clamp(44px, 8vw, 78px); text-align: center; color: #061018; }
.bb-cta-box::before, .bb-cta-box::after { content:''; position:absolute; border-radius: 999px; background: rgba(255,255,255,.14); filter: blur(40px); }
.bb-cta-box::before { width: 260px; height: 260px; right: -70px; top: -80px; }
.bb-cta-box::after { width: 210px; height: 210px; left: -70px; bottom: -70px; }
.bb-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.bb-cta-box h2 { margin: 0; font-family: var(--bb-font-display); font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.04em; }
.bb-cta-box p { margin: 20px auto 0; max-width: 580px; opacity: .78; font-size: 16px; }

/* Contact */
.bb-contact-card { position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--bb-border); background: rgba(16,22,34,.70); backdrop-filter: blur(18px); box-shadow: var(--bb-shadow); }
.bb-contact-card::before { content:''; position:absolute; width: 350px; height: 350px; right: -130px; top: -160px; background: rgba(var(--bb-primary-rgb), .10); border-radius: 50%; filter: blur(92px); }
.bb-contact-card::after { content:''; position:absolute; width: 350px; height: 350px; left: -130px; bottom: -160px; background: rgba(var(--bb-accent-rgb), .10); border-radius: 50%; filter: blur(92px); }
.bb-contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 3fr; }
.bb-contact-info { padding: 46px; border-right: 1px solid var(--bb-border); }
.bb-contact-info .bb-section-title { font-size: clamp(2rem, 4vw, 2.55rem); }
.bb-contact-list { margin: 38px 0 0; display: grid; gap: 18px; }
.bb-contact-item { display: flex; align-items: center; gap: 15px; color: var(--bb-muted); font-size: 14px; transition: color .2s ease; }
.bb-contact-item:hover { color: var(--bb-text); }
.bb-contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(var(--bb-primary-rgb), .10); color: var(--bb-primary); }
.bb-contact-form { padding: 46px; }
.bb-contact-form h3 { margin: 0 0 20px; font-family: var(--bb-font-display); }
.bb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-field { margin-bottom: 16px; }
.bb-field.full { grid-column: 1 / -1; }
.bb-field label { display: block; margin-bottom: 6px; color: var(--bb-muted); font-size: 12px; font-weight: 700; }
.bb-field input, .bb-field textarea { width: 100%; border-radius: 14px; border: 1px solid var(--bb-border); background: rgba(148,163,184,.07); color: var(--bb-text); padding: 13px 15px; outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.bb-field input:focus, .bb-field textarea:focus { border-color: rgba(var(--bb-primary-rgb), .55); background: rgba(148,163,184,.11); box-shadow: 0 0 0 3px rgba(var(--bb-primary-rgb), .12); }
.bb-field textarea { min-height: 120px; resize: vertical; }
.bb-form-note, .bb-form-status { margin: 12px 0 0; color: rgba(140,153,172,.72); text-align: center; font-size: 11px; }
.bb-form-status.success { color: #6ee7b7; }
.bb-form-status.error { color: #fca5a5; }

/* Footer */
.bb-site-footer { border-top: 1px solid var(--bb-border); background: rgba(16,22,34,.30); padding: 64px 0 28px; }
.bb-footer-grid { display: grid; gap: 42px; grid-template-columns: 2fr repeat(3, 1fr); }
.bb-footer-brand p { margin: 20px 0 0; max-width: 360px; color: var(--bb-muted); font-size: 14px; }
.bb-footer-phone { display: inline-block; margin-top: 18px; color: var(--bb-primary); font-size: 14px; font-weight: 800; }
.bb-footer-col h4 { margin: 0 0 16px; font-family: var(--bb-font-display); font-size: 14px; }
.bb-footer-menu, .bb-footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.bb-footer-menu a, .bb-footer-col a { display: inline-flex; align-items: center; gap: 5px; color: var(--bb-muted); font-size: 14px; }
.bb-footer-menu a:hover, .bb-footer-col a:hover { color: var(--bb-text); }
.bb-footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bb-border); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--bb-muted); font-size: 12px; }
.bb-footer-bottom-links { display: flex; gap: 22px; }

/* Interior pages */
.bb-page-hero { position: relative; padding: 148px 0 64px; overflow: hidden; }
.bb-page-title { margin: 0; font-family: var(--bb-font-display); font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; }
.bb-page-copy { margin: 18px 0 0; color: var(--bb-muted); font-size: 18px; max-width: 720px; }
.bb-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--bb-muted); font-size: 14px; font-weight: 700; }
.bb-back-link:hover { color: var(--bb-text); }
.bb-content-wrap { padding: 48px 0 96px; }
.bb-page-content { color: var(--bb-muted); }
.bb-page-content h1, .bb-page-content h2, .bb-page-content h3 { color: var(--bb-text); font-family: var(--bb-font-display); line-height: 1.18; }
.bb-page-content h2 { margin-top: 42px; font-size: 29px; }
.bb-page-content h3 { margin-top: 30px; font-size: 21px; }
.bb-page-content p, .bb-page-content li { color: var(--bb-muted); }
.bb-page-content a { color: var(--bb-primary); font-weight: 700; }
.bb-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bb-single-article { padding-bottom: 96px; }
.bb-single-header { max-width: 840px; margin-inline: auto; }
.bb-single-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--bb-muted); font-size: 14px; }
.bb-single-meta span { display: inline-flex; align-items: center; gap: 7px; }
.bb-single-image { margin: 42px auto 0; max-width: 840px; overflow: hidden; border: 1px solid var(--bb-border); border-radius: 24px; }
.bb-single-image img { width: 100%; object-fit: cover; }
.bb-prose { max-width: 840px; margin: 48px auto 0; }
.bb-prose h2 { margin: 44px 0 16px; font-family: var(--bb-font-display); font-size: 30px; color: var(--bb-text); }
.bb-prose h3 { margin: 32px 0 12px; font-family: var(--bb-font-display); font-size: 21px; color: var(--bb-text); }
.bb-prose p, .bb-prose li { color: var(--bb-muted); font-size: 16px; }
.bb-prose strong { color: var(--bb-text); }
.bb-prose ul, .bb-prose ol { padding-left: 24px; }
.bb-related { max-width: 840px; margin: 84px auto 0; }
.bb-related h2 { font-family: var(--bb-font-display); }
.bb-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* Single service */
.bb-service-hero { padding-bottom: 80px; }
.bb-service-hero .bb-icon-box { width: 66px; height: 66px; border-radius: 20px; margin-bottom: 24px; }
.bb-service-tagline { color: var(--bb-primary); font-weight: 800; font-size: 18px; margin: 12px 0 0; }
.bb-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.bb-feature-card { border: 1px solid var(--bb-border); border-radius: 22px; background: rgba(16,22,34,.68); padding: 28px; }
.bb-feature-card h3 { margin: 0; font-family: var(--bb-font-display); font-size: 19px; }
.bb-feature-card p { margin: 12px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-feature-card-link { display: block; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.bb-feature-card-link:hover { border-color: rgba(var(--bb-primary-rgb), .4); transform: translateY(-4px); box-shadow: var(--bb-glow); }
.bb-feature-card-link h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--bb-text); }
.bb-feature-card-link:hover h3 { color: var(--bb-primary); }
.bb-feature-card-link .bb-icon { flex-shrink: 0; color: var(--bb-primary); transition: transform .3s ease; }
.bb-feature-card-link:hover .bb-icon { transform: translate(3px, -3px); }
.bb-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.bb-benefit { display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--bb-border); border-radius: 16px; background: rgba(16,22,34,.68); padding: 18px; font-size: 14px; font-weight: 700; }
.bb-benefit svg { color: var(--bb-primary); margin-top: 2px; }
.bb-other-services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.bb-other-service { display: flex; align-items: center; gap: 14px; border: 1px solid var(--bb-border); border-radius: 18px; background: rgba(16,22,34,.68); padding: 18px; transition: transform .3s ease, border-color .3s ease; }
.bb-other-service:hover { transform: translateY(-3px); border-color: rgba(var(--bb-primary-rgb), .35); }
.bb-other-service .bb-icon-box { width: 44px; height: 44px; border-radius: 14px; }
.bb-other-service strong { font-family: var(--bb-font-display); font-size: 14px; }

/* Search / misc */
.bb-search-form { display: flex; gap: 12px; margin-top: 24px; }
.bb-search-form input { flex: 1; border-radius: 14px; border: 1px solid var(--bb-border); background: rgba(148,163,184,.07); color: var(--bb-text); padding: 13px 15px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.alignwide { max-width: 1180px; }
.alignfull { max-width: none; }
.wp-caption, .gallery-caption, .bypostauthor { color: inherit; }

@media (max-width: 1024px) {
  .bb-hero-grid, .bb-about-grid, .bb-contact-grid { grid-template-columns: 1fr; }
  .bb-dashboard { display: none; }
  .bb-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-testimonials-grid, .bb-archive-grid, .bb-benefit-grid, .bb-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-contact-info { border-right: 0; border-bottom: 1px solid var(--bb-border); }
  .bb-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .admin-bar .bb-site-header { top: 46px; }
  .bb-container, .bb-narrow { width: min(100% - 32px, 1180px); }
  .bb-desktop-nav, .bb-header-cta { display: none; }
  .bb-menu-toggle { display: inline-flex; }
  .bb-mobile-panel { display: none; border-top: 1px solid var(--bb-border); background: rgba(7,11,20,.94); backdrop-filter: blur(18px); }
  .bb-mobile-panel.is-open { display: block; }
  .bb-mobile-menu { list-style: none; margin: 0; padding: 16px; display: grid; gap: 6px; }
  .bb-mobile-menu a { display: block; padding: 12px 14px; border-radius: 12px; color: var(--bb-muted); font-weight: 700; }
  .bb-mobile-menu a:hover { color: var(--bb-text); background: rgba(148,163,184,.08); }
  /* Mobile submenu: collapsed until its caret is tapped */
  .bb-mobile-menu .sub-menu { list-style: none; margin: 4px 0 4px 6px; padding: 0 0 0 10px; border-left: 1px solid var(--bb-border); display: none; }
  .bb-mobile-menu .menu-item-has-children.is-open > .sub-menu { display: grid; gap: 4px; }
  .bb-mobile-menu .menu-item-has-children { position: relative; }
  .bb-mobile-menu .menu-item-has-children > a { padding-right: 50px; }
  .bb-submenu-toggle { position: absolute; top: 0; right: 0; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--bb-muted); }
  .bb-submenu-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
  .bb-mobile-menu .menu-item-has-children.is-open > .bb-submenu-toggle::before { transform: rotate(-135deg); }
  .bb-hero { padding-top: 128px; }
  .bb-stats { gap: 24px; flex-wrap: wrap; }
  .bb-services-grid, .bb-blog-grid, .bb-blog-grid-v2, .bb-feature-grid, .bb-related-grid { grid-template-columns: 1fr; }
  .bb-heading-row { display: block; }
  .bb-heading-row .bb-btn { margin-top: 18px; }
  .bb-check-list, .bb-form-grid { grid-template-columns: 1fr; }
  .bb-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .bb-section { padding: 82px 0; }
  .bb-section-tight { padding: 58px 0; }
  .bb-hero-title { font-size: clamp(2.5rem, 14vw, 3.9rem); }
  .bb-actions { flex-direction: column; align-items: stretch; }
  .bb-btn { width: 100%; }
  .bb-process-grid, .bb-testimonials-grid, .bb-archive-grid, .bb-benefit-grid, .bb-other-services, .bb-footer-grid { grid-template-columns: 1fr; }
  .bb-post-card.compact { flex-direction: column; padding: 0; }
  .bb-post-card.compact .bb-post-img { width: 100%; height: auto; aspect-ratio: 16/10; border-radius: 0; }
  .bb-post-card.compact .bb-post-content { padding: 22px; }
  .bb-contact-info, .bb-contact-form { padding: 30px 22px; }
  .bb-about-stats { grid-template-columns: 1fr; }
  .bb-marquee::before, .bb-marquee::after { width: 54px; }
}

/* FAQ, legal and pagination */
.bb-faq-section { margin-bottom: 44px; }
.bb-faq-section h2 { margin: 0 0 16px; font-family: var(--bb-font-display); color: var(--bb-text); font-size: 22px; }
.bb-accordion { border-radius: 22px; overflow: hidden; }
.bb-accordion details { border-bottom: 1px solid var(--bb-border); padding: 0 24px; }
.bb-accordion details:last-child { border-bottom: 0; }
.bb-accordion summary { cursor: pointer; color: var(--bb-text); font-weight: 700; padding: 19px 0; list-style: none; }
.bb-accordion summary::-webkit-details-marker { display: none; }
.bb-accordion summary::after { content: '+'; float: right; color: var(--bb-primary); font-family: var(--bb-font-display); font-size: 22px; line-height: 1; }
.bb-accordion details[open] summary::after { content: '–'; }
.bb-accordion p { margin: 0 0 20px; color: var(--bb-muted); font-size: 14px; }
.bb-legal-card { border-radius: 22px; padding: 30px; margin-bottom: 22px; }
.bb-legal-card h2 { margin: 0 0 12px; font-family: var(--bb-font-display); font-size: 20px; color: var(--bb-text); }
.bb-legal-card p, .bb-legal-card li { color: var(--bb-muted); font-size: 14px; }
.bb-legal-card a { color: var(--bb-primary); font-weight: 800; }
.bb-pagination, .navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.page-numbers { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--bb-border); color: var(--bb-muted); padding: 7px 12px; }
.page-numbers.current, .page-numbers:hover { color: #061018; background: var(--bb-gradient); border-color: transparent; font-weight: 800; }

/* ------------------------------------------------------------------
   Elementor compatibility
   ------------------------------------------------------------------ */

/* Full-width canvas for Elementor-built front pages and pages. */
.bb-elementor-front,
.bb-elementor-page { width: 100%; }

/* When an Elementor header/footer template is active, the theme's own
   header/footer are not printed, so remove any reliance on their spacing. */
.bizzbyte-built-with-elementor .bb-main { padding: 0; }

/* The Bizzbyte section blocks are designed to be FULL-BLEED: a dark
   background that spans the whole width, with the content centred inside via
   .bb-container. Elementor, however, places each widget inside a "boxed"
   container capped at ~1140px, which clips that background and leaves the
   page gutters showing.

   Rather than stretching each widget past its parent (fragile, and prone to
   one-sided gutters when a scrollbar is present), we simply UN-BOX the
   Elementor containers on a Bizzbyte-built homepage / page, so every section
   fills the available width. Each Bizzbyte section then re-centres its own
   content with .bb-container, giving the intended full-bleed look.

   This covers both legacy Section/Column layouts (.elementor-section >
   .elementor-container) and the newer Flexbox/Grid Containers (.e-con). */
.bizzbyte-built-with-elementor .elementor-section > .elementor-container,
.bb-elementor-front .elementor-section > .elementor-container,
.bb-elementor-page .elementor-section > .elementor-container {
    max-width: 100% !important;
    width: 100%;
}
.bizzbyte-built-with-elementor .e-con,
.bizzbyte-built-with-elementor .e-con-inner,
.bb-elementor-front .e-con,
.bb-elementor-front .e-con-inner,
.bb-elementor-page .e-con,
.bb-elementor-page .e-con-inner {
    --container-max-width: 100%;
    --container-widget-width: 100%;
    max-width: 100% !important;
    width: 100%;
}

/* Remove Elementor's default left/right column padding so the Bizzbyte
   sections sit flush; the inner .bb-container restores correct spacing. */
.bizzbyte-built-with-elementor .elementor-widget-wrap,
.bb-elementor-front .elementor-widget-wrap,
.bb-elementor-page .elementor-widget-wrap { padding: 0; }

/* Inside the now full-width section, re-centre the actual content to the
   theme's reading width so text and cards are not edge-to-edge. */
.bizzbyte-built-with-elementor [class*="elementor-widget-bizzbyte_"] .bb-container,
.bb-elementor-front [class*="elementor-widget-bizzbyte_"] .bb-container,
.bb-elementor-page [class*="elementor-widget-bizzbyte_"] .bb-container {
    width: min(1180px, calc(100% - 48px));
    max-width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Ensure the dark theme background fills the whole page so no gutters show,
   even if an Elementor section is left boxed or a global kit colour is set. */
html, body,
.bizzbyte-built-with-elementor { background: var(--bb-bg); }

/* In the Elementor editor, give section widgets a sensible minimum so they
   are easy to select even before content is added. */
.elementor-editor-active [class*="elementor-widget-bizzbyte_"] { min-height: 40px; }

/* =====================================================================
   New section blocks (v2.3.0): problem, automation, capabilities, why,
   audit, faq. Built on the same tokens as the rest of the theme.
   ===================================================================== */

/* Problem / pain points */
.bb-problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-problem-card { border: 1px solid var(--bb-border); border-radius: var(--bb-radius); background: rgba(16,22,34,.68); padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-problem-card:hover { transform: translateY(-4px); border-color: rgba(var(--bb-primary-rgb), .32); box-shadow: var(--bb-glow); }
.bb-problem-card h3 { margin: 16px 0 0; font-family: var(--bb-font-display); font-size: 18px; line-height: 1.25; }
.bb-problem-card p { margin: 10px 0 0; color: var(--bb-muted); font-size: 14px; }
.bb-problem-fix { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--bb-border); color: #6ee7b7 !important; font-weight: 600; }
.bb-problem-fix svg { color: #6ee7b7; flex: 0 0 auto; margin-top: 2px; }

/* Automation + workflow diagram */
.bb-automation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bb-automation-body { margin: 18px 0 26px; color: var(--bb-muted); font-size: 15px; max-width: 560px; }
.bb-flow { border-radius: var(--bb-radius); padding: 26px; display: flex; flex-direction: column; gap: 0; }
.bb-flow-head { display: flex; align-items: center; gap: 9px; font-family: var(--bb-font-display); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bb-muted); margin-bottom: 18px; }
.bb-flow-node { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--bb-border); border-radius: var(--bb-radius-sm); background: rgba(148,163,184,.05); animation: bbRise .6s cubic-bezier(.2,.85,.25,1) both; }
.bb-flow-node strong { display: block; font-family: var(--bb-font-display); font-size: 15px; }
.bb-flow-node span { display: block; color: var(--bb-muted); font-size: 13px; margin-top: 2px; }
.bb-flow-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bb-gradient); color: #07101a; flex: 0 0 auto; box-shadow: var(--bb-glow); }
.bb-flow-arrow { display: flex; justify-content: center; padding: 8px 0; color: rgba(var(--bb-primary-rgb), .65); }
.bb-flow-arrow svg { transform: rotate(90deg); }

/* Modern capabilities grid */
.bb-capabilities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-capability-card { display: flex; gap: 18px; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); background: rgba(16,22,34,.68); padding: 24px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-capability-card:hover { transform: translateY(-4px); border-color: rgba(var(--bb-primary-rgb), .32); box-shadow: var(--bb-glow); }
.bb-capability-card .bb-icon-box { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto; }
.bb-capability-card h3 { margin: 0; font-family: var(--bb-font-display); font-size: 17px; }
.bb-capability-card p { margin: 8px 0 0; color: var(--bb-muted); font-size: 14px; }

/* Why us — 4-up */
.bb-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-why-card { border: 1px solid var(--bb-border); border-radius: var(--bb-radius); background: rgba(16,22,34,.68); padding: 26px; text-align: center; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-why-card:hover { transform: translateY(-4px); border-color: rgba(var(--bb-primary-rgb), .32); box-shadow: var(--bb-glow); }
.bb-why-card .bb-icon-box { margin: 0 auto; }
.bb-why-card h3 { margin: 18px 0 0; font-family: var(--bb-font-display); font-size: 17px; }
.bb-why-card p { margin: 10px 0 0; color: var(--bb-muted); font-size: 14px; }

/* Free audit lead-magnet block */
.bb-audit-card { position: relative; overflow: hidden; border-radius: 30px; border: 1px solid var(--bb-border); background: rgba(16,22,34,.70); backdrop-filter: blur(18px); box-shadow: var(--bb-shadow); }
.bb-audit-card::before { content:''; position:absolute; width: 350px; height: 350px; right: -130px; top: -160px; background: rgba(var(--bb-primary-rgb), .10); border-radius: 50%; filter: blur(92px); }
.bb-audit-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 3fr 2fr; gap: 0; }
.bb-audit-info { padding: 46px; }
.bb-audit-info .bb-section-copy { margin-bottom: 6px; }
.bb-audit-info .bb-check-list { grid-template-columns: 1fr; }
.bb-audit-card .bb-contact-form { padding: 46px; border-left: 1px solid var(--bb-border); background: rgba(148,163,184,.03); }
.bb-field select { width: 100%; border-radius: 14px; border: 1px solid var(--bb-border); background: rgba(148,163,184,.07); color: var(--bb-text); padding: 13px 15px; outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; font-family: inherit; font-size: 15px; }
.bb-field select:focus { border-color: rgba(var(--bb-primary-rgb), .55); background: rgba(148,163,184,.11); box-shadow: 0 0 0 3px rgba(var(--bb-primary-rgb), .12); }
.bb-field select option { background: var(--bb-card); color: var(--bb-text); }

/* FAQ accordion */
.bb-faq-wrap { max-width: 820px; }
.bb-faq-list { display: flex; flex-direction: column; gap: 14px; }
.bb-faq-item { border: 1px solid var(--bb-border); border-radius: var(--bb-radius-sm); background: rgba(16,22,34,.68); overflow: hidden; transition: border-color .3s ease; }
.bb-faq-item.is-open { border-color: rgba(var(--bb-primary-rgb), .35); }
.bb-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 20px 24px; border: 0; background: transparent; color: var(--bb-text); font-family: var(--bb-font-display); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.bb-faq-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: rgba(var(--bb-primary-rgb), .1); color: var(--bb-primary); transition: transform .3s ease, background .3s ease; }
.bb-faq-item.is-open .bb-faq-toggle { transform: rotate(135deg); background: var(--bb-gradient); color: #07101a; }
.bb-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.bb-faq-item.is-open .bb-faq-a { max-height: 360px; }
.bb-faq-a p { margin: 0; padding: 0 24px 22px; color: var(--bb-muted); font-size: 15px; line-height: 1.65; }

/* Responsive — new blocks */
@media (max-width: 1024px) {
  .bb-why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-capabilities-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .bb-automation-grid, .bb-audit-grid { grid-template-columns: 1fr; }
  .bb-problem-grid { grid-template-columns: 1fr; }
  .bb-audit-card .bb-contact-form { border-left: 0; border-top: 1px solid var(--bb-border); }
}
@media (max-width: 640px) {
  .bb-why-grid, .bb-capabilities-grid { grid-template-columns: 1fr; }
  .bb-audit-info, .bb-audit-card .bb-contact-form { padding: 30px 22px; }
}
