/* Header shell */
.mah-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 500;
  background: var(--mah-surface);
  border-bottom: 1px solid var(--mah-border);
  font-family: var(--mah-font);
}

@supports not (position: sticky) {
  .mah-header {
    position: relative;
    top: auto;
  }
}

.mah-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mah-gap);
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px clamp(20px, 4vw, 48px);
}

.mah-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mah-border);
  background: var(--mah-surface);
  border-radius: var(--mah-radius-pill);
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--mah-text);
  cursor: pointer;
  transition: border-color var(--mah-duration-fast) var(--mah-ease), background var(--mah-duration-fast) var(--mah-ease);
}

.mah-header__menu-toggle:hover {
  border-color: var(--mah-accent);
  background: var(--mah-accent-soft);
}

.mah-header__menu-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.mah-header__menu-toggle-svg {
  display: block;
  width: 26px;
  height: 26px;
}

.mah-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Compact brand mark shown in the header row */
.mah-brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: none;
  min-width: 0;
}

.mah-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  width: auto;
  max-width: clamp(120px, 20vw, 280px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  flex: none;
}

.mah-brand__link,
.mah-brand-block__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.mah-brand__logo img,
.mah-brand-block__logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.mah-brand__logo--text {
  display: none;
}

.mah-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  flex-wrap: wrap;
}

.mah-header__actions--with-secondary {
  margin-left: 6px;
  padding-left: 18px;
  border-left: 1px solid rgba(148, 163, 184, 0.25);
}

.mah-header__cta,
.mah-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--mah-radius-pill);
  border: 1px solid transparent;
  background: var(--mah-cta-bg, var(--mah-accent));
  color: var(--mah-cta-text, #ffffff);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--mah-shadow-sm);
  transition:
    background var(--mah-duration-fast) var(--mah-ease),
    color var(--mah-duration-fast) var(--mah-ease),
    border-color var(--mah-duration-fast) var(--mah-ease),
    transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-header__cta--has-icon,
.mah-primary-cta.mah-header__cta--has-icon,
.mah-secondary-cta.mah-header__cta--has-icon {
  gap: 10px;
}

.mah-header__cta:hover,
.mah-header__cta:focus-visible,
.mah-primary-cta:hover,
.mah-primary-cta:focus-visible {
  background: var(--mah-cta-hover-bg, var(--mah-accent-strong));
  color: var(--mah-cta-hover-text, var(--mah-cta-text, #ffffff));
  transform: translateY(-1px);
}

.mah-header__cta--secondary,
.mah-secondary-cta {
  background: var(--mah-cta-bg, transparent);
  color: var(--mah-cta-text, var(--mah-accent));
  box-shadow: none;
}

.mah-header__cta--secondary:hover,
.mah-header__cta--secondary:focus-visible,
.mah-secondary-cta:hover,
.mah-secondary-cta:focus-visible {
  background: var(--mah-cta-hover-bg, rgba(0, 31, 181, 0.08));
  color: var(--mah-cta-hover-text, var(--mah-cta-text, var(--mah-accent)));
}

.mah-header__cta--borderless,
.mah-header__cta--borderless:hover,
.mah-header__cta--borderless:focus-visible {
  border: none;
}

.mah-header__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mah-header__cta-icon-image {
  display: block;
  width: 1em;
  height: 1em;
  max-width: 1em;
  max-height: 1em;
  object-fit: contain;
}

.mah-brand__copy {
  display: none;
}

.mah-brand__copy strong {
  font-size: 15px;
  color: var(--mah-text);
}

/* Desktop mega menu */
.mah-megamenu[data-mah-desktop="1"],
.mah-dropdown-panel[data-mah-desktop="1"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--mah-gap-xl);
  border: 1px solid var(--mah-border);
  border-radius: 22px;
  box-shadow: var(--mah-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--mah-duration-base) var(--mah-ease), transform var(--mah-duration-base) var(--mah-ease), visibility 0s linear var(--mah-duration-base);
  z-index: 400;
  min-height: 0;
  max-height: var(--mah-menu-max-height, calc(100svh - 24px));
  padding-bottom: clamp(24px, 2vw, 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-bottom: clamp(24px, 2vw, 36px);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 31, 181, 0.34) rgba(0, 27, 160, 0.08);
  scrollbar-gutter: stable;
}

.mah-megamenu[data-mah-desktop="1"] {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2.4fr);
  gap: var(--mah-gap-xl);
  background:
    radial-gradient(circle at top left, var(--mah-accent-soft), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.mah-megamenu[data-mah-pack-layout="desktop-megamenu"] {
  --mah-pack-lanes: 4;
  --mah-pack-lane-gap: clamp(16px, 1.6vw, 24px);
  --mah-pack-lane-width: calc((100% - ((var(--mah-pack-lanes) - 1) * var(--mah-pack-lane-gap))) / var(--mah-pack-lanes));
  grid-template-areas:
    "brand columns"
    "footer footer";
  grid-template-columns: minmax(248px, 0.9fr) minmax(0, 2.2fr);
  gap: var(--mah-pack-lane-gap);
  align-items: start;
}

.mah-megamenu[data-mah-pack-layout="desktop-megamenu"] > [data-mah-pack-slot="brand-rail"] {
  grid-area: brand;
  min-width: 0;
}

.mah-megamenu[data-mah-pack-layout="desktop-megamenu"] > [data-mah-pack-slot="columns"] {
  grid-area: columns;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--mah-pack-lanes), minmax(0, 1fr));
  gap: var(--mah-pack-lane-gap);
  align-items: start;
  align-content: start;
}

.mah-megamenu[data-mah-pack-layout="desktop-megamenu"] > [data-mah-pack-slot="footer"] {
  grid-area: footer;
  grid-column: 1 / -1;
}

.mah-dropdown-panel[data-mah-desktop="1"] {
  display: block;
  max-width: 340px;
  gap: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  left: var(--mah-menu-left, 0px);
  right: auto;
  width: min(340px, calc(100vw - 40px));
  top: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
}

.mah-megamenu[data-mah-desktop="1"].is-open,
.mah-dropdown-panel[data-mah-desktop="1"].is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--mah-duration-base) var(--mah-ease), transform var(--mah-duration-base) var(--mah-ease);
}

.mah-dropdown-panel__bridge {
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
  display: block;
  pointer-events: auto;
}

.mah-dropdown-panel__list {
  display: grid;
  gap: 4px;
}

.mah-dropdown-panel__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(18, 35, 73, 0.08);
  color: var(--mah-text);
  text-decoration: none;
  transition: color var(--mah-duration-fast) var(--mah-ease);
}

.mah-dropdown-panel__link:last-child {
  border-bottom: none;
}

.mah-dropdown-panel__link:hover,
.mah-dropdown-panel__link:focus-visible {
  color: var(--mah-accent);
}

.mah-dropdown-panel__link-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mah-dropdown-panel__link-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.mah-dropdown-panel__link-desc {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--mah-text-muted);
}

.mah-dropdown-panel__link-arrow {
  opacity: 1;
  color: rgba(0, 31, 181, 0.42);
  transition: color var(--mah-duration-fast) var(--mah-ease);
}

.mah-dropdown-panel__link-arrow-icon,
.mah-megamenu__link-arrow-icon,
.mah-nav-item__chevron-icon,
.mah-link-arrow-icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mah-dropdown-panel__link-arrow-icon,
.mah-megamenu__link-arrow-icon,
.mah-link-arrow-icon {
  width: 16px;
  height: 16px;
}

.mah-nav-item__chevron-icon {
  width: 12px;
  height: 12px;
}

.mah-dropdown-panel__link:hover .mah-dropdown-panel__link-arrow,
.mah-dropdown-panel__link:focus-visible .mah-dropdown-panel__link-arrow {
  color: var(--mah-accent);
}

.mah-dropdown-panel__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--mah-border);
}

.mah-dropdown-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--mah-radius-pill);
  background: transparent;
  border: 1px solid var(--mah-border);
  color: var(--mah-text);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--mah-duration-fast) var(--mah-ease), color var(--mah-duration-fast) var(--mah-ease);
}

.mah-dropdown-panel__cta:hover,
.mah-dropdown-panel__cta:focus-visible {
  background: var(--mah-surface-2);
  color: var(--mah-accent);
}

.mah-megamenu__brand-rail {
  display: flex;
  padding: var(--mah-gap);
  border-radius: var(--mah-radius-lg);
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  border: 1px solid var(--mah-border);
}

.mah-brand-block {
  display: flex;
  align-items: center;
  gap: 0;
}

.mah-brand-block__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  width: auto;
  max-width: clamp(120px, 20vw, 240px);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: none;
}

.mah-brand-block__logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.mah-brand-block__initial {
  font-weight: 700;
  font-size: 15px;
  color: var(--mah-accent);
}

.mah-brand-block__text strong {
  display: block;
  font-size: 15px;
  color: var(--mah-text);
  margin-bottom: 6px;
}

.mah-brand-block__text span {
  font-size: 15px;
  color: var(--mah-text-muted);
  line-height: var(--mah-line-height-base);
}

.mah-megamenu__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--mah-gap);
}

.mah-megamenu__columns[style*="--mah-pack-height"] {
  display: block;
  position: relative;
  min-height: var(--mah-pack-height);
}

.mah-megamenu__column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mah-megamenu__column[style*="--mah-pack-top"] {
  position: absolute;
  inset-block-start: var(--mah-pack-top);
  inset-inline-start: calc((var(--mah-pack-lane, 1) - 1) * (var(--mah-pack-lane-width) + var(--mah-pack-lane-gap)));
  width: var(--mah-pack-lane-width);
}

.mah-megamenu__column-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  margin-bottom: 10px;
}

.mah-megamenu__column-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.mah-megamenu__column-icon-image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.mah-megamenu__column-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--mah-text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mah-border);
}

.mah-megamenu__column-icon {
  font-size: 16px;
}

.mah-megamenu__links {
  display: flex;
  flex-direction: column;
}

.mah-megamenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--mah-text);
  border-bottom: 1px solid rgba(0, 27, 160, 0.08);
  transition: color var(--mah-duration-fast) var(--mah-ease);
}

.mah-megamenu__link:last-child {
  border-bottom: none;
}

.mah-megamenu__link-name {
  font-weight: 600;
  font-size: 15px;
  display: block;
}

.mah-megamenu__link-desc {
  display: block;
  font-size: 15px;
  color: var(--mah-text-muted);
  margin-top: 2px;
}

.mah-megamenu__link-arrow {
  opacity: 1;
  transform: none;
  color: rgba(0, 31, 181, 0.42);
  transition: color var(--mah-duration-fast) var(--mah-ease);
}

.mah-megamenu__link:hover,
.mah-megamenu__link:focus-visible {
  color: var(--mah-accent);
}

.mah-megamenu__link-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mah-megamenu__link:hover .mah-megamenu__link-arrow,
.mah-megamenu__link:focus-visible .mah-megamenu__link-arrow {
  color: var(--mah-accent);
}

.mah-megamenu__empty {
  color: var(--mah-text-faint);
  font-size: 15px;
}

.mah-megamenu__footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mah-gap-sm);
  padding-top: var(--mah-gap-sm);
  border-top: 1px solid var(--mah-border);
}

.mah-megamenu__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--mah-radius-pill);
  background: var(--mah-accent);
  color: var(--mah-accent-contrast);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: var(--mah-shadow-md);
  transition: background var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-megamenu__cta:hover {
  background: var(--mah-accent-strong);
  transform: translateY(-1px);
}

@media (max-width: 1279px) {
  .mah-megamenu[data-mah-pack-layout="desktop-megamenu"] {
    --mah-pack-lanes: 3;
    padding: clamp(20px, 2vw, 28px);
    grid-template-columns: minmax(232px, 0.84fr) minmax(0, 2fr);
  }
}

@media (max-width: 1023px) {
  .mah-megamenu[data-mah-pack-layout="desktop-megamenu"] {
    --mah-pack-lanes: 2;
    grid-template-columns: minmax(216px, 0.8fr) minmax(0, 1.95fr);
  }

  .mah-megamenu[data-mah-pack-layout="desktop-megamenu"] > [data-mah-pack-slot="columns"] {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .mah-header {
    top: 0;
  }

  .mah-header__inner {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mah-brand__logo {
    height: 58px;
    max-width: clamp(140px, 40vw, 230px);
  }

  .mah-header__menu-toggle {
    display: inline-flex;
    padding: 8px 12px;
  }

  .mah-nav {
    display: none !important;
  }

  .mah-header__actions {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .mah-header__cta--secondary,
  .mah-header__cta,
  .mah-secondary-cta {
    display: none !important;
  }

  .mah-megamenu[data-mah-desktop="1"],
  .mah-dropdown-panel[data-mah-desktop="1"] {
    display: none;
  }

  .mah-mobile-menu__stage {
    padding-bottom: clamp(72px, 12vw, 128px);
    scroll-padding-bottom: clamp(72px, 12vw, 128px);
  }
}

/* Mobile full-screen menu */
body.mah-no-scroll {
  overflow: hidden;
}

.mah-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  font-family: var(--mah-font);
  color: var(--mah-text);
  background:
    radial-gradient(circle at top right, rgba(0, 31, 181, 0.12), transparent 34%),
    radial-gradient(circle at bottom left, rgba(0, 31, 181, 0.08), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  opacity: 0;
  transition: opacity var(--mah-duration-slow) var(--mah-ease);
}

.mah-mobile-menu[hidden] {
  display: none;
}

.mah-mobile-menu.is-open {
  opacity: 1;
}

.mah-mobile-menu__shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100svh;
  min-height: 0;
  padding: 20px clamp(20px, 6vw, 40px) max(20px, env(safe-area-inset-bottom));
}

.mah-mobile-menu__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
}

.mah-mobile-menu__hero .mah-brand-block {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.mah-mobile-menu__hero .mah-brand-block__logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
}

.mah-mobile-menu__hero .mah-brand-block__text strong {
  font-size: 15px;
  color: var(--mah-text);
  margin-bottom: 2px;
}

.mah-mobile-menu__hero .mah-brand-block__text span {
  font-size: 15px;
  color: var(--mah-text-muted);
}

.mah-mobile-menu__close {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--mah-border);
  background: #ffffff;
  color: var(--mah-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__close:hover {
  background: var(--mah-accent-soft);
  transform: rotate(90deg);
}

.mah-mobile-menu__stage {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--mah-border);
  box-shadow: var(--mah-shadow-lg);
  padding: clamp(20px, 5vw, 36px);
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  overscroll-behavior: contain;
  scroll-padding-bottom: clamp(28px, 4vw, 48px);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 31, 181, 0.34) rgba(0, 27, 160, 0.08);
  scrollbar-gutter: stable;
}

.mah-mobile-menu__stage[hidden] {
  display: none;
}

.mah-mobile-menu__eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--mah-letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--mah-accent);
}

.mah-mobile-menu__headline {
  margin: 0 0 28px;
  font-size: clamp(26px, 6vw, var(--mah-font-size-xxl));
  line-height: var(--mah-line-height-tight);
  font-weight: 700;
  max-width: 22ch;
}

.mah-mobile-menu__stage-title {
  margin: 12px 0 20px;
  font-size: 15px;
  font-weight: 700;
}

.mah-mobile-menu__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  color: var(--mah-text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__back:hover {
  color: var(--mah-accent);
}

.mah-mobile-menu__primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  margin: 0 0 14px;
  border: none;
  border-radius: var(--mah-radius-pill);
  background: var(--mah-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--mah-shadow-dark);
  transition: background var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__primary-action:hover {
  background: var(--mah-accent-strong);
  transform: translateY(-1px);
}

.mah-mobile-menu__secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--mah-border);
  border-radius: var(--mah-radius-pill);
  color: var(--mah-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: background var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__secondary-action:hover {
  background: var(--mah-surface-2);
}

.mah-mobile-menu__category-list,
.mah-mobile-menu__service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mah-mobile-menu__service-list[hidden] {
  display: none;
}

.mah-mobile-menu__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--mah-border);
  border-radius: var(--mah-radius-md);
  background: #ffffff;
  color: var(--mah-text);
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--mah-duration-fast) var(--mah-ease), border-color var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__category:hover,
.mah-mobile-menu__category:focus-visible {
  background: var(--mah-surface-2);
  border-color: var(--mah-accent);
  transform: translateX(2px);
}

.mah-mobile-menu__service {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 16px 18px !important;
  border: 1px solid var(--mah-border) !important;
  border-radius: var(--mah-radius-md) !important;
  background: #ffffff !important;
  color: var(--mah-text) !important;
  box-sizing: border-box !important;
  text-align: left !important;
  cursor: pointer !important;
  overflow: hidden !important;
  line-height: 1 !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  transition: background var(--mah-duration-fast) var(--mah-ease), border-color var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__service:hover,
.mah-mobile-menu__service:focus-visible {
  background: var(--mah-surface-2) !important;
  border-color: var(--mah-accent) !important;
  transform: translateX(2px) !important;
}

.mah-mobile-menu__service:visited {
  color: var(--mah-text) !important;
}

.mah-mobile-menu__category-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  min-width: 0;
  flex: 1 1 auto;
}

.mah-mobile-menu__category-icon {
  font-size: 18px;
}

.mah-mobile-menu__service-text {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.mah-mobile-menu__service-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15 !important;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.mah-mobile-menu__service-desc {
  display: none;
  font-size: 15px;
  color: var(--mah-text-muted);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mah-mobile-menu__service * {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

.mah-mobile-menu__service:focus-visible {
  outline: 2px solid var(--mah-accent);
  outline-offset: 2px;
}

.mah-mobile-menu__category:active,
.mah-mobile-menu__service:active {
  transform: translateY(1px) scale(0.99);
  background: rgba(0, 31, 181, 0.05);
  border-color: rgba(0, 31, 181, 0.24);
}

@media (hover: none), (pointer: coarse) {
  .mah-mobile-menu__category:hover,
  .mah-mobile-menu__category:focus-visible,
  .mah-mobile-menu__service:hover,
  .mah-mobile-menu__service:focus-visible {
    transform: none;
  }

  .mah-mobile-menu__category,
  .mah-mobile-menu__service {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mah-mobile-menu__category:active,
  .mah-mobile-menu__service:active {
    transform: translateY(1px) scale(0.99) !important;
    background: rgba(0, 31, 181, 0.05) !important;
    border-color: rgba(0, 31, 181, 0.24) !important;
  }
}

.mah-mobile-menu__chevron {
  flex: none;
  font-size: 22px;
  color: var(--mah-accent);
}

.mah-mobile-menu__empty {
  color: var(--mah-text-muted);
  font-size: 15px;
}

.mah-mobile-menu__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  margin-top: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, #ffffff 100%);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--mah-border);
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
}

.mah-mobile-menu__footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline: clamp(14px, 4vw, 24px);
}

.mah-mobile-menu__footer-actions .mah-header__cta,
.mah-mobile-menu__footer-actions .mah-primary-cta,
.mah-mobile-menu__footer-actions .mah-secondary-cta,
.mah-mobile-menu__footer-actions .mah-header__cta--secondary {
  display: inline-flex !important;
  width: 100%;
  box-sizing: border-box;
}

.mah-mobile-menu__footer-actions .mah-header__cta,
.mah-mobile-menu__footer-actions .mah-primary-cta {
  justify-content: center;
}

.mah-mobile-menu__footer-actions .mah-header__cta--secondary,
.mah-mobile-menu__footer-actions .mah-secondary-cta {
  border-color: var(--mah-border);
  color: var(--mah-text);
}

/* Nav items */
.mah-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 auto;
  margin-left: auto;
  flex-wrap: wrap;
}

.mah-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--mah-radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--mah-text);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background var(--mah-duration-fast) var(--mah-ease), color var(--mah-duration-fast) var(--mah-ease);
}

.mah-nav-item--link:hover {
  background: var(--mah-surface-2);
}

.mah-nav-item--button {
  background: var(--mah-accent);
  color: #ffffff;
}

.mah-nav-item--button:hover {
  background: rgba(17, 24, 39, 0.08);
  color: var(--mah-text);
}

.mah-nav-item--button:focus-visible {
  background: rgba(17, 24, 39, 0.08);
  color: var(--mah-text);
}

.mah-nav-item--phone {
  color: var(--mah-accent);
}

.mah-nav-item--trigger .mah-nav-item__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  transition: transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-nav-item--trigger.is-open .mah-nav-item__chevron {
  transform: rotate(180deg);
}

.mah-primary-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--mah-radius-pill);
  background: var(--mah-accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-primary-cta:hover {
  background: var(--mah-accent-strong);
  transform: translateY(-1px);
}

/* Brand rail copy (icon/title/description/bullets/call button) */
.mah-megamenu__brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.mah-megamenu__brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 0 12px;
  color: var(--mah-accent);
}

.mah-megamenu__brand-icon-image {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mah-megamenu__brand-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mah-text);
}

.mah-megamenu__brand-description {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--mah-text-muted);
}

.mah-megamenu__brand-bullets {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.mah-megamenu__brand-bullets li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: var(--mah-text);
}

.mah-megamenu__brand-bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--mah-accent);
  font-weight: 700;
}

.mah-megamenu__brand-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 20px;
  border-radius: var(--mah-radius-pill);
  background: var(--mah-accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--mah-duration-fast) var(--mah-ease);
}

.mah-megamenu__brand-call:hover {
  background: var(--mah-accent-strong);
}

/* Footer help text + two actions */
.mah-megamenu__footer-text {
  margin: 0;
  font-size: 15px;
  color: var(--mah-text-muted);
}

.mah-megamenu__footer-actions {
  display: flex;
  gap: 10px;
}

.mah-megamenu__cta--secondary {
  background: transparent;
  border: 1px solid var(--mah-border);
  color: var(--mah-text);
  box-shadow: none;
}

.mah-megamenu__cta--secondary:hover {
  background: var(--mah-surface-2);
  transform: none;
}

/* Mobile: nav item list (home phase) */
.mah-mobile-menu__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mah-mobile-menu__nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--mah-border);
  border-radius: var(--mah-radius-md);
  background: #ffffff;
  color: var(--mah-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--mah-duration-fast) var(--mah-ease), transform var(--mah-duration-fast) var(--mah-ease);
}

.mah-mobile-menu__nav-item:hover,
.mah-mobile-menu__nav-item:focus-visible {
  background: var(--mah-surface-2);
  transform: translateX(2px);
}

.mah-mobile-menu__nav-item--button {
  background: var(--mah-accent);
  border-color: transparent;
}

.mah-mobile-menu__nav-item--phone {
  color: var(--mah-accent);
}

/* Mobile: menu-scoped columns group */
.mah-mobile-menu__columns-group[hidden] {
  display: none;
}

/* Mobile: re-theme the shared brand-copy and footer (from Task 4/5) for the dark overlay */
.mah-mobile-menu .mah-megamenu__brand-copy {
  display: none;
}

.mah-mobile-menu .mah-megamenu__brand-icon {
  width: 36px;
  height: 36px;
}

.mah-mobile-menu .mah-megamenu__brand-icon-image {
  width: 24px;
  height: 24px;
}

.mah-mobile-menu .mah-megamenu__brand-title {
  color: var(--mah-text);
}

.mah-mobile-menu .mah-megamenu__brand-description {
  color: var(--mah-text-muted);
}

.mah-mobile-menu .mah-megamenu__brand-bullets li {
  color: var(--mah-text);
}

.mah-mobile-menu .mah-megamenu__brand-bullets li::before {
  color: var(--mah-accent);
}

.mah-mobile-menu .mah-megamenu__brand-call {
  display: flex;
  width: 100%;
  margin-top: 4px;
  box-sizing: border-box;
}

.mah-mobile-menu .mah-megamenu__cta--secondary {
  border-color: var(--mah-border);
  color: var(--mah-text);
}

.mah-megamenu[data-mah-desktop="1"]::-webkit-scrollbar,
.mah-dropdown-panel[data-mah-desktop="1"]::-webkit-scrollbar,
.mah-mobile-menu__stage::-webkit-scrollbar {
  width: 10px;
}

.mah-megamenu[data-mah-desktop="1"]::-webkit-scrollbar-track,
.mah-dropdown-panel[data-mah-desktop="1"]::-webkit-scrollbar-track,
.mah-mobile-menu__stage::-webkit-scrollbar-track {
  background: rgba(0, 27, 160, 0.06);
  border-radius: 999px;
}

.mah-megamenu[data-mah-desktop="1"]::-webkit-scrollbar-thumb,
.mah-dropdown-panel[data-mah-desktop="1"]::-webkit-scrollbar-thumb,
.mah-mobile-menu__stage::-webkit-scrollbar-thumb {
  background: rgba(0, 31, 181, 0.34);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.mah-megamenu[data-mah-desktop="1"]::-webkit-scrollbar-thumb:hover,
.mah-dropdown-panel[data-mah-desktop="1"]::-webkit-scrollbar-thumb:hover,
.mah-mobile-menu__stage::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 31, 181, 0.5);
}
