/* FullPage Scroll for Elementor — estilos del motor */

html.fpe-active,
html.fpe-active body {
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
}

.fpe-wrapper {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.fpe-wrapper.fpe-disabled {
	height: auto !important;
	overflow: visible !important;
}

.fpe-track {
	width: 100%;
	will-change: transform;
	transition: transform 700ms ease;
}

.fpe-wrapper.fpe-disabled .fpe-track {
	transition: none !important;
	transform: none !important;
}

.fpe-page {
	width: 100%;
	min-height: 100vh;
	box-sizing: border-box;
	overflow: hidden;
}

.fpe-wrapper.fpe-disabled .fpe-page {
	overflow: visible;
	height: auto !important;
	min-height: 100vh;
}

.fpe-page.fpe-scrollable {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* --- Modo horizontal --- */
.fpe-wrapper.fpe-horizontal .fpe-track {
	display: flex;
	flex-direction: row;
	height: 100%;
}

.fpe-wrapper.fpe-horizontal .fpe-page {
	flex: 0 0 100vw;
	width: 100vw;
	height: 100%;
	min-height: 0;
}

.fpe-wrapper.fpe-horizontal.fpe-disabled .fpe-track {
	display: block;
}

.fpe-wrapper.fpe-horizontal.fpe-disabled .fpe-page {
	width: 100% !important;
	flex: none !important;
}

/* En modo horizontal la navegación por puntos se coloca abajo, en fila */
.fpe-nav.fpe-nav-horizontal {
	top: auto;
	bottom: 22px;
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	flex-direction: row;
}

/* --- Navegación por puntos --- */
.fpe-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fpe-nav.fpe-nav-right { right: 22px; }
.fpe-nav.fpe-nav-left { left: 22px; }

.fpe-nav li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.fpe-nav-left li {
	flex-direction: row-reverse;
}

.fpe-nav button {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--fpe-nav-color, #9C9B9B);
	background: transparent;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
	transition: background-color 200ms ease, border-color 200ms ease, border-width 200ms ease, transform 200ms ease;
}

.fpe-nav button:hover {
	transform: scale(1.2);
}

.fpe-nav li.fpe-active button {
	background-color: var(--fpe-nav-active-color, var(--fpe-nav-color, #982F36));
	border-color: var(--fpe-nav-active-color, var(--fpe-nav-color, #982F36));
}

/* --- Marcador tipo icono, en vez de punto --- */
.fpe-nav button.fpe-marker-icon {
	width: auto;
	height: auto;
	border: none;
	background: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fpe-nav-color, #9C9B9B);
}

.fpe-nav li.fpe-active button.fpe-marker-icon {
	background: none;
	border: none;
	color: var(--fpe-nav-active-color, var(--fpe-nav-color, #982F36));
}

.fpe-nav button.fpe-marker-icon svg,
.fpe-nav button.fpe-marker-icon i {
	width: 1em;
	height: 1em;
	line-height: 1;
	display: block;
	fill: currentColor;
}

.fpe-nav-label {
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--fpe-nav-color, #9C9B9B);
	transition: color 200ms ease, font-weight 200ms ease;
	white-space: nowrap;
}

.fpe-nav li.fpe-active .fpe-nav-label {
	color: var(--fpe-nav-active-color, var(--fpe-nav-color, #982F36));
	font-weight: 600;
}

.fpe-nav .fpe-tooltip {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	font-size: 13px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	padding: 3px 8px;
	border-radius: 4px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 150ms ease;
}

.fpe-nav-right .fpe-tooltip { right: 26px; }
.fpe-nav-left .fpe-tooltip { left: 26px; }

.fpe-nav li:hover .fpe-tooltip {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.fpe-reduced-motion .fpe-track {
		transition: none !important;
	}
}
