.floating-chips-container {
  position: absolute;
  top: calc(100% - 80px); /* Más abajo para no tapar el scroll indicator */
  left: 50%;
  transform: translateX(-50%); /* Centra horizontalmente */
  z-index: 20; /* Asegura que esté sobre el hero */
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 800px; /* Controla el ancho máximo */
  overflow: hidden; /* Evita que elementos se desborden */
  padding: 15px 0; /* Espaciado vertical */
  /* Limitar la altura para evitar que se vean slides debajo */
  max-height: 180px;
  clip-path: inset(0 0 0 0); /* Recorta contenido que sobresale */
}

/* Contenedor del Swiper */
.swiper-container.chip-swiper {
  width: 100%;
}

/* Contenedor de los elementos del carrusel */
.swiper-wrapper {
  display: flex;
  align-items: center;
}

/* Ocultar todos los elementos de navegación de Swiper */
.floating-chips-container .swiper-pagination,
.floating-chips-container .swiper-button-next,
.floating-chips-container .swiper-button-prev,
.floating-chips-container .swiper-scrollbar,
.chip-swiper .swiper-pagination,
.chip-swiper .swiper-button-next,
.chip-swiper .swiper-button-prev,
.chip-swiper .swiper-scrollbar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Estilo de cada chip */
.chip-item {
  text-align: center;
  background-color: white;
  padding: 20px 40px; /* Espaciado interno */
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #005b9c;
  max-width: 1000px; /* Ajusta el tamaño del chip */
  min-width: 700px;
  height: auto; /* Auto height to accommodate button */
  min-height: 80px;
  max-height: 160px; /* Limitar altura máxima */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden; /* Ocultar contenido que sobresale */
}

/* Asegurar que slides no activos estén completamente detrás */
.swiper-slide:not(.swiper-slide-active) {
  opacity: 0.6;
  pointer-events: none;
}

.chip-item h6 {
  font-size: 1.4rem; /* Ajusta el tamaño de fuente */
  font-weight: bold;
  color: #005b9c;
  margin: 0;
}

.chip-item p {
  font-size: 1.2rem;
  color: #333;
  margin: 0 0 10px 0;
}

/* Chip CTA Button */
.chip-cta-btn {
  background: linear-gradient(45deg, #005b9c, #0d6efd);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 5px;
}

.chip-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 91, 156, 0.3);
  background: linear-gradient(45deg, #004a85, #0056b3);
}
