/**
Include icons in scss/css.
Usage: 
 @include icon(close);
*/
/*
Media query mixin.
Usage: 
@include media($bp-l, min)
*/
/*
Mixin to add loading spinner to button/element.
Usage: 
@include loading()
*/
.footer {
  padding-top: 3.75rem;
  padding-bottom: 2.5rem;
  background-color: #d7fff2;
  color: #054040;
}
@media only screen and (min-width: 992px) {
  .footer {
    padding-top: 5rem;
    padding-bottom: 1.5rem;
  }
}
.footer a {
  color: inherit;
}

.footer__container {
  width: 100%;
  box-sizing: border-box;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 var(--container-side-space);
}

.footer__top {
  margin-bottom: 1.25rem;
}
@media only screen and (min-width: 992px) {
  .footer__top {
    display: grid;
    grid-template-columns: 6fr 8fr;
    margin-bottom: 4.6875rem;
  }
}
@media only screen and (min-width: 768px) {
  .footer__top {
    margin-bottom: 5rem;
  }
}

.footer__social {
  margin-bottom: 2.25rem;
}
@media only screen and (min-width: 992px) {
  .footer__social {
    margin-bottom: 0;
    border-right: 1px solid rgba(11, 65, 62, 0.4941176471);
  }
}
.footer__social a {
  color: #054040;
}

.footer__newsletter {
  display: block;
}
.footer__newsletter:not(:empty) {
  margin-bottom: 2.5rem;
}

.footer__newsletter-title {
  font-size: 1.5rem;
  line-height: 140%;
  font-weight: 600;
  letter-spacing: -0.0625rem;
  max-width: 24.375rem;
  margin-bottom: 0.375rem;
}
@media only screen and (min-width: 768px) {
  .footer__newsletter-title {
    margin-bottom: 1rem;
  }
}
@media only screen and (max-width: 991px) {
  .footer__newsletter-title {
    max-width: 18.75rem;
  }
}

.footer__newsletter-subtitle {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  margin-bottom: 1rem;
}
@media only screen and (min-width: 768px) {
  .footer__newsletter-subtitle {
    margin-bottom: 2rem;
  }
}

.footer__newsletter-form {
  overflow: auto;
}

.footer__social-menu ul {
  max-width: 21.875rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media only screen and (max-width: 991px) {
  .footer__social-menu ul {
    max-width: 100%;
    justify-content: center;
  }
}
.footer__social-menu li {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__social-menu li a {
  height: 100%;
  font-size: 0.75rem;
  text-decoration: none;
  line-height: 1;
  text-align: center;
}

.footer__menu {
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 992px) {
  .footer__menu {
    padding-left: 4rem;
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.footer__menu nav {
  border-top: 1px solid #054040;
  border-bottom: 1px solid #054040;
  margin-top: -1px;
}
@media only screen and (min-width: 992px) {
  .footer__menu nav {
    border: 0;
    margin: 0;
    padding-right: 1rem;
  }
}
.footer__menu li:not(:last-child) {
  margin-bottom: 0.5rem;
}
.footer__menu li a {
  font-size: 0.875rem;
  line-height: 140%;
  font-weight: 500;
  text-decoration: none;
}
.footer__menu li a:hover, .footer__menu li a:focus-visible {
  text-decoration: underline;
}

@media only screen and (max-width: 991px) {
  .footer__menu-list {
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease-out;
    padding-left: 0.5rem;
  }
  .footer__menu-list li:first-child {
    margin-top: 0;
  }
  .footer__menu-list li:last-child {
    padding-bottom: 1rem;
  }
  .x-show .footer__menu-list {
    max-height: 40rem;
    transition-timing-function: ease-in;
  }
}

.footer__menu-title {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 600;
  letter-spacing: -0.0125rem;
  display: block;
  margin-bottom: -1px;
  padding: 1rem 0;
}
@media (min-width: 992px) {
  .footer__menu-title {
    font-size: 1.25rem;
  }
}
@media only screen and (min-width: 992px) {
  .footer__menu-title {
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
  }
}
@media only screen and (max-width: 991px) {
  .footer__menu-title {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .footer__menu-title::after, .footer__menu-title::before {
    position: absolute;
    right: 0;
    content: "";
    display: inline-block;
    background-color: #054040;
    width: 0.625rem;
    height: 0.0625rem;
    transition: 0.3s ease;
  }
  .footer__menu-title::after {
    transform: rotate(90deg);
  }
  .x-show .footer__menu-title {
    border-bottom-color: transparent;
  }
  .x-show .footer__menu-title::after {
    transform: rotate(0);
  }
}

.footer__bottom {
  color: #054040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* stylelint-disable-next-line no-descending-specificity */
}
@media only screen and (max-width: 991px) {
  .footer__bottom {
    flex-direction: column-reverse;
    align-items: initial;
    gap: 1.5rem;
  }
}
.footer__bottom a {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
  text-decoration: none;
  /* stylelint-disable-next-line no-descending-specificity */
}
.footer__bottom a:hover, .footer__bottom a:focus-visible {
  text-decoration: underline;
}

.footer__policies ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
@media only screen and (max-width: 991px) {
  .footer__policies ul {
    justify-content: left;
  }
}
.footer__policies ul li {
  display: flex;
  align-items: center;
}
.footer__policies ul li:not(:last-child)::after {
  content: "";
  display: block;
  width: 0.0625rem;
  height: 1rem;
  background-color: #363636;
  margin-inline: 1rem;
  margin-right: 0.5rem;
}

.footer__copyright {
  font-size: 0.75rem;
  line-height: 160%;
  font-weight: 500;
}
.footer__copyright a {
  text-decoration: none;
}
.footer__copyright a:hover {
  text-decoration: underline;
}

.footer__payments ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__payments ul li {
  width: 1.5rem;
}
.footer__payments ul li svg {
  width: 100%;
}
