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

.site-footer {
  background: #000;
  color: #f4f7fb;
  padding: 100px 100px 44px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-desktop-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-desktop-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 96px;
  flex: 0 0 45%;
  width: 45%;
}

.footer-nav-section {
  flex: 0 0 auto;
  min-width: 0;
}

.footer-section-heading {
  margin: 0 0 20px;
  line-height: 1.25;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-section-heading--meta {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited {
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 100;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #5983bc !important;
  text-decoration: none;
}

.footer-links a[aria-current="page"],
.footer-links a[aria-current="page"]:hover,
.footer-links a[aria-current="page"]:focus-visible,
.footer-links a[aria-current="page"]:visited,
.footer-legal-links a[aria-current="page"],
.footer-legal-links a[aria-current="page"]:hover,
.footer-legal-links a[aria-current="page"]:focus-visible,
.footer-legal-links a[aria-current="page"]:visited {
  background: linear-gradient(90deg, #e8383b 0%, #5983bc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
  color: transparent !important;
  text-decoration: none;
}

.footer-meta-column {
  display: flex;
  flex-direction: column;
  gap: 56px;
  flex: 0 0 25%;
  width: 25%;
  align-items: flex-start;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.footer-meta-section {
  width: 100%;
}

.footer-meta-column,
.footer-meta-column * {
  font-size: 14px !important;
}

.footer-meta-text,
.footer-meta-inline {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  font-weight: 100;
  letter-spacing: 0.02em;
}

.footer-meta-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-meta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-meta-inline span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.55);
}

.footer-map-link,
.footer-map-link:link,
.footer-map-link:visited {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9) !important;
  font: inherit;
  font-family: inherit;
  font-size: 13px !important;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
  color: #5983bc !important;
  text-decoration: underline;
}

.footer-map-link.footer-meta-text,
.footer-map-link.footer-mobile-meta--stack,
.footer-map-link.footer-meta-text span,
.footer-map-link.footer-mobile-meta--stack span {
  font-weight: 100 !important;
}

.footer-map-link:focus-visible {
  outline: none;
}

.footer-mobile-layout {
  display: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  text-align: center;
  font-size: 14px;
  color: #7d8790;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-legal-links a,
.footer-legal-links a:link,
.footer-legal-links a:visited {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-weight: 100;
  letter-spacing: 0.02em;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #5983bc !important;
  text-decoration: none;
}

.footer-legal-links span {
  color: #7d8790;
}

.footer-legal-links--desktop {
  justify-content: center;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
}

.footer-legal-links--mobile {
  display: none;
  margin-top: 16px;
  justify-content: center;
}

.footer-brand--desktop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand--mobile {
  display: none;
}

.footer-logo--bottom {
  display: block;
  width: auto;
  height: auto;
  max-width: 217.06px;
  max-height: 86.2px;
  margin: 0;
}

.footer-logo--mobile {
  height: clamp(62.4px, 16.64vw, 76.96px);
  margin: 0;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 100;
  letter-spacing: 0.02em;
}

.footer-copyright--mobile {
  display: none;
}

.footer-copyright--desktop {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .site-footer {
    position: relative;
    z-index: 4;
    isolation: isolate;
    padding: 28px 24px 34px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .footer-desktop-layout {
    display: none;
  }

  .footer-mobile-layout {
    display: block;
  }

  .footer-mobile-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px 15px;
    align-items: flex-start;
  }

  .footer-mobile-column {
    display: contents;
  }

  .footer-mobile-section--headquarters,
  .footer-mobile-section--offices {
    padding-left: 25px;
  }

  .footer-mobile-section {
    min-width: 0;
  }

  .footer-mobile-section--discover {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-mobile-section--connect {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-mobile-section--resources {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-mobile-section--headquarters {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-mobile-section--offices {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-mobile-layout .footer-section-heading {
    margin: 0 0 18px;
    font-size: 14px !important;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .footer-mobile-section--resources .footer-section-heading {
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }

  .footer-mobile-links {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-mobile-links a {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: 14px !important;
    line-height: 1.4;
    font-weight: 100;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .footer-mobile-layout .footer-section-heading,
  .footer-mobile-links a,
  .footer-legal-links--mobile,
  .footer-legal-links--mobile a,
  .footer-legal-links--mobile span {
    font-size: 14px !important;
  }

  .footer-mobile-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px !important;
    line-height: 1.35;
    font-weight: 100;
    letter-spacing: 0.02em;
  }

  .footer-mobile-meta--stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-mobile-meta--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-transform: uppercase;
  }

  .footer-mobile-section--offices .footer-mobile-meta--inline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-mobile-meta--inline span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.55);
  }

  .footer-mobile-layout .footer-map-link {
    width: 100%;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.9);
  }

  .footer-bottom {
    position: relative;
    z-index: 5;
    margin-top: 46px;
  }

  .footer-legal-links {
    position: relative;
    z-index: 5;
    margin-top: 0;
    font-size: 14px !important;
    line-height: 1.7;
    justify-content: center;
  }

  .footer-legal-links--desktop {
    display: none;
  }

  .footer-legal-links--mobile {
    display: flex;
    margin-bottom: 0;
  }

  .footer-brand--desktop,
  .footer-copyright--desktop {
    display: none;
  }

  .footer-brand--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }

  .footer-copyright--mobile {
    display: block;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px !important;
    line-height: 1.7;
    font-weight: 100;
    letter-spacing: 0.02em;
  }
}
