/* Footer base */
.footer {
  margin: 20px;
  padding: 20px 10px 5px;
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

/* Brand text */
.footer-brand p {
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.3;
  max-width: 260px;
}

/* Columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* Headings */
.footer h3,
.footer h4 {
  margin-bottom: 16px;
}

/* Links */
.footer a {
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.footer a:hover {
  color: var(--primary);
}

/* Contact text */
.footer-col p {
  margin-bottom: 10px;
  color: var(--text-light);
}

/* Bottom copyright */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-light);
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}
