.footer {
   color: $white;

   > .container:first-child {
      display: flex;
      flex-wrap: wrap;
      padding-top: 70px;
      padding-bottom: 30px;
      background: $black;
      border-radius: 10px;
   }

   .logo {
      margin: 0 100px 10px 0;

      @media screen and (max-width: $md - 1) {
         margin: 0;
      }
   }

   .title-default {
      color: $black;
      font-weight: $font-weight-bold;
      text-transform: uppercase;
      letter-spacing: .06em;
   }

   .footer-logo-text {
      display: flex;
      flex-direction: column;
      color: white;
      width: 30%;
      padding-left: 122px;

      span {
         text-transform: uppercase;
         font-size: 14px;
         font-weight: bold;
         letter-spacing: 1px;
         margin-bottom: 20px;
      }

      a[href^="tel:"] {
         margin-top: 10px;
      }

      @media screen and (max-width: $xl - 1) {
         padding-left: 60px;
      }

      @media screen and (max-width: $lg - 1) {
         padding-left: 0;
         align-items: center;
         margin-bottom: 20px;
      }

      @media screen and (max-width: $md - 1) {
         padding-bottom: 20px;
         margin: 0 auto;
         text-align: center;
      }
   }

   .footer-img {
      padding-right: 120px;

      @media screen and (max-width: $lg - 1) {
         padding-right: 0;
         display: flex;
         align-items: center;
         justify-content: center;
         margin-bottom: 20px;
      }
   }

   @media screen and (max-width: $lg - 1) {
      > .container:first-child {
         justify-content: center;
         padding: 30px 0 0;
         flex-direction: column;
      }

      .footer-logo-text {
         width: 100%;
      }

      ul:not(.list-inline) {
         display: none;
         padding: 0 30px 20px;
      }

      .toggle-content {
         display: none;
         padding-bottom: 20px;
      }

      .title-default {
         border-top: 1px solid $border-alt;
         margin-bottom: 0;
         padding: 20px 30px;
         display: flex;
         align-items: center;
         justify-content: space-between;

         &::before {
            display: none;
         }

         &::after {
            @include fonticon;

            content: $lightbox_right;
            font-size: 12px;
            line-height: 1;
            transition: transform $transition-speed;
            transform: rotate(90deg);
         }

         &.is-open::after {
            transform: rotate(0);
         }
      }

      .contact-wrapper {
         align-items: center;
         width: 100%;
      }
   }

   @media screen and (max-width: $sm - 1) {
      &.container {
         padding: 0;
      }

      > .container:first-child {
         border-radius: 0;
      }
   }
}

.footer-menu {
   display: flex;
   flex-grow: 1;

   a {
      @include underline-hover;

      color: #868686;
   }

   .column {
      padding-bottom: 30px;
      width: 33.33%;
      max-width: 300px;

      p {
         color: white;
      }
   }

   li {
      padding: 4px 0;
   }

   @media screen and (max-width: $lg - 1) {
      flex-wrap: wrap;
      margin-left: 0;

      .column {
         width: 100%;
         max-width: unset;
         padding-bottom: 0;

         &:last-child {
            border-bottom: 1px solid $border-alt;
            margin-bottom: 30px;
         }
      }
   }
}

.footer-newsletter {
   align-self: flex-start;
   margin-top: 0;
   width: 340px;

   @media screen and (max-width: $lg - 1) {
      margin: 0 auto;
   }

   .title-default {
      color: white;
   }

   form {
      display: flex;
   }

   .btn,
   .form-control {
      color: #9397af;
      background: black;
      border-color: #4d4d4d;
   }

   .btn {
      border-width: 1px;
      color: white;
      margin-left: -1px;
      width: 58px;
      font-size: 22px;
      padding: 0;
      flex-shrink: 0;

      @include haf {
         border-color: $blue;
      }
   }
}


@media screen and (max-width: $md - 1) {
   .footer .footer-menu,
   .footer .footer-newsletter {
      width: 100%;
   }
}

@media screen and (max-width: 730px) {
   .footer .logo {
      margin: 0 auto;
      padding-bottom: 30px;
   }
}
