/* ============================================================
   MEBL – Footer
   ============================================================ */

.site-footer {
    font-family: var(--font-main);
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem 6rem;
}

.footer-inner {
  max-width: var(--screen-width-limit);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* -- Brand column ---------------------------------- */
.footer-brand {
  flex-basis: 420px;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.footer-logo img {
  height: 100px;
  object-fit: contain;
}

.footer-mobile-logo {
  display: none;
}

.footer-name-msg {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-company-name {
  font-size: 1rem;
  font-weight: 900;
}

.footer-message {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.footer-socials a:hover { background: var(--secondary-color); }

/* -- Nav column ------------------------------------ */
.footer-nav {
  flex-basis: 200px;
}

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

.footer-nav ul li a {
  color: white;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover { color: var(--secondary-color); }

/* -- Contact column -------------------------------- */
.footer-contact {
  flex-basis: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 700;
}

.footer-contact-item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact-item img {
  width: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* -- Bottom bar ------------------------------------ */
.footer-bottom {
  padding-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.footer-bottom a {
  color: white;
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--secondary-color); }

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* -- Mobile ---------------------------------------- */
.footer-mobile-socials {
  display: none;
}

@media screen and (max-width: 780px) {
  .site-footer {
    font-size: 0.75rem;
    padding: 2rem 1.5rem 5rem;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-brand {
    flex-basis: 100%;
    flex-direction: column;
  }

  .footer-logo { display: none; }

  .footer-mobile-logo {
    display: block;
    width: 140px;
  }

  .footer-company-name,
  .footer-message { display: none; }

  .footer-socials { display: none; }

  .footer-mobile-socials {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: center;
  }

  .footer-mobile-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.75rem;
    transition: background 0.2s ease;
  }

  .footer-bottom {
    flex-direction: row;
    text-align: center;
  }

  .footer-copyright { flex-basis: 100%; }
}