/* Hero Home block */
.bt-hero-home {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 0;
	padding-bottom: 4rem;
}

/* Sin imagen de fondo: fondo neutro */
.bt-hero-home:not(.bt-hero-home--has-bg) {
	background-color: var(--bg, #f4f6f8);
}

/* Con imagen de fondo */
.bt-hero-home--has-bg {
	background-color: #1a1a1a;
	min-height: 520px;
}

.bt-hero-home__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bt-hero-home--parallax .bt-hero-home__bg {
	height: 250%;
	top: -75%;
	width: 100%;
	left: 0;
	will-change: transform;
}

.bt-hero-home__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, var(--bt-bg-overlay, 0.6));
	pointer-events: none;
}

.bt-hero-home__content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.bt-hero-home__inner {
	max-width: 720px;
}

.bt-hero-home__title {
	font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 600;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
	letter-spacing: 0.02em;
	margin: 0 0 1rem 0;
	color: var(--text-primary, #1c1e21);
}

.bt-hero-home--has-bg .bt-hero-home__title {
	color: #fff;
}

.bt-hero-home__description {
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0 0 1.5rem 0;
	color: var(--text-secondary, #5c6670);
}

.bt-hero-home--has-bg .bt-hero-home__description {
	color: rgba(255, 255, 255, 0.9);
}

.bt-hero-home__description p {
	margin: 0 0 0.75rem 0;
}

.bt-hero-home__description p:last-child {
	margin-bottom: 0;
}

.bt-hero-home__description a {
	color: var(--accent, #3088eb);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bt-hero-home--has-bg .bt-hero-home__description a {
	color: rgba(255, 255, 255, 0.95);
}

.bt-hero-home__description strong {
	font-weight: 600;
}

.bt-hero-home__cta {
	margin-top: 1.25rem;
}

.bt-hero-home__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.5rem;
	border-radius: 0.5rem;
	background: var(--accent, #3088eb);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.85rem;
	transition: transform 200ms ease, opacity 200ms ease, background-color 200ms ease;
}

.bt-hero-home__button:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.bt-hero-home--has-bg .bt-hero-home__button {
	background: rgba(255, 255, 255, 0.95);
	color: #1a1a1a;
}

.bt-hero-home--has-bg .bt-hero-home__button:hover {
	background: #fff;
}

.bt-hero-home__button:focus {
	outline: 2px solid var(--focus-ring, rgba(48, 136, 235, 0.35));
	outline-offset: 3px;
}

/* Línea decorativa bajo el título (opcional, estilo Brooklyn) */
.bt-hero-home__title::after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background: var(--accent, #3088eb);
	margin-top: 0.75rem;
}

.bt-hero-home--has-bg .bt-hero-home__title::after {
	background: var(--accent, #3088eb);
}

@media (max-width: 768px) {
	.bt-hero-home {
		min-height: 380px;
		padding-top: 0;
		padding-bottom: 3rem;
	}

	.bt-hero-home--has-bg {
		min-height: 450px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bt-hero-home--parallax .bt-hero-home__bg {
		will-change: auto;
	}
}
