:root{
	--gray:#d0cfe5;
	--navy:#2f2f3f;
}
body{
	font-family: Outfit, Helvetica, sans-serif;
	text-align: center;
	margin:0 0 0 0;
	cursor:default;
	font-size: 1vw;
}
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>*{
	justify-content: center;
	align-content: center;
	align-items: 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;
}

/* GENERALES */

header{
	position: fixed;
	top:0;
	left:0;
	right: 0;
	z-index: 5;
	padding: 0.5em 2.5%;
	transition: all 0.25s ease-in-out;
}
header.scrolled{
	background: rgba(30,35,50,0.975);
}
#logo{
	float: left;
}
#logo img{
	height: 5em;
}
#menu_opener{
	float: right;
	width:2em;
	height: 2em;
	margin-top: 2em;
}
#menu_opener>div{
	background:white;
	height:2px;
	margin-bottom:6px;
}
#menu_opener>div:nth-child(2n){
	translate:15% 0;
}
#menu_opener>div:nth-child(2n+1){
	translate:-15% 0;
}
#menu_opener:hover>div{
	translate: 0 0;
}

menu{
	background: rgba(20,35,50,0.975);
	position: fixed;
	color:white;
	display:none;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	margin:0;
	padding: 0;
	z-index: 10;
	justify-content: center;
	align-content: center;
	align-items: center;
	animation:fadeIn 0.25s 1;
}
menu i.fa{
	position: absolute;
	top: 1em;
	right: 2.5%;
	font-size: 2em;
}
menu span{
	font-size: 2em;
	line-height: 3em;
	display: block;
	font-weight: 300;
	animation:fadeIn calc(0.25s*var(--i)) 1;
}
@keyframes fadeIn{
	from{ opacity:0;translate:0 -0.5em; }
	to{ opacity:1;translate:0 0; }
}

#home{
	background: var(--navy);
	height: 45vw;
	overflow: hidden;
	color: white;
	text-align: left;
	border-bottom-right-radius: 10vw;
}
#home_video{
	width: 100%;
	height: 0;
	overflow: visible;
	filter:brightness(0.8);
}
#home_video video{
	display: block;
	max-width: 100%;
}
#home_content{
	font-family: IvyOra,'Libre Caslon Text',Georgia,serif;
	padding: 15vw 40% 0 5%;
	font-size: 3em;
	position: relative;
}

#about{
	padding: 5% 20% 2.5% 20%;
}
section h2{
	font-family: IvyOra,'Libre Caslon Text',Georgia,serif;
	margin: 0;
	font-size: 2em;
	font-weight: normal;
}
section h1,section h3{
	font-family: IvyOra,'Libre Caslon Text',Georgia,serif;
	margin: 0;
	font-size: 1.6em;
	font-weight: normal;
}
blockquote{
	font-family: IvyOra,'Libre Caslon Text',Georgia,serif;
	line-height: 1.6em;
	font-size: 1.1em;
	margin: 1em auto;
	padding: 0;
}
p{
	line-height: 1.6em;
	font-size: 1.1em;
}
#about p{
	margin: 2em auto;
}

#services{
	padding: 2.5% 10%;
}
#services>div{
	margin-top:2.5%;
	grid-gap:2em;
}
.service_item{
	background:var(--navy) var(--bg) center top no-repeat;
	background-size: 100%;
	border-top-right-radius: 4em;
	color:white;
	padding: 16em 2em 1em 2em;
	text-align: right;
}
#services p{
	text-align: left;
	min-height: 6.5em;
}
#services h3{
	padding: 1em 1em 0.2em 0;
	border-right:rgba(255,255,255,0.2) solid 3px;
}
#services button{
	color: white;
	opacity: 0.5;
	font: inherit;
	letter-spacing: 0.1em;
	display: flex;
	align-items: center;
	float: right;
}
#services button i.fa{
	width: 1em;
	height: 1em;
	border-radius: 1em;
	padding: 0.25em;
	border:white solid 2px;
	text-align: center;
	line-height: 1em;
	font-size: 0.8em;
	margin-left: 0.5em;
}
#services button img{
	height: 1.25em;
	margin-left: 0.5em;
}
#services button:hover{
	opacity: 1;
}
.hide_content{
	height: 0;
	overflow: hidden;
	transition: all 0.25s ease-in-out;
	font-size: 0.8em;
	text-align: left;
}
.service_item.opened{
	box-shadow: var(--navy) 0 0 100vw 100vw inset;
	padding: 2em 2em 1em 2em;
}
.service_item.opened .hide_content{
	height: auto;
	min-height: 28em;
}

.service_item>p{
	font-family: IvyOra,'Libre Caslon Text',Georgia,serif;
}
.service_item.opened>p{
	display: none;
}

#whyus{
	padding: 5% 15% 2.5% 5%;
	background: var(--navy);
	color: white;
	border-bottom-right-radius: 10vw;
}
#whyus h2{
	padding: 0.5em 2em 2em 0;
	border-right: rgba(255,255,255,0.2) solid 3px;
	text-align: right;
}
#whyus h3{
	color: var(--gray);
	font-style: italic;
}
#whyus .img{
	max-width: 12.5%;
	padding: 0 3.5%;
}
#whyus img{
	width: 100%;
	display: block;
}
#whyus .cont{
	max-width: 80%;
}
#whyus_content>div{
	display: flex;
	align-items: start;
	text-align: left;
	margin-bottom: 4em;
}
#whyus .cont p{
	margin: 0;
}

#contact{
	padding: 5% 20%;
}
#contact h3{
	font-style: italic;
	margin-bottom: 0.5em;
}
#contact .flex{
	text-align: left;
	margin: 10% auto;
	align-items: start;
}
#contact .flex>div{
	max-width: 25%;
	margin-right: 15%;
}
form input,form textarea{
	display:block;
	padding: 0.5em 2%;
	width: 96%;
	border: none;
	background: white;
	border-bottom: var(--gray) solid 3px;
	font: inherit;
	margin-bottom: 2em;
}
form button{
	display: block;
	background: var(--gray);
	color: var(--navy);
	padding: 0.5em 4em;
	margin: 1em auto;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.1em;
	font: inherit;
}
form button:hover{
	background: var(--navy);
	color: white;
}

footer{
	margin: 0 2.5%;
	border-top:#EEE solid 2px;
	padding: 2.5%;
}
footer img{
	max-height: 5em;
}
footer span{
	display: inline-block;
	margin: 0 1em;
	color: var(--gray);
}
footer i.fa{
	font-size: 1.5em;
	position: relative;
	top: 0.15em;
}
footer a:hover{
	color: var(--gray);
}
footer p{
	font-size: 0.9em;
	margin-top: 3em;
}
#legal{
	padding: 5% 20%;
	text-align: left;
	border-top:var(--navy) solid 7em;
}

/*
#content h1,#content h2,#content h3,#content h4,#content h5,#content p,#content img,#content a,#content form *,#content li,#content blockquote{
	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;
		position:sticky;
		background: var(--navy);
		padding: 0 2em;
		overflow: hidden;
	}
	#logo img{
		height: 50px;
		margin: 5px auto;
	}
	#menu_opener{
		margin-top: 20px;
	}
	#home{
		height: 100vw;
		width: 100%;
		overflow: hidden;
	}
	#home_video video{
		width: auto;
		max-width: none;
		height: 100vw;
		position: relative;
		left: 50%;
		translate:-50% 0;
	}
	#home_content{
		padding: 0 5%;
		font-size: 4vw;
		display: flex;
		height: 100vw;
		align-items: center;
		text-align: center;
	}
	#about,#services,#whyus,#contact,#legal{
		padding: 5%;
		border-top:none;
	}
	#whyus{
		padding-top: 10%;
		margin-bottom: 15%;
	}
	#about{
		margin-top: 10%;
	}
	.service_item{
		padding: 20em 2em 3em 2em;
		margin-bottom: 1em;
		border-top-right-radius: 60px;
		background-size: cover;
	}
	.service_item.opened{
		padding-bottom: 3em;
	}
	.hide_content{
		font-size: 1em;
	}
	#contact .flex>div{
		max-width: none;
		margin: 1em auto;
	}
	footer img{
		margin-top: 2em;
	}
}