/* Footer */
footer {
  background: hsl(var(--bg-primary));
  border-top: 1px solid var(--glass-border);
  padding: 4rem 1rem 2rem;
  margin-top: 4rem;
  width: 100%;
}

@media (min-width: 768px) {
  footer {
    padding: 4rem 2rem 2rem;
  }
}

@media (min-width: 1280px) {
  footer {
    padding: 4rem 4rem 2rem;
  }
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--container-width);
  margin: 0 auto 3rem auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Brand Section */
.footer-brand {
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo-img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
}

.footer-logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
}

.footer-logo-subtitle {
  font-size: 0.85rem;
  color: hsl(var(--text-muted));
}

.footer-description {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  line-height: 1.6;
}

/* Link Columns */
.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--text-primary));
}

.footer-links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-list a {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links-list a:hover {
  color: hsl(var(--primary));
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
}


/* -----------------------------------
   TABLET RESPONSIVE (768px - 1023px)
-------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


/* -----------------------------------
   DESKTOP RESPONSIVE (1024px+)
-------------------------------------- */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
