/* ==========================================
   FOOTER DE ENVATO - ESTILOS COMPLETOS
   ========================================== */

.envato-footer {
  background-color: #fdf6f0; /* Fondo beige claro */
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* === LOGO Y REDES SOCIALES === */
.footer-brand {
  flex: 0 0 280px;
}

.footer-logo {
  height: 360px;
  margin-bottom: -80px;
  margin-top: -80px;
  display: block;
  margin-left: -210px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  font-size: 1rem;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: #333;
  color: #fff;
}

/* === NEWSLETTER === */
.newsletter {
  margin-top: 1.5rem;
}

.newsletter-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.newsletter-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #666;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-size: 0.9rem;
  background: #fff;
  outline: none;
}

.newsletter-form input:focus {
  border-color: #333;
}

.newsletter-form button {
  background: #333;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: #222;
}

.newsletter-policy {
  font-size: 0.8rem;
  color: #666;
}

.newsletter-policy a {
  color: #333;
  text-decoration: underline;
}

.newsletter-policy a:hover {
  text-decoration: none;
}

/* === COLUMNAS DE ENLACES === */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex: 1;
  min-width: 300px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #007acc;
  text-decoration: underline;
}

/* === FOOTER INFERIOR === */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a,
.footer-links span {
  color: #333;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  flex: 1;
  text-align: center;
}

.footer-language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-language button {
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  transition: color 0.2s ease;
}

.footer-language button:hover {
  color: #007acc;
}

.footer-language svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.footer-language button:hover svg {
  transform: rotate(180deg);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-column {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .envato-footer {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .footer-container {
    gap: 1.5rem;
  }

  .footer-brand {
    order: 1;
  }
.footer-logo {
  height: 180px;
  margin-bottom: -20px;
  margin-top: -20px;
  display: block;
  margin-left: -30px;
}

  .footer-columns {
    order: 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-copyright {
    text-align: center;
    order: 3;
  }

  .footer-language {
    justify-content: center;
    order: 2;
  }
}

@media (max-width: 480px) {
  .envato-footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-brand {
    margin-bottom: 1rem;
  }

  .social-icons {
    gap: 0.75rem;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    padding: 0.75rem;
  }

  .footer-column h4 {
    font-size: 0.95rem;
  }

  .footer-column a {
    font-size: 0.85rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a,
  .footer-links span {
    font-size: 0.85rem;
  }

  .footer-language button {
    font-size: 0.85rem;
  }
}