/* ==========================================================================
   HOME SLIDER - Slider hero de la pagina principal
   Incluye: #slider, #caption, #scrollDown y todos sus hijos
   ========================================================================== */

/* ----------------------------------------------------------------------------
   Estilos base
   ---------------------------------------------------------------------------- */

#slider {
	float: left;
	width: 100%;
	overflow: hidden;
	position: relative;
	z-index: 2;
}
#slider > .container {
	max-width: calc(100% - 64px - 64px);
	height: 100%;
	padding: 0;
	position: absolute;
	right: 0;
	left: 0;
}
#slider,
#slider .home-slider-video,
#slider .home-slider {
	position: relative;
	width: 100%;
	height: 100dvh;
}
#slider .home-slider-video::before,
#slider .home-slider::before {
	pointer-events: none;
	content: "";
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 32%);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.32) 100%);
	position: absolute;
	top: 0;
	z-index: 2;
}
#slider .home-slider-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}
#slider .home-slider .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#slider .home-slider .swiper-slide picture,
#slider .home-slider .swiper-slide picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#slider .home-slider .swiper-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	position: absolute;
	top: 0;
	left: 0;
}
#slider .home-slider .swiperNav {
	display: flex;
	justify-content: space-between;
	gap: 0px;
	width: 100%;
	height: 100%;
	margin-top: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
#slider .home-slider .swiperNav [class*=swiper-button-] {
	width: 50%;
	height: 100%;
	background: none;
	border-radius: 0%;
}
#slider .home-slider .swiperNav .swiper-button-prev {
	cursor: url("../../images/swiper-prev-hero.svg") 28 28, auto;
}
#slider .home-slider .swiperNav .swiper-button-next {
	cursor: url("../../images/swiper-next-hero.svg") 28 28, auto;
	forced-color-adjust: none;
}
#slider .home-slider .swiperCountDots {
	pointer-events: none;
	justify-content: flex-end;
	margin-top: 0;
	color: #FFFFFF;
	position: absolute;
	bottom: 24px;
	inset-inline: 64px;
}
#slider .home-slider .swiperCountDots [class*=swiper-button-] {
	display: none;
}
#slider .home-slider .swiperCountDots [class*=swiper-button-] span {
	border-color: #ffffff;
}
#slider .home-slider .swiperCountDots [class*=swiper-button-] span img {
	filter: brightness(0) invert(1);
}
#slider .home-slider .swiperCountDots [class*=swiper-button-]:hover span {
	background: #ffffff;
}
#slider .home-slider .swiperCountDots [class*=swiper-button-]:hover span img {
	filter: none;
}
#slider .home-slider .swiperCountDots .countline {
	display: inline-block;
	width: 64px;
	height: 1px;
	background: #ffffff;
	border-radius: 0px;
}
#slider .home-slider .swiperCountDots .swiper-pagination .swiper-pagination-bullet {
	background: #ffffff;
}
#slider .home-slider .swiperCountDots .swiper-pagination .swiper-pagination-bullet:hover,
#slider .home-slider .swiperCountDots .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #ffffff;
}

#caption {
	width: 100%;
	max-width: 870px;
	margin: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	left: 0;
	z-index: 2;
	overflow: hidden;
}
#caption .boxOverflow {
	margin: 0 0 24px 0;
	overflow: hidden;
}
#caption .boxOverflow:last-child {
	margin-bottom: 0;
}
#caption .subtitle.anim,
#caption .title.anim,
#caption .text.anim {
	animation: fadeInUp 0.5s both;
	animation-delay: 0.5s;
}
#caption .subtitle {
	display: block;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-size: 1.25rem;
	color: #ffffff;
	font-weight: 400;
	line-height: 1.875rem;
	text-align: center;
}
#caption .title {
	display: block;
	margin: 0;
	font-family: "Playfair Display";
	font-size: 5.625rem;
	color: #ffffff;
	font-weight: 400;
	line-height: 6.75rem;
	text-transform: uppercase;
	text-align: center;
}
#caption .title br {
	display: block;
}
#caption .text {
	display: block;
	margin: 0;
	font-size: 1.0625rem;
	color: #ffffff;
	font-weight: 400;
	line-height: 1.625rem;
	text-align: center;
}
#caption .text p {
	margin: 0;
}
#scrollDown {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
#scrollDown a {
	font-size: 0.75rem;
	color: #FFFFFF;
	font-weight: 400;
	line-height: 1.125rem;
}
#scrollDown .line {
	background-color: rgba(255, 255, 255, 0.24);
	height: 64px;
	overflow: hidden;
	position: relative;
	width: 2px;
}
#scrollDown .line .line-inner {
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	left: 0;
	position: absolute;
	top: 0;
	animation: linearMove 2s cubic-bezier(.65, 0, .35, 1) infinite;
}

/* ----------------------------------------------------------------------------
   Desktop (1366px - 1500px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 1366px) and (max-width: 1500px) {

#slider .home-slider .swiperCountDots 				{ inset-inline: 32px; }

#caption .title 									{ font-size: 5rem; line-height: 6.125rem; }

}

/* ----------------------------------------------------------------------------
   Desktop (961px - 1365px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 961px) and (max-width: 1365px) {

#slider .home-slider .swiperCountDots 				{ inset-inline: 32px; }

#caption .title 									{ font-size: 4.375rem; line-height: 5rem; }

}

/* ----------------------------------------------------------------------------
   Tablet (768px - 960px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 960px) {

#slider, #slider .home-slider-video, #slider .home-slider { width: 100%; height: 100dvh; }
#slider > .container 								{ max-width: calc(100% - 15px - 15px); }
#slider .home-slider .swiperNav 					{ display: none; }
#slider .home-slider .swiperCountDots 				{ pointer-events: inherit; bottom: 15px; inset-inline: 15px; }
#slider .home-slider .swiperCountDots [class*=swiper-button-] { display: flex; }

#caption .boxOverflow 								{ margin: 0 0 15px 0; }
#caption .subtitle 									{ font-size: 1.125rem; line-height: 1.75rem; }
#caption .title 									{ font-size: 3.125rem; line-height: 3.75rem; }
#caption .title br 									{ display: block; }
#caption .text 										{ font-size: 1rem; line-height: 1.5rem; }

}

/* ----------------------------------------------------------------------------
   Mobile (max-width: 767px)
   ---------------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {

#slider, #slider .home-slider-video, #slider .home-slider { width: 100%; height: 100dvh; }
#slider > .container 								{ max-width: calc(100% - 15px - 15px); }
#slider .home-slider .swiperNav 					{ display: none; }
#slider .home-slider .swiperCountDots 				{ pointer-events: inherit; justify-content: center; bottom: 15px; inset-inline: 15px; }
#slider .home-slider .swiperCountDots [class*=swiper-button-] { display: flex; width: 34px; height: 34px; }
#slider .home-slider .swiperCountDots [class*=swiper-button-] img { width: 34px; }

#caption .boxOverflow 								{ margin: 0 0 15px 0; }
#caption .subtitle 									{ font-size: 1.0625rem; line-height: 1.625rem; }
#caption .title 									{ font-size: 2.5rem; line-height: 3.125rem; }
#caption .title br 									{ display: none; }
#caption .text 										{ font-size: 1rem; line-height: 1.5rem; }
#scrollDown 										{ display: none; }

}
