/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f8fc;
  color: #333;
}

/* Banner superior */
.home-hero {
  background: linear-gradient(180deg, #7B2FF7 0%, #3B38F3 100%);
  padding: 80px 20px 160px;
  text-align: center;
  color: white;
  position: relative; /* Necesario para aplicar z-index */
  z-index: 1;
}








.home-logo {
  font-size: 60px;
  font-weight: bold;
}

.home-cta-btn {
  margin-top: 20px;
  background-color: #6246ea;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  text-align: center;  /* Asegura que el texto esté centrado */
  text-decoration: none;  /* Elimina el subrayado del enlace */
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-block; /* Asegura que se comporte como un bloque (botón) */
  transition: 0.3s ease;
  border: 1px solid rgb(180, 180, 180);
}

.home-cta-btn:hover {
    color: white;
transform: scale(1.05);
  text-decoration: none;
  background-color: #513ad7;
}


.home-subtitle {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.9;
}

/* Card blanca */
.home-card {
  position: relative;
  z-index: 2;
  background: white;

  /* Responsive width */
  width: 90%;
  max-width: 800px;

  /* Espaciado lateral seguro */
  margin: -100px auto 40px;
  padding: 40px 20px;

  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  text-align: center;
}

.home-card .home-icon {
  background: linear-gradient(180deg, #7B2FF7 0%, #3B38F3 100%);
  color: white;
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.home-card .home-heading {
  color: #000000;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
}

.home-card .home-text {
  font-size: 16px;
  color: #555;
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 480px) {
  .home-card {
    padding: 32px 16px;
    border-radius: 16px;
  }

  .home-card .home-heading {
    font-size: 24px;
  }

  .home-card .home-text {
    font-size: 15px;
  }
}






























.home-caract-card-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* máximo 3 columnas */
  gap: 20px;
  padding: 40px;
  max-width: 1200px; /* ancho máximo de 3 cards cómodas */
  margin: 0 auto; /* centra el grid */
}

.home-caract-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.home-caract-icon {
  background: linear-gradient(180deg, #7B2FF7 0%, #3B38F3 100%);
  color: white;
  font-size: 40px;
  padding: 20px;
  border-radius: 0.5rem; /* Esto hace el fondo circular */
  margin-bottom: 20px;
  display: inline-block;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-caract-card h3 {
  color: #313399;
  font-size: 20px;
  margin-bottom: 10px;
}

.home-caract-card p {
  color: #555;
  font-size: 14px;
  opacity: 0.8;
}

/* Efecto hover */
.home-caract-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.home-caract-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  border-radius: 12px;
  z-index: -1;
}

/* Media Queries para mayor responsividad */
@media (max-width: 768px) {
  .home-caract-card-container {
    padding: 20px;
  }

  .home-caract-card {
    padding: 25px;
  }

  .home-caract-card h3 {
    font-size: 18px;
  }

  .home-caract-card p {
    font-size: 13px;
  }

  .home-caract-icon {
    font-size: 36px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .home-caract-card-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-caract-card {
    padding: 20px;
  }

  .home-caract-card h3 {
    font-size: 16px;
  }

  .home-caract-card p {
    font-size: 12px;
  }

  .home-caract-icon {
    font-size: 30px;
    padding: 16px;
  }
}




















.home-cta-section {
  background: linear-gradient(180deg, #7B2FF7 0%, #3B38F3 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
}





.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  position: relative;
  z-index: 2;
}

/* Halo animado */
.whatsapp-halo {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: pulse 1.5s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
 
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
