@charset "utf-8";

* {
	margin: 0;
	padding:0;
	-webkit-box-sizing:border-box;
    -moz-box-sizing:   border-box;
    box-sizing:        border-box;
}
html {
	scroll-padding: 96px;
	scroll-behavior: smooth;
	--azul: #1b375f;
	--blanco: #ffffff;
	--gris: #efefef;
	--verde: #008776;
	--verdeClaro: #03a691;
	--amarillo: #fabb0c;
	--amarilloClaro: #fac83f;
	--azulClaro: #2b538b;
	--width: calc(100% - 36px);
	--maxWidth: 1200px;
}

body {
	font-family: 'Poppins Light';
	font-weight: normal;
	color: var(--azul);
	background: var(--blanco);
	line-height:1.3;
	overflow-x:hidden !important;
}

h1 {
	line-height:1;
	font-family: 'Poppins Bold';
	font-weight: normal;
	font-size: 2.7em;
}
h2 {
	line-height:1;
	font-family: 'Poppins Bold';
	font-weight: normal;
	font-size: 2.1em;
}
a {
	font-size: 1em;
    text-decoration:none;
	color: var(--azul);
	cursor: pointer;
}
a:active {
	outline: none;
    border: none;
}
button {
	font-family: 'Poppins';
	font-size: 1.2em;
	border-radius: 0 !important;
	cursor: pointer !important;
	border: none;
	transition: all 0.6s ease-in-out;
}
button:active {
    outline: none;
    border: none;
}
button:hover {
	cursor:pointer;
}
button:focus,
input:focus,
textarea:focus {
	outline:none;
}
p, ul {
	font-size:1em;
}
p b {
	font-family: 'Poppins';
	font-weight: normal;
}

::selection {
	color: var(--blanco);
	background: var(--amarillo);
}
::-moz-selection {
	color: var(--blanco);
	background: var(--amarillo);
}

/* --------------------------- full --------------------------- */

#superContainer {
    height: 100%;
    position: relative;
	-ms-touch-action: none; 
}
.section {
    position: relative;
}
.slide, .slidesContainer {
    height: 100% !important;
    display: block;
}
.section.table, .slide.table {
    display: table;
    width: 100%;
}
.tableCell {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    height:100%;
}
#fullpage {
	overflow:hidden;
}

.section,
.section .slide,
.section .tableCell{
    height: auto !important;
}
.section.table, .slide.table {
    display: table;
    width: 100%;
}

/* --------------------------- css --------------------------- */

.btn {
	font-size: 1em;
	padding: 6px 24px;
	color: var(--blanco);
	background: var(--amarillo);
	animation-delay: 0.9s;
}
.btn:hover {
	background: var(--amarilloClaro);
}
.btn span {
	color: var(--azul);
	margin: 0 12px 0 0;
}

header {
	width: 100%;
	position: fixed;
	top: 0;
	left:0;
	background: var(--blanco);
	transition: all ease-in-out 0.6s;
	border-bottom: solid 1px var(--gris);
	z-index: 99;
}
header .inter {
	width: var(--width);
	max-width: var(--maxWidth);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

header .inter div:nth-child(2),
header .inter ul {
	padding: 9px 0;
}
header .inter div img {
	height: 54px;
	margin: 12px 0;
	transition: all 0.6s ease-in-out;
}
header .inter .menu a {
	position: relative;
}
header .inter .menu a::after {
	content: '';
	width: 0;
	height:1px;
	background: var(--amarillo);
	position: absolute;
	left: 50%;
	bottom:-6px;
	transform: translateX(-50%);
	transition: all 0.6s ease-in-out;
	z-index: 1;
}
header .inter .menu a:hover::after,
header .inter .menu a.active::after {
	width: 100%;
}
header .inter .menu a:hover,
header .inter .menu a.active {
	color: var(--verde);
}
header .inter .menu .btn {
	background: var(--verde);
}
header .inter .menu .btn:hover {
	background: var(--verdeClaro);
}

header .inter ul {
	list-style-type: none;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	gap: 30px;
}

/* active */
header.active .inter div img {
	height: 48px;
	margin: 7px 0;
}

#openmenu {
	width: 100vw;
	height:100vh;
	position: fixed;
	display: block;
	top: 0;
	left:100%;
	transition: all 0.6s ease-in-out;
	background: var(--azul);
	padding: 170px 15px 24px;
	text-align: center;
	z-index: 66;
}
#openmenu.active {
	left: 0;
}
#openmenu a {
	font-size: 1.3em;
	display: block;
	margin: 0 0 24px;
	color: var(--blanco);
	position: relative;
}
#openmenu a.active {
	color: var(--amarillo);
}
#openmenu div:last-child {
	direction: flex;
	padding: 24px 0 0;
}
#openmenu div:last-child a {
	margin: 0 9px;
	display: inline-block !important;
}

.btn-menu {
	width: 21px;
	height:21px;
	position: relative;
	display: none;
	margin: 0 0 0 12px;
	background: none;
}
.btn-menu span {
	width: 21px;
	height:2px;
	background: var(--azul);
	position: absolute;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease-in-out;
}
.btn-menu span::before,
.btn-menu span::after {
	content: '';
	width: 100%;
	height:2px;
	background: var(--azul);
	position: absolute;
	left: 0;
	transition: all 0.6s ease-in-out;
}
.btn-menu span::before {
	top: -7px;
}
.btn-menu span::after {
	bottom:-7px;
}
/* active */
.btn-menu.active span {
	background: none;
}
.btn-menu.active span::before {
	top: 0;
	transform: rotate(45deg);
}
.btn-menu.active span::after {
	bottom:0;
	transform: rotate(-45deg);
}

#cortina {
	width: 100vw;
	height:100vh;
	position: fixed;
	top: 0;
	left:0;
	background: var(--blanco);
	animation: gone 0.9s;
	opacity: 0;
	pointer-events: none !important;
	z-index: 66;
}
@-webkit-keyframes gone {
	0% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@-moz-keyframes gone {
	0% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes gone {
	0% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

main {
	width: var(--width);
	max-width: var(--maxWidth);
	margin: 0 auto;
	animation-duration: 1.5s !important;
	animation-delay: 0.9s !important;
}

.bg-gris {
	background: var(--gris);
	padding:45px 0;
}
.bg-verde {
	color: var(--blanco);
	background: var(--verde);
	padding:45px 0;
}

.add {
	margin: 84px auto 0;
}

#portada {
	width: 100%;
	position: relative;
	background: var(--azul);
	overflow: hidden;
}
#portada main {
	max-width: 600px;
	position: relative;
	color: var(--blanco);
	padding:171px 0;
	text-align: center;
	z-index: 3;
}
#portada main p {
	margin: 48px auto;
}
#portada img {
	width: 103%;
	height:103%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	opacity: 0.7;
	transition: all 0.6s ease-in-out;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
	z-index: 1;
}
#portada .portaBtns {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 24px;
}

.tit {
	text-align: center;
	padding:42px 0;
}
.tit * {
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
.tit p {
	width: 50%;
	margin: 30px auto 0;
}

.portaServicios {
	display: flex;
	position: relative;
	justify-content: center;
	gap: 24px;
	margin: 18px auto;
	flex-wrap: wrap;
}
.portaServicios > div {
	width: 20%;
	text-align: center;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
.portaServicios > div:nth-child(2n) {
	animation-delay: 0.9s;
}
.portaServicios > div span {
	font-size: 6em;
}
.portaServicios > div img {
	width: 100%;
}
.portaServicios > div h2 {
	font-size: 1.5em;
	margin: 18px 0;
	color: var(--verde);
}

.portaBtn {
	padding:18px 0 45px;
	text-align: center;
}

#barra {
	position: relative;
	overflow: hidden;
	background: var(--azul);
}
#barra main {
	position: relative;
	margin: 60px auto;
	text-align: center;
	z-index: 3;
}
#barra main h2 {
	width: 50%;
	color: var(--blanco);
	margin: 0 auto;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
#barra main .btn {
	margin: 45px auto 0;
}
#barra img {
	width: 103%;
	height:103%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left:50%;
	transform: translate(-50%,-50%);
	opacity: 0.7;
	transition: all 0.6s ease-in-out;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
	z-index: 1;
}

.contacto {
	position: relative;
	display: flex;
	align-items: center;
}
.contacto .foto,
.contacto .info {
	width: 50%;
	position: relative;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
.contacto .foto img {
	width: 100%;
}
.contacto .info {
	padding:0 0 0 24px;
}
.contacto .info h2 {
	margin: 0 0 45px;
}
.contacto .info a {
	display: block;
	margin: 0 0 24px;
}
.contacto .info a:last-child {
	margin: 0;
}

#portaPreguntas {
	max-width: 600px;
	position: relative;
	margin: 0 auto 60px;
}
#portaPreguntas .pregunta {
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
#portaPreguntas .barra {
	color: var(--blanco);
	background: var(--azul);
	padding:12px 15px;
}
#portaPreguntas .pregunta:nth-child(2n) .barra {
	background: var(--verde);
}
#portaPreguntas .respuesta {
	padding:12px 15px 45px;
}
#portaPreguntas .pregunta:last-child .respuesta {
	padding:12px 15px 0;
}

form {
	width: var(--width);
	max-width: var(--maxWidth);
	margin: 0 auto;
	position: relative;
}
form div {
	width: 100%;
	padding:0 45px;
	position: relative;
	display: flex;
	justify-content: space-between;
	margin: 0 0 12px;
	animation-duration: 1.2s;
	animation-delay: 0.6s;
}
form div input,
form div select,
form div option {
	width: calc(50% - 18px);
	font-size: 1em;
	color: var(--azul);
	padding:12px 15px;
	border: solid 2px var(--gris);
	background: var(--gris);
	transition: all 0.6s ease-in-out;
}
form div input:focus,
form div select:focus,
form div option:focus {
	border-color: var(--amarillo);
	background: var(--blanco);
}

footer {
	background: var(--azul);
	padding:45px 0;
}
footer .inter {
	width: var(--width);
	max-width: var(--maxWidth);
	margin: 0 auto;
	display: flex;
	gap: 30px;
}
footer .inter div {
	width: 33.3%;
}
footer .inter div h3 {
	color: var(--blanco);
	margin: 0 0 24px;
}
footer .inter div a {
	width: auto;
	display: block;
	font-size: 0.8em;
	color: var(--blanco);
	margin: 0 0 12px;
}
footer .inter div img {
	width: 100%;
	max-width: 120px;
	margin: 0 0 45px;
}
footer .inter .redes {
	width: 100%;
	display: flex;
	gap: 24px;
}
footer .inter .redes span {
	font-size: 1.8em;
}

@media screen and (max-width:666px) {
	
	html {
		--width: calc(100% - 24px);
	}
	
	h1 {
		font-size: 2.1em;
	}
	h2 {
		font-size: 1.8em;
	}
	p {
		font-size: 0.9em;
	}
	
	.btn {
		padding: 6px 21px;
	}
	
	.btn {
		font-size: 0.9em;
		padding: 6px 21px;
	}

	header {
		border-bottom: solid 1px var(--azul);
	}
	header .inter div img {
		height: 42px;
		margin: 15px 0;
	}

	header .inter ul.menu a {
		display: none;
	}
	header .inter ul * {
		vertical-align: middle;
	}

	.btn-menu {
		display: inline-block;
	}
	
	.bg-gris,
	.bg-verde {
		padding:39px 0;
	}
	.add {
		margin: 78px auto 0;
	}

	#portada main {
		padding:90px 0;
	}
	#portada main p {
		margin: 39px auto;
	}
	
	.tit {
		padding:30px 0;
	}
	.tit p {
		width: calc(100% - 30px);
	}

	.portaServicios {
		gap: 30px 0;
		justify-content: space-between;
	}
	.portaServicios > div {
		width: calc(50% - 9px);
	}
	.portaServicios > div h2 {
		font-size: 1.3em;
	}

	#barra main h2 {
		width: calc(100% - 30px);
	}

	.contacto {
		flex-wrap: wrap;
	}
	.contacto .foto,
	.contacto .info {
		width: 100%;
	}
	.contacto .foto {
		margin: 0 0 24px;
	}
	.contacto .info {
		padding:0;
		text-align: center;
	}
	.contacto .info h2 {
		margin: 0 0 30px;
	}

	form div {
		padding:0;
		flex-wrap: wrap;
	}
	form div input,
	form div select,
	form div option {
		width: 100%;
		font-size: 0.9em;
		margin: 0 0 12px;
	}
	form div input:last-child,
	form div select:last-child,
	form div option:last-child {
		margin: 0;
	}

	footer {
		padding:30px 0;
	}
	footer .inter {
		gap: 30px 0;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	footer .inter div {
		width: calc(50% - 15px);
	}
	
}