/* ==========================================================================
   Simplifi - modern look & feel layer (Nov 2026)
   Loaded after the theme CSS (from Menu.ascx), so it only overrides styles.
   To switch the whole layer off, remove the two lines that load
   css/modern.css and js/modern.js from Menu.ascx.
   ========================================================================== */

:root {
  --mx-brand: #f15b26;        /* Simplifi orange */
  --mx-brand-2: #fcb03b;      /* yellow */
  --mx-teal: #4cc2c0;
  --mx-green: #3cb878;
  --mx-ink: #0f172a;          /* headings */
  --mx-text: #475569;         /* body text */
  --mx-muted: #64748b;
  --mx-line: #e2e8f0;
  --mx-soft: #f8fafc;
  --mx-radius: 18px;
  --mx-radius-sm: 12px;
  --mx-shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --mx-shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .28);
  --mx-ease: cubic-bezier(.2, .7, .2, 1);
  --mx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mx-font-head: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ---------- Base typography ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--mx-font);
  color: var(--mx-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.heading-title, .stunning-header-title, .slider-content-title,
.servises-title, .megamenu-item-info-title {
  font-family: var(--mx-font-head);
  letter-spacing: -.015em;
  font-weight: 600;
}
h1, h2, h3, .h1, .h2, .h3, .heading-title { color: var(--mx-ink); line-height: 1.25; }

/* keep text white on coloured backgrounds */
.c-white, .c-white h1, .c-white h2, .c-white h3, .c-white h4, .c-white h5,
.bg-green-color .heading-title, .bg-orange-color .heading-title { color: #fff; }

p, .heading-text, .servises-text, .info-box-text, .text {
  font-family: var(--mx-font);
}
.slider-content-text { font-weight: 400; line-height: 1.6; }

/* light-grey theme text was hard to read: darken it */
.heading .heading-text,
.product-description p,
.product-description-ver3 p,
.info-box-text {
  color: var(--mx-text);
}

a { transition: color .25s ease; }

::selection { background: var(--mx-brand); color: #fff; }

/* ---------- Bug fix: links inside check-lists broke onto their own line ---------- */
.list > li { line-height: 1.6; }
.list > li a {
  display: inline;
  overflow: visible;
  color: var(--mx-ink);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s ease, color .3s ease;
}
.list > li a:hover { background-size: 100% 1px; color: var(--mx-brand); }
.list > li i { margin-right: 18px; }
.list > li { color: var(--mx-text); }

/* footer lists sit on a dark background: keep the links light and laid out like the original theme */
.footer .list > li { color: #cbd5e1; }
.footer .list > li a {
  display: block;
  overflow: hidden;
  color: #cbd5e1;
  font-weight: 400;
}
.footer .list > li a:hover { color: var(--mx-brand-2); }
.footer .list > li i { margin-right: 14px; color: var(--mx-brand); }

/* ---------- Header ---------- */
.header {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .06);
  transition: box-shadow .3s ease, padding .3s ease, background .3s ease;
}
.mx-scrolled .header {
  box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .25);
  background: rgba(255, 255, 255, .97);
}
.primary-menu-menu > li > a {
  font-family: var(--mx-font);
  font-weight: 500;
  position: relative;
}
.primary-menu-menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mx-brand), var(--mx-brand-2));
  transition: width .3s var(--mx-ease), left .3s var(--mx-ease);
}
.primary-menu-menu > li:hover > a::after { width: 70%; left: 15%; }

/* menu text: darker so it is easy to read */
.primary-menu-menu ul.dropdown li a,
.primary-menu-menu > li.has-megamenu .megamenu ul > li a {
  font-family: var(--mx-font) !important;
  font-weight: 500 !important;
  color: #1e293b !important;
}
.primary-menu-menu ul.dropdown li a:hover,
.primary-menu-menu > li.has-megamenu .megamenu ul > li:hover > a { color: var(--mx-brand) !important; }
.primary-menu-menu > li.has-megamenu .megamenu ul > li a p {
  margin-top: 2px;
  color: #c2410c !important;          /* darker orange than before (#fcb03b) */
  font-weight: 500;
}
.primary-menu-menu > li > .megamenu .megamenu-item-info .megamenu-item-info-text,
.primary-menu-menu > li > .dropdown .megamenu-item-info .megamenu-item-info-text {
  color: #64748b !important;
}
.primary-menu-menu > li > .megamenu .megamenu-item-info .megamenu-item-info-title,
.primary-menu-menu > li > .dropdown .megamenu-item-info .megamenu-item-info-title { color: var(--mx-ink) !important; }
.primary-menu .megamenu .google-text { color: #475569 !important; line-height: 1.6; }

/* compact mega menu so the whole panel fits on screen */
.primary-menu-menu > li > .megamenu {
  padding: 20px 26px 12px !important;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.primary-menu-menu > li > .megamenu .megamenu-item-info,
.primary-menu-menu > li > .dropdown .megamenu-item-info { margin-bottom: 8px !important; padding-bottom: 0 !important; }
.primary-menu-menu > li > .megamenu .megamenu-item-info .megamenu-item-info-title,
.primary-menu-menu > li > .dropdown .megamenu-item-info .megamenu-item-info-title {
  font-size: 17px !important;
  margin-bottom: 3px !important;
}
.primary-menu-menu > li > .megamenu .megamenu-item-info .megamenu-item-info-text,
.primary-menu-menu > li > .dropdown .megamenu-item-info .megamenu-item-info-text { font-size: 12.5px !important; line-height: 1.35; }
.primary-menu-menu > li.has-megamenu .megamenu ul > li { margin: 0 0 2px !important; }
.primary-menu-menu > li.has-megamenu .megamenu ul > li a {
  font-size: 14.5px !important;
  line-height: 1.3 !important;
  padding: 4px 0 !important;
}
.primary-menu-menu > li.has-megamenu .megamenu ul > li a p {
  margin: 1px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.3;
}
.primary-menu .megamenu .google-logo img { max-width: 170px; height: auto; }
.primary-menu .megamenu .google-text { font-size: 13px !important; }
.primary-menu-menu ul.dropdown li a { font-size: 15px !important; padding: 8px 28px !important; }

/* body paragraphs that use the theme's "heading-text" were 24px: bring them to normal reading size */
.heading .heading-text { font-size: 17px; line-height: 1.75; }
.heading.align-center .heading-text { font-size: 18px; }
.heading p { margin-bottom: 18px; }
@media (max-width: 570px) { .heading .heading-text, .heading.align-center .heading-text { font-size: 16px; } }

/* form placeholders were very light grey: make them readable everywhere */
input::placeholder, textarea::placeholder { color: #64748b !important; opacity: 1; }
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #64748b !important; opacity: 1; }
input::-moz-placeholder, textarea::-moz-placeholder { color: #64748b !important; opacity: 1; }
.mx-enquiry .input-standard-grey, .mx-enquiry textarea { color: var(--mx-ink) !important; font-family: var(--mx-font); font-size: 16px; }
.mx-enquiry .submit-block-text, .mx-enquiry [class*="col-"] > p { color: var(--mx-text); }

/* dropdown / mega menu panels */
.primary-menu .dropdown,
.primary-menu .megamenu {
  border-radius: 0 0 var(--mx-radius) var(--mx-radius);
  box-shadow: var(--mx-shadow-lg);
  border-top: 3px solid var(--mx-brand);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--mx-font);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 15px;
  padding: 16px 32px;
  box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .45);
  transition: transform .25s var(--mx-ease), box-shadow .25s var(--mx-ease), background-color .25s ease, color .25s ease;
}
.btn .semicircle, .btn .semicircle--right { display: none; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(15, 23, 42, .5);
}
.btn:active { transform: translateY(0); }
.btn-medium, .btn-large { padding: 16px 34px; }
.btn-small { padding: 12px 24px; }
@media (max-width: 768px) {
  .btn, .btn-medium, .btn-large { padding: 14px 26px; font-size: 14px; }
}

/* ---------- Section heading underline ---------- */
.heading-line { display: flex; gap: 6px; align-items: center; }
.heading.align-center .heading-line { justify-content: center; }
.heading-line .short-line,
.heading-line .long-line {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--mx-brand), var(--mx-brand-2));
  margin: 0;
}
.heading-line .short-line { width: 18px; }
.heading-line .long-line { width: 64px; }

/* ---------- Cards: rounded corners, soft shadow, lift on hover ---------- */
.servises-item,
.info-box,
.info-box--standard,
.offers,
.client-item,
.pricing-tables-item,
.product-description-challenge,
.product-description-solution,
.testimonial-item,
.contacts-item,
.teammembers-item,
.blog-post,
.post {
  border-radius: var(--mx-radius);
  transition: transform .35s var(--mx-ease), box-shadow .35s var(--mx-ease);
}
.servises-item { overflow: hidden; box-shadow: var(--mx-shadow); }
.servises-item:hover,
.info-box:hover,
.pricing-tables-item:hover,
.teammembers-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--mx-shadow-lg);
}
.servises-item .servises-item__thumb img { transition: transform .6s var(--mx-ease); }
.servises-item:hover .servises-item__thumb img { transform: scale(1.06) rotate(-1deg); }

/* round service icons gently bob on hover */
.info-box-image img, .info-box img { transition: transform .4s var(--mx-ease); }
.info-box:hover .info-box-image img, .info-box:hover img { transform: translateY(-4px) scale(1.05); }

/* client logos: calm grey until hovered */
.client-item, .client-image {
  border-radius: var(--mx-radius-sm);
  overflow: hidden;
}
.client-item img, .clients-item img {
  filter: grayscale(1);
  opacity: .75;
  transition: filter .35s ease, opacity .35s ease, transform .35s var(--mx-ease);
}
.client-item:hover img, .clients-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* testimonial bubble */
.testimonial-slider-item .testimonial-content,
.testimonial-content { border-radius: 28px; }

/* ==========================================================================
   Inner page header (all service / software / company pages)
   Base styles work without JavaScript; js/modern.js then adds the intro
   line, buttons and the animated illustration panel (.mx-ph).
   ========================================================================== */
.stunning-header {
  --ph: #f15b26;          /* accent colour, set per page type by modern.js */
  --ph2: #fcb03b;
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px !important;
  background:
    radial-gradient(640px 380px at 88% 18%, rgba(76, 194, 192, .16), transparent 70%),
    radial-gradient(600px 380px at 0% 100%, rgba(241, 91, 38, .11), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff8f3 100%) !important;
  border-bottom: 1px solid var(--mx-line);
}
.stunning-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.stunning-header .stunning-header-content {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.stunning-header .stunning-header-content .stunning-header-title {
  order: 2;
  max-width: 660px;
  margin: 0;
  font-family: var(--mx-font-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--mx-ink) !important;
  text-shadow: none;
}
/* breadcrumbs as a small pill above the title */
.stunning-header .stunning-header-content .breadcrumbs {
  order: 1;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .3);
  font-size: 13px;
  line-height: 1.4;
}
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item { display: inline-flex; align-items: center; margin: 0; }
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item a,
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item span {
  margin: 0;
  opacity: 1;
  text-transform: none;
  text-decoration: none;
  font-family: var(--mx-font);
  font-weight: 500;
  color: var(--mx-muted) !important;
}
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item a:hover { color: var(--ph) !important; }
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item.active span { color: var(--mx-ink) !important; font-weight: 600; text-decoration: none; }
.stunning-header .stunning-header-content .breadcrumbs .breadcrumbs-item i {
  margin: 0 8px;
  font-size: 9px;
  color: #cbd5e1 !important;
}
@media (max-width: 991px) { .stunning-header .stunning-header-content .stunning-header-title { font-size: 40px; } }
@media (max-width: 640px) {
  .stunning-header { padding: 34px 0 44px !important; }
  .stunning-header .stunning-header-content .stunning-header-title { font-size: 30px; }
  .stunning-header .stunning-header-content .breadcrumbs { font-size: 12px; margin-bottom: 14px; }
}

/* ---- enhanced layout (added by modern.js) ---- */
.mx-ph-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
.mx-ph .mx-ph-grid .stunning-header-content { max-width: none; margin: 0; padding: 0; }
.mx-ph .mx-grad-ph {
  background: linear-gradient(100deg, var(--ph) 0%, var(--ph2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mx-ph-lead {
  max-width: 600px;
  margin: 18px 0 26px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--mx-text);
}
.mx-ph-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.mx-ph-trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; color: var(--mx-ink); }
.mx-ph-trust svg {
  width: 20px; height: 20px; padding: 3px; border-radius: 50%;
  background: rgba(60, 184, 120, .15);
  fill: none; stroke: var(--mx-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.mx-btn--wa { color: #fff; background: #25d366; box-shadow: 0 14px 28px -14px rgba(37, 211, 102, .8); }
.mx-btn--wa:hover { color: #fff; background: #1ebe5b; }
.mx-btn--wa svg { fill: #fff; stroke: none; }

/* illustration panel */
.mx-ph-visual { position: relative; height: 380px; }
.mx-ph-ring {
  position: absolute;
  top: 50%; left: 42%;
  width: 330px; height: 330px;
  margin: -165px 0 0 -165px;
  border-radius: 50%;
  border: 2px dashed rgba(15, 23, 42, .12);
  animation: mx-spin 40s linear infinite;
}
.mx-ph-ring::before, .mx-ph-ring::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ph);
  top: -7px; left: 50%; margin-left: -7px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .9);
}
.mx-ph-ring::after { top: auto; bottom: -7px; background: var(--ph2); }
.mx-ph-glow {
  position: absolute;
  top: 50%; left: 42%;
  width: 260px; height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ph) 0%, transparent 70%);
  opacity: .18;
  filter: blur(10px);
}
.mx-ph-tile {
  position: absolute;
  top: 50%; left: 42%;
  width: 168px; height: 168px;
  margin: -84px 0 0 -84px;
  border-radius: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ph) 0%, var(--ph2) 100%);
  box-shadow: 0 30px 60px -22px var(--ph), inset 0 1px 0 rgba(255, 255, 255, .4);
  transform: rotate(-6deg);
}
.mx-ph-tile svg { width: 78px; height: 78px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(6deg); }
.mx-ph-chip { position: absolute; }
.mx-ph-chip--1 { top: 6%; left: 0; }
.mx-ph-chip--2 { top: 44%; right: -10%; animation-delay: -2s; }
.mx-ph-chip--3 { bottom: 4%; left: 6%; animation-delay: -4s; }
.mx-ph-chip .mx-chip-icon { background: var(--ph); }
.mx-ph-years {
  position: absolute;
  bottom: 8%; right: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--mx-ink);
  color: #fff;
  box-shadow: var(--mx-shadow-lg);
  animation: mx-float 7s ease-in-out -1s infinite;
}
.mx-ph-years strong { font-family: var(--mx-font-head); font-size: 22px; line-height: 1; color: var(--mx-brand-2); }
.mx-ph-years span { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .85); }

/* entrance animation */
.mx-ph .stunning-header-content > *, .mx-ph-lead, .mx-ph .mx-hero-cta, .mx-ph-trust { animation: mx-rise .8s var(--mx-ease) both; }
.mx-ph .stunning-header-title { animation-delay: .06s !important; }
.mx-ph-lead { animation-delay: .14s; }
.mx-ph .mx-hero-cta { animation-delay: .22s; }
.mx-ph-trust { animation-delay: .3s; }
.mx-ph-tile { animation: mx-tile-in 1s var(--mx-ease) .15s both; }
.mx-ph-ring { animation: mx-fade-in 1s ease .2s both, mx-spin 40s linear infinite; }
.mx-ph-chip { animation: mx-chip-in .7s var(--mx-ease) both, mx-float 6s ease-in-out 1.3s infinite; }
.mx-ph-chip--1 { animation-delay: .45s, 1.3s; }
.mx-ph-chip--2 { animation-delay: .6s, 1.6s; }
.mx-ph-chip--3 { animation-delay: .75s, 1.9s; }
@keyframes mx-tile-in { from { transform: rotate(-18deg) scale(.7); opacity: 0; } to { transform: rotate(-6deg); opacity: 1; } }
@keyframes mx-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mx-spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .mx-ph-grid { grid-template-columns: 1fr; }
  .mx-ph-visual { display: none; }
}
@media (max-width: 640px) {
  .mx-ph-lead { font-size: 16px; margin: 14px 0 20px; }
  .mx-ph-trust { gap: 8px 16px; }
  .mx-ph-trust li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-ph .stunning-header-content > *, .mx-ph-lead, .mx-ph .mx-hero-cta, .mx-ph-trust,
  .mx-ph-tile, .mx-ph-ring, .mx-ph-chip, .mx-ph-years { animation: none !important; }
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], select, textarea {
  font-family: var(--mx-font);
  border-radius: var(--mx-radius-sm) !important;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(241, 91, 38, .18);
  border-color: var(--mx-brand);
}

/* ---------- Images ---------- */
.product-description-thumb img,
.product-description-ver3-thumb img,
.portfolio-item img,
.post-thumb img {
  border-radius: var(--mx-radius);
}

/* ---------- Floating WhatsApp / call buttons: gentle pulse ---------- */
a[href*="wa.me"] img, a[href*="whatsapp"] img, a[href^="tel:"] > img {
  transition: transform .3s var(--mx-ease);
}
a[href*="wa.me"]:hover img, a[href*="whatsapp"]:hover img, a[href^="tel:"]:hover > img {
  transform: scale(1.1);
}

/* ==========================================================================
   Homepage hero, quick services and about (Nov 2026 redesign)
   ========================================================================== */
.mx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--mx-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--mx-ease), box-shadow .25s var(--mx-ease), background .25s ease, color .25s ease, border-color .25s ease;
}
.mx-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mx-btn:hover { transform: translateY(-2px); }
.mx-btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--mx-brand), #f7853a);
  box-shadow: 0 14px 28px -12px rgba(241, 91, 38, .7);
}
.mx-btn--primary:hover { color: #fff; box-shadow: 0 20px 34px -12px rgba(241, 91, 38, .8); }
.mx-btn--ghost { color: var(--mx-ink); background: #fff; border-color: var(--mx-line); }
.mx-btn--ghost:hover { color: var(--mx-brand); border-color: var(--mx-brand); }
.mx-btn--dark { color: #fff; background: var(--mx-ink); }
.mx-btn--dark:hover { color: #fff; background: #1e293b; box-shadow: var(--mx-shadow-lg); }
.mx-btn--link { color: var(--mx-ink); padding-left: 8px; padding-right: 8px; }
.mx-btn--link:hover { color: var(--mx-brand); }

/* ---- Hero ---- */
.mx-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(76, 194, 192, .16), transparent 70%),
    radial-gradient(640px 420px at 0% 100%, rgba(241, 91, 38, .12), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff8f3 100%);
}
.mx-hero::before {
  /* faint dot pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%, transparent 100%);
  pointer-events: none;
}
.mx-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.mx-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 6px 16px -10px rgba(15, 23, 42, .3);
  font-size: 14px;
  font-weight: 500;
  color: var(--mx-ink);
}
.mx-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mx-green);
  box-shadow: 0 0 0 0 rgba(60, 184, 120, .6);
  animation: mx-pulse 2s infinite;
}
.mx-hero-title {
  margin: 22px 0 18px;
  font-family: var(--mx-font-head);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--mx-ink);
}
.mx-grad {
  background: linear-gradient(100deg, var(--mx-brand) 10%, #f7853a 50%, var(--mx-brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mx-hero-lead {
  max-width: 540px;
  margin-bottom: 30px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--mx-text);
}
.mx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.mx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 8px 34px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--mx-line);
}
.mx-hero-stats li { margin: 0; }
.mx-hero-stats strong {
  display: block;
  font-family: var(--mx-font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mx-ink);
}
.mx-hero-stats span { font-size: 13px; color: var(--mx-muted); }

/* hero visual: two image cards + floating chips */
.mx-hero-visual { position: relative; height: 500px; }
.mx-hero-blob {
  position: absolute;
  inset: 8% 4% 4% 10%;
  border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, rgba(241, 91, 38, .18), rgba(252, 176, 59, .22));
  filter: blur(2px);
  animation: mx-morph 14s ease-in-out infinite alternate;
}
.mx-hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .45);
}
.mx-hero-card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.mx-hero-card--main { top: 0; right: 0; width: 78%; height: 78%; }
.mx-hero-card--small { left: 0; bottom: 0; width: 44%; height: 46%; transform: rotate(-4deg); }
.mx-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, .4);
  line-height: 1.25;
  animation: mx-float 6s ease-in-out infinite;
}
.mx-chip strong { display: block; font-size: 14px; font-weight: 600; color: var(--mx-ink); }
.mx-chip small { font-size: 12px; color: var(--mx-muted); }
.mx-chip--1 { top: 64%; right: -2%; }
.mx-chip--2 { top: 4%; left: 2%; animation-delay: -3s; }
.mx-chip-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mx-green);
}
.mx-chip-icon--teal { background: var(--mx-teal); }
.mx-chip-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* entrance animation each time a slide becomes active (and on page load) */
.mx-hs-slide.is-active .mx-hero-copy > * { animation: mx-rise .8s var(--mx-ease) both; }
.mx-hs-slide.is-active .mx-hero-copy > :nth-child(2) { animation-delay: .06s; }
.mx-hs-slide.is-active .mx-hero-copy > :nth-child(3) { animation-delay: .12s; }
.mx-hs-slide.is-active .mx-hero-copy > :nth-child(4) { animation-delay: .18s; }
.mx-hs-slide.is-active .mx-hero-copy > :nth-child(5) { animation-delay: .24s; }
.mx-hs-slide.is-active .mx-hero-card--main { animation: mx-pop .9s var(--mx-ease) .1s both; }
.mx-hs-slide.is-active .mx-hero-card--small { animation: mx-pop-tilt .9s var(--mx-ease) .3s both; }
.mx-hs-slide.is-active .mx-chip { animation: mx-chip-in .7s var(--mx-ease) .5s both, mx-float 6s ease-in-out 1.2s infinite; }
.mx-hs-slide.is-active .mx-chip--3 { animation-delay: .65s, 1.4s; }
@keyframes mx-chip-in { from { transform: translateY(14px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Hero slider (3 core services) ---- */
.mx-hs .mx-hs-h1 {
  margin: 0 0 6px;
  font-family: var(--mx-font);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--mx-ink);
}
.mx-hs-stage { display: grid; }
.mx-hs-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.mx-hs-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease;
  z-index: 1;
}
.mx-hs .mx-hero-title { margin: 14px 0 16px; }
.mx-hs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mx-muted);
}
.mx-hs-kicker b {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--mx-ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
}
.mx-hs .mx-hero-lead { margin-bottom: 20px; }
.mx-hs-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.mx-hs-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--mx-ink);
}
.mx-hs-points svg {
  width: 20px; height: 20px; padding: 3px;
  border-radius: 50%;
  background: rgba(60, 184, 120, .15);
  fill: none; stroke: var(--mx-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* tabs with progress bar + arrows */
.mx-hs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}
.mx-hs-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.mx-hs-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 190px;
  padding: 12px 16px 14px;
  border: 1px solid var(--mx-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .8);
  font-family: var(--mx-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--mx-muted);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.mx-hs-tab:hover { color: var(--mx-ink); border-color: #cbd5e1; }
.mx-hs-tab.is-active {
  color: var(--mx-ink);
  background: #fff;
  border-color: rgba(241, 91, 38, .35);
  box-shadow: 0 10px 24px -14px rgba(241, 91, 38, .55);
}
.mx-hs-tab:focus-visible { outline: 3px solid rgba(241, 91, 38, .4); outline-offset: 2px; }
.mx-hs-prog {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--mx-line);
  overflow: hidden;
}
.mx-hs-prog i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mx-brand), var(--mx-brand-2));
}
.mx-hs-tab.is-active .mx-hs-prog i { animation: mx-prog var(--mx-hs-dur, 7s) linear forwards; }
.mx-hs.is-paused .mx-hs-tab.is-active .mx-hs-prog i { animation-play-state: paused; }
.mx-hs.is-static .mx-hs-tab.is-active .mx-hs-prog i { animation: none; transform: scaleX(1); }
@keyframes mx-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mx-hs-arrows { display: flex; gap: 10px; }
.mx-hs-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--mx-line);
  background: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--mx-ease);
}
.mx-hs-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--mx-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s ease; }
.mx-hs-arrow:hover { background: var(--mx-ink); border-color: var(--mx-ink); transform: translateY(-2px); }
.mx-hs-arrow:hover svg { stroke: #fff; }
.mx-hs .mx-hero-stats { margin-top: 30px; }

/* slide visuals */
.mx-hero-card--white { background: #fff; }
.mx-hero-card--white img { object-fit: contain; padding: 10px; }
.mx-chip--3 { bottom: 4%; left: 2%; }

/* mini sales dashboard card (slide 1) */
.mx-dash {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  background: #fff;
}
.mx-dash small { font-size: 12px; font-weight: 500; color: var(--mx-muted); }
.mx-dash strong { font-family: var(--mx-font-head); font-size: 24px; color: var(--mx-ink); margin: 2px 0 12px; }
.mx-dash strong em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--mx-green); background: rgba(60, 184, 120, .14); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.mx-bars { display: flex; align-items: flex-end; gap: 6px; height: 46%; }
.mx-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #4cc2c0, #3cb878);
  transform-origin: bottom;
}
.mx-hs-slide.is-active .mx-bars i { animation: mx-bar .8s var(--mx-ease) both; }
.mx-hs-slide.is-active .mx-bars i:nth-child(2) { animation-delay: .45s; }
.mx-hs-slide.is-active .mx-bars i:nth-child(3) { animation-delay: .5s; }
.mx-hs-slide.is-active .mx-bars i:nth-child(4) { animation-delay: .55s; }
.mx-hs-slide.is-active .mx-bars i:nth-child(5) { animation-delay: .6s; }
.mx-hs-slide.is-active .mx-bars i:nth-child(6) { animation-delay: .65s; }
.mx-hs-slide.is-active .mx-bars i:nth-child(7) { animation-delay: .7s; background: linear-gradient(180deg, #fcb03b, #f15b26); }
.mx-hs-slide.is-active .mx-bars i:first-child { animation-delay: .4s; }
@keyframes mx-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* GST invoice mock-up (slide 3) */
.mx-invoice {
  top: 4%;
  right: 4%;
  width: 74%;
  height: auto;
  padding: 22px 24px;
  background: #fff;
  font-family: var(--mx-font);
}
.mx-inv-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--mx-line); }
.mx-inv-logo {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mx-brand), var(--mx-brand-2));
  color: #fff; font-family: var(--mx-font-head); font-weight: 700; font-size: 18px;
}
.mx-inv-title { display: flex; flex-direction: column; line-height: 1.3; }
.mx-inv-title strong { font-family: var(--mx-font-head); font-size: 17px; color: var(--mx-ink); }
.mx-inv-title small { font-size: 12px; color: var(--mx-muted); }
.mx-inv-paid {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(60, 184, 120, .14);
  color: #1f8a53;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.mx-inv-rows { padding: 12px 0; border-bottom: 1px dashed var(--mx-line); }
.mx-inv-row {
  display: grid;
  grid-template-columns: 1fr 40px 96px;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--mx-ink);
}
.mx-inv-row span:nth-child(2) { text-align: center; color: var(--mx-muted); }
.mx-inv-row span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.mx-inv-row--head { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mx-muted); }
.mx-inv-row--head span:nth-child(2) { color: var(--mx-muted); }
.mx-inv-totals { padding-top: 12px; }
.mx-inv-totals div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--mx-text); font-variant-numeric: tabular-nums; }
.mx-inv-totals .mx-inv-grand {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mx-ink);
  color: #fff;
  font-family: var(--mx-font-head);
  font-size: 18px;
  font-weight: 600;
}
/* slide 3 layout: invoice on the right, chips peek out on its left edge */
.mx-hero-visual--inv .mx-invoice { top: 6%; right: 0; width: 70%; }
.mx-hero-visual--inv .mx-chip--1 { top: 20%; left: -8%; right: auto; }
.mx-hero-visual--inv .mx-chip--3 { top: 60%; bottom: auto; left: -8%; }
@media (max-width: 991px) {
  .mx-hero-visual--inv .mx-chip--1, .mx-hero-visual--inv .mx-chip--3 { left: 0; }
}
@media (max-width: 640px) {
  .mx-hero-visual--inv .mx-invoice { width: 100%; top: 0; }
  .mx-hero-visual--inv .mx-chip { display: none; }
}
.mx-hs-slide.is-active .mx-inv-row:not(.mx-inv-row--head) { animation: mx-rise .5s var(--mx-ease) both; }
.mx-hs-slide.is-active .mx-inv-row:nth-child(2) { animation-delay: .35s; }
.mx-hs-slide.is-active .mx-inv-row:nth-child(3) { animation-delay: .5s; }
.mx-hs-slide.is-active .mx-inv-row:nth-child(4) { animation-delay: .65s; }

@media (max-width: 991px) {
  .mx-hs-bar { flex-direction: column; align-items: stretch; }
  .mx-hs-arrows { display: none; }
  .mx-hs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mx-hs-tab { min-width: 0; }
}
@media (max-width: 640px) {
  .mx-hs .mx-hs-h1 { font-size: 12px; padding: 7px 12px; }
  .mx-hs-points { gap: 8px 16px; margin-bottom: 22px; }
  .mx-hs-points li { font-size: 14px; }
  .mx-hs-tab { padding: 10px 10px 12px; font-size: 12px; }
  .mx-invoice { width: 92%; right: 0; padding: 16px; }
  .mx-inv-row { grid-template-columns: 1fr 28px 80px; font-size: 12px; }
  .mx-inv-totals div { font-size: 12px; }
  .mx-inv-totals .mx-inv-grand { font-size: 15px; padding: 9px 12px; }
  .mx-dash { padding: 12px 14px; }
  .mx-dash strong { font-size: 17px; margin-bottom: 8px; }
  .mx-chip--3 { display: none; }
  .mx-hs .mx-hero-visual { height: 380px; }
}

@keyframes mx-rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes mx-pop { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mx-pop-tilt { from { transform: translateY(24px) rotate(-4deg) scale(.96); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
@keyframes mx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes mx-pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 184, 120, .55); } 70% { box-shadow: 0 0 0 10px rgba(60, 184, 120, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 184, 120, 0); } }
@keyframes mx-morph { 0% { border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; } 100% { border-radius: 58% 42% 45% 55% / 55% 60% 40% 45%; transform: rotate(6deg); } }

/* ---- Quick services row ---- */
.mx-quick { position: relative; z-index: 2; margin-top: -44px; padding-bottom: 30px; }
.mx-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .3);
  border: 1px solid var(--mx-line);
}
.mx-quick-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px;
  border-radius: 16px;
  text-decoration: none;
  transition: background .3s ease, transform .3s var(--mx-ease);
}
.mx-quick-item:hover { background: var(--mx-soft); transform: translateY(-3px); }
.mx-quick-icon {
  width: 44px; height: 44px; margin-bottom: 10px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #f1f5f9; /* fallback for older browsers */
  background: color-mix(in srgb, var(--c) 14%, #fff);
  transition: background .3s ease, transform .3s var(--mx-ease);
}
.mx-quick-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.mx-quick-item:hover .mx-quick-icon { background: var(--c); transform: rotate(-6deg); }
.mx-quick-item:hover .mx-quick-icon svg { stroke: #fff; }
.mx-quick-item strong { font-family: var(--mx-font-head); font-size: 16px; font-weight: 600; color: var(--mx-ink); }
.mx-quick-item small { font-size: 13px; color: var(--mx-muted); }

/* ---- About ---- */
.mx-about { padding: 90px 0 100px; background: #fff; }
.mx-about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.mx-about-media { position: relative; }
.mx-about-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 60px -28px rgba(241, 91, 38, .6);
}
.mx-about-badge {
  position: absolute;
  right: -18px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--mx-ink);
  color: #fff;
  box-shadow: var(--mx-shadow-lg);
}
.mx-about-badge strong { font-family: var(--mx-font-head); font-size: 34px; line-height: 1; color: var(--mx-brand-2); }
.mx-about-badge span { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.mx-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mx-brand);
}
.mx-about-title { margin: 0 0 20px; font-size: 38px; line-height: 1.2; color: var(--mx-ink); }
.mx-about-copy p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.75; color: var(--mx-text); }
.mx-about-copy p a { color: var(--mx-brand); font-weight: 500; }
.mx-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}
.mx-checks li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 500; color: var(--mx-ink); line-height: 1.45; }
.mx-checks svg {
  flex: 0 0 auto;
  width: 22px; height: 22px; padding: 4px;
  border-radius: 50%;
  background: rgba(60, 184, 120, .14);
  fill: none; stroke: var(--mx-green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .mx-hero-title { font-size: 46px; }
  .mx-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .mx-hero { padding: 40px 0 80px; }
  .mx-hero-grid, .mx-about-grid { grid-template-columns: 1fr; gap: 44px; }
  .mx-hero-visual { height: 420px; max-width: 560px; width: 100%; margin: 0 auto; }
  .mx-about-media { max-width: 600px; }
  .mx-about-badge { right: 12px; }
}
@media (max-width: 640px) {
  .mx-hero { padding: 28px 0 70px; }
  .mx-hero-title { font-size: 34px; }
  .mx-hero-lead { font-size: 17px; }
  .mx-hero-stats { grid-template-columns: repeat(2, auto); gap: 16px 34px; }
  .mx-hero-stats strong { font-size: 26px; }
  .mx-hero-visual { height: 320px; }
  .mx-chip { padding: 9px 12px 9px 9px; }
  .mx-chip strong { font-size: 12px; }
  .mx-chip small { display: none; }
  .mx-chip-icon { width: 28px; height: 28px; }
  .mx-chip--1 { right: 0; }
  .mx-btn { padding: 14px 22px; font-size: 15px; }
  .mx-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; }
  .mx-quick-item { padding: 14px 12px; }
  .mx-about { padding: 60px 0 80px; }
  .mx-about-title { font-size: 28px; }
  .mx-checks { grid-template-columns: 1fr; }
  .mx-about-badge { right: 10px; bottom: -22px; padding: 12px 16px; }
  .mx-about-badge strong { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-hero-copy > *, .mx-hero-card--main, .mx-hero-card--small, .mx-chip, .mx-hero-blob, .mx-badge-dot,
  .mx-bars i, .mx-inv-row { animation: none !important; }
  .mx-hs-slide { transition: none !important; }
  .mx-hero-card--small { transform: rotate(-4deg); }
}

/* ---------- Clients page: logo wall ---------- */
.mx-clients { padding: 80px 0 90px; }
.mx-clients-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 34px;
}
.mx-clients-intro .heading { margin: 0; }
.mx-clients-intro .mx-eyebrow { display: inline-block; margin-bottom: 10px; }
.mx-clients-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mx-clients-stats li {
  margin: 0;
  padding: 20px 16px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(241, 91, 38, .08), rgba(252, 176, 59, .12));
  border: 1px solid rgba(241, 91, 38, .15);
}
.mx-clients-stats strong { display: block; font-family: var(--mx-font-head); font-size: 32px; line-height: 1.1; color: var(--mx-ink); }
.mx-clients-stats span { font-size: 13px; color: var(--mx-muted); }

.mx-clients-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 22px; }
.mx-clients-search { position: relative; flex: 1 1 320px; max-width: 520px; margin: 0; }
.mx-clients-search svg {
  position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  fill: none; stroke: var(--mx-muted); stroke-width: 2; stroke-linecap: round;
}
.mx-clients-search input {
  width: 100%;
  margin: 0;
  padding: 14px 18px 14px 46px;
  border: 1px solid var(--mx-line);
  border-radius: 999px !important;
  background: #fff;
  font-size: 15px;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, .3);
}
.mx-clients-count { font-size: 14px; color: var(--mx-muted); }

.mx-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.mx-logo {
  margin: 0;
  padding: 0;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .3s var(--mx-ease), box-shadow .3s var(--mx-ease), border-color .3s ease;
}
.mx-logo-img {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 14px;
}
.mx-logo-img img {
  max-width: 100%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 0 !important;
  border-radius: 8px;
  transition: transform .35s var(--mx-ease);
}
.mx-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 91, 38, .35);
  box-shadow: 0 18px 32px -20px rgba(15, 23, 42, .4);
}
.mx-logo:hover img { transform: scale(1.06); }
.mx-clients-empty { margin: 30px 0 0; text-align: center; color: var(--mx-muted); }
@media (max-width: 991px) {
  .mx-clients-intro { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  .mx-clients { padding: 50px 0 60px; }
  .mx-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mx-logo-img { height: 100px; padding: 10px; }
  .mx-clients-stats strong { font-size: 24px; }
}

/* ---------- Portfolio page ---------- */
.mx-portfolio { padding: 80px 0 90px; }
.mx-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.mx-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--mx-line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--mx-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--mx-ink);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--mx-ease);
}
.mx-filter span {
  min-width: 24px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--mx-muted);
  font-size: 12px;
  text-align: center;
}
.mx-filter:hover { border-color: var(--mx-brand); color: var(--mx-brand); transform: translateY(-1px); }
.mx-filter.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--mx-brand), #f7853a);
  box-shadow: 0 10px 20px -12px rgba(241, 91, 38, .8);
}
.mx-filter.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }

.mx-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mx-work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: transform .35s var(--mx-ease), box-shadow .35s var(--mx-ease), border-color .35s ease;
}
.mx-work:hover { transform: translateY(-6px); border-color: rgba(241, 91, 38, .3); box-shadow: 0 26px 46px -26px rgba(15, 23, 42, .45); }
.mx-work-shot {
  position: relative;
  display: block;
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid var(--mx-line);
}
/* little browser bar on top of each screenshot */
.mx-work-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--mx-line);
}
.mx-work-bar i { width: 9px; height: 9px; border-radius: 50%; background: #fca5a5; }
.mx-work-bar i:nth-child(2) { background: #fcd34d; }
.mx-work-bar i:nth-child(3) { background: #86efac; }
.mx-work-bar em {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-style: normal;
  font-size: 11.5px;
  color: var(--mx-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}
.mx-work-shot img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 10px;
  border: 0 !important;
  transition: transform .6s var(--mx-ease);
}
.mx-work:hover .mx-work-shot img { transform: scale(1.06); }
.mx-work-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 22px 22px; flex: 1; }
.mx-work-cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(76, 194, 192, .14);
  color: #0f8f8c;
  font-size: 12px;
  font-weight: 600;
}
.mx-work-title {
  margin: 0;
  font-family: var(--mx-font-head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mx-ink);
  text-transform: capitalize;
}
.mx-work-link {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--mx-brand) !important;
}
.mx-work-link span { display: inline-block; transition: transform .25s var(--mx-ease); }
.mx-work-link:hover span { transform: translate(3px, -3px); }
.mx-pop-in { animation: mx-pop .5s var(--mx-ease) both; }
@media (max-width: 1100px) { .mx-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mx-portfolio { padding: 50px 0 60px; }
  .mx-work-grid { grid-template-columns: 1fr; gap: 16px; }
  .mx-work-shot img { height: 200px; }
  .mx-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .mx-filter { flex: 0 0 auto; }
}

/* ---------- Contact page ---------- */
.mx-contact { padding: 70px 0 90px; }
.mx-cq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.mx-cq {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  color: var(--mx-ink);
  text-decoration: none;
  transition: transform .3s var(--mx-ease), box-shadow .3s var(--mx-ease), border-color .3s ease;
}
.mx-cq:hover { transform: translateY(-5px); border-color: rgba(241, 91, 38, .35); box-shadow: 0 22px 40px -24px rgba(15, 23, 42, .45); color: var(--mx-ink); }
.mx-cq-icon {
  width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: #f1f5f9;
  background: color-mix(in srgb, var(--c) 14%, #fff);
  transition: background .3s ease, transform .3s var(--mx-ease);
}
.mx-cq-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mx-cq-icon svg.mx-fill { fill: var(--c); stroke: none; }
.mx-cq:hover .mx-cq-icon { background: var(--c); transform: rotate(-6deg); }
.mx-cq:hover .mx-cq-icon svg { stroke: #fff; }
.mx-cq:hover .mx-cq-icon svg.mx-fill { fill: #fff; }
.mx-cq small { font-size: 13px; font-weight: 500; color: var(--mx-muted); }
.mx-cq strong { font-family: var(--mx-font-head); font-size: 19px; font-weight: 600; line-height: 1.3; word-break: break-word; }
.mx-cq-sub { font-size: 13px; color: var(--mx-muted); }

.mx-contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.mx-contact-form {
  padding: 36px;
  border-radius: 26px;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(76, 194, 192, .1), transparent 70%),
    radial-gradient(500px 280px at 0% 100%, rgba(241, 91, 38, .07), transparent 70%),
    #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .4);
}
.mx-contact-title { margin: 4px 0 8px; font-family: var(--mx-font-head); font-size: 32px; line-height: 1.2; color: var(--mx-ink); }
.mx-contact-lead { margin: 0 0 24px; color: var(--mx-text); }
.mx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mx-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mx-field--full { grid-column: 1 / -1; }
.mx-field > span { font-size: 13px; font-weight: 600; color: var(--mx-ink); }
.mx-field input, .mx-field textarea {
  width: 100%;
  margin: 0;
  padding: 13px 16px;
  font-family: var(--mx-font);
  font-size: 15px;
  color: var(--mx-ink);
  background: #f8fafc;
  border: 1px solid var(--mx-line) !important;
  border-radius: 14px !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.mx-field textarea { min-height: 130px; resize: vertical; }
.mx-field input:focus, .mx-field textarea:focus { outline: none; background: #fff; border-color: var(--mx-brand) !important; box-shadow: 0 0 0 4px rgba(241, 91, 38, .15); }
.mx-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.mx-form-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mx-muted); }
.mx-form-note svg { width: 16px; height: 16px; fill: none; stroke: var(--mx-green); stroke-width: 2; stroke-linecap: round; }

.mx-offices { display: grid; gap: 16px; }
.mx-office {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--mx-line);
}
.mx-office h3 { margin: 8px 0 6px; font-family: var(--mx-font-head); font-size: 20px; color: var(--mx-ink); }
.mx-office-addr { margin: 0 0 12px; line-height: 1.6; color: var(--mx-text); }
.mx-office a { font-weight: 600; color: var(--mx-brand); word-break: break-word; }
.mx-office-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--mx-brand), #f7853a);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.mx-office-tag--soft { background: #f1f5f9; color: var(--mx-muted); }
.mx-office--hq {
  color: #cbd5e1;
  border: 0;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(241, 91, 38, .35), transparent 70%),
    linear-gradient(140deg, #0f172a, #1e293b);
}
.mx-office--hq h3 { color: #fff; }
.mx-office--hq .mx-office-addr { color: #cbd5e1; }
.mx-office--hq a { color: var(--mx-brand-2); }
.mx-office-list { margin: 0 0 16px; padding: 0; list-style: none; }
.mx-office-list li { display: flex; gap: 12px; margin: 0 0 8px; font-size: 14.5px; }
.mx-office-list b { flex: 0 0 56px; font-weight: 600; color: #fff; }
.mx-office-list em { margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 600; }
.mx-office-list em.is-open { background: rgba(34, 197, 94, .2); color: #86efac; }
.mx-office-list em.is-closed { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.mx-office-map { overflow: hidden; border-radius: 16px; height: 230px; }
.mx-office-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.mx-office-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mx-office-row .mx-office a { font-size: 14px; }
.mx-office-row .mx-office-addr { margin-bottom: 8px; }

@media (max-width: 1100px) { .mx-cq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mx-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .mx-contact { padding: 40px 0 60px; }
  .mx-cq-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mx-cq { padding: 16px; }
  .mx-cq strong { font-size: 15px; }
  .mx-cq-sub { display: none; }
  .mx-contact-form { padding: 22px 18px; }
  .mx-contact-title { font-size: 26px; }
  .mx-form-grid, .mx-office-row { grid-template-columns: 1fr; }
}

/* ---------- "Areas We Serve" section (homepage) ---------- */
.mx-areas {
  padding: 90px 0 100px;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(241, 91, 38, .07), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(76, 194, 192, .09), transparent 70%),
    #fff;
}
.mx-areas .heading { margin-bottom: 40px; }
.mx-areas .heading-text { font-size: 18px; }

.mx-city {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 14px;
  color: var(--mx-ink);
  text-decoration: none;
  transition: transform .3s var(--mx-ease), box-shadow .3s var(--mx-ease), border-color .3s ease, background .3s ease;
}
.mx-city:hover, .mx-city:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(241, 91, 38, .45);
  box-shadow: 0 14px 30px -14px rgba(241, 91, 38, .45);
  color: var(--mx-ink);
  outline: none;
}
.mx-city-pin {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(241, 91, 38, .1);
  transition: background .3s ease, transform .3s var(--mx-ease);
}
.mx-city-pin svg { width: 20px; height: 20px; fill: var(--mx-brand); transition: fill .3s ease; }
.mx-city:hover .mx-city-pin { background: var(--mx-brand); transform: rotate(-8deg); }
.mx-city:hover .mx-city-pin svg { fill: #fff; }
.mx-city-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mx-city-text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--mx-muted);
  letter-spacing: .02em;
}
.mx-city-text strong {
  font-family: var(--mx-font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--mx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mx-city-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--mx-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s var(--mx-ease), color .3s ease;
}
.mx-city:hover .mx-city-arrow { opacity: 1; transform: none; color: var(--mx-brand); }

/* head-office banner */
.mx-city--hq {
  margin-bottom: 18px;
  padding: 22px 26px;
  border: 0;
  background: linear-gradient(120deg, var(--mx-brand) 0%, #f7853a 55%, var(--mx-brand-2) 100%);
  box-shadow: 0 18px 40px -18px rgba(241, 91, 38, .65);
}
.mx-city--hq .mx-city-pin { width: 52px; height: 52px; background: rgba(255, 255, 255, .2); }
.mx-city--hq .mx-city-pin svg { width: 26px; height: 26px; fill: #fff; }
.mx-city--hq .mx-city-text small { color: rgba(255, 255, 255, .85); font-size: 13px; }
.mx-city--hq .mx-city-text strong { color: #fff; font-size: 24px; white-space: normal; }
.mx-city--hq .mx-city-arrow { opacity: 1; transform: none; color: #fff; font-size: 26px; }
.mx-city--hq:hover { border-color: transparent; box-shadow: 0 24px 48px -18px rgba(241, 91, 38, .75); }
.mx-city--hq:hover .mx-city-pin { background: rgba(255, 255, 255, .3); }
.mx-city--hq:hover .mx-city-text strong, .mx-city--hq:hover .mx-city-arrow { color: #fff; }

/* last card: "don't see your city?" */
.mx-city--cta { background: var(--mx-ink); border-color: var(--mx-ink); }
.mx-city--cta .mx-city-text small { color: rgba(255, 255, 255, .7); }
.mx-city--cta .mx-city-text strong { color: #fff; font-size: 15px; white-space: normal; }
.mx-city--cta .mx-city-arrow { opacity: 1; transform: none; color: var(--mx-brand-2); }
.mx-city--cta:hover { background: #1e293b; border-color: #1e293b; }
.mx-city--cta:hover .mx-city-text strong { color: #fff; }

.mx-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 991px) { .mx-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mx-areas { padding: 60px 0 70px; }
  .mx-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mx-city { padding: 12px; gap: 10px; }
  .mx-city-pin { width: 32px; height: 32px; border-radius: 10px; }
  .mx-city-pin svg { width: 16px; height: 16px; }
  .mx-city-text strong { font-size: 15px; }
  .mx-city-text small { font-size: 11px; }
  .mx-city-arrow { display: none; }
  .mx-city--hq { padding: 16px 18px; }
  .mx-city--hq .mx-city-text strong { font-size: 19px; }
  .mx-city--hq .mx-city-arrow { display: block; }
}

/* ==========================================================================
   Inner page BODY sections (all service / software / company pages)
   ========================================================================== */

/* section backgrounds and headings */
.bg-border-color { background-color: #f8fafc !important; }
.heading .heading-title.h1, .heading h2.heading-title.h1, .heading h4.heading-title.h1 { font-size: 40px; line-height: 1.2; }
.heading .heading-title.h2 { font-size: 34px; line-height: 1.2; }
.heading .heading-title.h3 { font-size: 30px; line-height: 1.25; }
@media (max-width: 768px) {
  .heading .heading-title.h1, .heading h2.heading-title.h1, .heading h4.heading-title.h1 { font-size: 30px; }
  .heading .heading-title.h2, .heading .heading-title.h3 { font-size: 26px; }
}
.heading .heading-subtitle {
  font-family: var(--mx-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--mx-ink);
}
.heading .heading-line { margin-top: 18px; margin-bottom: 22px; }
.container h5.mb30 {
  font-family: var(--mx-font-head);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--mx-ink);
}
.container p { line-height: 1.75; }

/* ---- feature boxes as cards ---- */
.info-box--standard,
.info-box--standard-centered,
.info-box--modern {
  position: relative;
  height: 100%;
  padding: 30px 26px 26px;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  overflow: hidden;
  transition: transform .35s var(--mx-ease), box-shadow .35s var(--mx-ease), border-color .35s ease;
}
.info-box--standard::before,
.info-box--standard-centered::before,
.info-box--modern::before,
.info-box--standard-bg .info-box-content::before {
  /* gradient bar that grows in on hover */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mx-brand), var(--mx-brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--mx-ease);
}
.info-box--standard:hover,
.info-box--standard-centered:hover,
.info-box--modern:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 91, 38, .3);
  box-shadow: 0 24px 44px -24px rgba(15, 23, 42, .35);
  background: #fff;
}
.info-box--standard:hover::before,
.info-box--standard-centered:hover::before,
.info-box--modern:hover::before,
.info-box--standard-bg:hover .info-box-content::before { transform: scaleX(1); }
.info-box--modern:hover .info-box-content .info-box-title { color: var(--mx-ink); }

/* icon area */
.info-box--standard-centered .info-box-image {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(241, 91, 38, .09), rgba(76, 194, 192, .12));
  transition: transform .4s var(--mx-ease), background .4s ease;
}
.info-box--standard-centered .info-box-image img {
  max-width: 84px;
  max-height: 84px;
  width: auto;
  height: auto;
  border-radius: 0;
}
.info-box--standard-centered:hover .info-box-image { transform: rotate(-4deg) scale(1.06); }
.info-box--standard .info-box-image,
.info-box--modern .info-box-image {
  width: 72px;
  height: 72px;
  margin: 0 20px 12px 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(241, 91, 38, .09), rgba(76, 194, 192, .12));
  transition: transform .4s var(--mx-ease);
}
.info-box--standard .info-box-image img,
.info-box--modern .info-box-image img { height: auto; max-height: 46px; max-width: 46px; }
.info-box--standard:hover .info-box-image,
.info-box--modern:hover .info-box-image { transform: rotate(-6deg) scale(1.06); }
/* line icons (inline SVG) inside feature cards */
.info-box-image svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--mx-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s ease;
}
.info-box--standard-centered .info-box-image svg { width: 50px; height: 50px; }
.info-box--standard .info-box-image svg { width: 32px; height: 32px; }
[class*="info-box--"]:hover .info-box-image svg { stroke: var(--mx-ink); }

.info-box-content .info-box-title {
  font-family: var(--mx-font-head);
  font-weight: 600;
  color: var(--mx-ink);
}
.info-box--standard-centered .info-box-content { margin-bottom: 0; }
.info-box--standard-centered .info-box-content .info-box-title { font-size: 20px; line-height: 1.3; text-transform: none; }
.info-box--standard .info-box-content .info-box-title,
.info-box--standard .info-box-content .info-box-title.text-t-none { font-size: 21px !important; line-height: 1.3; }
.info-box-content .info-box-title a { color: inherit; }
.info-box-content .info-box-title a:hover { color: var(--mx-brand); }
.info-box-content .text { font-size: 15.5px; line-height: 1.65; color: var(--mx-text); }

/* "standard-bg" variant: icon sits on top edge of the card */
.info-box--standard-bg { display: flex; flex-direction: column; transition: transform .35s var(--mx-ease); }
.info-box--standard-bg .info-box-content { flex: 1 1 auto; }
.info-box--standard-bg .info-box-content {
  overflow: visible;
  border-radius: 22px;
  border: 1px solid var(--mx-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: box-shadow .35s var(--mx-ease), border-color .35s ease;
}
.info-box--standard-bg .info-box-content::before { border-radius: 22px 22px 0 0; }
.info-box--standard-bg:hover { transform: translateY(-6px); }
.info-box--standard-bg:hover .info-box-content { border-color: rgba(241, 91, 38, .3); box-shadow: 0 24px 44px -24px rgba(15, 23, 42, .35); }
.info-box--standard-bg .info-box-content .info-box-image img { transition: transform .4s var(--mx-ease); }
.info-box--standard-bg:hover .info-box-content .info-box-image img { transform: scale(1.08) rotate(-4deg); }

/* rows of cards get equal heights (class added by modern.js) */
.mx-cards-row { display: flex; flex-wrap: wrap; margin-bottom: 0 !important; }
.mx-cards-row > [class*="col-"] { float: none; display: flex; flex-direction: column; margin-bottom: 26px; }
.mx-cards-row > [class*="col-"] > [class*="info-box--"] { flex: 1 1 auto; }

/* ---- check-lists ---- */
.list > li { position: relative; padding-left: 36px; }
.list > li > i:first-child {
  position: absolute;
  left: 0;
  top: 2px;
  float: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--mx-green) !important;
  background: rgba(60, 184, 120, .14);
}
.footer .list > li { padding-left: 26px; }
.footer .list > li > i:first-child { width: auto; height: auto; background: none; top: 5px; color: var(--mx-brand) !important; font-size: 10px; }

/* ---- images in content ---- */
.product-description-ver3-thumb img,
.product-description-thumb img { border-radius: 24px; }
.mx-media-img { border-radius: 20px; transition: transform .6s var(--mx-ease); }
.mx-media-img:hover { transform: scale(1.02); }

/* ---- challenge / solution blocks ---- */
.product-description-challenge,
.product-description-solution {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--mx-line);
  border-radius: 24px;
}
.product-description-border { display: none; }

/* ---- call-to-action band (class added by modern.js) ---- */
.mx-cta {
  position: relative;
  overflow: hidden;
  margin: 70px 15px !important;
  border-radius: 28px;
  background:
    radial-gradient(520px 260px at 90% 0%, rgba(241, 91, 38, .45), transparent 70%),
    radial-gradient(520px 260px at 0% 100%, rgba(76, 194, 192, .35), transparent 70%),
    linear-gradient(120deg, #0f172a 0%, #1e293b 100%) !important;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .6);
}
@media (min-width: 1230px) { .mx-cta { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; } }
.mx-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.mx-cta .container { position: relative; }
.mx-cta.row, .row.mx-cta { padding-top: 56px !important; padding-bottom: 56px !important; }
.mx-cta .heading { margin-bottom: 0 !important; }
.mx-cta .row { display: flex; flex-wrap: wrap; align-items: center; }
.mx-cta .heading-title { color: #fff !important; font-size: 32px !important; line-height: 1.25; }
.mx-cta .heading-text { color: rgba(255, 255, 255, .78) !important; font-size: 17px; margin-top: 10px !important; }
.mx-cta .btn {
  background: linear-gradient(120deg, var(--mx-brand), #f7853a) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px -12px rgba(241, 91, 38, .8);
}
@media (max-width: 991px) { .mx-cta .btn { margin-top: 20px; } .mx-cta .heading-title { font-size: 26px !important; } }

/* ---- enquiry form card (class added by modern.js) ---- */
.mx-enquiry {
  position: relative;
  margin: 30px 0 60px !important;
  padding: 56px 40px !important;
  border-radius: 28px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(76, 194, 192, .12), transparent 70%),
    radial-gradient(520px 300px at 0% 100%, rgba(241, 91, 38, .09), transparent 70%),
    #fff;
  border: 1px solid var(--mx-line);
  box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .35);
}
.mx-enquiry .input-standard-grey,
.mx-enquiry input[type="text"], .mx-enquiry input[type="email"], .mx-enquiry textarea, .mx-enquiry select {
  width: 100%;
  margin-bottom: 16px;
  padding: 15px 18px;
  background: #f8fafc !important;
  border: 1px solid var(--mx-line) !important;
  border-radius: 14px !important;
  color: var(--mx-ink);
  font-size: 15px;
}
.mx-enquiry textarea { min-height: 130px; }
.mx-enquiry .input-standard-grey:focus,
.mx-enquiry textarea:focus { background: #fff !important; border-color: var(--mx-brand) !important; box-shadow: 0 0 0 4px rgba(241, 91, 38, .15); }
.mx-enquiry .btn {
  background: linear-gradient(120deg, var(--mx-brand), #f7853a) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px -12px rgba(241, 91, 38, .8);
}
.mx-contact-mini { display: grid; gap: 12px; margin-top: 26px; }
.mx-contact-mini a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--mx-line);
  color: var(--mx-ink);
  text-decoration: none;
  transition: transform .3s var(--mx-ease), border-color .3s ease, box-shadow .3s ease;
}
.mx-contact-mini a:hover { transform: translateX(4px); border-color: rgba(241, 91, 38, .4); box-shadow: 0 12px 24px -16px rgba(241, 91, 38, .6); color: var(--mx-ink); }
.mx-contact-mini .mx-ci {
  flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
}
.mx-contact-mini svg { width: 20px; height: 20px; }
.mx-contact-mini strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mx-contact-mini small { font-size: 12.5px; color: var(--mx-muted); }
@media (max-width: 640px) { .mx-enquiry { padding: 34px 20px !important; margin: 40px 0 !important; } }

/* ---- plain content lists -> tick lists / numbered steps (classes added by modern.js) ---- */
.mx-ticks { list-style: none; margin: 14px 0 22px; padding: 0; }
.mx-ticks > li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 34px;
  line-height: 1.65;
  color: var(--mx-text);
}
.mx-ticks > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(60, 184, 120, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233cb878' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.mx-ticks > li > strong:first-child, .mx-ticks > li > b:first-child { color: var(--mx-ink); }
.mx-steps { list-style: none; counter-reset: mxstep; margin: 14px 0 22px; padding: 0; }
.mx-steps > li {
  position: relative;
  counter-increment: mxstep;
  margin: 0 0 14px;
  padding-left: 44px;
  line-height: 1.65;
  color: var(--mx-text);
}
.mx-steps > li::before {
  content: counter(mxstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mx-brand), var(--mx-brand-2));
  color: #fff;
  font-family: var(--mx-font-head);
  font-size: 14px;
  font-weight: 600;
}

/* ---- city pages: tidy older layouts ---- */
.mx-city-page p[style*="italic"] {
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mx-text);
}
.mx-city-page .product-description-ver2 p[style*="italic"]:first-of-type {
  font-size: 19px;
  font-weight: 500 !important;
  color: var(--mx-ink);
}
.piko-title4 h3, .piko-title4 h2 {
  margin: 0 0 14px;
  font-family: var(--mx-font-head);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mx-ink);
}
.piko-title4 .line { display: none; }
@media (max-width: 768px) { .piko-title4 h3, .piko-title4 h2 { font-size: 28px; } }
/* grey boxed sections (inline background) -> soft rounded panel */
.content-wrapper > .container[style*="background"],
.content-wrapper .container[style*="#e9e9e9"],
.content-wrapper .container[style*="#e8e8e8"] {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 36px 30px;
  border-radius: 28px;
  border: 1px solid var(--mx-line);
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(76, 194, 192, .12), transparent 70%),
    radial-gradient(520px 300px at 0% 100%, rgba(241, 91, 38, .08), transparent 70%),
    #f8fafc !important;
}
.content-wrapper .container[style*="background"] > .row { padding-top: 10px !important; padding-bottom: 10px !important; }
.content-wrapper .container[style*="background"] img { border-radius: 20px; }
.challenge-solutions-content .heading p { margin-bottom: 0; }
/* city page images */
.mx-city-page .product-description-ver2 img,
.mx-city-page .challenge-solutions img { border-radius: 20px; }

/* quick-contact cards sit in a row when the enquiry heading is full width */
.mx-enquiry .col-lg-12 .mx-contact-mini { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 30px; }
.container.mx-enquiry { padding-left: 40px !important; padding-right: 40px !important; margin-left: auto !important; margin-right: auto !important; }
.container.mx-enquiry > .row { padding-top: 0 !important; }
.container.mx-enquiry .row { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.container.mx-enquiry form { margin-bottom: 0; }
@media (max-width: 640px) { .container.mx-enquiry { padding-left: 18px !important; padding-right: 18px !important; } }

/* current city card in the "Areas We Serve" grid */
.mx-city.is-current {
  border-color: var(--mx-brand);
  background: linear-gradient(135deg, rgba(241, 91, 38, .08), rgba(252, 176, 59, .1));
  box-shadow: 0 12px 26px -16px rgba(241, 91, 38, .6);
  cursor: default;
}
.mx-city.is-current .mx-city-pin { background: var(--mx-brand); }
.mx-city.is-current .mx-city-pin svg { fill: #fff; }
.mx-city.is-current .mx-city-text small { color: var(--mx-brand); font-weight: 600; }
.mx-city.is-current:hover { transform: none; }

/* ---- FAQ accordion (built by modern.js from question headings) ---- */
.mx-faq-list { display: grid; gap: 12px; margin-top: 10px; }
.mx-faq {
  border: 1px solid var(--mx-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.mx-faq[open] { border-color: rgba(241, 91, 38, .35); box-shadow: 0 16px 32px -22px rgba(15, 23, 42, .35); }
.mx-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-family: var(--mx-font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--mx-ink);
}
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 30px; height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f5f9;
  color: var(--mx-ink);
  font-size: 20px;
  font-weight: 500;
  transition: transform .3s var(--mx-ease), background .3s ease, color .3s ease;
}
.mx-faq[open] summary::after { content: "\2212"; background: var(--mx-brand); color: #fff; transform: rotate(180deg); }
.mx-faq summary > * { margin: 0 !important; font: inherit !important; color: inherit !important; display: inline; }
.mx-faq-body { padding: 0 22px 20px; color: var(--mx-text); }
.mx-faq-body p { margin: 0 0 8px; }

/* ---- newsletter band (class added by modern.js) ---- */
.mx-news {
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(252, 176, 59, .35), transparent 70%),
    linear-gradient(120deg, #3cb878 0%, #2aa198 55%, #4cc2c0 100%) !important;
}
.mx-news .subscribe-title { font-size: 32px; color: #fff; }
.mx-news .subscribe-form { display: flex; max-width: 520px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mx-news .subscribe-form input {
  flex: 1;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  padding: 14px 22px !important;
  margin: 0 !important;
  height: auto !important;
}
.mx-news .subscr-btn {
  margin-left: 6px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: var(--mx-ink) !important;
  color: #fff;
  font-weight: 600;
  text-transform: none;
  transition: background .25s ease, transform .25s var(--mx-ease);
}
.mx-news .subscr-btn:hover { background: var(--mx-brand) !important; transform: translateY(-1px); }
.mx-news .subscr-btn .semicircle--right { display: none; }
.mx-news .sub-title { color: rgba(255, 255, 255, .85) !important; }

/* footer intro text was too dark on the dark footer */
.footer .heading-text, .footer p { color: #94a3b8 !important; }

/* ---------- Scroll progress bar ---------- */
.mx-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--mx-brand), var(--mx-brand-2), var(--mx-teal));
  z-index: 9999;
  pointer-events: none;
}

/* ---------- Back-to-top button ---------- */
.mx-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-ink);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--mx-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s var(--mx-ease), visibility .3s, background .25s ease;
  z-index: 9998;
}
.mx-top.mx-show { opacity: 1; visibility: visible; transform: none; }
.mx-top:hover { background: var(--mx-brand); }
.mx-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) { .mx-top { right: 14px; bottom: 84px; width: 42px; height: 42px; } }

/* ==========================================================================
   Scroll animations
   Only active when JavaScript runs (html.mx-js), and only for content that is
   below the first screen, so the top of the page is never hidden.
   ========================================================================== */
.mx-js .mx-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .8s var(--mx-ease), transform .8s var(--mx-ease);
  transition-delay: var(--mx-delay, 0ms);
  will-change: opacity, transform;
}
.mx-js .mx-reveal.mx-left  { transform: translate3d(-48px, 0, 0); }
.mx-js .mx-reveal.mx-right { transform: translate3d(48px, 0, 0); }
.mx-js .mx-reveal.mx-zoom  { transform: scale(.92); }
.mx-js .mx-reveal.mx-in {
  opacity: 1;
  transform: none;
}

/* heading underline grows in */
.mx-js .heading-line.mx-line-anim .short-line,
.mx-js .heading-line.mx-line-anim .long-line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--mx-ease) .2s;
}
.mx-js .heading.align-center .heading-line.mx-line-anim .short-line,
.mx-js .heading.align-center .heading-line.mx-line-anim .long-line { transform-origin: center; }
.mx-js .heading-line.mx-line-anim.mx-in .short-line,
.mx-js .heading-line.mx-line-anim.mx-in .long-line { transform: scaleX(1); }

/* people who prefer less motion get no animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mx-js .mx-reveal,
  .mx-js .heading-line.mx-line-anim .short-line,
  .mx-js .heading-line.mx-line-anim .long-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn:hover, .servises-item:hover, .info-box:hover { transform: none; }
}
