/* ==================================================
   FOOTER
================================================== */

/* ==================================================
   FOOTER
================================================== */

.site-footer {
  background: #ffffff;

  border-top: 1px solid #e5e7eb;

  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

/* ==================================================
   FOOTER INNER
================================================== */

.site-footer__inner {
  display: grid;

  grid-template-columns:
    1.5fr
    1fr
    1fr;

  gap: 3rem;

  padding-bottom: 3rem;
}

/* ==================================================
   FOOTER BRAND
================================================== */

.site-footer__brand .brand {
  margin-bottom: 0.9rem;
}

.site-footer__brand > p {
  max-width: 260px;

  margin: 0;

  color: #6b7280;

  font-size: 0.8rem;

  line-height: 1.6;
}

/* ==================================================
   FOOTER LINKS
================================================== */

.site-footer__links h3,
.site-footer__contact h3 {
  margin-bottom: 1rem;

  color: #181a1f;

  font-size: 0.8rem;
  font-weight: 700;
}

.site-footer__links ul {
  display: flex;

  flex-direction: column;

  gap: 0.6rem;
}

.site-footer__links a,
.site-footer__contact a {
  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  color: #6b7280;

  font-size: 0.78rem;

  transition: color 0.25s ease;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  color: #d97706;
}

/* ==================================================
   FOOTER CONTACT
================================================== */

.site-footer__contact a i {
  color: #f59e0b;

  font-size: 0.85rem;
}

/* ==================================================
   FOOTER BOTTOM
================================================== */

.site-footer__bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 1rem;

  padding-top: 1.25rem;

  border-top: 1px solid #e5e7eb;
}

.site-footer__bottom p {
  margin: 0;

  color: #9ca3af;

  font-size: 0.7rem;

  line-height: 1.5;
}

.site-footer__bottom p:last-child {
  text-align: right;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__inner {
    gap: 2rem;
  }

  .site-footer__brand > p {
    max-width: 220px;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .site-footer {
    padding-top: 3rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;

    gap: 2rem;

    padding-bottom: 2.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand > p {
    max-width: 320px;
  }

  .site-footer__bottom {
    flex-direction: column;

    justify-content: center;

    gap: 0.4rem;

    text-align: center;
  }

  .site-footer__bottom p:last-child {
    text-align: center;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .site-footer {
    padding-top: 2.5rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;

    gap: 1.75rem;

    padding-bottom: 2rem;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__brand > p {
    max-width: 280px;

    font-size: 0.75rem;
  }

  .site-footer__links h3,
  .site-footer__contact h3 {
    margin-bottom: 0.75rem;

    font-size: 0.75rem;
  }

  .site-footer__links ul {
    gap: 0.5rem;
  }

  .site-footer__links a,
  .site-footer__contact a {
    font-size: 0.75rem;
  }

  .site-footer__bottom {
    gap: 0.3rem;

    padding-top: 1rem;
  }

  .site-footer__bottom p {
    font-size: 0.65rem;
  }
}
