/*--------------------------------------------------
	Showcase Portfolio
---------------------------------------------------*/

/* RESET + bloqueo total de scroll */
html,
body {
	margin: 0;
	/* 👈 importantísimo */
	padding: 0;
	width: 100%;
	height: 100%;
	/* overflow: hidden; */
	/* bloquea scroll */
	overscroll-beha: none;
	/* evita "rebote" */
}

/* En iOS a veces hace falta esto para que no “arrastre” */
body {
	position: fixed;
	inset: 0;
}

/* =============
Swipper slider 
==============*/
body,
div {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

/* ============ Full Page Slider ================= */
.creative-showcase--slider .swiper-slide {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 100vh;
	padding: 80px 0;
}

.creative-showcase--slider .swiper-slide .slide-bg {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.creative-showcase--slider .swiper-slide .overlay-dark:before {
	opacity: .3;
	background: #1d1d1d;
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
}

.creative-showcase--slider .swiper-slide .video-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.creative-showcase--slider .swiper-slide .video-container video {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: center center;
	object-position: center center;
}

.swiper-slide .slide-bg .slide-container {
	max-width: 1320px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 7;
	padding-left: 15px;
	padding-right: 15px;
}

.slide-bg .slide-container .slide-row {
	display: flex;
	flex-wrap: wrap;
}

.slide-container .slide-row .slider-content {
	flex: 0 0 auto;
	width: 91.66666667%;
	margin-left: 8.33333333%;
	padding-left: 15px;
	padding-right: 15px;
}

.slider-content .slide-subtitle {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: 30px;
	margin-top: 0px;
}

.slider-content .slide-heading {
	font-size: 100px;
	color: #fff;
	margin: 0px;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: .2rem;
}

.slider-content .slide-heading a {
	text-decoration: none;
	color: #fff;
	outline: none;
}

.slider-content .slide-heading a span {
	display: inline-block;
}

.overlay-light .slider-content .slide-heading a {
	color: #000;
}

.overlay-light .slider-content .slide-subtitle {
	color: #000;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-prev,
.creative-showcase--slider .creative-button--wrapper .swiper-button-next {
	position: absolute;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	top: auto;
	color: #fff;
	z-index: 9;
	cursor: pointer;
	width: auto;
	bottom: 30px;
	font-weight: 300;
	font-size: 16px;
	letter-spacing: 0.5px;
	line-height: normal;
}

/* ===== POSICIÓN ===== */
.creative-showcase--slider .creative-button--wrapper .swiper-button-next {
	right: 120px;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-prev {
	left: 120px;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-next:after,
.creative-showcase--slider .creative-button--wrapper .swiper-button-prev:after {
	display: none;
}

/* ===== ICONOS ===== */
.creative-showcase--slider .creative-button--wrapper .swiper-button-prev i,
.creative-showcase--slider .creative-button--wrapper .swiper-button-next i {
	display: inline-block;
	color: rgba(255, 255, 255, .85);
	opacity: .85;
	transition:
		transform .45s cubic-bezier(.2, .9, .2, 1),
		color .35s ease,
		opacity .35s ease;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-prev i {
	margin-right: 25px;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-next i {
	margin-left: 25px;
}

/* ===== HOVER ===== */
.creative-showcase--slider .creative-button--wrapper .swiper-button-prev:hover i {
	transform: translateX(-6px);
	color: #F3BC44;
	opacity: 1;
}

.creative-showcase--slider .creative-button--wrapper .swiper-button-next:hover i {
	transform: translateX(6px);
	color: #F3BC44;
	opacity: 1;
}

.creative-showcase--slider .banner-horizental .swiper-pagination {
	bottom: 40px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	width: auto;
}

.creative-showcase--slider .banner-horizental .swiper-pagination-bullet {
	background: transparent;
	margin: 0 10px !important;
}

.creative-showcase--slider .banner-horizental .path {
	display: none;
}

.creative-showcase--slider .banner-horizental .swiper-pagination-bullet-active .path {
	display: inline-block !important;
	stroke-dasharray: 1000;
	stroke-dashoffset: 0;
	-webkit-animation: dash linear 10s;
	animation: dash linear 10s;
	-webkit-animation-iteration-count: unset;
	animation-iteration-count: unset;
}

@keyframes dash {
	0% {
		stroke-dashoffset: 1000;
	}

	100% {
		stroke-dashoffset: 0;
	}
}

/* ====================== Responsive Ipad =============================== */
@media (max-width: 991px) {
	.slide-container .slide-row .slider-content {
		flex: 0 0 auto;
		width: 100%;
		margin-left: 0px;
	}

	.slider-content .slide-heading {
		font-size: 72px;
	}

	.creative-showcase--slider .banner-horizental .swiper-pagination {
		display: none;
	}

	.creative-showcase--slider .creative-button--wrapper .swiper-button-prev {
		left: 15px;
	}

	.creative-showcase--slider .creative-button--wrapper .swiper-button-next {
		right: 15px;
	}

}

/* ====================== Responsive Iphone =============================== */
@media screen and (max-width: 767px) {
	.slide-container .slide-row .slider-content {
		padding-left: 0px;
		padding-right: 0px;
	}

	.slider-content .slide-heading {
		font-size: 40px;
	}

	.slider-content .slide-subtitle {
		margin-bottom: 15px;
	}
}

/* ======= //Swipper slider ========= */



/* Texto titulo portada */
.stack_marquee_text {
	position: absolute;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	pointer-events: none;
	z-index: 9999;
}

.item_stack_text {
	position: relative;
	/* margin-bottom: 15%; */
	/* margin-right: 30%; */
	overflow: hidden;
}

.stack_text {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.767);
	font-size: 120px;
	line-height: 150px;
	font-weight: 800;
	transform: translateY(150%);
	/*text-transform: uppercase;*/
}


/* Texto Subtitulo portada */
.subtitle_item {
	position: relative;
	width: 100%;
	/* margin-bottom: -10%; */
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: flex-end;

}

.subtitle_wrapper {
	position: relative;
	width: auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	transform: translateY(-150%);
}

.subtitle_text {
	font-size: 40px;
	line-height: 50px;
	font-weight: 400;
	font-family: "PPEditorial_New", sans-serif;
	font-style: italic;
	color: #ffffff;
}


.container {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: 100vh;
}

/* Contenedor principal */


/* --- */

.wrap_curtain {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	overflow: hidden;
}

/* cortinas */
.curtain {
	position: absolute;
	left: 0;
	right: 0;
	height: 50%;
	background: #000;
}

.curtain.top {
	top: 0;
}

.curtain.bottom {
	bottom: 0;
}

/* ================================
   INDEX LINKS
================================ */

/* Grupo */
.index_links {
	position: relative;
	width: 100%;
	margin-top: 4%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	pointer-events: none;
}

/* Cajas */
.box_link {
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Separador */
.index_links_sep {
	pointer-events: none;
	font-size: 24px;
	font-weight: 300;
	color: #fff;
	opacity: 0.9;
	transform: translateY(-2px);
}

/* Link */
.index_link {
	pointer-events: all;
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 10px;
	font-size: 22px;
	font-weight: 700;
	opacity: 1;
	transition: opacity 0.3s ease;
}

/* .index_link_text {
	margin-left: 10px;
} */

/* Anchos controlados */
.box_buttom_1 {
	width: 210px;
}

.box_buttom_2 {
	width: 270px;
}

/* Texto */
.index_link_text {
	line-height: 1;
	display: inline-block;
	white-space: nowrap;
}

.index_link_text {
	margin-left: calc(10px / 2);
	/* o 0.5em si te va mejor */
}

/* ===== Línea animada PRO ===== */
.index_link::after {
	content: "";
	margin-top: 6px;
	height: 2px;
	width: 100%;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

/* Hover: entra de izquierda */
.index_link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Sale hacia la derecha */
.index_link:not(:hover)::after {
	transform-origin: right;
}

/* Atenúa el que no está activo */
.index_links:hover .index_link {
	opacity: 0.55;
}

.index_links:hover .index_link:hover {
	opacity: 1;
}

/* =========================================
   RESPONSIVE (basado en tu configuración actual)
========================================= */

/* --- <= 1200px (portátil / tablet grande) --- */
@media (max-width: 1200px) {

	.stack_text {
		font-size: 88px;
		line-height: 1.8;
	}

	.subtitle_text {
		font-size: 30px;
		line-height: 1.25;
	}

	.index_links {
		margin-top: 28px;
		/* más estable que % */
		gap: 34px;
	}

	.index_link {
		font-size: 28px;
		letter-spacing: 0.11em;
	}

	.index_links_sep {
		font-size: 22px;
		transform: translateY(-1px);
	}

	/* Anchos sincronizados */
	.box_buttom_1 {
		width: 210px;
	}

	.box_buttom_2 {
		width: 270px;
	}

	.index_link_line_a {
		width: 170px;
	}

	.index_link_line_b {
		width: 220px;
	}
}


/* --- <= 768px (tablet) --- */
@media (max-width: 768px) {

	.stack_text {
		font-size: 64px;
		line-height: 1.03;
		text-align: center;
	}

	.subtitle_item {
		justify-content: center;
	}

	.subtitle_wrapper {
		justify-content: center;
	}

	.subtitle_text {
		font-size: 22px;
		line-height: 1.25;
		text-align: center;
	}

	.index_links {
		margin-top: 22px;
		gap: 22px;
	}

	.index_link {
		font-size: 20px;
		letter-spacing: 0.10em;
	}

	.index_links_sep {
		font-size: 18px;
		opacity: 0.7;
		transform: translateY(-1px);
	}

	/* Anchos sincronizados */
	.box_buttom_1 {
		width: 170px;
	}

	.box_buttom_2 {
		width: 210px;
	}

	.index_link_line_a {
		width: 170px;
	}

	.index_link_line_b {
		width: 210px;
	}
}


/* --- <= 420px (móvil) --- */
@media (max-width: 420px) {

	.stack_marquee_text {
		padding: 0 18px;
	}

	.stack_text {
		font-size: 40px;
		line-height: 1.5;
		text-align: center;
	}

	.subtitle_item {
		justify-content: center;
	}

	.subtitle_text {
		font-size: 18px;
		line-height: 1.25;
		text-align: center;
	}

	/* Links en columna */
	.index_links {
		margin-top: 25px;
		flex-direction: row;
		gap: 12px;
	}

	.index_links_sep {
		font-size: 16px;
		font-weight: 600;
		/* opacity: 0.5; */
		transform: none;
	}

	.index_link {
		font-size: 16px;
		font-weight: 600;
		letter-spacing: 0.11em;
	}

	/* Anchos sincronizados */
	.box_buttom_1 {
		width: 120px;
	}

	.box_buttom_2 {
		width: 130px;
	}

	.index_link_line_a {
		width: 120px;
	}

	.index_link_line_b {
		width: 130px;
	}
}

/* =========================
REDES SOCIALES
========================== */

.social_media {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	/* centro horizontal */
	align-items: center;
	gap: 18px;
	margin-top: 20px;
	/* empuja hacia abajo si el footer es flex */
	padding: 10px 0;
}

/* Tamaño y color por defecto de los iconos */
.social_media a {
	text-decoration: none;
	pointer-events: all;
}

.social_media a i {
	font-size: 22px;
	color: #fcfcfc;
	transition: color 0.3s ease-in-out;
}

.social_media a:hover i.fa-facebook-f {
	color: #1877f2;
}

.social_media a:hover i.fa-instagram {
	color: #ff0069;
}

.social_media a:hover i.fa-500px {
	color: #0099e5;
}

.social_media a:hover i.fa-youtube {
	color: red;
}


/* Media Query */
@media (max-width: 1200px) {
	.social_media_footer {
		bottom: 11px;
		right: 20px;
		gap: 1rem;
	}

	.social_media_footer a i {
		font-size: 18px;
	}
}


@media (max-width: 420px) {
	.social_media_footer {
		bottom: 11px;
		right: 10px;
		gap: 1rem;
	}

	.social_media_footer a i {
		font-size: 16px;
	}
}