/* =========================================================
   MATLO — FOOTER
   ========================================================= */

.footer-selva {
  background: var(--color-teal);
  color: #ffffff;
  padding: 2.4rem 2rem;
}

.footer-overlay {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 210px 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.footer-logo-col,
.footer-col {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo-col {
  align-items: center;
  background: #ffffff;
  padding: 1.2rem;
}

.footer-logo-col img {
  width: 100%;
  max-width: 155px;
  height: auto;
  display: block;
}

.footer-col {
  padding: 1.2rem 1.8rem;
  border-left: 1px solid rgba(255,255,255,0.35);
}

.footer-col h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-col p,
.footer-social-links a {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #ffffff;
  text-decoration: none;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-social-links a[href*="instagram"] {
  display: none;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-social-links img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-col {
    min-height: auto;
  }

  .footer-col {
    min-height: auto;
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  .footer-social-links {
    align-items: center;
  }
}