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

.footer-wrapper {
  width: 100%;
  padding: 16px 24px 40px;
}


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

.site-footer {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;

  padding: 48px 48px;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  border: 1px solid rgba(255, 255, 255, 0.30);

  border-radius: 16px;

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08);
}


/* =====================================================
   TOP GRID
===================================================== */

.footer-grid {
  display: grid;

  grid-template-columns:
    minmax(220px, 3fr)
    minmax(0, 9fr);

  gap: 40px;

  margin-bottom: 48px;

  align-items: start;
}


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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;

  margin-bottom: 20px;
}

.footer-logo img {
  width: 200px;
  height: 48px;

  object-fit: contain;
}

.footer-brand p {
  color: #334155;

  font-size: 14px;
  line-height: 1.625;

  max-width: 220px;

  margin: 0;
}


/* =====================================================
   NAVIGATION
===================================================== */

.footer-navigation {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 32px;
}


.footer-nav-section h3 {
  margin: 0 0 20px;

  color: #1e293b;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.footer-nav-section ul {
  list-style: none;

  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;

  gap: 12px;
}


.footer-nav-section a {
  color: #475569;

  font-size: 14px;
  font-weight: 400;

  text-decoration: none;

  transition:
    color 0.2s ease;
}


.footer-nav-section a:hover {
  color: #1e293b;
}


/* =====================================================
   DIVIDER
===================================================== */

.footer-divider {
  width: 100%;

  margin-bottom: 24px;

  border-top:
    1px solid rgba(255, 255, 255, 0.45);
}


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

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;
}


/* =====================================================
   SOCIAL
===================================================== */

.footer-social {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 12px;
}


.footer-social > span {
  color: #1e293b;

  font-size: 14px;
  font-weight: 600;
}


.social-icons {
  display: flex;

  align-items: center;

  gap: 8px;
}


.social-icons a {
  width: 32px;
  height: 32px;

  display: flex;

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

  border-radius: 50%;

  background: #1e293b;

  color: white;

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}


.social-icons a:hover {
  background: #4f46e5;

  transform: translateY(-2px);
}


/* =====================================================
   COPYRIGHT
===================================================== */

.footer-copyright {
  margin: 0;

  color: #475569;

  font-size: 14px;

  font-weight: 500;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

  .site-footer {
    padding: 40px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand p {
    max-width: 400px;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 640px) {

  .footer-wrapper {
    padding: 16px 16px 30px;
  }

  .site-footer {
    padding: 32px 24px;
  }

  .footer-navigation {
    grid-template-columns: repeat(2, 1fr);

    gap: 32px 20px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }

  .footer-copyright {
    line-height: 1.6;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

  .footer-navigation {
    grid-template-columns: 1fr;
  }

}