/* Funlab How We Work */

.fhw-root {
	position: relative;
	width: 100%;
	min-height: 900px;
	background-color: #1E1E1C;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-sizing: border-box;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
}

.fhw-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.fhw-inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	padding: 60px 6% 120px 6%;
}

.fhw-title {
	margin: 0 0 130px 0;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 130px;
	line-height: 1.1;
	color: #E8E8E8;
}

.fhw-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 70px;
	align-items: start;
}

.fhw-col {
	--fhw-gap: 95px;
	--fhw-line: rgba(232, 232, 232, 0.9);
	--fhw-marker: #E8E8E8;
	--fhw-tick-y: 17px;
	--fhw-indent: 76px;
	display: flex;
	flex-direction: column;
	gap: var(--fhw-gap);
	min-width: 0;
}

.fhw-item {
	position: relative;
	padding-left: var(--fhw-indent);
	min-width: 0;
}

/* línea horizontal + cuadrito al inicio de cada paso */
.fhw-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: var(--fhw-tick-y);
	width: calc(var(--fhw-indent) - 22px);
	height: 1px;
	background: var(--fhw-line);
}

.fhw-item::after {
	content: "";
	position: absolute;
	left: calc(var(--fhw-indent) - 36px);
	top: calc(var(--fhw-tick-y) - 6px);
	width: 13px;
	height: 13px;
	background: var(--fhw-marker);
}

/* línea vertical que une un paso con el siguiente */
.fhw-item:not(:last-child) .fhw-item-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: var(--fhw-tick-y);
	width: 1px;
	height: calc(100% + var(--fhw-gap));
	background: var(--fhw-line);
}

.fhw-item-title {
	margin: 0 0 6px 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.4;
	color: #E8E8E8;
}

.fhw-item-text {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 22px;
	line-height: 2.05;
	color: #E8E8E8;
}

/* Animación de entrada al hacer scroll (clase agregada por JS) */
.fhw-animated {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.fhw-animated.fhw-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Dentro del editor de Elementor siempre se ve el contenido a full,
   la animación de entrada solo corre en el sitio publicado (front). */
.elementor-editor-active .fhw-animated {
	opacity: 1 !important;
	transform: none !important;
}

@media (max-width: 1199px) {
	.fhw-title { font-size: 90px; margin-bottom: 80px; }
	.fhw-item-title { font-size: 20px; }
	.fhw-item-text { font-size: 18px; }
}

@media (max-width: 767px) {
	.fhw-columns {
		grid-template-columns: 1fr;
		row-gap: 60px;
	}
	.fhw-title { font-size: 52px; margin-bottom: 50px; }
	.fhw-inner { padding-top: 40px; padding-bottom: 60px; }
	.fhw-col { --fhw-indent: 52px; --fhw-gap: 50px; }
	.fhw-item-title { font-size: 17px; }
	.fhw-item-text { font-size: 15px; line-height: 1.8; }
}
