/* Footer EnVoz - Solo visible en desktop */
.envoz-footer {
  background: var(--color-gen-dark-bg);
  color: var(--color-text-inverse);
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  margin-top: var(--spacing-xxxl);
  
  /* Solo visible en desktop (oculto en móvil y tablet) */
  display: none;
}

@media (min-width: 1024px) {
  .envoz-footer {
    display: block;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo EnVoz */
.footer-logo {
  margin-bottom: var(--spacing-xl);
}

.footer-logo .logo-link {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
  display: inline-block;
}

.footer-logo .logo-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.envoz-logo-svg {
  height: 60px;
  width: auto;
  filter: brightness(1);
  transition: all var(--transition);
}

.footer-logo .logo-link:hover .envoz-logo-svg {
  filter: brightness(1.1);
}

/* Separador */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: var(--spacing-lg);
}

/* Navegación */
.footer-nav {
  margin-bottom: var(--spacing-lg);
}

.nav-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xl);
}

.footer-link {
  color: var(--color-text-inverse);
  text-decoration: none;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  font-family: var(--font-base);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--color-text-tertiary);
  text-decoration: none;
}

/* Links legales */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.legal-link {
  color: var(--color-text-tertiary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  font-family: var(--font-base);
  transition: color var(--transition);
  white-space: nowrap;
}

.legal-link:hover {
  color: var(--color-text-inverse);
  text-decoration: none;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
  font-family: var(--font-base);
}

.footer-bottom .copyright {
  margin: 0;
  font-weight: var(--font-weight-regular);
}

.footer-bottom .powered-by {
  margin: 0;
  font-weight: var(--font-weight-regular);
}

.footer-bottom .powered-by strong {
  color: var(--color-text-inverse);
  font-weight: var(--font-weight-semibold);
}

.footer-bottom .developed-by {
  margin: 0;
  font-weight: var(--font-weight-regular);
}

.footer-bottom .solutions-link {
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition);
}

.footer-bottom .solutions-link:hover {
  color: var(--color-highlight);
  text-decoration: underline;
}

/* Responsive para pantallas desktop más pequeñas */
@media (max-width: 1200px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }
}

/* Ajustes para el tema oscuro si se detecta automáticamente */
[data-theme="dark"] .envoz-footer {
  background: var(--color-gen-dark-bg);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .envoz-footer {
    background: var(--color-gen-dark-bg);
  }
}