.ctxb-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 92vh;
	overflow: hidden;
	isolation: isolate;
}

/* La foto va como <img> y no como background para que el navegador la
   priorice y la sirva en el tamaño correcto.
   El selector lleva `.ctxb-hero img` a propósito: Elementor declara
   `.elementor img { height: auto }` y por especificidad le ganaría a una
   sola clase, dejando la foto sin cubrir la sección. */
.ctxb-hero img.ctxb-hero__fondo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	z-index: -2;
	margin: 0;
	border-radius: 0;
}

.ctxb-hero__velo {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .62;
	/* Más oscuro abajo, donde vive el texto. */
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, .78) 0%,
		rgba(0, 0, 0, .55) 34%,
		rgba(0, 0, 0, .78) 100%
	);
}

.ctxb-hero__interior {
	position: relative;
	width: 100%;
	max-width: 92%;
	margin: 0 auto;
	padding: 150px 0 62px;
}

.ctxb-hero__antetitulo {
	margin: 0 0 22px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .28em;
	text-transform: uppercase;
}

.ctxb-hero__titulo {
	margin: 0 0 30px;
	font-size: 9vw;
	line-height: .85;
	letter-spacing: -.03em;
	text-transform: uppercase;
	color: #fff;
}

.ctxb-hero__valores {
	margin: 0 0 40px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 20px;
	line-height: 1.3;
}

.ctxb-hero__cuadro {
	width: 7px;
	height: 7px;
	background: #FFD400;
	flex-shrink: 0;
	display: inline-block;
}

.ctxb-hero__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ctxb-hero__boton {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 20px 30px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0;
	transition: filter .18s ease, gap .18s ease, background-color .18s ease, color .18s ease;
}

.ctxb-hero__boton--solido {
	background: #FFD400;
	color: #111111;
}

.ctxb-hero__boton--solido:hover { filter: brightness(.92); gap: 18px; }

.ctxb-hero__boton--linea {
	background: transparent;
	color: #fff;
	border-color: currentColor;
}

.ctxb-hero__boton--linea:hover {
	background: #fff;
	color: #111111;
}

.ctxb-hero__boton:focus-visible {
	outline: 3px solid #FFD400;
	outline-offset: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.ctxb-hero__interior { padding: 130px 0 52px; }
	.ctxb-hero__valores { font-size: 17px; margin-bottom: 32px; }
}

@media (max-width: 767px) {
	.ctxb-hero__interior { padding: 120px 0 44px; }
	.ctxb-hero__antetitulo { font-size: 10px; letter-spacing: .22em; margin-bottom: 16px; }
	.ctxb-hero__valores { font-size: 15px; gap: 10px; }
	.ctxb-hero__botones { flex-direction: column; align-items: stretch; }
	.ctxb-hero__boton { justify-content: center; padding: 17px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.ctxb-hero__boton { transition: none; }
}
