@import url("./Styles-general.css");
/*BURBUJA DE BUSQUEDA*/
/* Contenedor de la burbuja y mensaje */
.floating-container {
  position: fixed;
  left: 30px;
  bottom: 35px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* Burbuja flotante */
.floating-bubble {
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0099cf;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
}

.floating-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.brands-menu-header {
  position: sticky;
  top: -15px;
  background: white;
  /* Para que no se vea lo que está debajo al hacer scroll */
  padding-bottom: 10px;
  z-index: 1;
  /* Asegura que quede encima de los botones al hacer scroll */
}


.brands-menu {
  position: fixed;
  left: 30px;
  bottom: 105px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  width: 260px;
  /* Ancho fijo */
  height: 400px;
  /* Alto fijo */
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 999;
  resize: both;
  /* Opcional: permite redimensionar manualmente */
  cursor: grab;
  /* Cursor visual para indicar que se puede mover */
}


/* Mostrar el menú */
.brands-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Mensaje de la burbuja */
.bubble-message {
  margin-left: 15px;
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.brands-menu {
  position: fixed;
  left: 30px;
  bottom: 105px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  width: 290px;
  /* Ancho fijo */
  height: 295px;
  /* Alto fijo */
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 999;
  resize: both;
  /* Opcional: permite redimensionar manualmente */
  cursor: grab;
  /* Cursor visual para indicar que se puede mover */
}


/* Mostrar el menú */
.brands-menu.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Botones de marcas */
.brand-button {
  padding: 10px 15px;
  margin: 5px 0;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
}

.brand-button:hover {
  background-color: #000;
  color: #0099cf;
}

/* Barra de búsqueda */
.search-box {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

/* Lista de accesorios */
.accessory-list {
  display: none;
  flex-direction: column;
  margin-left: 15px;
  border-left: 2px solid #00618A;
  padding-left: 10px;
}

.accessory-list.show {
  display: flex;
}

/* Botón para cerrar */
.close-button {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #333;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.close-button:hover {
  color: red;
}

/* Título del menú */
.menu-title {
  margin: 5px 0 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #00618A;
  text-align: center;
}

/* Ocultar mensaje */
.message-hidden {
  opacity: 0;
  pointer-events: none;
}


.accessory-button {
  padding: 6px 10px;
  background-color: #f0f0f0;
  border: none;
  text-align: left;
  cursor: pointer;
  margin-bottom: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.accessory-button:hover {
  background-color: #ddd;
}

.highlighted {
  outline: 4px solid #007bff;
  outline-offset: 4px;
  border-radius: 8px;
  animation: fadeHighlight 2s ease-in-out;
}

@keyframes fadeHighlight {
  0% {
    outline-color: #007bff;
  }

  100% {
    outline-color: transparent;
  }
}


.burbuja-inicio {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background-color: #000;
  color: white;
  padding: 12px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.burbuja-inicio:hover {
  background-color: #000;
  color: #0099cf;
  transform: scale(1.1);
}

/* Estilo base */
.logo-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

.logo-container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.logo-logo img {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  border: 2px solid #000; /* Borde negro de 2px */
  border-radius: 8px;      /* Esquinas redondeadas (opcional) */
}

/* Globo de texto - Visible inicialmente */
.speech-bubble {
  position: absolute;
  right: 70px;
  background: white;
  padding: 10px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  width: max-content;
  max-width: 180px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}

/* Menú de opciones */
.contact-options {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 180px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.contact-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.contact-option:hover {
  background: #f5f5f5;
  transform: translateX(-5px);
}

.contact-option img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  object-fit: contain;
}

.whatsapp-option {
  color: #075E54;
}

.facebook-option {
  color: #1877F2;
}

.instagram-option {
  color: #E4405F;
  /* Color oficial de Instagram */
}

.tiktok-option {
  color: #010101;
  /* TikTok usa un negro casi puro */
}

/* Estados interactivos */
.logo-container:hover .logo-logo img {
  transform: scale(1.1);
}

.logo-container.active .contact-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.logo-container.active .speech-bubble {
  opacity: 0;
  /* Oculta el mensaje al activar */
}

.logo-container.active .logo-logo img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .logo-float {
    bottom: 20px;
    right: 20px;
  }

  .logo-logo img {
    width: 50px;
    height: 50px;
  }

  .speech-bubble {
    font-size: 13px;
    right: 60px;
    max-width: 150px;
    padding: 8px 12px;
  }

  .contact-options {
    width: 160px;
    bottom: 70px;
  }
}













.beneficios {
  background-image: url("../images/fondo-rosa.webp");
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 0,
    black 96%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 0,
    black 96%,
    transparent
  );
  padding: 40px 0;
  margin-top: 90px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.beneficios-box {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-around;
}

.beneficios-box h3 {
  color: #d66;
  font-size: 40px;
}

p {
  margin: 22px 0 0;
}

.beneficios-item .title {
  margin: 20px 0 0;
  color: #d66;
  font-size: 20px;
  font-weight: bold;
}

.beneficios-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.beneficio {
  font-size: 18px;
  color: #666;
}
.beneficio::before {
  content: "\2713";
  color: rgb(255 187 186);
  font-weight: bold;
  margin-right: 8px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: #d66 !important;
}

.carousel-indicators [data-bs-target] {
  background-color: #d66 !important;
}

.div-transparent:before {
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(255 187 186),
    transparent
  );
}

/* Programa */

.programa {
  margin: 50px 0;
}

.programa-box {
  display: flex;
  flex-direction: column;
}

.programa-box h2 {
  color: #000;
  text-align: center;
  font-size: 42px;
  margin: 14px 0;
  font-weight: bold;
}

.programa-box h2 span {
  color: rgb(180, 59, 59);
}
.programa-item {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 60px;
}

.programa-item.programa-item--fondo {
  background-color: #f9eeee;
  padding: 20px;
  border-radius: 16px;
}

.programa-item .title {
  color: #d34444;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
}

.number {
  background-color: #fcc9c3;
  padding: 8px 24px;
  font-size: 38px;
  margin-right: 8px;
  border-radius: 14px;
}

.container-text {
  max-width: 650px;
  width: 100%;
}

.image-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 400px;
  height: 300px; /* Altura fija en lugar de padding-top */
  overflow: hidden;
  border-radius: 12px;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 12px;
}

.programa-item[data-interval="1"] .img1 {
  animation: fadeImages 8s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="1"] .img2 {
  animation: fadeImages 8s infinite ease-in-out;
  animation-delay: 4s;
  z-index: 2;
}

/* Segundo item - Cambio cada 5 segundos */
.programa-item[data-interval="2"] .img1 {
  animation: fadeImages 10s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="2"] .img2 {
  animation: fadeImages 10s infinite ease-in-out;
  animation-delay: 5s;
  z-index: 2;
}

.programa-item[data-interval="3"] .img1 {
  animation: fadeImages 12s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="3"] .img2 {
  animation: fadeImages 12s infinite ease-in-out;
  animation-delay: 6s;
  z-index: 2;
}

.programa-item[data-interval="4"] .img1 {
  animation: fadeImages 14s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="4"] .img2 {
  animation: fadeImages 14s infinite ease-in-out;
  animation-delay: 7s;
  z-index: 2;
}

.programa-item[data-interval="5"] .img1 {
  animation: fadeImages 16s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="5"] .img2 {
  animation: fadeImages 16s infinite ease-in-out;
  animation-delay: 8s;
  z-index: 2;
}

.programa-item[data-interval="6"] .img1 {
  animation: fadeImages 18s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="6"] .img2 {
  animation: fadeImages 18s infinite ease-in-out;
  animation-delay: 9s;
  z-index: 2;
}

.programa-item[data-interval="7"] .img1 {
  animation: fadeImages 20s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="7"] .img2 {
  animation: fadeImages 20s infinite ease-in-out;
  animation-delay: 10s;
  z-index: 2;
}

.programa-item[data-interval="8"] .img1 {
  animation: fadeImages 22s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="8"] .img2 {
  animation: fadeImages 22s infinite ease-in-out;
  animation-delay: 11s;
  z-index: 2;
}

.programa-item[data-interval="9"] .img1 {
  animation: fadeImages 24s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="9"] .img2 {
  animation: fadeImages 24s infinite ease-in-out;
  animation-delay: 12s;
  z-index: 2;
}

.programa-item[data-interval="10"] .img1 {
  animation: fadeImages 26s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="10"] .img2 {
  animation: fadeImages 26s infinite ease-in-out;
  animation-delay: 13s;
  z-index: 2;
}

.programa-item[data-interval="11"] .img1 {
  animation: fadeImages 28s infinite ease-in-out;
  animation-delay: 0s;
  z-index: 1;
}
.programa-item[data-interval="11"] .img2 {
  animation: fadeImages 28s infinite ease-in-out;
  animation-delay: 14s;
  z-index: 2;
}

/* Animación común para todos */
@keyframes fadeImages {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.img {
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}

.subtitle {
  font-weight: bold;
  font-size: 18px;
}

.lista-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
  max-width: 540px;
  width: 100%;
}

.lista-item {
  display: flex;
  align-items: center;
}

.lista-item div {
  padding: 8px;
  background-color: rgb(255 187 186);
  color: #000;
  border-radius: 10px;
}

.check {
  width: auto;
  font-size: 16px;
  font-weight: bold;
  color: #666;
}

.check::before {
  content: "\2713";

  font-weight: bold;
  margin-right: 8px;
}

@media only screen and (max-width: 960px) {
  .beneficios-box {
    flex-direction: column;
  }

  .programa-item {
    flex-wrap: wrap;
    gap: 20px;
  }

  .image-container {
    padding-top: 40%;
  }
}

@media only screen and (max-width: 640px) {
  .beneficios {
    margin-top: 80px;
  }

  .beneficios-lista {
    gap: 0;
  }

  .beneficio {
    font-size: 16px;
  }

  p {
    margin: 10px 0 0;
  }

  .programa-box h2 {
    font-size: 36px;
  }

  .number {
    padding: 4px 16px;
    font-size: 30px;
  }

  .programa-item .title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 480px) {
  .beneficios-box h3 {
    font-size: 24px;
  }

  .beneficios-item .title {
    margin: 10px 0 0;
  }

  p {
    font-size: 16px;
  }

  .image-container,
  .img {
    max-width: 300px;
  }

  .programa-box h2 {
    font-size: 28px;
  }

  .number {
    padding: 4px 10px;
    font-size: 26px;
  }
}
