/* MoverSPB Waves 1 & 2 — Preloader, Hero Split Deck, 3D Cases Coverflow, B2B Marquee & Docs Bento */
/* Strictly local, CSP-safe, GPU-composited (transform/opacity), dark + light theme support */

/* ==========================================================================
   0. Architectural Preloader (#mpb-preloader)
   Hidden by default without JS, for bots, and under prefers-reduced-motion.
   ========================================================================== */
.mpb-preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: #060914;
  color: #f8fafc;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
  transition: transform 480ms cubic-bezier(0.76, 0, 0.24, 1), opacity 320ms ease;
}

html.mpb-intro-active .mpb-preloader {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 44px);
}

html.mpb-intro-active {
  overflow: hidden !important;
}

html.mpb-intro-light .mpb-preloader,
body.light-theme .mpb-preloader {
  background-color: #f8fafc;
  color: #0f172a;
}

.mpb-preloader.is-leaving {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

.mpb-preloader__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    radial-gradient(62% 48% at 50% 0%, rgba(2, 132, 199, 0.18), transparent 72%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

html.mpb-intro-light .mpb-preloader__grid,
body.light-theme .mpb-preloader__grid {
  background-image:
    linear-gradient(to right, rgba(2, 132, 199, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.07) 1px, transparent 1px),
    radial-gradient(62% 48% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 72%);
}

.mpb-preloader__top,
.mpb-preloader__center,
.mpb-preloader__foot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.mpb-preloader__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mpb-preloader__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.mpb-preloader__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: #38bdf8;
}

html.mpb-intro-light .mpb-preloader__mark,
body.light-theme .mpb-preloader__mark {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

.mpb-preloader__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

html.mpb-intro-light .mpb-preloader__tag,
body.light-theme .mpb-preloader__tag {
  color: #475569;
}

.mpb-preloader__center {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mpb-preloader__num-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.mpb-preloader__pct {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.mpb-preloader__status {
  font-size: clamp(0.84rem, 1.3vw, 0.98rem);
  font-weight: 600;
  color: #94a3b8;
  text-align: right;
  max-width: 340px;
}

html.mpb-intro-light .mpb-preloader__status,
body.light-theme .mpb-preloader__status {
  color: #475569;
}

.mpb-preloader__track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: visible;
}

.mpb-preloader__bar {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.mpb-preloader__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.8rem;
  color: #94a3b8;
}

html.mpb-intro-light .mpb-preloader__foot,
body.light-theme .mpb-preloader__foot {
  color: #64748b;
}

.mpb-preloader__skip {
  font-weight: 600;
  color: #38bdf8;
}

html.mpb-intro-light .mpb-preloader__skip,
body.light-theme .mpb-preloader__skip {
  color: #0284c7;
}

@media (max-width: 640px) {
  .mpb-preloader__num-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mpb-preloader__status {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpb-preloader,
  html.mpb-intro-active .mpb-preloader {
    display: none !important;
  }
  html.mpb-intro-active {
    overflow: auto !important;
  }
}

/* ==========================================================================
   1. Wave 1 — Strip legacy flex-it blue wave & upgrade 3-slide Hero Split
   ========================================================================== */
.hero-swiper-slider .featured-text::before,
.hero-swiper-slider .featured-text::after,
.page-hero .featured-text::before,
.page-hero .featured-text::after,
.mpb-hero .hero-text-area .slide-title .featured-text::before,
.mpb-hero .hero-text-area .slide-title .featured-text::after,
section:not(.hero-swiper-slider) .featured-text::before,
section:not(.hero-swiper-slider) .featured-text::after,
.featured-text::before,
.featured-text::after,
.hollow-text::before,
.hollow-text::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  height: 0 !important;
  width: 0 !important;
}

.hero-swiper-slider .featured-text,
.page-hero .featured-text,
.mpb-hero .hero-text-area .slide-title .featured-text {
  display: inline !important;
  color: #38bdf8 !important;
  background: none !important;
  background-image: none !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

section:not(.hero-swiper-slider) .featured-text {
  display: inline !important;
  color: #38bdf8;
}

body.light-theme section:not(.hero-swiper-slider) .featured-text {
  color: #0284c7;
}

.page-hero.hero-swiper-slider.mpb-hero {
  background-color: #060914;
}

.hero-swiper-slider.mpb-hero .slide-bg-img .overlay-color {
  background:
    linear-gradient(108deg, rgba(6, 9, 20, 0.94) 0%, rgba(6, 9, 20, 0.80) 52%, rgba(6, 9, 20, 0.62) 100%) !important;
  opacity: 1 !important;
}

.hero-swiper-slider.mpb-hero .swiper-slide {
  min-height: clamp(540px, 74vh, 720px);
  padding: 106px 0 76px !important;
  display: flex;
  align-items: center;
}

.mpb-hero-split {
  align-items: center;
  row-gap: 24px;
}

.mpb-trust-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(56, 189, 248, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 14px;
}

.mpb-trust-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22);
  flex: 0 0 auto;
}

.hero-swiper-slider.mpb-hero .slide-title {
  font-size: clamp(1.85rem, 3.8vw, 3.35rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.025em;
  margin: 0 0 14px !important;
  font-weight: 800;
  color: #f8fafc !important;
}

.hero-swiper-slider.mpb-hero .slide-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem) !important;
  line-height: 1.5 !important;
  margin: 0 0 22px !important;
  max-width: 560px;
  color: #cbd5e1 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mpb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.mpb-hero-actions .mpb-btn-primary,
.mpb-hero-actions .mpb-btn-secondary {
  min-height: 48px;
  padding: 11px 22px;
  font-size: 0.96rem;
  border-radius: 12px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.mpb-hero-actions .mpb-btn-primary:active,
.mpb-hero-actions .mpb-btn-secondary:active {
  transform: scale(0.96);
}

.mpb-hero-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #bae6fd !important;
  text-decoration: none !important;
  transition: color 150ms ease;
}

.mpb-hero-tg-link:hover,
.mpb-hero-tg-link:focus-visible {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

/* Right Glass B2B Deck */
.mpb-hero-deck {
  background: rgba(11, 17, 34, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.44);
  color: #f8fafc;
}

.mpb-hero-deck__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mpb-hero-deck__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.01em;
}

.mpb-hero-deck__badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
}

.mpb-hero-deck__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.mpb-hero-deck__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  min-width: 0;
}

.mpb-hero-deck__lbl {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mpb-hero-deck__val {
  font-size: 0.96rem;
  font-weight: 800;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mpb-hero-deck__presets-lbl {
  font-size: 0.73rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.mpb-hero-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mpb-hero-preset {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.34);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.mpb-hero-preset:hover,
.mpb-hero-preset:focus-visible {
  background: rgba(2, 132, 199, 0.32);
  border-color: #38bdf8;
  color: #ffffff;
}

.mpb-hero-preset:active {
  transform: scale(0.96);
}

/* Minimalist Hero Bottom Navigation (01 / 03 + pills + arrows) */
.mpb-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 15;
  pointer-events: none;
}

.mpb-hero-controls__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mpb-hero-controls .slides-state {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  pointer-events: auto;
}

.mpb-hero-controls .swiper-pagination {
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
}

.mpb-hero-controls .swiper-pagination-bullet {
  width: 10px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(248, 250, 252, 0.34) !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: width 220ms ease, background-color 220ms ease;
}

.mpb-hero-controls .swiper-pagination-bullet-active {
  width: 28px !important;
  background: #38bdf8 !important;
}

.mpb-hero-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.mpb-hero-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.mpb-hero-counter .mpb-hero-sep,
.mpb-hero-counter .slides-count {
  color: #94a3b8;
  font-weight: 600;
}

.mpb-hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mpb-hero-controls .swiper-button-prev,
.mpb-hero-controls .swiper-button-next {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(248, 250, 252, 0.24) !important;
  color: #f8fafc !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: border-color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.mpb-hero-controls .swiper-button-prev::after,
.mpb-hero-controls .swiper-button-next::after {
  display: none !important;
  content: none !important;
}

.mpb-hero-controls .swiper-button-prev:hover,
.mpb-hero-controls .swiper-button-next:hover {
  border-color: #38bdf8 !important;
  background: rgba(2, 132, 199, 0.28) !important;
}

.mpb-hero-controls .swiper-button-prev:active,
.mpb-hero-controls .swiper-button-next:active {
  transform: scale(0.96);
}

@media (max-width: 991.98px) {
  .hero-swiper-slider.mpb-hero .swiper-slide {
    min-height: 0 !important;
    padding: 86px 0 70px !important;
  }
  .mpb-hero-deck {
    padding: 16px;
  }
  .mpb-hero-deck__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hero-swiper-slider.mpb-hero .swiper-slide {
    padding: 76px 0 84px !important;
    align-items: flex-start;
  }
  .mpb-trust-pill {
    font-size: 0.74rem;
    padding: 5px 11px;
    margin-bottom: 10px;
  }
  .hero-swiper-slider.mpb-hero .slide-title {
    font-size: clamp(1.5rem, 6.2vw, 1.95rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 10px !important;
  }
  .hero-swiper-slider.mpb-hero .slide-subtitle {
    font-size: 0.88rem !important;
    margin-bottom: 14px !important;
  }
  .mpb-hero-actions .mpb-btn-primary,
  .mpb-hero-actions .mpb-btn-secondary {
    flex: 1 1 140px;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .mpb-hero-deck {
    padding: 14px;
    border-radius: 16px;
  }
  .mpb-hero-deck__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .mpb-hero-deck__item {
    padding: 7px 9px;
  }
  .mpb-hero-deck__val {
    font-size: 0.86rem;
  }
  .mpb-hero-preset {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 0.75rem;
  }
  .mpb-hero-controls {
    bottom: 12px;
  }
  .mpb-hero-controls .swiper-button-prev,
  .mpb-hero-controls .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-height: 440px) {
  .hero-swiper-slider.mpb-hero .swiper-slide {
    padding: 64px 0 46px !important;
  }
  .mpb-hero-deck {
    padding: 10px 12px;
  }
  .mpb-hero-deck__head,
  .mpb-hero-deck__presets-lbl {
    display: none;
  }
  .mpb-hero-deck__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 8px;
  }
  .mpb-hero-controls {
    bottom: 8px;
  }
}

/* ==========================================================================
   2. Wave 2 — 3D Panorama Showcase of 15 Real Cases (.mpb-cases-3d)
   ========================================================================== */
.mpb-cases-3d {
  overflow: hidden;
}

.mpb-cases-3d__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.mpb-cases-3d__filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

body.light-theme .mpb-cases-3d__filter {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.mpb-cases-3d__filter:hover,
.mpb-cases-3d__filter.is-active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.mpb-cases-3d__filter:active {
  transform: scale(0.96);
}

.mpb-cases-3d__count {
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.82;
}

.mpb-cases-swiper {
  position: relative;
  overflow: visible;
  padding: 12px 0 28px;
}

.mpb-cases-swiper .swiper-slide.mpb-case-slide {
  width: clamp(280px, 30vw, 380px);
  height: auto;
}

.mpb-case3d-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #0e152b;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #f8fafc;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.light-theme .mpb-case3d-card {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
}

.mpb-cases-swiper .swiper-slide-active .mpb-case3d-card {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 24px 52px rgba(2, 132, 199, 0.22);
}

.mpb-case3d-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1120;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  text-align: left;
}

.mpb-case3d-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mpb-case3d-media:hover img {
  transform: scale(1.04);
}

.mpb-case3d-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 20, 0.45) 0%, transparent 40%, rgba(6, 9, 20, 0.55) 100%);
  pointer-events: none;
}

.mpb-case3d-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.mpb-case3d-cat,
.mpb-case3d-photos {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(6, 9, 20, 0.74);
  border: 1px solid rgba(248, 250, 252, 0.2);
  backdrop-filter: blur(8px);
}

.mpb-case3d-photos {
  font-variant-numeric: tabular-nums;
  color: #bae6fd;
}

.mpb-case3d-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  gap: 8px;
}

.mpb-case3d-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
  text-transform: none !important;
}

.mpb-case3d-title a {
  color: inherit;
  text-decoration: none;
}

.mpb-case3d-title a:hover {
  color: #38bdf8;
}

body.light-theme .mpb-case3d-title a:hover {
  color: #0284c7;
}

.mpb-case3d-desc {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #cbd5e1;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.light-theme .mpb-case3d-desc {
  color: #475569;
}

.mpb-case3d-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.mpb-case3d-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  white-space: nowrap;
}

body.light-theme .mpb-case3d-open {
  color: #0284c7;
}

.mpb-case3d-open:hover {
  text-decoration: underline;
}

.mpb-case3d-calc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #0284c7;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 150ms ease, transform 120ms ease;
}

.mpb-case3d-calc:hover {
  background: #0369a1;
}

.mpb-case3d-calc:active {
  transform: scale(0.96);
}

.mpb-cases-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 4px;
}

.mpb-cases-nav__ctrl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mpb-cases-btn {
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

body.light-theme .mpb-cases-btn {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.mpb-cases-btn:hover {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, 0.22);
}

.mpb-cases-btn:active {
  transform: scale(0.96);
}

.mpb-cases-counter {
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  min-width: 64px;
  text-align: center;
}

.mpb-cases-hint {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
}

body.light-theme .mpb-cases-hint {
  color: #64748b;
}

/* Lightbox */
.mpb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
}

.mpb-lightbox.is-open {
  display: flex;
}

.mpb-lightbox__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 20px;
  padding: 18px;
  background: #0e152b;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.light-theme .mpb-lightbox__dialog {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.mpb-lightbox__stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #060914;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.mpb-lightbox__img {
  max-width: 100%;
  max-height: 62vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.mpb-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(248, 250, 252, 0.25);
  background: rgba(6, 9, 20, 0.72);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mpb-lightbox__nav--prev { left: 10px; }
.mpb-lightbox__nav--next { right: 10px; }

.mpb-lightbox__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

/* ==========================================================================
   3. Wave 2 — Seamless 60 FPS B2B Marquee + Closing Documents Bento
   ========================================================================== */
.mpb-marquee-wrap {
  margin-top: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.mpb-marquee-row {
  display: flex;
  width: max-content;
  gap: 10px;
  will-change: transform;
  animation: mpb-marquee-left 38s linear infinite;
}

.mpb-marquee-row--reverse {
  animation: mpb-marquee-right 42s linear infinite;
}

.mpb-marquee-wrap:hover .mpb-marquee-row,
.mpb-marquee-wrap:focus-within .mpb-marquee-row {
  animation-play-state: paused;
}

.mpb-marquee-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.mpb-marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

body.light-theme .mpb-marquee-pill {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.mpb-marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  flex: 0 0 auto;
}

@keyframes mpb-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes mpb-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .mpb-marquee-row,
  .mpb-marquee-row--reverse {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
  }
  .mpb-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* Closing Docs Bento */
.mpb-docs-bento {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(56, 189, 248, 0.24);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body.light-theme .mpb-docs-bento {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.mpb-docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mpb-doc-tab {
  appearance: none;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  max-width: 100%;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

body.light-theme .mpb-doc-tab {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.mpb-doc-tab.is-active,
.mpb-doc-tab:hover,
body.light-theme .mpb-doc-tab.is-active,
body.light-theme .mpb-doc-tab:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.mpb-doc-tab:active {
  transform: scale(0.96);
}

.mpb-doc-sheet {
  border-radius: 14px;
  padding: 18px;
  background: #0b1122;
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e2e8f0;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

body.light-theme .mpb-doc-sheet {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.mpb-doc-sheet[hidden] {
  display: none !important;
}

.mpb-doc-sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
}

.mpb-doc-sheet__head strong {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.mpb-doc-sheet__tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.36);
  color: #34d399;
  max-width: 100%;
}

body.light-theme .mpb-doc-sheet__tag {
  color: #047857;
}

.mpb-doc-sheet__rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  font-size: 0.85rem;
  min-width: 0;
}

.mpb-doc-sheet__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.mpb-doc-sheet__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mpb-doc-sheet__row span {
  min-width: 0;
  color: #cbd5e1;
  line-height: 1.4;
  overflow-wrap: break-word;
}

body.light-theme .mpb-doc-sheet__row span {
  color: #475569;
}

.mpb-doc-sheet__row strong {
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  color: #f8fafc;
}

body.light-theme .mpb-doc-sheet__row strong {
  color: #0f172a;
}

@media (max-width: 767.98px) {
  .mpb-cases-nav {
    justify-content: center;
  }
  .mpb-cases-hint {
    text-align: center;
    font-size: 0.78rem;
  }
  .mpb-docs-bento {
    padding: 16px 14px;
  }
  .mpb-docs-bento > .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .mpb-docs-bento > .row > * {
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
  }
  .mpb-docs-bento .pre-title {
    white-space: normal;
    max-width: 100%;
  }
  .mpb-docs-tabs {
    margin-bottom: 14px;
  }
  .mpb-doc-sheet {
    padding: 14px;
  }
  .mpb-doc-sheet__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .mpb-doc-sheet__rows {
    gap: 2px;
  }
  .mpb-doc-sheet__row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    padding: 8px 0;
  }
  .mpb-doc-sheet__row span {
    font-size: 0.78rem;
    color: #94a3b8;
  }
  body.light-theme .mpb-doc-sheet__row span {
    color: #64748b;
  }
  .mpb-doc-sheet__row strong {
    font-size: 0.9rem;
    text-align: left;
    width: 100%;
  }
}


/* ==========================================================================
   4. Wave 3 — AI Estimator Bento (#ai-estimator, Dark + Light, CSP-safe)
   ========================================================================== */
.mpb-ai-sec {
  padding: 28px 0 18px !important;
}

.mpb-ai-card {
  position: relative;
  border-radius: 22px;
  padding: clamp(20px, 2.8vw, 32px);
  background:
    radial-gradient(65% 80% at 100% 0%, rgba(56, 189, 248, 0.12), transparent 68%),
    linear-gradient(155deg, #0d152b 0%, #091022 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 20px 48px rgba(2, 6, 23, 0.34);
  color: #f8fafc;
}

body.light-theme .mpb-ai-card {
  background:
    radial-gradient(65% 80% at 100% 0%, rgba(2, 132, 199, 0.08), transparent 68%),
    linear-gradient(155deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.mpb-ai-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mpb-ai-head__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.mpb-ai-head__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

body.light-theme .mpb-ai-head__icon {
  background: #e0f2fe;
  border-color: rgba(2, 132, 199, 0.32);
  color: #0284c7;
}

.mpb-ai-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 2px;
}

body.light-theme .mpb-ai-eyebrow {
  color: #0369a1;
}

.mpb-ai-title {
  margin: 0 !important;
  font-size: clamp(1.32rem, 2.4vw, 1.95rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: inherit !important;
}

.mpb-ai-subtitle {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 720px;
}

body.light-theme .mpb-ai-subtitle {
  color: #475569;
}

.mpb-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: stretch;
}

.mpb-ai-input-col,
.mpb-ai-output-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Concentric segmented tabs */
.mpb-ai-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  margin-bottom: 16px;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
}

body.light-theme .mpb-ai-tabs {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.mpb-ai-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

body.light-theme .mpb-ai-tab {
  color: #334155;
}

.mpb-ai-tab.is-active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.32);
}

.mpb-ai-tab:not(.is-active):hover {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.14);
}

body.light-theme .mpb-ai-tab:not(.is-active):hover {
  color: #0f172a;
  background: #e2e8f0;
}

.mpb-ai-tab:active {
  transform: scale(0.97);
}

.mpb-ai-panel[hidden] {
  display: none !important;
}

.mpb-ai-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

body.light-theme .mpb-ai-label {
  color: #1e293b;
}

.mpb-ai-label--mt {
  margin-top: 14px;
}

.mpb-ai-textarea,
.mpb-ai-input {
  width: 100%;
  box-sizing: border-box;
  font-size: 16px !important;
  line-height: 1.48;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  background: rgba(6, 11, 24, 0.72);
  color: #f8fafc;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mpb-ai-textarea {
  resize: vertical;
  min-height: 106px;
}

.mpb-ai-textarea::placeholder,
.mpb-ai-input::placeholder {
  color: #94a3b8;
}

.mpb-ai-textarea:focus,
.mpb-ai-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

body.light-theme .mpb-ai-textarea,
body.light-theme .mpb-ai-input {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

body.light-theme .mpb-ai-textarea::placeholder,
body.light-theme .mpb-ai-input::placeholder {
  color: #64748b;
}

body.light-theme .mpb-ai-textarea:focus,
body.light-theme .mpb-ai-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

.mpb-ai-examples-wrap {
  margin-top: 12px;
}

.mpb-ai-examples-lbl {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

body.light-theme .mpb-ai-examples-lbl {
  color: #64748b;
}

.mpb-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mpb-ai-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  text-align: left;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(2, 132, 199, 0.12);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.mpb-ai-chip:hover,
.mpb-ai-chip:focus-visible {
  background: rgba(2, 132, 199, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
}

.mpb-ai-chip:active {
  transform: scale(0.97);
}

body.light-theme .mpb-ai-chip {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

body.light-theme .mpb-ai-chip:hover,
body.light-theme .mpb-ai-chip:focus-visible {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #075985;
}

.mpb-ai-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-height: 132px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1.5px dashed rgba(56, 189, 248, 0.48);
  background: rgba(15, 23, 42, 0.54);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.mpb-ai-dropzone:hover,
.mpb-ai-dropzone:focus-visible,
.mpb-ai-dropzone.is-dragover {
  border-color: #38bdf8;
  background: rgba(2, 132, 199, 0.14);
}

body.light-theme .mpb-ai-dropzone {
  background: #f8fafc;
  border-color: #7dd3fc;
}

body.light-theme .mpb-ai-dropzone:hover,
body.light-theme .mpb-ai-dropzone.is-dragover {
  background: #f0f9ff;
  border-color: #0284c7;
}

.mpb-ai-dropzone__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}

body.light-theme .mpb-ai-dropzone__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.mpb-ai-dropzone__title {
  font-size: 0.94rem;
  font-weight: 700;
}

.mpb-ai-dropzone__sub {
  font-size: 0.8rem;
  color: #94a3b8;
}

body.light-theme .mpb-ai-dropzone__sub {
  color: #64748b;
}

.mpb-ai-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mpb-ai-preview[hidden] {
  display: none !important;
}

body.light-theme .mpb-ai-preview {
  background: #ffffff;
  border-color: #cbd5e1;
}

.mpb-ai-preview__thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #060b18;
}

.mpb-ai-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mpb-ai-preview__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mpb-ai-preview__name {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mpb-ai-preview__size {
  font-size: 0.76rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.mpb-ai-preview__clear {
  appearance: none;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

body.light-theme .mpb-ai-preview__clear {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.mpb-ai-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
}

.mpb-ai-submit {
  min-height: 48px !important;
  padding: 0 22px !important;
  cursor: pointer;
}

.mpb-ai-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.mpb-ai-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
}

body.light-theme .mpb-ai-hint {
  color: #64748b;
}

/* Output Panel */
.mpb-ai-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  padding: 20px;
  background: rgba(7, 12, 26, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.mpb-ai-state[hidden] {
  display: none !important;
}

body.light-theme .mpb-ai-state {
  background: #ffffff;
  border-color: #cbd5e1;
}

.mpb-ai-empty__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 10px;
}

body.light-theme .mpb-ai-empty__head {
  color: #0369a1;
}

.mpb-ai-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.mpb-ai-empty__text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 12px;
}

body.light-theme .mpb-ai-empty__text {
  color: #475569;
}

.mpb-ai-empty__list {
  margin: 0 0 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.86rem;
  color: #e2e8f0;
}

body.light-theme .mpb-ai-empty__list {
  color: #1e293b;
}

.mpb-ai-calc-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: #38bdf8 !important;
  text-decoration: none !important;
}

body.light-theme .mpb-ai-calc-link {
  color: #0369a1 !important;
}

.mpb-ai-calc-link:hover {
  text-decoration: underline !important;
}

/* Loading Thinking Trace */
.mpb-ai-loading {
  justify-content: center;
  gap: 14px;
}

.mpb-ai-loading__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
}

.mpb-ai-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  animation: mpb-ai-spin 720ms linear infinite;
}

@keyframes mpb-ai-spin {
  to { transform: rotate(360deg); }
}

.mpb-ai-trace {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mpb-ai-trace li {
  position: relative;
  padding-left: 22px;
  font-size: 0.84rem;
  color: #94a3b8;
  transition: color 200ms ease;
}

.mpb-ai-trace li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.mpb-ai-trace li.is-done {
  color: #34d399;
}

.mpb-ai-trace li.is-done::before {
  background: #34d399;
}

.mpb-ai-trace li.is-active {
  color: #f8fafc;
  font-weight: 600;
}

body.light-theme .mpb-ai-trace li.is-active {
  color: #0f172a;
}

.mpb-ai-trace li.is-active::before {
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.24);
}

/* Error State */
.mpb-ai-error {
  border-color: rgba(248, 113, 113, 0.38);
  justify-content: center;
  gap: 12px;
}

.mpb-ai-error__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fca5a5;
}

body.light-theme .mpb-ai-error__title {
  color: #b91c1c;
}

.mpb-ai-error__msg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e2e8f0;
}

body.light-theme .mpb-ai-error__msg {
  color: #334155;
}

.mpb-ai-error__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.mpb-ai-calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0 !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
}

body.light-theme .mpb-ai-calc-btn {
  color: #0f172a !important;
  border-color: #cbd5e1;
}

/* Result Card */
.mpb-ai-result {
  border-color: rgba(56, 189, 248, 0.42);
  gap: 14px;
}

.mpb-ai-result__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.mpb-ai-result__title-wrap {
  min-width: 0;
  flex: 1 1 180px;
}

.mpb-ai-result__kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  margin-bottom: 2px;
}

body.light-theme .mpb-ai-result__kicker {
  color: #047857;
}

.mpb-ai-result__title {
  margin: 0 !important;
  font-size: 1.04rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  color: inherit !important;
}

.mpb-ai-result__price-box {
  text-align: right;
  flex: 0 0 auto;
}

.mpb-ai-result__price {
  font-size: clamp(1.38rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.light-theme .mpb-ai-result__price {
  color: #0284c7;
}

.mpb-ai-result__vat {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 2px;
}

body.light-theme .mpb-ai-result__vat {
  color: #64748b;
}

.mpb-ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mpb-ai-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.light-theme .mpb-ai-badge {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.mpb-ai-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mpb-ai-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
  font-size: 0.86rem;
}

.mpb-ai-line:last-child {
  border-bottom: 0;
}

.mpb-ai-line__val {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #f8fafc;
}

body.light-theme .mpb-ai-line__val {
  color: #0f172a;
}

.mpb-ai-result__note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #94a3b8;
}

body.light-theme .mpb-ai-result__note {
  color: #475569;
}

.mpb-ai-result__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px;
}

.mpb-ai-cta-fix {
  width: 100% !important;
  min-height: 46px !important;
  cursor: pointer;
}

.mpb-ai-cta-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.34);
  background: rgba(2, 132, 199, 0.12);
  color: #bae6fd !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.mpb-ai-cta-tg:hover {
  background: rgba(2, 132, 199, 0.26);
  border-color: #38bdf8;
  color: #ffffff !important;
}

body.light-theme .mpb-ai-cta-tg {
  background: #f0f9ff;
  border-color: #7dd3fc;
  color: #0369a1 !important;
}

body.light-theme .mpb-ai-cta-tg:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #075985 !important;
}

@media (max-width: 991.98px) {
  .mpb-ai-layout {
    grid-template-columns: 1fr;
  }
  .mpb-ai-result__price-box {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .mpb-ai-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mpb-ai-tab {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
  .mpb-ai-submit {
    width: 100%;
  }
}


/* ==========================================================================
   5. Mobile iPhone Fixes + Zero-CLS QR Phone (#telegram-assistant)
   ========================================================================== */
/* 5.1 Services "Заказать" pill button: exact vertical center on mobile & desktop */
#services .mpb-bento-foot .btn,
#services .mpb-bento-foot a.btn,
#services .service-box .read-more,
#services .mpb-srv-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.1 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 0 22px !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  text-decoration: none !important;
}

/* 5.2 Quick-Quiz badge & heading wrap on mobile (< 768px) — zero horizontal overflow */
#quick-quiz .mpb-quiz-head > div {
  min-width: 0;
  max-width: 100%;
}

#quick-quiz .badge {
  white-space: normal !important;
  max-width: 100% !important;
  display: inline-block !important;
  line-height: 1.35 !important;
  padding: 6px 14px !important;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
  border-radius: 12px !important;
}

@media (max-width: 767.98px) {
  .mpb-mini-quiz {
    padding: 20px 16px !important;
  }
  #quick-quiz .badge,
  .as-of-verification-banner .badge,
  .mpb-mini-quiz .badge {
    white-space: normal !important;
    max-width: 100% !important;
    display: inline-block !important;
    line-height: 1.35 !important;
    padding: 6px 14px !important;
    text-align: left;
    overflow-wrap: break-word;
    border-radius: 12px !important;
    font-size: 0.78rem !important;
  }
  #quick-quiz h2,
  #quick-quiz .h4 {
    font-size: clamp(1.22rem, 5vw, 1.85rem) !important;
    line-height: 1.24 !important;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* 5.3 Zero-CLS QR Phone (#telegram-assistant / .mpb-robot-section) */
.mpb-robot-section {
  padding: 28px 0 !important;
  overflow: hidden !important;
}

.mpb-robot-section #robot-anim {
  position: relative;
  border-radius: 22px;
  padding: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(60% 80% at 0% 50%, rgba(56, 189, 248, 0.14), transparent 70%),
    linear-gradient(145deg, #0d152b 0%, #091022 100%);
  border: 1px solid rgba(56, 189, 248, 0.26);
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.34);
  color: #f8fafc;
}

body.light-theme .mpb-robot-section #robot-anim {
  background:
    radial-gradient(60% 80% at 0% 50%, rgba(2, 132, 199, 0.09), transparent 70%),
    linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.mpb-robot-section .animation-container_robot {
  height: 440px !important;
  min-height: 440px !important;
  max-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.mpb-robot-section .character {
  height: 440px !important;
  min-height: 440px !important;
  max-height: 440px !important;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.mpb-robot-section #hoverPhone,
#hoverPhone {
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

@media (max-width: 991.98px) {
  .mpb-robot-section #robot-anim {
    padding: 22px 18px !important;
  }
  .mpb-robot-section .animation-container_robot {
    height: 290px !important;
    min-height: 290px !important;
    max-height: 290px !important;
    width: 100% !important;
    max-width: 320px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .mpb-robot-section .character {
    height: 290px !important;
    min-height: 290px !important;
    max-height: 290px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .mpb-robot-section #hoverPhone,
  #hoverPhone {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   6. Wave 4a — SPb Road Track for Running Movers & Moving Car (60 FPS safe)
   ========================================================================== */
.mpb-road-track {
  position: relative;
  height: 150px !important;
  overflow: hidden !important;
  isolation: isolate;
}

.mpb-road-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.34) 15%, rgba(56, 189, 248, 0.34) 85%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

body.light-theme .mpb-road-track::before {
  background: linear-gradient(90deg, transparent 0%, rgba(2, 132, 199, 0.28) 15%, rgba(2, 132, 199, 0.28) 85%, transparent 100%);
}

.mpb-road-track__lane {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.42) 0 18px, transparent 18px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

body.light-theme .mpb-road-track__lane {
  background: repeating-linear-gradient(90deg, rgba(100, 116, 139, 0.34) 0 18px, transparent 18px 34px);
}

.mpb-road-track__meta {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  z-index: 2;
}

body.light-theme .mpb-road-track__meta {
  background: rgba(255, 255, 255, 0.9);
  border-color: #cbd5e1;
  color: #334155;
}

.mpb-road-track__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  flex: 0 0 auto;
}

.mpb-road-track #moving-element::after,
.mpb-road-track #moving-element-car::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 2px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 6, 23, 0.45) 0%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}


/* ==========================================================================
   7. Wave 4b — About Bento, Floating Pill Header, Section Rhythm & Route 01..07
   ========================================================================== */
.mpb-about-bento {
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(155deg, #0d152b 0%, #091022 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.28);
  color: #f8fafc;
}

body.light-theme .mpb-about-bento {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  color: #0f172a;
}

.mpb-about-bento__heading {
  margin-bottom: 12px !important;
}

.mpb-about-bento__heading .title {
  text-transform: none !important;
  color: inherit !important;
}

.mpb-about-bento__text {
  font-size: 0.96rem;
  line-height: 1.58;
  color: #cbd5e1;
  margin: 0 0 18px;
}

body.light-theme .mpb-about-bento__text {
  color: #475569;
}

.mpb-about-bento__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.mpb-about-bento__item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  min-width: 0;
}

body.light-theme .mpb-about-bento__item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.mpb-about-bento__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
}

body.light-theme .mpb-about-bento__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.mpb-about-bento__item-body {
  min-width: 0;
}

.mpb-about-bento__item-title {
  margin: 0 0 4px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  text-transform: none !important;
  color: inherit !important;
}

.mpb-about-bento__item-text {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.42;
  color: #94a3b8;
}

body.light-theme .mpb-about-bento__item-text {
  color: #475569;
}

.mpb-about-bento__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.mpb-about-bento__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #38bdf8 !important;
  text-decoration: none !important;
}

body.light-theme .mpb-about-bento__link {
  color: #0369a1 !important;
}

.mpb-about-bento__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: #060914;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.32);
}

body.light-theme .mpb-about-bento__frame {
  border-color: #cbd5e1;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.mpb-about-bento__img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 0 !important;
  clip-path: none !important;
  display: block;
}

.mpb-about-bento__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(7, 11, 25, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  max-width: calc(100% - 28px);
}

.mpb-about-bento__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .mpb-about-bento__grid {
    grid-template-columns: 1fr;
  }
}

/* Floating Pill Header on Desktop when scrolled (.is-sticky) */
@media (min-width: 1200px) {
  #page-header.mpb-pill-header.is-sticky {
    top: 12px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(1240px, calc(100% - 32px)) !important;
    border-radius: 999px !important;
    background: rgba(9, 14, 30, 0.84) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(56, 189, 248, 0.28) !important;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.36) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.light-theme #page-header.mpb-pill-header.is-sticky {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(2, 132, 199, 0.24) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1) !important;
  }

  #page-header.mpb-pill-header.is-sticky .container {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* Compact B2B Section Rhythm & Unified Card Elevation */
body.home .mega-section {
  padding-top: 3.1rem !important;
  padding-bottom: 3.1rem !important;
}

body.home .mega-section.pb-0 {
  padding-bottom: 0 !important;
}

body.home .mega-section.pt-0 {
  padding-top: 0 !important;
}

@media (max-width: 767.98px) {
  body.home .mega-section {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
  }
}

body.home .mpb-bento-card,
body.home .mpb-stat-card,
body.home .pricing .price-plan .plan {
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.home.light-theme .mpb-bento-card,
body.home.light-theme .mpb-stat-card,
body.home.light-theme .pricing .price-plan .plan {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Vertical Route Indicator 01..07 (Desktop >= 1320px only, clear of bottom-right FAB) */
.mpb-route-rail {
  display: none;
}

@media (min-width: 1320px) {
  .mpb-route-rail {
    position: fixed;
    right: 16px;
    top: 44%;
    transform: translateY(-50%);
    z-index: 980;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 6px;
    border-radius: 16px;
    background: rgba(9, 14, 30, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.24);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.34);
  }

  body.light-theme .mpb-route-rail {
    background: rgba(255, 255, 255, 0.88);
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  }

  .mpb-route-step {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border-radius: 9px;
    text-decoration: none !important;
    color: #94a3b8 !important;
    font-size: 0.72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    transition: background-color 150ms ease, color 150ms ease;
  }

  body.light-theme .mpb-route-step {
    color: #475569 !important;
  }

  .mpb-route-step:hover,
  .mpb-route-step:focus-visible {
    background: rgba(56, 189, 248, 0.16);
    color: #f8fafc !important;
  }

  body.light-theme .mpb-route-step:hover,
  body.light-theme .mpb-route-step:focus-visible {
    background: #e0f2fe;
    color: #0369a1 !important;
  }

  .mpb-route-step.is-active {
    background: #0284c7;
    color: #ffffff !important;
  }

  .mpb-route-step__lbl {
    display: none;
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 10px;
    border-radius: 8px;
    background: #0d152b;
    border: 1px solid rgba(56, 189, 248, 0.34);
    color: #f8fafc;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
  }

  body.light-theme .mpb-route-step__lbl {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
  }

  .mpb-route-step:hover .mpb-route-step__lbl,
  .mpb-route-step:focus-visible .mpb-route-step__lbl {
    display: inline-block;
  }
}

/* Anchor scroll offset under fixed pill header */
#quick-quiz, #ai-estimator, #calc-section, #services, #about, #portfolio, #our-clients, #pricing-1, #telegram-assistant, #testimonials {
  scroll-margin-top: 96px;
}


/* 5.3b Desktop 3D Robot Perfect Peek Geometry */
@media (min-width: 992px) {
  .mpb-robot-section .animation-container_robot {
    width: 440px !important;
    max-width: 48% !important;
    height: 440px !important;
    min-height: 440px !important;
    max-height: 440px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
    position: relative !important;
  }
  .mpb-robot-section .character {
    position: relative !important;
    z-index: 10 !important;
    width: 250px !important;
    height: 440px !important;
    min-height: 440px !important;
    max-height: 440px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: hidden !important;
    flex: 0 0 250px !important;
  }
  .mpb-robot-section #hoverPhone,
  #hoverPhone {
    height: 440px !important;
    width: auto !important;
    max-width: 250px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }
  .mpb-robot-section .robot {
    position: static !important;
    pointer-events: none !important;
  }
  #robott {
    position: absolute !important;
    top: 46px !important;
    left: -12px !important;
    width: 320px !important;
    max-width: none !important;
    height: auto !important;
    z-index: 2 !important;
    transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform !important;
    pointer-events: none !important;
  }
}
