/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.site-footer {
  /* Footer Nav
--------------------------------------------- */
  .footer-nav {
    background-color: var(--primary-950);
    color: #fff;

    a {
      color: #fff;
    }

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: 4.5rem 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 3rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
      }
    }

    .navigation {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 3rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
      }
    }

    .site-title {
      font-weight: bold;
      font-size: var(--font-lg);
      text-transform: uppercase;

      display: flex;
      align-items: center;
      gap: 0.65rem;

      img {
        width: auto;
        max-height: 2.25rem;
        margin-bottom: -0.35rem;
      }
    }

    .col-title {
      margin-bottom: 1.5rem;
      font-weight: bold;
    }

    .link-to-map {
      margin-top: 1.5rem;
      text-decoration: underline;
      text-underline-offset: 0.5rem;
    }

    .social-networks {
      display: flex;
      align-items: center;
      gap: 1rem;

      svg {
        display: block;
        width: var(--font-2xl);
        height: var(--font-2xl);
        fill: #fff;
      }
    }
  }

  .cc {
    border-top: 1px solid var(--primary-900);
    font-size: var(--font-xs);
    background-color: var(--primary-950);
    color: #fff;

    a {
      color: #fff;
    }

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: 1.5rem 24px;
    }
  }
}

/*--------------------------------------------------------------
# Mobile Nav
--------------------------------------------------------------*/

body.mobile-nav-active {
  overflow: hidden;
}

#btn-mobile-nav-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 0;
  color: var(--primary-950);
}

@media (min-width: 1139px) {
  #btn-mobile-nav-toggle {
    display: none;
  }
}

#btn-mobile-nav-toggle .symbol {
  margin-bottom: 0.125rem;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: 85%;
  max-width: 480px;
  background-color: var(--primary-950);
  color: #fff;
  visibility: hidden;
  transform: translateX(100%);
  transition:
    visibility 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}

.mobile-nav a {
  color: #fff;
}

.mobile-nav.active {
  visibility: visible;
  transform: translateX(0);
}

.mobile-nav > .wrapper {
  padding: 1.5rem 20px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  height: 100%;
  overflow: auto;
}

.mobile-nav .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav .header .site-title {
  font-weight: bold;
  font-size: var(--font-lg);
  text-transform: uppercase;

  display: flex;
  align-items: center;
  gap: 0.65rem;

  img {
    width: auto;
    max-height: 2.25rem;
    margin-bottom: -0.35rem;
  }
}

.mobile-nav #btn-mobile-nav-close {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav #btn-mobile-nav-close .icon {
  font-size: var(--font-2xl);
}

.mobile-nav .main {
  flex-grow: 1;
}

.mobile-nav #menu-primary {
  font-weight: bold;
}

.mobile-nav #menu-primary li:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

.mobile-nav ul.contact li:not(:last-of-type) {
  margin-bottom: 0.15rem;
}

.mobile-nav .social-networks {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;

  svg {
    display: block;
    width: var(--font-2xl);
    height: var(--font-2xl);
    fill: #fff;
  }
}
