/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* SITE FOOTER */

.site-footer {
  background: var(--white);
  color: var(--blue-dk);
}

.site-footer a {
  color: inherit;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* TOP: brand + nav + social */

.site-footer__top {
  padding: 84px 0;
  background: var(--white);
}

.site-footer__top .container {
  display: grid;
  grid-template-columns: minmax(280px, auto) 1fr auto;
  gap: 0;
  align-items: center;
}

/* brand */

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__logo {
  width: 83px;
  height: auto;
}

.site-footer__name {
  margin: 0;
  color: var(--blue-dk);
}

/* nav */

.site-footer__nav {
  align-self: center;
  margin-left: 80px;
  margin-right: 20px;
}

.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 10px 50px;
}

.site-footer__menu .menu-item {
  line-height: 1;
}

.site-footer__menu .menu-item a {
  font-family: "Cachet";
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blue-dk);
}

.site-footer__menu .menu-item a:hover {
  color: var(--purple-dk);
}

/* social */

.site-footer__social-label {
  margin: 0 0 12px;
  color: var(--blue-dk);
}

.site-footer__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a.site-footer__social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  border-radius: 50%;
  background: var(--blue-dk);
  color: var(--white);
  transition: background 0.2s ease;
}

.site-footer a.site-footer__social-link:hover {
  background: var(--purple-dk);
  color: var(--white);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* APP BANNER */

.site-footer__app {
  padding: 35px 0;
  margin: 16px;
  margin-bottom: 24px;
  background: var(--blue-background-gradient);
  color: var(--white);
  border-radius: 12px;
}

.site-footer__app .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__app-title {
  margin: 0 0 6px;
}

.site-footer__app-subtitle {
  margin: 0;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0;
}

.site-footer__app-stores {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.site-footer__app-badge {
  display: inline-block;
}

.site-footer__app-badge img {
  height: 48px;
  width: auto;
  display: block;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* BOTTOM BAR */

.site-footer__bottom {
  padding: 24px 0;
  background: var(--blue-dk);
  color: var(--white);
}

.site-footer__bottom a {
  color: var(--white);
}

.site-footer__bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__bottom .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

/* pillars */

.site-footer__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__pillars li {
  font-family: "Cachet";
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* legal */

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer__legal,
.site-footer__legal a {
  font-family: "Verdana";
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -0.4px;
  line-height: 20px;
}

.site-footer__lang {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* accreditation */

.site-footer__accreditation {
  justify-self: end;
  min-height: 48px;
  min-width: 160px;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* RESPONSIVE */

@media (max-width: 992px) {
  .site-footer__top {
    padding: 48px 0;
  }

  .site-footer__top .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__nav {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer__menu {
    gap: 16px 40px;
  }

  .site-footer__app .container {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__bottom .container {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .site-footer__pillars,
  .site-footer__accreditation {
    justify-self: center;
  }
}

@media (max-width: 576px) {
  .site-footer__top {
    padding: 32px 0;
  }

  .site-footer__menu {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .site-footer__app-badge img {
    height: 40px;
  }
}
