/*
Theme Name: Jcc Eirl
Theme URI:
Author: Mauricio Sanhueza (Plasmable)
Version: 1.0
*/

:root {
  --main-bg-color: #241808   ;
  --main-color-call-to-action: #8a8980;
  --main-color-primary: #f5b91b    ;
  --main-color-secondary: #904e0c   ;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;900&family=Open+Sans:wght@400;600&display=swap');

.gracias{
	font-size: 1em;
	color: var(--main-color-call-to-action);
}

.img-comenzo{
	width: 100%;
	height: 350px;
	object-fit: cover;
}
.itemchile{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: space-around;
	color: #5c3414;
}
.img-porque-chile{
	width: 60px;
}
.text-chile{
	color:#5c3414;
}
.icon-ds{
	display: flex;
	justify-content: center;
	align-items: center;
}
.content-icon{
	background: blue;
	width: 512px;
	height: 512px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	border-radius: 2em;
}
.title-icon{
	color: #fff;
	font-weight: bold;
}
h1, h2, h3, h4, h5{
	font-family: "Roboto", sans-serif;
}

p{
	
	text-align: left;
}
p, span{
	 	 font-family: "Roboto", sans-serif;

	
}
a{
    	 font-family: "Roboto", sans-serif;
}
.preload{
	width: 100%;
	height: 100vh;
	background-image: linear-gradient(to right, #ffffff, #ffffff);
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	opacity: 1;
	transition: .3s;
	
}
.oculta-preload{
	opacity: 0;
	z-index: -1;
	transition-delay: 2s;
}

.content-preload{
	
}
.preload  img{
	width: 300px;
	animation: animapreload 1s infinite;
	animation-duration: 1s;
}
@keyframes animapreload{
	0%{
		transform: scale(1);
	}
	50%{
        transform: scale(1.1);
	}
	100%{
		transform: scale(1);

	}
}

header a{
	text-decoration: none;
	color: #565a7a;
}

.contact-header{
	position: relative;
}
.contact-header a i{
	background: #fff ;
	padding: .7rem;
	color: var(--main-color-secondary) ;
	border-radius: 1em;
}	
.menu{
	display: flex;
	justify-content: center;
	align-items: center;
}
.logo{
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	width: 160px;
   
	z-index: 10;
	padding: 1em;
	
}
.logo:before{
	content:"";
	position: absolute;
	background: #fff;
	left:-50px;
	top:-100px;
	width:130%;
	height: 150%;
	transform: rotate(-10deg);
	border-bottom-left-radius: 50%;
	border-bottom-right-radius: 50%;
}
.logo img{
	width: 100%;
	position: absolute;
	top: 0px;
	padding: 1em;
	left: 0;
	border-bottom-right-radius: 1em;
}
#check{
	display: none;
}
.check-btn{
	position: fixed;
	right: 10px;
	top: 25px;
	overflow: hidden;
	height: 50px;
	width: 50px;
	background: var(--main-color-call-to-action);
	cursor: pointer;
	z-index: 1010;
	transition: .5s;
	visibility: hidden;
}

.check-btn .line-check{
	position: absolute;
	width: 35px;
	height: 2px;
	background: #fff;
	z-index: 102;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	transition: .5s;
	transform-origin: left top;
	transition-timing-function: cubic-bezier(.29, 1.01, 0.5, 2);
}
.check-btn .line-check:nth-child(2){
   top: 65%;
}
.check-btn .line-check:nth-child(3){
   top: 35%;
}
#check:checked  ~ nav{
   	right: 0%; 
 }

#check:checked  ~ .check-btn .line-check:nth-child(1){
	left: -100%;

}
#check:checked  ~ .check-btn .line-check:nth-child(2){
   top: 50%;
    transform:rotate(45deg) translate(-50%,-50%);
}
#check:checked  ~ .check-btn .line-check:nth-child(3){
	top: 50%;
	transform:rotate(-45deg) translate(-50%,-50%);
}

/*nav{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	width: auto;
	height: auto;
	position: sticky;
	z-index: 100;
	top: 0;
	padding: .5em;
	transition:.5s;
	
	
}*/
/* Menú fijo arriba */
nav {
  position: absolute;
  top: 0px;
  right: 0;
  width:100%;
  width: auto;
  padding: .3rem 1rem;
  display: flex;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  background: transparent; /* puede ser transparente o con fondo */
  z-index: 10; /* por encima del video */


}
nav ul{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	right: 0px;
	top: 0;
	position: relative;
	margin-top: 2em;
	padding: 2em;

}
nav ul li{
	list-style: none;
	
}
nav ul li a{
	list-style: square;
	font-size: 16px;
	padding: 0 20px;
	margin: 10px;	
	color: #fff ;
	text-decoration: none;
	transition: .5s;
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
	text-transform: uppercase;
	text-shadow: 1px 2px 2px #444;
}
nav ul li a:hover{
	color: #627985  ;
}

.current-menu-item {
	font-weight: bold;
	position: relative;
	}
	.menu-item-301{
	background: var(--main-color-call-to-action);
	border-radius: .5em;

}
.menu-item-291{
	position: relative;

}
.menu-item-291:hover .sub-menu{
	
display: block;
}


.sub-menu{

	position: absolute;
	top: 25px;
	width: 330px;
	left: 0;
	padding: 10px;
	background: var(--main-color-secondary);
}
/*POPUP INCIO*/
.popup-overlay {
  position: fixed;
  inset: 0;
  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  animation: popupIn .4s ease;
}
.popup-content img{
	width:100%;
	height: 400px;
	object-fit: cover;
}
@keyframes popupIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
}

.popup-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}




/*BLOG*/
.category-blog{
	background: #f2f2f2;
	padding: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	flex-direction: column;
	min-height: 380px;
}
.category-blog img{
	width: 100%;
	height: 300px;
	object-fit: cover;
	padding-bottom: 1em;
}
.title-category-blog{
	color: var(--main-color-primary);
	font-weight: bold;
	font-size: 20px;
}
/*FIN BLOG*/



.main-home{
	width: 100%;
	height: 100vh;
	display: flex;
	flex-direction: row;
	position: relative;
}
.main-home img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.scroll{

	position: relative !important;
	z-index:-1;
	
}
/* Hero ocupa toda la pantalla */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* 100% de la altura de la ventana */
  overflow: hidden;
}



/* Contenido centrado sobre el video */
.hero-content {
  position: relative;
  z-index: 2; /* encima del video */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: white;
  text-align: center;

}
.hero img{
	width:100%;
	height:100%;
	object-fit: cover;
}

/*----UTILIDADES----*/
.content-title-section{
	text-align: left;
}

/*----EXCELENCIA-----*/
.container-excelencia{
	background: #f2f2f2;
	padding: 4em;
	min-height: 70vh;
}
.lamina{
	display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.mono{
	font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--main-color-secondary);
}
.lamina:after{
	content: "";
    flex: 1;
    height: 1px;
    width: 90%;
    background: var(--linea);
    background: #8a8980 ;
}
.excelencia-items{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap:48px;
}
.excelencia-item{
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 1em;
}
.excelencia-item img{
	width: 150px;
	object-fit: cover;
	
}

.excelencia-item span{
	font-weight: bold;
}

/*----SECCIÓN ARIDOS HOME----*/
.container-aridos{
	background: #fff;
	padding: 5em;
	min-height: 70vh;
}
.content-aridos{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap:48px;
}
.content-img-aridos{
	overflow: hidden;
	padding: 0em;
	border-radius: 2em;	
}
.content-img-aridos img{
	width: 100%;
	height: 210px;
	object-fit: cover;
	border-radius: 2em;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.content-arido span{
	font-weight: bold;
	padding-left: 1.5em;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.content-arido:hover span{
	padding-left: 2em;
}
.content-arido:hover .content-img-aridos img{
	transform: scale(1.2);
}
.content-btn-aridos-home{
	text-align: center;
}
/*----SERVICIOS HOME----*/
.container-servicios-home{
	background: #f2f2f2;
	padding: 5em;
}
.content-servicios-home{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap:28px;
}
.content-servicio-home{
	transition: .3s;
	transition-timing-function: ease-in-out;
	overflow: hidden;
	position: relative;
	height: 400px;
	top: 0;
}
.content-servicio-home:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to top, #f5b91b, transparent);

}
.content-servicio-home:hover{
	top: 10px;
}
.content-servicio-home img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.content-servicio-home .text-service-home{
	padding: 1em;
	position: absolute;
	top: 70%;
	transition: .3s;
	transition-timing-function: ease-in-out;
	color: #fff;
}
.content-servicio-home:hover .text-service-home{
	top: 30%;
}
.content-servicio-home .text-service-home h3{
	transition-delay: 1s;
	font-weight: bold;
}

.content-servicio-home .text-service-home p{
	opacity: 0;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.content-servicio-home:hover .text-service-home p{
	opacity: 1;
}
/*SWIPER*/

	
	.container-slide{
      	display: flex;
      	flex-direction: column;
      	align-items: center;
      	justify-content: center;
      	display: flex;
      	background: #f2f2f2;
		border-radius: 1em;
      }

      .swiper {
        width: 100%;
        height: 100%;
        position: relative;
      }
      .swiper-slide:before{
          content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-image: linear-gradient(to right, rgba(1,1,1,.7)  , transparent);
}

.swiper-wrapper{
	position: relative;
}
      .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        position: relative;
		 width: 100%;
       
      }
   		.swiper-slide img{
			min-width: 100%; 
    		min-height: 350px;
			object-fit: cover;
			transition: 6s;
		} 

      .content-slide{
      	position: absolute;
      	display: flex;
      	flex-direction: column;
      	align-items: left;
      	justify-content: center;
      	left: 30%;
      	top: 50%;
      	width: 50%;
		height: 450px;
      	transform: translate(-50%,-50%);
      	z-index: 10;	
		padding: 1em;
		transition: 1s;
		color: #f2f2f2;
		
      }
      
   
     .mono-heroe{
     	
     	padding: .2em;
     }
	
	.content-slide h1{
		color: var(--main-color-primary);
		text-transform: uppercase;
		font-size: 2.1em;
		font-weight: 600;
        color: #f2f2f2;
		text-shadow: 1px 1px 2px #444;
	}
     
      .link-read-more-slide{
		border: 1px solid #d84905;
		text-decoration: none;
		color: #fff;
		background: #fc2931;
		font-size: 18px;
		display: block;
		text-align: center;
		padding: 10px 10px;
		transition: .5s;
		font-weight: 100;
		border-radius:4px;
	}
	.link-read-more-slide:hover{
		color: #444;
		background: transparent;
	}


/*FIN SWIPER*/


.container-empresa-home{
	
	padding: 7em 4em;
	flex-wrap: wrap;
	background: #1A1A18;
	position: relative;
	transition: 0.6s; 
	/*transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);*/
	transition-timing-function: ease-in-out;
	color: #fff;
	position: relative;

}

.content-empresa-home{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	
}
.content-img-empresa-home{
	width: 100%;
	padding: 4em .5em;
	position: relative;
	display: flex;

}
	
.content-img-empresa-home img{
	text-align: center;
	width: 100%;
	height: 100%;
	object-fit: cover;
	justify-content: center;
	align-items: center;
	transition: .3s;
	transition-timing-function: ease-in-out;

}
.content-img-empresa-home:hover img{
	transform: scale(.95);
}
.insignia{
	background: var(--main-color-secondary);
	position: absolute;
	bottom: 5%;
	left: -5%;
	padding: 1em;
	height: 90px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-weight: bold;
	border-radius: 3px;
	transition: .3s;
	transition-timing-function: ease-in-out;
	
}
.content-img-empresa-home:hover .insignia{
	left: 5%;
}
.insignia span:nth-child(1){
	font-size: 26px;
}
.insignia span:nth-child(2){
	font-size: 14px;
}

.items-empresa-home{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 3em 0em;
	gap: 10px;
}
.item-empresa-home{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: #22211E;
	padding: 1em;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.item-empresa-home:hover{
	transform: scale(.95);
}


.container-logos{
	width: 100%;
	min-height: 50vh;
	background: #f2f2f2;
	padding: 5em 3em;
}
.content-logos{
	display: grid;
	grid-template-columns: .2fr .2fr .2fr .2fr .2fr;
	gap: 48px;
	padding-top: 2em;
}
.content-logos img{
	width: 100%;
	height: auto;
	object-fit: cover;
}



/*---  PAGE EMPRESA*/
.container-empresa-page{
	padding: 7em 4em;
	flex-wrap: wrap;
	background: #1A1A18;
	position: relative;
	transition: 0.6s; 
	/*transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);*/
	transition-timing-function: ease-in-out;
	color: #fff;
	position: relative;
	
}

.content-empresa-page{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	
}
.content-img-empresa-page{
	position: relative;
}
.content-img-empresa-page:before{
	content: "";
	position: absolute;
	left: 0;
	bottom: 20px;
	width: 50%;
	height: 1px;
	background: #f2f2f2;
}
.content-img-empresa-page img{
	width: 90%;
	height: 90%;
	object-fit: cover;
}
.container-vision-mision{
	padding: 7em 4em;
	flex-wrap: wrap;
	background: #1A1A18;
	position: relative;
	transition: 0.6s; 
	/*transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);*/
	transition-timing-function: ease-in-out;
	color: #fff;
	position: relative;
	z-index: 10;
	background: transparent;
	width: 100%;
	min-height: 120vh;
}

.container-vision-mision:before{
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.capa{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -1;

}
.roca{
	color: red;
}
.arista-brillo {
	animation: pulso-brillo 4s ease-in-out infinite;
}

@keyframes pulso-brillo {
	0%, 100% {
		opacity: 0.2;
		filter: none;
	}
	50% {
		opacity: 0.8;
		filter: drop-shadow(0 0 6px #EF9F27);
	}
}
 @keyframes pulsoBrillo {
      0%, 100% { opacity: 0.15; }
      50% { opacity: 0.75; }
    }
    @keyframes respiracion {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 0.55; }
    }
    @keyframes flotar {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }
    .arista-brillo {
      animation: pulsoBrillo 4s ease-in-out infinite;
    }
    .arista-brillo.retardo {
      animation-delay: 2s;
    }
    .roca-respira {
      animation: respiracion 6s ease-in-out infinite;
    }
    .roca-respira.retardo {
      animation-delay: 3s;
    }
    .roca-flota {
      animation: flotar 7s ease-in-out infinite;
    }
.content-vision-mision{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.text-mision, .text-vision{
	border-left-color: var(--main-color-primary);
	border-width: 20px;
	border-radius: 1em;
	padding: 2em;
	border: 2px solid #EF9F27;
}
.experiencia-page{
	width: 100%;
	height: auto;
	padding-top: 3em;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.experiencia-page .numeros{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.cifra-numero{
	font-size: 4.3em;
	font-weight: bold;
}
/*FIN  PAGE EMPRESA*/






/*ARIDOS PAGE*/
.container-aridos-page{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 48px;
	padding: 5em 3em;
}
.content-arido{
	background: #1A1A18;
	padding: 1em;
	position: relative;
	background: transparent;
	z-index: 1;
	
}
.roca-aridos{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -1;
}
.content-arido figure figcaption{
	color: #fff;
}
.content-arido figure figcaption h3{
	color: var(--main-color-primary);
	padding-top: .7em;
	font-weight: bold;
}
.content-arido figure img{
	width: 100%;
	height: 250px;
	object-fit: cover;
	clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
	
	
}
/*FIN ARIDOS PAGE*/

/*ARRIENDO MAQUINARIAS*/
/* wrapper de animación: una sola celda, sin columnas */
.flota{

	padding: 2em 2em;
}
.flota-item{
	background: var(--main-color-primary);
	margin-bottom: 1em;
	
}
.flota-contenido {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	gap: 30px;
	padding: 2em;
}
.flota-item[open] .flota-contenido {
	grid-template-rows: 1fr;
}

/* las fichas se reparten en 2 columnas */
.flota-inner {
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;

	gap: 24px;
	padding: 0 20px;
}
.flota-item[open] .flota-inner {
	padding: 4px 20px 20px;
}
summary{
	border-radius: 1em;
	gap: 24px;
	position: relative;
	color: #fff;
	top: 50%;
	padding: 2em;
	overflow: hidden;
	}

summary::marker{
	
	top: 50%;
	position: absolute !important;
	display: inline-block;
	top: 120px;
	display: none;
}
summary span:nth-child(2){
	background: red;
	top: 50%;
	
	top: 40px;

	}
.flota-titulo{
	font-size: 2.5em;
	letter-spacing: .2em;
	background: var(--main-color-primary);
	position: absolute;
	top: 6%;
	left: 0;
	font-weight: bold;
	z-index: 1;
	padding: .5em;
}

.flota-icono{
    transform: translate(20%, 50%);
	padding: 1em;
	color: #fff;
	

}
summary img{
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: flex;
	flex-direction: column;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.flota-item:hover summary img{
	transform: scale(1.2);
}
/* cada ficha: imagen arriba, texto abajo */
.flota-ficha {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #1A1A18;
	padding: 2em;
	color: #f2f2f2;
}
.flota-ficha img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 6px;

}
.flota-ficha p{
	color: var(--main-color-primary);
	font-weight: bold;
	letter-spacing: .1em;
}


/*FIN ARREINDO MAQUINARIAS*/
.container-obras-civiles-page{
	
	padding: 2em 2em;
	min-height: 100vh;
}

/*OBRAS CIVILES*/
.list-obras{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap:48px;
}
.content-service-obras{
	background: #1A1A18;
	padding: 2em;
	color: #f2f2f2;
	display: flex;
	flex-direction: column;
	transition: .3s;
	transition-timing-function: ease-in-out;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
	border-radius: .5em;
}
.content-service-obras:hover{
	transform: scale(.95);
}
.content-service-obras span{
	font-weight: bold;
	font-size: 17px;
	position: relative;
}
.content-service-obras span:before{
	content: "";
	position: absolute;
	left: 0;
	bottom: 2px;
	height: 1%;
	width: 50%;
	background: #EF9F27;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.content-service-obras:hover span:before{
	width: 60%;
}
/*FIN OBRAS CIVILES*/


/*CONTACTO*/

/*INICIO CONTACTO*/
.container-contact-page{
position: relative;
z-index: 10;
background: #1A1A18;
padding: 2em 2em;
color: #fff;
}

.content-contact-page{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:48px;

}
.info-contact-page{
	padding: .6em;
	border-radius: 1em;
	margin-top:1em;
	display: flex;
	flex-direction: column;
	
}
.info-contact-page i{
	font-size: 2em;
	color: var(--main-color-primary);
	background: #fff;
	padding: .2em;
	border-radius: .2em;
	display: inline-block;
}
.title-data-contact{
	font-size: 1.2em;
	color: var(--main-color-primary);
	font-weight: 100;

}
.info-contact-page p{
	color: #fff;
	padding-left: 2.5em;
}
/*FIN CONTACTO*/

/*FIN CONTACTO*/

/*Clientes*/
.content-cliente{
	width: 75%;
	padding: 1em;
	text-align: center;
	margin: auto;
	padding: 1em 0px;
	margin: auto;
	background: green;
}
.content-cliente img{
	
	width: 100%;
	object-fit: cover;
}
/*FIN CLIENTES*/



/*CLASES POR DEFECTO*/
	.link-read-more, .link-conversemos{
	border: 1px solid var(--main-color-primary);
	text-decoration: none;
	color: #fff;
	background: var(--main-color-primary);
	text-transform: uppercase;
	display: inline-block;
	text-align: center;
	padding: 10px 10px;
	transition: .5s;
	font-weight: 300;
	position: relative;
	z-index: 1;
	transition-delay: .1s;
	z-index: 1;
	border-radius: .5em;
	font-weight: bold;
}
.link-conversemos:hover{
	color: #f3f3f3;
}
 .link-read-more:hover{
	color:#fff;
	background: #0D5A7B;
}

.container-call-to-action{
	
	height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	z-index: 1;
}
.container-call-to-action span{
	font-size: 30px;

}



.wsp{
	position: fixed;
	right: 5px;
	top: 50%;
	z-index: 100;
	animation: animate 2s linear infinite;
	background-image: linear-gradient(to right, #50b353  , #94cd96 );
	padding: 5px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	border-radius: 4px;
	transition: .3s;
}

.wsp a{
	color: #fff;
}
.wsp a i{
	font-size: 30px;
}
.wsp a:hover{
	color: #fff;
}
@keyframes animate {
	0%
	{
		box-shadow: 0 0 0 0 rgba(38, 178, 143,.7);
	}
	30%
	{
		box-shadow: 0 0 0 50px rgba(38, 178, 143,.0);
	}
	60%
	{
		box-shadow: 0 0 0 90px rgba(38, 178, 143,0);
	}
	100%
	{
		box-shadow: 0 0 0 0 rgba(38, 178, 143,0);
	}
}

.title-section, .title-section-2{
  font-size: 2.4em;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  color: var(--main-color-primary);
  transition: .6s;
  transition-timing-function: ease-in-out;

}

.title-section-2{
	color: var(--main-color-secondary);
	font-weight: bold;
}
.title-section-2 span{
	 color: var(--main-color-primary);
	font-weight: 100;
	

}


.title-count{
	color: #fff;
	font-size: 2em;
  text-transform: uppercase;
  font-weight: 900;
  position: relative;
}
.legend{
	font-size: 1.2em;
	color: #fff;
	font-weight: bold;
	z-index: 1;
}
.call-to-action{
	background: #0feefa;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	min-height: 350px;
	
	background-size: cover;	
	
	position: relative;
}
.call-to-action:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	 -webkit-filter: contrast(1.9) grayscale(1);
  filter: contrast(1.9) grayscale(1);
}
.call-to-action h3{
	z-index: 1;
}
.btn-conversemos{
	background: #b9ac89;
	color: #fff;
	text-decoration: none;
	z-index: 1;
	padding: 5px 13px;
}

.arrow{
	background: #3d6cb4;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 10px;
	top: 60%;
	opacity: 0;
	transition: .5s;
	cursor: pointer;
	z-index: 10000;
}
.arrow:hover{
	background: #4f76b7;
}
.anima-arrow{
	animation: anima-arrow .7s;
	animation-iteration-count: 2;
}
@keyframes anima-arrow{
	0%{
		transform: scale(1.4);
		border-radius: 40%;
	}
	30%{
		border-radius: 0%;
	}
	100%{
		transform: scale(1.0);
		
	}

}
.icon-arrow{
	font-size: 20px;
	color: #fff;
}
.aparece-arrow{
	opacity: 1;
}
.whatsapp{
	width: 60px;
	position: fixed;
	right: 10px;
	top: 50%;
	z-index: 100000;
}
.whatsapp img{
	width: 100%;
}
.phone{
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	border-radius: 50%;
	background: rgb(235,124,6);
	background: linear-gradient(325deg, rgba(235,124,6,1) 17%, rgba(228,55,20,1) 68%);
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 101;
	color: #fff;
}
.tel{
	color: #fff;
	text-decoration: none;
	font-size: 20px;

}
.links-footer{
	display: flex;
	flex-direction: column;
}
.link-footer{
	text-decoration: none;
	color: #fff;
}
.content-contact{
	display: flex;
	justify-content: center;
	align-content: center;
	padding: 20px;
	width: 33.3%;
	background: #f2f2f2;
	
}
.contact-footer{
	position: fixed;
	z-index: 100;
	bottom: 0;
	width: 100%;
	background: #f2f2f2;
	display: flex;
	justify-content: space-around;
	align-content: center;
	border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    visibility: hidden;
    padding: .5em;
}

.info-contact{
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	background: #f2f2f2;
	padding: .5em;
	
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.content-contact a{
	text-decoration: none;
	
}
.content-contact a i{
	color: var(--main-color-secondary);
	font-size: 1em;
}
.location-mobile{
	border-top-left-radius: 15px;
}
.email-mobile{
	border-top-right-radius: 15px;
}


.derechos{
	position: relative;
	padding-bottom: 5em;
	
}
.derechos:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
}

/*CLASES POR DEFECTO*/
/*HEADER PAGE*/

.sub-header-page{
	width: 100%;
	height: 600px;
	position: relative;
	z-index: 1;
}
.sub-header-page:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1;
	background-image: linear-gradient(to bottom, rgba(1,1,1,.6)  , rgba(1,1,1,.4));
}
	
.sub-header-page img{
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.sub-header-page .text-sub-header{
	position: absolute;
	top: 50%;
	left: 5%;
	color: #fff;
	z-index: 1;
	padding: .2em;
	width: 50%;
	text-align: justify;
}
.text-sub-header h1{
	background: var(--main-color-primary);
	padding: .2em;
	display: inline-block;
	border-radius: .2em;
	backdrop-filter: blur(8px);
	background: rgba(1,1,1,.6);
}
.sub-header-page-galeria{
	overflow: hidden;
}
.sub-header-page-galeria img{
	 width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
}
.title-header{
	position: absolute;
	font-size: 3rem;
	font-weight: 900;
	color: #fff;
	top: 50%;
	left: 5%;
	transform: translateY(-50%);
	
	/*background: rgba(14, 112, 154, .7);*/
	padding: 1em;
	border-radius: 1em;
	text-transform: uppercase;

}
.title-header span{
	background: var(--main-color-secondary);
	color: #fff;
	padding: .2em;
}
/*FIN HEADER PAGE*/










footer{
	color: #fff;
	z-index: 1;
	position: relative;
	overflow: hidden;
	background: var(--main-bg-color);
}
.redes-sociales-footer{
	display: flex;
	flex-direction: column;
	
}
.redes-sociales-footer a{
	text-decoration: none;
	color: #fff;
}
.redes-sociales-footer a:hover{
	color: #f2f2f2;
}
/*footer:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
    background-image: url("http://localhost/onateyvelasco/wp-content/uploads/2025/07/editorial_justicia-291119-123212.jpg");
	background-size: cover;
	background-position: 20% 20%;
	opacity: .4;
	z-index: -1;
}*/

/*footer:after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
    background: rgba(1,1,1,1);
    background-image: linear-gradient(to right, rgba(1, 1,1, 1), rgba(255,255,255,1) );
		
	background-position: 20% 20%;
	opacity: .4;
	z-index: -1;
}*/
footer p{
	color: #ffffff;
}

.title-info-footer{
	color: #f2f2f2;
	font-weight: bold;
}
.info-footer a{
	color: #fff;
	text-decoration: none;
	font-size: 1.5em;
}
/*Post entradas*/
.container-lastest-post a{
	text-decoration: none;
}
.content-lastest-post{
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	padding: 1em;
	min-height: auto;
	overflow: hidden;
	position: relative;
	background: #fff;
	transition: .5s;
	height: 400px;

}
.content-lastest-post:hover{

}
.content-lastest-post:before{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: .3s;
	z-index: 1;
}
.content-lastest-post a{
	text-decoration: none;
}

.img-lastest-post{
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.img-lastest-post-2{
	
}
.content-lastest-post:hover .img-lastest-post{
	width: 80%;
	height: 250px;
}

.date-public{
	display: block;
	color: var(--main-color-primary);
	font-style: italic;
}
.content-lastest-post:hover .date-public{
	transition: .3s;
	transition-timing-function: ease-in-out;
	color: #fff;
}
.title-lastest-post{
	color: var(--main-color-primary);
	z-index: 1;
	padding-top: .4em;
	font-weight: 100;
	text-transform: uppercase;
	text-align: left;
	position: relative;
	transition: .3s;
	transition-timing-function: ease-in-out;
}
.content-lastest-post:hover .title-lastest-post{
	
}

.container-lastest-post p{
	color: var(--main-color-primary);
	font-size: 22px;
	font-weight: bold;
	top: -20px;
	position: relative;

	transition: .3s;
	transition-timing-function: ease-in-out;
	
	}

.container-lastest-post .extract{
	
	
}
/*fin post entraads*/
.descripcion-content{
	color: #5c3414;
}
.container-nosotros{
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.content-somos{
	width: 20%;
	padding: 1em;
	
}
.content-imgtext-somos{
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	padding: .5em;
	
}
.content-imgtext-somos h3{
	text-transform: uppercase;
	color: var(--main-color-primary);
	padding-top: 1em;
	font-size: 20px;
}
.img-lastest-post-2{
	width:100%;
	height: 200px;
}
.somos{
	color:var(--main-color-primary);
	
}

/*CAROUSEL*/
/*CAROUSEL*/
.container-carousel{
	position: relative;
	width: 80%;
	margin: auto;

}
.carousel-element{
    
    display:flex;
    flex-direction: row;
    justify-content:center;
    width:auto;
    height:auto !important;
   padding: 1.5em;

}
.carousel-element img{
    height:200px !important;
    object-fit: cover;
}
.glider-dot{
	background: var(--main-color-primary);	
	width: 10px;
	height: 10px;
	border-radius: 0px;
}
.carousel-before, .carousel-next{
	display: block;
	width: 30px;
	height: 30px;
	background: var(--main-color-primary);	
	border-radius: 0;
	border: none;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}
.carousel-before, .carousel-next i{
	color: #fff;
}
.carousel-before{
	

	left: -15px;
}
.carousel-next{

	right: -39px;
}
/*FIN CAROUSEL*/

/*HEADER PAGE*/
.container-about-us{
	top: -100px;
	position: relative;
	z-index: 10;
}
.content-about-us{
	width: 50%;
	padding: 10px;
	left: 50%;
	transform: translateX(50%);
}
.content-about-us img{
	width: 100%;
}
.content-about-us .parrafo::first-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: brown;
}

.container-mision{
	background: #97cdf1 ; 
}
.container-contact{
  padding: 3em;
	background: #1A1A18;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.urgent-box {
  background: var(--main-color-primary);
  color: var(#f2f2f2);
  padding: 28px 30px;
  border-left: 3px solid #f2f2f2;
  margin-bottom: 40px;
}

.urgent-box h3 {
  font-size: 1.05rem;
  color: #f2f2f2;
  margin-bottom: 8px;
  font-weight: bold;
}

.urgent-box p {
  font-size: 0.9rem;
  color: #f2f2f2;
  margin-bottom: 14px;
}
.btn-box{
  background: #fff;
  border-color: #fff;
  text-decoration: none;
  padding: .5em;
	transition.3s;
	color: var(--main-color-primary);
}
.btn-box:hover{
  background: transparent;
  color: #fff;
}
.contact-info-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f2f2f2;
}

.contact-info-list .ci-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--main-color-secondary);
  fill: none;
  stroke-width: 1.3;
}

.contact-info-list strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2f2f2;
  margin-bottom: 3px;
}
.contact-info-list span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #f2f2f2;
  
}
.form-panel {
  background: var(--sage);
  color: var(--text-light);
  padding: 46px;
}
.form-panel p{
  color: #fff;
}
.form-panel h2{
  color: #fff;
  font-size: 1.6rem;
	font-weight: bold;
}
.wpcf7.icf7s-146 label{
	color: #f2f2f2 !important;
}
@media screen and (max-width: 740px) {
	body{
		overflow-x: hidden;
		background: green;
	}
	.content-somos{
	width: 50%;
	padding: 1em;
	text-align: center;
}
	
	.check-btn{
		visibility: visible;
		top: 10%;
	}

    .logo{
		z-index: 10;
		position: absolute;
		width: 150px;
		display: block;
		padding: 2em;
	
}
	.logo:before{
	content:"";
	position: absolute;
	background: #fff;
	left:-50px;
	top:-100px;
	width:140%;
	height: 150%;
	transform: rotate(-10deg);
	border-bottom-left-radius: 50%;
	border-bottom-right-radius: 50%;
}
	.logo img{
		width: 100%;
		object-fit: cover;
		top: 0px;
		padding: 0em;
		left: 0;		
}
	nav{
		right: 100%;
		width: 100%;
		height: 100%;
		right: -100%;
		z-index: 1000;
		position: fixed;
		overflow: scroll;
		z-index: 1000;
		
		padding-top: 0;
		transition: .3s;
		background: var(--main-color-primary);	
	
	}
  nav ul{
		flex-direction: column;
		top: 0;
		justify-content: space-around;
		align-content: space-around;

		flex-wrap: wrap;
		height: 100%;
		width: 100%;	
		
	}
	nav ul li{
		flex-direction: column;
		left: 0%;
		align-content: flex-start;
		justify-content: space-around;	
	}
	nav ul li a{
		color: #fff;
		z-index: 1;
	}

	nav ul li ul{
		background: #4f76b7;
		position: relative;
		width: auto;
		left: 0px;
		z-index: 10;
		padding: auto;
	}
	nav ul li:hover ul{
		display: block;
	}
  .sub-header-page .text-sub-header{
  	width: 80%;
  }
	.sub-menu{
	position: relative;
	}
	.container-empresa-home{
	font-weight: bold;
	padding: 2em 2em;
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	background: #1A1A18;
	position: relative;
	transition: 0.6s; 
	/*transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);*/
	transition-timing-function: ease-in-out;
	

}

.content-servicios-home, .content-aridos, .content-empresa-home, .content-vision-mision, .experiencia-page, .container-aridos-page, .flota-inner, .list-obras, .content-contact-page{
	grid-template-columns: 1fr;
}
.flota-titulo{
	font-size: 1.5em;
	
}
.title-section{
	font-size: 1.8em;
}
	.container-call-to-action{
		flex-direction: column;
		align-items: center;
		align-content: center;
	}
	
	
	  .content-slide{
      	width: 100%;
      	height: 350px !important;
      	padding: 1em;
		  display: flex;
		  flex-direction: column;
		  
		  top: 60%;
        left: 50%;
		
      }
	.content-slide span{
		font-size: 1.2em;
		width: 100%;
		text-align: center;
	}
	.content-slide a{
		top: 60%;;
	}
	.swiper {
		width: 100%;
        height: 100vh !important;
      }
       .content-slide h1 span{
        font-size: 1.2em;
      	 font-weight: bold;
		  background: #279cba;
		  padding: .2em;
		  z-index: -1;
      }
   
	

	.contact-footer{
		visibility: visible;
	}
	.content-slide{
		top: 40%;
	}

     .content-slide h2{
     	font-size: 1.5em;
     	text-transform: uppercase;
     }
      .title-empresa-home{
      	font-size: 1.5em !important;
      }
    .title-porque{
    	font-size: 1.5em !important;
    }
    .title-header{
	position: absolute;
	font-size: 1.5rem;
	}


@media only screen and (max-width: 1140px) and (min-width: 650px)  {
	
	.contact-footer{
		visibility: hidden;
	}
}
@media only screen and (max-width: 640px) and (min-width: 350px)  {
	
	.content-somos{
	width: 100%;
	padding: 1em;
	
}
}