main{
	--mdb-primary: #101f49;
	--mdb-secundary: #c6727f;
}

html {
	scroll-behavior: smooth;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */

@keyframes subir-bajar {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes moveToFrame {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	100% {
		transform: translate(0, -10px) rotate(-6deg);
	}
}

/* ==========================================================================
   SECCIONES PRINCIPALES
   ========================================================================== */

#section2 {
	max-height: 45.732rem !important;
}

#section3 {
	max-height: 42.115rem !important;
}

#section4 {
	max-height: 41rem !important;
}

#section5 {
	max-height: 41rem !important;
}

/* ==========================================================================
   CONTENEDORES Y LAYOUT
   ========================================================================== */

#section2 .container,
#section3 .container,
#section4 .container,
#section5 .container {
	gap: 4rem !important;
}

.container p {
	font-weight: 300 !important;
	font-size: 1rem !important;
}

#section2 .container p span,
#section3 .container p span,
#section4 .container p span,
#section5 .container p span {
	font-weight: 600 !important;
}

/* ==========================================================================
   TÍTULOS Y TEXTOS
   ========================================================================== */

.sub_title {
	color: var(--mdb-primary);
	text-align: center !important;
	font-family: Alexandria !important;
	font-style: normal !important;
	font-weight: 400 !important;
	font-size: 1.556rem !important;
	line-height: 2.222rem !important;
}

.content-1 {
	max-width: 700px !important;
}

.content-1 span {
	font-size: 1rem !important;
	font-weight: 400;
	line-height: 2rem !important;
	color: var(--mdb-secondary);
}

/* Tarjetas individuales */
.card-1 {
	left: 3.85rem !important;
	position: relative !important;
	z-index: 0 !important;
	transition: transform 450ms ease-in-out;
}

.card-1:hover {
	transform: translate(0, -10px) rotate(-6deg);
}

.card-2 {
	position: relative !important;
	top: 10px !important;
	z-index: 1 !important;
	transition: transform 450ms ease-in-out;
}

.card-2:hover {
	transform: translate(0, 10px) rotate(6deg);
}

.card-3 {
	right: 3.85rem !important;
	position: relative !important;
	z-index: 0 !important;
	transition: transform 450ms ease-in-out;
}

.card-3:hover {
	transform: translate(0, -10px) rotate(-6deg);
	color: rgb(19, 19, 41, 0.9);
}



/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn-style,
.btn-style-blue,
.btn-style-rose {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 7.389rem !important;
	height: 2.167rem !important;
	padding: 0px !important;
	/*margin: 0px !important;*/
	gap: 0.625rem !important;
	border-radius: 32px !important;
	font-size: 0.889rem !important;
	color: white !important;
	background-color: var(--mdb-primary);
	transition: all 0.3s ease-in-out !important;
}

.btn-style-blue {
	background-color: var(--mdb-secondary) !important;
	border: 3px solid var(--mdb-secondary) !important;
}

.btn-style-rose {
	background-color: var(--mdb-primary) !important;
	border: 3px solid var(--mdb-primary) !important;
}

.btn-style span {
	font-size: 0.889rem !important;
	color: white !important;
}

/* Estados hover de botones */
.btn-style:hover,
.btn-style-blue:hover,
.btn-style-rose:hover {
	background-color: transparent !important;
}

.btn-style-blue:hover span {
	color: var(--mdb-secondary) !important;
}

.btn-style-rose:hover span {
	color: var(--mdb-primary) !important;
}

/* ==========================================================================
   ELEMENTOS CON ANIMACIÓN
   ========================================================================== */

.arrow-animation {
	animation: subir-bajar 2s ease-in-out infinite;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE SECCIONES (extraídos del HTML inline)
   ========================================================================== */



/* Secciones 2, 3, 4, 5 - contenedores específicos */
#section2 .container, #section3 .container, #section4 .container, #section5 .container {
	gap: 4.6rem !important;
}

/* Section 6 */
#section6 .container {
	max-width: 66.167rem !important;
	gap: 3.125rem !important;
}

#section6 .container h2 {
	font-weight: 700 !important;
}

#section6 .d-flex {
	gap: 1rem !important;
	align-self: stretch;
}

#section6 .col:nth-child(1) {
	max-width: 14.625rem !important;
}

#section6 .col:nth-child(2) {
	max-width: 14.625rem !important;
}

#section6 .col:nth-child(3) {
	max-width: 18.0625rem !important;
}

/* Section 7 */
#section7 {
	gap: 1rem !important;
}

#section7 .container {
	max-width: 66.167rem !important;
	gap: 2rem !important;
}

#section7 .container p {
	max-width: 35.75rem !important;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE ELEMENTOS
   ========================================================================== */



/* ==========================================================================
   FONDOS RESPONSIVOS
   ========================================================================== */

/* DESKTOP (por defecto - mantener las imágenes actuales) */
.bg-image {
	background-image: url("../../../assets/img/web/dia-mundial/bg.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}



/** VIDEO Y MODAL */
/* Estilos para modal único de videos verticales */
#verticalVideoModal .modal-dialog {
	width: auto;
	max-width: 60vw; /* Máximo 60% del ancho de pantalla para videos verticales */
	height: 90vh;
	margin: 5vh auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

#verticalVideoModal .modal-content {
	width: auto;
	height: auto !important;
	border: none;
	background: transparent;
}

#verticalVideoModal .modal-body {
	height: auto !important;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	width: auto;
	overflow: hidden; /* Evitar cualquier scroll interno */
}

/* Evitar scroll en modales verticales */
#verticalVideoModal.modal {
	overflow: hidden;
}

#verticalVideoModal .modal-dialog {
	overflow: hidden;
}

body.modal-open {
	overflow: hidden !important;
	padding-right: 0 !important;
}

#verticalVideoModal video {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

#verticalVideoModal .modal-header {
	padding: 10px 15px;
	min-height: 60px;
}



/* Estilos generales para videos en modales */
.video-modal .modal-body {
	height: calc(100vh - 120px);
}

.video-modal video {
	height: 100%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

/* ==========================================================================
    MEDIA QUERIES
   ========================================================================== */
/* MOBILE (hasta 767px) */

@media screen and (max-width: 767px) {
	
	#section1,
	#section2,
	#section3,
	#section4,
	#section5,
	#section6,
	#section7 {
		scroll-margin-top: var(--header-height-sm) !important;
	}

}

@media (min-width: 576px) {
	#section1,
	#section2,
	#section3,
	#section4,
	#section5,
	#section6 {
		scroll-margin-top: var(--header-height-sm) !important;
	}
}

@media (min-width: 768px) {
	#section1,
	#section2,
	#section3,
	#section4,
	#section5,
	#section6 {
		scroll-margin-top: var(--header-height-md) !important;
	}

}

@media (min-width: 992px) {

	#section1,
	#section2,
	#section3,
	#section4,
	#section5,
	#section6,
	#section7 {
		scroll-margin-top: var(--header-height-lg) !important;
	}

}

@media (min-width: 1200px) {
	#section1,
	#section2,
	#section3,
	#section4,
	#section5,
	#section6,
	#section7 {
		scroll-margin-top: var(--header-height-xl) !important;
	}
}



.dia-mundial-intro, .dia-mundial-intro *{
	text-align: left !important;
}

.pink{
	color: var(--mdb-secundary);
}

.abre-los-ojos{
	max-width: 100%;
	margin-top:16px;
	margin-bottom:16px;
}

.hero{
	position: absolute;
    top: 50%;
    right: 0px;
    width: 40%;
    transform: translateY(calc(-50% + 60px));
	min-width: 400px;
}

@media screen and (max-width: 767px) {
	
	.hero{
		display: none;
	}

}

#section1 {
	margin-top:0px !important;

	> *{
		position: relative;
		z-index: 1;
	}
}
#section1::before, #section2::before, #section3::before, #section4::before, #section5::before {
	content: "";
	background: rgba(0,0,0,0.16);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 0px;
    left: 0px;
}

#section1 > *, #section2 > *, #section3 > *, #section4 > *, #section5 > *{
	position: relative;
	z-index: 1;
}

#section2, #section3, #section4, #section5{
	display: none !important;
}

body:has(#section2:target, #section3:target, #section4:target, #section5:target) #section1{
	display: none !important;
}

#section2:target, #section3:target, #section4:target, #section5:target{
	display: block !important;
}


.closeBtn{
	position: absolute !important;
	top:32px;
	right:32px;
	width:80px;
	height:80px;
}

.closeBtn img{
	width:80px;
	height:80px;
}


.thumb{
	width: 100%;
}

#content-images{

	display:grid;
	grid-template-columns: 50% 50%;
	grid-row: auto auto;
	grid-column-gap: 20px;
	grid-row-gap: 20px;

	img{
		width: 100%;
	}
}

.section-dudas{

	color: var(--mdb-secundary) !important;
	*:not(button, button *){color: var(--mdb-secundary) !important;}

	button, .btn-style-rose{
		color:#fff !important;;
		background: var(--mdb-secundary) !important;
		border: 3px solid var(--mdb-secundary) !important;
	}

}
.section-saber{

	background: var(--mdb-secundary);

	color:#fff !important;
	*:not(button, button *){color:#fff !important;}

	button, .btn-style-rose{
		color:var(--mdb-secundary) !important;;
		background: #fff !important;
		border: #fff !important;
	}

}

#section2 *, #section3 *, #section4 *, #section5 *{
	text-align: center;
}
#section2 button, #section3 button, #section4 button, #section5 button{
	display: block !important;
	margin:auto auto !important;
}

button.disabled{
	opacity: 0.2 !important;
	cursor: not-allowed !important;
	pointer-events: none;
}

#section2, #section3, #section4, #section5 {
    max-height: none !important;
}