 :where([class^="ri-"])::before {
   content: "\f3c2";
 }
 .colorPrimario {
   background-color: rgb(22, 108, 206);
 }

 .colorPrimario:hover {

   background-color: #f09420;
 }

 /*--------- PAGINA INDEX ------------- */

.hero-slider_banner {
   position: relative;
   overflow: hidden;
 }

 .slider-container_banner {
   display: flex;
   transition: transform 0.5s ease-in-out;

 }

 .slide_banner {
   min-width: 100%;
 }


 body {
   font-family: 'Teko', sans-serif; 
 }


/* ---------------------------------------- */


 /*  efectos del slider con desvanecimiento  */

 .fade-in {
   opacity: 1;
   transition: opacity 0.5s ease-in-out;
 }

 .fade-out {
   opacity: 0;
   transition: opacity 0.5s ease-in-out;
 }

 .slider-container {
   position: relative;
   overflow: hidden;
 }

 .slide {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 0;
   transition: opacity 0.5s ease-in-out;
 }

 .slide.active {
   opacity: 1;
 }

 /*  Estilos del mini slider de testimonios - index*/

 .hero-slider2 {
   position: relative;
   overflow: hidden;
 }

 .slider-container2 {
   display: flex;
   transition: transform 0.5s ease-in-out;
   width: 100%;

 }

 .slide2 {
   flex: 0 0 100%;

 }


 /* movimiento de las marcas en la seccion de marcas con las que trabajamos  */
 .brands_slider {

   animation: slide 15s linear infinite;

 }

 @keyframes slide {
   0% {
     transform: translateX(0);
   }

   100% {
     transform: translateX(-220%);
   }
 }

 /* ------------------------------------------------------------------------------------------------------------ */

 /* --------------------- */


 /* PAGINA DASHBOARD */

 .color_text_nav_bar {
   color: black;
 }


 /*---------------------------------------------------------------------------*/

 /*------- LIBRO DE RECLAMACIONES.PHP -----*/

 /* Estilos de los inputs de sacudida  */

 .shake {
   animation: shake 0.5s;
 }

 @keyframes shake {

   0%,
   100% {
     transform: translateX(0);
   }

   20%,
   60% {
     transform: translateX(-5px);
   }

   40%,
   80% {
     transform: translateX(5px);
   }
 }

 .input-error {
   border-color: #ef4444 !important;
   background-color: #fef2f2 !important;
 }

 .input-valid {
   border-color: #10b981 !important;
   background-color: #f0fdf4 !important;
 }


 /* ------------------------------------------------------------------------- */

 /* boton de wassap  */

 .whatsapp-container {
   position: fixed;
   bottom: 20px;
   font-family: 'roboto', sans-serif;
   right: 20px;
   display: flex;
   align-items: flex-end;
   z-index: 1000;
 }

 /* Mensaje animado */
 .whatsapp-message {
   background-color: white;
   height: 5rem;
   color: #43474E;
   padding: 10px 15px;
   border-radius: 10px;
   margin-right: 10px;
   font-size: 12px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   white-space: nowrap;
   transform: translateY(0);
   opacity: 1;
   transition: transform 0.5s ease, opacity 0.5s ease;
 }

 .whatsapp-message.hide {
   transform: translateY(30px);
   opacity: 0;
 }

 .whatsapp-button {
   width: 60px;
   height: 60px;
   background-color: #25D366;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
   transition: transform 0.3s ease;
   position: relative;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }

 .whatsapp-button i {
   font-size: 30px;
   color: white;
   transition: transform 0.3s ease;
 }

 .whatsapp-button.open i::before {
   content: "✕";
   font-size: 28px;
 }


/* Modal emergente */
.whatsapp-modal {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 20rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.whatsapp-modal.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Estado inicial de los enlaces */
.whatsapp-modal a {
  opacity: 0;
  transform: translateY(10px);
  text-decoration: none;
  color: #25D366;
  font-weight: bold;
  border-left: 3px solid #2DB742;
  border-radius: 5px;
  padding: 8px;
  text-align: center;
  transition: background 0.3s;
}

/* Cuando el modal se abre, se aplica la animación */
.whatsapp-modal.show a {
  animation: aparecer 0.6s ease forwards;
}

.whatsapp-modal.show a:nth-of-type(1) {
  animation-delay: 0.2s;
}

.whatsapp-modal.show a:nth-of-type(2) {
  animation-delay: 0.5s;
}

/* Animación de aparición */
@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: oculta el mensaje en pantallas pequeñas */
@media (max-width: 500px) {
  .whatsapp-message {
    display: none;
  }
}