.mc-navy-footer {
  --footer-width: var(--mc-desktop-width, var(--mc-container, 1320px));
  --footer-text: #f4f4f5;
  --footer-muted: #afb3bd;
  --footer-line: #ffffff26;
  --footer-gold: #dcc28a;
  margin-top: 56px;
  padding: 38px 0 24px;
  background: var(--mc-interface-ink, #181e2e);
  color: var(--footer-text);
  font: 400 13px/1.65 Montserrat, Arial, sans-serif;
}

.mc-navy-footer__inner {
  width: min(var(--footer-width), calc(100% - 56px));
  margin-inline: auto;
}

.mc-navy-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
}

.mc-navy-footer p { margin: 0; }
.mc-navy-footer__brand p {
  max-width: 280px;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.9;
}

.mc-navy-footer__logo {
  display: block;
  width: 190px;
  max-width: 100%;
  margin-bottom: 25px;
  line-height: 0;
}

.mc-navy-footer .mc-navy-footer__logo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  filter: brightness(0) invert(1);
}

.mc-navy-footer .mc-navy-footer__label,
.mc-navy-footer__group summary {
  margin: 0 0 20px;
  color: var(--footer-text);
  font: 600 13px/20px Montserrat, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: uppercase;
}

.mc-navy-footer__group summary {
  display: none;
  list-style: none;
}

.mc-navy-footer__group summary::-webkit-details-marker { display: none; }
.mc-navy-footer__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mc-navy-footer__group li { margin: 10px 0 0; }
.mc-navy-footer__group li:first-child { margin-top: 0; }
.mc-navy-footer a {
  color: var(--footer-text);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 260ms cubic-bezier(.2,.65,.3,1);
}

.mc-navy-footer__group a { font: 300 14px / 1.65 Montserrat, Arial, sans-serif; }

.mc-navy-footer address { margin: 0; font-style: normal; }
.mc-navy-footer__contact a { display: block; margin: 0 0 10px; }
.mc-navy-footer .mc-navy-footer__phone { font-size: 16px; font-weight: 500; line-height: 1.5; }
.mc-navy-footer__contact p { margin-top: 8px; color: var(--footer-muted); font-size: 12px; }

.mc-navy-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 24px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.7;
}

.mc-navy-footer__bottom a { color: inherit; }
.mc-navy-footer__bottom p { max-width: 620px; margin-left: auto; text-align: right; }
.mc-navy-footer :is(a, summary):focus-visible {
  color: var(--footer-gold);
  outline: 2px solid var(--footer-gold);
  outline-offset: 3px;
}

@media (hover: hover) {
  .mc-navy-footer :is(a, summary):hover { color: var(--footer-gold); }
  body.mc-native .mc-back-to-top:hover { border-color: #fff; }
}

@media (min-width: 1151px) {
  .mc-navy-footer__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 22px;
  }
}

@media (max-width: 1150px) {
  .mc-navy-footer__bottom p { flex-basis: 100%; margin-left: 0; text-align: left; }
}

@media (min-width: 768px) {
  .mc-navy-footer__bottom {
    /* Keep the legal line clear of the fixed back-to-top button. */
    padding-inline-end: clamp(0px, 86px - (100vw - var(--footer-width)) / 2, 58px);
  }
}

@media (max-width: 700px) {
  .mc-navy-footer { margin-top: 42px; padding: 26px 0 20px; }
  .mc-navy-footer__inner { width: calc(100% - 40px); }
  .mc-navy-footer__grid { display: block; }
  .mc-navy-footer__brand { padding-bottom: 24px; }
  .mc-navy-footer__brand p { max-width: none; }
  .mc-navy-footer__group, .mc-navy-footer__contact { border-top: 1px solid var(--footer-line); }
  .mc-navy-footer__group > .mc-navy-footer__label { display: none; }
  .mc-navy-footer__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 15px 0;
    cursor: pointer;
  }

  .mc-navy-footer__group summary svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    transform: rotate(90deg);
    transition: transform 260ms;
  }

  .mc-navy-footer__group details[open] summary svg { transform: rotate(-90deg); }
  .mc-navy-footer__group ul { padding: 0 0 15px; }
  .mc-navy-footer__group li + li { margin-top: 12px; }
  .mc-navy-footer__contact { padding-top: 23px; }
  .mc-navy-footer__contact .mc-navy-footer__label { margin-bottom: 16px; }
  .mc-navy-footer__bottom { margin-top: 26px; column-gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-navy-footer a, .mc-navy-footer__group summary svg { transition: none; }
}
