.hse-slider {
	position: relative;
	width: 100%;
	height: 70vh;
	overflow: hidden;
	isolation: isolate; /* asegura el recorte con border-radius en Safari */
}

.hse-slides-track {
	position: relative;
	width: 100%;
	height: 100%;
}

.hse-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
	z-index: 1;
}

.hse-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* Efecto slide (deslizar) */
.hse-slider[data-effect="slide"] .hse-slide {
	transform: translateX(100%);
	transition: transform 0.6s ease, opacity 0.6s ease;
}
.hse-slider[data-effect="slide"] .hse-slide.is-active {
	transform: translateX(0);
}
.hse-slider[data-effect="slide"] .hse-slide.is-prev {
	transform: translateX(-100%);
}

.hse-slide-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.4);
}

.hse-slide-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 40px;
	box-sizing: border-box;
}

.hse-slide-content-inner {
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hse-slide-heading {
	margin: 0;
	font-size: 42px;
	line-height: 1.2;
	color: #ffffff;
}

.hse-slide-description {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: #f1f1f1;
}

.hse-slide-button {
	display: inline-block;
	align-self: center;
	margin-top: 8px;
	padding: 12px 28px;
	background-color: #1e73be;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: background-color 0.3s ease, color 0.3s ease;
	width: fit-content;
}

.hse-slide-button:hover {
	background-color: #145a94;
	color: #ffffff;
}

/* Flechas */
.hse-slider .hse-arrow,
.hse-slider .hse-arrow:hover,
.hse-slider .hse-arrow:focus,
.hse-slider .hse-arrow:active {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	border: none;
	outline: none;
	box-shadow: none;
	background: none;
	background-color: transparent;
	color: #ffffff;
	font-size: 32px;
	line-height: 1;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease, transform 0.3s ease;
	opacity: 0.85;
}

.hse-slider .hse-arrow:hover {
	opacity: 1;
}

.hse-arrow-prev {
	left: 20px;
}
.hse-arrow-prev:hover {
	transform: translateY(-50%) translateX(-3px);
}

.hse-arrow-next {
	right: 20px;
}
.hse-arrow-next:hover {
	transform: translateY(-50%) translateX(3px);
}

.hse-arrow-icon {
	width: 32px;
	height: auto;
	display: block;
	pointer-events: none;
}

/* Puntos */
.hse-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 10px;
}

.hse-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.hse-dot.is-active {
	background-color: #ffffff;
	transform: scale(1.2);
}

@media (max-width: 767px) {
	.hse-slide-heading { font-size: 28px; }
	.hse-slide-description { font-size: 15px; }
	.hse-arrow { font-size: 22px; }
}
