/* Styles are scoped to the three reusable WPBakery elements. */
.mrbk-history { --history-blue: #2098ed; --history-ink:#100c31; color:var(--history-ink); }
.mrbk-history-nav { display:flex; flex-wrap:wrap; gap:8px 20px; padding:0 0 40px; }
.mrbk-history-nav a { font-size:14px; font-weight:600; border-bottom:2px solid transparent; padding:7px 0; }
.mrbk-history-nav a[aria-current="step"] { color:var(--history-blue); border-color:currentColor; }
.mrbk-history-nav a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.mrbk-history-step { padding:0 0 72px; scroll-margin-top:145px; }
.mrbk-history-year { color:var(--history-blue); font-size:clamp(42px,5vw,72px); font-weight:800; line-height:1.1; margin:0 0 20px!important; font-variant-numeric:tabular-nums; }
.mrbk-history-step h3 { font-family:inherit; font-size:clamp(25px,2.6vw,38px); font-weight:800; line-height:1.16; margin:0 0 24px; text-transform:none; }
.mrbk-history-step ul { margin:0; padding-left:1.15em; }
.mrbk-history-step li { margin:0 0 12px; line-height:1.65; }
.mrbk-history-note { font-size:14px; line-height:1.6; margin-top:18px; }
.mrbk-history-inline { margin-bottom:28px; }
.mrbk-history-stage { display:none; }
.mrbk-history-photos { display:grid; height:100%; gap:12px; background:#f2f2f5; }
.mrbk-history-photos:not([data-count="1"]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.mrbk-history-photos img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.mrbk-history-inline .mrbk-history-photos { aspect-ratio:4/3; }
.mrbk-history-placeholder { height:100%; min-height:280px; background:#efedf9; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:32px; }
.mrbk-history-placeholder>span { font-size:clamp(64px,8vw,120px); line-height:1.2; font-weight:800; color:#c7bcea; }
.mrbk-history-placeholder strong { font-size:20px; }
.mrbk-history-placeholder p { max-width:340px; margin:12px 0 0; font-size:14px; }
@media(min-width:960px) {
 .mrbk-history.is-ready .mrbk-history-layout { display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:clamp(36px,5vw,88px); align-items:start; }
 .mrbk-history.is-ready .mrbk-history-step { min-height:65vh; padding:24px 0 100px; }
 .mrbk-history.is-ready .mrbk-history-inline { display:none; }
 .mrbk-history.is-ready .mrbk-history-stage { display:block; position:sticky; top:var(--history-top,130px); height:min(65vh,580px); }
 .mrbk-history-scene { position:absolute; inset:0; margin:0; opacity:0; visibility:hidden; transition:opacity .28s ease,visibility .28s; display:grid; grid-template-rows:minmax(0,1fr) auto; gap:14px; }
 .mrbk-history-scene.is-active { opacity:1; visibility:visible; }
 .mrbk-history-scene figcaption { font-size:13px; line-height:1.4; color:#5e5b70; }
 .mrbk-history-scroll-parent { overflow:visible!important; }
}
.mrbk-countup-label { font-size:clamp(20px,2.3vw,32px); line-height:1.3; font-weight:700; margin:0 0 36px!important; }
.mrbk-countup-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:24px; }
.mrbk-countup-unit { display:flex; flex-direction:column; gap:12px; border-top:1px solid currentColor; padding-top:22px; }
.mrbk-countup-unit [data-unit] { color:#2098ed; font-size:clamp(36px,4.6vw,68px); font-weight:800; font-variant-numeric:tabular-nums; line-height:1; }
.mrbk-countup-unit>span:last-child { font-size:14px; }
.mrbk-countup-since { margin-top:28px!important; font-size:12px; opacity:.75; }
.mrbk-technologies { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:16px; list-style:none!important; padding:0!important; margin:0!important; }
.mrbk-technologies li { margin:0!important; padding:24px 12px; background:#fff; border:1px solid #e4e3ea; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; text-align:center; }
.mrbk-technologies img { width:56px; height:56px; object-fit:contain; }
.mrbk-technologies span { font-size:13px; font-weight:600; line-height:1.4; color:#100c31; }
@media(max-width:959px) { .mrbk-countup-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:480px) { .mrbk-countup-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .mrbk-countup-unit:last-child { grid-column:1/-1; } .mrbk-technologies { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { .mrbk-history-scene { transition:none; } }

.mrbk-technologies li[data-technology="perspective"] img, .mrbk-technologies li[data-technology="woocommerce"] img, .mrbk-technologies li[data-technology="gravityforms"] img, .mrbk-technologies li[data-technology="raidboxes"] img, .mrbk-technologies li[data-technology="wpcarsync"] img, .mrbk-technologies li[data-technology="googleshopping"] img { width:110px; max-width:100%; }
.mrbk-technologies li[data-technology="wpcarsync"] img { filter:brightness(0); }
