/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


#block-divconfiar-v:before{
    content: "";
    background-color: #E5A83B;
    width: 8px;
    height: 130px;
    position: absolute;
    left: -1em;
    top: 2.3em;
}


.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  position: relative;
  animation: bounce-periodic 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.05);
}
.whatsapp-icon {
  width: 45px;
  height: 45px;
  display: block; /* evita espacio fantasma debajo del svg */
}

/* Tooltip: nace desde el icono y se despliega hacia la izquierda */
.whatsapp-tooltip {
  position: absolute;
  right: 65px; /* separación respecto al icono */
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: #fff;
  color: black;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: Hanken Grotesk;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Flechita apuntando hacia el icono */
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.whatsapp-float a:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

#confiar,
#gestionamos,
#certificaciones,
#sitios-de-interes,
#contacto {
  scroll-margin-top: 80px;
}

@media (min-width: 768px) and (max-width: 1024px) {

	#block-divconfiar-v:before{
        left: -0.5em;
        width: 5px;
	}
}
@media (max-width: 767px) {
	#block-divconfiar-v:before{
        left: -0.3em;
        width: 5px;
		height: 110px;
	}
	
}


@keyframes bounce-periodic {
  0%, 20% {
    transform: translateY(0);
  }
  8% {
    transform: translateY(-12px);
  }
  14% {
    transform: translateY(0);
  }
  18% {
    transform: translateY(-6px);
  }
  22%, 100% {
    transform: translateY(0);
  }
}