﻿/* Shared reference footer. Replaces the former mmw footer styles. */
.mf-footer {
  background: #04263d url("../../img/banner/footer-navy-readable.png")
    center top/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  font: 16px/1.5 var(--gorent-font, sans-serif);
  isolation: isolate;
}
.mf-footer * {
  box-sizing: border-box;
}
.mf-footer .mf-main {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.35fr 1.15fr;
  gap: 30px;
  max-width: 1920px;
  margin: auto;
  align-items: start;
  padding: 36px 40px 20px;
}

.mf-footer .mf-brand {
  position: relative;
  padding: 0 24px 28px 0;
  color: #092944;
  isolation: isolate;
}
.mf-footer .mf-brand:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -36px -5px -10px -40px;
  background: #f0f6fb url("../../img/map_transparent_dark.webp") center/contain no-repeat;
  border-radius: 0 0 90px 0;
  box-shadow: 8px 0 0 #d7e5ef;
}

.mf-footer .mf-logo {
  width: 100%;
  max-width: 330px;
  height: 80px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}
.mf-footer .mf-brand p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
  color: #092944;
}
.mf-footer .mf-column {
  margin-top: 10px;
  border-left: 1px solid #ffffff24;
  padding-left: 25px;
  min-width: 0;
}
.mf-footer .mf-machines {
  border-left: 0;
  padding-left: 0;
}
.mf-footer h2 {
  color: #fff;
  font: 800 20px/1.2 var(--gorent-font-two, sans-serif);
  margin: 0 0 18px;
  font-size: 20px;
}
.mf-footer h2:after {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  background: #ff0c22;
  margin-top: 12px;
}
.mf-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
}
.mf-footer li {
  margin-bottom: 7px;
  line-height: 1.4;
}
.mf-footer li a :hover {
  color: #ff0c22;
}
.mf-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.mf-footer li a {
  display: flex;
  gap: 12px;
  font-size: 16px;
}
.mf-footer li a:before {
  content: "›";
  font-size: 23px;
  line-height: 20px;
  font-weight: 700;
}
.mf-footer a:hover {
  color: #ff0c22;
}
.mf-footer .mf-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 14px;
}
.mf-footer .mf-contact-item > i {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff0c22;
  font-size: 20px;
}
.mf-footer .mf-contact-item:nth-of-type(2) > i {
  background: #ff0c22;
}
.mf-footer .mf-contact-item > div {
  min-width: 0;
  border-bottom: 1px solid #ffffff40;
  width: 100%;
}
.mf-footer .mf-contact-item:last-child > div {
  border: 0;
}
.mf-footer strong {
  display: block;
  color: #fff;
  font-size: 17px;
  margin-bottom: 6px;
}
.mf-footer .mf-contact-item a,
.mf-footer .mf-contact-item p {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  color: #fff;
  margin: 0;
}
.mf-footer .mf-wave {
  display: block;
  width: 100%;
  height: 65px;
  margin: 0;
}
.mf-footer .mf-bottom {
  background: #f2f7fb;
  color: #092944;
  padding: 16px 4% 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mf-footer .mf-bottom p {
  margin: 0;
  font-size: 13px;
  color: inherit;
}
.mf-footer .mf-bottom nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.mf-footer .mf-bottom nav a {
  font-size: 14px;
  padding: 0 18px;
  border-left: 1px solid #597082;
}
.mf-footer .mf-social {
  display: flex;
  gap: 14px;
}
.mf-footer .mf-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #174c9d;
  color: #fff;
  border-radius: 50%;
  font-size: 23px;
}
.mf-footer .mf-social a:nth-child(2) {
  background: #0078a9;
}
.mf-footer .mf-social a:nth-child(3) {
  background: #ff0018;
}
.mf-footer .mf-social a:nth-child(4) {
  background: radial-gradient(
    circle at 25% 100%,
    #ffd600,
    #ff2049 45%,
    #9624d6 80%
  );
}
.mf-footer a:focus-visible {
  outline: 3px solid #ff4554;
  outline-offset: 4px;
}
@media (min-width: 1600px) {
  .mf-footer .mf-main {
    gap: 40px;
    padding-top: 32px;
  }
  .mf-footer li a {
    font-size: 16px;
  }
  .mf-footer .mf-brand p {
    font-size: 16px;
  }
  .mf-footer .mf-contact-item a,
  .mf-footer .mf-contact-item p {
    font-size: 16px;
  }
}
@media (max-width: 1200px) {
  .mf-footer .mf-main {
    grid-template-columns: 1.15fr 0.8fr 1.2fr 1.1fr;
    padding-right: 25px;
    gap: 20px;
  }
  .mf-footer .mf-brand {
    padding-left: 30px;
    padding-right: 15px;
  }
  .mf-footer .mf-column {
    padding-left: 15px;
  }
  .mf-footer .mf-bottom {
    flex-wrap: wrap;
  }
  .mf-footer h2 {
    font-size: 22px;
  }
}
@media (max-width: 800px) {
  .mf-footer .mf-main {
    grid-template-columns: 1fr 1fr;
    padding: 24px 24px 20px;
    gap: 30px;
  }

  .mf-footer .mf-brand:before {
    display: none;
  }
  .mf-footer .mf-brand {
    background: #f0f6fb;
    border-radius: 0 0 45px 0;
  }
  .mf-footer .mf-brand > a {
    grid-column: 1;
  }
  .mf-footer .mf-brand p {
    grid-column: 1;
    margin: 0;
  }
  .mf-footer .mf-logo {
    margin: 0;
    height: 85px;
  }
  .mf-footer .mf-column {
    margin: 0;
    border: 0;
    padding: 0;
  }
  .mf-footer .mf-contact {
    grid-column: 1;
  }
  .mf-footer .mf-bottom {
    justify-content: center;
    text-align: center;
  }
  .mf-footer .mf-bottom nav {
    justify-content: center;
    gap: 10px;
  }
  .mf-footer .mf-bottom nav a {
    padding: 0 10px;
  }
  .mf-footer .mf-wave {
    height: 45px;
  }
}
@media (max-width: 480px) {
  .mf-footer .mf-main {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
  .mf-footer .mf-brand {
    display: block;
    margin-inline: -20px;
    border-radius: 0 0 45px 0;
  }
  .mf-footer .mf-logo {
    margin-bottom: 18px;
  }
  .mf-footer .mf-contact,
  .mf-footer .mf-bottom nav a {
    border: 0;
  }
  .mf-footer .mf-column {
    padding-bottom: 15px;
    border-bottom: 1px solid #ffffff20;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mf-footer * {
    transition: none !important;
  }
}

@media (min-width: 1201px) {
  .mf-footer .mf-main {
    max-width: none;
    grid-template-columns: 1.25fr 0.8fr 1.35fr 1.15fr;
  }
  .mf-footer .mf-bottom {
    min-height: 72px;
  }
}
@media (max-width: 800px) {
  .mf-footer {
    background: #032337;
  }
  .mf-footer .mf-bottom {
    background: #f2f7fb;
  }
}

@media (max-width: 800px) {
  .mf-footer .mf-brand {
    display: block;
    padding: 24px;
  }
  .mf-footer .mf-brand p {
    max-width: 620px;
  }
  .mf-footer .mf-main {
    gap: 24px;
  }
  .mf-footer .mf-contact {
    grid-column: 1/-1;
  }
}
