.footer {
  padding: 1.5rem 0;
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {

  flex: 0 0 auto;
  margin-right: 2rem;
}

.footer-logo {
  width: 98px;
  height: 98px;
  margin:13px 10px;
  opacity: 0.85;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.gov-links {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.gov-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.gov-link {
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.gov-link:hover {
  color: var(--sizeColor);
}

.gov-link img {
  vertical-align: middle;
}

.legal-notice p {
  margin: 0.3rem 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 1rem;
  }

  .footer-left {
      margin: 0 0 1.5rem 0;
  }

  .footer-right {
      text-align: center;
      width: 100%;
  }

  .gov-links {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
  }

  .gov-item {
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
      font-size: 0.8rem;
      padding: 1rem 0;
  }
  
  .gov-link {
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .footer-logo {
      width: 90px;
      height: auto;
  }
}