:root {
  --mx-navy: #06172a;
  --mx-navy-dark: #020b15;
  --mx-navy-soft: #0b2744;
  --mx-gold: #d7a65c;
  --mx-gold-light: #f0c982;
  --mx-cream: #f8efe4;
  --mx-white: #ffffff;
  --mx-muted: rgba(255,255,255,.74);
  --mx-line: rgba(215,166,92,.32);
  --mx-card: rgba(255,255,255,.075);
  --mx-radius: 30px;
  --mx-shadow: 0 34px 90px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--mx-navy-dark);
  color: var(--mx-white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mx-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(215,166,92,.18), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(180deg, #020b15 0%, #06172a 52%, #071d34 100%);
}

.mx-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.mx-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2,11,21,.78);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(215,166,92,.18);
}

.mx-nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mx-logo-wrap { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mx-logo { height: 62px; width: auto; object-fit: contain; }

.mx-links {
  display: flex;
  align-items: center;
  gap: 25px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.mx-links a:hover { color: var(--mx-gold-light); }

.mx-nav-actions { display: flex; align-items: center; gap: 12px; }

.mx-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(215,166,92,.36);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.045);
}

.mx-lang a {
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  letter-spacing: .05em;
}

.mx-lang a.active {
  background: linear-gradient(135deg, var(--mx-gold), var(--mx-gold-light));
  color: #071729;
  font-weight: 700;
}

.mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 19px;
  border: 1px solid rgba(215,166,92,.48);
  background: rgba(255,255,255,.06);
  color: var(--mx-white);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: .22s ease;
}

.mx-btn:hover { transform: translateY(-2px); }
.mx-btn.primary {
  background: linear-gradient(135deg, var(--mx-gold), var(--mx-gold-light));
  color: #06172a;
  border-color: transparent;
}

.mx-hero { position: relative; padding: 46px 0 72px; }

.mx-hero-stage {
  position: relative;
  min-height: 720px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(215,166,92,.24);
  box-shadow: var(--mx-shadow);
  background-size: cover;
  background-position: center;
}

.mx-hero-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(2,11,21,.86) 100%);
  pointer-events: none;
}

.mx-hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  padding: clamp(34px, 6vw, 76px);
}

.mx-logo-hero {
  width: min(430px, 80vw);
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.35));
}

.mx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mx-gold-light);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 18px;
}

.mx-kicker:before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--mx-gold);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.045em;
}

.mx-gold-text { color: var(--mx-gold-light); }

.mx-hero-copy {
  margin: 26px 0 0;
  color: rgba(255,255,255,.77);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 660px;
}

.mx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.mx-hero-mini-gallery {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 14px;
}

.mx-mini-card {
  border-radius: 24px;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(215,166,92,.28);
  background: rgba(2,11,21,.55);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0,0,0,.3);
}

.mx-mini-card .photo { height: 104px; background-size: cover; background-position: center; }
.mx-mini-card strong {
  display: block;
  padding: 14px;
  color: var(--mx-gold-light);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.3;
}

.mx-image-grid-section, .mx-services-section, .mx-referral { padding: 86px 0; }

.mx-section-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.mx-section-head span, .mx-referral-copy span {
  display: block;
  color: var(--mx-gold-light);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 14px;
}

.mx-section-head h2, .mx-referral-copy h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.mx-section-head p, .mx-referral-copy p {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  line-height: 1.6;
}

.mx-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mx-service-card {
  position: relative;
  min-height: 385px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(215,166,92,.2);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  transition: .24s ease;
}

.mx-service-card:hover { transform: translateY(-5px); }
.mx-service-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,11,21,.1), rgba(2,11,21,.88));
}

.mx-service-info {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.mx-service-info h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 10px;
}

.mx-service-info p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  font-size: 15px;
}

.mx-service-info a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--mx-gold-light);
  font-weight: 600;
  font-size: 14px;
}

.mx-process-section {
  padding: 86px 0;
  border-top: 1px solid rgba(215,166,92,.16);
  border-bottom: 1px solid rgba(215,166,92,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}

.mx-process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.section-head-block { display: block; margin-bottom: 0; }

.mx-process-panel {
  border: 1px solid rgba(215,166,92,.24);
  border-radius: 34px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(20px);
  padding: 30px;
  box-shadow: var(--mx-shadow);
}

.mx-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(215,166,92,.16);
}

.mx-step:last-child { border-bottom: 0; }
.mx-step b {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(215,166,92,.16);
  color: var(--mx-gold-light);
  font-family: Georgia, serif;
  font-size: 22px;
  border: 1px solid rgba(215,166,92,.28);
}

.mx-step h3 { margin: 0 0 8px; font-size: 20px; }
.mx-step p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.55; }

.mx-referral-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(215,166,92,.25);
  box-shadow: var(--mx-shadow);
  background: rgba(255,255,255,.06);
}

.mx-referral-photo { min-height: 430px; background-size: cover; background-position: center; }
.mx-referral-copy { padding: clamp(32px, 5vw, 62px); }

.mx-footer {
  padding: 38px 0;
  border-top: 1px solid rgba(215,166,92,.18);
  color: rgba(255,255,255,.58);
}

.mx-footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: 14px; }

.mx-admin-page {
  min-height: 100vh;
  background: #f5f0e9;
  color: #102033;
}

.mx-admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.mx-admin-card {
  background: #fff;
  border: 1px solid rgba(6,23,42,.12);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 45px rgba(6,23,42,.08);
}

.mx-form-grid { display: grid; gap: 14px; }
.mx-label { font-weight: 700; font-size: 14px; }
.mx-input {
  width: 100%;
  border: 1px solid rgba(6,23,42,.18);
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
}

.mx-alert {
  padding: 14px;
  border-radius: 14px;
  background: #fff0f0;
  color: #8a1f1f;
  margin-bottom: 14px;
}

@media (max-width: 1100px) {
  .mx-links { display: none; }
  .mx-hero-stage { min-height: auto; }
  .mx-hero-mini-gallery {
    position: relative;
    right: auto;
    bottom: auto;
    padding: 0 28px 28px;
    grid-template-columns: repeat(3, 1fr);
  }
  .mx-section-head, .mx-process-grid, .mx-referral-box { grid-template-columns: 1fr; }
  .mx-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .mx-shell { width: min(100% - 24px, 1240px); }
  .mx-logo { height: 48px; }
  .mx-nav-actions .mx-btn { display: none; }
  .mx-lang a { padding: 8px 9px; font-size: 12px; }
  .mx-hero { padding-top: 24px; }
  .mx-hero-stage { border-radius: 28px; }
  .mx-hero-content { padding: 30px 22px; }
  .mx-logo-hero { width: min(320px, 86vw); }
  .mx-hero-actions { flex-direction: column; }
  .mx-btn { width: 100%; }
  .mx-hero-mini-gallery { grid-template-columns: 1fr; padding: 0 18px 18px; }
  .mx-mini-card { min-height: auto; }
  .mx-service-grid { grid-template-columns: 1fr; }
  .mx-service-card { min-height: 330px; }
  .mx-step { grid-template-columns: 1fr; }
  .mx-referral-photo { min-height: 300px; }
  .mx-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Hotfix 01: visible portal login menu */
.mx-login-menu {
  position: relative;
}

.mx-login-trigger {
  border: 1px solid rgba(215,166,92,.48);
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mx-login-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  background: rgba(2,11,21,.96);
  border: 1px solid rgba(215,166,92,.32);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: none;
  z-index: 99;
}

.mx-login-menu:hover .mx-login-dropdown,
.mx-login-menu:focus-within .mx-login-dropdown {
  display: grid;
  gap: 4px;
}

.mx-login-dropdown a {
  padding: 12px 13px;
  border-radius: 12px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
}

.mx-login-dropdown a:hover {
  background: rgba(215,166,92,.14);
  color: #f0c982;
}

@media (max-width: 700px) {
  .mx-login-trigger {
    padding: 9px 10px;
    font-size: 13px;
  }
  .mx-login-dropdown {
    right: -82px;
  }
}

/* Mobile-first public navigation upgrade. Keeps desktop layout intact while exposing a full mobile menu. */
.mx-mobile-menu-trigger,
.mx-mobile-menu {
  display: none;
}

.mx-mobile-menu-trigger {
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(215,166,92,.58);
  border-radius: 999px;
  padding: 10px 13px;
  background: linear-gradient(135deg, rgba(215,166,92,.18), rgba(255,255,255,.06));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  min-height: 42px;
}

.mx-mobile-menu-icon,
.mx-mobile-menu-icon::before,
.mx-mobile-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f0c982;
  transition: transform .2s ease, opacity .2s ease;
}

.mx-mobile-menu-icon {
  position: relative;
}

.mx-mobile-menu-icon::before,
.mx-mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mx-mobile-menu-icon::before { top: -6px; }
.mx-mobile-menu-icon::after { top: 6px; }

.mx-mobile-menu-trigger.is-open .mx-mobile-menu-icon {
  background: transparent;
}

.mx-mobile-menu-trigger.is-open .mx-mobile-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.mx-mobile-menu-trigger.is-open .mx-mobile-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .mx-topbar {
    position: sticky;
    top: 0;
  }

  .mx-nav {
    min-height: 76px;
    gap: 12px;
  }

  .mx-logo-wrap {
    flex: 1 1 auto;
  }

  .mx-desktop-links,
  .mx-desktop-login,
  .mx-desktop-lang,
  .mx-desktop-cta {
    display: none !important;
  }

  .mx-nav-actions {
    flex: 0 0 auto;
  }

  .mx-mobile-menu-trigger {
    display: inline-flex;
  }

  .mx-mobile-menu:not([hidden]) {
    display: block;
  }

  .mx-mobile-menu {
    border-top: 1px solid rgba(215,166,92,.18);
    background: rgba(2,11,21,.98);
    box-shadow: 0 28px 80px rgba(0,0,0,.45);
  }

  .mx-mobile-menu-inner {
    padding: 16px 0 20px;
    display: grid;
    gap: 14px;
  }

  .mx-mobile-links {
    display: grid;
    gap: 10px;
  }

  .mx-mobile-links a,
  .mx-mobile-portal-grid a,
  .mx-mobile-lang a,
  .mx-mobile-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    padding: 13px 15px;
    border: 1px solid rgba(215,166,92,.20);
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.94);
    font-weight: 750;
  }

  .mx-mobile-links a::after,
  .mx-mobile-portal-grid a::after {
    content: "›";
    color: #f0c982;
    font-size: 22px;
    line-height: 1;
  }

  .mx-mobile-cta {
    justify-content: center;
    background: linear-gradient(135deg, var(--mx-gold), var(--mx-gold-light));
    color: #06172a;
    border-color: transparent;
    box-shadow: 0 14px 34px rgba(215,166,92,.20);
  }

  .mx-mobile-lang {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mx-mobile-lang a {
    justify-content: center;
    text-align: center;
  }

  .mx-mobile-lang a.active {
    background: rgba(215,166,92,.18);
    border-color: rgba(240,201,130,.62);
    color: #f0c982;
  }

  .mx-mobile-portals {
    border: 1px solid rgba(215,166,92,.18);
    border-radius: 22px;
    padding: 14px;
    background: rgba(255,255,255,.035);
  }

  .mx-mobile-portals p {
    margin: 0 0 11px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-weight: 850;
  }

  .mx-mobile-portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .mx-shell {
    width: min(100% - 22px, 1240px);
  }

  .mx-nav {
    min-height: 70px;
  }

  .mx-logo {
    height: 42px;
    max-width: 190px;
  }

  .mx-mobile-menu-trigger {
    padding: 9px 11px;
    font-size: 13px;
  }

  .mx-mobile-lang,
  .mx-mobile-portal-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage repair: keep the previously working responsive menu and only refine homepage spacing/images. */
.mx-logo-hero,
.mx-footer-logo {
  border-radius: 22px;
  overflow: hidden;
}

.mx-logo-hero {
  box-shadow: 0 22px 55px rgba(0,0,0,.24);
}

.mx-hero {
  padding-top: 28px;
  padding-bottom: 38px;
}

.mx-hero-stage {
  min-height: 520px;
}

.mx-image-grid-section,
.mx-process-section,
.mx-referral {
  padding-top: 42px;
  padding-bottom: 42px;
}

.mx-image-grid-section + .mx-process-section,
.mx-process-section + .mx-referral {
  padding-top: 24px;
}

.mx-referral-photo {
  border-radius: 32px;
  overflow: hidden;
}

/* Responsive public footer repair. */
.mx-public-footer {
  background: #020b15;
  color: rgba(255,255,255,.86);
  border-top: 1px solid rgba(215,166,92,.20);
  padding: 48px 0 22px;
}

.mx-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, .8fr));
  gap: 28px;
  align-items: start;
}

.mx-footer-grid-no-details {
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(170px, .8fr));
}

.mx-footer-brand {
  display: grid;
  gap: 14px;
}

.mx-footer-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  background: rgba(255,255,255,.04);
}

.mx-footer-brand p,
.mx-footer-col p {
  margin: 0;
  color: rgba(255,255,255,.70);
  line-height: 1.7;
}

.mx-footer-col {
  display: grid;
  gap: 10px;
}

.mx-footer-col h3 {
  margin: 0 0 4px;
  color: #f0c982;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mx-footer-col a,
.mx-footer-legal a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.mx-footer-col a:hover,
.mx-footer-legal a:hover {
  color: #f0c982;
}

.mx-footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.mx-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 980px) {
  .mx-footer-grid,
  .mx-footer-grid-no-details {
    grid-template-columns: 1fr 1fr;
  }

  .mx-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .mx-hero {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .mx-hero-stage {
    min-height: auto;
  }

  .mx-image-grid-section,
  .mx-process-section,
  .mx-referral {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .mx-image-grid-section + .mx-process-section,
  .mx-process-section + .mx-referral {
    padding-top: 16px;
  }

  .mx-public-footer {
    padding-top: 34px;
  }

  .mx-footer-grid,
  .mx-footer-grid-no-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mx-footer-logo {
    max-width: 180px;
  }

  .mx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .mx-footer-legal {
    justify-content: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}


/* Header language/logo refinement - small targeted patch only. */
.mx-logo {
  border-radius: 14px;
  overflow: hidden;
}

.mx-mobile-top-lang {
  display: none;
}

@media (max-width: 1100px) {
  .mx-mobile-top-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(215,166,92,.36);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
  }

  .mx-mobile-top-lang a {
    min-width: 38px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-decoration: none;
  }

  .mx-mobile-top-lang a.active {
    background: linear-gradient(135deg, var(--mx-gold), var(--mx-gold-light));
    color: #06172a;
  }
}

@media (max-width: 420px) {
  .mx-mobile-top-lang a {
    min-width: 34px;
    min-height: 32px;
    font-size: 11px;
  }

  .mx-mobile-menu-trigger span:last-child {
    display: none;
  }
}

/* Make the large logo above the footer match the main homepage logo size and sit centrally. */
.mx-footer-brand {
  justify-items: center;
  text-align: center;
}

.mx-footer-logo {
  width: min(430px, 80vw);
  max-width: min(430px, 80vw);
  justify-self: center;
  border-radius: 22px;
  overflow: hidden;
}

@media (max-width: 700px) {
  .mx-footer-logo {
    width: min(320px, 86vw);
    max-width: min(320px, 86vw);
  }
}


/* How It Works page - database content visual layout */
.mx-hiw-page {
  background:
    radial-gradient(circle at top left, rgba(215,166,92,.13), transparent 35%),
    linear-gradient(180deg, #f8f5ee 0%, #ffffff 46%, #f7f0e6 100%);
}

.mx-hiw-hero {
  padding: clamp(44px, 7vw, 82px) 0 clamp(24px, 4vw, 42px);
}

.mx-hiw-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, .98fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8,31,57,.96), rgba(10,48,82,.91)),
    url('/assets/img/home-hero-property.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 26px 80px rgba(6,23,42,.20);
  color: #fff;
}

.mx-hiw-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(215,166,92,.28), transparent 30%),
    linear-gradient(90deg, rgba(6,23,42,.96), rgba(6,23,42,.60));
  pointer-events: none;
}

.mx-hiw-hero-copy,
.mx-hiw-visual-stack {
  position: relative;
  z-index: 1;
}

.mx-hiw-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(34px, 5.5vw, 66px);
  line-height: .96;
  letter-spacing: -.045em;
}

.mx-hiw-hero-copy p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.mx-hiw-visual-stack {
  display: grid;
  gap: 14px;
}

.mx-hiw-photo-card {
  min-height: 220px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6,23,42,.08), rgba(6,23,42,.58)),
    var(--hiw-image, url('/assets/img/home-property-care.jpg'));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.mx-hiw-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mx-hiw-mini {
  min-height: 132px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(6,23,42,.04), rgba(6,23,42,.46)),
    var(--hiw-mini-image, url('/assets/img/home-footer-logo.jpg'));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.18);
}

.mx-hiw-body {
  padding: clamp(20px, 4vw, 44px) 0 clamp(54px, 8vw, 94px);
}

.mx-hiw-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 50px);
}

.mx-hiw-intro-panel,
.mx-hiw-note-panel,
.mx-hiw-step,
.mx-hiw-portal-panel {
  border: 1px solid rgba(8,31,57,.10);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(8,31,57,.08);
}

.mx-hiw-intro-panel {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
  position: sticky;
  top: 110px;
}

.mx-hiw-intro-panel h2,
.mx-hiw-portal-panel h2 {
  margin: 0 0 12px;
  color: #081f39;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.mx-hiw-intro-panel p,
.mx-hiw-portal-panel p,
.mx-hiw-step p,
.mx-hiw-note-panel p {
  color: #314357;
  line-height: 1.72;
}

.mx-hiw-note-panel {
  border-radius: 24px;
  padding: 22px;
  border-left: 6px solid var(--mx-gold, #d7a65c);
}

.mx-hiw-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.mx-hiw-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, rgba(215,166,92,.15), rgba(215,166,92,.85), rgba(215,166,92,.15));
}

.mx-hiw-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 26px;
}

.mx-hiw-step-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--mx-gold, #d7a65c), #f0d092);
  color: #081f39;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(215,166,92,.28);
  z-index: 2;
}

.mx-hiw-step h3 {
  margin: 0 0 8px;
  color: #081f39;
  font-size: clamp(20px, 2.2vw, 27px);
}

.mx-hiw-portal-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 4vw, 42px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,248,235,.92));
}

.mx-hiw-portal-visual {
  min-height: 280px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6,23,42,.08), rgba(6,23,42,.50)),
    url('/assets/img/home-hero-property.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 18px 48px rgba(6,23,42,.12);
}

.mx-hiw-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.mx-hiw-cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.mx-hiw-cta-primary {
  background: linear-gradient(135deg, var(--mx-gold, #d7a65c), #f0d092);
  color: #06172a;
}

.mx-hiw-cta-secondary {
  border: 1px solid rgba(8,31,57,.18);
  color: #081f39;
  background: #fff;
}

@media (max-width: 980px) {
  .mx-hiw-hero-card,
  .mx-hiw-intro-grid,
  .mx-hiw-portal-panel {
    grid-template-columns: 1fr;
  }

  .mx-hiw-intro-panel {
    position: static;
  }

  .mx-hiw-visual-stack {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .mx-hiw-hero {
    padding-top: 24px;
  }

  .mx-hiw-hero-card {
    padding: 20px;
    border-radius: 24px;
  }

  .mx-hiw-photo-card {
    min-height: 180px;
    border-radius: 22px;
  }

  .mx-hiw-mini-grid {
    grid-template-columns: 1fr;
  }

  .mx-hiw-mini {
    min-height: 112px;
  }

  .mx-hiw-step {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    border-radius: 22px;
  }

  .mx-hiw-step-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .mx-hiw-timeline::before {
    left: 21px;
  }

  .mx-hiw-portal-visual {
    min-height: 190px;
  }
}

/* =====================================================================
   HOW IT WORKS CONTRAST + VISUAL FIX V2
   Hard overrides to stop white text on white backgrounds.
===================================================================== */

body .mx-hiw-page {
  background: linear-gradient(180deg, #f7f2e9 0%, #ffffff 45%, #f4eadb 100%) !important;
  color: #0b2239 !important;
}

body .mx-hiw-page h1,
body .mx-hiw-page h2,
body .mx-hiw-page h3,
body .mx-hiw-page h4 {
  color: #081f39 !important;
}

body .mx-hiw-page p,
body .mx-hiw-page li,
body .mx-hiw-page span,
body .mx-hiw-page div {
  color: #2e4154 !important;
}

body .mx-hiw-hero {
  padding: clamp(28px, 5vw, 58px) 0 clamp(18px, 3vw, 30px) !important;
}

body .mx-hiw-hero-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr) !important;
  gap: clamp(22px, 4vw, 44px) !important;
  align-items: center !important;
  min-height: 420px !important;
  padding: clamp(24px, 4vw, 50px) !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 86% 16%, rgba(215,166,92,.30), transparent 31%),
    linear-gradient(135deg, #071d34 0%, #0b3154 58%, #102f4c 100%) !important;
  box-shadow: 0 28px 72px rgba(6,23,42,.22) !important;
  border: 1px solid rgba(215,166,92,.24) !important;
}

body .mx-hiw-hero-card::before {
  content: none !important;
}

body .mx-hiw-hero-copy,
body .mx-hiw-visual-stack {
  position: relative !important;
  z-index: 2 !important;
}

body .mx-hiw-hero-copy h1 {
  color: #ffffff !important;
  max-width: 760px !important;
  margin: 0 !important;
  font-size: clamp(36px, 5.4vw, 66px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

body .mx-hiw-hero-copy p {
  color: rgba(255,255,255,.88) !important;
  max-width: 660px !important;
  margin: 18px 0 0 !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  line-height: 1.7 !important;
}

body .mx-hiw-visual-stack {
  display: grid !important;
  gap: 16px !important;
}

body .mx-hiw-photo-card {
  min-height: 245px !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,244,220,.93)),
    radial-gradient(circle at 82% 20%, rgba(215,166,92,.55), transparent 30%) !important;
  border: 1px solid rgba(255,255,255,.26) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.18) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-photo-card::before {
  content: "✓";
  position: absolute;
  top: 28px;
  left: 28px;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #081f39;
  color: #f0d092;
  font-size: 31px;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(8,31,57,.22);
}

body .mx-hiw-photo-card::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: min(68%, 320px);
  height: 136px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(8,31,57,.98), rgba(13,55,88,.95));
  box-shadow: -22px -18px 0 rgba(215,166,92,.22), 0 20px 42px rgba(8,31,57,.20);
}

body .mx-hiw-mini-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

body .mx-hiw-mini {
  min-height: 132px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #ffffff, #fff4dd) !important;
  border: 1px solid rgba(255,255,255,.26) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.12) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-mini::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin: 24px auto 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #d7a65c, #f0d092);
  box-shadow: 0 14px 28px rgba(215,166,92,.30);
}

body .mx-hiw-body {
  padding: clamp(18px, 3.5vw, 38px) 0 clamp(48px, 7vw, 88px) !important;
}

body .mx-hiw-intro-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr) !important;
  gap: clamp(22px, 4vw, 44px) !important;
  align-items: start !important;
  margin-bottom: clamp(28px, 4vw, 46px) !important;
}

body .mx-hiw-intro-panel,
body .mx-hiw-note-panel,
body .mx-hiw-step,
body .mx-hiw-portal-panel {
  background: #ffffff !important;
  color: #0b2239 !important;
  border: 1px solid rgba(8,31,57,.12) !important;
  box-shadow: 0 18px 48px rgba(8,31,57,.08) !important;
}

body .mx-hiw-intro-panel {
  border-radius: 30px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  position: sticky !important;
  top: 104px !important;
}

body .mx-hiw-intro-panel h2,
body .mx-hiw-portal-panel h2 {
  color: #081f39 !important;
  margin: 0 0 14px !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.03em !important;
}

body .mx-hiw-intro-panel p,
body .mx-hiw-portal-panel p,
body .mx-hiw-step p,
body .mx-hiw-note-panel p {
  color: #314357 !important;
  line-height: 1.72 !important;
}

body .mx-hiw-note-panel {
  margin-top: 20px !important;
  border-radius: 24px !important;
  padding: 22px !important;
  border-left: 7px solid #d7a65c !important;
  background: linear-gradient(135deg, #fff, #fff8ea) !important;
}

body .mx-hiw-timeline {
  position: relative !important;
  display: grid !important;
  gap: 18px !important;
}

body .mx-hiw-timeline::before {
  content: "" !important;
  position: absolute !important;
  left: 26px !important;
  top: 20px !important;
  bottom: 20px !important;
  width: 2px !important;
  background: linear-gradient(180deg, rgba(215,166,92,.1), rgba(215,166,92,.85), rgba(215,166,92,.1)) !important;
}

body .mx-hiw-step {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: clamp(18px, 3vw, 26px) !important;
  border-radius: 26px !important;
}

body .mx-hiw-step-number {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #d7a65c, #f0d092) !important;
  color: #081f39 !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 24px rgba(215,166,92,.30) !important;
  z-index: 2 !important;
}

body .mx-hiw-step h3 {
  margin: 0 0 8px !important;
  color: #081f39 !important;
  font-size: clamp(20px, 2.2vw, 27px) !important;
}

body .mx-hiw-step p {
  margin: 0 !important;
}

body .mx-hiw-portal-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr) !important;
  gap: clamp(18px, 3vw, 34px) !important;
  align-items: center !important;
  margin-top: clamp(28px, 4vw, 48px) !important;
  padding: clamp(22px, 4vw, 42px) !important;
  border-radius: 32px !important;
  background: linear-gradient(135deg, #ffffff, #fff6e6) !important;
}

body .mx-hiw-portal-visual {
  min-height: 280px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 30% 25%, rgba(215,166,92,.40), transparent 28%),
    linear-gradient(135deg, #081f39, #123b5f) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.20), 0 18px 48px rgba(6,23,42,.16) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-portal-visual::before {
  content: "";
  position: absolute;
  inset: 36px;
  border-radius: 24px;
  border: 2px solid rgba(240,208,146,.56);
}

body .mx-hiw-portal-visual::after {
  content: "Reports • Photos • Invoices • Updates";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: #081f39;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 14px 32px rgba(0,0,0,.16);
}

body .mx-hiw-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 22px !important;
}

body .mx-hiw-cta-row a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 13px 19px !important;
  border-radius: 999px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body .mx-hiw-cta-primary {
  background: linear-gradient(135deg, #d7a65c, #f0d092) !important;
  color: #06172a !important;
}

body .mx-hiw-cta-secondary {
  border: 1px solid rgba(8,31,57,.18) !important;
  color: #081f39 !important;
  background: #fff !important;
}

@media (max-width: 980px) {
  body .mx-hiw-hero-card,
  body .mx-hiw-intro-grid,
  body .mx-hiw-portal-panel {
    grid-template-columns: 1fr !important;
  }

  body .mx-hiw-intro-panel {
    position: static !important;
  }
}

@media (max-width: 640px) {
  body .mx-hiw-hero {
    padding-top: 20px !important;
  }

  body .mx-hiw-hero-card {
    min-height: auto !important;
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body .mx-hiw-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px) !important;
  }

  body .mx-hiw-photo-card {
    min-height: 185px !important;
    border-radius: 22px !important;
  }

  body .mx-hiw-mini-grid {
    grid-template-columns: 1fr !important;
  }

  body .mx-hiw-mini {
    min-height: 105px !important;
  }

  body .mx-hiw-step {
    grid-template-columns: 44px 1fr !important;
    gap: 14px !important;
    border-radius: 22px !important;
  }

  body .mx-hiw-step-number {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }

  body .mx-hiw-timeline::before {
    left: 21px !important;
  }

  body .mx-hiw-portal-visual {
    min-height: 210px !important;
  }

  body .mx-hiw-portal-visual::after {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: 13px;
  }
}


/* =====================================================================
   HOW IT WORKS PREMIUM VISUAL FIX V3
   Strong visible graphics + proper CTA buttons.
   Does not add page wording; written page content remains in content_pages.
===================================================================== */

body .mx-hiw-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(215,166,92,.18), transparent 28%),
    linear-gradient(180deg, #fbf5eb 0%, #ffffff 42%, #f5ecde 100%) !important;
  color: #081f39 !important;
  overflow: hidden !important;
}

body .mx-hiw-page h1,
body .mx-hiw-page h2,
body .mx-hiw-page h3 {
  color: #081f39 !important;
}

body .mx-hiw-page p,
body .mx-hiw-page li {
  color: #314357 !important;
}

body .mx-hiw-hero {
  padding: clamp(28px, 5vw, 62px) 0 clamp(18px, 3vw, 34px) !important;
}

body .mx-hiw-hero-card {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr) !important;
  gap: clamp(24px, 4vw, 52px) !important;
  align-items: center !important;
  min-height: 455px !important;
  padding: clamp(24px, 4vw, 54px) !important;
  border-radius: 36px !important;
  background:
    linear-gradient(105deg, rgba(2,11,21,.96) 0%, rgba(6,23,42,.86) 48%, rgba(6,23,42,.20) 100%),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat !important;
  border: 1px solid rgba(215,166,92,.28) !important;
  box-shadow: 0 34px 90px rgba(6,23,42,.24) !important;
}

body .mx-hiw-hero-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(215,166,92,.28), transparent 30%),
    linear-gradient(90deg, rgba(2,11,21,.68), rgba(2,11,21,.10)) !important;
  pointer-events: none !important;
}

body .mx-hiw-hero-copy,
body .mx-hiw-visual-stack {
  position: relative !important;
  z-index: 2 !important;
}

body .mx-hiw-hero-copy h1 {
  color: #ffffff !important;
  max-width: 760px !important;
  margin: 0 !important;
  font-size: clamp(38px, 5.8vw, 72px) !important;
  line-height: .96 !important;
  letter-spacing: -.052em !important;
  text-shadow: 0 18px 40px rgba(0,0,0,.28) !important;
}

body .mx-hiw-hero-copy p {
  color: rgba(255,255,255,.90) !important;
  max-width: 660px !important;
  margin: 20px 0 0 !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  line-height: 1.72 !important;
}

body .mx-hiw-visual-stack {
  display: grid !important;
  gap: 16px !important;
}

body .mx-hiw-photo-card {
  min-height: 268px !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(6,23,42,.03), rgba(6,23,42,.42)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.22) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-photo-card::before {
  content: "" !important;
  position: absolute !important;
  left: 24px !important;
  bottom: 24px !important;
  width: 78px !important;
  height: 78px !important;
  border-radius: 26px !important;
  background:
    linear-gradient(135deg, rgba(215,166,92,.95), rgba(240,208,146,.95)) !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.24) !important;
}

body .mx-hiw-photo-card::after {
  content: "" !important;
  position: absolute !important;
  left: 47px !important;
  bottom: 48px !important;
  width: 31px !important;
  height: 17px !important;
  border-left: 5px solid #081f39 !important;
  border-bottom: 5px solid #081f39 !important;
  transform: rotate(-45deg) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body .mx-hiw-mini-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

body .mx-hiw-mini {
  min-height: 142px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.17) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-mini:first-child {
  background:
    linear-gradient(180deg, rgba(6,23,42,.02), rgba(6,23,42,.40)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=85") center/cover no-repeat !important;
}

body .mx-hiw-mini:last-child {
  background:
    linear-gradient(180deg, rgba(6,23,42,.02), rgba(6,23,42,.40)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=900&q=85") center/cover no-repeat !important;
}

body .mx-hiw-mini::before {
  content: "" !important;
  position: absolute !important;
  inset: auto 18px 18px auto !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border-radius: 17px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.20) !important;
}

body .mx-hiw-body {
  padding: clamp(18px, 3.5vw, 42px) 0 clamp(52px, 8vw, 96px) !important;
}

body .mx-hiw-intro-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr) !important;
  gap: clamp(22px, 4vw, 46px) !important;
  align-items: start !important;
  margin-bottom: clamp(28px, 5vw, 54px) !important;
}

body .mx-hiw-intro-panel,
body .mx-hiw-note-panel,
body .mx-hiw-step,
body .mx-hiw-portal-panel {
  background: rgba(255,255,255,.96) !important;
  color: #081f39 !important;
  border: 1px solid rgba(8,31,57,.11) !important;
  box-shadow: 0 22px 58px rgba(8,31,57,.09) !important;
}

body .mx-hiw-intro-panel {
  border-radius: 32px !important;
  padding: clamp(24px, 3.4vw, 38px) !important;
  position: sticky !important;
  top: 104px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,229,.96)) !important;
}

body .mx-hiw-intro-panel h2,
body .mx-hiw-portal-panel h2 {
  color: #081f39 !important;
  margin: 0 0 14px !important;
  font-size: clamp(26px, 3vw, 40px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.034em !important;
}

body .mx-hiw-intro-panel p,
body .mx-hiw-portal-panel p,
body .mx-hiw-step p,
body .mx-hiw-note-panel p {
  color: #314357 !important;
  line-height: 1.72 !important;
}

body .mx-hiw-note-panel {
  margin-top: 22px !important;
  border-radius: 26px !important;
  padding: 23px !important;
  border-left: 7px solid #d7a65c !important;
  background: #ffffff !important;
}

body .mx-hiw-timeline {
  position: relative !important;
  display: grid !important;
  gap: 18px !important;
}

body .mx-hiw-timeline::before {
  content: "" !important;
  position: absolute !important;
  left: 27px !important;
  top: 20px !important;
  bottom: 20px !important;
  width: 2px !important;
  background: linear-gradient(180deg, rgba(215,166,92,.10), rgba(215,166,92,.86), rgba(215,166,92,.10)) !important;
}

body .mx-hiw-step {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: clamp(18px, 3vw, 27px) !important;
  border-radius: 28px !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

body .mx-hiw-step:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 26px 68px rgba(8,31,57,.13) !important;
}

body .mx-hiw-step-number {
  width: 56px !important;
  height: 56px !important;
  border-radius: 19px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #d7a65c, #f0d092) !important;
  color: #081f39 !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  box-shadow: 0 12px 28px rgba(215,166,92,.32) !important;
  z-index: 2 !important;
}

body .mx-hiw-step h3 {
  margin: 0 0 8px !important;
  color: #081f39 !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
}

body .mx-hiw-step p {
  margin: 0 !important;
  color: #314357 !important;
}

body .mx-hiw-portal-panel {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .82fr) !important;
  gap: clamp(20px, 3.5vw, 40px) !important;
  align-items: center !important;
  margin-top: clamp(30px, 5vw, 58px) !important;
  padding: clamp(24px, 4vw, 46px) !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,244,221,.95)) !important;
}

body .mx-hiw-portal-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 85% 18%, rgba(215,166,92,.22), transparent 30%) !important;
  pointer-events: none !important;
}

body .mx-hiw-portal-panel > * {
  position: relative !important;
  z-index: 1 !important;
}

body .mx-hiw-portal-visual {
  min-height: 300px !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(6,23,42,.05), rgba(6,23,42,.42)),
    url("https://images.unsplash.com/photo-1582407947304-fd86f028f716?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), 0 22px 54px rgba(6,23,42,.16) !important;
  position: relative !important;
  overflow: hidden !important;
}

body .mx-hiw-portal-visual::before {
  content: "" !important;
  position: absolute !important;
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  height: 94px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,247,232,.94)) !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.18) !important;
}

body .mx-hiw-portal-visual::after {
  content: "" !important;
  position: absolute !important;
  left: 50px !important;
  right: 50px !important;
  bottom: 58px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(90deg, #d7a65c 0 22%, rgba(8,31,57,.18) 22% 100%) !important;
  box-shadow:
    0 22px 0 rgba(8,31,57,.12),
    0 -22px 0 rgba(8,31,57,.12) !important;
}

body .mx-hiw-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 13px !important;
  margin-top: 24px !important;
}

body .mx-hiw-cta-row a,
body .mx-hiw-cta-primary,
body .mx-hiw-cta-secondary {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 190px !important;
  min-height: 54px !important;
  padding: 15px 24px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body .mx-hiw-cta-primary {
  color: #06172a !important;
  background: linear-gradient(135deg, #d7a65c, #f0d092) !important;
  border: 1px solid rgba(215,166,92,.88) !important;
  box-shadow: 0 16px 36px rgba(215,166,92,.32) !important;
}

body .mx-hiw-cta-secondary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #081f39, #0d385e) !important;
  border: 1px solid rgba(8,31,57,.90) !important;
  box-shadow: 0 16px 36px rgba(8,31,57,.18) !important;
}

body .mx-hiw-cta-row a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 48px rgba(8,31,57,.22) !important;
}

@media (max-width: 980px) {
  body .mx-hiw-hero-card,
  body .mx-hiw-intro-grid,
  body .mx-hiw-portal-panel {
    grid-template-columns: 1fr !important;
  }

  body .mx-hiw-intro-panel {
    position: static !important;
  }

  body .mx-hiw-hero-card {
    min-height: auto !important;
  }
}

@media (max-width: 640px) {
  body .mx-hiw-hero {
    padding-top: 20px !important;
  }

  body .mx-hiw-hero-card {
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body .mx-hiw-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px) !important;
  }

  body .mx-hiw-photo-card {
    min-height: 210px !important;
    border-radius: 22px !important;
  }

  body .mx-hiw-mini-grid {
    grid-template-columns: 1fr !important;
  }

  body .mx-hiw-mini {
    min-height: 138px !important;
  }

  body .mx-hiw-step {
    grid-template-columns: 44px 1fr !important;
    gap: 14px !important;
    border-radius: 22px !important;
  }

  body .mx-hiw-step-number {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  body .mx-hiw-timeline::before {
    left: 21px !important;
  }

  body .mx-hiw-portal-visual {
    min-height: 230px !important;
  }

  body .mx-hiw-cta-row,
  body .mx-hiw-cta-row a {
    width: 100% !important;
  }

  body .mx-hiw-cta-row a {
    min-width: 0 !important;
  }
}


/* =====================================================================
   HOW IT WORKS V4 - REMOVE DECORATIVE IMAGE BLOBS + CENTRE CTAS
===================================================================== */

body .mx-hiw-photo-card::before,
body .mx-hiw-photo-card::after,
body .mx-hiw-mini::before,
body .mx-hiw-portal-visual::before,
body .mx-hiw-portal-visual::after {
  content: none !important;
  display: none !important;
}

body .mx-hiw-photo-card,
body .mx-hiw-mini:first-child,
body .mx-hiw-mini:last-child,
body .mx-hiw-portal-visual {
  background-blend-mode: normal !important;
}

body .mx-hiw-photo-card {
  background:
    linear-gradient(180deg, rgba(6,23,42,.03), rgba(6,23,42,.28)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat !important;
}

body .mx-hiw-mini:first-child {
  background:
    linear-gradient(180deg, rgba(6,23,42,.02), rgba(6,23,42,.24)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=85") center/cover no-repeat !important;
}

body .mx-hiw-mini:last-child {
  background:
    linear-gradient(180deg, rgba(6,23,42,.02), rgba(6,23,42,.24)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=900&q=85") center/cover no-repeat !important;
}

body .mx-hiw-portal-visual {
  background:
    linear-gradient(180deg, rgba(6,23,42,.03), rgba(6,23,42,.24)),
    url("https://images.unsplash.com/photo-1582407947304-fd86f028f716?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat !important;
}

body .mx-hiw-portal-panel .mx-hiw-cta-row {
  justify-content: center !important;
  text-align: center !important;
}

body .mx-hiw-portal-panel > div:first-child {
  text-align: center !important;
}

body .mx-hiw-portal-panel p {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  body .mx-hiw-portal-panel .mx-hiw-cta-row {
    justify-content: stretch !important;
  }
}
