/**
 * acc-landing-header-reveal — layout y estados de animación.
 */

.acc-lhr {
	box-sizing: border-box;
	width: 100%;
	max-width: 1620px;
	min-width: 0;
	position: relative;
	border-radius: 40px;
	overflow: hidden;
	height:640px; 
	min-height: 640px;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
}

.acc-lhr *,
.acc-lhr *::before,
.acc-lhr *::after {
	box-sizing: inherit;
}

/* Fondo (equivalente al contenedor Elementor c7d3fe5); oculto hasta fin de textos */
.acc-lhr__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: #ffffff;
	background-image: var(--acc-lhr-bg-desktop);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.acc-lhr.acc-lhr-bg-visible .acc-lhr__bg,
.acc-lhr.acc-lhr-reduced .acc-lhr__bg,
.acc-lhr.acc-lhr-error .acc-lhr__bg {
	opacity: 1;
}

.acc-lhr__inner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	min-height: 0;
	gap: clamp(1.5rem, 4vw, 3rem);
	width: 100%;
	margin-inline: auto;
	padding: clamp(1rem, 3vw, 0);
	position: relative;
	z-index: 1;
}

.acc-lhr__intro,
.acc-lhr__gallery {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.acc-lhr__intro {
	text-align: center;
	max-width: 100%;
	min-width: 0;
	margin-inline: auto;
	top: 8%;
	position: absolute;
	overflow-wrap: break-word;
}

/* Tipografía del bloque (Poppins); oculto hasta animación o reduced/error */
.acc-lhr__heading {
	margin: 0 0 1.5rem;
	font-family: "Poppins", sans-serif;
	font-size: 65px;
	font-weight: 300;
	line-height: 60px;
	letter-spacing: -4px;
	color: #000000;
	opacity: 0;
	visibility: hidden;
	position: relative;
	max-width: 100%;
	overflow-wrap: break-word;
}

.acc-lhr__heading b {
	font-weight: 500;
}

.acc-lhr__heading--lead {
	margin-top: 0.5rem;
	margin-bottom: 0;
	font-family: "Poppins", sans-serif;
	font-size: 25px;
	font-weight: 300;
	line-height: 25px;
	letter-spacing: normal;
	color: #000000;
	max-width: 100%;
	overflow-wrap: break-word;
	letter-spacing: -1.25px;
}

.acc-lhr.acc-lhr-intro-main-visible .acc-lhr__heading:not(.acc-lhr__heading--lead),
.acc-lhr.acc-lhr-intro-lead-visible .acc-lhr__heading--lead,
.acc-lhr.acc-lhr-reduced .acc-lhr__heading,
.acc-lhr.acc-lhr-error .acc-lhr__heading {
	opacity: 1;
	visibility: visible;
}

/* Imagen panorámica única */
.acc-lhr__gallery--desktop {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-width: 0;
	margin-top: auto;
}

.acc-lhr__gallery--mobile {
	display: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-top: auto;
	flex: 1 1 0;
	min-height: 0;
	overflow: hidden;
	border-radius: 0 0 32px 32px;
}

.acc-lhr__gallery--desktop .acc-lhr__hero-media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	max-height: 640px;
	overflow: hidden;
	opacity: 0;
	will-change: opacity;
}

.acc-lhr__gallery--mobile .acc-lhr__hero-media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	overflow: hidden;
}

.acc-lhr__hero-photo {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: 640px;
	object-fit: contain;
	object-position: bottom center;
	vertical-align: bottom;
}

.acc-lhr__gallery--mobile .swiper-wrapper {
	height: 100%;
	align-items: stretch;
}

.acc-lhr__gallery--mobile .swiper-slide {
	height: 100%;
	box-sizing: border-box;
}

.acc-lhr__gallery--mobile .acc-lhr__swiper-slide {
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
}

.acc-lhr__gallery--mobile .acc-lhr__swiper-slide .acc-lhr__hero-media {
	width: 100%;
	max-height: 368px;
}

.acc-lhr__gallery--mobile .acc-lhr__swiper-slide .acc-lhr__hero-photo {
	max-height: 368px;
}

.acc-lhr__gallery--mobile .acc-lhr__swiper-slide {
	opacity: 0;
	will-change: opacity, transform;
}

.acc-lhr.acc-lhr-ready .acc-lhr__gallery--desktop .acc-lhr__hero-media,
.acc-lhr.acc-lhr-reduced .acc-lhr__gallery--desktop .acc-lhr__hero-media,
.acc-lhr.acc-lhr-error .acc-lhr__gallery--desktop .acc-lhr__hero-media,
.acc-lhr.acc-lhr-ready .acc-lhr__gallery--mobile .acc-lhr__swiper-slide,
.acc-lhr.acc-lhr-reduced .acc-lhr__gallery--mobile .acc-lhr__swiper-slide,
.acc-lhr.acc-lhr-error .acc-lhr__gallery--mobile .acc-lhr__swiper-slide {
	opacity: 1;
	will-change: auto;
}

@media (max-width: 768px) {
	.acc-lhr__bg {
		background-image: var(--acc-lhr-bg-mobile);
	}

	.acc-lhr {
		height: 55vh;
		min-height: 280px;
	}

	.acc-lhr__inner {
		gap: 45px;
		padding-top: 8px;
	}

	.acc-lhr__intro {
		top: 10%;
	}

	.acc-lhr__gallery--desktop {
		display: none !important;
	}

	.acc-lhr__gallery--mobile {
		display: block;
		min-height: 140px;
	}

	.acc-lhr__hero-media,
	.acc-lhr__hero-media .acc-lhr__hero-photo {
		max-height: 368px;
	}

	.acc-lhr.acc-lhr-intro-lead-visible .acc-lhr__heading--lead{
		font-size: 15px;
	}
	.acc-lhr__heading:not(.acc-lhr__heading--lead){
		font-size: 35px !important;
        line-height: 30px !important;
	}
}

@media (min-width: 769px) {
	/* Ocultar por completo el carrusel móvil (tema/Swiper no pueden re-mostrarlo) */
	.acc-lhr .acc-lhr__gallery.acc-lhr__gallery--mobile,
	.acc-lhr .swiper.acc-lhr__gallery--mobile {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
		position: absolute !important;
		inset-inline-start: -9999px !important;
		inset-block-start: 0 !important;
		width: 1px !important;
		height: 1px !important;
		max-width: 1px !important;
		max-height: 1px !important;
		min-width: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip-path: inset(100%) !important;
		border: 0 !important;
		border-radius: 0 !important;
		flex: 0 0 0 !important;
		opacity: 0 !important;
	}
}

@media (max-width: 700px) {
	.acc-lhr__heading:not(.acc-lhr__heading--lead) {
		font-size: 26px !;
		line-height: 34px;
		letter-spacing: -2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.acc-lhr__gallery--desktop .acc-lhr__hero-media,
	.acc-lhr__gallery--mobile .acc-lhr__swiper-slide {
		opacity: 1;
	}
}
@media (max-width: 420px) {
	.acc-lhr {
		height: 43vh;
		min-height: 280px;
	}
	.acc-lhr__heading:not(.acc-lhr__heading--lead) {
		font-size: 23px !important;
		line-height: 28px !important;
		letter-spacing: -2px;
	}
	.acc-lhr.acc-lhr-intro-lead-visible .acc-lhr__heading--lead {
        font-size: 14px !important;
		line-height: 20px !important;
    }
}