.footer {
  background-image: url('../../assets/img/6.1.png');
  color: white;
  padding: 2rem 1.5rem 1rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 210px;
}

.footer-column h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  text-decoration: underline;
  color: #ffc107;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 1rem;
}

.footer-campus p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.social-icons a {
  margin-right: 1rem;
  font-size: 1.3rem;
  color: white;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f4c400;
}

/* KOMMO formulario*/
.footer-form {
  background-color: rgba(0, 0, 0, 0.6); /* Negro con 60% de opacidad */
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
   max-width: 100%;
  margin: 0 auto;
}

.footer-form iframe {
  max-width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #fff3;
  padding-top: 1rem;
  font-size: 0.85rem;
}

/* Botón flotante */
.boton-flotante {
  position: fixed;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.boton-flotante:hover {
  transform: translateY(-2px);
}

.btn-info {
  background-color: #f4c400;
  color: #001f4d;
  right: 20px;
}

.btn-info:hover {
  background-color: #ffe066;
}

.btn-whatsapp {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  background-color: #075e54;
  color: white;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1ebe5c;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .footer {
    padding: 1.5rem 1rem 0.5rem;
  }
         
  .footer-content {
    flex-direction: column;
    gap: .8rem; /* Reduce espacio entre columnas */
    align-items: center;
    text-align: center;
  }

  .footer-column {
/*    width: 100%;*/
    margin-bottom: 1.2rem;
    text-align: center;
    flex: 1 1 2px;
  }

   .footer-bottom {
    margin-top: 1rem;
    padding-top: 0.7rem;
  }

  .social-icons {
    display: flex;
    justify-content: center;
  }
  .social-icons a {
    margin: 0 0.5rem;
  }

  .footer-form {
    padding: 1rem 1rem 0.5rem;
  }

  .footer-logo {
    margin-bottom: 0.8rem;  
    max-width: 80px;
  }

  .footer-lead-button {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 30px;
  }

  .btn-info {
    bottom: 40px;
  }
}
