/* RESET */
* {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; box-sizing: border-box;} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;} body {line-height: 1;} a {text-decoration:none;} ol, ul {list-style: none;} *:active, *:focus {border: none; outline: none;} strong {font-weight: bold;} em {font-style: italic;}
/* RESET */

@font-face {
	font-family: 'Montserrat-Regular';
	src: url('fonts/Montserrat-Regular.eot');
	src: url('fonts/Montserrat-Regular.eot') format('embedded-opentype'),
		 url('fonts/Montserrat-Regular.woff') format('woff'),
		 url('fonts/Montserrat-Regular.ttf') format('truetype'),
		 url('fonts/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
	font-display: swap;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
	background-position: 0 0;
	background-size: auto;
	background-repeat: repeat;
	background-attachment: fixed;
	background-color: transparent;
	background-image: url(images/BG-TEXTURE.jpg);
}

main {
	height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scrollbar-width: thin;
}
main > section {
	scroll-snap-align: start;
}

.container {
	width: min(100%, 800px);
	padding: 0 1rem;
	margin: 0 auto;
}

button {
	background-color: transparent;
}

/* HEADER */
header {
	width: min(100%, 1350px);
	/* padding: 0.8rem 1.8rem 0.8rem 0.9rem; */
	padding: 2rem 3.6rem 2rem 1.8rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
	background-position: 0 0;
	background-size: auto;
	background-repeat: repeat;
	background-color: transparent;
	background-image: url(images/BG-TEXTURE.jpg);
	/* box-shadow: 0 0 0 rgba(0, 0, 0, 0.2); */
	/* transition: box-shadow 0.3s ease; */
	transition: all 0.3s ease;
}
/* header.scrolled, 
.menu-open header {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
} */
/* .menu-open header {
	background-color: #fff;
	background-image: none;
} */
header #logo-header {
	width: min(47%, 240px);
	display: block;
}
header #logo-header svg {
	width: 100%;
	height: 100%;
}

header #btn-menu {
	width: 30px;
	height: 30px;
	cursor: pointer;
	position: relative;
	z-index: 30;
	border: none;
	background: none;
}
header .hamburger,
header .hamburger::after,
header .hamburger::before {
	width: 100%;
	height: 4px;
	border-radius: 6px;
	background-color: #2C879F;
}
header .hamburger {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	pointer-events: none;
	transition: background-color .15s ease;
}
header .hamburger::after,
header .hamburger::before {
	content: "";
	position: absolute;
	left: 0;
	transition: all .3s ease;
}
header .hamburger::after {
	top: -10px;
}
header .hamburger::before {
	bottom: -10px;
}
body.menu-open header .hamburger {
	background-color: transparent;
}
/* body.menu-open header .hamburger::after,
body.menu-open header .hamburger::before {
	background-color: var(--brand-color);
} */
body.menu-open header .hamburger::after {
	top: 50%;
	transform: rotate(45deg) translateY(-50%);
}
body.menu-open header .hamburger::before {
	bottom: 50%;
	transform: rotate(-45deg) translateY(50%);
}

/* MENU */
menu {
	width: 100%;
	height: 0;
	overflow: hidden;
	background-color: #fff;
}
menu #wrapper-menu {
	width: 100%;
	/* padding: 2rem 1.2rem 3rem 6rem; */
	padding: 2rem 1.2rem 3rem 1.2rem;
	text-align: center;
	background-size: auto;
	background-position: top;
	background-repeat: repeat;
	background-image: url(images/BG-POPUPS.gif);
}
menu .menu-link {
	/* font-size: 2rem; */
	font-size: clamp(1rem, 2vw, 2rem);
	color: #fff;
	line-height: 1.4;
	cursor: pointer;
	background-color: transparent;
}
menu li + li {
	margin-top: 1.2rem;
}




section {
	width: min(100%, 1020px);
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	margin: 0 auto;
}
section + section:not(.detalle) {
	margin-top: 2.5rem;
}
section .section-top {
	position: relative;
	z-index: 5;
}
section .animated-title {
	padding: 0 1rem;
	margin-bottom: 1.25rem;
	position: sticky;
	/* top: 4.5rem; */
	top: 5rem;
	left: 0;
	font-size: 2rem;
	text-align: center;
	opacity: 0;
	z-index: 9;
}
section .animated-title img {
	max-width: 100%;
}
section p {
	font-size: 1.25rem;
	line-height: 1.4;
}

.btn-next-section {
	padding: 0.3rem 0.6rem;
	margin: 1.25rem auto 0;
	display: block;
	cursor: pointer;
	background-color: transparent;
}
.btn-next-section > * {
	pointer-events: none;
}

.wrapper-animated-elms {
	position: relative;
}


.wrapper-animated-elms .animated-elm {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	opacity: 0;
}
.wrapper-animated-elms .animated-elm.main-bkg {
	position: relative;
	z-index: 0;
}

/* SECTION DETALLE */
section.detalle .wrapper-inner-section {
	width: 100%;
	max-width: unset;
	margin: 0 auto;
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	justify-items: center;
	align-items: center;
}
section.detalle .wrapper-inner-section img {
	max-width: 110%;
	grid-column: 1 / -1;
	grid-row: 1 / -1;
}
section.detalle .wrapper-inner-section img.img-bullets {
	max-width: calc(100% - 1.5rem);
	position: relative;
	top: 1rem;
	opacity: 0;
}
section.detalle .wrapper-inner-section img.bkg-bullets {
	max-width: 150%;
}

section.detalle h3 {
	width: 100%;
	margin-top: 1.2rem;
	margin-bottom: 0.6rem;
	text-align: center;
}
section.detalle h3 img {
	max-width: 100%;
}



/* DISTRITO */
.section-distrito {
	padding-top: 1.25rem;
}
.section-distrito .wrapper-data {
	height: calc(12dvh + 5rem);
	position: relative;
	overflow: hidden;
}
.section-distrito .btn-next-section {
	padding-top: 0;
	margin-top: 0.5rem;
}
.section-distrito .section-bottom {
	/* width: 125%; */
	width: 110%;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	transition: width 0.3s ease;
}
.section-distrito.active .section-bottom {
	width: 100%;
}

/* INDICE */
.section-index {
	width: 100%;
}
.section-index .animated-title {
	padding-bottom: 0.2rem;
	position: relative;
}
.section-index .wrapper-txt {
	margin-bottom: 1rem;
}
.section-index .wrapper-txt p {
	/* font-size: clamp(1.05rem, 2.8vw, 1.6rem); */
	text-align: center;
}
.section-index #wrapper-index-btns {
	padding: 0 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 2rem;
	column-gap: 4rem;
}
.section-index #wrapper-index-btns button {
	width: 100%;
	max-width: 210px;
	position: relative;
	cursor: pointer;
}
.section-index #wrapper-index-btns button img {
	width: 100%;
	position: relative;
	pointer-events: none;
}
.section-index #wrapper-index-btns button img:first-child {
	top: 0;
	transition: top 0.3s ease;
}
.section-index #wrapper-index-btns button:hover img:first-child {
	top: -10px;
}
.section-index .wrapper-texto-click {
	margin-top: 1.5rem;
}
.section-index #img-texto-click-mobile, 
.section-index .wrapper-texto-click > img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
}
.section-index .wrapper-texto-click > img {
	width: min(100%, 358px);
}
.section-index #img-texto-click-mobile {
	max-width: 60%;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	display: none;
}

/* INNOVACIÓN */
.section-innovacion .wrapper-animated-elms .animated-elm:nth-child(1) {
	z-index: 3;
}

/* DESCARGAR INFORME */
.section-descargar {
	width: 100%;
	background-size: auto;
	background-position: top;
	background-repeat: repeat;
	background-color: transparent;
	background-image: url(images/BG-POPUPS.gif);
}
section.section-descargar .animated-title {
	position: relative;
}



.section-top .wrapper-data p + p {
	margin-top: 1.5rem;
}



section.detalle .wrapper-btns-detalle {
	width: min(100%, 320px);
	margin: 1.5rem auto 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	/* justify-content: space-between; */
	justify-content: center;
	column-gap: 2rem;
}
section.detalle .wrapper-btns-detalle .btn-trigger-modal {
	/* width: 83px; */
	width: 58px;
	border-radius: 100%;
	aspect-ratio: 1;
	cursor: pointer;
	background-color: transparent;
}
section.detalle .wrapper-btns-detalle .btn-trigger-modal * {
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* DOWN ARROW DESCARGAR */
#btn-down-arrow-descarga {
	width: 64px;
	position: fixed;
	right: 1.5rem;
	bottom: 1rem;
	z-index: 9;
	cursor: pointer;
}
@media (min-width: 769px) {
	#btn-down-arrow-descarga {
		width: 96px;
	}
}
#btn-down-arrow-descarga img {
	width: 100%;
	pointer-events: none;
}

/* MODAL DETALLE */
.modal-wrapper {
	width: 100%;
	height: 0;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: max-content;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: -10;
	background-image: url(images/BG-POPUPS.gif);
	background-repeat: repeat;
	background-position: top;
	background-size: auto;
	background-color: #fff;

	overflow: hidden;
	scrollbar-width: thin;
}
.modal-wrapper.opinion {
	background-repeat: repeat-x;
	background-image: url(images/BG-POPUP-OPINION.png);
}
/* .modal-wrapper .modal-header {
	width: 100%;
	padding: 1.2rem 1.2rem 2.4rem 1.2rem;
	position: relative;
	background-position: 0 0;
	background-size: auto;
	background-repeat: repeat;
	background-color: transparent;
	background-image: url(images/BG-TEXTURE.jpg);
}
.modal-wrapper .modal-header img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
} */
.modal-wrapper .modal-container {
	/* display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between; */
	/* padding: 1.5rem; */
	padding: 1.5rem 2vw 1.5rem 1vw;
	padding-top: 0;
	position: relative;
	/* align-content: center; */

	/* display: grid;
	grid-template-columns: 7vw auto 7vw; */
}
.modal-wrapper .slider-modal {
	height: 100%;
	position: relative;
	/* display: flex;
	flex-shrink: 0;
	flex-wrap: nowrap; */
}
.modal-wrapper .slider-modal .slide {
	/* max-width: 100%; */
	width: 100%;
	margin: 0 auto;
	display: block;
	position: absolute;
	/* top: 1.5rem; */
	top: 0;
	left: calc(50% - 1rem);
	z-index: -1;
	opacity: 0;
	transform: translateX(-50%);
	/* transition: all 0.3s ease; */
	transition: 
		opacity 0.4s ease,
		left 0.3s ease-out
	;
}
.modal-wrapper .slider-modal .slide.active {
	/* position: relative;
	left: 0; */
	left: 50%;
	z-index: 1;
	opacity: 1;
}
.modal-wrapper .slider-modal .slide img {
	max-width: 100%;
	margin: 0 auto;
	display: block;
}
.modal-wrapper .nav-arrow {
	width: 5rem;
	aspect-ratio: 1;
	cursor: pointer;
	/* align-self: center; */
	background-color: transparent;
	position: absolute;
	top: 50%;
	z-index: 11;
	transform: translateY(-50%);
}
.modal-wrapper .nav-arrow.nav-left {
	left: 0;
}
.modal-wrapper .nav-arrow.nav-right {
	right: 0;
}
.modal-wrapper .nav-arrow img {
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.btn-close-modal {
	width: 3rem;
	/* position: absolute; */
	position: sticky;
	top: 1rem;
	right: 1rem;
	/* z-index: 10; */
	z-index: 12;
	justify-self: end;
	aspect-ratio: 1;
	cursor: pointer;
}
.btn-close-modal > * {
	width: 100%;
	height: 100%;
	pointer-events: none;
}




/* min-width */
@media (min-width: 769px) {
	.section-index .animated-title img {
		width: 100%;
		max-width: 514px;
	}
}


/* max-width */
@media (max-width: 768px) {
	section p {
		font-size: 1.0625rem;
		line-height: 1.2;
	}
	
	.wrapper-animated-elms {
		transform: scale(1.15);
	}

	.section-index .wrapper-texto-click > img {
		display: none;
	}
	.section-index #img-texto-click-mobile {
		display: block;
	}

	section.detalle {
		padding-top: 1rem;
	}
	section.detalle .wrapper-inner-section img.img-bullets {
		max-width: 80vw;
	}

	.section-distrito {
		padding-top: 1rem;
	}
	.section-distrito p {
		line-height: 1.15;
	}
	.section-distrito .wrapper-animated-elms {
		transform: scale(1.1);
	}
	.section-distrito .btn-next-section {
		padding-bottom: 0;
		margin-top: 0.5rem;
	}

	.modal-wrapper .nav-arrow {
		width: 3.75rem;
	}
}
@media (max-width: 520px) {
	.wrapper-animated-elms {
		transform: scale(1.25);
	}

	.section-index #wrapper-index-btns button {
		max-width: calc(50% - 2rem);
	}
}