/**
 * About · casi pantalla completa, max-width 1700px.
 */

.hec-about {
	position: relative;
	width: 100%;
	min-height: min(100vh, 920px);
	padding: clamp(3.5rem, 7vh, 5.5rem) 0;
	color: #fff;
	/*background: linear-gradient(
		105deg,
		var(--hec-grad-from, #f08a2a) 0%,
		var(--hec-accent, #e07a2f) 48%,
		var(--hec-grad-to, #c94a0a) 100%
	);*/
	overflow: hidden;
	background: var(--hec-grad-from)
}

.hec-about__inner {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 3vw, 2.5rem);
	height: 100%;
}

.hec-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.58fr) minmax(210px, 0.42fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: stretch;
	min-height: min(78vh, 760px);
}

.hec-about__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.hec-about__subtitle {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 500;
	opacity: 0.92;
	color: rgba(255, 255, 255, 0.92);
}

.hec-about__title {
	margin: 0 0 1.1rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.85rem, 3.4vw, 2.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	max-width: 23ch;
	color: #fff;
}

.hec-about__desc {
	margin: 0 0 1.75rem;
	max-width: 48ch;
	font-size: 18px;
	line-height: 1.7;
	opacity: 0.95;
}

.hec-about__features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem 1.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	max-width: 520px;
}

.hec-about__feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.hec-about__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 55px;
	height: auto;
	flex-shrink: 0;
}

.hec-about__feature-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.hec-about__feature-icon--fa {
	font-size: 1.35rem;
	line-height: 1;
	color: #fff;
}

.hec-about__feature-icon--fa i {
	display: block;
	line-height: 1;
}

.hec-about__feature-icon--fallback {
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	position: relative;
}

.hec-about__feature-icon--fallback::before,
.hec-about__feature-icon--fallback::after {
	content: '';
	position: absolute;
	background: rgba(255, 255, 255, 0.85);
}

.hec-about__feature-icon--fallback::before {
	width: 14px;
	height: 1.5px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hec-about__feature-icon--fallback::after {
	width: 1.5px;
	height: 14px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.hec-about__feature-label {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.35;
	color: #fff;
}

.hec-about__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
}

/*.hec-about .hec-btn--about,
.hec-about .hec-btn.hec-btn--dark {
	background: #111 !important;
	border-color: #111 !important;
	color: #fff !important;
}

.hec-about .hec-btn--about:hover,
.hec-about .hec-btn--about:focus {
	background: #000 !important;
	color: #fff !important;
}*/

.hec-about__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	color: #fff;
	min-width: 0;
}

.hec-about__phone:hover,
.hec-about__phone:focus {
	color: #fff;
	opacity: 0.92;
}

.hec-about__phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.92);
	color: #fff;
	flex-shrink: 0;
}

.hec-about__phone-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hec-about__phone-label {
	font-size: 18px;
	opacity: 0.9;
}

.hec-about__phone-number {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Slider central */
.hec-about__media {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hec-about__swiper {
	width: 100%;
	overflow: hidden;
}

.hec-about__slide-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: rgba(0, 0, 0, 0.2);
}

.hec-about__slide-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hec-about__slide-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.25));
}

.hec-about__caption {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin: 0.9rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	text-align: center;
}

.hec-about__caption-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #111;
	flex-shrink: 0;
}

.hec-about__pagination {
	position: static !important;
	margin-top: 1rem;
	display: flex;
	justify-content: center;
	gap: 0.45rem;
}

.hec-about__pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0 !important;
	opacity: 1;
	background: rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	transition: background 0.25s ease, transform 0.25s ease;
}

.hec-about__pagination .swiper-pagination-bullet-active {
	background: #111;
	transform: scale(1.1);
}

/* Tarjeta experiencia — como diseño: gráfico arriba-derecha + texto abajo */
.hec-about__years {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
	background: #000;
	color: #fff;
	padding: 0;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
}

.hec-about__years-media {
	position: relative;
	width: 100%;
	flex: 1 1 auto;
	min-height: 220px;
	background: #000;
	overflow: hidden;
}

.hec-about__years-media img {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top right;
	display: block;
	pointer-events: none;
}

/* Fallback decorativo si no hay imagen */
.hec-about__years-placeholder {
	position: absolute;
	inset: 0;
}

.hec-about__years-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin: 0;
	padding: 0 1.35rem 1.75rem;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.hec-about__years-number {
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(3.75rem, 6.5vw, 5.25rem);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.04em;
	color: #fff;
}

.hec-about__years-label {
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.75rem, 2.8vw, 2.35rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
}

.hec-about__years-text {
	margin-top: 0.55rem;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hec-accent, #e07a2f);
}

@media (max-width: 1100px) {
	.hec-about {
		min-height: 0;
	}

	.hec-about__grid {
		grid-template-columns: 1fr 1fr;
		min-height: 0;
	}

	.hec-about__content {
		grid-column: 1 / -1;
	}

	.hec-about__media {
		order: 2;
	}

	.hec-about__years {
		order: 3;
		min-height: 480px;
	}
}

@media (max-width: 720px) {
	.hec-about {
		padding: 3rem 0;
	}

	.hec-about__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hec-about__features {
		max-width: none;
		gap: 1rem 1rem;
	}

	.hec-about__title {
		max-width: 23ch;
	}

	.hec-about__cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.hec-about__slide-media {
		aspect-ratio: 4 / 5;
		max-width: 360px;
		margin: 0 auto;
	}

	.hec-about__years {
		min-height: 420px;
		max-width: 320px;
		margin: 0 auto;
		flex-direction: column;
	}

	.hec-about__years-media {
		min-height: 200px;
	}

	.hec-about__years-body {
		padding: 0 1.25rem 1.5rem;
	}

	.hec-about__years-number {
		font-size: 3.5rem;
	}

	.hec-about__years-label {
		font-size: 1.65rem;
	}
}
