:root {
  --mot-footer-blue: #005ee9;
  --mot-footer-navy: #06142f;
  --mot-footer-navy-soft: #0a2046;
  --mot-footer-text: #aab9ce;
  --mot-footer-line: rgba(174, 205, 244, .15);
  --mot-footer-shell: var(--mot-site-content-width, 1440px);
}

.mot-site-footer,
.mot-site-footer *,
.mot-site-footer *::before,
.mot-site-footer *::after {
  box-sizing: border-box;
}

.mot-site-footer {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--mot-footer-navy);
  color: var(--mot-footer-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.mot-site-footer a { color: inherit; text-decoration: none; }
.mot-site-footer h2,
.mot-site-footer p,
.mot-site-footer ul { margin: 0; }
.mot-site-footer ul { padding: 0; list-style: none; }
.mot-site-footer svg { display: block; width: 22px; height: 22px; }

.mot-footer-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--mot-footer-shell));
  margin-inline: auto;
}

.mot-footer-main {
  position: relative;
  background:
    linear-gradient(90deg, rgba(67,122,194,.045) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(rgba(67,122,194,.045) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--mot-footer-navy);
}

.mot-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, .72fr));
  gap: clamp(34px, 5vw, 78px);
  padding-block: 72px 52px;
}

.mot-footer-brand { max-width: 445px; }

.mot-footer-logo {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 800;
}

.mot-site-footer .mot-footer-logo__image {
  display: block;
  width: 105px !important;
  max-width: 105px !important;
  height: 44px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mot-footer-logo__mark {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  place-items: center;
}

.mot-footer-brand__statement { margin-top: 22px !important; color: #9eafc7; font-size: 13.5px; line-height: 1.75; }

.mot-footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: 24px;
}

.mot-footer-contact__item {
  display: grid;
  min-width: 0;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  color: #fff !important;
}

.mot-footer-contact__item--location { grid-column: 1 / -1; align-items: start; }

.mot-footer-contact__icon {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(151,194,255,.24);
  border-radius: 7px;
  background: rgba(0,94,233,.16);
  color: #82b7ff;
  place-items: center;
  transition: background .2s ease, color .2s ease;
}

.mot-footer-contact__item--location .mot-footer-contact__icon { margin-top: 2px; }
.mot-footer-contact__icon svg { width: 19px; height: 19px; }
.mot-footer-contact__content { min-width: 0; }
.mot-footer-contact__content small,
.mot-footer-contact__content strong { display: block; }
.mot-footer-contact__content small { color: #7f93af; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.mot-footer-contact__content strong { margin-top: 2px; color: #eef6ff; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.mot-footer-contact__item:not(.mot-footer-contact__item--location) .mot-footer-contact__content strong { white-space: nowrap; }
.mot-footer-contact__item--location { cursor: default; }
.mot-footer-contact__item--location .mot-footer-contact__content strong { color: #b7c7dc; font-size: 12.5px; line-height: 1.55; }
.mot-footer-contact__item:not(.mot-footer-contact__item--location):hover .mot-footer-contact__icon,
.mot-footer-contact__item:not(.mot-footer-contact__item--location):focus-visible .mot-footer-contact__icon { background: var(--mot-footer-blue); color: #fff; }
.mot-footer-contact__item:not(.mot-footer-contact__item--location):hover .mot-footer-contact__content strong,
.mot-footer-contact__item:not(.mot-footer-contact__item--location):focus-visible .mot-footer-contact__content strong { color: #fff; }

.mot-footer-nav__toggle { display: none; }
.mot-footer-nav__title { margin: 0; }

.mot-footer-nav__heading {
  display: block;
  list-style: none;
  cursor: default;
}

.mot-footer-nav__heading > span {
  position: relative;
  display: block;
  padding-bottom: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: .025em;
}

.mot-footer-nav__heading > span::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--mot-footer-blue);
  content: "";
}

.mot-footer-nav__heading > b { display: none; }

.mot-footer-nav li { border-bottom: 1px solid rgba(167,194,230,.09); }
.mot-footer-nav li:last-child { border-bottom: 0; }

.mot-footer-nav a {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9faec3 !important;
  font-size: 12.5px;
  line-height: 1.35;
  transition: color .18s ease, padding-left .18s ease;
}

.mot-footer-nav a b { flex: 0 0 auto; color: #54769f; font-size: 13px; font-weight: 500; opacity: 0; transform: translateX(-5px); transition: opacity .18s ease, transform .18s ease; }
.mot-footer-nav a:hover,
.mot-footer-nav a:focus-visible { padding-left: 4px; color: #fff !important; }
.mot-footer-nav a:hover b,
.mot-footer-nav a:focus-visible b { opacity: 1; transform: translateX(0); }

.mot-footer-assurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--mot-footer-line);
}

.mot-footer-assurance > a {
  display: grid;
  min-width: 0;
  min-height: 102px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 20px clamp(15px, 2vw, 28px);
  border-right: 1px solid var(--mot-footer-line);
  transition: background .18s ease;
}

.mot-footer-assurance > a:first-child { padding-left: 0; }
.mot-footer-assurance > a:last-child { border-right: 0; padding-right: 0; }
.mot-footer-assurance > a:hover,
.mot-footer-assurance > a:focus-visible { background: rgba(0,94,233,.07); }

.mot-footer-assurance > a > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(0,94,233,.14);
  color: #7cb2ff;
  place-items: center;
}

.mot-footer-assurance svg { width: 19px; height: 19px; }
.mot-footer-assurance strong,
.mot-footer-assurance small { display: block; overflow: hidden; text-overflow: ellipsis; }
.mot-footer-assurance strong { color: #e7f0fb; font-size: 12px; font-weight: 720; white-space: nowrap; }
.mot-footer-assurance small { margin-top: 3px; color: #778ba8; font-size: 10px; line-height: 1.4; }

.mot-footer-bottom { border-top: 1px solid var(--mot-footer-line); background: #040f24; }
.mot-footer-bottom__inner { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 24px; }
.mot-footer-bottom p { color: #71839d; font-size: 10.5px; }
.mot-footer-bottom p span { margin-inline: 5px; }
.mot-footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.mot-footer-bottom nav a { position: relative; color: #8192aa !important; font-size: 10.5px; transition: color .18s ease; }
.mot-footer-bottom nav a + a::before { position: absolute; top: 50%; left: -12px; width: 2px; height: 2px; border-radius: 50%; background: #50617a; content: ""; }
.mot-footer-bottom nav a:hover,
.mot-footer-bottom nav a:focus-visible { color: #fff !important; }

.mot-site-footer :focus-visible { outline: 2px solid #87baff; outline-offset: 3px; }

@media (max-width: 1100px) {
  .mot-footer-grid { grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(150px, .8fr)); }
  .mot-footer-nav:last-child { grid-column: 2 / -1; }
  .mot-footer-assurance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mot-footer-assurance > a:nth-child(2) { border-right: 0; }
  .mot-footer-assurance > a:nth-child(-n+2) { border-bottom: 1px solid var(--mot-footer-line); }
  .mot-footer-assurance > a:first-child,
  .mot-footer-assurance > a:last-child { padding-inline: clamp(15px, 2vw, 28px); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .mot-footer-contact { grid-template-columns: 1fr; gap: 12px; }
  .mot-footer-contact__item--location { grid-column: auto; }
}

@media (max-width: 760px) {
  .mot-footer-shell { width: min(calc(100% - 36px), var(--mot-footer-shell)); }
  .mot-footer-grid { display: block; padding-block: 44px 30px; }
  .mot-footer-brand { max-width: none; margin-bottom: 32px; }
  .mot-footer-brand__statement { max-width: 520px; margin-top: 17px !important; font-size: 13px; line-height: 1.7; }
  .mot-footer-contact { max-width: 520px; gap: 10px; margin-top: 19px; }
  .mot-footer-contact__item { padding: 10px 11px; border: 1px solid rgba(151,194,255,.16); border-radius: 8px; background: rgba(0,94,233,.07); }
  .mot-footer-contact__item--location { align-items: center; }
  .mot-footer-contact__item--location .mot-footer-contact__icon { margin-top: 0; }

  .mot-footer-nav { border-top: 1px solid var(--mot-footer-line); }
  .mot-footer-nav:last-child { border-bottom: 1px solid var(--mot-footer-line); }
  .mot-footer-nav__toggle { position: absolute; display: block; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .mot-footer-nav__heading { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; }
  .mot-footer-nav__heading > span { padding: 0; font-size: 14px; letter-spacing: .02em; }
  .mot-footer-nav__heading > span::after { display: none; }
  .mot-footer-nav__heading > b { position: relative; display: block; width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid rgba(143,183,236,.24); border-radius: 50%; }
  .mot-footer-nav__heading > b::before,
  .mot-footer-nav__heading > b::after { position: absolute; top: 50%; left: 50%; width: 8px; height: 1px; background: #8fbbf4; content: ""; transform: translate(-50%, -50%); transition: transform .18s ease; }
  .mot-footer-nav__heading > b::after { transform: translate(-50%, -50%) rotate(90deg); }
  .mot-footer-nav__toggle:checked + .mot-footer-nav__title .mot-footer-nav__heading > b::after { transform: translate(-50%, -50%) rotate(0); }
  .mot-footer-nav__toggle:focus-visible + .mot-footer-nav__title .mot-footer-nav__heading { outline: 2px solid #87baff; outline-offset: -2px; }
  .mot-footer-nav__toggle:not(:checked) ~ nav { display: none; }
  .mot-footer-nav > nav { padding: 0 4px 13px 12px; }
  .mot-footer-nav li { border-bottom: 0; }
  .mot-footer-nav a { min-height: 43px; padding: 0 3px; border-top: 1px solid rgba(167,194,230,.07); font-size: 12px; }
  .mot-footer-nav a b { opacity: 1; transform: none; }
  .mot-footer-nav a:hover,
  .mot-footer-nav a:focus-visible { padding-left: 7px; }

  .mot-footer-assurance > a { min-height: 96px; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 14px 10px; }
  .mot-footer-assurance > a:first-child,
  .mot-footer-assurance > a:last-child { padding: 14px 10px; }
  .mot-footer-assurance > a > span:first-child { width: 34px; height: 34px; }
  .mot-footer-assurance strong { overflow: visible; font-size: 10.5px; line-height: 1.3; white-space: normal; }
  .mot-footer-assurance small { margin-top: 4px; font-size: 9px; line-height: 1.35; }

  .mot-footer-bottom__inner { min-height: 0; flex-direction: column; align-items: center; gap: 14px; padding-block: 22px; text-align: center; }
  .mot-footer-bottom p { max-width: 320px; font-size: 10px; line-height: 1.65; }
  .mot-footer-bottom nav { justify-content: center; }
}

@media (max-width: 480px) {
  .mot-footer-contact { grid-template-columns: 1fr; }
  .mot-footer-contact__item--location { grid-column: auto; align-items: start; }
  .mot-footer-contact__item--location .mot-footer-contact__icon { margin-top: 2px; }
  .mot-footer-assurance > a { min-height: 100px; }
  .mot-footer-bottom nav { display: grid; width: 100%; grid-template-columns: repeat(2, auto); justify-content: center; gap: 10px 24px; }
  .mot-footer-bottom nav a { font-size: 10.5px; }
  .mot-footer-bottom nav a + a::before { display: none; }
}

@media print {
  .mot-site-footer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mot-site-footer *,
  .mot-site-footer *::before,
  .mot-site-footer *::after { transition-duration: .01ms !important; }
}
