/* ==========================================================
   HERO PERSA — 25% más compacto + 100% responsive
   Cargar DESPUÉS de responsive.css
   ========================================================== */

/* --- Imagen: siempre cubre, punto focal ajustable por slide --- */
.banner-section .slide-item{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: var(--hero-pos, center center);
}

/* --- Altura: 850 → 638px (−25%) con flex en lugar de display:table --- */
.banner-section .slide-item .content-box{
	display: flex;
	align-items: center;
	height: auto;
	min-height: 638px;
}

.banner-section .slide-item .content{
	display: block;
	width: 100%;
	padding: 60px 0;
}

/* --- Tipografía fluida (−25% en escritorio) --- */
.banner-section .slide-item .title{
	font-size: clamp(15px, 1.6vw, 18px);
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

/* El H1 necesita los mismos estilos/animación que tenía el H2 */
.banner-section .slide-item h1,
.banner-section .slide-item h2{
	position: relative;
	display: block;
	font-size: clamp(30px, 4.6vw, 54px);
	line-height: 1.15em;
	color: #ffffff;
	font-weight: 700;
	margin-bottom: 15px;
	max-width: 780px;
	opacity: 0;
	transform: translateY(-100px);
	transition: all 500ms ease;
}

.banner-section .active h1,
.banner-section .active h2{
	opacity: 1;
	transform: translateY(0);
	transition-delay: 500ms;
}

.banner-section .slide-item .text{
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.7em;
	max-width: 620px;
	margin-bottom: 32px;
}

/* --- Tablet: 700 → 525px --- */
@media only screen and (max-width: 1023px){
	.banner-section .slide-item .content-box{
		min-height: 525px;
	}
}

/* --- Móvil grande --- */
@media only screen and (max-width: 767px){
	.banner-section .slide-item .content-box{
		min-height: 480px;
	}

	/* Overlay más uniforme para que el texto siempre se lea */
	.banner-section .slide-item .content-box:after{
		background: linear-gradient(to right, rgba(0,0,0,.80) 0%, rgba(0,0,0,.45) 100%);
	}

	.banner-section .slide-item h1 br,
	.banner-section .slide-item h2 br{
		display: none;
	}
}

/* --- Móvil: 600 → 450px --- */
@media only screen and (max-width: 599px){
	.banner-section .slide-item .content-box{
		min-height: 450px;
	}

	.banner-section .slide-item .content{
		padding: 50px 0 40px;
	}

	.banner-section .slide-item .btn-box .theme-btn{
		padding: 11px 26px;
		font-size: 14px;
		margin: 0 8px 10px 0;
	}
}
