/* MediaBUZZ.press — static + Foxiz child compatible */
:root {
  --mb-black: #000000;
  --mb-white: #ffffff;
  --mb-red: #e60000;
  --mb-red-dark: #b80000;
  --mb-gray-100: #f5f5f5;
  --mb-gray-200: #e8e8e8;
  --mb-gray-400: #999999;
  --mb-gray-600: #666666;
  --mb-dark: #0a0a0a;
  --mb-dark-2: #111111;
  --mb-font: "Inter", system-ui, -apple-system, sans-serif;
  --mb-container: min(1200px, 92vw);
  --mb-header-h: 72px;
  --mb-transition: 0.25s ease;
  --mb-page-bg: #ffffff;
  --mb-page-text: #000000;
  --mb-surface: #ffffff;
  --mb-surface-muted: #f5f5f5;
  --mb-border: #e8e8e8;
  --mb-muted: #666666;
}

html[data-mb-theme="dark"] {
  --mb-black: #f2f2f2;
  --mb-white: #0b0b0b;
  --mb-gray-100: #141414;
  --mb-gray-200: #2a2a2a;
  --mb-gray-400: #8a8a8a;
  --mb-gray-600: #b0b0b0;
  --mb-dark: #f2f2f2;
  --mb-dark-2: #171717;
  --mb-page-bg: #0b0b0b;
  --mb-page-text: #f2f2f2;
  --mb-surface: #141414;
  --mb-surface-muted: #1a1a1a;
  --mb-border: #2a2a2a;
  --mb-muted: #b0b0b0;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mb-body {
  margin: 0;
  font-family: var(--mb-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mb-page-text);
  background: var(--mb-page-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--mb-transition), color var(--mb-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.mb-container {
  width: var(--mb-container);
  margin-inline: auto;
}

/* Header */
.mb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--mb-header-h);
  display: flex;
  align-items: center;
  transition: background var(--mb-transition), box-shadow var(--mb-transition);
}

.mb-header--dark {
  background: transparent;
}

.mb-header.is-scrolled,
.mb-header--dark.is-scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mb-header__inner {
  width: var(--mb-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mb-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mb-logo__brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mb-white);
}

.mb-logo__brand span {
  color: var(--mb-red);
}

.mb-logo__tag {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.mb-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.mb-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--mb-transition);
  position: relative;
}

.mb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--mb-red);
  transform: scaleX(0);
  transform-origin: center;
  pointer-events: none;
  transition: transform var(--mb-transition);
}

.mb-nav__plain {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: default;
  user-select: none;
}

.mb-nav a:hover,
.mb-nav a.is-active {
  color: var(--mb-white);
}

.mb-nav a:hover::after,
.mb-nav a.is-active::after {
  transform: scaleX(1);
}

.mb-nav:has(a:hover) a.is-active:not(:hover)::after,
.mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover)::after,
.mb-header.is-mega-open .mb-nav a.is-active::after {
  transform: scaleX(0);
}

.mb-nav:has(a:hover) .mb-nav__trigger.is-active:not(:hover)::after,
.mb-nav:has(a:hover) .mb-nav__trigger.is-current:not(:hover):not(.is-active)::after {
  transform: scaleX(0);
}

.mb-nav:has(a:hover) a.is-active:not(:hover),
.mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover),
.mb-header.is-mega-open .mb-nav a.is-active {
  color: rgba(255, 255, 255, 0.85);
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--mb-transition), color var(--mb-transition), border-color var(--mb-transition);
}

.mb-btn--outline {
  border-color: var(--mb-red);
  color: var(--mb-white);
  background: transparent;
}

.mb-btn--outline:hover {
  background: var(--mb-red);
}

.mb-btn--solid {
  background: var(--mb-red);
  color: var(--mb-white);
  border-color: var(--mb-red);
}

.mb-btn--solid:hover {
  background: var(--mb-red-dark);
  border-color: var(--mb-red-dark);
}

.mb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--mb-white);
  background: transparent;
}

.mb-btn--ghost:hover {
  border-color: var(--mb-white);
  background: rgba(255, 255, 255, 0.08);
}

.mb-btn__arrow {
  font-size: 1rem;
  line-height: 1;
}

.mb-btn__arrow--white {
  color: var(--mb-white);
}

.mb-btn__arrow--red {
  color: var(--mb-red);
}

.mb-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mb-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--mb-white);
}

/* Hero — Home (Top-banner-2.jpg + globe blink overlay) */
.mb-hero {
  position: relative;
  min-height: clamp(520px, 42vw, 100vh);
  background: #000;
  color: var(--mb-white);
  overflow: hidden;
  padding-top: var(--mb-header-h);
}

.mb-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.mb-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.mb-hero__globe-mask {
  position: absolute;
  left: 66%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(38vw, 460px);
  height: min(38vw, 460px);
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 80, 80, 0.08);
}

.mb-hero__globe-mask .mb-hero__globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  left: auto;
  top: auto;
  transform: none;
  opacity: 0.95;
  mix-blend-mode: screen;
}

.mb-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.75) 32%,
    rgba(0, 0, 0, 0.35) 48%,
    rgba(0, 0, 0, 0.08) 62%,
    transparent 78%
  );
  pointer-events: none;
}

.mb-hero__grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(448px, calc(42vw - var(--mb-header-h)), calc(100vh - var(--mb-header-h)));
  padding: 3rem 0 4rem;
}

.mb-hero__content {
  max-width: 540px;
  padding-top: 1rem;
}

.mb-hero__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mb-red);
  margin: 0 0 1.35rem;
}

.mb-hero__title {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.mb-hero__title-line {
  white-space: nowrap;
}

.mb-hero__title em {
  font-style: normal;
  color: var(--mb-red);
  display: block;
}

.mb-hero__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 2rem;
  max-width: 480px;
}

.mb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mb-hero__actions .mb-btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.mb-hero__actions .mb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.65);
}

/* Hero — Services / Pricing (Banner.jpg 1908×450 + wireframe globe) */
.mb-hero-services {
  position: relative;
  min-height: 450px;
  color: var(--mb-white);
  overflow: hidden;
}

.mb-pricing-hero.mb-hero-services {
  min-height: 450px;
}

.mb-hero-services__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mb-hero-services__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.mb-hero-services__globe-wrap {
  position: absolute;
  right: -6%;
  top: 52%;
  transform: translateY(-50%);
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  pointer-events: none;
  z-index: 1;
}

.mb-hero-services__globe-canvas,
.mb-globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.mb-hero-services__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.82) 30%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.15) 68%,
    transparent 82%
  );
  pointer-events: none;
}

.mb-hero-services__grid {
  position: relative;
  z-index: 2;
  width: var(--mb-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  min-height: clamp(420px, calc(42vh - var(--mb-header-h)), 480px);
  padding: calc(var(--mb-header-h) + 2rem) 0 2.75rem;
}

.mb-hero-services__content {
  max-width: 520px;
}

.mb-hero-services .mb-hero__label {
  margin-bottom: 1.25rem;
}

.mb-hero-services .mb-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  margin-bottom: 1.35rem;
}

.mb-hero-services .mb-hero__text {
  margin-bottom: 0;
}

/* Sections */
.mb-section {
  padding: 5rem 0;
}

#industries.mb-section {
  padding-bottom: 2.25rem;
}

#case-studies.mb-section {
  padding-top: 2.25rem;
}

.mb-section--dark {
  background: var(--mb-dark);
  color: var(--mb-white);
}

.mb-section--light {
  background: var(--mb-white);
}

.mb-section--gray {
  background: var(--mb-gray-100);
}

.mb-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.mb-section__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.mb-section__subtitle {
  max-width: 480px;
  color: var(--mb-gray-600);
  margin: 0;
  font-size: 0.95rem;
}

.mb-section--dark .mb-section__subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.mb-link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mb-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mb-link-arrow:hover {
  text-decoration: underline;
}

/* What We Do — home */
.mb-what-we-do {
  background: var(--mb-white);
}

.mb-what-we-do__head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 42%);
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

.mb-what-we-do__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mb-red);
  margin: 0 0 0.85rem;
}

.mb-what-we-do__title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--mb-black);
  margin: 0;
}

.mb-what-we-do__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--mb-gray-600);
  margin: 0;
}

.mb-what-we-do__search {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

/* Article search — pill input, glass suggestions */
.mb-article-search {
  position: relative;
  width: min(100%, 520px);
}

.mb-article-search__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mb-white);
  border-radius: 999px;
  padding: 0.4rem 0.45rem 0.4rem 1.35rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mb-article-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--mb-black);
  outline: none;
}

.mb-article-search__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.mb-article-search__submit {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color var(--mb-transition);
}

.mb-article-search__submit svg {
  width: 20px;
  height: 20px;
}

.mb-article-search__submit:hover {
  color: var(--mb-black);
}

.mb-article-search__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mb-article-search__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.mb-article-search__link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  color: inherit;
  text-decoration: none;
  transition: background var(--mb-transition);
}

.mb-article-search__link:hover,
.mb-article-search__list [aria-selected="true"] .mb-article-search__link {
  background: rgba(255, 255, 255, 0.45);
}

.mb-article-search__list li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mb-article-search__pin {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  color: rgba(0, 0, 0, 0.35);
}

.mb-article-search__pin svg {
  width: 100%;
  height: 100%;
}

.mb-article-search__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.mb-article-search__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mb-black);
  line-height: 1.35;
}

.mb-article-search__subtitle {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--mb-black);
  opacity: 0.55;
}

.mb-article-search__empty {
  padding: 1rem 1.15rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.mb-card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.15rem 2.75rem;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  background: var(--mb-white);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--mb-transition), transform var(--mb-transition);
}

.mb-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.mb-card__icon {
  width: 36px;
  height: 36px;
  color: var(--mb-red);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.mb-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mb-black);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.mb-card__text {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--mb-gray-600);
  margin: 0;
  flex: 1;
}

.mb-card__arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--mb-red);
}

/* Featured Insights */
.mb-featured-insights__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.mb-featured-insights__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mb-red);
  margin: 0 0 0.75rem;
}

.mb-featured-insights__title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--mb-white);
  max-width: 14em;
}

.mb-featured-insights__head-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mb-featured-insights__view-all {
  white-space: nowrap;
}

.mb-featured-insights__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mb-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--mb-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--mb-transition), background var(--mb-transition);
}

.mb-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.mb-carousel-btn:hover {
  border-color: var(--mb-white);
  background: rgba(255, 255, 255, 0.06);
}

.mb-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.mb-featured-insights__track-wrap {
  overflow: hidden;
}

.mb-featured-insights__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
}

.mb-featured-insights__track::-webkit-scrollbar {
  display: none;
}

.mb-insight-card {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  min-width: 240px;
  scroll-snap-align: start;
  background: var(--mb-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform var(--mb-transition), border-color var(--mb-transition);
}

.mb-insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.mb-insight-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.mb-insight-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--mb-gray-200, #e5e7eb);
}

.mb-insight-card__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.mb-insight-card__img--placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a0000 0%, #1a1a1a 50%, #330000 100%);
}

.mb-insight-card__placeholder-mark {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.mb-insight-card__placeholder-mark span {
  color: var(--mb-red);
}

.mb-insight-card__img--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(230, 0, 0, 0.22);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.mb-insight-card__badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  display: inline-block;
  padding: 0.35rem 0.5rem;
  background: var(--mb-red);
  color: var(--mb-white);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.mb-insight-card__body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.mb-insight-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  line-height: 1.35;
  color: var(--mb-white);
}

.mb-insight-card__excerpt {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mb-insight-card__meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

.mb-insight-card__meta time {
  color: inherit;
}

.mb-featured-insights__empty {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin: 0;
  padding: 2rem 0;
}

/* Industries */
.mb-industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.mb-industry__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--mb-red);
}

.mb-industry__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.mb-industry__text {
  font-size: 0.75rem;
  color: var(--mb-gray-600);
  margin: 0;
  line-height: 1.45;
}

/* Arrow icon (replaces text arrows) */
.mb-arrow-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

.mb-link-arrow .mb-arrow-icon {
  margin-left: 0.35rem;
}

.mb-btn .mb-arrow-icon {
  width: 13px;
  height: 13px;
}

/* Intelligence — Data. Insight. Advantage. */
.mb-intelligence {
  position: relative;
  overflow: hidden;
}

.mb-intelligence__bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 50%, rgba(230, 0, 0, 0.12) 0%, transparent 65%);
}

.mb-intelligence__globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.mb-intelligence__inner {
  position: relative;
  z-index: 1;
}

.mb-intelligence__head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 38%);
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.mb-intelligence__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mb-red);
  margin: 0 0 0.75rem;
}

.mb-intelligence__title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--mb-white);
}

.mb-intelligence__head-right p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 0.85rem;
}

.mb-intelligence__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mb-intel-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.35rem 1.15rem 2.5rem;
  background: rgba(0, 0, 0, 0.35);
  min-height: 200px;
}

.mb-intel-card__icon {
  color: var(--mb-red);
  width: 30px;
  height: 30px;
  margin-bottom: 0.85rem;
}

.mb-intel-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mb-white);
}

.mb-intel-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.mb-intel-card__arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  color: var(--mb-red);
}

/* Case studies */
.mb-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mb-case-card {
  border: 1px solid var(--mb-gray-200);
  padding: 1.75rem;
  background: var(--mb-white);
}

.mb-case-card__logo {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--mb-gray-600);
}

.mb-case-card h4 {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.mb-case-card p {
  font-size: 0.875rem;
  color: var(--mb-gray-600);
  margin: 0 0 1rem;
}

/* Philosophy — full-bleed Below-banner.jpg (Our Philosophy) */
.mb-philosophy {
  position: relative;
  color: var(--mb-white);
  background: #000;
  overflow: hidden;
  min-height: 280px;
}

.mb-philosophy__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mb-philosophy__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Shift crop downward so the figure's head stays in frame */
  object-position: 18% 22%;
  display: block;
  image-rendering: auto;
}

.mb-philosophy__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 28%,
    rgba(0, 0, 0, 0.25) 38%,
    rgba(0, 0, 0, 0.78) 48%,
    rgba(0, 0, 0, 0.96) 58%,
    #000 68%,
    #000 100%
  );
}

.mb-philosophy__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  min-height: 280px;
  padding-block: clamp(1.75rem, 3.2vw, 2.5rem);
}

.mb-philosophy__left {
  max-width: 460px;
}

.mb-philosophy__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.7rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.mb-philosophy__title {
  font-size: clamp(1.45rem, 2.35vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--mb-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.mb-philosophy__right {
  max-width: 600px;
  justify-self: end;
  width: 100%;
}

.mb-philosophy__intro {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.35rem;
}

.mb-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mb-pillar {
  padding: 0 1.1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.mb-pillar:first-child {
  border-left: none;
  padding-left: 0;
}

.mb-pillar:last-child {
  padding-right: 0;
}

.mb-pillar__icon {
  color: var(--mb-red);
  width: 30px;
  height: 30px;
  margin-bottom: 0.65rem;
  display: block;
}

.mb-pillar__icon svg,
.mb-pillar__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mb-pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mb-white);
}

.mb-pillar p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

/* Services page cards */
.mb-services-page {
  padding: 4.5rem 0 5rem;
}

.mb-service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mb-service-detail {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  padding: 1.75rem 1.5rem;
  background: var(--mb-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.mb-service-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.mb-service-detail__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.mb-service-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mb-red);
  color: var(--mb-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mb-service-detail__icon svg {
  width: 22px;
  height: 22px;
}

.mb-service-detail__index {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mb-red);
  letter-spacing: 0.02em;
}

.mb-service-detail__main h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.mb-service-detail__main > p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--mb-gray-600);
  margin: 0 0 1rem;
}

.mb-service-detail__main .mb-link-arrow {
  font-size: 0.8rem;
}

.mb-service-detail__offers h4 {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--mb-black);
}

.mb-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-check-list li {
  font-size: 0.78rem;
  line-height: 1.45;
  padding: 0.28rem 0 0.28rem 1.35rem;
  position: relative;
  color: var(--mb-gray-600);
}

.mb-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--mb-red);
  border-bottom: 2px solid var(--mb-red);
  transform: rotate(-45deg);
}

/* CTA band */
.mb-cta {
  background: #000;
  padding: 3.25rem 0;
  color: var(--mb-white);
  position: relative;
  overflow: hidden;
}

.mb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 120% at 20% 50%, rgba(230, 0, 0, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 100% at 85% 30%, rgba(230, 0, 0, 0.2) 0%, transparent 50%),
    linear-gradient(105deg, rgba(230, 0, 0, 0.12) 0%, transparent 40%, rgba(230, 0, 0, 0.18) 100%);
  animation: mb-cta-shine 5s ease-in-out infinite;
}

@keyframes mb-cta-shine {
  0%, 100% { opacity: 0.3; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}

.mb-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mb-cta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.mb-cta p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Features row */
.mb-services-features {
  background: var(--mb-gray-100);
  padding: 3.5rem 0 4rem;
}

.mb-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.mb-services-features .mb-feature {
  text-align: left;
}

.mb-feature {
  text-align: center;
}

.mb-feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border: 2px solid var(--mb-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mb-red);
}

.mb-services-features .mb-feature__icon {
  width: 36px;
  height: 36px;
  margin: 0 0 0.85rem;
  border: none;
  border-radius: 0;
}

.mb-services-features .mb-feature__icon svg {
  width: 100%;
  height: 100%;
}

/* Pricing & Engagement */
.mb-pricing-hero .mb-hero__label {
  margin-bottom: 1rem;
}

.mb-pricing-hero__title {
  display: block;
  margin-bottom: 1.25rem;
  line-height: 1.08;
}

.mb-pricing-hero__title-line {
  display: block;
  white-space: nowrap;
}

.mb-pricing-hero__title em {
  font-style: normal;
  color: var(--mb-red);
}

.mb-pricing-hero__text {
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.mb-pricing-hero .mb-hero-services__bg {
  object-position: 70% center;
}

.mb-pricing-hero__grid {
  align-items: flex-end;
  min-height: 450px;
  padding-top: calc(var(--mb-header-h) + 1.5rem);
  padding-bottom: 2rem;
}

.mb-pricing-hero .mb-hero-services__content {
  max-width: 620px;
}

.mb-pricing-hero .mb-hero__text {
  max-width: 540px;
}

.mb-pricing-hero__stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
  max-width: 100%;
}

.mb-pricing-hero__stats li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.mb-pricing-hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mb-pricing-hero__stat-line {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mb-white);
  line-height: 1.3;
  white-space: nowrap;
}

.mb-pricing-hero__stat-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mb-red);
}

.mb-pricing-hero__stat-icon svg {
  width: 24px;
  height: 24px;
}

.mb-pricing-plans {
  padding: 4rem 0 5rem;
  background: var(--mb-white);
}

.mb-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.mb-pricing-card {
  position: relative;
  border: 1px solid var(--mb-gray-200);
  border-radius: 8px;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--mb-white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.mb-pricing-card--featured {
  background: var(--mb-black);
  border-color: var(--mb-black);
  color: var(--mb-white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.mb-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mb-red);
  color: var(--mb-white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  white-space: nowrap;
}

.mb-pricing-card__head {
  margin-bottom: 1.25rem;
}

.mb-pricing-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.1);
  color: var(--mb-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.mb-pricing-card--featured .mb-pricing-card__icon {
  background: rgba(230, 0, 0, 0.2);
}

.mb-pricing-card__icon svg {
  width: 22px;
  height: 22px;
}

.mb-pricing-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.mb-pricing-card__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--mb-gray-600);
}

.mb-pricing-card--featured .mb-pricing-card__desc {
  color: rgba(255, 255, 255, 0.65);
}

.mb-pricing-card__price {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--mb-gray-600);
}

.mb-pricing-card__price strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mb-red);
  margin-top: 0.15rem;
  line-height: 1.2;
}

.mb-pricing-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mb-gray-600);
}

.mb-pricing-card--featured .mb-pricing-card__price {
  color: rgba(255, 255, 255, 0.6);
}

.mb-pricing-card--featured .mb-pricing-card__price span {
  color: rgba(255, 255, 255, 0.55);
}

.mb-pricing-card__price--custom strong {
  font-size: 1.25rem;
}

.mb-pricing-card__price--custom span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.mb-pricing-card__ideal {
  font-size: 0.78rem;
  color: var(--mb-gray-600);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.mb-pricing-card--featured .mb-pricing-card__ideal {
  color: rgba(255, 255, 255, 0.55);
}

.mb-pricing-card__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.mb-pricing-card__features li {
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.35rem 0 0.35rem 1.35rem;
  position: relative;
  color: var(--mb-gray-600);
}

.mb-pricing-card--featured .mb-pricing-card__features li {
  color: rgba(255, 255, 255, 0.75);
}

.mb-pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--mb-red);
  border-bottom: 2px solid var(--mb-red);
  transform: rotate(-45deg);
}

.mb-pricing-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.mb-pricing-card:not(.mb-pricing-card--featured) .mb-btn--outline {
  color: var(--mb-red);
  border-color: var(--mb-red);
}

.mb-pricing-card:not(.mb-pricing-card--featured) .mb-btn--outline:hover {
  color: var(--mb-white);
  background: var(--mb-red);
}

.mb-pricing-card--featured .mb-pricing-card__cta.mb-btn--solid {
  background: var(--mb-red);
  border-color: var(--mb-red);
}

.mb-pricing-compare {
  padding: 4rem 0 5rem;
  background: var(--mb-gray-100);
}

.mb-pricing-compare__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

.mb-pricing-compare__title em {
  font-style: normal;
  color: var(--mb-red);
}

.mb-pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mb-gray-200);
  border-radius: 8px;
  background: var(--mb-white);
}

.mb-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mb-pricing-table thead th {
  background: var(--mb-white);
  padding: 1.15rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--mb-gray-200);
}

.mb-pricing-table thead th:first-child {
  text-align: left;
  color: var(--mb-gray-600);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mb-pricing-table__plan {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.mb-pricing-table__plan svg {
  width: 16px;
  height: 16px;
  color: var(--mb-red);
}

.mb-pricing-table tbody th,
.mb-pricing-table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--mb-gray-200);
  text-align: center;
}

.mb-pricing-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--mb-black);
}

.mb-pricing-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.mb-pricing-table tbody tr:last-child th,
.mb-pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.mb-pricing-yes {
  color: var(--mb-red);
  font-weight: 700;
}

.mb-pricing-no {
  color: var(--mb-gray-400);
}

.mb-pricing-global {
  padding: 4.5rem 0 5rem;
  background: var(--mb-black);
  color: var(--mb-white);
}

.mb-pricing-global__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.mb-pricing-global__subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 2.5rem;
}

.mb-pricing-global__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) minmax(260px, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.mb-pricing-region {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
}

.mb-pricing-region__map {
  height: 48px;
  margin-bottom: 1rem;
  color: var(--mb-red);
  opacity: 0.85;
}

.mb-pricing-region__map svg {
  width: 100%;
  height: 100%;
}

.mb-pricing-region h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.mb-pricing-region__price {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.mb-pricing-region__price strong {
  display: block;
  font-size: 1.15rem;
  color: var(--mb-red);
  margin-top: 0.15rem;
}

.mb-pricing-region__countries {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.mb-pricing-consult {
  background: linear-gradient(145deg, rgba(80, 0, 0, 0.6) 0%, rgba(20, 0, 0, 0.9) 100%);
  border: 1px solid rgba(230, 0, 0, 0.25);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mb-pricing-consult__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(230, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mb-red);
  margin-bottom: 1rem;
}

.mb-pricing-consult__icon svg {
  width: 20px;
  height: 20px;
}

.mb-pricing-consult h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.mb-pricing-consult p {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
}

.mb-pricing-consult .mb-btn {
  width: 100%;
  justify-content: center;
}

.mb-feature h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.mb-feature p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--mb-gray-600);
}

/* Footer */
.mb-footer {
  background: var(--mb-black);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.mb-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) repeat(5, minmax(0, 1fr));
  gap: 1.75rem 0;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  align-items: start;
}

.mb-footer__brand,
.mb-footer__col {
  padding-right: 1.1rem;
  padding-left: 1.1rem;
}

.mb-footer__brand {
  max-width: none;
  padding-left: 0;
}

.mb-footer__col {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  min-height: 100%;
}

.mb-footer__col:last-child {
  padding-right: 0;
}

.mb-footer__logo-img {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
  margin: 0 0 0.45rem;
  background: transparent;
}

.mb-footer__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 1rem 0 0;
}

.mb-footer__social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.mb-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mb-white);
  transition: border-color var(--mb-transition), color var(--mb-transition);
}

.mb-footer__social a svg {
  width: 13px;
  height: 13px;
  display: block;
}

.mb-footer__social a:hover {
  border-color: var(--mb-red);
  color: var(--mb-red);
}

.mb-footer__col-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mb-red);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
}

.mb-footer__col-icon {
  width: 18px;
  height: 18px;
  color: var(--mb-red);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mb-footer__col-icon svg,
.mb-footer__col-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.mb-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-footer__list li {
  margin-bottom: 0.42rem;
}

.mb-footer__list a,
.mb-footer__location {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.3rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
}

.mb-footer__list a:hover {
  color: var(--mb-white);
}

.mb-footer__chev {
  color: var(--mb-red);
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.mb-footer__chev img {
  width: 12px;
  height: 12px;
  display: block;
  object-fit: contain;
}

.mb-footer__more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--mb-red);
}

.mb-footer__more:hover {
  color: #ff3333;
}

.mb-footer__contact-icon {
  width: 14px;
  height: 14px;
  color: var(--mb-red);
  flex-shrink: 0;
  margin-top: 0.1rem;
  display: inline-flex;
}

.mb-footer__contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mb-footer__list--contact .mb-footer__location {
  color: rgba(255, 255, 255, 0.58);
}

.mb-footer__newsletter {
  display: grid;
  grid-template-columns: auto minmax(200px, 1.15fr) minmax(280px, 1.5fr);
  grid-template-areas:
    "icon copy form"
    "perks perks perks";
  gap: 0.85rem 1.75rem;
  align-items: start;
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.35rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mb-footer__newsletter-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.15);
  color: var(--mb-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.mb-footer__newsletter-icon svg {
  width: 20px;
  height: 20px;
}

.mb-footer__newsletter-copy {
  grid-area: copy;
  align-self: center;
}

.mb-footer__newsletter-copy h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mb-white);
}

.mb-footer__newsletter-copy p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.mb-footer__newsletter-form {
  grid-area: form;
  display: flex;
  gap: 0.5rem;
  min-width: 0;
  align-self: start;
  margin-top: 0.1rem;
}

.mb-footer__newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--mb-white);
  padding: 0 0.85rem;
  font-size: 0.8rem;
}

.mb-footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.mb-footer__newsletter-form .mb-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 1rem;
  font-size: 0.78rem;
}

.mb-footer__newsletter-form .mb-subscribe-btn {
  position: relative;
  overflow: visible;
  min-width: 108px;
  justify-content: center;
  gap: 0.35rem;
  will-change: transform, opacity, min-width, border-radius;
  transition:
    min-width 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    width 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    padding 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    border-radius 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.35s ease;
}

.mb-subscribe-btn__label,
.mb-subscribe-btn__done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mb-subscribe-btn__done {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.mb-subscribe-btn__done svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mb-subscribe-btn__rocket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  color: #fff;
  opacity: 0;
  /* Nose points NE — same as flight path */
  transform: scale(0.35) rotate(0deg);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.mb-subscribe-btn__rocket svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 80, 80, 0.85));
}

.mb-subscribe-btn__trail {
  display: none;
}

/* Phase 1: button morphs into the plane (pointing NE) */
.mb-subscribe-btn.is-morphing {
  min-width: 42px;
  width: 42px;
  padding: 0;
  border-radius: 50%;
  color: transparent;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(230, 0, 0, 0.5);
}

.mb-subscribe-btn.is-morphing .mb-subscribe-btn__label {
  opacity: 0;
  transform: scale(0.55);
}

.mb-subscribe-btn.is-morphing .mb-subscribe-btn__rocket {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Phase 2: fly NE — motion matches nose direction */
.mb-subscribe-btn.is-flying {
  min-width: 42px;
  width: 42px;
  padding: 0;
  border-radius: 50%;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: transparent;
  pointer-events: none;
  animation: mb-subscribe-plane-ne 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.mb-subscribe-btn.is-flying .mb-subscribe-btn__label {
  opacity: 0;
}

.mb-subscribe-btn.is-flying .mb-subscribe-btn__rocket {
  opacity: 1;
  color: #ff2a2a;
  transform: scale(1.1) rotate(0deg);
  filter: drop-shadow(0 0 12px rgba(230, 0, 0, 0.95));
  transition: none;
}

/* Phase 3: Done with tick */
.mb-subscribe-btn.is-done {
  min-width: 108px;
  width: auto;
  padding: 0 1rem;
  border-radius: 6px;
  background: transparent;
  border: 1.5px solid #e60000;
  color: #e60000;
  pointer-events: none;
  opacity: 1;
  transform: none;
  animation: mb-subscribe-done-in 0.4s ease forwards;
}

.mb-subscribe-btn.is-done .mb-subscribe-btn__label,
.mb-subscribe-btn.is-done .mb-subscribe-btn__rocket {
  opacity: 0;
  visibility: hidden;
}

.mb-subscribe-btn.is-done .mb-subscribe-btn__done {
  opacity: 1;
  transform: scale(1);
  color: #e60000;
}

/* Equal X/+Y so path is ~45° NE, matching icon tip */
@keyframes mb-subscribe-plane-ne {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  18% {
    opacity: 1;
    transform: translate3d(28px, -28px, 0) scale(1.05);
  }
  48% {
    opacity: 1;
    transform: translate3d(90px, -90px, 0) scale(1);
  }
  78% {
    opacity: 0.45;
    transform: translate3d(155px, -155px, 0) scale(0.78);
  }
  100% {
    opacity: 0;
    transform: translate3d(210px, -210px, 0) scale(0.5);
  }
}

@keyframes mb-subscribe-done-in {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mb-subscribe-btn,
  .mb-subscribe-btn.is-flying,
  .mb-subscribe-btn.is-done {
    animation: none;
    transition: none;
  }
}

.mb-footer__newsletter-perks {
  grid-area: perks;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem 2rem;
}

.mb-footer__newsletter-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}

.mb-footer__newsletter-perks span {
  color: var(--mb-red);
  font-weight: 700;
}

.mb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  font-size: 0.78rem;
}

.mb-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mb-footer__legal a {
  color: rgba(255, 255, 255, 0.55);
}

.mb-footer__legal a:hover {
  color: var(--mb-white);
}

.mb-footer__legal-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  user-select: none;
}

/* Legacy footer helpers kept for other pages during transition */
.mb-footer__cols {
  display: contents;
}

.mb-footer__cols h5 {
  color: var(--mb-red);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.mb-footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mb-footer__cols li {
  margin-bottom: 0.5rem;
}

.mb-footer__cols a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.mb-footer__cols a:hover {
  color: var(--mb-white);
}

.mb-footer__view-more {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--mb-red);
}

/* WordPress: hide theme header on custom templates */
body.mb-custom-template .site-header,
body.mb-custom-template #header-colophon,
body.mb-custom-template .footer-wrap {
  display: none !important;
}

body.mb-custom-template {
  padding-top: 0 !important;
}

/* Responsive */
@media (max-width: 1280px) {
  .mb-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .mb-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 0;
  }

  .mb-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
    padding-right: 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 0.25rem;
  }

  .mb-footer__col {
    padding: 0.85rem 1rem;
  }

  .mb-footer__col:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .mb-footer__col:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .mb-footer__newsletter {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon copy"
      "form form"
      "perks perks";
    gap: 0.85rem 1.15rem;
  }

  .mb-footer__newsletter-form {
    margin-top: 0;
  }

  .mb-footer__newsletter-perks {
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
  }

  .mb-footer__cols {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .mb-what-we-do__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .mb-philosophy__inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    min-height: 0;
    padding-block: 2rem;
  }

  .mb-philosophy__right {
    justify-self: stretch;
    max-width: none;
  }

  .mb-philosophy__shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.45) 42%,
      rgba(0, 0, 0, 0.92) 100%
    );
  }

  .mb-philosophy__img {
    object-position: 22% 18%;
  }

  .mb-philosophy__title {
    max-width: 100%;
    font-size: 1.4rem;
  }

  .mb-pillars {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .mb-pillar {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0 0;
  }

  .mb-pillar:first-child {
    border-top: none;
    padding-top: 0;
  }

  .mb-service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .mb-pricing-card--featured {
    transform: none;
    order: -1;
  }

  .mb-pricing-global__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mb-pricing-consult {
    grid-column: 1 / -1;
  }

  .mb-featured-insights__head {
    grid-template-columns: 1fr;
  }

  .mb-featured-insights__head-right {
    width: 100%;
    justify-content: space-between;
  }

  .mb-insight-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }

  .mb-industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mb-intelligence__head {
    grid-template-columns: 1fr;
  }

  .mb-intelligence__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-intelligence__bg {
    width: 55%;
    opacity: 0.7;
  }

  .mb-hero-services__globe-wrap {
    right: -15%;
    width: min(70vw, 420px);
    height: min(70vw, 420px);
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.85;
  }

  .mb-hero-services__content {
    max-width: 100%;
  }

  .mb-service-detail__layout {
    grid-template-columns: 1fr;
  }

  .mb-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mb-footer__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mb-footer__brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 1.15rem;
    margin-bottom: 0;
  }

  .mb-footer__col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
  }

  .mb-footer__col:nth-child(odd),
  .mb-footer__col:nth-child(even) {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }

  .mb-footer__cols {
    grid-template-columns: 1fr;
  }

  .mb-footer__newsletter {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "copy"
      "form"
      "perks";
  }

  .mb-footer__newsletter-form {
    flex-direction: column;
  }

  .mb-footer__newsletter-perks {
    flex-wrap: wrap;
  }

  .mb-hero__bg-img {
    object-position: 65% center;
  }

  .mb-hero__globe-mask {
    left: 58%;
    top: auto;
    bottom: 12%;
    transform: translate(-50%, 0);
    width: min(62vw, 320px);
    height: min(62vw, 320px);
  }

  .mb-hero__scrim {
    background: linear-gradient(
      180deg,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.88) 58%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .mb-hero__grid {
    align-items: flex-start;
    padding-top: 2rem;
  }

  .mb-hero__content {
    max-width: 100%;
  }

  .mb-nav,
  .mb-header .mb-btn--outline {
    display: none;
  }

  .mb-menu-toggle {
    display: flex;
  }

  .mb-header.is-open .mb-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--mb-header-h);
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e8e8e8;
  }

  .mb-header.is-open .mb-nav a,
  .mb-header.is-open .mb-nav__trigger {
    color: #000000;
  }

  .mb-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-service-detail-grid,
  .mb-cases-grid,
  .mb-pillars,
  .mb-insight-card {
    flex: 0 0 88%;
    min-width: 0;
  }

  .mb-industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-features {
    grid-template-columns: 1fr;
  }

  .mb-intelligence__cards {
    grid-template-columns: 1fr;
  }

  .mb-intelligence__bg {
    width: 100%;
    height: 55%;
    top: auto;
    bottom: 0;
    opacity: 0.45;
  }

  .mb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mb-pricing-hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .mb-pricing-hero__stat-line {
    white-space: normal;
  }

  .mb-pricing-hero__grid {
    min-height: auto;
    align-items: flex-start;
    padding-bottom: 2.5rem;
  }

  .mb-pricing-hero__title-line {
    white-space: normal;
  }

  .mb-pricing-global__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Homepage revamp (light layout) —— */
.mb-header--light {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none;
}

.mb-header--light.is-scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.mb-header--light .mb-logo__brand {
  color: #000000;
}

.mb-header--light .mb-logo__tag {
  color: #666666;
}

.mb-header--light .mb-nav a {
  color: #000000;
}

.mb-header--light .mb-nav__plain,
.mb-header--light .mb-nav__trigger {
  color: #000000;
}

.mb-header--light .mb-nav a:hover,
.mb-header--light .mb-nav a.is-active,
.mb-header--light .mb-nav__trigger.is-current {
  color: var(--mb-red);
}

.mb-header--light .mb-nav:has(a:hover) a.is-active:not(:hover),
.mb-header--light .mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover),
.mb-header--light .mb-nav:has(a:hover) .mb-nav__trigger.is-current:not(:hover):not(.is-active),
.mb-header--light.is-mega-open .mb-nav a.is-active {
  color: #000000;
}

.mb-header--light .mb-menu-toggle span {
  background: #000000;
}

.mb-header--light.is-scrolled .mb-logo__brand {
  color: #ffffff;
}

.mb-header--light.is-scrolled .mb-logo__tag {
  color: rgba(255, 255, 255, 0.55);
}

.mb-header--light.is-scrolled .mb-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.mb-header--light.is-scrolled .mb-nav__plain,
.mb-header--light.is-scrolled .mb-nav__trigger {
  color: rgba(255, 255, 255, 0.85);
}

.mb-header--light.is-scrolled .mb-nav a:hover,
.mb-header--light.is-scrolled .mb-nav a.is-active,
.mb-header--light.is-scrolled .mb-nav__trigger:hover,
.mb-header--light.is-scrolled .mb-nav__trigger.is-active,
.mb-header--light.is-scrolled .mb-nav__trigger.is-current {
  color: #ffffff;
}

.mb-header--light.is-scrolled .mb-nav:has(a:hover) a.is-active:not(:hover),
.mb-header--light.is-scrolled .mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover),
.mb-header--light.is-scrolled .mb-nav:has(a:hover) .mb-nav__trigger.is-current:not(:hover):not(.is-active),
.mb-header--light.is-scrolled.is-mega-open .mb-nav a.is-active {
  color: rgba(255, 255, 255, 0.85);
}

.mb-header--light.is-scrolled .mb-menu-toggle span {
  background: #ffffff;
}

.mb-header--light.is-open .mb-nav {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

.mb-header--light.is-open .mb-nav a {
  color: var(--mb-black);
}

.mb-header--light.is-open .mb-nav__plain,
.mb-header--light.is-open .mb-nav__trigger {
  color: #000000;
}

.mb-header--light.is-open.is-scrolled .mb-nav {
  background: rgba(0, 0, 0, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mb-header--light.is-open.is-scrolled .mb-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.mb-header--light.is-open.is-scrolled .mb-nav__plain {
  color: rgba(255, 255, 255, 0.9);
}

.mb-btn--outline-red {
  border-color: var(--mb-red);
  color: var(--mb-red);
  background: transparent;
}

.mb-btn--outline-red:hover {
  background: rgba(230, 0, 0, 0.06);
}

.mb-home-hero {
  position: relative;
  padding-top: var(--mb-header-h);
  background: #ffffff;
  color: #000000;
  min-height: calc(450px + var(--mb-header-h));
  overflow: hidden;
}

.mb-home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.96) 34%,
    rgba(255, 255, 255, 0.9) 42%,
    rgba(255, 255, 255, 0.84) 48%,
    rgba(255, 255, 255, 0.72) 52%,
    rgba(255, 255, 255, 0.38) 58%,
    rgba(255, 255, 255, 0.08) 64%,
    transparent 72%
  );
}

.mb-home-hero__visual {
  position: absolute;
  top: 0;
  left: 12%;
  right: 0;
  bottom: 0;
  width: auto;
  pointer-events: none;
  z-index: 0;
}

.mb-home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.82) 14%,
    rgba(255, 255, 255, 0.45) 26%,
    rgba(255, 255, 255, 0.1) 38%,
    transparent 50%
  );
}

.mb-home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 32%;
  opacity: 1;
}

.mb-home-hero__globe {
  display: none;
}

.mb-home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 50%) 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 450px;
  padding: 1.75rem 0 1.5rem;
}

.mb-home-hero__content {
  max-width: 540px;
}

.mb-home-hero__title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.mb-home-hero__title em {
  font-style: normal;
  color: var(--mb-red);
}

.mb-home-hero__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--mb-gray-600);
  margin: 0 0 1.35rem;
  max-width: 480px;
}

.mb-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.mb-home-features {
  position: relative;
  z-index: 1;
  background: var(--mb-white);
  border-top: 1px solid var(--mb-gray-200);
  padding: 1.15rem 0 1.35rem;
}

.mb-home-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.mb-home-feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid var(--mb-gray-200);
  border-radius: 8px;
  background: var(--mb-white);
  padding: 0.95rem 0.9rem;
  transition: border-color var(--mb-transition), box-shadow var(--mb-transition);
}

.mb-home-feature:hover {
  border-color: rgba(230, 0, 0, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.mb-home-feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--mb-red);
}

.mb-home-feature__icon svg,
.mb-home-feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mb-home-feature h3 {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}

.mb-home-feature p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--mb-gray-600);
}

.mb-latest-insights {
  background: var(--mb-gray-100);
  padding-block: 2.25rem;
}

.mb-latest-insights__head {
  align-items: center;
}

.mb-latest-insights__head-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.mb-latest-insights__nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mb-carousel-btn--light {
  border-color: var(--mb-gray-200);
  background: var(--mb-white);
  color: var(--mb-black);
}

.mb-carousel-btn--light:hover:not(:disabled) {
  border-color: var(--mb-red);
  background: var(--mb-white);
  color: var(--mb-red);
}

.mb-latest-insights__track-wrap {
  overflow: hidden;
}

.mb-latest-insights__track {
  display: flex;
  gap: 0.95rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
}

.mb-latest-insights__track::-webkit-scrollbar {
  display: none;
}

.mb-latest-insights__track.is-loading .mb-insight-card {
  opacity: 0.65;
}

.mb-latest-insights__track .mb-insight-card {
  flex: 0 0 calc((100% - 2.85rem) / 4);
  min-width: 220px;
  scroll-snap-align: start;
}

.mb-insight-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mb-gray-200);
}

.mb-insight-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mb-insight-card--light {
  display: flex;
  flex-direction: column;
  background: var(--mb-white);
  border: 1px solid var(--mb-gray-200);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--mb-transition), transform var(--mb-transition), border-color var(--mb-transition);
}

.mb-insight-card--light:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 0, 0, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.mb-insight-card--light .mb-insight-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f7f7f7 0%, #ececec 50%, #e2e2e2 100%);
}

.mb-insight-card--light .mb-insight-card__placeholder-mark {
  color: #111;
}

.mb-insight-card--light .mb-insight-card__img--placeholder::after {
  background: rgba(230, 0, 0, 0.12);
}

.mb-insight-card--light .mb-insight-card__badge {
  position: static;
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0;
  background: none;
  color: var(--mb-red);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.mb-insight-card--light .mb-insight-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 0.95rem 1rem;
}

.mb-insight-card--light .mb-insight-card__title {
  color: var(--mb-black);
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mb-insight-card--light .mb-insight-card__excerpt {
  color: var(--mb-gray-600);
  font-size: 0.74rem;
  line-height: 1.45;
  margin: 0 0 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mb-insight-card--light .mb-insight-card__meta {
  color: var(--mb-gray-400);
  margin: 0 0 0.75rem;
}

.mb-insight-card--light .mb-insight-card__cta {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.72rem;
  padding: 0.45rem 0.85rem;
}

.mb-home-industries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.mb-home-industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--mb-gray-200);
  border-radius: 6px;
  padding: 1.35rem 0.75rem 1.15rem;
  background: var(--mb-white);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--mb-transition), box-shadow var(--mb-transition);
}

.mb-home-industry:hover {
  border-color: rgba(230, 0, 0, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.mb-home-industry__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  color: var(--mb-red);
}

.mb-home-industry__icon img,
.mb-home-industry__icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mb-home-industry h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.mb-featured-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mb-featured-case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.85rem;
  align-items: stretch;
  border: 1px solid var(--mb-gray-200);
  border-radius: 10px;
  overflow: hidden;
  background: var(--mb-white);
  padding: 0.85rem;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--mb-transition), border-color var(--mb-transition), transform var(--mb-transition);
}

a.mb-featured-case {
  color: inherit;
}

.mb-featured-case:hover {
  border-color: rgba(230, 0, 0, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.mb-featured-case__content {
  padding: 0.55rem 0.35rem 0.35rem 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mb-featured-case__logo {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--mb-black);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.mb-featured-case__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mb-red);
  margin-bottom: 0.65rem;
}

.mb-featured-case__summary {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--mb-black);
}

.mb-featured-case__content .mb-link-arrow {
  margin-top: auto;
  font-size: 0.8rem;
}

.mb-featured-case__media {
  position: relative;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mb-gray-200);
}

.mb-featured-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mb-featured-case__media--placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}

.mb-cta--light {
  background: #fff5f3;
  color: var(--mb-black);
  padding: 2.75rem 0;
}

.mb-cta--light::before {
  display: none;
}

.mb-cta--light .mb-cta__inner {
  gap: 2rem;
}

.mb-cta--light .mb-cta__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--mb-red);
}

.mb-cta--light .mb-cta__icon svg {
  width: 100%;
  height: 100%;
}

.mb-cta--light h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--mb-black);
}

.mb-cta--light p {
  color: var(--mb-gray-600);
}

@media (max-width: 1024px) {
  .mb-home-hero {
    min-height: auto;
  }

  .mb-home-hero__visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .mb-home-hero__visual::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.9) 42%,
      rgba(255, 255, 255, 0.55) 62%,
      rgba(255, 255, 255, 0.2) 78%,
      transparent 100%
    );
  }

  .mb-home-hero__visual {
    left: 0;
  }

  .mb-home-hero__bg {
    object-position: 16% 30%;
  }

  .mb-home-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.5rem 0 2rem;
  }

  .mb-home-hero__visual-col {
    display: none;
  }

  .mb-home-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mb-latest-insights__track .mb-insight-card {
    flex-basis: calc((100% - 0.95rem) / 2);
  }

  .mb-featured-cases {
    grid-template-columns: 1fr;
  }

  .mb-featured-case {
    grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.85fr);
  }

  .mb-featured-case__media {
    min-height: 170px;
  }

  .mb-home-industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mb-header--light.is-open .mb-nav {
    display: flex;
  }

  .mb-header--light .mb-btn--solid {
    display: none;
  }

  .mb-home-features__grid,
  .mb-home-industries__grid {
    grid-template-columns: 1fr;
  }

  .mb-latest-insights__track .mb-insight-card {
    flex-basis: 85%;
    min-width: 240px;
  }

  .mb-latest-insights__head-right {
    width: 100%;
    justify-content: space-between;
  }

  .mb-featured-case {
    grid-template-columns: 1fr 120px;
    gap: 0.65rem;
    padding: 0.7rem;
  }

  .mb-featured-case__media {
    min-height: 140px;
  }

  .mb-cta--light .mb-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* �� Theme toggle (fixed right) �� */
/* —— Right side action rail (Account / Demo / Sales / Theme) —— */
.mb-side-rail {
  position: fixed;
  top: auto;
  bottom: 1.35rem;
  right: 0;
  transform: none;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.4rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow:
    -4px 0 24px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(230, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.mb-side-rail__btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mb-side-rail__btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mb-side-rail__btn--user {
  color: #e60000;
}

.mb-side-rail__avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #fde8e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 0, 0, 0.12);
}

.mb-side-rail__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mb-side-rail__btn:hover,
.mb-side-rail__btn:focus-visible {
  background: rgba(230, 0, 0, 0.1);
  color: #e60000;
  outline: none;
}

.mb-side-rail__btn--danger:hover,
.mb-side-rail__btn--danger:focus-visible {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.mb-side-rail__tip {
  position: absolute;
  right: calc(100% + 0.55rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  background: #111;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translate(4px, -50%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.mb-side-rail__btn:hover .mb-side-rail__tip,
.mb-side-rail__btn:focus-visible .mb-side-rail__tip {
  opacity: 1;
  transform: translate(0, -50%);
}

.mb-theme-toggle {
  position: relative;
  right: auto;
  bottom: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #e60000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mb-theme-toggle:hover {
  transform: none;
  background: rgba(230, 0, 0, 0.1);
  box-shadow: none;
  color: #e60000;
}

.mb-theme-toggle:focus-visible {
  outline: 2px solid #e60000;
  outline-offset: 2px;
}

.mb-theme-toggle__icon {
  position: absolute;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.mb-theme-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Light mode: show moon (click to go dark) */
html:not([data-mb-theme="dark"]) .mb-theme-toggle__icon--moon,
html[data-mb-theme="light"] .mb-theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1);
}

/* Dark mode: show sun (click to go light) */
html[data-mb-theme="dark"] .mb-theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1);
}

html[data-mb-theme="dark"] .mb-side-rail {
  background: rgba(20, 20, 20, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    -4px 0 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(230, 0, 0, 0.12);
}

html[data-mb-theme="dark"] .mb-side-rail__btn {
  color: rgba(255, 255, 255, 0.78);
}

html[data-mb-theme="dark"] .mb-side-rail__btn:hover,
html[data-mb-theme="dark"] .mb-side-rail__btn:focus-visible,
html[data-mb-theme="dark"] .mb-theme-toggle {
  color: #e60000;
}

html[data-mb-theme="dark"] .mb-theme-toggle {
  background: transparent;
}

/* -- Dark theme surface overrides (content only; top banners stay as designed) -- */
html[data-mb-theme="dark"] .mb-section--light,
html[data-mb-theme="dark"] .mb-latest-insights,
html[data-mb-theme="dark"] .mb-home-features,
html[data-mb-theme="dark"] .mb-what-we-do-page,
html[data-mb-theme="dark"] .mb-industries-page {
  background: var(--mb-surface-muted);
  color: var(--mb-page-text);
}

html[data-mb-theme="dark"] .mb-section__title,
html[data-mb-theme="dark"] .mb-home-feature h3,
html[data-mb-theme="dark"] .mb-home-industry h3,
html[data-mb-theme="dark"] .mb-insight-card--light .mb-insight-card__title,
html[data-mb-theme="dark"] .mb-featured-case__title,
html[data-mb-theme="dark"] .mb-what-we-do-card__title,
html[data-mb-theme="dark"] .mb-industry-card__title {
  color: var(--mb-page-text);
}

html[data-mb-theme="dark"] .mb-home-feature,
html[data-mb-theme="dark"] .mb-insight-card--light,
html[data-mb-theme="dark"] .mb-home-industry,
html[data-mb-theme="dark"] .mb-featured-case,
html[data-mb-theme="dark"] .mb-what-we-do-card,
html[data-mb-theme="dark"] .mb-industry-card {
  background: var(--mb-surface);
  border-color: var(--mb-border);
  color: var(--mb-page-text);
}

html[data-mb-theme="dark"] .mb-industry-card__title {
  color: #f2f2f2;
}

html[data-mb-theme="dark"] .mb-industry-card__sectors {
  color: var(--mb-muted);
}

/* Dark mode industry cards: keep dark surface, title turns red on hover */
html[data-mb-theme="dark"] .mb-industry-card:hover {
  background: var(--mb-surface);
  border-color: #e60000;
  box-shadow: 0 4px 20px rgba(230, 0, 0, 0.28);
}

html[data-mb-theme="dark"] .mb-industry-card:hover .mb-industry-card__title {
  color: #e60000;
}

html[data-mb-theme="dark"] .mb-industry-card:hover .mb-industry-card__sectors {
  color: rgba(255, 255, 255, 0.92);
}

html[data-mb-theme="dark"] .mb-industry-card:hover .mb-industry-card__icon {
  color: #ffffff;
}

html[data-mb-theme="dark"] .mb-industry-card:hover .mb-industry-card__icon img,
html[data-mb-theme="dark"] .mb-industry-card:hover .mb-industry-card__icon svg {
  filter: brightness(0) invert(1);
}

/* Keep top banners / heroes visually unchanged in dark mode */
html[data-mb-theme="dark"] .mb-home-hero,
html[data-mb-theme="dark"] .mb-hero,
html[data-mb-theme="dark"] .mb-hero-services,
html[data-mb-theme="dark"] .mb-pricing-hero,
html[data-mb-theme="dark"] .mb-hero-industries {
  --mb-black: #000000;
  --mb-white: #ffffff;
  --mb-gray-600: #666666;
  --mb-page-text: #000000;
  color: #000000;
}

html[data-mb-theme="dark"] .mb-home-hero {
  background: #ffffff;
}

html[data-mb-theme="dark"] .mb-home-hero__title,
html[data-mb-theme="dark"] .mb-home-hero__text,
html[data-mb-theme="dark"] .mb-home-hero__lead,
html[data-mb-theme="dark"] .mb-hero__title,
html[data-mb-theme="dark"] .mb-hero__text,
html[data-mb-theme="dark"] .mb-hero__label,
html[data-mb-theme="dark"] .mb-pricing-hero__title,
html[data-mb-theme="dark"] .mb-pricing-hero__text,
html[data-mb-theme="dark"] .mb-hero-industries__title-black {
  color: #000000;
}

html[data-mb-theme="dark"] .mb-home-hero__title em,
html[data-mb-theme="dark"] .mb-hero__title em,
html[data-mb-theme="dark"] .mb-hero-industries__title-red {
  color: var(--mb-red);
}

html[data-mb-theme="dark"] .mb-hero-industries__highlight {
  background: #e60000;
  color: #ffffff;
}

/* Industries / Solutions header over light banner */
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-logo__brand {
  color: #000000;
}

html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-logo__brand span {
  color: #e60000;
}

html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-logo__tag,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav a,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav__plain,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav__trigger {
  color: #333333;
}

html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav a:hover,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav a.is-active,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav__trigger:hover,
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav__trigger.is-active {
  color: #e60000;
}

html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav:has(a:hover) a.is-active:not(:hover),
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover),
html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled).is-mega-open .mb-nav a.is-active {
  color: #333333;
}

html[data-mb-theme="dark"] .mb-header--industries:not(.is-scrolled) .mb-menu-toggle span {
  background: #000000;
}

.mb-cta-card-section {
  padding: 1.5rem 0 4rem;
  background: transparent;
}

.mb-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem 2.25rem;
  border-radius: 12px;
  background: #111 url("../../../IMAGES/Below-banner.jpg") center / cover no-repeat;
  color: #ffffff;
}

.mb-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.mb-cta-card__content {
  position: relative;
  z-index: 1;
  flex: 1 1 320px;
  max-width: 640px;
}

.mb-cta-card__content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.mb-cta-card__content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.mb-cta-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mb-cta-card__actions .mb-btn--solid {
  background: #e60000;
  border-color: #e60000;
  color: #ffffff;
}

.mb-cta-card__actions .mb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.mb-cta-card__actions .mb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}

/* CTA banner on Solutions page — keep light text on dark image */
html[data-mb-theme="dark"] .mb-cta-card-section {
  background: transparent;
  padding-top: 2.5rem;
}

html[data-mb-theme="dark"] .mb-cta-card,
html[data-mb-theme="dark"] .mb-cta-card__content h3,
html[data-mb-theme="dark"] .mb-cta-card__actions .mb-btn--ghost {
  color: #ffffff;
}

html[data-mb-theme="dark"] .mb-cta-card__content p {
  color: rgba(255, 255, 255, 0.78);
}

html[data-mb-theme="dark"] .mb-cta-card__actions .mb-btn--solid {
  background: #e60000;
  border-color: #e60000;
  color: #ffffff;
}

/* Scrolled dark header: keep logo/nav white (vars remap in dark mode) */
html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-logo__brand,
html[data-mb-theme="dark"] .mb-header--dark.is-scrolled .mb-logo__brand,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-logo__brand,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-logo__brand {
  color: #ffffff;
}

html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-logo__brand span,
html[data-mb-theme="dark"] .mb-header--dark.is-scrolled .mb-logo__brand span,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-logo__brand span,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-logo__brand span {
  color: #e60000;
}

html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-logo__tag,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-logo__tag,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-logo__tag {
  color: rgba(255, 255, 255, 0.55);
}

html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-nav a,
html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-nav__plain,
html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-nav__trigger,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-nav a,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-nav__plain,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-nav__trigger,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-nav a,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-nav__plain,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-nav__trigger {
  color: rgba(255, 255, 255, 0.85);
}

html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-nav a.is-active,
html[data-mb-theme="dark"] .mb-header.is-scrolled .mb-nav a:hover,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-nav a.is-active,
html[data-mb-theme="dark"] .mb-header--industries.is-scrolled .mb-nav a:hover,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-nav a.is-active,
html[data-mb-theme="dark"] .mb-header--mega.is-scrolled .mb-nav a:hover {
  color: #ffffff;
}

/* Transparent header over banner: keep original light look */
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) {
  background: transparent;
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-logo__brand {
  color: #000000;
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-logo__brand span {
  color: var(--mb-red);
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-logo__tag,
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav a,
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav__plain,
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav__trigger {
  color: #333333;
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav a:hover,
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav a.is-active,
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav__trigger.is-current {
  color: var(--mb-red);
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav:has(a:hover) a.is-active:not(:hover),
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav:has(.mb-nav__trigger:hover) a.is-active:not(:hover),
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-nav:has(a:hover) .mb-nav__trigger.is-current:not(:hover):not(.is-active),
html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled).is-mega-open .mb-nav a.is-active {
  color: #333333;
}

html[data-mb-theme="dark"] .mb-header--light:not(.is-scrolled) .mb-menu-toggle span {
  background: #000000;
}

html[data-mb-theme="dark"] .mb-footer,
html[data-mb-theme="dark"] .mb-philosophy {
  --mb-black: #000000;
  --mb-white: #ffffff;
  --mb-gray-600: #666666;
}

html[data-mb-theme="dark"] .mb-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.75);
}

html[data-mb-theme="dark"] .mb-carousel-btn--light {
  background: var(--mb-surface);
  border-color: var(--mb-border);
  color: var(--mb-page-text);
}

@media (max-width: 768px) {
  .mb-side-rail {
    top: auto;
    bottom: 0.85rem;
    right: 0;
    transform: none;
    flex-direction: row;
    border-radius: 12px 0 0 12px;
    padding: 0.35rem 0.3rem;
    gap: 0.2rem;
  }

  .mb-side-rail__btn,
  .mb-theme-toggle {
    width: 38px;
    height: 38px;
  }

  .mb-side-rail__avatar {
    width: 28px;
    height: 28px;
  }

  .mb-side-rail__tip {
    display: none;
  }

  .mb-modal__panel {
    padding: 1.35rem 1.15rem 1.15rem;
  }
}

/* —— Book Demo / Contact Sales modals —— */
body.mb-modal-open {
  overflow: hidden;
}

.mb-modal[hidden] {
  display: none !important;
}

.mb-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.mb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.mb-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color: #111;
}

.mb-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mb-modal__close svg {
  width: 18px;
  height: 18px;
}

.mb-modal__close:hover {
  color: #e60000;
  background: rgba(230, 0, 0, 0.08);
}

.mb-modal__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  padding-right: 1.75rem;
}

.mb-modal__badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e60000;
  background: #fde8e8;
}

.mb-modal__badge--chat {
  background: #e60000;
  color: #ffffff;
}

.mb-modal__badge svg {
  width: 20px;
  height: 20px;
}

.mb-modal__head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.mb-modal__lead {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #666;
}

.mb-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mb-modal__field {
  position: relative;
  display: block;
}

.mb-modal__field-icon {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 18px;
  height: 18px;
  color: #999;
  pointer-events: none;
}

.mb-modal__field-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mb-modal__field input,
.mb-modal__field select,
.mb-modal__field textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 0.9rem;
  color: #111;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 0.8rem 0.9rem 0.8rem 2.55rem;
  appearance: none;
}

.mb-modal__field--select select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.mb-modal__field--area .mb-modal__field-icon {
  top: 0.9rem;
}

.mb-modal__field textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

.mb-modal__field input:focus,
.mb-modal__field select:focus,
.mb-modal__field textarea:focus {
  outline: none;
  border-color: #e60000;
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.12);
}

.mb-modal__submit {
  margin-top: 0.35rem;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #e60000;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mb-modal__submit:hover {
  background: #c40000;
}

.mb-modal__note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: #999;
}

.mb-modal__note.is-success {
  color: #2e7d32;
  font-weight: 600;
}

html[data-mb-theme="dark"] .mb-modal__panel {
  background: #141414;
  color: #f2f2f2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

html[data-mb-theme="dark"] .mb-modal__head h2 {
  color: #f2f2f2;
}

html[data-mb-theme="dark"] .mb-modal__lead,
html[data-mb-theme="dark"] .mb-modal__note {
  color: #b0b0b0;
}

html[data-mb-theme="dark"] .mb-modal__field input,
html[data-mb-theme="dark"] .mb-modal__field select,
html[data-mb-theme="dark"] .mb-modal__field textarea {
  background: #1a1a1a;
  border-color: #2a2a2a;
  color: #f2f2f2;
}

html[data-mb-theme="dark"] .mb-modal__close {
  color: #b0b0b0;
}

.mb-toast-region {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.mb-toast,
.mb-alert {
  pointer-events: auto;
  max-width: 22rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.mb-alert--error,
.mb-toast--error { background: #b30000; }
.mb-alert--success,
.mb-toast--success { background: #1b7a3a; }
.mb-alert--info,
.mb-toast--info { background: #1a1a1a; }