:root {
  --ml-shell-navy: #111d2e;
  --ml-shell-navy-soft: #182a42;
  --ml-shell-orange: #e97520;
  --ml-shell-paper: #f5f7fa;
  --ml-shell-white: #fff;
  --ml-shell-ink: #142033;
  --ml-shell-muted: #637084;
  --ml-shell-line: #dce2ea;
  --ml-shell-width: 1280px;
}

body.ml-public-site-shell {
  color: var(--ml-shell-ink);
  background: var(--ml-shell-paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ml-shell-skip-link {
  position: fixed;
  z-index: 1200;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  border-radius: 7px;
  background: var(--ml-shell-white);
  color: var(--ml-shell-navy);
  font-weight: 700;
  box-shadow: 0 5px 20px rgb(17 29 46 / 16%);
}
.ml-shell-skip-link:focus { transform: translateY(0); }

.ml-public-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgb(17 29 46 / 9%);
  background: rgb(255 255 255 / 97%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ml-public-header-inner {
  width: min(calc(100% - 48px), var(--ml-shell-width));
  min-height: 74px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(1rem, 2.2vw, 2.2rem);
}
.ml-public-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: max-content;
  color: var(--ml-shell-navy);
  text-decoration: none;
}
.ml-public-brand img { width: 39px; height: 39px; object-fit: contain; }
.ml-public-brand-copy { display: grid; gap: .05rem; line-height: 1.12; }
.ml-public-brand-copy strong { font-size: 1.08rem; letter-spacing: -.025em; }
.ml-public-brand-copy small { color: var(--ml-shell-muted); font-size: .68rem; font-weight: 550; }
.ml-public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.55rem, 1.2vw, 1.05rem);
}
@media (min-width: 921px) {
  .ml-public-header .ml-public-nav {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
.ml-public-nav a, .ml-public-login {
  color: #435168;
  font-size: .84rem;
  font-weight: 620;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}
.ml-public-nav a:hover, .ml-public-login:hover { color: var(--ml-shell-orange); }
.ml-public-actions { display: flex; align-items: center; gap: .9rem; }
.ml-public-cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid var(--ml-shell-orange);
  border-radius: 7px;
  background: var(--ml-shell-orange);
  color: #fff;
  font-size: .85rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.ml-public-cta:hover { transform: translateY(-1px); background: #cf5f13; }
.ml-public-menu-toggle {
  display: none;
  min-height: 42px;
  padding: .5rem .8rem;
  border: 1px solid #cbd4e1;
  border-radius: 7px;
  background: #fff;
  color: var(--ml-shell-navy);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.ml-public-header a:focus-visible, .ml-public-menu-toggle:focus-visible, .ml-public-footer a:focus-visible {
  outline: 3px solid #ffb37e;
  outline-offset: 3px;
}
.ml-legacy-site-shell { display: none !important; }

.ml-public-footer {
  margin-top: 0;
  padding: 3.25rem 0 1.35rem;
  background: var(--ml-shell-navy);
  color: #e4e9f0;
}
.ml-public-footer-inner {
  width: min(calc(100% - 48px), var(--ml-shell-width));
  margin-inline: auto;
}
.ml-public-footer-grid {
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(1.4rem, 4vw, 3.5rem);
}
.ml-public-footer-brand { max-width: 320px; }
.ml-public-footer-brand .ml-public-brand { color: #fff; }
.ml-public-footer-brand .ml-public-brand img { filter: brightness(0) invert(1); }
.ml-public-footer-brand .ml-public-brand-copy small { color: #b8c4d4; }
.ml-public-footer-brand p { margin: 1rem 0 0; color: #b8c4d4; font-size: .9rem; line-height: 1.65; }
.ml-public-footer-column { display: grid; align-content: start; justify-items: start; gap: .65rem; }
.ml-public-footer .ml-public-footer-column { position: static !important; inset: auto !important; background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; filter: none !important; }
.ml-public-footer-socials { display: flex; gap: .65rem; margin-top: 1.1rem; }
.ml-public-footer .ml-public-footer-socials { position: static !important; inset: auto !important; width: auto; background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ml-public-footer-socials a { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgb(195 204 218 / 30%); border-radius: 50%; color: #e3eaf3; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.ml-public-footer-socials a:hover { transform: translateY(-2px); border-color: #8ebcff; background: rgb(142 188 255 / 12%); color: #fff; }
.ml-public-footer-socials svg { width: 18px; height: 18px; }
.ml-public-footer .ml-public-footer-whatsapp {
  display: inline-flex;
  width: auto;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .75rem;
  border-color: rgb(37 211 102 / 42%);
  border-radius: 999px;
  color: #e4e9f0;
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.ml-public-footer .ml-public-footer-whatsapp img { width: 17px; height: 17px; }
.ml-public-footer .ml-public-footer-whatsapp:hover { border-color: #25d366; background: rgb(37 211 102 / 10%); color: #fff; }
.ml-public-footer-column h2 { margin: .15rem 0 .3rem; color: #fff; font-size: .92rem; font-weight: 750; }
.ml-public-footer-column a { color: #c3ccda; font-size: .86rem; line-height: 1.4; text-decoration: none; }
.ml-public-footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ml-public-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 2.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #b8c4d4;
  font-size: .8rem;
}
.ml-public-footer-bottom p { margin: 0; }

@media (max-width: 1080px) {
  .ml-public-header-inner { column-gap: 1rem; }
  .ml-public-nav { gap: .7rem; }
  .ml-public-nav a, .ml-public-login { font-size: .79rem; }
  .ml-public-actions { gap: .65rem; }
  .ml-public-cta { padding-inline: .78rem; }
}
@media (max-width: 920px) {
  .ml-public-header-inner {
    position: relative;
    min-height: 70px;
    grid-template-columns: 1fr auto auto;
  }
  .ml-public-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ml-public-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1;
    align-items: stretch;
    padding: .45rem 1rem 1rem;
    border: 1px solid var(--ml-shell-line);
    border-top: 0;
    border-radius: 0 0 9px 9px;
    background: #fff;
    box-shadow: 0 14px 26px rgb(17 29 46 / 12%);
  }
  .ml-public-header[data-menu-open="true"] .ml-public-nav { display: grid; }
  .ml-public-nav a { padding: .72rem .15rem; border-bottom: 1px solid #edf0f4; font-size: .94rem; }
}
@media (max-width: 620px) {
  .ml-public-header-inner, .ml-public-footer-inner { width: min(calc(100% - 32px), var(--ml-shell-width)); }
  .ml-public-header-inner { min-height: 64px; grid-template-columns: 1fr auto auto; gap: .55rem; }
  .ml-public-brand img { width: 35px; height: 35px; }
  .ml-public-brand-copy strong { font-size: 1rem; }
  .ml-public-brand-copy small { font-size: .62rem; }
  .ml-public-login { display: none; }
  .ml-public-cta { min-height: 40px; padding: .55rem .72rem; font-size: .79rem; }
  .ml-public-menu-toggle { min-height: 40px; padding-inline: .65rem; }
  .ml-public-footer { padding-top: 2.5rem; }
  .ml-public-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1.1rem; }
  .ml-public-footer-brand { grid-column: 1 / -1; }
  .ml-public-footer-bottom { margin-top: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ml-public-nav a, .ml-public-login, .ml-public-cta { transition: none; }
}
