@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: #2f2e41;
}

body {
	font-family: "Poppins", sans-serif;
	background-color: #e6e6e6;
}

/* ---- NAVEGACIÓN ----*/

.menu {
	background-color: #2f2e41;
	color: #e6e6e6;
	height: 140px;
}
.menu-logo {
	width: 100%;
	height: 100%;
	padding-top: 12px;
	padding-bottom: 12px;
}

.menu-logo-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.menu-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 90%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
}

.menu-links {
	height: 100%;
	transition: transform 0.5s;
	display: flex;
}

.menu-item {
	list-style: none;
	position: relative;
	height: 100%;
	--clip: polygon(0 0, 100% 0, 100% 0, 0 0);
	--transform: rotate(-90deg);
}

.menu-item:hover {
	--clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	--transform: rotate(0);
}

.menu-link {
	color: #e6e6e6;
	text-decoration: none;
	padding: 0 30px;
	display: flex;
	height: 100%;
	align-items: center;
}

.menu-link:hover {
	background-color: #5e7094;
}

.menu-arrow {
	transform: var(--transform);
	transition: transform 0.3s;
	display: block;
	margin-left: 3px;
}

.menu-nesting {
	list-style: none;
	transition: clip-path 0.3s;
	clip-path: var(--clip);
	position: absolute;
	right: 0;
	bottom: 0;
	width: max-content;
	transform: translateY(100%);
	background-color: #2f2e41;
}
.menu-link--inside {
	padding: 30px 100px 30px 20px;
}

.menu-link--inside:hover {
	padding: 30px 100px 30px 20px;
	background-color: #798499;
}

.menu-hamburger {
	height: 100;
	display: flex;
	align-items: center;
	padding: 0 15px;
	cursor: pointer;
	display: none;
}

.menu-img {
	display: block;
	width: 36px;
}

@media (max-width: 800px) {
	.menu-hamburger {
		display: flex;
	}
	.menu-item {
		--clip: 0;
		overflow: hidden;
	}
	.menu-item--active {
		--transform: rotate(0);
		--background: #798499;
	}
	.menu-item--show {
		background-color: var(--background);
	}
	.menu-links {
		position: fixed;
		max-width: 400px;
		width: 100%;
		top: 140px;
		bottom: 0;
		right: 0;
		background-color: #2f2e41;
		overflow-y: auto;
		display: grid;
		grid-auto-rows: max-content;
		transform: translateX(100%);
	}
	.menu-links--show {
		transform: unset;
		width: 100%;
	}
	.menu-link {
		padding: 25px 0;
		padding-left: 30px;
		display: flex;
		height: auto;
	}
	.menu-arrow {
		margin-left: auto;
		margin-right: 20px;
	}
	.menu-nesting {
		display: grid;
		position: unset;
		width: 100%;
		transform: translateY(0);
		height: 0;
		transition: height 0.3s;
	}
	.menu-link--inside {
		width: 90%;
		margin-left: auto;
		border-left: 1px solid #798499;
	}
}

/* ---- LANDING ----*/

.container-ld {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

.hero {
	background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
	color: #2f2e41;
	display: grid;
	grid-template-rows: max-content 1fr;
	grid-template-areas: "content";
}
.hero-main {
	grid-area: content;
	display: grid;
	gap: 2em;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hero-waves {
	height: 150px;
	overflow: hidden;
	grid-area: content;
	align-self: end;
}

.hero-img {
	width: 100%;
}

.hero-title {
	margin-top: 2.5rem;
	font-size: 3.6rem;
	letter-spacing: 2px;
	align-items: center;
}
.hero-subtitle {
	margin-top: 1rem;
	margin-bottom: 4rem;
	font-size: 2rem;
	font-weight: 450;
}
@media (max-width: 1280px) {
	.hero-title {
		font-size: 3rem;
	}
	.hero-subtitle {
		font-size: 1.5rem;
	}
}
@media (max-width: 1070px) {
	.hero-title {
		font-size: 2.7rem;
	}
	.hero-subtitle {
		font-size: 1.25rem;
	}
}
@media (max-width: 911px) {
	.hero-title {
		font-size: 2rem;
	}
}
@media (max-width: 775px) {
	.hero-subtitle {
		font-size: 1rem;
	}
}
@media (max-width: 702px) {
	.hero-img {
		width: 25%;
	}
	.hero-waves {
		height: 75px;
	}
	.hero-subtitle {
		margin-bottom: 0px;
	}
}

/* ---- SLIDER ----*/

.container {
	width: 90%;
	min-height: 40vh;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}

.slider {
	background-color: #e6e6e6;
	padding: 40px 0;
}

.slider-container {
	display: grid;
	grid-template-columns: 50px 1fr 50px;
	align-items: center;
	gap: 1em;
}

.slider-body {
	grid-column: 2/3;
	grid-row: 1/2;
	opacity: 0;
	pointer-events: none;
	display: grid;
	background-color: #e6e6e6;
	grid-template-columns: 1fr max-content;
	align-items: center;
	transition: opacity 1.5s;
}

.slider-body--show {
	opacity: 1;
	pointer-events: unset;
}

.slider-texts {
	max-width: 600px;
}

.subtitle {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.slider-review {
	font-weight: 300;
	font-size: 20px;
	line-height: 1.7;
}

.slider-img {
	width: 350px;
	height: 350px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.slider-arrow {
	cursor: pointer;
	width: 90%;
}
.slider-arrow:nth-of-type(2) {
	justify-self: end;
}

@media (max-width: 790px) {
	.slider-body {
		grid-template-columns: 1fr;
		grid-template-rows: max-content 1fr;
		gap: 1em;
	}
	.slider-picture {
		grid-row: 1/2;
	}
	.slider-img {
		margin-top: 20px;
		width: 300px;
		height: 300px;
	}
}

@media (max-width: 600px) {
	.slider-container {
		grid-template-columns: 25px 1fr 25px;
	}
	.slider-arrow {
		width: 100%;
	}
	.slider-img {
		width: 225px;
		height: 225px;
	}
	.subtitle {
		font-size: 2rem;
		margin-bottom: 15px;
	}
	.slider-review {
		font-size: 1rem;
		line-height: 1.6;
	}
}

/* ---- MODAL ----*/

.modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #111111bd;
	display: flex;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
	--transform: translateY(-100vh);
	--transition: transform 0.5s;
}

.modal--show {
	opacity: 1;
	pointer-events: unset;
	--transform: translateY(0vh);
}

.modal-container {
	margin: auto;
	width: 90%;
	max-width: 600px;
	max-height: 90%;
	background-color: #e6e6e6;
	border-radius: 6px;
	padding: 3em 2.5em;
	display: grid;
	gap: 1em;
	place-items: center;
	grid-auto-columns: 100%;
	transform: var(--transform);
	transition: var(--transition);
}

.modal-title {
	font-size: 2.5rem;
}

.modal-pragraph {
	margin-bottom: 10px;
}

.modal-img {
	width: 90%;
	max-width: 300px;
}

.modal-close {
	text-decoration: none;
	color: #e6e6e6;
	background-color: #f26250;
	padding: 1em 3em;
	border: 1px solid;
	border-radius: 6px;
	display: inline-block;
	transition: background-color 0.3s;
}
.modal-close:hover {
	color: #f26250;
	background-color: #e6e6e6;
}

/* ---- CAROUSEL ----*/

.auto-carousel {
	overflow-x: hidden;
	position: relative;
	margin-top: -2.5em;
	margin-bottom: -7.5em;
	width: 98vw;
	height: 40em;
}

.carousel-container {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	align-items: center;
}

.carousel-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 4.15em;
}

.carousel-img {
	border-radius: 12px;
}

@media screen and (max-width: 1100px) {
	.auto-carousel {
		margin-bottom: -15em;
	}
	.carousel-container {
		width: 266.5%;
	}
	.carousel-img {
		width: 150%;
	}
}

@media screen and (max-width: 900px) {
	.carousel-container {
		width: 400%;
	}
	
	.carousel-img {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.carousel-container {
		width: 750%;
	}
}


/* ---- NOSOTROS ----*/

.nosotros {
	width: 90%;
	margin: auto;
	text-align: center;
	margin-bottom: -100px;
}
.nosotros h1 {
	font-size: 36px;
	font-weight: 600;
}
.nosotros p {
	font-size: 14px;
	font-weight: 300;
	line-height: 22px;
	padding: 10px;
}
.nosotros-col {
	flex-basis: 49%;
	background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
	border-radius: 10px;
	margin-bottom: 5%;
	padding: 20px 12px;
	box-sizing: border-box;
	transition: 0.5s;
}
.row {
	margin-top: 5%;
	display: flex;
	justify-content: space-between;
}
h3 {
	text-align: center;
	font-weight: 600;
	margin: 10px 0;
}

@media (max-width: 700px) {
	.row {
		flex-direction: column;
	}
}


/* ---- REPARTO ----*/

.reparto {
	width: 90%;
	margin: auto;
	text-align: center;
	padding-top: 100px;
}
.reparto-col {
	flex-basis: 49%;
	border-radius: 10px;
	margin-bottom: 5%;
	text-align: left;
}
.reparto-col img {
	width: 100%;
	border-radius: 10px;
}
.reparto-col p {
	padding: 0;
	text-align: justify;
}
.reparto-col h3 {
	margin-top: 16px;
	margin-bottom: 15px;
	text-align: left;
}


/* ---- PIE DE PÁGINA ----*/

.footer {
	width: 100%;
	text-align: center;
	padding: 30px 0;
}
.footer h4 {
	margin-top: 20px;
	font-weight: 600;
}
.footer p {
	margin-bottom: 25px;
}
.icons .fa {
	color: #fda085;
	margin: 0 13px;
	cursor: pointer;
	padding: 18px 0,
}