/**
 * Hero de portada.
 */

.hec-hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	color: #fff;
	background: #0b0f14;
}

.hec-hero__slider {
	position: absolute;
	inset: 0;
}

.hec-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.04);
	transition: opacity 0.8s ease, visibility 0.8s ease, transform 6s ease;
}

.hec-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	z-index: 1;
}

.hec-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--hec-hero-overlay, rgba(11, 15, 20, 0.55));
	z-index: 1;
}

.hec-hero__content {
	position: relative;
	z-index: 2;
	width: min(860px, calc(100% - 8rem));
	margin: 0 auto;
	padding-top: 4rem;
	text-align: center;
}

.hec-hero__subtitle {
	margin: 0 0 1rem;
	color: var(--hec-accent, #e07a2f);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.hec-hero__title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	font-family: var(--hec-font-heading, var(--hec-font));
}

.hec-hero__desc {
	margin: 0 auto 2rem;
	max-width: 640px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.02rem;
	line-height: 1.7;
}

.hec-btn--hero {
	min-width: 170px;
	justify-content: center;
}

.hec-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 2.5rem;
	z-index: 5;
	display: flex;
	gap: 0.55rem;
	transform: translateX(-50%);
}

.hec-hero__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.hec-hero__dot.is-active {
	width: 10px;
	height: 9px;
	border-radius: 0;
	background: var(--hec-accent, #f47a20);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	transform: none;
}

.hec-hero__social {
	position: absolute;
	left: 1.5rem;
	top: 50%;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	transform: translateY(-40%);
}

.hec-hero__social-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hec-hero__social-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hec-hero__social-list a:hover {
	border-color: var(--hec-accent, #e07a2f);
	color: var(--hec-accent, #e07a2f);
	background: transparent;
}

.hec-hero__social-label {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	opacity: 0.9;
}

.hec-hero__scroll {
	position: absolute;
	right: 1.75rem;
	top: 50%;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	transform: translateY(-30%);
}

.hec-hero__scroll span {
	writing-mode: vertical-rl;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hec-hero__scroll i {
	display: block;
	width: 1px;
	height: 70px;
	background: rgba(255, 255, 255, 0.55);
}
