/* =========================================================
   ACP Elementor Extras — estilos de widgets
   ========================================================= */

/* ---------- Proceso numerado ---------- */
.acp-ee-timeline {
	display: grid;
	gap: 28px;
	position: relative;
}

.acp-ee-timeline--horizontal {
	grid-template-columns: repeat(4, 1fr);
}

.acp-ee-timeline--horizontal::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 6%;
	right: 6%;
	height: 2px;
	background: linear-gradient(90deg, #E27DFF, #00D6FF);
	opacity: 0.55;
}

.acp-ee-timeline--vertical {
	grid-template-columns: 1fr;
}

@media (max-width: 860px) {
	.acp-ee-timeline--horizontal {
		grid-template-columns: 1fr;
	}
	.acp-ee-timeline--horizontal::before {
		display: none;
	}
}

.acp-ee-step {
	position: relative;
}

.acp-ee-step-num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #0A2E4D;
	color: #00D6FF;
	border: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	position: relative;
	z-index: 1;
	margin-bottom: 16px;
}

.acp-ee-step-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #EAF3FF;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.acp-ee-step-desc {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	color: #A9C3DE;
}

/* ---------- Acordeón numerado ---------- */
.acp-ee-accordion {
	border-top: 1px solid rgba(234, 243, 255, 0.14);
	min-width: 0;
	max-width: 100%;
}

.acp-ee-acc-item {
	border-bottom: 1px solid rgba(234, 243, 255, 0.14);
	min-width: 0;
}

.acp-ee-acc-trigger {
	width: 100%;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 18px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	white-space: normal;
	padding: 22px 0;
	font-family: inherit;
	appearance: none;
}

.acp-ee-acc-num {
	flex: none;
	width: 34px;
	font-size: 22px;
	font-weight: 700;
	color: #B56CFF;
	line-height: 1;
}

.acp-ee-acc-title-wrap {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.acp-ee-acc-title {
	font-size: 16px;
	font-weight: 600;
	color: #EAF3FF;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	white-space: normal;
	word-wrap: break-word;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.acp-ee-acc-subtitle {
	font-size: 12px;
	font-weight: 600;
	color: #7B94B3;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.acp-ee-acc-chevron {
	flex: none;
	color: #A9C3DE;
	transition: transform 0.2s ease;
}

.acp-ee-acc-item.acp-ee-open .acp-ee-acc-chevron {
	transform: rotate(180deg);
}

.acp-ee-acc-panel {
	max-height: 1000px;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.acp-ee-acc-panel-inner {
	padding: 0 0 24px 52px;
	color: #A9C3DE;
	font-size: 14px;
	line-height: 1.6;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.acp-ee-acc-panel-inner > *:first-child {
	margin-top: 0;
}

.acp-ee-acc-panel-inner > *:last-child {
	margin-bottom: 0;
}

.acp-ee-acc-panel-inner img,
.acp-ee-acc-panel-inner video,
.acp-ee-acc-panel-inner iframe {
	max-width: 100%;
	height: auto;
}

.acp-ee-acc-panel-inner table {
	max-width: 100%;
	display: block;
	overflow-x: auto;
}

/* Mobile: el número sube arriba del título (en su propio renglón, junto
   a la flecha), para que el título y el subtítulo tengan todo el ancho
   disponible en vez de competir con la columna fija del número. */
@media (max-width: 600px) {
	.acp-ee-acc-trigger {
		row-gap: 8px;
		padding: 18px 0;
	}
	.acp-ee-acc-num {
		order: 1;
		width: auto;
		font-size: 18px;
	}
	.acp-ee-acc-chevron {
		order: 2;
	}
	.acp-ee-acc-title-wrap {
		order: 3;
		flex-basis: 100%;
		width: 100%;
	}
	.acp-ee-acc-panel-inner {
		padding-left: 0;
		font-size: 13.5px;
	}
}

/* ---------- Tarifas ---------- */
.acp-ee-pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.acp-ee-price-card {
	display: flex;
	flex-direction: column;
	position: relative;
}

.acp-ee-price-badge {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 100px;
	margin-bottom: 14px;
	line-height: 1.6;
}

.acp-ee-price-role {
	font-size: 13.5px;
	font-weight: 600;
	margin-bottom: 10px;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.acp-ee-price-value {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

.acp-ee-price-value.acp-ee-tbd {
	font-size: 18px;
}

.acp-ee-price-currency {
	font-size: 13px;
	font-weight: 600;
	margin-left: 4px;
}

.acp-ee-price-includes {
	margin-top: 22px;
	font-size: 13.5px;
	line-height: 1.6;
}

.acp-ee-price-footnote {
	margin-top: 12px;
	font-size: 12.5px;
	line-height: 1.6;
}


/* ---------- Docentes ---------- */
.acp-ee-faculty-note {
	margin-bottom: 22px;
}

.acp-ee-faculty-note-text {
	margin: 0 0 12px;
	font-size: 14.5px;
	line-height: 1.6;
}

.acp-ee-faculty-tag-warning {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	border: 1px dashed;
	padding: 8px 14px;
	border-radius: 8px;
}

/* Grid mode */
.acp-ee-faculty-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.acp-ee-faculty-grid.acp-ee-natural-height {
	align-items: start;
}

/* Carousel mode */
.acp-ee-faculty-carousel {
	position: relative;
}

.acp-ee-faculty-viewport {
	position: relative;
}

.acp-ee-faculty-track {
	--acp-ee-per-view: 3;
	--acp-ee-gap: 20px;
	display: flex;
	gap: var(--acp-ee-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
	scrollbar-width: none;
	align-items: stretch;
}

.acp-ee-faculty-track.acp-ee-natural-height {
	align-items: flex-start;
}

.acp-ee-faculty-track::-webkit-scrollbar {
	display: none;
}

.acp-ee-faculty-slide {
	flex: 0 0 calc((100% - (var(--acp-ee-per-view) - 1) * var(--acp-ee-gap)) / var(--acp-ee-per-view));
	scroll-snap-align: start;
}

.acp-ee-faculty-arrows {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

/* Arrow position variants */
.acp-ee-arrows-below-start .acp-ee-faculty-arrows {
	justify-content: flex-start;
}

.acp-ee-arrows-below-center .acp-ee-faculty-arrows {
	justify-content: center;
}

.acp-ee-arrows-below-end .acp-ee-faculty-arrows {
	justify-content: flex-end;
}

.acp-ee-arrows-sides .acp-ee-faculty-arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	justify-content: space-between;
	margin-top: 0;
	pointer-events: none;
}

.acp-ee-arrows-sides .acp-ee-faculty-arrow {
	pointer-events: auto;
}

.acp-ee-faculty-arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	flex: none;
}

.acp-ee-faculty-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.acp-ee-faculty-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* ---------- Tarjeta de docente confirmado (foto + panel) ---------- */
.acp-ee-faculty-card {
	display: flex;
	flex-direction: column;
	text-align: left;
	text-decoration: none;
	overflow: hidden;
	border-style: solid;
	height: 100%;
}

.acp-ee-faculty-grid.acp-ee-natural-height .acp-ee-faculty-card,
.acp-ee-faculty-track.acp-ee-natural-height .acp-ee-faculty-card {
	height: auto;
}

.acp-ee-faculty-photo-wrap {
	position: relative;
	aspect-ratio: 8 / 7;
	overflow: hidden;
	flex: none;
}

.acp-ee-faculty-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.acp-ee-faculty-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.3);
}

.acp-ee-faculty-photo-placeholder svg {
	width: 40px;
	height: 40px;
}

.acp-ee-faculty-country-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 8px 14px;
	border-radius: 100px;
	line-height: 1;
	backdrop-filter: blur(6px);
}

.acp-ee-faculty-country-badge svg {
	width: 13px;
	height: 13px;
	flex: none;
}

.acp-ee-faculty-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 4px;
}

.acp-ee-faculty-name {
	font-family: 'Bebas Neue', inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin-bottom: 6px;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.acp-ee-faculty-credentials {
	font-size: 13.5px;
	line-height: 1.5;
	margin-bottom: 4px;
}

.acp-ee-faculty-divider {
	height: 1px;
	width: 100%;
	margin: 14px 0;
	flex: none;
}

.acp-ee-faculty-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.acp-ee-faculty-row + .acp-ee-faculty-row {
	margin-top: 14px;
}

.acp-ee-faculty-row-icon {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.acp-ee-faculty-row-icon svg {
	width: 55%;
	height: 55%;
}

.acp-ee-faculty-row-text {
	flex: 1;
	min-width: 0;
}

.acp-ee-faculty-institution {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

.acp-ee-faculty-location {
	font-size: 12.5px;
	line-height: 1.4;
	margin-top: 1px;
}

.acp-ee-faculty-module-title {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

.acp-ee-faculty-module-desc {
	font-size: 12.5px;
	line-height: 1.45;
	margin-top: 2px;
}

/* ---------- Cupo por confirmar ---------- */
.acp-ee-faculty-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	padding: 22px 14px;
	gap: 8px;
	height: 100%;
	border: 1px dashed;
	border-radius: 14px;
	aspect-ratio: 3 / 4.3;
}

.acp-ee-faculty-slot-icon {
	display: inline-flex;
	opacity: 0.8;
}

.acp-ee-faculty-slot-label {
	font-size: 11px;
	font-weight: 600;
}

/* ---------- Botón gradiente glow ---------- */
.acp-ee-gradient-btn {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: none;
	outline: none;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
	box-sizing: border-box;
}

.acp-ee-gradient-btn::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	width: calc(100% + 4px);
	height: calc(100% + 4px);
	z-index: -1;
	background: var(--acp-ee-gradient, linear-gradient(45deg, #ff0000, #00d6ff, #ff0000));
	background-size: 400% 400%;
	opacity: 0;
	animation: acp-ee-btn-gradient-glow 20s linear infinite;
	transition: opacity 300ms ease-in-out;
}

.acp-ee-gradient-btn:hover::before {
	opacity: 1;
}

.acp-ee-gradient-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
}

.acp-ee-gradient-btn-icon {
	display: inline-flex;
	align-items: center;
}

@keyframes acp-ee-btn-gradient-glow {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 400% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* ---------- Datos destacados (barra) ---------- */
.acp-ee-statbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.acp-ee-statbar-icon {
	flex: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.acp-ee-statbar-icon svg {
	width: 55%;
	height: 55%;
}

.acp-ee-statbar-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.acp-ee-statbar-label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	white-space: normal;
}

.acp-ee-statbar-value {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.15;
	white-space: normal;
	word-break: break-word;
}

.acp-ee-statbar-divider {
	width: 1px;
	flex: none;
}

@media (max-width: 640px) {
	.acp-ee-statbar {
		border-radius: 20px !important;
	}
	.acp-ee-statbar-divider {
		display: none;
	}
	.acp-ee-statbar-item {
		min-width: 40%;
	}
}
