.footer {
  width: 100%;
  background-color: var(--mesana-dark-brown);
  position: relative;
  overflow: hidden;
  z-index: 2;
  margin-top: -1px;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/footer-mesh.webp');
  background-repeat: no-repeat;
  background-position: 30% 25%;
  opacity: 0.85;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--max-width-container);
  margin: 0 auto;
  padding: 80px 82px 40px 82px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity 0.6s ease-in;
}

.footer-content.reveal {
  opacity: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-left {
  gap: 24px;
}

.footer-column-right {
  width: 140px;
}

.footer-logo {
  width: fit-content;
}

.footer-logo img {
  width: 244px;
  height: auto;
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-company-name {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--mesana-white);
  margin: 0;
  line-height: 1.4;
}

.footer-address {
  display: flex;
  flex-direction: column;
}

.footer-address p {
  font-family: 'Libre Franklin Regular', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mesana-white);
  margin: 0;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-phone {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mesana-white);
  margin: 0;
  opacity: 0.8;
}

.footer-phone-link {
  color: var(--mesana-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-phone-link:hover {
  opacity: 0.7;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-nav-item {
  margin: 0;
}

.footer-nav-item a {
  font-family: 'Libre Franklin Light', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mesana-white);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.footer-nav-item a:hover {
  opacity: 0.7;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transition: opacity 0.6s ease-out 0.3s;
}

.footer-bottom.reveal {
  opacity: 1;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-column-middle-right {
  display: flex;
  gap: 120px;
}

.footer-copyright {
  font-family: 'Libre Franklin Regular', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mesana-white);
  margin: 0;
  opacity: 0.8;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-credit-text {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mesana-white);
  opacity: 0.8;
}

.footer-credit-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-credit-link:hover {
  opacity: 0.7;
}

.footer-credit-logo {
  width: 80px;
  height: auto;
  display: block;
}

.footer-credit-name {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mesana-white);
}

@media (max-width: 968px) {
  .footer-container {
    padding: 60px 40px 32px 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-column-left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px 24px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 52px;
    margin-bottom: 76px;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-company-name {
    font-size: 16px;
  }

  .footer-address p,
  .footer-phone {
    font-size: 12px;
  }

  .footer-nav-item a {
    font-size: 12px;
  }

  .footer-column-middle-right {
    gap: 20px;
    justify-content: space-between;
  }

  .footer-column-right {
    width: 90px
  }

  .footer-bottom-content {
    align-items: center;
    gap: 8px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-credit-text {
    font-size: 12px;
  }

  .footer-credit-logo {
    width: 60px;
  }

  .footer::before {
    background-position: 30% 35%;
  }
}

