/* ============================================================
   ba-hero — Hero widget
   ============================================================ */

.ba-hero {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: 720px;
	border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Imagen de fondo */
.ba-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

/* Overlay de color */
.ba-hero__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(10, 40, 80, 0.52);
	z-index: 1;
}

.ba-product-hero .ba-hero__overlay {
	background-color: #18220D80;
}

.ba-hero.ba-product-cat-hero {
	padding-block: 20px;
}

.ba-product-hero .ba-hero__svg svg path,
.ba-product-cat-hero .ba-hero__svg svg path {
	fill: url(#ba-product-svg-gradient);
}

/* Contenedor alineado con el resto del sitio */
.ba-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 120px;
	align-items: center;
}

/* Contenido izquierdo */
.ba-hero__left {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

/* Ícono SVG */
.ba-hero__svg {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 10px;
	box-sizing: border-box;
}

.ba-hero__svg svg {
	width: 100%;
	height: 100%;
}

/* Etiqueta sobre el título */
.ba-hero__eyebrow {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ffffff;
}

/* Título principal */
.ba-hero__title {
	margin: 0;
	font-family: var(--font-secondary);
	font-size: 64px;
	font-weight: 400;
	line-height: 72px;
	color: #ffffff;
}

/* Descripción */
.ba-hero__description {
	margin: 0;
	font-size: 24px;
	font-weight: 300;
	line-height: 28px;
	color: rgba(255, 255, 255, 0.85);
}

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

@media (max-width: 1024px) {
	.ba-hero {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.ba-hero__inner {
		grid-template-columns: 1fr;
	}

	.ba-hero__title {
		font-size: 40px;
		line-height: normal !important;
	}
}

@media (max-width: 767px) {
	.ba-hero {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.ba-hero__inner {
		gap: 40px;
	}

	.ba-hero__title {
		font-size: 32px;
		line-height: normal !important;
	}
}

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