/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* GENERAL */
h2 span {color:#fff;}

/* Botón naranja base */
.w-btn.us-btn-style_3 {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-alt-content-secondary);
  background: transparent !important;
}

/* Fondo animado */
.w-btn.us-btn-style_3::before{
  content: "";
  position: absolute;
  top: 0;
  left: -1%;
  width: 0%;
  height: 100%;
  background: var(--color-alt-content-secondary);
  transition: width .3s ease;
  z-index: 0;
  border-radius: inherit;
}

/* Hover → relleno izquierda → derecha */
.w-btn.us-btn-style_3:hover::before{
  width: 101%;
}
.us-btn-style_3:hover {
	border: 1px solid var(--color-alt-content-secondary) !important;
}

/* Texto por encima */
.w-btn.us-btn-style_3 .w-btn-label{
  position: relative;
  z-index: 1;
  transition: color .3s ease;
}

/* Texto blanco en hover */
.w-btn.us-btn-style_3:hover .w-btn-label,
.w-btn.us-btn-style_3:hover .fab,
.w-btn.us-btn-style_3:hover .fas
{
  position:relative;
  color: #fff;
}

/* CABECERA */
.header-section .g-cols,
.header-section .l-section-h,
.header-section .wpb_wrapper {height:100%;}

/* Video cabecera */
.texto-transforma-cabecera {transform: translateY(-50%) !important;}

/* wrapper: borde suave */
.cobertura-video-cabecera{
  border: 1px solid transparent;
  transition: border-color .3s ease;
}

/* texto + overlay: ocultos */
.cobertura-video-cabecera .texto-transforma-cabecera,
.cobertura-video-cabecera .overlay-negro-video-cabecera {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

/* video: visible */
.cobertura-video-cabecera .w-video{
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}

/* hover: todo a la vez */
.cobertura-video-cabecera:hover{
  border-color: #fff;
}

.cobertura-video-cabecera:hover .texto-transforma-cabecera,
.cobertura-video-cabecera:hover .overlay-negro-video-cabecera{
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}

.cobertura-video-cabecera:hover .w-video{
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

/* MENÚ PRINCIPAL */

#page-header .w-image {
  position: relative;
}

#page-header .logo-v,
#page-header .logo-completo {
  transition: opacity .12s ease;
}

#page-header .logo-completo {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

#page-header:hover .logo-v {
  opacity: 0;
  visibility: hidden;
}

#page-header:hover .logo-completo {
  opacity: 1;
  visibility: visible;
}

#page-header:hover {
  background-color: #fff;
}

#page-header:hover .w-nav-anchor,
#page-header:hover .w-nav-title,
#page-header:hover .style_hamburger_1 {
  color: #000;
}

#page-header:hover li:hover > a,
#page-header:hover li.current-menu-item > a,
#page-header:hover li:hover > a *,
#page-header:hover li.current-menu-item > a * {
  color: var(--color-alt-content-secondary) !important;
}

/* Botón blanco cabecera */
.w-btn.us-btn-style_1 {border: 1px solid #fff !important;}

#page-header:hover .w-btn.us-btn-style_1 {
  border: 1px solid #000 !important;
}

#page-header:hover .w-btn.us-btn-style_1 .w-btn-label {
  color: #000;
}

#page-header:hover .w-btn.us-btn-style_1:hover {
  border: 1px solid var(--color-content-link-hover) !important;
}

#page-header:hover .w-btn.us-btn-style_1:hover .w-btn-label  {
	color:#fff !important;
}

.w-btn.us-btn-style_1 {
  position: relative;
  overflow: hidden;
}

.w-btn.us-btn-style_1::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1%;
  width: 0%;
  height: 100%;
  background: var(--color-alt-content-secondary);
  transition: width .3s ease;
  z-index: 0;
  border-radius: inherit;
}

.w-btn.us-btn-style_1:hover::before {
  width: 101%;
}

.w-btn.us-btn-style_1 .w-btn-label {
  position: relative;
  z-index: 1;
}

/* BODY */
#por-que-dc .cobertura-video-cabecera {
	transform: translateX(-50%) !important;
}
#por-que-dc .cobertura-video-cabecera video {
   object-position: center 10% !important;
}

#por-que-dc .cobertura-video-cabecera .overlay-negro-video-cabecera{
  transition: background-color .3s ease, opacity .3s ease;
}

#por-que-dc .cobertura-video-cabecera:hover .overlay-negro-video-cabecera{
  background-color: rgba(0,0,0,1) !important; 
}

/* CUADRÍCULA ENTRENAMIENTO */
article.entrenamiento .imagen-entrenamiento img {
  filter: contrast(70%);
  transition: filter .3s ease;	
}

article.entrenamiento .envoltura-principal-entrenamiento:hover .imagen-entrenamiento img {
	filter: grayscale(100%);
}

article.entrenamiento .envoltura-informacion-entrenamiento {
  transition: top .3s ease;
}

article.entrenamiento .envoltura-principal-entrenamiento:hover .envoltura-informacion-entrenamiento{
  top: 2% !important;
}

article.entrenamiento .envoltura-informacion-entrenamiento {
	transform: translateX(-50%) !important;
}

article.entrenamiento li {
	margin:0px;
}

body.home article.entrenamiento .boton-contacto {display:none;}
body:not(.home) article.entrenamiento .boton-saber-mas {
  display: none;
}

/* CUADRÍCULA OTROS SERVICIOS */

article.otro-servicio .imagen-servicio img {
  filter: contrast(70%);
  transition: filter .3s ease;	
}

article.otro-servicio .envoltura-principal-servicio:hover .imagen-servicio img {
	filter: grayscale(100%);
}

article.otro-servicio .envoltura-informacion-servicio {
  transition: top .3s ease;
}

article.otro-servicio .envoltura-principal-servicio:hover .envoltura-informacion-servicio {
  top: 10% !important;
}

@media (max-width: 1441px){
	article.otro-servicio .imagen-servicio {
		 aspect-ratio: 2 / 3 !important;
	}
		
}

@media (min-width: 768px) and (max-width: 1440px) {
	article.otro-servicio .imagen-servicio {
  aspect-ratio: 1 / 1 !important;
  }
}


/* EQUIPO HOME */
.carrusel-equipo img {
	filter: contrast(85%);
}

.contactar-equipo, .historia-valerio {
	opacity:0;
	transition: opacity .3s ease;
}

.miembro-equipo:hover .contactar-equipo,
.miembro-equipo:hover .historia-valerio {
	opacity:1;
}

.imagen-miembro{
  top: 0%;
  transition: top .3s ease;
}

.miembro-equipo:hover .imagen-miembro {
  top: -1.5%;
}

/* ENLACE EQUIPO */
#carrusel-imagenes-equipo img {border-radius:60px}

/* ENLACE HISTORIA VALERIO */

.bafg-twentytwenty-container img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Formulario */

.formulario input, .formulario textarea, .formulario select  {
	border-radius:10px !important;
	margin-bottom:0.15rem;
	color:#000 !important;
}

.formulario input[type="submit"] {margin-bottom:0rem; border-radius:60px !important;}

.formulario input::placeholder, textarea::placeholder {
  color:#000;
}