/**
 * Credelio Tab — Cómo actúa.
 */

.credelio-tab-actua {
	width: 100%;
	max-width: min(100%, 1920px);
	margin: 0 auto;
	padding: clamp(40px, 5vw, 72px) clamp(16px, 2.8vw, 40px);
	box-sizing: border-box;
	background: #e7f5ee;
}

.credelio-tab-actua__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.credelio-tab-actua__title {
	margin: 0 0 clamp(28px, 3vw, 40px);
	color: #005032;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.credelio-tab-actua__steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(12px, 2vw, 28px);
	margin: 0;
	padding: 0;
}

.credelio-tab-actua__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.credelio-tab-actua__icon,
.elementor .credelio-tab-actua__icon {
	display: block;
	width: clamp(88px, 10vw, 112px);
	height: auto;
	object-fit: contain;
}

.credelio-tab-actua__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #005032;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.credelio-tab-actua__desc {
	margin: 0;
	max-width: 16em;
	color: #005032;
	font-size: clamp(13px, 1.05vw, 15px);
	font-weight: 500;
	line-height: 1.35;
}

.credelio-tab-actua__arrow {
	display: none;
}

@media (min-width: 901px) {
	.credelio-tab-actua__arrow {
		display: block;
		position: absolute;
		top: 48px;
		right: -14%;
		width: 28%;
		height: 2px;
		background: #005032;
	}

	.credelio-tab-actua__arrow::after {
		content: "";
		position: absolute;
		right: -2px;
		top: 50%;
		width: 8px;
		height: 8px;
		border-top: 2px solid #005032;
		border-right: 2px solid #005032;
		transform: translateY(-50%) rotate(45deg);
	}
}

@media (max-width: 900px) {
	.credelio-tab-actua__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 16px;
	}
}

@media (max-width: 560px) {
	.credelio-tab-actua {
		padding-left: 12px;
		padding-right: 12px;
	}

	.credelio-tab-actua__steps {
		grid-template-columns: 1fr;
	}
}
