/*
 * Portada de "Quiénes somos": foto a todo el ancho con degradado oscuro y título grande.
 *
 *   Contenedor        → about-hero
 *     Imagen (fondo)  → about-hero__photo   (se cambia desde el widget Imagen)
 *     Contenedor      → about-hero__copy
 *       Título (H1)   → about-hero__title   (<em>.</em> pinta el punto de rojo)
 *       Texto         → about-hero__text
 */

.about-hero {
	--row-gap: 0;
	--column-gap: 0;

	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 520px;
	padding: 48px var(--wrap-gutter) 56px;
	overflow: hidden;
	background: #1d1513;
	color: #fff;
}

/* Degradado: en mobile sube desde abajo para que el texto se lea sobre la foto. */
.about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(24, 15, 12, .9) 0%, rgba(24, 15, 12, .6) 55%, rgba(24, 15, 12, .25) 100%);
	pointer-events: none;
}

/* La foto llena la portada; el <img> interno es el que se recorta (excepción documentada). */
.about-hero__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}
.about-hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 76% center;
}

.about-hero__copy {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
}

.about-hero__title { padding-bottom: 22px; }
.about-hero__title .elementor-heading-title {
	font-family: var(--font-display);
	font-size: clamp(38px, 9.5vw, 80px);
	font-weight: 800;
	letter-spacing: -.05em;
	line-height: .98;
	color: #fff;
}
/* <em> dentro del título (texto editable): solo cambia el color del punto final. */
.about-hero__title em { font-style: normal; color: var(--color-brand-red); }

/* !important: Elementor fija max-width:100% en los widgets de un contenedor. */
.about-hero__text { max-width: 31em !important; font-size: 16px; color: rgba(255, 255, 255, .9); }
.about-hero__text p { margin: 0; }

@media (min-width: 768px) {
	.about-hero {
		justify-content: center;
		min-height: clamp(480px, 38vw, 560px);
		padding-block: 56px;
	}
	.about-hero::before {
		background: linear-gradient(90deg, rgba(24, 15, 12, .86) 0%, rgba(24, 15, 12, .6) 38%, rgba(24, 15, 12, .12) 72%, rgba(24, 15, 12, 0) 100%);
	}
	.about-hero__photo img { object-position: 72% center; }
	.about-hero__title .elementor-heading-title { font-size: clamp(38px, 5.4vw, 80px); }
	.about-hero__text { font-size: clamp(16px, 1.3vw, 19px); }
}
