@charset "utf-8";
html, body {
	width: 100%;
	overflow-x: hidden;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
@media (min-width: 850px) {
.nav-cel, .nav-abajo,.solo-cel {
	display: none;
}
nav{
	height: 100vh;
	width: 15vw;
	position: fixed;
	top: 0;
	left: 6%;
	padding-top:2%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 5%;
}
nav a{
	text-decoration: none;
	color: black;
	font-family: 'Montserrat',serif;
	margin-left:33%;
}
nav a.active {
  color: black;
  padding-left: 25px;
  position: relative;
}
nav a.active::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 16px;
	border-top-right-radius:50%;
	border-bottom-right-radius:50%;
  background: black;
}
#cero{
	background-image:url("../media/portada.png");
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
    height: 100vh;
}
.seccion {
	width: 100%;
	height: 100vh;
	display:grid;
	grid-template-columns: 25fr 54fr 9fr 5fr 7fr;
	grid-template-rows: 18% 57% 25%;
}
.margen_i{
	grid-row: 1/4;
	grid-column: 1/2;
}
.margen_d{
	grid-row: 1/4;
	grid-column: 5/6;
}
.titulos{
	display: flex;
	flex-direction: column;
	font-size: 7vh;
	font-family: 'Cormorant Infant',serif;
	font-weight: 400;
	grid-column:2/3;
	grid-row:1/2;
	justify-content: flex-end;
}
#d1-2{
	padding-left:8.5%;
	padding-right:4%;
	padding-top:3%;
	text-align: justify;
	grid-column:2/3;
	grid-row:2/3;
}
#d1-3{
	grid-column:3/5;
	grid-row:2/3;
}
.boton {
	width: 90%;
	height: 5vh;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
}
.bup{
	transform: rotate(0deg);
}
.bdown{
	transform: rotate(180deg);
}
.deslizador .boton img {
	height: 100%;
  	width: auto;
  	object-fit: contain;
	align-items: center;
}
.deslizador{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 90%;
	height: 100%;
	position: relative;
}
.desliz {
	margin-top:2vh;
	margin-bottom:2vh;
	display: none;
	justify-content: center;
	align-items: center;
}
.activo {
	display: flex;
}
.deslizador img{
	width: 100%;
	height: auto;
}
#d2-2{
	padding-left:6.5%;
	grid-column:2/5;
	grid-row:2/3;
}
.box_servicios {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
	gap:0.5vw;
}
.servicios {
    position: relative;
    width: 100%;
}
.servicios img {
    width: 100%;
    display: block;
}
.servicios .tls_servicios {
    position: absolute;
    top: 50%;
    left: 50%;
	width: 100%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-align: center;
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.servicios:hover .tls_servicios {
    opacity: 1;
}
.servicios:hover img{
	filter: brightness(0.3);
}
.brochure{
	padding-top:3%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
}
.brochure li a{
	display: flex;
	align-items: center;
	padding: 10px;
	text-align: left;
	text-decoration: none;
    color: inherit;
}
.brochure li img{
	width: 30px;
	height: auto;
	margin-right: 10px;
}
#d3-2{
	grid-column:2/4;
	grid-row:2/3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	text-align: right;
	padding-bottom: 5%;
	padding-right: 1%;
}
#d3-3{
	grid-column:4/5;
	grid-row:2/3;
}
#d3-4{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end; 
	grid-column:2/4;
	grid-row:3/4;
}
.redes{
	display:grid;
	justify-items:start;
	grid-template-columns: repeat(5, 1fr);
	list-style: none;
}
#footer{
	text-align: right;
}
}
@media (max-width: 850px) {
	html{
		scroll-padding-top: 10vh;
	}
	.solo-pc{
		display:none;
	}
	header{
		background:white;
		height: 10vh;
		width: 100vw;
		position: fixed;
		display:flex;
		justify-content: space-between;
   		align-items: center;
		top: 0;
		text-align: center;
		z-index: 10;
	}
	nav{
		display: none;
	}
	body{
		padding-top:10vh;
		box-sizing: border-box;
	}
	.nav-abajo {
		justify-content: center;display: none;
		position: absolute;
		background:white;
		top: 10vh;
		width:100%;
		padding: 10px;
		z-index: 100;
	}
	.nav-abajo a {
		display: block;
		text-decoration: none;
		color: black;
		padding: 10px 15px;
		font-family: 'Montserrat', sans-serif;
	}
	.nav-abajo a:hover {
		border-radius: 5px;
	}
	.nav-icon {
		height:9vh;
		cursor: pointer;
	}
	#cero{
		background-image:url("../media/portada.png");
		background-size: 100% 100%;
		background-position: center;
		background-repeat: no-repeat;
		width: 100%;
		height: 30vh;
		margin-bottom: 5vh;
	}
	.titulos{
		font-family:'Cormorant Infant',serif;
		font-size:4vh;
		padding-left:5vw;
	}
	#d1-2{
		padding-left:10vw;
		padding-top:3vh;
		padding-right:10vw;
		text-align: justify;
		padding-bottom: 10vh;
	}
	#d1-3{
		width:100vw;
		height: 35vh;
		margin-bottom:5vh;
	}
	.deslizador {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 90%;
		margin: 0 auto;
		position: relative;
	}
	.desliz{
		display:none;
	}
	.desliz.activo{
		display:block;
	}
	.boton img {
		width: 10vw;
		cursor: pointer;
	}
	.bup{
		transform: rotate(270deg);
	}
	.bdown{
		transform: rotate(90deg);
	}
	.desliz img {
		height: 34vh;
		border-radius: 10px;
	}
	.brochure{
		padding-top:3%;
		padding-left:10vw;
		padding-right:10vw;
		margin-bottom: 5vh;
		display: grid;
		grid-template-rows: repeat(5, 1fr);
		gap: 1vh;
		list-style: none;
	}
	.tcel{
		text-decoration: underline;
		font-weight: 500;
		font-size: 2vh;
	}
	.brochure li{
		gap:4vw;
		display: flex;
		align-items: center;
		padding: 10px;
		text-align: left;
		text-decoration: none;
		color: inherit;
	}
	.txt_svc{
		font-family: 'Cormorant Infant',serif;
		display:flex;
		flex-direction: column;
		text-align: justify;
	}
	.brochure li img{
		width: auto;
		height: 25vh;
	}
	#d3-2{
		padding-top:3%;
		padding-left:10vw;
		padding-right:10vw;
		font-size:1.5vh;
	}
	#d3-4{
		height: 60vh;
		display: flex;
		flex-direction: column;
		padding-top:3vh;
		padding-left:10vw;
		padding-right:10vw;
	}
	.rdcel{
		display: flex;
		gap: 10px;
		justify-content: flex-end;
		align-items: flex-start;
		list-style: none;
	}
	.rdcel img{
		height: 4vh;
	}
	.librorecl{
		background:black;
		padding-right:5vw;
		border-top-left-radius: 2vh;
		border-bottom-left-radius: 2vh;
		height: 6vh;
		color:white;
		display: flex;
		justify-content: right;
		align-items: center;
		text-align: right;
	}
	#footer{
		padding-top:40vh;
	}
}

form {
  background-color: blue;
  max-width: 600px;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-top: 5px;
}
textarea {
  height: 100px;
}

button {
  margin-top: 20px;
  background-color: #0b69ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

button:hover {
  background-color: #084ec1;
}