.banner-hero {
	display: flex;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	position: relative;
	font-family: 'Roboto', sans-serif;
	background: var(--banner-bg, #1b2a5e);
}

.banner-hero--has-image {
	align-items: center;
}

.banner-hero.alignfull,
.banner-hero.alignwide {
	max-width: none;
	width: 100%;
}

/* ── Columna izquierda (texto: 52%) ────────────────────────── */

.banner-hero__left {
	flex: 0 0 55%;
	max-width: 55%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	box-sizing: border-box;
	overflow: visible;
	z-index: 2;
	background-color: var(--banner-bg, #1b2a5e);
}

.banner-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.banner-hero__content {
	position: relative;
	z-index: 1;
	padding: clamp(44px, 5.5vw, 72px) clamp(34px, 4.6vw, 62px) clamp(48px, 5.5vw, 76px) clamp(40px, 4.8vw, 58px);
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

/* ── Onda/curva decorativa ─────────────────────────────────── */

/*
 * El ::after del panel izquierdo crea el borde derecho curvado.
 * background: inherit copia el color dinámico del inline style de SCF.
 * La curva protruye ~60px hacia la imagen, replicando el diseño.
 * .banner-hero tiene overflow:hidden que la recorta en los extremos.
 */
.banner-hero--corte-onda.banner-hero--has-image .banner-hero__left::after {
	display: none;
}

/* Diagonal */
.banner-hero--corte-diagonal.banner-hero--has-image .banner-hero__left::after {
	content: '';
	position: absolute;
	right: -24px;
	top: -5%;
	bottom: -5%;
	width: 48px;
	background: var(--banner-bg, #1b2a5e);
	box-shadow: 8px 0 0 0 var(--banner-accent, #f5c518);
	transform: skewX(-6deg);
	z-index: 0;
}

/* Accento circular amarillo (opcional, sobre la curva) */
.banner-hero__onda {
	position: absolute;
	top: 50%;
	z-index: 10;
	pointer-events: none;
	border-radius: 50%;
	background-color: var(--banner-bg, #1B2A5E);
	border: 5px solid var(--banner-accent, #F5C518);
}

.banner-hero__onda--onda {
	left: calc(52% + 0px);    /* exactamente en el borde del panel */
	width: 80px;
	height: 80px;
	transform: translate(-50%, -50%);
}

.banner-hero__onda--diagonal {
	display: none;
}

/* ── Columna derecha (imagen: resto) ───────────────────────── */

.banner-hero__right {
	flex: 0 1 44.8%;
	max-width: 44.8%;
	margin-left: auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
	z-index: 1;
	align-self: center;
	min-height: 0;
	background: transparent;
}

.banner-hero--corte-onda.banner-hero--has-image .banner-hero__right {
	padding: 8px 0 8px 8px;
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
}

.banner-hero--corte-onda.banner-hero--has-image .banner-hero__right::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--banner-accent, #f5c518);
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
	z-index: 0;
}

.banner-hero__image {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	max-height: none;
	margin: 0 0 0 auto;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.banner-hero--corte-onda.banner-hero--has-image .banner-hero__image {
	border-top-left-radius: 999px;
	border-bottom-left-radius: 999px;
}

.banner-hero--no-image {
	background: var(--banner-bg, #1b2a5e);
}

.banner-hero--no-image .banner-hero__left {
	flex: 1 1 100%;
	max-width: none;
}

.banner-hero--no-image .banner-hero__left::after {
	display: none;
}

.banner-hero--no-image .banner-hero__content {
	max-width: 700px;
}

/* ── Tipografía ────────────────────────────────────────────── */

.banner-hero__pre-heading {
	margin: 0 0 6px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 700;
	line-height: 1.15;
}

.banner-hero__heading {
	margin: 0 0 10px;
	font-weight: 900;
	line-height: 0.95;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.banner-hero__sub-heading {
	margin: 0 0 16px;
	font-style: italic;
	font-weight: 700;
	line-height: 1.25;
}

.banner-hero__divider {
	width: 210px;
	max-width: 62%;
	height: 2px;
	margin: 0 0 16px;
	background: var(--banner-accent, #f5c518);
	border-radius: 999px;
}

.banner-hero__description-highlight {
	margin: 0 0 4px;
	font-weight: 900;
	line-height: 1.15;
	text-transform: none;
}

.banner-hero__description {
	margin: 0 0 34px;
	line-height: 1.45;
	max-width: 28ch;
}

/* ── Botón CTA ─────────────────────────────────────────────── */

.banner-hero__cta {
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.banner-hero__button:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

.banner-hero__button-icon {
	font-size: 1.05em;
	line-height: 1;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.banner-hero__left {
		flex-basis: 58%;
		max-width: 58%;
	}

	.banner-hero__right {
		flex-basis: 41.6%;
		max-width: 41.6%;
	}

	.banner-hero__heading {
		line-height: 1;
	}
}

@media (max-width: 768px) {
	.banner-hero {
		flex-direction: column;
		min-height: auto;
		background: var(--banner-bg, #1b2a5e);
	}

	.banner-hero__left {
		flex: 1 1 auto;
		max-width: none;
		overflow: hidden;
	}

	.banner-hero__left::after,
	.banner-hero__onda {
		display: none;
	}

	.banner-hero__content {
		padding: 36px 24px 40px;
	}

	.banner-hero__divider {
		width: 180px;
		max-width: 70%;
	}

	.banner-hero__description {
		max-width: none;
	}

	.banner-hero__right {
		flex: 0 0 260px;
		max-width: none;
		min-height: 260px;
	}

	.banner-hero--corte-onda.banner-hero--has-image .banner-hero__right {
		padding: 6px 0 6px 6px;
	}
}
