/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.elementor-cta__content {
	flex-direction: row;
}

.elementor-cta--valign-bottom .elementor-cta__content {
    justify-content: space-between;
}

.elementor-content-item.elementor-cta__content-item.elementor-icon-wrapper.elementor-cta__icon.elementor-view-default.elementor-animated-item--grow {
    order: 1;
	margin-bottom: 0px;
	width: auto;
}

h2.elementor-cta__title.elementor-cta__content-item.elementor-content-item.elementor-animated-item--grow {
	width: auto;
}

.elementor-cta__content {
	flex-wrap: nowrap !important;
}

.elementor-nav-menu--main .elementor-nav-menu a, .elementor-nav-menu--main .elementor-nav-menu a.highlighted, .elementor-nav-menu--main .elementor-nav-menu a:focus, .elementor-nav-menu--main .elementor-nav-menu a:hover {
	padding-top: 10px !important;
	padding-left: 0px !important;
}

.elementor-heading-title {
    line-height: 1.25;
}

.padding {
	padding: 20px;
}

a.icono-whatsapp.iconos-footer {
    border-radius: 50%;
    right: 28px;
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    z-index: 999;
    padding: 8px;
    bottom: 90px;
    display: flex;
    background-color: #25d366;
    align-items: center;
    justify-content: center;
}

a.icono-contactar.iconos-footer {
    border-radius: 50%;
    right: 28px;
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    z-index: 999;
    padding: 8px;
    bottom: 150px;
    display: flex;
    background-color: #BE0007;
    align-items: center;
    justify-content: center;
}

.enlaceFooter {
	color: white !important;
	text-decoration: none;
}

.enlace, 
.enlace a{
	color: #094999 !important;
}

.enlace:hover,
.enlace a:hover {
    color: #33CCCC !important;
}

:is(.icono-contactar) img {
    filter: invert(100%) sepia(0%) saturate(25%) hue-rotate(70deg) brightness(108%) contrast(108%);
    max-width: 30px;
}

/* EFECTO HOME */
/* Tarjetas hijas */
.elementor-element[data-id="6be1d87"] > .elementor-element.e-con.e-child {
  transition: transform 0.5s ease, background-color 0.5s ease, color 0.5s ease;
  background-color: #ffffff; /* color base */
  padding: 20px;
  border-radius: 10px;
}

/* Hover: zoom + cambio de fondo y color */
.elementor-element[data-id="6be1d87"] > .elementor-element.e-con.e-child:hover {
  transform: scale(1.05);
  background-color: #D00405;   /* fondo en hover */
  color: #fff;              /* color texto en hover */
}

/* Título */
.elementor-element[data-id="6be1d87"] .elementor-heading-title {
  position: relative;
  display: inline-block;
  transition: color 0.5s ease;
}

/* Línea animada */
.elementor-element[data-id="6be1d87"] .elementor-heading-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.5s ease;
}

/* Hover: línea + título blanco */
.elementor-element[data-id="6be1d87"] > .elementor-element.e-con.e-child:hover .elementor-heading-title {
  color: #fff;               /* ahora también el título en blanco */
}
.elementor-element[data-id="6be1d87"] > .elementor-element.e-con.e-child:hover .elementor-heading-title::after {
  width: 100%;
}
/* FIN EFECTO HOME */

.section-end{
   clip-path: polygon(0 0, 100% 0, 100% calc(100% - 75px), 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 75px), 0 100%);
  overflow: hidden;
	margin-bottom:-75px;
	padding-bottom:75px;
	z-index: 1;
}