/*
|--------------------------------------------------------------------------
| HERO
|--------------------------------------------------------------------------
*/

.publicacion-hero{
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: stretch;
	color: #fff;
}

.hero-overlay{
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
}

.hero-content{
	position: relative;
	z-index: 2;
	padding-top: 60px;
	padding-bottom: 20px;
	min-height: 100vh;
}

.hero-breadcrumb .breadcrumb{
	background: transparent;
}

.hero-breadcrumb .breadcrumb-item,
.hero-breadcrumb .breadcrumb-item a{
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 26px;
	color: #fff;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
	color: rgba(255,255,255,.7);
}

.hero-middle{
	margin-top: auto;
	margin-bottom: auto;
}

.hero-title{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 80px;
	line-height: 84px;
	color: #fff;
	text-transform: uppercase;
	margin: 0;
}

.hero-title strong{
	color: #49E32E;
}

.hero-bottom{
	margin-top: auto;
}

.hero-menu li{
	margin-bottom: 12px;
}

.hero-menu a{
	display: inline-flex;
	align-items: center;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	text-transform: uppercase;
	transition: .3s ease;
}

.hero-menu a:hover{
	color: #45E12B;
	text-decoration: none;
}

.hero-menu a span{
	display: inline-block;
	margin-right: 10px;
	opacity: .7;
}

/*
|--------------------------------------------------------------------------
| RESUMEN
|--------------------------------------------------------------------------
*/

.section-resumen{
	padding: 100px 0;
	background: #fff;
}

.section-title-green{
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 26px;
	text-transform: capitalize;
	color: #266A1B;
}

.resumen-content{
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 26px;
	color: #3D463B;
}

/*
|--------------------------------------------------------------------------
| HALLAZGOS
|--------------------------------------------------------------------------
*/

.section-hallazgos-editorial{
	position: relative;
	background: #f5f5f5;
}

.section-hallazgos-editorial .container{
	position: relative;
	z-index: 3;
}

/*
|--------------------------------------------------------------------------
| IMAGEN STICKY
|--------------------------------------------------------------------------
*/

.hallazgos-bg{
	position: sticky;
	top: 0;

	width: 100%;
	height: 100vh;

	overflow: hidden;

	z-index: 1;
}

.hallazgos-bg img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hallazgos-bg::after{
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.05);
}

/*
|--------------------------------------------------------------------------
| CONTENIDO ENCIMA
|--------------------------------------------------------------------------
*/

.section-hallazgos-editorial .container{
	margin-top: -100vh;
}

/*
|--------------------------------------------------------------------------
| TITULO STICKY
|--------------------------------------------------------------------------
*/

.hallazgos-sticky-col{
	position: relative;
}

.hallazgos-sticky-inner{
	position: sticky;
	top: 120px;
	z-index: 15;
}

.hallazgos-title-box{
	position: relative;
	display: inline-block;

	background: #3D463B;
	border-radius: 8px;

	padding: 42px 32px 32px;

	max-width: 320px;
}

.hallazgos-title-box::before{
	content: '';
	position: absolute;

	top: 22px;
	left: 34px;

	width: 85px;

	border-top: 2px solid #45E12B;
}

.hallazgos-title-box h2{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 60px;
	text-transform: uppercase;
	color: #FFFFFF;
	margin: 0;
}

/*
|--------------------------------------------------------------------------
| WRAPPER
|--------------------------------------------------------------------------
*/

.hallazgos-cards-wrapper{
	padding-top: 120px;
	padding-bottom: 120px;
}

/*
|--------------------------------------------------------------------------
| CARDS
|--------------------------------------------------------------------------
*/

.hallazgo-card{
	position: relative;

	background: #3D463B;

	border-radius: 8px;

	padding: 36px;

	margin-bottom: 75vh;

	max-width: 760px;

	margin-left: auto;

	box-shadow: 0 20px 40px rgba(0,0,0,.2);

	transform: translateY(40px);

	transition:
		transform .6s ease,
		opacity .6s ease;

	will-change: transform, opacity;
}

/* Estado inicial SOLO antes de aparecer */
.hallazgo-card.reveal-init{
	opacity: 0;
}

/* Estado visible */
.hallazgo-card.in-view{
	opacity: 1;
	transform: translateY(0);
}

/* Primera card visible inmediatamente */
.hallazgo-card:first-child{
	opacity: 1;
	transform: scale(1);
}


.hallazgo-card:last-child{
	margin-bottom: 20vh;
}

.hallazgo-number{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 100%;
	color: #45E12B;

	margin-bottom: 20px;
}

.hallazgo-content{
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 26px;
	color: #FFFFFF;
}

.hallazgo-content p{
	color: #fff;
}

.hallazgo-content p:last-child{
	margin-bottom: 0;
}

/*
|--------------------------------------------------------------------------
| DATOS CLAVE
|--------------------------------------------------------------------------
*/

.section-datos-clave{
	position: relative;

	padding: 120px 0;

	background-image: url('../images/fondo-ondulado.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	overflow: hidden;
}

.section-datos-clave .container{
	position: relative;
	z-index: 2;
}

.datos-title{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 48px;
	line-height: 60px;
	color: #fff;
	text-transform: uppercase;
}

.dato-card{
	background: rgba(61,70,59,.92);

	border: 1px solid rgba(255,255,255,.05);

	backdrop-filter: blur(4px);

	border-radius: 8px;

	padding: 40px 30px;

	height: 100%;

	transition: .3s ease;
}

.dato-card:hover{
	transform: translateY(-4px);
}

.dato-numero{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 56px;
	line-height: 1;
	color: #45E12B;
	margin-bottom: 24px;
}

.dato-texto{
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	color: #fff;
}

/*
|--------------------------------------------------------------------------
| FAQS
|--------------------------------------------------------------------------
*/

.section-faqs{
	padding: 120px 0;
	background: #fff;
}

.faq-main-title{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1.1;
	color: #262C25;
	text-transform: uppercase;
	margin-bottom: 60px;
}

.faq-item{
	border-bottom:1px solid rgba(45,131,32,.15);
	transition:all .3s ease;
}

.faq-item:has(.collapse.show){
	background:rgba(45,131,32,.05);
	padding:0 1rem;
}

.faq-button{
	width:100%;
	display:flex;
	align-items:center;
	justify-content:space-between;
	padding:1.5rem 0;
	background:none;
	border:none;
	text-align:left;
	transition:all .3s ease;
}

.faq-button:focus{
	outline: none;
}

.faq-question{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 34px;
	color: #3F3F3F;
	transition: .3s ease;
}

.faq-button[aria-expanded="true"] .faq-question{
	color: #2D8320;
}

.faq-icon{
	width: 34px;
	height: 34px;
	border: 1px solid #707070;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after{
	content: '';
	position: absolute;
	background: #707070;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: .3s ease;
}

.faq-icon::before{
	width: 12px;
	height: 2px;
}

.faq-icon::after{
	width: 2px;
	height: 12px;
}

.faq-button[aria-expanded="true"] .faq-icon::after{
	opacity: 0;
}

.faq-body{
	padding:0 0 1.5rem;

	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 30px;
	color: #707070;
}

/*
|--------------------------------------------------------------------------
| RELACIONADOS
|--------------------------------------------------------------------------
*/

.related-section{
	padding-bottom: 100px;
}

.related-title{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	font-size: 64px;
	line-height: 1.1;
	color: #3D463B;
	text-transform: uppercase;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE TABLET + MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width: 991px){

	.publicacion-hero{
		min-height: auto;
	}

	.hero-content{
		padding-top: 40px;
		padding-bottom: 40px;
		min-height: auto;
	}

	.hero-title{
		font-size: 48px;
		line-height: 52px;
		margin: 60px 0;
	}

	/*
	|--------------------------------------------------------------------------
	| HALLAZGOS MOBILE
	|--------------------------------------------------------------------------
	*/

	.hallazgos-bg{
		position: sticky;
		top: 0;

		width: 100%;
		height: 100vh;

		overflow: hidden;
	}

	.section-hallazgos-editorial .container{
		margin-top: -100vh;
	}

	.hallazgos-sticky-inner{
		position: relative;
		top: auto;
	}

	.hallazgos-title-box{
		max-width: 100%;
		margin-bottom: 60px;
	}

	.hallazgos-title-box h2{
		font-size: 36px;
		line-height: 42px;
	}

	.hallazgos-cards-wrapper{
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.hallazgo-card{
		margin-bottom: 70vh;

		opacity: 1;
		transform: none;

		max-width: 100%;
	}

	.hallazgo-card:last-child{
		margin-bottom: 10vh;
	}

	/*
	|--------------------------------------------------------------------------
	| DATOS CLAVE
	|--------------------------------------------------------------------------
	*/

	.section-datos-clave{
		padding: 90px 0;
	}

	.datos-title{
		font-size: 40px;
		line-height: 46px;
	}

	/*
	|--------------------------------------------------------------------------
	| TITLES
	|--------------------------------------------------------------------------
	*/

	.related-title,
	.faq-main-title{
		font-size: 40px;
		line-height: 46px;
	}

}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width: 767px){

	.section-resumen,
	.section-datos-clave,
	.section-faqs{
		padding: 70px 0;
	}

	.hero-title{
		font-size: 38px;
		line-height: 42px;
	}

	.hero-buttons{
		justify-content: flex-start !important;
		margin-top: 30px;
	}

	/*
	|--------------------------------------------------------------------------
	| HALLAZGOS
	|--------------------------------------------------------------------------
	*/

	.hallazgos-title-box{
		padding: 34px 24px 24px;
		margin-bottom: 40px;
	}

	.hallazgos-title-box::before{
		left: 24px;
		width: 60px;
	}

	.hallazgos-title-box h2{
		font-size: 28px;
		line-height: 34px;
	}

	.hallazgo-card{
		padding: 24px;
	}

	.hallazgo-content{
		font-size: 16px;
		line-height: 24px;
	}

	/*
	|--------------------------------------------------------------------------
	| DATOS CLAVE
	|--------------------------------------------------------------------------
	*/

	.section-datos-clave{
		padding: 70px 0;
		background-position: center;
	}

	.datos-title{
		font-size: 32px;
		line-height: 38px;
	}

	.dato-card{
		padding: 28px 24px;
	}

	.dato-numero{
		font-size: 42px;
		margin-bottom: 18px;
	}

	.dato-texto{
		font-size: 15px;
		line-height: 22px;
	}

	/*
	|--------------------------------------------------------------------------
	| FAQ
	|--------------------------------------------------------------------------
	*/

	.faq-question{
		font-size: 18px;
		line-height: 28px;
	}

	/*
	|--------------------------------------------------------------------------
	| TITLES
	|--------------------------------------------------------------------------
	*/

	.related-title,
	.faq-main-title{
		font-size: 32px;
		line-height: 38px;
	}

}