/* ==========================================================================
   Meetoxx — modern theme overrides
   Loaded AFTER main.css to override legacy styles.
   ========================================================================== */

:root {
  /* Brand palette — modern matrimony */
  --mx-primary: #E63E62;          /* vibrant rose */
  --mx-primary-700: #B92B4A;
  --mx-primary-50:  #FFF1F4;
  --mx-accent: #F4A261;            /* warm peach */
  --mx-deep: #1B1730;              /* deep navy/plum */
  --mx-deep-2: #2A2349;
  --mx-bg: #FBF7F4;                /* warm off-white */
  --mx-surface: #FFFFFF;
  --mx-ink: #14131F;               /* near black */
  --mx-ink-2: #2A2735;
  --mx-muted: #5A5668;
  --mx-border: #EDE5DD;
  --mx-on-dark: #FFFFFF;
  --mx-on-dark-muted: #C9C3D6;

  --mx-shadow-sm: 0 1px 3px rgba(20, 19, 31, 0.06), 0 1px 2px rgba(20, 19, 31, 0.04);
  --mx-shadow-md: 0 4px 12px rgba(20, 19, 31, 0.08), 0 2px 4px rgba(20, 19, 31, 0.05);
  --mx-shadow-lg: 0 12px 32px rgba(20, 19, 31, 0.14), 0 4px 8px rgba(20, 19, 31, 0.06);

  --mx-radius-sm: 8px;
  --mx-radius-md: 14px;
  --mx-radius-lg: 22px;
  --mx-radius-pill: 999px;

  --mx-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mx-font-display: 'Playfair Display', 'Georgia', serif;

  --mx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --mx-dur: 250ms;
}

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

/* ─────────────────────────────────────────────────────────────────────────
   Mobile overflow safety: prevent any descendant from creating horizontal
   scroll. Several legacy hero images and decorative shapes use
   transform/translateX/width:122% etc. that push content past the viewport
   on small screens — clipping the body at the document level is the most
   robust fix without auditing every offender.
   ───────────────────────────────────────────────────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body,
body.three {
  font-family: var(--mx-font-body) !important;
  background: var(--mx-bg) !important;
  color: var(--mx-ink) !important;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* ─── Mobile (≤ 768px) responsive resets for legacy template offenders ─── */
@media (max-width: 768px) {
  /* Hero illustration: undo the desktop -122px shift + 122% width that
     pushes the image off-canvas on phones. */
  .hero-section .hero-img img,
  .hero-section-three .hero-img img,
  body.three .hero-img img {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
  }
  /* Decorative shape divs / floating illustrations: hide on mobile so they
     can't extend layout beyond the viewport. */
  .shap1, .shap2, .shap3, .shape, .shap-img,
  body.three .shap1, body.three .shap2, body.three .shape {
    display: none !important;
  }
  /* Cap hero/banner headings so they shrink to fit small viewports — the
     legacy template hard-codes 40-70px which overflows a 390px phone. */
  body.three .hero-section-three .hero-text h1,
  body.three .hero-section-three .hero-text-three h1,
  body.three .bannr .hero-text-three h1,
  body.three .breadcumb-title,
  .hero-section-three .hero-text h1,
  .hero-section-three .hero-text-three h1,
  .bannr .hero-text-three h1,
  .breadcumb-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  /* Headings shouldn't be forced onto one line anywhere. */
  body.three h1, body.three h2, body.three h3 {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    max-width: 100% !important;
  }
  /* Long URLs / unbreakable words shouldn't push paragraphs wide. */
  body.three p, body.three li, body.three a {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  /* Common section padding so content isn't flush with the viewport edge. */
  .container, .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }
  /* Make hero columns stack cleanly. */
  .hero-section-three .row,
  .hero-section-three .row > * {
    max-width: 100% !important;
  }
  /* Top announcement bar text overflowing on mobile. */
  .mx-topbar-inner { flex-wrap: wrap !important; gap: .35rem !important; }
  .mx-topbar-item { font-size: .78rem !important; white-space: normal !important; }
  /* Tables in blog content should scroll horizontally instead of breaking layout. */
  .mx-blog-content table,
  body.three table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }
}

body.three p,
body.three li,
body.three span:not([class*="brand"]):not([class*="caret"]) {
  color: var(--mx-ink-2);
}

img { max-width: 100%; height: auto; }

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

/* ----- Typography ----- */
body.three h1,
body.three h2,
body.three h3,
body.three h4,
body.three h5,
body.three h6,
body.three .heading h2,
body.three .heading h3,
body.three .hero-text-three h1,
body.three .breadcumb-title {
  font-family: var(--mx-font-display) !important;
  font-weight: 700;
  color: var(--mx-ink) !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body.three h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
body.three h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
body.three h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
body.three h4 { font-size: 1.1rem; }

/* Remove legacy pink underline on headings, replace with accent color on inner span */
body.three .heading h2 span,
body.three .heading h3 span,
body.three h2 span,
body.three h1 span {
  border-bottom: none !important;
  color: var(--mx-primary) !important;
  background: none !important;
  -webkit-text-fill-color: var(--mx-primary) !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
}

/* Heading subtitle */
body.three .heading p,
body.three .heading h5 {
  color: var(--mx-muted) !important;
}

a {
  transition: color var(--mx-dur) var(--mx-ease);
}
a:hover {
  color: var(--mx-primary-700);
}

/* ----- Container ----- */
.container { max-width: 1200px; }

/* ----- Buttons (override body.three .btn) ----- */
body.three .btn,
body.three a.btn,
body.three button.btn,
body.three .th-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem !important;
  border-radius: var(--mx-radius-pill) !important;
  font-weight: 600 !important;
  font-family: var(--mx-font-body) !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
  white-space: normal !important;
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease),
              background-color var(--mx-dur) var(--mx-ease),
              color var(--mx-dur) var(--mx-ease) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer;
  background-color: var(--mx-primary) !important;
  background-image: linear-gradient(135deg, var(--mx-primary) 0%, var(--mx-primary-700) 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(230, 62, 98, 0.28);
  overflow: visible !important;
  line-height: 1.4 !important;
  position: relative;
  z-index: 1;
}
body.three .btn::after { display: none !important; }
body.three .btn:hover,
body.three a.btn:hover,
body.three .th-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(230, 62, 98, 0.35);
  color: #fff !important;
  background-image: linear-gradient(135deg, var(--mx-primary-700) 0%, var(--mx-primary) 100%) !important;
}
body.three .btn span { color: #fff !important; }
body.three .btn:hover span { color: #fff !important; }

/* Outline variant */
body.three .btn-outline,
body.three .btn-outline-primary {
  background-image: none !important;
  background-color: transparent !important;
  color: var(--mx-primary) !important;
  border: 2px solid var(--mx-primary) !important;
  box-shadow: none;
}
body.three .btn-outline:hover,
body.three .btn-outline-primary:hover {
  background-color: var(--mx-primary) !important;
  color: #fff !important;
}

/* ----- Top announcement bar ----- */
.mx-topbar {
  background: linear-gradient(90deg, var(--mx-deep) 0%, var(--mx-deep-2) 50%, var(--mx-deep) 100%);
  color: var(--mx-on-dark-muted) !important;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mx-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mx-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mx-on-dark-muted) !important;
}
.mx-topbar-item svg { width: 14px; height: 14px; color: var(--mx-accent); }
.mx-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: background var(--mx-dur) var(--mx-ease);
}
.mx-topbar-cta:hover { background: var(--mx-primary); color: #fff !important; }
.mx-topbar-cta svg { width: 12px; height: 12px; }
@media (max-width: 768px) {
  .mx-topbar { font-size: 0.75rem; }
  .mx-topbar-hide-md { display: none; }
}
@media (max-width: 576px) {
  .mx-topbar-inner { justify-content: center; text-align: center; }
}

/* ----- Main Header ----- */
.mx-header,
#stickyHeader {
  background: rgba(255, 255, 255, 0.94) !important;
  background-image: none !important;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(20,19,31,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--mx-dur) var(--mx-ease),
              background var(--mx-dur) var(--mx-ease);
  padding: 0;
}
.mx-header.is-scrolled,
#stickyHeader.is-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(20, 19, 31, 0.08);
}

.mx-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  min-height: 76px;
}

/* Logo */
.mx-logo {
  display: inline-block;
  flex: 0 0 auto;
  line-height: 0;
  transition: transform var(--mx-dur) var(--mx-ease);
}
.mx-logo:hover { transform: scale(1.03); }
.mx-logo img {
  height: 56px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block;
}

/* Nav (desktop) */
.mx-nav { flex: 1; display: flex; justify-content: center; }
.mx-nav .main-nav {
  display: inline-flex !important;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  gap: 0.15rem;
  background: var(--mx-bg);
  border: 1px solid var(--mx-border);
  border-radius: 999px;
  align-items: center;
}
.mx-nav .main-nav > li { margin: 0; }
.mx-nav .main-nav > li > a {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  color: var(--mx-ink-2) !important;
  font-weight: 500;
  font-size: 0.93rem;
  border-radius: 999px;
  text-decoration: none !important;
  position: relative;
  transition: color var(--mx-dur) var(--mx-ease),
              background-color var(--mx-dur) var(--mx-ease);
}
.mx-nav .main-nav > li > a:hover { color: var(--mx-primary) !important; }
.mx-nav .main-nav > li > a.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-primary-700));
  box-shadow: 0 4px 12px rgba(230, 62, 98, 0.28);
}

/* Right cluster */
.mx-header-right {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

/* Email pill */
.mx-header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.55rem 0.5rem;
  background: var(--mx-bg);
  border: 1px solid var(--mx-border);
  border-radius: 999px;
  color: var(--mx-ink-2) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.88rem;
  transition: border-color var(--mx-dur) var(--mx-ease),
              transform var(--mx-dur) var(--mx-ease);
}
.mx-header-email:hover {
  border-color: var(--mx-primary);
  color: var(--mx-primary) !important;
  transform: translateY(-1px);
}
.mx-header-email svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--mx-primary);
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(230, 62, 98, 0.32);
}

/* Premium login CTA */
.mx-cta-login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-primary-700));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px -4px rgba(230, 62, 98, 0.45),
              0 4px 8px rgba(230, 62, 98, 0.2);
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease),
              background var(--mx-dur) var(--mx-ease);
  position: relative;
  overflow: hidden;
}
.mx-cta-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 600ms var(--mx-ease);
}
.mx-cta-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(230, 62, 98, 0.55),
              0 6px 14px rgba(230, 62, 98, 0.28);
  color: #fff !important;
}
.mx-cta-login:hover::before { transform: translateX(100%); }
.mx-cta-login span { color: #fff !important; }
.mx-cta-login svg {
  width: 16px;
  height: 16px;
  transition: transform var(--mx-dur) var(--mx-ease);
}
.mx-cta-login:hover svg { transform: translateX(3px); }

/* Hide email pill on smaller desktops to keep header tidy */
@media (max-width: 1199px) {
  .mx-header-email-text { display: none; }
  .mx-header-email { padding: 0.25rem; border: none; background: transparent; }
}
@media (max-width: 992px) {
  .mx-header-email { display: none; }
  .mx-nav { display: none; }
  .mx-cta-login { padding: 0.55rem 1rem; font-size: 0.85rem; }
}
@media (max-width: 576px) {
  .mx-cta-login span { display: none; }
  .mx-cta-login { padding: 0.55rem 0.7rem; }
  .mx-header-row { padding: 0.5rem 0; min-height: 64px; }
  .mx-logo img { height: 44px !important; }
}

/* Mobile menu icon */
.mobile-menu-icon {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--mx-primary-50);
  color: var(--mx-primary) !important;
  border-radius: var(--mx-radius-sm);
  cursor: pointer;
  transition: background var(--mx-dur) var(--mx-ease), color var(--mx-dur) var(--mx-ease);
  border: 1px solid var(--mx-border);
}
.mobile-menu-icon:hover {
  background: var(--mx-primary) !important;
  color: #fff !important;
}
.mobile-menu-icon span { font-size: 22px !important; color: inherit !important; }
.mobile-menu-icon svg {
  width: 22px;
  height: 22px;
  color: inherit;
  display: block;
}
.close-sidebar {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--mx-ink);
  border-radius: 8px;
  transition: color var(--mx-dur) var(--mx-ease), background var(--mx-dur) var(--mx-ease);
}
.close-sidebar:hover { color: var(--mx-primary); background: var(--mx-primary-50); }
.close-sidebar svg { width: 22px; height: 22px; display: block; }

/* Sidebar overlay & sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 31, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mx-dur) var(--mx-ease);
  z-index: 1100;
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

.sidebar-menu {
  position: fixed !important;
  top: 0;
  right: -340px;
  width: 320px !important;
  max-width: 85vw;
  height: 100vh !important;
  background: var(--mx-surface) !important;
  padding: 1.5rem !important;
  box-shadow: var(--mx-shadow-lg);
  transition: right var(--mx-dur) var(--mx-ease);
  z-index: 1101;
  overflow-y: auto;
  border-radius: 0 !important;
  display: block !important;
}
.sidebar-menu.active { right: 0; }
.sidebar-menu ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.sidebar-menu ul li a {
  display: block !important;
  padding: 0.95rem 0.5rem !important;
  color: var(--mx-ink) !important;
  font-weight: 500;
  border-bottom: 1px solid var(--mx-border);
  text-decoration: none !important;
  font-family: var(--mx-font-body) !important;
}
.sidebar-menu ul li a:hover { color: var(--mx-primary) !important; }
.sidebar-menu .close-sidebar {
  color: var(--mx-ink) !important;
  transition: color var(--mx-dur) var(--mx-ease);
}
.sidebar-menu .close-sidebar:hover { color: var(--mx-primary) !important; }

@media (max-width: 992px) {
  .mobile-menu-icon { display: inline-flex !important; }
  #stickyHeader nav,
  #stickyHeader .login { display: none !important; }
  #stickyHeader .logo img { height: 48px !important; }
}

/* ----- Hero ----- */
body.three .hero-section-three,
body.three .hero-section-three.for {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.85) 100%),
    radial-gradient(ellipse at top right, rgba(244, 162, 97, 0.25), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(230, 62, 98, 0.15), transparent 60%),
    var(--mx-bg) !important;
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  margin-top: 0 !important;
}

body.three .hero-section-three .hero-text h1,
body.three .hero-section-three .hero-text h2,
body.three .hero-section-three .hero-text h3,
body.three .hero-section-three .hero-text-three h1 {
  color: var(--mx-ink) !important;
  font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
  line-height: 1.15;
  margin-bottom: 1rem;
  padding: 0 !important;
}
body.three .hero-section-three .hero-text p,
body.three .hero-section-three .hero-text strong,
body.three .hero-section-three .hero-text h5 {
  color: var(--mx-muted) !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  padding: 0 !important;
}
body.three .hero-section-three .hero-text strong {
  color: var(--mx-ink-2) !important;
  font-weight: 600 !important;
}

.btn-apple {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
  align-items: center;
}
.btn-apple a {
  display: inline-block;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}
.btn-apple img {
  height: 48px;
  width: auto;
  transition: transform var(--mx-dur) var(--mx-ease);
  border-radius: 6px;
}
.btn-apple a:hover img { transform: translateY(-2px); }

.google-star {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.google-star img { height: 26px; }
.google-star .stars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 0.15rem;
}
.google-star .stars i { color: #F4A261; }

body.three .hero-section-three .hero-img img {
  border-radius: var(--mx-radius-lg);
  box-shadow: var(--mx-shadow-lg);
  background: var(--mx-surface);
}

/* Hero couple image — floating effect with gradient glow backdrop */
.mx-hero-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.mx-hero-img .mx-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(230, 62, 98, 0.22) 0%, rgba(244, 162, 97, 0.18) 35%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}
.mx-hero-img picture,
.mx-hero-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 50% / 42%;
  box-shadow: 0 30px 60px -20px rgba(230, 62, 98, 0.35),
              0 18px 36px -12px rgba(20, 19, 31, 0.18);
  animation: mxFloat 6s ease-in-out infinite;
}
.mx-hero-img::before,
.mx-hero-img::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.mx-hero-img::before {
  width: 14px; height: 14px;
  background: var(--mx-primary);
  top: 10%; left: 6%;
  box-shadow: 0 0 0 6px rgba(230, 62, 98, 0.12);
  animation: mxFloat 5s ease-in-out infinite reverse;
}
.mx-hero-img::after {
  width: 22px; height: 22px;
  background: var(--mx-accent);
  bottom: 12%; right: 4%;
  box-shadow: 0 0 0 8px rgba(244, 162, 97, 0.18);
  animation: mxFloat 7s ease-in-out infinite;
}

@keyframes mxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .mx-hero-img img,
  .mx-hero-img::before,
  .mx-hero-img::after { animation: none; }
}
@media (max-width: 768px) {
  .mx-hero-img picture,
  .mx-hero-img img { max-height: 360px; }
}

/* ----- Sections ----- */
body.three section { padding: clamp(3rem, 6vw, 5rem) 0; }
body.three .heading {
  margin-bottom: 2rem;
}
body.three .heading h2 {
  margin: 0 0 0.5rem 0;
}
body.three .heading h5,
body.three .heading p {
  font-family: var(--mx-font-body) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem !important;
  color: var(--mx-primary) !important;
  margin-bottom: 0.5rem;
}
body.three .heading p {
  text-transform: none;
  letter-spacing: normal;
  color: var(--mx-muted) !important;
  font-weight: 400;
  font-size: 1rem !important;
  margin-top: 0.5rem;
}

/* ----- "How We Work" section ----- */
body.three .hero-section-three,
body.three .hero-section-three.for {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}
body.three section.mx-section-howwework {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem) !important;
}
body.three .mx-section-howwework .heading {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 720px;
}
body.three .mx-section-howwework .heading span {
  display: block;
  margin-bottom: 0.35rem;
}
body.three .mx-section-howwework .heading h2 {
  margin: 0 0 0.5rem 0;
}
body.three .mx-section-howwework .heading p {
  margin: 0.35rem auto 0;
  max-width: 56ch;
}

.mx-steps {
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.mx-step {
  position: relative;
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.4rem 1.1rem 1.25rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
  overflow: hidden;
}
.mx-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
}
.mx-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mx-primary), var(--mx-accent));
  opacity: 0;
  transition: opacity var(--mx-dur) var(--mx-ease);
}
.mx-step:hover::before { opacity: 1; }
.mx-step-featured {
  background: linear-gradient(180deg, var(--mx-primary-50), var(--mx-surface));
  border-color: rgba(230, 62, 98, 0.18);
}
.mx-step-featured::before { opacity: 1; }
.mx-step-num {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mx-primary);
  color: #fff !important;
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(230, 62, 98, 0.28);
}
body.three .mx-step img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
  margin: 0.15rem auto 0.6rem !important;
  display: block;
  background: transparent;
}
body.three .mx-step h3 {
  font-size: 1rem !important;
  margin: 0.2rem 0 0.35rem;
  color: var(--mx-ink) !important;
  line-height: 1.3;
}
body.three .mx-step p {
  color: var(--mx-muted) !important;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .mx-step { padding: 1.1rem 0.9rem; }
  body.three .mx-step img { width: 56px !important; height: 56px !important; }
}

/* ----- Auto-scrolling marquee strip ----- */
.mx-marquee {
  margin-top: 3rem;
  padding: 1rem 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--mx-deep) 0%, var(--mx-deep-2) 50%, var(--mx-deep) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  position: relative;
}
.mx-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: mxMarquee 38s linear infinite;
  padding-left: 2.5rem;
}
.mx-marquee:hover .mx-marquee-track { animation-play-state: paused; }
.mx-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff !important;
  font-family: var(--mx-font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
}
.mx-marquee-item span,
body.three .mx-marquee-item span {
  color: #fff !important;
  font-weight: 500;
}
.mx-marquee-item i,
body.three .mx-marquee-item i {
  color: var(--mx-accent) !important;
  font-size: 1.1rem;
}
.mx-marquee-item::after {
  content: "•";
  margin-left: 2.5rem;
  color: rgba(255, 255, 255, 0.25);
}
.mx-marquee-item:last-child::after { content: none; }

@keyframes mxMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mx-marquee-track { animation: none; }
  .mx-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
}
@media (max-width: 768px) {
  .mx-marquee-item { font-size: 0.9rem; gap: 0.4rem; }
  .mx-marquee-track { gap: 1.75rem; animation-duration: 28s; }
  .mx-marquee-item::after { margin-left: 1.75rem; }
  body.three .mx-step img { width: 80px !important; height: 80px !important; }
}

/* ----- Cards ----- */
body.three .blog-one,
body.three .work-step,
body.three .why-choose-item,
body.three .feature-card,
body.three .choose-item,
body.three .card {
  background: var(--mx-surface) !important;
  border-radius: var(--mx-radius-md) !important;
  padding: 1.5rem !important;
  box-shadow: var(--mx-shadow-sm);
  border: 1px solid var(--mx-border);
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
  height: 100%;
}
body.three .blog-one:hover,
body.three .work-step:hover,
body.three .why-choose-item:hover,
body.three .feature-card:hover,
body.three .choose-item:hover,
body.three .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
}

body.three .blog-one img {
  border-radius: var(--mx-radius-sm);
  width: 100%;
}
body.three .blog-one .blog-text h4,
body.three .blog-one .blog-text h3 {
  margin-top: 1rem;
}
body.three .blog-one .blog-text h4 a,
body.three .blog-one .blog-text h3 a,
body.three .blog-heading a {
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-display) !important;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.3;
}
body.three .blog-one .blog-text h4 a:hover,
body.three .blog-one .blog-text h3 a:hover,
body.three .blog-heading a:hover {
  color: var(--mx-primary) !important;
}
body.three .blog-paragraph,
body.three .blog-text p {
  color: var(--mx-muted) !important;
}

/* ----- About / generic content sections ----- */
body.three .about-conter h2,
body.three .heading h2 { color: var(--mx-ink) !important; }
body.three p, body.three li { color: var(--mx-ink-2); }

/* ----- Forms ----- */
body.three input[type=text],
body.three input[type=email],
body.three input[type=tel],
body.three input[type=password],
body.three input[type=search],
body.three textarea,
body.three select,
body.three .form-control {
  border: 1px solid var(--mx-border) !important;
  border-radius: var(--mx-radius-sm) !important;
  padding: 0.75rem 1rem !important;
  background: var(--mx-surface) !important;
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-body) !important;
  font-size: 0.95rem;
  transition: border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
body.three input:focus,
body.three textarea:focus,
body.three select:focus,
body.three .form-control:focus {
  outline: none !important;
  border-color: var(--mx-primary) !important;
  box-shadow: 0 0 0 3px var(--mx-primary-50) !important;
}

/* ----- Footer ----- */
/* Footer uses a brand-coherent dark plum-rose so it visually flows from the
   warm cream body into a deeper version of the rose primary, not a cold navy. */
body footer,
body.three footer,
footer.no-bottom,
.mx-footer {
  background-color: #2A0F1E !important; /* deep plum-rose, anchored to brand */
  background-image:
    radial-gradient(ellipse at top right, rgba(230, 62, 98, 0.22), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(244, 162, 97, 0.14), transparent 60%),
    linear-gradient(180deg, #3A1428 0%, #2A0F1E 60%, #1F0A17 100%) !important;
  color: #EFD9DE !important; /* warm rose-tinted off-white */
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem !important;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(230, 62, 98, 0.15);
}
.mx-footer,
.mx-footer *,
body.three .mx-footer,
body.three .mx-footer *,
body.three .mx-footer p,
body.three .mx-footer li,
body.three .mx-footer span,
body.three .mx-footer small,
body.three .mx-footer strong {
  color: #EFD9DE !important;
}

body.three .mx-footer h4,
body .mx-footer h4,
.mx-footer h4 {
  color: #ffffff !important;
  font-family: var(--mx-font-display) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem !important;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 0.6rem;
  display: block;
}
.mx-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--mx-primary), var(--mx-accent));
  border-radius: 2px;
}

/* Grid */
.mx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 992px) {
  .mx-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 576px) {
  .mx-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Brand column */
.mx-footer-brand .mx-footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none !important;
}
.mx-footer-brand .mx-footer-logo img {
  height: 56px !important;
  width: auto !important;
  opacity: 0.95;
}
/* Text wordmark — uses Playfair Display for brand-quality look without the
   destructive `brightness(0) invert(1)` filter that was wiping the logo to a
   solid white silhouette. */
.mx-footer-wordmark {
  font-family: var(--mx-font-display);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff !important;
  letter-spacing: -0.01em;
  display: inline-block;
}
.mx-footer-wordmark-accent {
  background: linear-gradient(90deg, var(--mx-primary), var(--mx-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.mx-footer-brand p {
  color: var(--mx-on-dark-muted) !important;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  max-width: 32ch;
}

/* App download mini-badge */
.mx-footer-app {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff !important;
  text-decoration: none !important;
  transition: background var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease),
              transform var(--mx-dur) var(--mx-ease);
}
.mx-footer-app:hover {
  background: var(--mx-primary);
  border-color: var(--mx-primary);
  transform: translateY(-2px);
  color: #fff !important;
}
.mx-footer-app svg { width: 22px; height: 22px; flex: 0 0 22px; color: #fff !important; }
body.three .mx-footer-app,
body.three .mx-footer-app span,
body.three .mx-footer-app small,
body.three .mx-footer-app strong {
  color: #ffffff !important;
}
.mx-footer-app span {
  display: flex !important;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.mx-footer-app small {
  font-size: 0.65rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.mx-footer-app strong {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--mx-font-body);
}

/* Link columns */
.mx-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mx-footer-col ul li a {
  color: var(--mx-on-dark-muted) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: color var(--mx-dur) var(--mx-ease), padding-left var(--mx-dur) var(--mx-ease);
  display: inline-block;
}
.mx-footer-col ul li a:hover {
  color: #fff !important;
  padding-left: 4px;
}

/* Contact column */
.mx-footer-contact li {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.mx-footer-contact li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--mx-accent);
  margin-top: 2px;
}
.mx-footer-contact li span,
.mx-footer-contact li a {
  color: var(--mx-on-dark-muted) !important;
  text-decoration: none !important;
}
.mx-footer-contact li a:hover { color: #fff !important; }

/* Social icons row */
.mx-footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.mx-footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  transition: background var(--mx-dur) var(--mx-ease),
              transform var(--mx-dur) var(--mx-ease);
}
.mx-footer-social a:hover {
  background: var(--mx-primary);
  transform: translateY(-2px);
}
.mx-footer-social a svg { width: 18px; height: 18px; }

/* Bottom bar */
.mx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mx-footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mx-on-dark-muted) !important;
}
.mx-footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.mx-footer-legal li a {
  color: var(--mx-on-dark-muted) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  transition: color var(--mx-dur) var(--mx-ease);
}
.mx-footer-legal li a:hover { color: #fff !important; }
@media (max-width: 576px) {
  .mx-footer-bottom { justify-content: center; text-align: center; }
  .mx-footer-legal { justify-content: center; }
}

/* Hide legacy footer .copy-right block now that we have grid (in case template still renders it) */
.mx-footer .copy-right { display: none !important; }

/* ----- Breadcrumb banner (.bannr) ----- */
body.three .bannr,
body.three .breadcumb-wrapper {
  background-color: var(--mx-deep) !important;
  background-image:
    linear-gradient(135deg, rgba(230, 62, 98, 0.55) 0%, rgba(27, 23, 48, 0.85) 100%),
    var(--bs-bg, none) !important;
  background-blend-mode: multiply !important;
  color: #fff !important;
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  text-align: center;
}
body.three .bannr h1,
body.three .bannr h2,
body.three .breadcumb-title {
  color: #fff !important;
}
body.three .bannr .breadcrumb,
body.three .breadcumb-menu {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--mx-radius-pill);
  margin: 0.5rem 0 0 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}
body.three .bannr .breadcrumb a,
body.three .bannr .breadcrumb-item,
body.three .breadcumb-menu a,
body.three .breadcumb-menu li {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
}
body.three .bannr .breadcrumb a:hover { opacity: 1; }
body.three .bannr .breadcrumb-item.active { opacity: 0.85; }

/* ----- Scroll animations ----- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--mx-ease), transform 600ms var(--mx-ease);
  will-change: opacity, transform;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ----- About page sections ----- */
body.three .mx-section-intro,
body.three .mx-section-mission,
body.three .mx-section-why,
body.three .mx-section-countries,
body.three .mx-section-faq,
body.three .mx-section-cta {
  padding: clamp(2.5rem, 5vw, 4rem) 0 !important;
}
body.three .mx-section-why,
body.three .mx-section-faq {
  background: var(--mx-surface);
}
body.three .mx-section-mission,
body.three .mx-section-countries {
  background: var(--mx-bg);
}

body.three .mx-mission-text {
  color: var(--mx-ink-2) !important;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0.5rem auto 0;
  max-width: 70ch;
}

/* Shared icon utility */
.mx-i,
.mx-stat-icon,
.mx-feature-icon svg,
.mx-country-badge svg,
.mx-faq summary svg {
  display: inline-block;
  vertical-align: middle;
}

/* Stats — horizontal strip of 4 cards */
.mx-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mx-stat-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease), box-shadow var(--mx-dur) var(--mx-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.mx-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
}
.mx-stat-icon {
  width: 28px;
  height: 28px;
  color: var(--mx-primary);
  margin-bottom: 0.25rem;
}
body.three .mx-stat-num {
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  background: linear-gradient(120deg, var(--mx-primary), var(--mx-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
}
body.three .mx-stat-num span {
  font-size: 0.75em;
  -webkit-text-fill-color: var(--mx-accent);
  background: none;
  color: var(--mx-accent) !important;
}
body.three .mx-stat-label {
  color: var(--mx-muted) !important;
  font-size: 0.85rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .mx-stats-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .mx-stat-card { padding: 1.1rem 0.85rem; }
}

/* Feature cards (Why Choose) */
.mx-feature {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.6rem 1.35rem;
  height: 100%;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease);
}
.mx-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
  border-color: rgba(230, 62, 98, 0.25);
}
.mx-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-primary-700));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
  box-shadow: 0 6px 14px rgba(230, 62, 98, 0.28);
}
.mx-feature-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
body.three .mx-feature h3 {
  font-size: 1.1rem !important;
  margin: 0 0 0.5rem;
  color: var(--mx-ink) !important;
}
body.three .mx-feature p {
  color: var(--mx-muted) !important;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Country grid — ISO badge + name */
.mx-country-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.6rem;
}
.mx-country-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-pill);
  transition: transform var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-country-grid li:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 62, 98, 0.3);
  box-shadow: var(--mx-shadow-sm);
}
.mx-country-badge {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-accent));
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--mx-font-body);
  letter-spacing: 0.04em;
}
.mx-country-badge svg {
  width: 16px;
  height: 16px;
  color: #fff;
}
body.three .mx-country-name {
  color: var(--mx-ink-2) !important;
  font-weight: 500;
  font-size: 0.95rem;
}
.mx-country-more .mx-country-badge {
  background: linear-gradient(135deg, var(--mx-accent), var(--mx-primary));
}

/* FAQ */
.mx-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mx-faq details {
  background: var(--mx-bg);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 0;
  transition: border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-faq details[open] {
  border-color: rgba(230, 62, 98, 0.3);
  box-shadow: var(--mx-shadow-sm);
}
.mx-faq summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-body);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mx-faq summary::-webkit-details-marker { display: none; }
.mx-faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--mx-primary);
  transition: transform var(--mx-dur) var(--mx-ease);
  flex: 0 0 auto;
}
.mx-faq details[open] summary::after {
  content: "−";
  transform: rotate(0);
}
.mx-faq details p,
body.three .mx-faq details p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--mx-muted) !important;
  line-height: 1.6;
}
.mx-faq details a { color: var(--mx-primary); }

/* CTA card */
.mx-cta-card {
  background: linear-gradient(135deg, var(--mx-primary) 0%, var(--mx-primary-700) 100%);
  border-radius: var(--mx-radius-lg);
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #fff !important;
  box-shadow: 0 20px 40px -10px rgba(230, 62, 98, 0.35);
}
body.three .mx-cta-card h2,
body.three .mx-cta-card p {
  color: #fff !important;
  margin: 0;
}
body.three .mx-cta-card h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 0.25rem; }
body.three .mx-cta-card p { opacity: 0.92; }
body.three .mx-cta-card .btn {
  background-image: none !important;
  background-color: #fff !important;
  color: var(--mx-primary) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18) !important;
}
body.three .mx-cta-card .btn:hover {
  background-color: var(--mx-bg) !important;
  color: var(--mx-primary-700) !important;
}

@media (max-width: 576px) {
  .mx-stats-grid { grid-template-columns: 1fr 1fr; }
  .mx-cta-card { text-align: center; justify-content: center; }
}

/* ----- Reviews page ----- */
body.three .mx-section-reviews-hero,
body.three .mx-section-reviews {
  padding: clamp(2.5rem, 5vw, 4rem) 0 !important;
}
body.three .mx-section-reviews-hero {
  background: var(--mx-bg);
  border-bottom: 1px solid var(--mx-border);
}
body.three .mx-section-reviews {
  background: var(--mx-surface);
}

/* Rating summary hero */
.mx-rating-summary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .mx-rating-summary { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
}
.mx-rating-big {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--mx-shadow-sm);
}
body.three .mx-rating-num {
  font-family: var(--mx-font-display) !important;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 4.5rem) !important;
  line-height: 1;
  background: linear-gradient(120deg, var(--mx-primary), var(--mx-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--mx-primary) !important;
}
.mx-rating-stars {
  display: inline-flex;
  gap: 4px;
  margin-top: 0.5rem;
}
.mx-star {
  width: 22px;
  height: 22px;
  color: var(--mx-border);
  display: inline-block;
}
.mx-star.is-filled { color: var(--mx-accent); }
body.three .mx-rating-meta {
  color: var(--mx-muted) !important;
  font-size: 0.92rem;
  margin-top: 0.65rem;
}
body.three .mx-rating-meta strong { color: var(--mx-ink) !important; }

.mx-eyebrow {
  display: inline-block;
  font-family: var(--mx-font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mx-primary) !important;
  margin-bottom: 0.5rem;
}
body.three .mx-rating-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  margin: 0 0 0.85rem;
}
body.three .mx-rating-copy p {
  color: var(--mx-muted) !important;
  max-width: 60ch;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.mx-rating-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .mx-rating-countries { justify-content: center; }
}
.mx-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--mx-primary-50);
  color: var(--mx-primary) !important;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(230, 62, 98, 0.15);
  text-decoration: none !important;
  transition: background var(--mx-dur) var(--mx-ease), color var(--mx-dur) var(--mx-ease);
}
.mx-pill:hover {
  background: var(--mx-primary);
  color: #fff !important;
}
.mx-pill-active,
.mx-pill.mx-pill-active {
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-primary-700)) !important;
  color: #fff !important;
  border-color: transparent !important;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(230, 62, 98, 0.28);
}

/* Review grid */
.mx-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.mx-review-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--mx-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease);
}
.mx-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
  border-color: rgba(230, 62, 98, 0.22);
}
.mx-review-card::before {
  content: """;
  position: absolute;
  top: -22px;
  right: 18px;
  font-family: var(--mx-font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--mx-primary-50);
  pointer-events: none;
}

.mx-review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mx-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-accent));
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  flex: 0 0 44px;
}
.mx-review-author { flex: 1; min-width: 0; }
body.three .mx-review-author h3 {
  font-size: 1rem !important;
  margin: 0 0 0.15rem !important;
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-body) !important;
  font-weight: 600;
  letter-spacing: 0;
}
body.three .mx-review-meta {
  color: var(--mx-muted) !important;
  font-size: 0.82rem;
  margin: 0;
}
.mx-review-flag {
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  font-size: 0.72rem !important;
}

.mx-review-stars {
  display: inline-flex;
  gap: 2px;
}
.mx-review-stars .mx-star { width: 16px; height: 16px; }

body.three .mx-review-title {
  font-family: var(--mx-font-display) !important;
  font-size: 1.05rem !important;
  margin: 0 !important;
  color: var(--mx-ink) !important;
  line-height: 1.35;
  font-weight: 700;
}
body.three .mx-review-body {
  color: var(--mx-ink-2) !important;
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.mx-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--mx-border);
}
body.three .mx-review-foot time {
  color: var(--mx-muted) !important;
  font-size: 0.82rem;
}
.mx-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mx-success, #1F9D55) !important;
  font-size: 0.82rem;
  font-weight: 600;
}
.mx-review-verified svg { width: 14px; height: 14px; }

/* ----- Contact page ----- */
body.three .mx-section-contact { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; }
.mx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}
@media (max-width: 992px) { .mx-contact-grid { grid-template-columns: 1fr; } }

.mx-contact-info { display: flex; flex-direction: column; gap: 0.85rem; }
.mx-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  box-shadow: var(--mx-shadow-sm);
  color: var(--mx-ink) !important;
  text-decoration: none !important;
  transition: transform var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 62, 98, 0.25);
  box-shadow: var(--mx-shadow-md);
}
.mx-contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-primary-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(230, 62, 98, 0.28);
}
.mx-contact-icon svg { width: 22px; height: 22px; color: #fff; }
body.three .mx-contact-card h3 {
  font-family: var(--mx-font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  margin: 0 0 0.1rem !important;
  color: var(--mx-ink) !important;
}
body.three .mx-contact-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mx-ink-2) !important;
}
body.three .mx-contact-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--mx-muted) !important;
  margin-top: 0.15rem;
}

/* Contact form */
.mx-contact-form {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--mx-shadow-sm);
}
body.three .mx-contact-form h3 {
  font-size: 1.25rem !important;
  margin: 0 0 0.35rem !important;
  color: var(--mx-ink) !important;
}
body.three .mx-contact-form > p {
  color: var(--mx-muted) !important;
  margin: 0 0 1.25rem;
}
.mx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
@media (max-width: 576px) { .mx-form-grid { grid-template-columns: 1fr; } }
.mx-form-row, .mx-contact-form label {
  display: block;
  margin-bottom: 0.85rem;
}
.mx-contact-form label > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mx-ink-2) !important;
  margin-bottom: 0.35rem;
}
.mx-contact-form input,
.mx-contact-form textarea {
  width: 100%;
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-sm);
  padding: 0.75rem 1rem;
  background: var(--mx-bg);
  color: var(--mx-ink);
  font-family: var(--mx-font-body);
  font-size: 0.95rem;
  transition: border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-contact-form input:focus,
.mx-contact-form textarea:focus {
  outline: none;
  border-color: var(--mx-primary);
  box-shadow: 0 0 0 3px var(--mx-primary-50);
}
.mx-contact-form .btn { width: 100%; margin-top: 0.5rem; }
body.three .mx-form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--mx-muted) !important;
  margin: 0.85rem 0 0;
}
.mx-form-note a { color: var(--mx-primary); }

/* ----- Legal pages ----- */
body.three .mx-section-legal { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; background: var(--mx-surface); }
.mx-legal-wrap {
  max-width: 820px;
  margin: 0 auto;
}
body.three .mx-legal-meta {
  color: var(--mx-muted) !important;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--mx-border);
}
body.three .mx-legal-meta strong { color: var(--mx-primary) !important; }
.mx-legal-section { margin-bottom: 1.5rem; }
body.three .mx-legal-section h2 {
  font-size: 1.15rem !important;
  margin: 0 0 0.5rem !important;
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-display) !important;
  font-weight: 700;
}
body.three .mx-legal-section p {
  color: var(--mx-ink-2) !important;
  line-height: 1.7;
  margin: 0;
}
.mx-legal-foot {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--mx-bg);
  border-radius: var(--mx-radius-md);
  border: 1px solid var(--mx-border);
}
body.three .mx-legal-foot p { margin: 0; color: var(--mx-ink-2) !important; }
.mx-legal-foot a, .mx-legal-section a { color: var(--mx-primary); }

/* ----- HTML Sitemap page ----- */
body.three .mx-section-sitemap { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; background: var(--mx-surface); }
.mx-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.mx-sitemap-col {
  background: var(--mx-bg);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.5rem 1.25rem;
  transition: border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-sitemap-col:hover {
  border-color: rgba(230, 62, 98, 0.25);
  box-shadow: var(--mx-shadow-sm);
}
body.three .mx-sitemap-col h3 {
  font-size: 1.1rem !important;
  margin: 0 0 1rem !important;
  color: var(--mx-ink) !important;
  font-family: var(--mx-font-display) !important;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--mx-primary-50);
}
.mx-sitemap-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mx-sitemap-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mx-ink-2) !important;
  text-decoration: none !important;
  font-size: 0.93rem;
  transition: color var(--mx-dur) var(--mx-ease), padding-left var(--mx-dur) var(--mx-ease);
}
.mx-sitemap-col ul li a:hover {
  color: var(--mx-primary) !important;
  padding-left: 4px;
}
.mx-sitemap-col ul li a svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--mx-success, #1F9D55);
}
.mx-sitemap-blogs ul { max-height: 360px; overflow-y: auto; padding-right: 6px; }
.mx-sitemap-foot {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.92rem;
}
body.three .mx-sitemap-foot p { color: var(--mx-muted) !important; }
.mx-sitemap-foot code {
  padding: 0.15rem 0.45rem;
  background: var(--mx-primary-50);
  color: var(--mx-primary);
  border-radius: 6px;
  font-size: 0.88rem;
}

/* ----- Help Center ----- */
body.three .mx-section-help-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; background: var(--mx-bg); border-bottom: 1px solid var(--mx-border); }
body.three .mx-section-help-faq { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; background: var(--mx-surface); }

.mx-help-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 992px) { .mx-help-hero { grid-template-columns: 1fr; } }
body.three .mx-help-hero h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  margin: 0 0 0.85rem !important;
}
body.three .mx-help-hero p {
  color: var(--mx-muted) !important;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 56ch;
}
.mx-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
body.three .mx-help-sub {
  color: var(--mx-muted) !important;
  font-size: 0.92rem !important;
  margin: 0 !important;
}
.mx-help-sub a { color: var(--mx-primary); }

.mx-help-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.mx-help-cat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  color: var(--mx-ink) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-help-cat:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 62, 98, 0.25);
  box-shadow: var(--mx-shadow-md);
  color: var(--mx-primary) !important;
}
.mx-help-cat svg {
  width: 22px; height: 22px;
  color: var(--mx-primary);
  flex: 0 0 22px;
}

.mx-help-block { margin-bottom: 2.5rem; scroll-margin-top: 80px; }
body.three .mx-help-block > h2 {
  font-family: var(--mx-font-display) !important;
  font-size: 1.5rem !important;
  margin: 0 0 1rem !important;
  color: var(--mx-ink) !important;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mx-primary-50);
  display: inline-block;
}

/* ----- Trust & Safety ----- */
.mx-trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.mx-trust-stat {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.4rem 1.1rem;
  text-align: center;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease), box-shadow var(--mx-dur) var(--mx-ease);
}
.mx-trust-stat:hover { transform: translateY(-3px); box-shadow: var(--mx-shadow-md); }
body.three .mx-trust-num {
  font-family: var(--mx-font-display) !important;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  background: linear-gradient(120deg, var(--mx-primary), var(--mx-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--mx-primary) !important;
}
body.three .mx-trust-label { color: var(--mx-muted) !important; font-size: 0.85rem; font-weight: 500; }

/* Tips list */
.mx-tips-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin: 1.5rem auto 0;
}
.mx-tip {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease);
}
.mx-tip:hover { transform: translateY(-2px); border-color: rgba(230, 62, 98, 0.25); }
.mx-tip-num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mx-primary), var(--mx-accent));
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mx-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(230, 62, 98, 0.28);
}
body.three .mx-tip h3 {
  font-size: 1.05rem !important;
  margin: 0 0 0.3rem !important;
  color: var(--mx-ink) !important;
}
body.three .mx-tip p { color: var(--mx-ink-2) !important; margin: 0; line-height: 1.6; }

/* Report card */
.mx-report-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--mx-shadow-sm);
}
body.three .mx-report-card h3 {
  font-size: 1.15rem !important;
  margin: 0 0 1rem !important;
  color: var(--mx-ink) !important;
}
.mx-report-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mx-report-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--mx-ink-2) !important;
  font-size: 0.95rem;
}
.mx-report-card ul li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--mx-success, #1F9D55);
  margin-top: 2px;
}

/* ----- Blog list (cards) ----- */
body.three .mx-section-blog-list { padding: clamp(2.5rem, 5vw, 4rem) 0 !important; }
.mx-blog-card {
  background: var(--mx-surface);
  border: 1px solid var(--mx-border);
  border-radius: var(--mx-radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--mx-shadow-sm);
  transition: transform var(--mx-dur) var(--mx-ease),
              box-shadow var(--mx-dur) var(--mx-ease),
              border-color var(--mx-dur) var(--mx-ease);
}
.mx-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow-md);
  border-color: rgba(230, 62, 98, 0.22);
}
.mx-blog-thumb {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--mx-bg);
}
.mx-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--mx-ease);
}
.mx-blog-card:hover .mx-blog-thumb img { transform: scale(1.04); }
.mx-blog-body { padding: 1.25rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.mx-blog-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  color: var(--mx-muted) !important;
}
.mx-blog-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.mx-blog-meta svg { width: 14px; height: 14px; color: var(--mx-primary); }
.mx-blog-read {
  position: relative;
  padding-left: 0.85rem;
}
.mx-blog-read::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--mx-muted);
  border-radius: 50%;
}
body.three .mx-blog-title {
  font-family: var(--mx-font-display) !important;
  font-size: 1.15rem !important;
  margin: 0 !important;
  line-height: 1.35;
}
body.three .mx-blog-title a {
  color: var(--mx-ink) !important;
  text-decoration: none !important;
  transition: color var(--mx-dur) var(--mx-ease);
}
body.three .mx-blog-title a:hover { color: var(--mx-primary) !important; }
body.three .mx-blog-excerpt {
  color: var(--mx-muted) !important;
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.mx-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mx-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  margin-top: 0.3rem;
  transition: gap var(--mx-dur) var(--mx-ease);
}
.mx-blog-link:hover { gap: 0.75rem; }
.mx-blog-link svg { width: 14px; height: 14px; }

/* ----- Blog detail ----- */
body.three .mx-blog-post-title {
  font-family: var(--mx-font-display) !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  line-height: 1.25 !important;
  margin: 0.6rem 0 1rem !important;
  color: var(--mx-ink) !important;
}
.mx-blog-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--mx-ink-2);
}
.mx-blog-content p { margin-bottom: 1.1rem; }
.mx-blog-content h2, .mx-blog-content h3 {
  font-family: var(--mx-font-display) !important;
  margin-top: 1.8rem;
  margin-bottom: 0.85rem;
}
.mx-blog-content img { border-radius: var(--mx-radius-md); margin: 1rem 0; }
.mx-blog-content a { color: var(--mx-primary); }

/* ----- Misc utilities ----- */
.text-primary-brand { color: var(--mx-primary) !important; }
.bg-cream { background: var(--mx-bg); }
.shadow-soft { box-shadow: var(--mx-shadow-md); }
.rounded-soft { border-radius: var(--mx-radius-md); }

/* Scrollbar */
@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: var(--mx-bg); }
  ::-webkit-scrollbar-thumb {
    background: var(--mx-border);
    border-radius: 999px;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--mx-primary); }
}

/* Mobile fine-tuning */
@media (max-width: 768px) {
  body.three section { padding: 2.5rem 0; }
  body.three .hero-section-three { padding: 2rem 0 !important; }
  body.three .btn { padding: 0.75rem 1.4rem !important; font-size: 0.9rem !important; }
}

/* Force legacy white/colored text on light bg fix (last-resort overrides) */
body.three .hero-text h1[style*="color"],
body.three .hero-text h5[style*="color"],
body.three .hero-text p[style*="color"] {
  color: var(--mx-ink) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES (END OF FILE — wins over all earlier desktop
   non-media rules of equal specificity by CSS cascade order).
   Targets every legacy hero/banner/heading that hard-codes a desktop font-size
   or transform-shift, and constrains them to the viewport.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Container / page width — never exceed viewport. */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  .container, .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hero headings — force wrap + sane size. */
  body.three .hero-section-three .hero-text h1,
  body.three .hero-section-three .hero-text h2,
  body.three .hero-section-three .hero-text-three h1,
  body.three .hero-section .hero-text h1,
  body.three .bannr .hero-text-three h1,
  body.three .bannr h1,
  body.three .breadcumb-title,
  .hero-section-three .hero-text h1,
  .bannr h1, .breadcumb-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* All headings wrap. */
  body.three h1, body.three h2, body.three h3,
  body.three h4, body.three h5, body.three h6 {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100% !important;
  }
  body.three h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem) !important; }
  body.three h3 { font-size: clamp(1.1rem, 4vw, 1.3rem) !important; }

  /* Long paragraph words / URLs must break. */
  body.three p, body.three li, body.three a,
  body.three span, body.three strong {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hero illustration — undo desktop transform/width that pushes off-canvas. */
  .hero-section .hero-img img,
  .hero-section-three .hero-img img,
  body.three .hero-img img,
  body.three .hero-section-three .hero-img img {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* All images and videos fully fluid. */
  img, video, iframe { max-width: 100% !important; height: auto !important; }

  /* Decorative shape divs — hide on mobile so they can't push layout. */
  .shap1, .shap2, .shap3, .shape, .shap-img,
  body.three .shap1, body.three .shap2, body.three .shape {
    display: none !important;
  }

  /* Top announcement bar — wrap text instead of overflowing. */
  .mx-topbar-inner {
    flex-wrap: wrap !important;
    gap: .35rem !important;
    justify-content: center !important;
  }
  .mx-topbar-item {
    font-size: .75rem !important;
    white-space: normal !important;
  }
  .mx-topbar-cta {
    font-size: .75rem !important;
    padding: .35rem .7rem !important;
  }

  /* Tables in blog content scroll instead of breaking layout. */
  .mx-blog-content table, body.three table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }

  /* Bootstrap rows — children can't exceed parent width. */
  .row > * { max-width: 100% !important; }
}

/* Small phones (≤ 480px) — even tighter clamps. */
@media (max-width: 480px) {
  body.three .hero-section-three .hero-text h1,
  body.three .hero-section-three .hero-text-three h1,
  body.three .bannr h1, body.three .breadcumb-title,
  .hero-section-three .hero-text h1, .bannr h1, .breadcumb-title {
    font-size: clamp(1.35rem, 6.5vw, 1.7rem) !important;
  }
}
