:root{
	--oran:#ED712D;
	--gold:#FAB600;
}
@font-face {
	font-family: 'ConsulWeb';
	src: url(fonts/Consul.ttf);
	font-weight: normal;
	font-style: normal;
}
body{
	font-family: Play, Poppins, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: 1.2vw;
}
input[type="button"],button{
	border:none;
	background:none;
	font-size:1em;
	cursor:pointer;
}
img{
	border:none;
}
a{
	color: inherit;
	text-decoration: none;
}
*[onclick],*[href]{
	cursor: pointer;
}
textarea{
	resize:none;
}
.clr{
	clear:both;
}
.columnas2{
	-webkit-column-count:2;
	-moz-column-count:2;
	column-count:2;
}
.columnas3{
	-webkit-column-count:3;
	-moz-column-count:3;
	column-count:3;
}
.columnas4{
	-webkit-column-count:4;
	-moz-column-count:4;
	column-count:4;
}
.columnas5{
	-webkit-column-count:5;
	-moz-column-count:5;
	column-count:5;
}
.grid2{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1em;
}
.grid3{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1em;
}
.grid4{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1em;
}
.grid5{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 1em;
}
.flex{
	display: flex;
	flex-flow: row wrap;
	align-content: space-between;
	justify-content: space-between;
}
.flex>*{
	flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.site_error>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #C44;
	border:#C44 solid 1px;
	background: #EDD;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_error{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

.site_success>div{
	margin: 0 auto;
	padding: 0.5em;
	color: #494;
	border:#494 solid 1px;
	background: #DED;
	text-align: center;
	width: 50%;
	min-width: 280px;
	border-radius: 0.15em;
	font-weight:600;
}
.site_success{
	position: fixed;
	top:-20em;
	opacity: 0;
	z-index: 10;
	width: 100%;
	
	-webkit-animation: siteError 5s 1;
	-moz-animation: siteError 5s 1;
	animation: siteError 5s 1;
}

@keyframes siteError{
	0%{opacity:1;top:5em;}
	90%{opacity:1}
	99%{opacity:0;top:5em;}
	100%{opacity:0;top:-20em;}
}

.hide_me{
	height: 0;
	width: 0;
	overflow: hidden;
	opacity: 0;
	font-size: 1px;
}

a,input,button,*[onclick],*[href],a *,*[onclick] *{
	transition: all .25s ease-in-out;
	cursor: pointer;
}

h1,h2,h3{
	text-transform: uppercase;
}
p,li{
	line-height: 1.4em;
}

/* GENERALES */

header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 10;
	background: url(imagenes/header.jpg) center center,linear-gradient(0deg,var(--gold),var(--oran));
	background-size: 100% 100%,100% 100%;
	padding: 1.5em 5%;
	font-size: 0.85em;
}
menu{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	text-transform: uppercase;
	font-weight: 600;
}
menu img{
	height: 2.5em;
}
menu span{
	line-height: 1.4em;
	display: inline-block;
	padding: 0 0.5em;
	border-left:black solid 0.2em;
}
menu span:last-child{
	border-left: none;
	border-bottom: black solid 0.2em;
}
menu span:hover{
	color: white;
	border-color:white;
}
footer{
	background: black;
	padding: 0.5em;
	color: #999;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
footer a{
	color: white;
}

#home{
	background: url(imagenes/home2.jpg) center top no-repeat;
	background-size: 100% auto;
	padding: 32vw 5% 0 65%;
	margin-top: 4em;
}
h1{
	font-size: 2em;
}
/*
#home h1:before{
	content:'';
	display: block;
	width:90%;
	border-top:black solid 2px;
	translate:-95.5% 0.65em;
	font-size: 2.4vw;
}*/
h1 span{
	display: inline-block;
	border-top:black solid 0.15em;
}
#home p{
	text-wrap: balance;
}

#nosotros{
	text-align: left;
	padding: 0 5% 2.5% 10%;
}
h2{
	font-size: 2.5em;
	margin-top: 0;
}
#nosotros h2{
	margin: 1em 0 0 0;
	translate: 0 -1em;
}
/*
#nosotros h2:before{
	content:'';
	display: block;
	width:2.35em;
	height: 3em;
	border-right:black solid 2px;
	translate: 0 -0.85em;
	font-size: 3vw;
}
*/
#nosotros p{
	margin-top: 0;
}


@supports (-ms-ime-align:auto) {	
	#nosotros h2:before{
		translate: 0 -1.5em !important;
	}
}


#galeria{
	overflow: hidden;
	margin: 1em 0;
}
#galeria>div{
	width: 840%;
	position: relative;
	left: 0;
	padding: 2em 0;
	gap:0;
	display: flex;
	justify-content: start;
	align-content: start;
	align-items: center;
	/*animation:galanim 168s infinite;
	animation-timing-function: steps(21);*/
	transition: all 0.25s ease;
	z-index: 0;
	translate:-1.2% 0;
}
@keyframes galanim{
	0%{ left:0; }
	100%{ left:-420%; }
}
#galeria a.active{
	scale:1.5;
	z-index: 1;
}
#galeria a.active img{
	filter: brightness(1) drop-shadow(rgba(0,0,0,0.5) 0 0 0.15em) !important;
}
#galeria a{
	display: block;
	min-width: 1.95%;
	max-width: 1.95%;
	margin-right:0.05%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	padding-bottom: 3em;
}
#galeria img{
	max-width: 200%;
	height: 100%;
	display: block;
}
#galeria a:after{
	content: attr(data-title);
	display: block;
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 0.8em;
}

#infraestructura{
	display: flex;
	justify-content: space-between;
	align-content: space-between;
	align-items: center;
	padding: 10% 5%;
	color: white;
	background: #666 url(imagenes/infraestructura2.jpg) center center fixed;
	background-size: cover;
	text-align: left;
}
#infraestructura h2{
	margin: 0;
}
#infraestructura img{
	max-width: 25%;
	padding: 0 2.5%;
}
#infraestructura h3{
	margin: 0;
	font-size: 1.5em;
	text-transform: uppercase;
}
#infraestructura p{
	margin: 0;
}
#infraestructura p:nth-child(2){
	margin-bottom: 5em;
}

#alcances{
	padding: 2.5% 0;
}
#alcances h2{
	background: linear-gradient(black,black) center center no-repeat;
	background-size: 100% 2px;
}
#alcances h2 span{
	display: inline-block;
	background: white;
	padding: 0 1em;
}
#alcances>div{
	padding:0 5%;
	gap:5%;
	text-align: left;
}
#alcances>div>div{
	background: url(imagenes/alcances.jpg) center top no-repeat;
	background-size: 100% auto;
	padding: 1.25em;
}
#alcances h3{
	font-size: 1.25em;
	text-transform: uppercase;
	margin: 0 0 0.5em 0;
	color: white;
	line-height: 1.25em;
	min-height: 2.5em;
}
#alcances img{
	height: 2em;
	display: block;
	margin-bottom: 2em;
	transition: all 0.25s ease;
}
#alcances img:hover{
	translate:0 3px;
}
#alcances div.opened img{
	rotate: 180deg;
}

#alcances i.fa{
	color: var(--gold);
	font-size: 2em;
	margin-bottom: 1em;
}
#alcances p{
	font-size: 0.9em;
	display: none;
	padding-top: 1em;
}
#alcances div.opened p{
	display: block;
}

#filiales{
	background: #666 url(imagenes/filiales2.jpg) center top;
	background-size: cover;
	color:white;
	padding: 0 15% 5% 15%;
}
#filiales h2{
	color:black;
	line-height: 2em;
}
#filiales h3{
	margin: 0;
}
#filiales p{
	margin:0 0 2em 0;
}
#filiales>div{
	padding-top: 2em;
}
#filiales>div>div:last-child{
	text-align: left;
	padding-left: 2em;
	border-left:var(--gold) solid 2px;
}
#filiales>div>div:first-child{
	text-align: right;
	padding-right: 2em;
}

#certificados{
	padding: 5% 10%;
}
#certificados>div{
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap:2em;
}
#certificados h2{
	color: #F90;
}
#certificados img{
	display: block;
	border:#DDD solid 1px;
	max-width: 100%;
	max-height: 18em;
}

#contacto{
	background: linear-gradient(135deg,white 5%,transparent 5.001%) no-repeat, linear-gradient(90deg,var(--oran),var(--gold));
	padding: 2.5% 10%;
}
form{
	display: block;
	margin: 1em auto;
	max-width: max(40%,300px);
}
form *:is(input,select,textarea){
	box-sizing: border-box;
	padding: 0.5em;
	font: inherit;
	display: block;
	background: white;
	border: none;
	width: 100%;
	border-radius: 0.2em;
	margin-bottom: 1em;
}
form button{
	background: black;
	color: white;
	font: inherit;
	font-size: 1.2em;
	text-transform: uppercase;
	padding: 0.25em 2em;
}
form button:hover{
	background: white;
	color: var(--oran);
}

#aviso{
	padding: max(10%,100px) 10%;
	text-align: left;
}

section h1,section h2,section h3,section h4,section h5,section p,section img,section a,section li{
	position: relative;
	top: 2em;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}


/* RESPONSIVO */

.mobile_only{
	display:none !important;
}

@media all and (max-width:960px){
	body{
		font-size:12px;
	}
	.mobile_only{
		display:block !important;
	}
	.desktop_only{
		display:none !important;
	}
	.columnas2,.columnas3{
		-webkit-column-count:1;
		-moz-column-count:1;
		column-count:1;
	}
	.columnas4{
		-webkit-column-count:2;
		-moz-column-count:2;
		column-count:2;
	}
	.columnas5{
		-webkit-column-count:3;
		-moz-column-count:3;
		column-count:3;
	}
	.grid2,.grid3,.grid4,.grid5,.flex{
		display: block;
	}
	
	header{
		height:60px;
		padding: 0 0.5em;
		display: flex;
		justify-content: space-between;
		align-content: space-between;
		align-items: center;
	}
	#logo{
		display: block;
	}
	#logo img{
		height: 30px;
	}
	#menu_opener{
		float:left;
		margin: 5px;
		width:50px;
		height:50px;
	}
	#menu_opener>div{
		height:2px;
		margin: 4px auto 0 auto;
		background: black;
		width: 36px;
		position: relative;
		top:0;
		left: 0;
		opacity: 1;
		rotate: 0deg;
		transition: all 0.25s ease;
	}
	#menu_opener>div:first-child{
		margin-top: 14px;
	}

	#menu_opener.opened>div:nth-child(1){
		top:6px;
		rotate: 45deg;
	}
	#menu_opener.opened>div:nth-child(3){
		top:-6px;
		rotate: -45deg;
	}
	#menu_opener.opened>div:nth-child(2){
		opacity: 0;
		left:-50px;
	}

	menu{
		position: fixed;
		background: rgba(0,0,0,0.85);
		color: white;
		top:60px;
		left: 0;
		right: 0;
		padding: 2em;
		display: none;
	}
	menu span{
		display: block;
		border: none !important;
		line-height: 4em;
	}
	#home{
		margin-top: 60px;
		padding: 50vw 5% 1em 5%;
		background-position: 10% 0;
		text-align: justify;
	}
	#home h1:before,#nosotros h2:before{
		content: none;
		display: none;
	}
	#nosotros h2{
		translate: 0 0;
		margin-bottom: 1em;
	}
	h2{
		font-size: 2em;
	}
	#nosotros{
		padding: 5%;
		text-align: justify;
	}
	#galeria>div{
		width:2100%;
		translate: -2.5% 0;
	}
	@keyframes galanim{
		0%{ left:0; }
		100%{ left:-600%; }
	}
	#infraestructura{
		display: block;
		padding: 10% 5%;
		background-size: auto 100vh;
	}
	#infraestructura h2{
		margin-bottom: 1em;
		color: var(--gold);
	}
	#infraestructura p:nth-child(2){
		margin-bottom: 2em;
	}
	#infraestructura img{
		display: none;
	}
	#alcances{
		padding-top: 5%;
	}
	#alcances>div>div{
		background: none;
		padding: 0;
		margin-bottom: 3em;
	}
	#alcances h3{
		padding: 0.5em;
		background: url(imagenes/alcances.jpg) center top;
		background-size: 120% auto;
		text-align: center;
		margin-bottom: 0.2em;
	}
	#alcances i.fa{
		display: none;
	}
	#filiales{
		padding: 5%;
		background: #666 url(imagenes/infraestructura.jpg) center top;
		background-size: auto 100%;
	}
	#filiales h2{
		color: white;
	}
	#filiales>div>div{
		padding: 0 !important;
		text-align: left !important;
		border-left: none !important;
	}
	#certificados>div{
		display: block;
	}
	#certificados a{
		margin: 0 auto 1em auto;
		display: block;
		text-align: center;
	}
	#certificados img{
		margin: 0 auto;
	}
	#contacto{
		padding: 10% 5%;
	}
	footer{
		padding: 1em 2.5%;
		font-size: 1em;
		letter-spacing: 0;
	}
	footer a{
		display: block;
	}
	#alcances img{
		height: 3em;
		margin: 0;
	}
}