/* ===== FOOTER ===== */
footer {
  background: #e8e8e8;
  color: var(--primary);
  padding: 3rem 2rem 1rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.footer-col a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #ccc;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  font-size: 0.9rem;
}

.footer-contact {
  color: var(--primary);
  line-height: 1.8;
}

.footer-contact p {
  margin: 0;
  color: var(--primary);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  text-decoration: none;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s;
  border: none;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #1f3a6f;
}

.footer-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-legal-center {
  border-top: 1px solid #ccc;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--primary);
}

.footer-legal-center a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.2s;
}

.footer-legal-center a:hover {
  color: #1f3a6f;
}

.footer-social {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.footer-social a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 1.5rem;
  transition: color 0.2s;
  display: inline-block;
}

.footer-social a:hover {
  color: #1f3a6f;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-map {
    display: none;
  }

  .footer-legal-center a {
    display: block;
    margin: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
