.hte-hero,
.hte-hero * {
	box-sizing: border-box;
}

.hte-hero {
	position: relative;
	width: 100%;
	aspect-ratio: 576 / 267;
	margin-inline: auto;
	overflow: hidden;
	container-type: inline-size;
	background-color: #e9e9e9;
	isolation: isolate;
}

.hte-hero__image,
.hte-hero__image-overlay,
.hte-hero__shapes {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.hte-hero__image {
	z-index: 0;
	object-fit: cover;
	object-position: center center;
}

.hte-hero__image-overlay {
	z-index: 1;
	background-color: transparent;
	pointer-events: none;
}

.hte-hero__shapes {
	right: 0;
	left: auto;
	z-index: 2;
	overflow: visible;
}

.hte-hero__shape--back {
	fill: #2b765f;
}

.hte-hero__shape--front {
	fill: #ff6507;
}

.hte-hero__content {
	position: absolute;
	top: 15.2%;
	left: 65.1%;
	z-index: 3;
	width: 29%;
	min-width: 0;
	font-family: Arial, Helvetica, sans-serif;
}

.hte-hero__title {
	display: flex;
	flex-direction: column;
	margin: 0;
	color: #050505;
	font-family: inherit;
	font-size: 36px;
	font-size: 6.25cqw;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.hte-hero__title-line {
	display: block;
	overflow-wrap: anywhere;
}

.hte-hero__title-line--accent {
	color: #fff;
}

.hte-hero__description {
	margin-top: 1.1cqw;
	color: #050505;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-size: 1.9cqw;
	font-weight: 700;
	font-style: italic;
	line-height: 1.02;
	overflow-wrap: anywhere;
}

@media (max-width: 767px) {
	.hte-hero__content {
		width: 30.5%;
	}

	.hte-hero__title {
		line-height: 1.12;
	}

	.hte-hero__description {
		margin-top: 0.8cqw;
		line-height: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hte-hero {
		scroll-behavior: auto;
	}
}

/* El escritorio se mantiene; tablet y móvil reciben una composición fluida. */
@media (min-width: 768px) and (max-width: 1024px) {
	.hte-hero__content {
		left: 62%;
		width: 35%;
	}

	.hte-hero__title,
	.hte-hero__description {
		min-width: 0;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 767px) {
	.hte-hero {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(220px, 58vw) auto;
		aspect-ratio: auto;
		background: #ff6507;
	}

	.hte-hero__image {
		position: relative;
		inset: auto;
		grid-row: 1;
		height: 100%;
		object-position: center;
	}

	.hte-hero__image-overlay,
	.hte-hero__shapes {
		display: none;
	}

	.hte-hero__content {
		position: relative;
		top: auto !important;
		left: auto !important;
		grid-row: 2;
		width: 100% !important;
		padding: 24px 22px 28px;
		text-align: center;
	}

	.hte-hero__title {
		font-size: clamp(34px, 11vw, 54px);
		line-height: 1.04;
	}

	.hte-hero__description {
		margin-top: 14px;
		font-size: clamp(15px, 4.6vw, 20px);
		line-height: 1.25;
	}
}
