
@import url('https://cdn.jsdelivr.net/npm/@n8n/chat/dist/style.css');

/*webchat*/



:root {
	 /*Colores chat n8n */
     --chat--color-primary: #0062ff; /*Color circulo pequeño*/
     --chat--color-primary-shade-50: #0007c5; /*Color hover*/
     --chat--color-primary-shade-100: #0340f6; /*Color hover clic*/
 
     --chat--color-dark: #007deb; /*Color encabezado y texto*/
     --chat--color-light: #ffffff; /*Color background chat*/
 
     --chat--message--bot--background: #d4eaed; /*Color background texto bot*/
     --chat--message--bot--color: #000000; /*Color texto bot*/
 
     --chat--message--user--background: #00d9ff;/*Color background texto user*/
     --chat--message--user--color: #ffffff; /*Color texto user*/
 
     --chat--color-secondary: #30ffff; /*Color boton enviar*/
     --chat--color-white: #F2F2F2; /*Color chat pequeño*/   
 



     --chat--spacing: 1rem;
	--chat--border-radius: 1rem;
	--chat--transition-duration: 0.15s;

	--chat--window--width: 400px;
	--chat--window--height: 600px;

	--chat--header-height: auto;
	--chat--header--padding: var(--chat--spacing);
	--chat--header--background: var(--chat--color-dark);
	--chat--header--color: var(--chat--color-light);
	--chat--header--border-top: none;
	--chat--header--border-bottom: none;
	--chat--header--border-bottom: none;
	--chat--header--border-bottom: none;
	--chat--heading--font-size: 2em;
	--chat--header--color: var(--chat--color-light);
	--chat--subtitle--font-size: inherit;
	--chat--subtitle--line-height: 1.8;

	--chat--textarea--height: 50px;

	
	
 
}











.nunito{
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }


  .raleway{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
  }


  .wave-section h1{
    font-size: 65px;
    text-shadow: black 2px 5px 2px;
  }


.branding-link {
    display: none !important;
}


#logo{
    height: 110px; /* Ajusta esto según el tamaño deseado */
    width: auto; /* Mantiene la proporción de la imagen */
}



.hero{ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('/imagenes/inicio/banner.JPG') no-repeat;
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed; 
    height: 50vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 2rem;

}



.hero_2{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('/imagenes/inicio/ASESORES2.png') no-repeat center top;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    height: 50vh; 
    display: flex;
   

}

.hero_3{
    background: linear-gradient(rgba(0, 93, 124, 0.5), rgba(0, 0, 0, 0.5)), 
    url('/imagenes/inicio/fotorecovery.png') no-repeat center center;
    background-size: cover;
    background-position: center;
   
    height: 50vh; /* Toma el alto de la pantalla */
    display: flex;
}

.hero_4{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('/imagenes/servicios/tablero.jpg') no-repeat center top;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    height: 50vh; 
    display: flex;    
}



.btn_custom{
    background-color: #0e5097;
    padding: 8px 25px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
}

.btn_custom:hover{
    background-color: rgb(0, 0, 103);
    transition: 0.5s;
}

nav{
    font-size: 17px;
    box-shadow: 1px 1px 5px 1px;


}

nav ul li{
    margin: 10px;
    border-radius: 10px;
    

}

 nav ul li:hover{
    background-color: gray;
    
    transition: 0.6s;
    border-radius: 10px;
}

#pagos{
    
    background-color: #0e5097;
    color: white;
    padding: 10px 15px 10px 15px;
    border-radius: 10px;
}

#pagos:hover{
    color: black;
    background-color: white;
    border: solid black;
    transition: 0.2s;
}

.card{
    margin: 15px;
}


.card-img{
    border: solid gray;
   border-width: 1px;
   margin-bottom: 15px;
   
  
}


/* seccion deacoracion */

.wave-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('/imagenes/inicio/fotorecovery.png') no-repeat center center;
    height: 70vh;
    color: white;
    text-align: center;
    padding: 80px 20px;
    font-size: 1.5rem;
    overflow: hidden; /* Evita cortes */
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
}

.wave-section h2, 
.wave-section p {
    position: relative;
    z-index: 2;
}



.abogado{
    width: 30%;
    height: auto;
    display: none;
    
}

.porque{
    background-color: #1db0ff ;
    color: white;
    display: flex;
    height: 8vh;
    transition: 2s;
  


}

.contenedor{
    
     display: flex;
    align-items: center;
    margin: 2% 16%;
}

.contenedor h3{
    position: relative;
    bottom: 75px;
    font-size: 27px;
    background-color: rgba(0, 47, 147, 0.52);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}



.proposito{
    background-color: #0e5097;
    color: white;
}

.contenedor-p{
    
    padding: 25px;
}

.contenido-p{
    display: flex;
    
}

.text-p{
    margin: 20px;
   
    width: 100%;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.img-p{
border-radius: 20px;
 display: flex;
 background: url(/imagenes/inicio/proposito.jpg) no-repeat center center;
 width: 40%;
 height: 350px;
 background-size: cover;
}

.titulo-p{
    text-align: center;
    text-shadow: #000000 2px 5px 8px;
    font-size: 50px;
    margin: 0;
    padding: 0; 
    
}



.banner-marcas{
    text-align: center;
    
}

.banner-marcas h1{
padding: 30px;
}

.img-banner {
    
    overflow: hidden; /* Oculta lo que se sale del contenedor */
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff; /* Opcional: Color de fondo */
    padding: 20px 0;
   

  }
  
  .img-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 20px; /* Espaciado entre logos */
    animation: scrollLogos 50s linear infinite;
  }


  
  .img-track img {
    height: 250px; /* Ajusta el tamaño de los logos */
    display: inline-block;
    
  }
  
  /* Animación de desplazamiento */
  @keyframes scrollLogos {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-65%);
    }
  }
  
  /* Detener el scroll cuando el usuario pasa el mouse */
  .img-banner:hover .img-track {
    animation-play-state: paused;
    
    
  }



 #preguntas{
    margin: 30px;
 }

 .accordion{
    margin: 30px;
 }

.contenedor-footer{
    
    display: flex;
    margin: 20px;
    align-items: center;
    justify-content: space-between;
    
}


.logo-footer{
   
    width: 170px;
    height: 100px;
    display: flex;
    overflow: hidden;
}

footer ul{
    list-style: none;
    text-align: start;
    
    display: flex;
    flex-direction: column;
}

footer{
    background-color: black;
    color: white;
    height: 100%;
    border: solid black;
   
}

.datos-contacto{
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.redes-sociales{

    display: flex;
    gap: 30px;
    font-size: 30px;
   
    margin-left: 55px;
    
}

.redes-sociales a {
    color: white;
    text-decoration: none;
}


/* Botón flotante de WhatsApp */
.boton-whatsapp {
    position: fixed;
    bottom: 20px;  /* Ajusta la distancia desde abajo */
    right: 20px;   /* Ajusta la distancia desde la derecha */
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
    z-index: 4;
    
}



/* Efecto al pasar el mouse */
.boton-whatsapp:hover {
    transform: scale(1.1);
}

/* Para móviles: Ajustar tamaño */
@media screen and (max-width: 768px) {
    .boton-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
}



/* Estilos generales del botón flotante */
.boton-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 5px 6px 2px rgba(0, 0, 0, 0.636);
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

/* Efecto al pasar el mouse */
.boton-whatsapp:hover {
    transform: scale(1.1);
}

/* Definimos la animación de rebote */
@keyframes rebote {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Para móviles: Ajustar tamaño */
@media screen and (max-width: 768px) {
    .boton-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
}






  
@media (max-width: 768px) {
    /* Estilos específicos para móviles */

   

    .imagen{
        
        
        display: flex;
        justify-content: center;
        height: 110px;
        width: 110px;
        
        
    }

    .imagen a{
        
      width: 100%;
      height: 100%;
       
        
        
        
        

    }



    #logo{
    
       margin: 0 auto;
        width: 180px;   
        height: 100%;
        
        

        

        
       

    }

    .abogado{
        width: 90%;
        height: auto;
        
    }

   
    .porque{
        background-color: #1db0ff ;
        color: white;
        display: flex;
        height: 25vh;
      
        
    
    
    }

    .wave-section h1{
        font-size: 45px;
    }
    
    .contenedor{
    
        display: flex;
       align-items: center;
       margin: 2% 10%;
       

   }
   
   .contenedor h3{
       position: relative;
       bottom: 90px;
       font-size: 18px;
       background-color: rgba(0, 47, 147, 0.427);
       padding: 20px;
       border-radius: 15px;
       margin-top: 45%;
       box-shadow: 0px  4px 15px 3px black;
   }

   

  .card{
    margin: 10px 5px;
  }

  .card-body{
    
    width: auto;
   
    
}




.proposito{
    background-color: #0e5097;
    color: white;
}

.contenedor-p{
    
    padding: 20px;
}

.contenido-p{
    display: flex;
    flex-direction: column;
    
    
}

.text-p{
    margin: 10px;
    padding: 10px;
    width: 100%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    


}

.img-p{
border-radius: 20px;
 display: flex;
 background: url(/imagenes/inicio/proposito.jpg) no-repeat center center;
 width: 100%;
 height: 350px;
 background-size: cover;
}

.titulo-p{
    text-align: center;
    text-shadow: #000000 2px 5px 8px;
    font-size: 25px;
    padding-top: 20px;
    
}

.banner-marcas{
    text-align: center;
    
}

.banner-marcas h1{
padding: 30px;
}

.img-banner {
    
    overflow: hidden; /* Oculta lo que se sale del contenedor */
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff; /* Opcional: Color de fondo */
    padding: 20px 0;
   

  }
  
  .img-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 20px; /* Espaciado entre logos */
    animation: scrollLogos 50s linear infinite;
  }


  
  .img-track img {
    height: 120px; /* Ajusta el tamaño de los logos */
    display: inline-block;
    
  }
  
  /* Animación de desplazamiento */
  @keyframes scrollLogos {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-65%);
    }
  }
  
  /* Detener el scroll cuando el usuario pasa el mouse */
  .img-banner:hover .img-track {
    animation-play-state: paused;
    
    
  }












.contenedor-footer {
    flex-direction: column;
    text-align: center;
     
}

.logo-footer {
    width: 200px; /* Tamaño más pequeño para móviles */
    margin: 0 auto;
    margin-bottom: 20px;
    
    justify-content: center
    
}

.footer-nav ul {
    padding: 0;
    list-style: none;
    
}

.footer-nav ul li {
    margin-bottom: 10px;
    text-align: center;
   
}

.datos-contacto {
    width: 100%;
    margin-bottom: 15px;
    
    display: flex;
    
   
}

.datos-contacto ul li{
 text-align: center
}



.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 25px;
    margin: 0 auto
}

.redes-sociales a {
    color: white;
    text-decoration: none;
}
}


@media (max-width: 375px){

    #logo{
    
        margin: 0 auto;
         width: 180px;   
         height: 100%;
         
         position: relative;
         left: 90px;
 
         

         
 
         
        
 
     }



     .contenedor-img{
        
        width: 48%;
        
        

    }

    .imagen{
        
        
        display: flex;
        justify-content: end;
        height: 110px;
        
    }

    .imagen a{
        
       display: flex;
       
       width: 274px !important;
        
        
        
        

    }

}






