/* =========================================================================
   MicroOpex — modern UI layer
   Loaded AFTER assets/css/style.css so it wins the cascade without !important
   in most places. New components are namespaced `mo-` to avoid collisions
   with the legacy theme.
   ========================================================================= */

:root {
  --mo-navy-900: #071a33;
  --mo-navy-800: #0b2545;
  --mo-navy-700: #123763;
  --mo-blue-600: #1763d6;
  --mo-blue-500: #2e7cf6;
  --mo-blue-100: #e6efff;
  --mo-cyan: #00b4d8;

  --mo-ink: #0f172a;
  --mo-body: #4a5a70;
  --mo-muted: #7c8ba1;
  --mo-line: #e4eaf2;
  --mo-grey-50: #f6f8fc;
  --mo-grey-100: #eef2f8;
  --mo-white: #ffffff;

  --mo-green: #25d366;

  --mo-radius: 16px;
  --mo-radius-sm: 10px;
  --mo-shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --mo-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --mo-shadow-lg: 0 22px 50px rgba(11, 37, 69, 0.14);

  --mo-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --mo-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mo-font-head: 'Poppins', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --mo-header-h: 82px;
}

/* ---------------------------------------------------------------- base --- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mo-header-h) + 20px);
}

body {
  font-family: var(--mo-font);
  color: var(--mo-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--mo-white);
}

h1, h2, h3, h4, h5, h6,
.title, .footer-widget-title {
  font-family: var(--mo-font-head);
  color: var(--mo-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-weight: 700;
}

p { color: var(--mo-body); }

a { transition: color 0.25s var(--mo-ease); }

::selection { background: var(--mo-blue-600); color: #fff; }

/* Legacy section titles, modernised */
.section-title .title,
.section-title2 .title,
.section-title3 .title {
  font-family: var(--mo-font-head);
  letter-spacing: -0.025em;
}

.section-title.text-center .title,
.section-title3.text-center .title {
  font-size: clamp(28px, 3.6vw, 42px);
}

/* ------------------------------------------------------- shared helpers --- */

.mo-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*
 * The legacy theme floats every `.section` block (float: left; width: 100%).
 * Our new sections use overflow:hidden, which makes them block formatting
 * context roots — and a BFC root placed beside a float shrinks to avoid it,
 * collapsing to zero width. Clearing floats keeps them full-bleed.
 */
.mo-hero,
.mo-section,
.mo-cta {
  clear: both;
  width: 100%;
}

.mo-section {
  padding: clamp(60px, 8vw, 104px) 0;
}

.mo-section--grey {
  background:
    radial-gradient(1100px 460px at 12% -10%, #eaf1fd 0%, transparent 60%),
    var(--mo-grey-50);
}

.mo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--mo-blue-100);
  color: var(--mo-blue-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.mo-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mo-blue-600);
}

.mo-head {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 60px);
  text-align: center;
}

.mo-head h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  margin: 0 0 16px;
}

.mo-head p {
  font-size: 17px;
  margin: 0;
  color: var(--mo-body);
}

.mo-head--light h2 { color: #fff; }
.mo-head--light p { color: rgba(255, 255, 255, 0.78); }

/* ------------------------------------------------------------- buttons --- */

.mo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--mo-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--mo-ease), box-shadow 0.25s var(--mo-ease),
    background 0.25s var(--mo-ease), color 0.25s var(--mo-ease),
    border-color 0.25s var(--mo-ease);
}

.mo-btn svg { width: 18px; height: 18px; flex: none; }

.mo-btn--primary {
  background: linear-gradient(135deg, var(--mo-blue-600), var(--mo-blue-500));
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 99, 214, 0.28);
}

.mo-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 99, 214, 0.38);
}

.mo-btn--ghost {
  background: transparent;
  color: var(--mo-navy-800);
  border-color: var(--mo-line);
}

.mo-btn--ghost:hover {
  color: var(--mo-blue-600);
  border-color: var(--mo-blue-500);
  background: var(--mo-blue-100);
  transform: translateY(-2px);
}

.mo-btn--light {
  background: #fff;
  color: var(--mo-navy-800);
}

.mo-btn--light:hover {
  color: var(--mo-blue-600);
  transform: translateY(-2px);
  box-shadow: var(--mo-shadow);
}

.mo-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.mo-btn--outline-light:hover {
  color: var(--mo-navy-800);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.mo-btn--whatsapp {
  background: var(--mo-green);
  color: #05320f;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.mo-btn--whatsapp:hover {
  color: #05320f;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.42);
}

/* Legacy .btn used across the inner service pages */
.btn,
.btn-2 {
  font-family: var(--mo-font);
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.25s var(--mo-ease), box-shadow 0.25s var(--mo-ease),
    background 0.25s var(--mo-ease);
}

.btn:hover,
.btn-2:hover {
  transform: translateY(-2px);
  box-shadow: var(--mo-shadow);
}

/* ================================================================ HEADER === */

.mo-topbar {
  background: var(--mo-navy-800);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.mo-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 6px 0;
}

.mo-topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.mo-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.mo-topbar a:hover { color: #fff; }

.mo-topbar svg { width: 15px; height: 15px; opacity: 0.85; }

.mo-topbar__social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-topbar__social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s var(--mo-ease), transform 0.25s var(--mo-ease);
}

.mo-topbar__social a:hover {
  background: var(--mo-blue-600);
  transform: translateY(-2px);
}

.mo-topbar__social svg { width: 14px; height: 14px; opacity: 1; }

/* --- sticky nav --- */

.mo-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--mo-line);
  transition: box-shadow 0.3s var(--mo-ease), background 0.3s var(--mo-ease);
}

.mo-header.is-stuck {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(11, 37, 69, 0.1);
}

.mo-header__inner {
  position: relative; /* anchors the mega-menu panels */
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--mo-header-h);
}

.mo-logo { display: inline-flex; align-items: center; flex: none; }

.mo-logo img {
  height: 54px;
  width: auto;
  display: block;
  transition: height 0.3s var(--mo-ease);
}

.mo-header.is-stuck .mo-logo img { height: 46px; }

.mo-nav { margin-left: auto; }

.mo-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-nav__item { position: relative; }

.mo-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--mo-radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--mo-navy-800);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mo-font);
}

.mo-nav__link:hover,
.mo-nav__item:hover > .mo-nav__link,
.mo-nav__link.is-active {
  color: var(--mo-blue-600);
  background: var(--mo-blue-100);
}

.mo-nav__caret {
  width: 10px;
  height: 10px;
  transition: transform 0.25s var(--mo-ease);
}

.mo-nav__item:hover .mo-nav__caret { transform: rotate(180deg); }

/* ---------------------------------------------------------- mega menu --- */

/*
 * The panel is anchored to the header row rather than to the individual nav
 * item (which is why the item goes position:static). That keeps a wide panel
 * centred and stops it running off the right edge under "Cloud".
 * `top: 100%` with padding-top gives a hover bridge without a dead gap.
 */
.mo-nav__item.has-mega { position: static; }

.mo-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  width: min(860px, calc(100vw - 40px));
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.25s var(--mo-ease), transform 0.25s var(--mo-ease),
    visibility 0.25s var(--mo-ease);
}

.mo-mega--narrow { width: min(560px, calc(100vw - 40px)); }
.mo-mega--wide { width: min(1060px, calc(100vw - 40px)); }

.mo-nav__item:hover > .mo-mega,
.mo-nav__item:focus-within > .mo-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mo-mega__inner {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: 18px;
  box-shadow: var(--mo-shadow-lg);
}

.mo-mega__tagline {
  margin: 0 0 16px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mo-muted);
}

.mo-mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.mo-mega--narrow .mo-mega__grid { grid-template-columns: 1fr; }

/* Compact variant: many categories, so icon + label only, three across */
.mo-mega__grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mo-mega__grid--compact .mo-mega__item { padding: 10px 12px; gap: 12px; align-items: center; }
.mo-mega__grid--compact .mo-mega__icon { width: 36px; height: 36px; border-radius: 10px; }
.mo-mega__grid--compact .mo-mega__icon svg { width: 18px; height: 18px; }
.mo-mega__grid--compact .mo-mega__text strong { margin-bottom: 1px; }
.mo-mega__grid--compact .mo-mega__text small { font-size: 11.5px; }

/* Category accent, when the entry carries one */
.mo-mega__item[style*='--mo-accent'] .mo-mega__icon {
  color: var(--mo-accent);
  background: color-mix(in srgb, var(--mo-accent) 12%, #fff);
}

.mo-mega__item[style*='--mo-accent']:hover .mo-mega__icon {
  background: var(--mo-accent);
  color: #fff;
}

.mo-mega__item[style*='--mo-accent']:hover .mo-mega__text strong { color: var(--mo-accent); }

.mo-mega__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mo-blue-600);
  text-decoration: none;
  font-weight: 600;
}

.mo-mega__all svg { width: 15px; height: 15px; transition: transform 0.25s var(--mo-ease); }
.mo-mega__all:hover svg { transform: translateX(4px); }

.mo-mega__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.22s var(--mo-ease), border-color 0.22s var(--mo-ease),
    transform 0.22s var(--mo-ease);
}

.mo-mega__item:hover {
  background: var(--mo-grey-50);
  border-color: var(--mo-line);
  transform: translateX(3px);
}

.mo-mega__icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--mo-blue-600);
  background: var(--mo-blue-100);
  transition: background 0.22s var(--mo-ease), color 0.22s var(--mo-ease);
}

.mo-mega__icon svg { width: 20px; height: 20px; }

.mo-mega__item:hover .mo-mega__icon {
  background: var(--mo-blue-600);
  color: #fff;
}

.mo-mega__text { display: block; min-width: 0; }

.mo-mega__text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--mo-ink);
  line-height: 1.35;
  margin-bottom: 3px;
}

.mo-mega__item:hover .mo-mega__text strong { color: var(--mo-blue-600); }

.mo-mega__text small {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mo-muted);
  font-weight: 400;
}

.mo-mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 14px 4px;
  border-top: 1px solid var(--mo-line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mo-ink);
}

.mo-mega__foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mo-mega__foot .mo-btn { padding: 11px 20px; font-size: 14px; }

.mo-header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.mo-header__call {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.mo-header__call-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mo-blue-100);
  color: var(--mo-blue-600);
  transition: background 0.25s var(--mo-ease), color 0.25s var(--mo-ease),
    transform 0.25s var(--mo-ease);
}

.mo-header__call-icon svg { width: 18px; height: 18px; }

.mo-header__call:hover .mo-header__call-icon {
  background: var(--mo-blue-600);
  color: #fff;
  transform: scale(1.06);
}

.mo-header__call-text { display: flex; flex-direction: column; line-height: 1.25; }
.mo-header__call-text small { font-size: 11.5px; color: var(--mo-muted); font-weight: 500; }
.mo-header__call-text strong { font-size: 15px; color: var(--mo-navy-800); font-weight: 700; }

.mo-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--mo-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.mo-burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2.5px auto;
  border-radius: 2px;
  background: var(--mo-navy-800);
  transition: transform 0.3s var(--mo-ease), opacity 0.2s var(--mo-ease);
}

.mo-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.mo-burger.is-open span:nth-child(2) { opacity: 0; }
.mo-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --- mobile drawer --- */

.mo-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 51, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--mo-ease), visibility 0.3s var(--mo-ease);
  z-index: 1098;
}

.mo-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.mo-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 1099;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s var(--mo-ease);
  box-shadow: -20px 0 50px rgba(11, 37, 69, 0.18);
}

.mo-drawer.is-open { transform: translateX(0); }

.mo-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--mo-line);
}

.mo-drawer__head img { height: 44px; width: auto; }

.mo-drawer__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mo-line);
  border-radius: 10px;
  background: #fff;
  color: var(--mo-navy-800);
  cursor: pointer;
}

.mo-drawer__close svg { width: 16px; height: 16px; }

.mo-drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px 26px; }

.mo-drawer__list { list-style: none; margin: 0; padding: 0; }

.mo-drawer__list > li { border-bottom: 1px solid var(--mo-grey-100); }

.mo-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--mo-font);
  color: var(--mo-navy-800);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.mo-drawer__link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--mo-ease);
  flex: none;
}

.mo-drawer__link.is-open { color: var(--mo-blue-600); }
.mo-drawer__link.is-open svg { transform: rotate(180deg); }

.mo-drawer__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--mo-ease);
}

.mo-drawer__sub.is-open { max-height: 520px; }

.mo-drawer__sub a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 10px 11px 14px;
  text-decoration: none;
  border-left: 2px solid var(--mo-line);
  margin-bottom: 2px;
  transition: border-left-color 0.22s var(--mo-ease), background 0.22s var(--mo-ease);
}

.mo-drawer__sub a:hover {
  border-left-color: var(--mo-blue-500);
  background: var(--mo-grey-50);
}

.mo-drawer__sub-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--mo-blue-600);
  background: var(--mo-blue-100);
}

.mo-drawer__sub-icon svg { width: 17px; height: 17px; }

.mo-drawer__sub a strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mo-navy-800);
  line-height: 1.35;
}

.mo-drawer__sub a small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mo-muted);
}

.mo-drawer__sub.is-open { max-height: 900px; }

.mo-drawer__foot {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-top: 1px solid var(--mo-line);
  background: var(--mo-grey-50);
}

.mo-drawer__foot .mo-btn { width: 100%; }

/* ================================================================== HERO === */

.mo-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 84% 6%, rgba(46, 124, 246, 0.45) 0%, transparent 62%),
    radial-gradient(760px 460px at 4% 92%, rgba(0, 180, 216, 0.28) 0%, transparent 60%),
    linear-gradient(135deg, var(--mo-navy-900) 0%, var(--mo-navy-800) 52%, var(--mo-navy-700) 100%);
}

/* faint engineering grid */
.mo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}

.mo-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
  /* padding-block only — the horizontal padding comes from .mo-container */
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(60px, 7vw, 104px);
}

.mo-hero .mo-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #bcd6ff;
}

.mo-hero .mo-eyebrow::before { background: var(--mo-cyan); }

.mo-hero__title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
}

.mo-hero__title span {
  background: linear-gradient(100deg, #6fb1ff, var(--mo-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mo-hero__lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 620px;
  margin: 0 0 30px;
}

.mo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.mo-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mo-hero__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.mo-hero__points li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.mo-hero__visual { position: relative; }

.mo-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  animation: mo-float 6.5s ease-in-out infinite;
}

@keyframes mo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.mo-hero__card {
  position: absolute;
  left: -6px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.mo-hero__card b { display: block; font-size: 19px; color: #fff; line-height: 1.2; }
.mo-hero__card span { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }

.mo-hero__card-ico {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(0, 180, 216, 0.18);
  color: var(--mo-cyan);
}

.mo-hero__card-ico svg { width: 19px; height: 19px; }

/* ============================================================ SERVICES === */

.mo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.mo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  box-shadow: var(--mo-shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--mo-ease), box-shadow 0.35s var(--mo-ease),
    border-color 0.35s var(--mo-ease);
}

.mo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(23, 99, 214, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--mo-ease);
}

.mo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mo-shadow-lg);
  border-color: rgba(23, 99, 214, 0.35);
}

.mo-card:hover::before { opacity: 1; }

.mo-card > * { position: relative; z-index: 1; }

.mo-card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--mo-blue-100), #f2f7ff);
  border: 1px solid rgba(23, 99, 214, 0.14);
  transition: transform 0.4s var(--mo-ease);
}

.mo-card__icon img { width: 32px; height: 32px; object-fit: contain; }

.mo-card__icon--svg { color: var(--mo-blue-600); }
.mo-card__icon--svg svg { width: 30px; height: 30px; }

/*
 * Wide logo bar for vendor wordmarks. A square icon tile crushes logos like
 * "aws" or "Google Cloud" into an unreadable smudge, so these get a wide,
 * fixed-height plate and scale to fit inside it.
 */
.mo-card__logo {
  display: flex;
  align-items: center;
  height: 74px;
  margin-bottom: 22px;
  padding: 14px 20px;
  border-radius: 14px;
  /* Flat white, not a gradient: the Google Cloud asset carries a baked-in
     white background, which would show as a rectangle over a tinted plate. */
  background: #fff;
  border: 1px solid var(--mo-line);
  transition: transform 0.4s var(--mo-ease), border-color 0.4s var(--mo-ease),
    box-shadow 0.4s var(--mo-ease);
}

.mo-card__logo img {
  max-height: 42px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mo-card:hover .mo-card__logo {
  transform: translateY(-3px);
  border-color: rgba(23, 99, 214, 0.35);
  box-shadow: var(--mo-shadow-sm);
}

.mo-card:hover .mo-card__icon { transform: translateY(-3px) scale(1.06); }

.mo-card__title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mo-card__title a { color: var(--mo-ink); text-decoration: none; }
.mo-card:hover .mo-card__title a { color: var(--mo-blue-600); }

.mo-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; }

.mo-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mo-blue-600);
  text-decoration: none;
}

.mo-card__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--mo-ease); }
.mo-card__link:hover svg { transform: translateX(4px); }

/* Prompt card that closes out the services grid */
.mo-card--cta {
  justify-content: center;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(23, 99, 214, 0.1), transparent 60%),
    var(--mo-blue-100);
  border-color: rgba(23, 99, 214, 0.22);
}

.mo-card--cta .mo-btn { align-self: flex-start; margin-top: 6px; }

/* Sub-heading that introduces a secondary grid inside a section */
.mo-subhead {
  margin: 56px 0 28px;
  padding-top: 34px;
  border-top: 1px solid var(--mo-line);
  text-align: center;
}

.mo-subhead h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
}

.mo-subhead p { margin: 0; font-size: 15.5px; }

/* ------------------------------------------------- capability category --- */

.mo-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mo-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  box-shadow: var(--mo-shadow-sm);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--mo-ease), box-shadow 0.35s var(--mo-ease),
    border-color 0.35s var(--mo-ease);
}

.mo-cat::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--mo-accent, var(--mo-blue-600));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--mo-ease);
}

.mo-cat:hover {
  transform: translateY(-8px);
  box-shadow: var(--mo-shadow-lg);
  border-color: transparent;
}

.mo-cat:hover::before { transform: scaleY(1); }

.mo-cat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mo-cat__icon {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--mo-accent, var(--mo-blue-600));
  background: color-mix(in srgb, var(--mo-accent, #1763d6) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--mo-accent, #1763d6) 22%, #fff);
  transition: transform 0.4s var(--mo-ease), background 0.4s var(--mo-ease),
    color 0.4s var(--mo-ease);
}

.mo-cat__icon svg { width: 26px; height: 26px; }

.mo-cat:hover .mo-cat__icon {
  transform: translateY(-2px) scale(1.06);
  background: var(--mo-accent, var(--mo-blue-600));
  color: #fff;
}

.mo-cat__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mo-muted);
  white-space: nowrap;
}

.mo-cat__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--mo-ink);
  letter-spacing: -0.015em;
}

.mo-cat:hover .mo-cat__title { color: var(--mo-accent, var(--mo-blue-600)); }

.mo-cat__blurb { margin: 0; font-size: 14.5px; line-height: 1.65; }

.mo-cat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mo-cat__tags li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--mo-grey-50);
  border: 1px solid var(--mo-line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mo-body);
}

.mo-cat__more {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mo-accent, var(--mo-blue-600));
}

.mo-cat__more svg { width: 15px; height: 15px; transition: transform 0.25s var(--mo-ease); }
.mo-cat:hover .mo-cat__more svg { transform: translateX(4px); }

/* --------------------------------------------- full catalogue (/services) */

.mo-cat-detail {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  box-shadow: var(--mo-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--mo-ease), border-color 0.35s var(--mo-ease);
}

.mo-cat-detail + .mo-cat-detail { margin-top: 26px; }

.mo-cat-detail::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--mo-accent, var(--mo-blue-600));
  opacity: 0.85;
}

.mo-cat-detail:hover {
  box-shadow: var(--mo-shadow);
  border-color: color-mix(in srgb, var(--mo-accent, #1763d6) 45%, #fff);
}

.mo-cat-detail__head { display: flex; flex-direction: column; gap: 14px; }

.mo-cat-detail__title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mo-ink);
}

.mo-cat-detail__blurb { margin: 0; font-size: 14.5px; line-height: 1.7; }

.mo-cat-detail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}

.mo-cat-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mo-ink);
  background: var(--mo-grey-50);
  border: 1px solid transparent;
  transition: background 0.25s var(--mo-ease), border-color 0.25s var(--mo-ease),
    transform 0.25s var(--mo-ease);
}

.mo-cat-detail__list li:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--mo-accent, #1763d6) 40%, #fff);
  transform: translateX(4px);
}

.mo-cat-detail__list li::before {
  content: '';
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--mo-accent, #1763d6) 14%, #fff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

/* ------------------------------------------------------------ why grid --- */

.mo-why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }

.mo-why__intro h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }
.mo-why__intro p { font-size: 16.5px; margin: 0 0 26px; }

.mo-why__list { display: grid; gap: 18px; }

.mo-why__item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  transition: transform 0.3s var(--mo-ease), box-shadow 0.3s var(--mo-ease),
    border-color 0.3s var(--mo-ease);
}

.mo-why__item:hover {
  transform: translateX(6px);
  box-shadow: var(--mo-shadow);
  border-color: rgba(23, 99, 214, 0.35);
}

.mo-why__num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--mo-font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--mo-blue-600);
  background: var(--mo-blue-100);
  transition: background 0.3s var(--mo-ease), color 0.3s var(--mo-ease);
}

.mo-why__item:hover .mo-why__num { background: var(--mo-blue-600); color: #fff; }

.mo-why__item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.mo-why__item p { margin: 0; font-size: 14.5px; line-height: 1.65; }

/* ======================================================== PARTNERS GRID === */

.mo-partners { position: relative; overflow: hidden; }

.mo-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mo-partner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  box-shadow: var(--mo-shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--mo-ease), box-shadow 0.35s var(--mo-ease),
    border-color 0.35s var(--mo-ease);
}

/* accent wash that grows on hover — driven by each card's --mo-accent */
.mo-partner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mo-accent, var(--mo-blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--mo-ease);
}

.mo-partner::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--mo-accent, var(--mo-blue-600));
  opacity: 0;
  transition: opacity 0.45s var(--mo-ease), transform 0.45s var(--mo-ease);
  transform: scale(0.6);
  filter: blur(28px);
  pointer-events: none;
}

.mo-partner:hover {
  transform: translateY(-8px);
  box-shadow: var(--mo-shadow-lg);
  border-color: transparent;
}

.mo-partner:hover::before { transform: scaleX(1); }
.mo-partner:hover::after { opacity: 0.16; transform: scale(1); }

.mo-partner__logo {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mo-grey-50);
  border: 1px solid var(--mo-line);
  transition: transform 0.4s var(--mo-ease), background 0.4s var(--mo-ease),
    border-color 0.4s var(--mo-ease);
}

.mo-partner__logo svg { width: 34px; height: 34px; display: block; }

.mo-partner:hover .mo-partner__logo {
  transform: translateY(-2px) scale(1.06) rotate(-3deg);
  background: #fff;
  border-color: var(--mo-accent, var(--mo-blue-600));
}

.mo-partner__body { position: relative; z-index: 1; }

.mo-partner__name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mo-ink);
  letter-spacing: -0.015em;
}

.mo-partner__cat {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mo-accent, var(--mo-blue-600));
}

.mo-partner__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mo-body);
}

.mo-partners__note {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  padding: 24px 28px;
  border-radius: var(--mo-radius);
  background: #fff;
  border: 1px dashed var(--mo-line);
  text-align: center;
}

.mo-partners__note p { margin: 0; font-size: 15.5px; }
.mo-partners__note strong { color: var(--mo-ink); }

/* ====================================================== ARTICLE LAYOUT === */

/* reading progress */
.mo-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1200;
  background: transparent;
  pointer-events: none;
}

.mo-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mo-blue-500), var(--mo-cyan));
  transition: width 0.12s linear;
}

.mo-article-hero {
  position: relative;
  overflow: hidden;
  clear: both;
  color: #fff;
  padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(46, 124, 246, 0.42) 0%, transparent 62%),
    radial-gradient(700px 380px at 2% 100%, rgba(0, 180, 216, 0.24) 0%, transparent 60%),
    linear-gradient(130deg, var(--mo-navy-900), var(--mo-navy-700));
}

.mo-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 30% 30%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000, transparent 76%);
}

.mo-article-hero > .mo-container { position: relative; z-index: 1; }

.mo-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.mo-crumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.mo-crumb a:hover { color: #fff; }

.mo-article-hero .mo-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #bcd6ff;
}

.mo-article-hero .mo-eyebrow::before { background: var(--mo-cyan); }

.mo-article-hero__title {
  max-width: 17ch;
  margin: 0 0 20px;
  font-size: clamp(31px, 4.6vw, 54px);
  line-height: 1.12;
  color: #fff;
}

.mo-article-hero__lead {
  max-width: 62ch;
  margin: 0 0 26px;
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.mo-article-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }

.mo-chip {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mo-article-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- shell: sticky rail + article measure --- */

.mo-article-shell {
  clear: both;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(44px, 5vw, 72px);
}

.mo-rail { position: sticky; top: calc(var(--mo-header-h) + 24px); display: grid; gap: 22px; }

.mo-toc {
  padding: 22px 20px;
  border: 1px solid var(--mo-line);
  border-radius: var(--mo-radius);
  background: var(--mo-grey-50);
}

.mo-toc__title {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mo-muted);
}

.mo-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.mo-toc a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid var(--mo-line);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mo-body);
  text-decoration: none;
  transition: color 0.2s var(--mo-ease), border-color 0.2s var(--mo-ease),
    background 0.2s var(--mo-ease);
}

.mo-toc a:hover { color: var(--mo-blue-600); background: #fff; }

.mo-toc a.is-active {
  color: var(--mo-blue-600);
  border-left-color: var(--mo-blue-600);
  background: #fff;
  font-weight: 600;
}

.mo-rail__card .mo-inquiry { padding: 24px 22px; }
.mo-rail__card .mo-inquiry h3 { font-size: 19px; }
.mo-rail__card .mo-inquiry p { font-size: 14.5px; margin-bottom: 18px; }
.mo-rail__card .mo-inquiry .mo-btn { width: 100%; }

/* --- the article body itself --- */

.mo-article { max-width: 760px; }

.mo-article p {
  font-size: 17.5px;
  line-height: 1.85;
  color: #3f4f66;
  margin: 0 0 24px;
  text-align: left !important; /* legacy pages hard-code justify, which rivers badly */
}

/* opening paragraph reads as a standfirst */
.mo-article .row:first-of-type h3 + p,
.mo-article > p:first-of-type {
  font-size: 19px;
  line-height: 1.75;
  color: var(--mo-ink);
}

.mo-article h2,
.mo-article h3 {
  position: relative;
  margin: 52px 0 18px;
  padding-top: 4px;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--mo-ink);
  scroll-margin-top: calc(var(--mo-header-h) + 28px);
}

.mo-article h2::before,
.mo-article h3::before {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mo-blue-600), var(--mo-cyan));
}

.mo-article h6 { font-size: 17px; margin: 0 0 8px; }

.mo-article a { color: var(--mo-blue-600); font-weight: 500; }
.mo-article a:hover { text-decoration: underline; }

.mo-article b, .mo-article strong { color: var(--mo-ink); font-weight: 650; }

/*
 * Legacy pages lay content out in bootstrap half-columns. Inside a ~760px
 * article measure that leaves 350px columns, so everything goes full width
 * and stacks — which is what makes it read like an article.
 */
.mo-article .row { margin-left: 0; margin-right: 0; }

.mo-article .row > [class*='col-'] {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* images become full-bleed figures */
.mo-article .box-top {
  margin: 8px 0 34px;
  padding: 26px;
  border-radius: var(--mo-radius);
  background: linear-gradient(150deg, var(--mo-grey-100), var(--mo-grey-50));
  border: 1px solid var(--mo-line);
}

.mo-article .box-top img {
  width: auto !important;
  max-width: 100%;
  max-height: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* key-point lists become cards instead of bullet runs */
.mo-article ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mo-article ul > li {
  position: relative;
  padding: 18px 20px 18px 54px;
  border-radius: 14px;
  background: var(--mo-grey-50);
  border: 1px solid var(--mo-line);
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f66;
  transition: transform 0.25s var(--mo-ease), border-color 0.25s var(--mo-ease),
    background 0.25s var(--mo-ease);
}

.mo-article ul > li:hover {
  transform: translateX(4px);
  background: #fff;
  border-color: rgba(23, 99, 214, 0.32);
}

.mo-article ul > li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mo-blue-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231763d6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/*
 * The cloud pages use FeatureTabs, whose tab strip is also a <ul>. Keep it out
 * of the list-card styling above and give it a segmented-control look instead.
 */
.mo-article ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 26px;
  padding: 6px;
  background: var(--mo-grey-50);
  border: 1px solid var(--mo-line);
  border-radius: 14px;
}

.mo-article ul.tabs > li {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 14.5px;
  text-align: center;
  color: var(--mo-body);
}

.mo-article ul.tabs > li::before { content: none; }
.mo-article ul.tabs > li:hover { transform: none; background: #fff; border-color: var(--mo-line); }
.mo-article ul.tabs > li b { font-weight: 600; color: inherit; display: inline; margin: 0; font-size: inherit; }

.mo-article ul.tabs > li.current {
  background: var(--mo-blue-600);
  color: #fff;
  box-shadow: 0 6px 16px rgba(23, 99, 214, 0.28);
}

.mo-article ul.tabs > li.current b { color: #fff; }

/* Those pages also emit bare <li> inside the tab panels — same card treatment */
.mo-article .tab-content > li {
  display: block;
  position: relative;
  margin-bottom: 12px;
  padding: 18px 20px 18px 54px;
  border-radius: 14px;
  background: var(--mo-grey-50);
  border: 1px solid var(--mo-line);
  font-size: 16px;
  line-height: 1.7;
  color: #3f4f66;
}

.mo-article .tab-content > li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mo-blue-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231763d6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* the tabs widget ships its own bootstrap container — neutralise it in here */
.mo-article .features,
.mo-article .features .container,
.mo-article .features .container1,
.mo-article .features .fourtab {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* a leading <b> in a list item reads as the point's title */
.mo-article ul > li > b:first-child,
.mo-article ul > li > strong:first-child {
  display: block;
  margin-bottom: 4px;
  font-size: 16.5px;
  color: var(--mo-ink);
}

/*
 * The cloud pages use a legacy `.rown / .columnn.ridge` layout with fixed
 * widths and ridge borders. It falls apart at article width, so rebuild it as
 * a plain card grid.
 */
.mo-article .rown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 8px 0 36px;
}

.mo-article .rown .columnn {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid var(--mo-line) !important;
  border-radius: var(--mo-radius);
  background: #fff;
  box-shadow: var(--mo-shadow-sm);
  transition: transform 0.3s var(--mo-ease), box-shadow 0.3s var(--mo-ease),
    border-color 0.3s var(--mo-ease);
}

.mo-article .rown .columnn:hover {
  transform: translateY(-5px);
  box-shadow: var(--mo-shadow);
  border-color: rgba(23, 99, 214, 0.3) !important;
}

.mo-article .rown .columnn h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mo-article .rown .columnn h4 img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  flex: none;
}

.mo-article .rown .columnn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

/* the four "why us" boxes stay a card grid */
.mo-article .three-box-ser { margin: 44px 0; }

.mo-article .three-box-ser .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mo-article .three-box-ser .row > [class*='col-'] { max-width: none; }

.mo-article .three-box-ser .box {
  height: 100%;
  padding: 26px 24px;
  border-radius: var(--mo-radius);
  background: #fff;
  border: 1px solid var(--mo-line);
  box-shadow: var(--mo-shadow-sm);
  text-align: left;
  transition: transform 0.3s var(--mo-ease), box-shadow 0.3s var(--mo-ease),
    border-color 0.3s var(--mo-ease);
}

.mo-article .three-box-ser .box:hover {
  transform: translateY(-6px);
  box-shadow: var(--mo-shadow);
  border-color: rgba(23, 99, 214, 0.3);
}

.mo-article .three-box-ser .box img {
  width: 46px !important;
  height: 46px;
  object-fit: contain;
  margin: 0 0 16px;
}

.mo-article .three-box-ser .box p { font-size: 15px; line-height: 1.65; margin: 0; }

/*
 * The legacy copy separates paragraphs with <br /><br /> inside a single <p>.
 * Hiding the second <br> welds the text into a wall, so instead give it real
 * paragraph spacing.
 */
.mo-article p br + br {
  display: block;
  content: '';
  margin-top: 17px;
}

@media (max-width: 1100px) {
  .mo-article-shell { grid-template-columns: 1fr; gap: 34px; }
  .mo-rail { position: static; order: 2; }
  .mo-article { order: 1; max-width: none; }
  .mo-toc { display: none; }
}

@media (max-width: 767px) {
  .mo-article p { font-size: 16.5px; line-height: 1.8; }
  .mo-article .three-box-ser .row,
  .mo-article .rown { grid-template-columns: 1fr; }
  .mo-article ul > li { padding: 16px 16px 16px 48px; font-size: 15.5px; }
  .mo-article .box-top { padding: 16px; }
}

/* ========================================================= INQUIRY CARD === */

.mo-inquiry {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--mo-radius);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(23, 99, 214, 0.07), transparent 62%),
    #fff;
  border: 1px solid var(--mo-line);
  box-shadow: var(--mo-shadow);
  overflow: hidden;
}

.mo-inquiry::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mo-blue-600), var(--mo-cyan));
}

.mo-inquiry h3 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.4vw, 26px);
  letter-spacing: -0.02em;
}

.mo-inquiry p { margin: 0 0 24px; font-size: 15.5px; }

.mo-inquiry__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mo-inquiry__direct {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--mo-line);
  list-style: none;
}

.mo-inquiry__direct li { display: flex; align-items: center; gap: 12px; }

.mo-inquiry__direct .mo-ico {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mo-blue-100);
  color: var(--mo-blue-600);
}

.mo-inquiry__direct .mo-ico svg { width: 16px; height: 16px; }

.mo-inquiry__direct a {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--mo-ink);
  text-decoration: none;
}

.mo-inquiry__direct a:hover { color: var(--mo-blue-600); }

/* ============================================================= CTA BAND === */

.mo-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 88% 8%, rgba(46, 124, 246, 0.4) 0%, transparent 62%),
    radial-gradient(700px 340px at 6% 96%, rgba(0, 180, 216, 0.26) 0%, transparent 60%),
    linear-gradient(120deg, var(--mo-navy-900), var(--mo-navy-700));
  color: #fff;
}

.mo-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  /* padding-block only — the horizontal padding comes from .mo-container */
  padding-top: clamp(46px, 6vw, 72px);
  padding-bottom: clamp(46px, 6vw, 72px);
}

.mo-cta__text { max-width: 640px; }

.mo-cta__text h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 12px;
}

.mo-cta__text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin: 0;
}

.mo-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------- floating WhatsApp --- */

.mo-float {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 990;
  display: grid;
  gap: 12px;
}

.mo-float a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(11, 37, 69, 0.24);
  transition: transform 0.28s var(--mo-ease), box-shadow 0.28s var(--mo-ease);
}

.mo-float a:hover { transform: translateY(-3px) scale(1.06); color: #fff; }

.mo-float svg { width: 26px; height: 26px; }

.mo-float__wa { background: var(--mo-green); }
.mo-float__call { background: var(--mo-blue-600); }

.mo-float__wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--mo-green);
  animation: mo-ping 2.2s var(--mo-ease) infinite;
}

.mo-float a { position: relative; }

@keyframes mo-ping {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ================================================================ FOOTER === */

.footer-section {
  background: linear-gradient(160deg, var(--mo-navy-900), var(--mo-navy-800)) !important;
  color: rgba(255, 255, 255, 0.72);
}

.footer-section p,
.footer-section .widget-link .link li a,
.footer-section .widget-info li .info-text span a,
.footer-section .widget-info li .info-text span {
  color: rgba(255, 255, 255, 0.72);
}

.footer-section .footer-widget-title {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.footer-section .footer-widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mo-blue-500), var(--mo-cyan));
}

.footer-section .widget-link .link li a:hover,
.footer-section .widget-info li .info-text span a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-section .widget-link .link li a,
.footer-section .widget-info li .info-text span a {
  transition: color 0.25s var(--mo-ease), padding-left 0.25s var(--mo-ease);
  display: inline-block;
}

.footer-section .copyright-social .social li a,
.footer-section .social li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s var(--mo-ease), transform 0.25s var(--mo-ease),
    color 0.25s var(--mo-ease);
}

.footer-section .copyright-social .social li a:hover,
.footer-section .social li a:hover {
  background: var(--mo-blue-600);
  color: #fff;
  transform: translateY(-3px);
}

.footer-section .footer-copyright-area {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.footer-section .copyright-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  margin: 0;
}

.mo-footer__logo img { height: 58px; width: auto; margin-bottom: 20px; }

.mo-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.mo-footer__contact li { display: flex; gap: 14px; align-items: flex-start; }

.mo-footer__contact .mo-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mo-blue-500);
}

.mo-footer__contact .mo-ico svg { width: 17px; height: 17px; }

.mo-footer__contact span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.mo-footer__contact a,
.mo-footer__contact p {
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
  line-height: 1.5;
}

.mo-footer__contact a:hover { color: var(--mo-blue-500); }

/* ------------------------------------------------------- legacy polish --- */

/* Home slider captions read better with a scrim on busy photos */
.slider-main .carousel-caption h5 {
  font-family: var(--mo-font-head);
  letter-spacing: -0.02em;
}

/* Client/partner logos stay in full colour — hover only scales them up. */
.our-client .logo-sw img,
.Brand-section .single-brand img {
  filter: none;
  opacity: 1;
  transition: transform 0.35s var(--mo-ease);
}

.our-client .logo-sw:hover img,
.Brand-section .single-brand:hover img {
  transform: scale(1.06);
}

.service-section-3 .service-item,
.blog-section .single-blog,
.contact-info-section .single-contact-info {
  border-radius: var(--mo-radius);
  transition: transform 0.35s var(--mo-ease), box-shadow 0.35s var(--mo-ease);
}

.service-section-3 .service-item:hover,
.blog-section .single-blog:hover {
  transform: translateY(-6px);
  box-shadow: var(--mo-shadow-lg);
}

/* Blog cards ship at their natural height and stagger — even them out. */
.blog-section .blog-content-wrap .row > [class*='col-'] {
  display: flex;
  margin-bottom: 30px;
}

.blog-section .single-blog {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-section .single-blog .blog-content { flex: 1 1 auto; }

.blog-section .blog-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.contact-info-section .single-contact-info {
  background: #fff;
  border: 1px solid var(--mo-line);
  box-shadow: var(--mo-shadow-sm);
  padding: 28px 26px;
  height: 100%;
}

.contact-info-section .single-contact-info:hover {
  transform: translateY(-5px);
  box-shadow: var(--mo-shadow);
  border-color: var(--mo-blue-500);
}

/* Equal-height cards with their CTAs pinned to the bottom edge */
.contact-info-section .contact-info-wrap .row > [class*='col-'] {
  display: flex;
  margin-bottom: 24px;
}

.contact-info-section .single-contact-info { width: 100%; }

.contact-info-section .single-contact-info .info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.contact-info-section .single-contact-info .info-content p { margin-bottom: 20px; }
.contact-info-section .single-contact-info .info-content .mo-btn { margin-top: auto; }

.page-banner-section {
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 26, 51, 0.88), rgba(18, 55, 99, 0.7));
}

.page-banner-section .container { position: relative; z-index: 1; }
.page-banner-section .page-banner .title { color: #fff; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1199px) {
  .mo-nav__link { padding: 10px 10px; font-size: 14.5px; }
  .mo-header__call-text { display: none; }
}

@media (max-width: 1100px) {
  .mo-partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mo-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mo-cat-detail { grid-template-columns: 1fr; gap: 24px; }
  .mo-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .mo-hero__visual { max-width: 520px; margin: 0 auto; }
  .mo-why { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 991px) {
  :root { --mo-header-h: 70px; }
  .mo-nav { display: none; }
  .mo-burger { display: grid; }
  .mo-header__cta .mo-btn { display: none; }
  .mo-logo img { height: 44px; }
  .mo-header.is-stuck .mo-logo img { height: 40px; }
  .mo-topbar__inner { justify-content: center; }
  .mo-topbar__social { display: none; }
  .mo-cta__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 767px) {
  .mo-partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .mo-partner { padding: 20px 18px; }
  .mo-partner__logo { width: 54px; height: 54px; }
  .mo-partner__logo svg { width: 30px; height: 30px; }
  .mo-partner__desc { font-size: 13.5px; }
  .mo-topbar { font-size: 13px; }
  .mo-topbar__list { gap: 16px; justify-content: center; }
  .mo-float { right: 14px; bottom: 84px; }
  .mo-float a { width: 48px; height: 48px; }
  .mo-cta__actions { width: 100%; }
  .mo-cta__actions .mo-btn { flex: 1 1 200px; }
  .mo-grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .mo-cats { grid-template-columns: 1fr; gap: 16px; }
  .mo-cat-detail { padding: 24px 20px; }
  .mo-cat-detail__list { grid-template-columns: 1fr; }
  .mo-hero__actions .mo-btn { flex: 1 1 100%; }
  .mo-hero__card { position: static; margin-top: 18px; }
  .mo-why__item { padding: 18px; gap: 14px; }
}

@media (max-width: 479px) {
  .mo-partners__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
