/* Developer Timeline - Horizontal - Avada/Montserrat Style */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Remove Avada column/row padding around timeline */
.fusion-layout-column:has(.dvt-section) > .fusion-column-wrapper,
.fusion-layout-column:has(.dvt-section) > .fusion-column-wrapper > .fusion-column-content-centered,
.fusion-layout-column:has(.dvt-section) {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.fusion-fullwidth:has(.dvt-section) > .fusion-row {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

/* ===================== SECTION ===================== */

.dvt-section {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	color: #1f2937;
	max-width: 1170px;
	margin: 0 auto;
	padding: 60px 0;
}

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

/* ===================== ETAPA HEADER ===================== */

.dvt-etapa {
	margin-bottom: 56px;
}

.dvt-etapa:last-child {
	margin-bottom: 0;
}

.dvt-etapa-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 32px;
}

.dvt-etapa-badge {
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0px;
	text-transform: none;
	color: #1f2937;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

.dvt-etapa-divider {
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, #e5e7eb, transparent);
}

.dvt-etapa-count {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #65a30d;
	white-space: nowrap;
	background: rgba(101, 163, 13, 0.08);
	padding: 6px 16px;
	border-radius: 0;
}

/* ===================== HORIZONTAL TIMELINE ===================== */

.dvt-scroll-wrap {
	overflow-x: auto;
	overflow-y: visible;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}

.dvt-scroll-wrap::-webkit-scrollbar {
	height: 4px;
}

.dvt-scroll-wrap::-webkit-scrollbar-track {
	background: #f3f4f6;
}

.dvt-scroll-wrap::-webkit-scrollbar-thumb {
	background: #d1d5db;
}

.dvt-timeline {
	display: flex;
	position: relative;
	min-width: max-content;
	padding-top: 14px;
	gap: 0;
}

/* Horizontal line */
.dvt-line {
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	height: 2px;
	background: #e5e7eb;
	z-index: 0;
}

/* ===================== TIMELINE ITEM ===================== */

.dvt-item {
	position: relative;
	flex: 1 0 0;
	min-width: 180px;
	max-width: 260px;
	padding: 0 12px;
}

/* Marker */
.dvt-marker {
	position: relative;
	z-index: 2;
	width: 14px;
	height: 14px;
	border: 2px solid #65a30d;
	background: #ffffff;
	border-radius: 50%;
	margin-bottom: 16px;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Completed state */
.dvt-item.dvt-completed .dvt-marker {
	background: #65a30d;
	box-shadow: 0 0 0 4px rgba(101, 163, 13, 0.15);
}

.dvt-item.dvt-completed .dvt-content {
	border-left-color: #65a30d;
	background: rgba(101, 163, 13, 0.06);
}

.dvt-item.dvt-completed .dvt-quarter {
	color: #65a30d;
}

.dvt-item.dvt-completed .dvt-tasks li {
	color: #1f2937;
}

/* Quarter label */
.dvt-quarter {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #65a30d;
	margin-bottom: 8px;
}

/* Content box */
.dvt-content {
	background: #f3f4f6;
	border-radius: 0;
	padding: 16px 18px;
	border-left: 3px solid #e5e7eb;
}

/* Task list */
.dvt-tasks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dvt-tasks li {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: #1f2937;
	position: relative;
	padding-left: 0;
}

.dvt-tasks li::before {
	display: none;
}

.dvt-task-highlight {
	font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
	.dvt-section {
		padding: 40px 0;
	}

	.dvt-etapa {
		margin-bottom: 40px;
	}

	.dvt-etapa-badge {
		font-size: 20px;
		line-height: 1.2;
	}

	.dvt-item {
		min-width: 160px;
	}
}

@media (max-width: 480px) {
	.dvt-etapa-header {
		flex-wrap: wrap;
	}

	.dvt-etapa-divider {
		display: none;
	}

	.dvt-item {
		min-width: 150px;
	}

	.dvt-content {
		padding: 12px 14px;
	}

	.dvt-tasks li {
		font-size: 13px;
	}
}
