.mi-site-header {
  --mi-nav-text: #425466;
  --mi-nav-strong: #0c3b5d;
}

.mi-header-inner {
  max-width: 86rem;
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mi-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.mi-brand-logo {
  width: auto;
  height: 2.35rem;
  object-fit: contain;
}

.mi-logo-fallback {
  align-items: center;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mi-logo-fallback span:first-child { color: #12629b; }
.mi-logo-fallback span:last-child { color: #24a4df; }

.mi-main-nav {
  display: none;
  align-items: center;
  gap: .85rem;
  color: var(--mi-nav-text);
  font-size: .84rem;
  font-weight: 800;
  min-width: 0;
}

.mi-nav-link,
.mi-nav-trigger {
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color .14s ease;
}

.mi-nav-trigger svg {
  flex: 0 0 auto;
}

.mi-nav-link:hover,
.mi-nav-link:focus-visible,
.mi-nav-link.active,
.mi-nav-trigger:hover,
.mi-nav-trigger:focus-visible,
.mi-nav-trigger.active {
  color: var(--mi-nav-strong);
  outline: none;
}

.mi-nav-item {
  position: relative;
}

.mi-nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.mi-nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-50%, .5rem, 0);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.mi-nav-item:hover .mi-nav-panel,
.mi-nav-item:hover .mi-mega-menu,
.mi-nav-item:focus-within .mi-nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.mi-mega-panel,
.mi-dropdown-panel {
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 1.25rem;
  box-shadow: 0 28px 80px rgba(12,59,93,.16);
}

.mi-mega-panel {
  width: min(64rem, calc(100vw - 2rem));
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(12rem, .75fr) minmax(0, 1.8fr) minmax(12rem, .8fr);
  gap: .75rem;
}

.mi-mega-intro,
.mi-mega-feature {
  padding: 1.1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
}

.mi-mega-intro p,
.mi-mega-feature strong {
  display: block;
  color: #0c3b5d;
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 .45rem;
}

.mi-mega-intro span,
.mi-mega-feature span {
  display: block;
  color: #64748b;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.5;
}

.mi-mega-intro a {
  display: inline-flex;
  margin-top: 1rem;
  color: #0ea5e9;
  font-size: .84rem;
  font-weight: 900;
}

.mi-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
}

.mi-mega-link,
.mi-dropdown-link {
  display: flex;
  gap: .75rem;
  padding: .8rem;
  border-radius: .8rem;
  color: #0f172a;
  transition: background .14s ease, color .14s ease;
}

.mi-mega-link:hover,
.mi-mega-link:focus-visible,
.mi-dropdown-link:hover,
.mi-dropdown-link:focus-visible {
  background: #f1f8fd;
  color: #0c3b5d;
  outline: none;
}

.mi-menu-mark {
  width: .55rem;
  height: .55rem;
  margin-top: .35rem;
  border-radius: 999px;
  background: #24a4df;
  flex: 0 0 auto;
  box-shadow: 0 0 0 .28rem rgba(36,164,223,.12);
}

.mi-mega-link strong,
.mi-dropdown-link span {
  display: block;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
}

.mi-mega-link small,
.mi-dropdown-link small {
  display: block;
  margin-top: .3rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.45;
}

.mi-dropdown-panel {
  width: 18.5rem;
  padding: .45rem;
}

.mi-header-actions {
  display: none;
  align-items: center;
  gap: .75rem;
  flex: 0 0 auto;
}

.mi-header-phone {
  color: #0c3b5d;
  font-size: .86rem;
  font-weight: 900;
  white-space: nowrap;
}

.mi-header-cta,
.mi-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  background: #24a4df;
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(36,164,223,.25);
  white-space: nowrap;
}

.mi-header-cta:hover,
.mi-mobile-cta:hover {
  background: #1588c5;
  color: #fff;
}

.mi-lang-switch,
.mi-mobile-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 900;
}

.mi-lang-switch a,
.mi-mobile-meta a {
  color: #64748b;
}

.mi-lang-switch a.active,
.mi-mobile-meta a.active {
  color: #0c3b5d;
}

.mi-mobile-button {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0c3b5d;
  background: #fff;
}

.mi-mobile-nav {
  display: block;
  border-top: 1px solid #eef2f7;
  background: rgba(255,255,255,.98);
}

.mi-mobile-menu.open {
  max-height: calc(100vh - var(--nav-h));
  overflow: auto;
}

.mi-mobile-nav nav {
  padding: .85rem 1rem 1.25rem;
}

.mi-mobile-link,
.mi-mobile-group summary,
.mi-mobile-group a {
  min-height: 3rem;
  display: flex;
  align-items: center;
  color: #0c3b5d;
  font-weight: 900;
  border-bottom: 1px solid #eef2f7;
}

.mi-mobile-group summary {
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}

.mi-mobile-group summary::-webkit-details-marker {
  display: none;
}

.mi-mobile-group summary::after {
  content: "+";
  color: #24a4df;
  font-size: 1.25rem;
}

.mi-mobile-group[open] summary::after {
  content: "-";
}

.mi-mobile-group div {
  padding: .25rem 0 .45rem 1rem;
}

.mi-mobile-group a {
  min-height: 2.65rem;
  color: #425466;
  font-size: .95rem;
}

.mi-mobile-cta {
  width: 100%;
  margin: 1rem 0 .85rem;
}

.mi-mobile-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
  font-size: .9rem;
  font-weight: 850;
}

@media (min-width: 640px) {
  .mi-header-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1180px) {
  .mi-main-nav,
  .mi-header-actions {
    display: flex;
  }

  .mi-mobile-button,
  .mi-mobile-nav {
    display: none;
  }
}

@media (max-width: 1279px) {
  .mi-header-phone {
    display: none;
  }

  .mi-main-nav {
    gap: .9rem;
  }
}

.mi-final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 126px;
}

.mi-content-text-section {
  background: #fff;
  padding: 88px 0;
}

.mi-content-text-wrap {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.mi-content-text-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: #24a4df;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mi-content-text-wrap > h2,
.mi-content-text-body h2 {
  margin: 0 0 22px;
  color: #0a2540;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
}

.mi-content-text-body {
  color: #425466;
  font-size: 17px;
  line-height: 1.78;
}

.mi-content-text-body > * + * {
  margin-top: 18px;
}

.mi-content-text-body h3 {
  margin-top: 34px;
  color: #0a2540;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

.mi-content-text-body p {
  margin-bottom: 0;
}

.mi-content-text-body ul,
.mi-content-text-body ol {
  padding-left: 1.25rem;
}

.mi-content-text-body ul {
  list-style: disc;
}

.mi-content-text-body ol {
  list-style: decimal;
}

.mi-content-text-body li + li {
  margin-top: 8px;
}

.mi-content-text-body a {
  color: #12629b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mi-content-text-body img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

.mi-final-cta-pattern {
  z-index: 0;
  pointer-events: none;
}

.mi-final-cta-content {
  position: relative;
  z-index: 3;
}

.mi-direct-contact {
  position: relative;
  z-index: 4;
  margin-top: 36px;
  padding-top: 30px;
}

.mi-final-cta-cut {
  left: -5%;
  right: -5%;
  bottom: -84px;
  height: 112px;
  transform: rotate(-2deg);
  z-index: 1;
  pointer-events: none;
}

.mi-footer {
  position: relative;
  z-index: 5;
  background: #fff;
  padding-top: 72px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .mi-final-cta {
    padding: 88px 20px 116px;
  }

  .mi-content-text-section {
    padding: 64px 0;
  }

  .mi-content-text-wrap > h2,
  .mi-content-text-body h2 {
    font-size: 28px;
  }

  .mi-content-text-body {
    font-size: 16px;
    line-height: 1.72;
  }

  .mi-direct-contact {
    margin-top: 30px;
    padding-top: 26px;
  }

  .mi-final-cta-cut {
    bottom: -70px;
    height: 96px;
    transform: rotate(-2deg);
  }

  .mi-footer {
    padding-top: 60px;
  }
}
