@import url('https://fonts.googleapis.com/css?family=Lato:400,700');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600i,800,800i');

* {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;

	--color-text: #6b6b6b;
	--color-wp: #25d366;
	--color-blue: #0055a5;
}

h1, h2, h3, h4, h5, h6, p, li, a, span, strong, input, textarea, label, button {
	font-family: 'Lato';
	color: var(--color-text);
}

h1, h2, h3, h1 strong {
	font-family: 'Open Sans', sans-serif;
}

body {
	background: #fff;
	overflow-x: hidden;
}

img {
	max-width: 100%;
}

.wrapper {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 15px;
}


.col100 { width: 100%; float: left; position: relative; padding: 0 15px; text-align: left;}
.col50 { width: 50%; float: left; position: relative; padding: 0 15px; text-align: left;}
.col66 { width: 66.66%; float: left; position: relative; padding: 0 15px; text-align: left;}
.col33 { width: 33.33%; float: left; position: relative; padding: 0 15px; text-align: left;}
.col75 { width: 75%; float: left; position: relative; padding: 0 15px; text-align: left;}
.col25 { width: 25%; float: left; position: relative; padding: 0 15px; text-align: left;}

.colCenter {
	text-align: center;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 12px 0;
	z-index: 999;
	-webkit-transition: all .7s ease-in-out;
	   -moz-transition: all .7s ease-in-out;
	    -ms-transition: all .7s ease-in-out;
	     -o-transition: all .7s ease-in-out;
	        transition: all .7s ease-in-out;
	background: rgba(0,0,0,.5);
}

header .wrapper {
	max-width: 100%;
}

header.scrolled {
	box-shadow: 0 1px 0 #eee;
	padding: 9px 0 15px;
	background: #fff;
}

header.scrolled a.logo {
	width: 150px;
	opacity: 1;
}

header.scrolled nav {
	margin: 25px 0 0 0;
}

header.scrolled nav a {
	color: #333;
}

header nav {
	float: right;
	margin: 40px 0 0 0;
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
}

nav li {
	float: left;
}

nav a {
	padding: 3px 15px;
	font-size: 15px;
	text-transform: uppercase;
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
	border-left: 1px solid #bbb;
	color: #fff;
}

nav li:first-child a {
	border: none;
}

nav a.social {
	padding: 0 15px;
	display: inline-block;
	height: 24px;
}

nav a.social img {
	margin: -7px 0 0;
	width: 36px;
}

header a.logo {
	opacity: 0;
	width: 230px;
	position: relative;
	display: inline-block;
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
}

article.index {
	background: url('../img/bg-main.jpg') center center no-repeat;
	background-size: cover;
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 85px 0 150px;
}

article.index a.logo {
	width: 450px;
	display: inline-block;
	margin-bottom: 60px;
}

h1 {
	font-size: 36px;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
	font-style: italic;
	color: #fff;
}

h1 strong {
	color: #fff;
	font-weight: bold;
	display: block;
	font-size: 60px;
}

article.index h2 {
	font-family: 'Open Sans', sans-serif;
	font-weight: ;
	font-size: 26px;
	margin: 15px 0;
}

ul.buttons {
	margin: 30px -7px;
	padding: 0;
}

ul.buttons li {
	margin: 0 7px;
	float: left;
}

ul.buttons a {
	background: var(--color-blue);
	display: inline-block;
	padding: 7px 15px 7px 36px;
	color: #fff;
	border-radius: 5px;
	text-transform: uppercase;
	font-size: 15px;
}

ul.buttons a.phone {
	background: var(--color-blue) url('../img/icon-phone.png') left 7px center no-repeat;
	background-size: 21px;
}

ul.buttons a.form {
	background: var(--color-blue) url('../img/icon-form.png') left 7px center no-repeat;
	background-size: 21px;
}

ul.buttons a.wp {
	background: var(--color-wp) url('../img/icon-wp.png') left 5px center no-repeat;
	background-size: 27px;
	color: #fff;
}

h2 {
	font-size: 43px;
	line-height: 1em;
	margin: 30px 0;
	text-align: center;
	font-weight: bold;
}

h2.left {
	text-align: left;
}

article.clientes .wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

ul.clientes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	width: 100%;
}

ul.clientes li {
	float: left;
	padding: 0 15px;
}

article.features, article.productos, article.contacto {
	border-top: 7px solid var(--color-blue);
	padding: 60px 0;
}

ul.features {
	margin: 60px -30px 30px -30px;
	display: grid;
	grid-template-columns: repeat(2, 50%);
	align-items: start;
	grid-auto-flow: row;
}

ul.features li {
	/*width: 50%;
	float: left;*/
	padding: 30px;
}

/*
ul.features li:nth-child(1) { grid-column: 1 / 1; grid-row: 1 / 1; }
ul.features li:nth-child(2) { grid-column: 2 / 2; grid-row: 1 / 1; }
ul.features li:nth-child(3) { grid-column: 1 / 1; grid-row: 2 / 2; }
ul.features li:nth-child(4) { grid-column: 2 / 2; grid-row: 2 / 2; }
ul.features li:nth-child(5) { grid-column: 1 / 1; grid-row: 3 / 3; }
ul.features li:nth-child(6) { grid-column: 2 / 2; grid-row: 3 / 3; }
*/

ul.features img {
	width: 60px;
	float: left;
	margin-top: 15px;
}

ul.features .text {
	float: left;
	width: calc(100% - 60px);
	padding: 0 0 0 30px;
}

p {
	font-size: 15px;
	letter-spacing: .5px;
	margin: 0;
}

h3 {
	font-size: 30px;
	line-height: 1em;
	font-weight: bold;
	margin: 0 0 9px 0;
	padding: 0;
	text-transform: uppercase;
	color: var(--color-blue);
}

a.buttonBig {
	background: var(--color-blue);
	padding: 15px 30px;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	border-radius: 7px;
	margin: 0 auto;
	display: inline-block;
	font-weight: bold;
}

a.buttonSmall {
	background: var(--color-blue);
	padding: 7px 15px;
	color: #fff;
	font-size: 15px;
	text-transform: uppercase;
	border-radius: 5px;
	margin: 0 auto;
	display: inline-block;
	font-weight: bold;
}

ul.productos {
	margin: 60px -30px 30px -30px;
	display: grid;
	grid-template-columns: repeat(2, 44vw);
	grid-template-rows: repeat(2, 44vw);
	justify-content: center
}

ul.productos li {
	padding: 30px;
}

ul.productos a {
	width: 100%;
	height: 100%;
	display: block;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	display: flex;
	align-items: flex-end;
	padding: 0 0 60px;
}

ul.productos span {
	font-family: 'Open Sans', sans-serif;
	font-size: 29px;
	color: #fff;
	text-transform: uppercase;
	width: 100%;
	display: block;
	background: rgba(14, 27, 69,0.5);
	text-align: center;
	padding: 15px;
}

article.contacto {
	background: url('../img/bg-contacto.jpg') center center no-repeat;
	background-size: cover;
}

article.contacto h2 {
	color: #fff;
}

ul.data {
	margin: 0 0 30px 0;
}

ul.data li {
	color: #fff;
	font-size: 18px;
	margin: 7px 0;
	padding: 3px 3px 3px 35px;
}

ul.data li.phone { background: url('../img/icon-phone-w.png') left center no-repeat; }
ul.data li.place { background: url('../img/icon-place.png') left center no-repeat; }
ul.data li.mail { background: url('../img/icon-at.png') left center no-repeat; }

form input, form textarea, button {
	background: none;
	border: 1px solid #fff;
	background: transparent;
	border-radius: 3px;
	height: 42px;
	width: 100%;
	margin: 0 0 15px;
	padding: 7px;
	color: #fff;
	font-size: 15px;
}

form textarea {
	height: 120px;
}

button {
	background: var(--color-blue);
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	border: none;
}

.logoFoot {
	margin-top: 60px;
}

iframe {
	width: 100%;
	margin: 0;
	border: 0;
}

article div .portada {
	color:#fff;
}

/*=====================================================================================================================
CONTACTO GRACIAS
=====================================================================================================================*/

.contact-success, .contact-error, .formEdit {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100vh;
    display: none;
}

.contact-success .wrapper, .contact-error .wrapper, .formEdit .wrapper {
    height: 100%;
    max-width: 650px;
    display: flex;
    align-items: center;
    z-index: 30;
}

.contact-success .col100, .contact-error .col100 {
    background: #fdfdfc;
    padding: 30px;
    border-bottom: 7px solid #ff9300;
    text-align: center;
}

a.close {
    position: absolute;
    right: 0;
    background: #ff9300;
    color: #fff;
    font-weight: bold;
    padding: 9px 15px;
    top: 0;
    width: 40px;
    height: 40px;
}

a.close:after {
	content: '';
	display: block;
	position: absolute;
	top: 17px;
	left: 5px;
	width: 30px;
	height: 4px;
	background: #fff;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	        transform: rotate(45deg);
}
a.close:before {
	content: '';
	display: block;
	position: absolute;
	top: 17px;
	left: 5px;
	width: 30px;
	height: 4px;
	background: #fff;
	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	     -o-transform: rotate(-45deg);
	        transform: rotate(-45deg);
}

button.close {
    display: block;
    padding: 10px 15px;
    width: 50px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 27px;
    text-shadow: none;
    outline: none !important;
    z-index: 10;
    background: #ff5b5b;
    border-radius: 0 9px;
    opacity: 1;
    font-weight: bold;
	line-height: .8em;
}

.modal {
    background: #fff;
    z-index: 9999;
    padding: 0 15px 30px;
    width: 100%;
    text-align: center;
    border-radius: 9px;
    position: relative;
}

/*=====================================================================================================================
BURGER MENU
=====================================================================================================================*/

.overlay, .overlayNav {
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,.7);
	top: 0;
	left: 0;
	display: none;
}

a.burger {
	display: none;
	position: absolute;
	right: 15px;
	top: 16px;
	width: 45px;
	height: 25px;
	z-index: 10;
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
}
a.burger span {
	position: absolute;
	width: 100%;
	height: 2px;
	top: 0;
	background: var(--color-text);
	opacity: .5;
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
	    -ms-transition: all .3s ease-in-out;
	     -o-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
}
a.burger span:nth-child(2) { top: 10px;}
a.burger span:nth-child(3) { top: 20px;}

a.burger.open span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	        transform: rotate(45deg);
	top: 9px;
}
a.burger.open span:nth-child(2) {
	-webkit-transform: scale(0);
	   -moz-transform: scale(0);
	    -ms-transform: scale(0);
	     -o-transform: scale(0);
	        transform: scale(0);
}
a.burger.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
	    -ms-transform: rotate(-45deg);
	     -o-transform: rotate(-45deg);
	        transform: rotate(-45deg);
	top: 9px;
}


/*=====================================================================================================================
RESPONSIVE
=====================================================================================================================*/

@media (max-width: 1280px) {
	iframe {
		height: 33vh;
	}
	ul.buttons li {
		margin: 7px;
	}
	ul.clientes {
		display: grid;
		grid-template-columns: repeat(5, auto);
		justify-content: space-around;
		align-items: center;
	}
	ul.clientes li {
		padding: 0 7px;
	}
}

@media (max-width: 800px) {
	article.index {
		margin-top: 75px;
		height: calc(80vh - 75px);
		padding-bottom: 30px;
	}
	header nav, header.scrolled nav {
		position: fixed;
		top: 0;
		right: 0;
		background: #fff;
		height: 100vh;
		margin: 0;
		padding: 80px 0 15px 0;
		-webkit-transition: all .3s ease-in-out;
		   -moz-transition: all .3s ease-in-out;
		    -ms-transition: all .3s ease-in-out;
		     -o-transition: all .3s ease-in-out;
		        transition: all .3s ease-in-out;
		-webkit-transform: translateX(100%);
		   -moz-transform: translateX(100%);
		    -ms-transform: translateX(100%);
		     -o-transform: translateX(100%);
		        transform: translateX(100%);
		border-left: 1px solid #ddd;
	}
	header.scrolled nav {
		top: 66px;
		padding: 15px 0 96px 0;
	}
	header nav.open {
		-webkit-transform: none;
		   -moz-transform: none;
		    -ms-transform: none;
		     -o-transform: none;
		        transform: none;
	}
	nav li {
		float: none;
	}
	nav a {
		color: #333;
		padding: 15px 30px;
		display: block;
		border: none;
	}
	a.logo {
		width: 125px;
	}
	a.burger {
		display: block;
	}
	header.scrolled a.burger {
		top: 12px;
	}

	ul.features {
		margin: 0;
	}
	ul.features li {
		text-align: center;
	}
	ul.features li img {
		margin: 0 auto;
		display: inline-block;
		float: none;
	}
	ul.features .text {
		width: 100%;
		padding: 0;
		float: none;
	}
	ul.features h3 {
		margin: 7px 0;
	}
	.col50, .col33, .col66 {
		width: 100%;
	}
	h2 {
		font-size: 45px;
	}
	article.features, article.productos, article.contacto {
		padding: 30px 0;
	}
	ul.productos li {
		padding: 15px;
	}
	ul.productos span {
		font-size: 30px;
	}
	.logoFoot {
		margin: 30px;
	}
	h1 {
		font-size: 30px;
		line-height: 30px;
	}
	h1 strong {
		font-size: 45px;
		line-height: 45px;
	}
	article.index a.logo {
		display: none;
	}
	header a.logo {
		opacity: 1;
	}
	header {
		background: #fff;
	}
	header nav a {
		color: #333;
	}
	nav a.social {
		padding: 0 24px;
		margin-top: 15px;
	}
}

@media (max-width: 460px) {
	article.index {
		margin-top: 55px;
		height: calc(90vh - 55px);
		padding: 30px 0;
		background: url('../img/bg-main-2.jpg') center center no-repeat;
		background-size: cover;
	}
	h1 {
		text-align: center;
	}
	article.index h2 {
		font-size: 15px;
		text-align: center;
	}
	a.logo {
		width: 120px !important;
	}
	.wrapper {
		padding: 0;
	}
	ul.buttons li {
		margin: 3px 0;
		width: 100%;
		text-align: center;
	}
	.col25, .col75 {
		width: 100%;
	}
	ul.clientes {
		display: flex;
		margin: 0 0 15px;
	}
	ul.clientes li {
		padding: 7px;
		width: 33.33%;
	}
	h2 br {
		display: none;
	}
	h2.left {
		text-align: center;
	}
	h2 {
		margin: 15px 0 30px;
	}
	ul.features {
		display: block;
		margin: 0 0 30px 0;
	}
	ul.features li {
		padding: 15px 0;
	}
	h3 {
		font-size: 27px;
	}
	ul.productos {
		display: block;
	}
	ul.productos li {
		height: 45vh;
	}
	ul.productos a {
		padding: 0 0 24px;
	}
	a.burger, header.scrolled a.burger {
		top: 6px !important;
	}
	header nav.open, header nav, header.scrolled nav {
		top: 63px;
		padding-top: 0;
	}
	header, header.scrolled {
		padding: 12px 0;
	}
}