@font-face {
	font-family: "Agrandir";
	src: url("../font/Agrandir.otf") format("opentype");
}
@font-face {
	font-family: "Kollektif";
	src: url("../font/Kollektif.ttf") format("truetype");
}

body {
	background-color: rgb(53, 51, 51);
	margin: 0;
	padding: 0;
	padding-top: var(--nav-h);
	font-family: "Agrandir", sans-serif;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

:root {
	--verde: #02735f;
	--naranjo: #ff5c00;
	--hverde: #02735f7d;
	--hnaranjo: #ff5c0069;
	--nav-h: 80px;
}

.centrado {
	display: block;
	margin: 0 auto;
	text-align: center;
}
.btn-naranjo {
	text-transform: uppercase;
	font-family: "Kollektif", sans-serif;
	text-decoration: none;
	padding: 12px 25px;
	background-color: var(--naranjo);
	border-radius: 30px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
	transition: all 0.3s ease;
}

.btn-naranjo:hover {
	background-color: var(--hnaranjo);
	color: #fff;
}

.btn-outline-naranjo {
	color: var(--naranjo);
	border: 1px solid var(--naranjo);
	background-color: transparent;
	font-weight: 800;
	transition: all 0.3s ease;
}
.btn-outline-naranjo:hover {
	background-color: var(--naranjo);
	color: #fff;
}

.btn1 {
	text-transform: uppercase;
	font-family: "Kollektif", sans-serif;
	text-decoration: none;
	padding: 12px 25px;
	border-radius: 30px;
	font-size: 1.1rem;
	font-weight: 800;
	display: block;
	text-align: center;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.verde {
	background-color: var(--verde);
	color: #fff;
	transition: all 0.3s ease;
}
.verde:hover {
	background-color: var(--hverde);
}
.naranjo {
	background-color: var(--naranjo);
	color: #fff;
	transition: all 0.3s ease;
}
.naranjo:hover {
	background-color: var(--hnaranjo);
}

.btn {
	text-transform: uppercase;
}

.justifica {
	text-align: justify;
}
.heros {
	background: url("../img/portadafull.jpg") no-repeat center center;
	background-size: cover;
}

/* HERO */
.hero {
	min-height: 100vh;

	position: relative;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	padding: 20px;
}

.hero .lead {
	text-transform: uppercase;
}
/* Texto naranjo al lado del logo */
.tagline {
	background: var(--naranjo);
	color: #fff;
	display: inline-block;
	padding: 8px 20px;
	font-weight: bold;
	font-family: "Agrandir", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 1px;
	align-self: center;
}
.logo-tagline {
	width: 100%;
}

.logo-main {
	max-width: 800px;
	width: 100%;
	/* display: block; */
	margin: 0 auto;
}

/* Contenedor de la línea y el texto */
.tagline-wrapper {
	position: relative;
	width: 100%;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 3rem;
}

.hero p {
	margin-bottom: 3rem;
}

/* Línea blanca */
.tagline-line {
	border: none;
	border-top: 2px solid #fff;
	width: 100%; /* atraviesa la mitad de la pantalla */
	margin: 0 auto;
	position: relative;
	top: 22px;
	z-index: 1;
}

/* Texto naranja sobre la línea */
.tagline {
	background: var(--naranjo);
	color: #fff;
	display: inline-block;
	padding: 4px 4px 0px 9px;
	font-weight: bold;
	font-family: "Agrandir", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 7px;

	position: relative;
	z-index: 2; /* para que quede por encima de la línea */
}
nav {
	border-bottom: 2px solid #e9ecef4d;
}
.site-navbar,
.navbar-nav {
	text-transform: uppercase;
	font-family: "Agrandir", sans-serif;
}

.navbar-nav a {
	color: #fff;
	font-weight: 800 !important;
}

.navbar {
	min-height: var(--nav-h);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	background-color: rgba(15, 21, 24, 0.95) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
	background-color: rgba(15, 21, 24, 0.98) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
	min-width: 80px;
}

.site-navbar .container-fluid {
	padding-left: 1rem;
	padding-right: 1rem;
	position: relative;
}

.navbar-nav .nav-link {
	padding-left: 0.85rem;
	padding-right: 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--naranjo);
}

.navbar-toggler {
	border-color: rgba(255, 255, 255, 0.2);
	margin-right: 0;
}

.navbar-toggler:focus {
	box-shadow: 0 0 0 0.2rem rgba(255, 92, 0, 0.25);
}

@media (max-width: 991.98px) {
	body {
		padding-top: 72px;
	}

	.navbar {
		min-height: 72px;
	}

	.site-navbar {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100vw;
	}

	.site-navbar .navbar-brand {
		margin-right: 4rem;
	}

	.site-navbar .navbar-toggler {
		position: absolute;
		top: 50%;
		right: 1rem;
		transform: translateY(-50%);
		z-index: 1051;
	}

	.navbar-collapse {
		width: 100%;
		margin-top: 0.75rem;
		padding: 0.75rem 0;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.navbar-nav .nav-link {
		padding-top: 0.7rem;
		padding-bottom: 0.7rem;
	}
}

/* Botones principales */
.btn-custom {
	border-radius: 30px;
	padding: 10px 25px;
	margin: 10px;
	font-weight: bold;
}

/* BOTONES EXTRA */
.extra-buttons {
	background: url("../img/portada2.jpg") no-repeat center center;
	background-size: cover;
	padding: 100px 20px;
	color: #fff;
}

.extra-btn {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 10rem;
}

.extra-btn img {
	width: 12rem;
	height: auto;
	margin-bottom: 15px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* EXPLORA */
#explora {
	background-image: url(../img/explora.jpg);
	background-size: cover;
	color: #fff;
}
#observatorio,
#quienes {
	background-image: url(../img/obervatorio.png);
	background-size: cover;
	color: #fff;
}
#participar {
	background-image: url(../img/participar.jpg);
	background-size: cover;
	color: #fff;
}

#investigacion {
	background-image: url(../img/investigacion.jpg);
	background-size: cover;
	color: #fff;
}

#blog,
#colaboradores {
	position: relative;
	background-image: url(../img/footer.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
}

#blog::before,
#colaboradores::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 12, 16, 0.6), rgba(5, 12, 16, 0.28), rgba(5, 12, 16, 0.58));
	pointer-events: none;
}

#blog > .container,
#colaboradores > .container {
	position: relative;
	z-index: 1;
}

#observatorio p,
#participar p,
#observatorio ul {
	font-size: 1.3rem;
	margin-bottom: 3rem;
}

#participar p {
	margin-top: 4rem !important;
	margin-bottom: 7rem;
}

#observatorio h3 {
	font-size: 1.4rem;
	font-weight: 700;
	text-decoration: underline;
	margin-bottom: 1.5rem;
}

#quienes img {
	width: 90%;
	display: block;
	margin: 0 auto;
}
#quienes h3 {
	font-family: "Kollektif", sans-serif;
	margin: 0 auto;
	text-align: center;
	margin-bottom: 1rem;
}

#quienes p {
	font-size: 1.1rem;
	text-align: justify;
	margin-bottom: 2px;
}

.social-icons a {
	color: #fff;
	font-size: 2.5rem;
	padding: 2px;
	transition: 5ms;
}

.social-icons a:hover {
	color: #ffffff85;
}

#footer {
	background-image: url(../img/footer.jpg);
	background-size: cover;
	/* height: 70vh; */
}

#quienes,
#investigacion,
#explora,
#footer {
	scroll-margin-top: 90px;
}
/* Media Query para móviles pequeños (máximo 480px) */
@media screen and (max-width: 480px) {
	.site-navbar .container-fluid {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.site-navbar .navbar-toggler {
		right: 0.75rem;
	}
	.logo_footer {
		width: 9rem;
	}
}

#investigacion h3 {
	margin-top: 3rem;
	text-transform: uppercase;
	font-family: "Kollektif", sans-serif;
}

#investigacion p {
	font-size: 1.2rem;
	font-weight: 100;
}

.borde_derecha {
	border-radius: 0px 25px 25px 0px;
	border-color: #ffffffa8;
	border-width: 1px 1px 1px 0px;
	border-style: solid;
	margin: 15px 0px;
	padding-right: 30px;
}

.borde_izquierda {
	border-radius: 25px 0px 0px 25px;
	border-color: #ffffffa8;
	border-width: 1px 0px 1px 1px;
	border-style: solid;
	margin: 15px 0px;
	padding-left: 30px;
}

.footer-logo {
	margin-top: 30px;
	height: 6rem;
	width: auto;
}

.logo2 {
	height: 5rem;
	width: 15rem;
}

.social-icons {
	margin-top: 9rem;
}

.footer-section {
	position: relative;
	background-image: url(../img/footer.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #060d11;
}

.footer-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 12, 16, 0.42), rgba(5, 12, 16, 0.18), rgba(5, 12, 16, 0.4));
	pointer-events: none;
}

.footer-section > .container {
	position: relative;
	z-index: 1;
}

.footer-brand-block,
.footer-info-block {
	color: #fff;
}

.footer-contact-card,
.footer-info-panel {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 1.5rem;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.footer-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
	color: #ffb37f;
	font-weight: 800;
}

.footer-title {
	font-family: "Kollektif", sans-serif;
	font-size: 1.8rem;
	color: #fff;
}

.footer-copy,
.footer-note {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1rem;
	line-height: 1.6;
}

.footer-contact-list {
	display: grid;
	gap: 0.75rem;
}

.footer-contact-link {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.98rem;
	transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.footer-contact-link:link,
.footer-contact-link:visited,
.footer-contact-link:hover,
.footer-contact-link:active,
.footer-contact-link:focus {
	color: #fff !important;
	text-decoration: none !important;
}

.footer-contact-link span {
	color: inherit !important;
	text-decoration: none !important;
}

.footer-contact-link i {
	width: 18px;
	text-align: center;
	color: #ffb37f;
	flex-shrink: 0;
}

.footer-contact-link:hover {
	background: rgba(255, 92, 0, 0.18);
	color: #fff;
	transform: translateY(-1px);
}

.footer-contact-card .social-icons {
	margin-top: 0;
}

.footer-contact-card .social-icons a {
	color: #fff;
	font-size: 2rem;
	margin-right: 0.85rem;
}

.footer-contact-card .social-icons a:last-child {
	margin-right: 0;
}

.footer-funding p {
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.5;
}

@media (max-width: 767.98px) {
	.footer-logo {
		height: 7rem;
	}

	.social-icons {
		margin-top: 2rem;
	}
	#footer .participa {
		margin-top: 3rem;
	}

	.logo2 {
		/* height: 5rem; */
		width: 19rem;
	}

	.footer-contact-card,
	.footer-info-panel {
		padding: 1.2rem;
	}

	.footer-title {
		font-size: 1.45rem;
	}

	.footer-copy,
	.footer-note,
	.footer-contact-link {
		font-size: 0.95rem;
	}

	.footer-brand-block,
	.footer-info-block {
		text-align: center !important;
	}

	.footer-funding {
		justify-content: center;
	}

	.footer-contact-card .social-icons a {
		font-size: 1.8rem;
		margin-right: 0.7rem;
	}
}

#footer {
	min-height: 320px;
}
