@font-face {
	font-family: 'icomoon';
	src: url('../fonts/meteocons/icomoon.eot?26rom9');
	src: url('../fonts/meteocons/icomoon.eot?26rom9#iefix') format('embedded-opentype'), url('../fonts/meteocons/icomoon.ttf?26rom9') format('truetype'), url('../fonts/meteocons/icomoon.woff?26rom9') format('woff'), url('../fonts/meteocons/icomoon.svg?26rom9#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: url(/assets/common/img/home/img-hero.jpg) no-repeat center top;
	background-size: cover;
	overflow: hidden;
	z-index: -1;
}

main {
	position: absolute;
	z-index: 2;
	width: 100%;
	height: 100vh;
	display: flex;
}

h1 {
	text-align: center;
	font-family: 'Libertinus Mono';
	font-size: 4em;
	color: #000000;
	font-weight: 900;
	padding: 0;
}

a {
	color: #000;
	z-index: 10;
}


/* Content */

.slide__element {
	opacity: 0;
	color: #252445;
	-webkit-transform: translate3d(0, 50px, 0);
	transform: translate3d(0, 50px, 0);
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.slide--current .slide__element {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slide__element--temp {
	font-size: 8em;
	font-weight: 700;
	margin: 0 0 0.1em;
}

.slide__element--temp small {
	font-size: 0.25em;
}

.slide__element--info {
	font-size: 2em;
}

.slide__element--date {
	font-size: 1em;
	font-weight: 700;
	margin: 0 0 1em;
}

@media screen and (max-height: 39em) {
	.slideshow {
		font-size: 75%;
	}

	.slide {
		padding-top: 35vh;
	}

	.slideshow__nav {
		bottom: 6em;
	}
}

.spinner {
	width: 50px;
	height: 50px;
	border: 5px solid rgba(255, 255, 255, 0.2);
	/* Color del círculo base */
	border-top-color: #ffffff;
	/* Color de la parte que gira */
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}


/*Home content*/

:root {
	--bg-color: #e6e6e6;
	--text-color: #472c2c;
	--heading-color: #2e1e1e;
	--accent-color: #ed5252;
	--card-bg: #ffffff;
	--card-shadow: 0 8px 25px rgba(44, 58, 71, 0.1);
	--card-hover-shadow: 0 12px 35px rgba(121, 121, 121, 0.445);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
}

.content-after-scroll {
	background: var(--bg-color);
	color: #1a1a1a;
	min-height: 100vh;
}

/* --- Contenedor Principal de la Sección --- */
.features-section {
	background-color: #f1f1f1;
	width: 100%;
	min-height: 120vh;
	margin: auto 0;
	padding: 5rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* --- Encabezado de la Sección --- */
.section-header {
	text-align: center;
	margin-bottom: 4rem;
	max-width: 800px;
}

.section-header h1 {
	font-size: 2.8rem;
	font-weight: 700;
	color: var(--heading-color);
	margin-bottom: 1rem;
}

.section-header p {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--text-color);
}

/* --- Grid de Características --- */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	width: 100%;
	max-width: 1200px;
}

/* --- Tarjetas de Características Individuales --- */
.feature-card {
	background: var(--card-bg);
	border-radius: 15px;
	padding: 2rem;
	box-shadow: var(--card-shadow);
	border: 1px solid #eef2f5;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--card-hover-shadow);
}

.feature-card .icon {
	font-size: 3.5rem;
	color: var(--accent-color);
	margin-bottom: 1.5rem;
	line-height: 1;
}

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--heading-color);
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.95rem;
	line-height: 1.6;
}

/* --- Animaciones de Entrada --- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Retraso escalonado para las tarjetas */
.features-grid .reveal:nth-child(1) {
	transition-delay: 0.1s;
}

.features-grid .reveal:nth-child(2) {
	transition-delay: 0.2s;
}

.features-grid .reveal:nth-child(3) {
	transition-delay: 0.3s;
}

.features-grid .reveal:nth-child(4) {
	transition-delay: 0.4s;
}

.features-grid .reveal:nth-child(5) {
	transition-delay: 0.5s;
}

/* --- Responsividad --- */
@media (max-width: 768px) {
	.features-section {
		padding: 4rem 1.5rem;
	}

	.section-header h1 {
		font-size: 2.2rem;
	}
}

/*Second part*/
:root {
	--dark-bg: #0a0f1e;
	--primary-glow: #ff9900;
	--secondary-glow: #00d1ff;
	--text-light: #ffffff;
	--text-medium: #a9b3d1;
	--border-color: rgba(0, 209, 255, 0.15);
}

.join-section-body {
	font-family: 'Poppins', sans-serif;
	background-color: var(--dark-bg);
	color: var(--text-light);
	padding: 6rem 2rem;
	position: relative;
	overflow: hidden;
	min-height: 120vh;
	display: flex;
	margin: auto 0;
}

/* Canvas para la animación de partículas */
#particle-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.5;
}

/* Contenedor principal del layout */
.split-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4rem;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	/* Para que el contenido esté sobre el canvas */
	z-index: 1;
}

/* --- Columna Izquierda (Texto Principal) --- */
.text-column {
	flex-basis: 55%;
	flex-grow: 1;
}

.text-column h2 {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	background: linear-gradient(90deg, #22dcff 0%, #7067db 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.text-column .subtitle {
	font-size: 1.1rem;
	color: var(--text-medium);
	margin-bottom: 2rem;
	line-height: 1.7;
}

.text-column .final-pitch {
	font-size: 1rem;
	color: var(--text-light);
	background: rgba(255, 255, 255, 0.03);
	border-left: 3px solid var(--primary-glow);
	padding: 1.5rem;
	border-radius: 0 8px 8px 0;
	margin-bottom: 2.5rem;
}

/* --- Columna Derecha (Lista de Beneficios) --- */
.benefits-column {
	flex-basis: 45%;
	flex-grow: 1;
}

.benefits-list {
	list-style: none;
}

.benefits-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
	padding: 1rem;
	border-radius: 10px;
	transition: background 0.3s ease;
}

.benefits-list li:hover {
	background: rgba(255, 255, 255, 0.05);
}

.benefits-list i {
	font-size: 1.8rem;
	color: var(--secondary-glow);
	margin-right: 1.5rem;
	margin-top: 5px;
}

.benefits-list h4 {
	font-size: 1.1rem;
	color: var(--text-light);
	margin-bottom: 0.25rem;
}

.benefits-list p {
	font-size: 0.9rem;
	color: var(--text-medium);
	line-height: 1.5;
}

/* --- Botón CTA --- */
.cta-button {
	font-family: 'Poppins', sans-serif;
	background: linear-gradient(90deg, #2c9fff 0%, #2c0a7e 100%);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 0 25px rgba(159, 90, 253, 0.4), 0 0 25px rgba(0, 210, 223, 0.4);
}

.cta-button:hover {
	transform: scale(1.05);
	box-shadow: 0 0 35px rgba(159, 90, 253, 0.7), 0 0 35px rgba(0, 210, 223, 0.7);
	color: #fff;
}

/* --- Animaciones y Responsividad --- */
.reveal-left {
	opacity: 0;
	transform: translateX(-40px);
	transition: 1s all ease-out;
}

.reveal-right {
	opacity: 0;
	transform: translateX(40px);
	transition: 1s all ease-out;
}

.reveal-right li {
	opacity: 0;
	transform: translateX(20px);
	transition: 0.5s all ease-out;
}

.visible {
	opacity: 1;
	transform: translateX(0);
}

.visible li {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right.visible li:nth-child(1) {
	transition-delay: 0.2s;
}

.reveal-right.visible li:nth-child(2) {
	transition-delay: 0.4s;
}

.reveal-right.visible li:nth-child(3) {
	transition-delay: 0.6s;
}

.reveal-right.visible li:nth-child(4) {
	transition-delay: 0.8s;
}

.reveal-right.visible li:nth-child(5) {
	transition-delay: 1.0s;
}


@media (max-width: 900px) {
	.split-container {
		flex-direction: column;
		gap: 3rem;
	}

	.text-column h2 {
		font-size: 2.5rem;
	}
	.cta-button {
	    text-align: center;
        width: 100%;
        display: block;
	}
}
