/* ================= SISTEMA VISUAL – COLORES ================= */

:root {
	--verde: #1bbf6b;
	--azul: #0b3c5d;
	--rojo: #e63946;
	--oscuro: #0a1a2a;
	--claro: #f5f7fa;
	--header-height: 150px;
}



/* RESET */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	background: var(--claro);
	color: #222;
}

#global_wrap {
	min-height: 100vh;     /* native */
}

html,body{
	height: 100%
}

/* ================= BOTÓN BASE DEL SISTEMA ================= */

.btn-primary {
	display: inline-block;
	padding: 14px 34px;
	background: var(--verde);
	color: white;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	/* semibold */
	text-decoration: none;
	border: none;
	border-radius: 8px;
	/* menos redondo, más institucional */
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.3s ease,
	transform 0.3s ease,
	box-shadow 0.3s ease;
}

.btn-primary:hover {
	background: #14a85c;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================= BOTÓN SECUNDARIO ================= */

.btn-secondary {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--verde);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
	color: #14a85c;
	border-color: #14a85c;
}

.btn-secondary:focus {
	outline: none;
	border-color: var(--verde);
}

/* ================= CONTEXTOS OSCUROS ================= */

.hero-overlay p,
.hero-overlay h1,
.section-image-overlay p,
.section-image-overlay h2 {
	color: white;
}

.hero-overlay p {
	font-size: 1.1rem;
	max-width: 720px;
}



/* ================= ACCESIBILIDAD: FOCUS ================= */

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--verde);
	outline-offset: 3px;
	border-radius: 4px;
}

.btn-primary:active {
	transform: translateY(0);
	box-shadow: none;
}

/* Enlaces de texto accesibles */
p a,
.section-content a {
	color: var(--verde);
	text-decoration: underline;
}

p a:hover,
.section-content a:hover {
	color: #14a85c;
}

.menu a:focus-visible {
	outline: 2px solid var(--verde);
	outline-offset: 4px;
}




/* ================= SISTEMA TIPOGRÁFICO ================= */

h1,
h2,
h3,
h4 {
	font-family: 'Montserrat', sans-serif;
	color: var(--azul);
	margin: 0;
}

h1 {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.15;
	margin-bottom: 24px;
}

h2 {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 20px;
}

h3 {
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 14px;
}

h4 {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 10px;
}

p {
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 16px;
	color: #444;
}

/* ===== AJUSTE TIPOGRÁFICO PARA PÁGINAS INTERNAS ===== */

.section-content h1 {
	font-size: 2.6rem;
}

/* ================= HEADER ================= */
header {
	background: var(--oscuro);
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* Bloque superior: logo + búsqueda + redes */
.header-top {
	display: flex;
	justify-content: space-between;
	/* logo a la izquierda, bloque búsqueda/redes a la derecha */
	align-items: center;
	padding: 16px 8%;
	gap: 40px;
}

/* Logo */
.logo {
	display: flex;
	align-items: center;
}

/* Logos por defecto (desktop) */
.logo-desktop {
	display: block;
	height: 70px;
	max-width: 100%;
}

.logo-mobile {
	display: none;
}

/* Buscador con lupa integrada */
.search {
	position: relative;
	width: 250px;
}

.search input {
	width: 100%;
	padding: 8px 35px 8px 12px;
	border-radius: 6px;
	border: none;
	outline: none;
	font-size: 0.95rem;
}

.search-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #555;
	cursor: pointer;
	pointer-events: auto;
}



/* Redes sociales */
.social-icons {
	display: flex;
	gap: 26px;
	padding: 10px 0;
}

.social-icons a {
	color: white;
	font-size: 1.2rem;
	transition: color 0.3s;
}

.social-icons a.disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.social-icons a.disabled:hover {
	color: white;
	/* evita hover engañoso */
}


.social-icons a:hover {
	color: var(--verde);
}

/* ===== HEADER DESKTOP: logo izquierda / buscador+redes derecha ===== */
@media (min-width: 769px) {

	nav {
		display: flex;
		flex-direction: column;
	}

	/* Contenedor superior completo */
	nav>.header-top,
	nav>.search-social-block {
		display: inline-flex;
		align-items: center;
	}

	/* Creamos una sola fila virtual */
	nav {
		position: relative;
	}

	.header-top {
		justify-content: flex-start;
	}

	.search-social-block {
		position: absolute;
		right: 8%;
		top: 23px;
		transform: translateY(-15%);
	}

	/* Hamburguesa fuera en desktop */
	.menu-toggle {
		display: none;
	}
}

/* ================= MENU ================= */


.menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0;
	padding: 20px 0;
	justify-content: center;
	border-top: 1px solid rgba(255, 255, 255, .12);
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.menu li {
	white-space: nowrap;
}

.menu a {
	color: white;
	text-decoration: none;
	font-weight: 500;
}

.menu a:hover,
.menu a:focus {
	color: var(--verde);
	outline: none;
}

.btn-panamericanos {
	background: rgba(230, 57, 70, .18);
	color: white !important;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 600;
	border: 1px solid rgba(230, 57, 70, .35);
	transition: .3s ease;
}

.btn-panamericanos:hover {
	background: rgba(230, 57, 70, .35);
	transform: translateY(-1px);
}

.menu li.has-submenu>a {
	position: relative;
	padding-right: 26px;
}

.menu li.has-submenu>a::after {
	content: "▾";
	position: absolute;
	right: 10px;
	font-size: 11px;
	opacity: 0.7;
}


@media (min-width: 769px) {

	/* Buscador + redes en dos líneas, alineado a la derecha */
	.search-social-block {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 4px;
	}

	/* Buscador alineado a la derecha */
	.search {
		width: 250px;
	}

	/* Redes alineadas a la derecha */
	.social-icons {
		justify-content: flex-end;
	}

	/* ===== MENÚ DESKTOP: SUBMENÚ POR HOVER ===== */

	.menu .submenu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		z-index: 1000;
	}

	.menu .submenu {
		transition: opacity 0.2s ease, transform 0.2s ease;
		opacity: 0;
		transform: translateY(5px);
	}

	.menu .has-submenu {
		position: relative;
	}

	.menu .has-submenu:hover>.submenu {
		display: block;
	}


	.menu .has-submenu:hover>.submenu {
		opacity: 1;
		transform: translateY(0);
	}

	/* Evita submenús pegados */
	.menu .submenu li a {
		padding: 10px 16px;
		display: block;
	}


}

/* ================= HERO ================= */
.hero {
	position: relative;
	height: 85vh;
	min-height: 520px;
}

.hero-carousel {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

.hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 26, 42, .65);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	padding: 40px;
}

/* Dots carrusel */
.hero-dots {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 50;
}

.hero-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
}

.hero-dots .dot.active {
	background: white;
}

.hero-overlay h1 {
	font-size: 3rem;
	margin-bottom: 20px;
}

.hero-overlay span {
	color: var(--rojo);
}

.hero-cta {
	margin-top: 30px;
}



/* Animación solo en slide activo */
.slide.active .hero-overlay h1,
.slide.active .hero-overlay p,
.slide.active .hero-cta {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeUp .8s ease forwards;
}

.slide.active .hero-overlay p {
	animation-delay: .2s;
}

.slide.active .hero-cta {
	animation-delay: .4s;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Flechas carrusel */
.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
	font-size: 2.2rem;
	background: rgba(0, 0, 0, .45);
	color: white;
	border: none;
	padding: 14px 18px;
	cursor: pointer;
}

/* Izquierda / derecha */
.hero-arrow.left {
	left: 30px;
}

.hero-arrow.right {
	right: 30px;
}



/* ================= SECCIONES ================= */
section {
	scroll-margin-top: var(--header-height);
}

.section-image img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	display: block;
}

/* ================= NOTICIAS ================= */

/* ===== AJUSTE INTRO NOTICIAS ===== */

.noticias-intro {
	padding-top: 30px;
	/* antes 70px */
	padding-bottom: 20px;
	/* reduce aire inferior */
}

.noticias-intro h3 {
	margin-bottom: 10px;
	line-height: 1.6;
}

.noticias-fmpga {
	padding-top: 20px;
}

.grid-noticias {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.noticias-listado .grid-noticias {
	margin-top: 0px;
	/* antes 20px */
}

.noticia {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease;
}

.noticia:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.noticia-img img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
}

.noticia-contenido {
	padding: 22px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.noticia-contenido .fecha {
	font-size: .8rem;
	color: #777;
	margin-bottom: 6px;
}

.noticia-contenido h3 {
	font-size: 1.1rem;
	color: var(--azul);
	margin-bottom: 10px;
}

.noticia-contenido p {
	font-size: .95rem;
	line-height: 1.6;
	color: #444;
	margin-bottom: 16px;
}



/* ================= TEXTO INTRODUCTORIO DESTACADO ================= */
.section-content {
	padding: 70px 8% 60px;
	text-align: center;
}

.section-content .intro {
	font-size: 1.22rem;
	line-height: 1.9;
	max-width: 900px;
	margin: 20px auto 0;
	font-weight: 500;
	text-align: center;
}


/* ================= PAGINACIÓN NOTICIAS ================= */

.paginacion-noticias {
	display: flex;
	justify-content: space-between;
	/* Anterior izquierda / Siguiente derecha */
	align-items: center;
	max-width: 900px;
	margin: 20px auto 30px;
	/* menos aire vertical */
	padding-top: 16px;
	border-top: 1px solid #e5e5e5;
}

.pag-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--verde);
	text-decoration: none;
	white-space: nowrap;
	/* evita salto de línea */
}

.pag-link:hover {
	text-decoration: underline;
}



/* ================= DIRECTORIO ================= */
.directorio-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 80px;
	margin-top: 50px;
}

.directorio-item h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--azul);
	margin-bottom: 6px;
}

.directorio-item .cargo {
	font-weight: 600;
	margin-bottom: 2px;
}

.directorio-item .area {
	font-size: .95rem;
	color: #555;
	margin-bottom: 6px;
}

.directorio-item .correo a {
	color: var(--verde);
	text-decoration: none;
	font-weight: 500;
}

.directorio-item .correo a:hover {
	text-decoration: underline;
}

/* ===== VER MÁS NOTICIAS ===== */
.ver-mas-wrapper {
	margin-top: 30px;
}

.ver-mas-noticias {
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.3s ease, transform 0.3s ease;
}

.ver-mas-noticias:hover {
	color: var(--verde);
	transform: translateY(-2px);
}


/* ================= MISIÓN / VISIÓN / VALORES ================= */
.mvv-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 20px;
	margin-bottom: 80px;
	padding-left: 40px;
	padding-right: 40px;
}

.mvv-item {
	background: white;
	padding: 35px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.mvv-item h3 {
	color: var(--azul);
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.mvv-item p {
	font-size: 1rem;
	line-height: 1.7;
}

.mvv-item.valores ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mvv-item.valores li {
	margin-bottom: 10px;
	font-size: .95rem;
}

/* Énfasis tipográfico */
.intro .valor {
	font-weight: 600;
	padding: 0 2px;
	white-space: nowrap;
}

.intro .equipo {
	color: #0056a3;
}

.intro .creatividad {
	font-style: italic;
	color: #0077b6;
}

.intro .respeto {
	font-weight: 700;
	color: #003049;
}



/* ===== AFILIACIÓN PÁGINA ===== */

.afiliacion-page {
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}

.afiliacion-page h2 {
	color: var(--azul);
	margin-bottom: 20px;
}

.afiliacion-page h3 {
	margin-top: 40px;
	color: var(--azul);
}

.afiliacion-page ul {
	margin: 20px 0;
	padding-left: 20px;
}

.afiliacion-contacto-final {
	background: #ffffff;
	border-top: 1px solid #e5e5e5;
	text-align: center;
}

.correo-afiliacion {
	font-weight: 700;
	color: var(--verde);
	text-decoration: none;
}

.correo-afiliacion:hover {
	text-decoration: underline;
}

/* ================= BREADCRUMB ================= */

.breadcrumb {
	max-width: 1100px;
	margin: 30px auto 10px;
	padding: 0 8%;
	font-size: 0.85rem;
	color: #666;
}

.breadcrumb a {
	color: var(--verde);
	text-decoration: none;
	font-weight: 600;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb span {
	margin: 0 6px;
}

.afiliacion-volver {
	margin-top: 60px;
	text-align: center;
}

.afiliacion-cierre {
	margin-top: 50px;
	/* ↓ antes estaba muy separado */
	padding-top: 25px;
	text-align: center;
	border-top: 1px solid #e5e5e5;
}

/* ================= GALERÍA ================= */

.galeria-intro {
	padding-top: 40px;
	padding-bottom: 20px;
}

/* Evento */
.galeria-evento {
	margin-bottom: 70px;
}

.galeria-evento h2 {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--azul);
	margin-bottom: 6px;
}

.galeria-meta {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 22px;
}

/* Grid */
.galeria-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
}

/* Item */
.galeria-item {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover */
.galeria-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

.galeria-item:hover img {
	transform: scale(1.08);
	opacity: 0.9;
}

/* ================= FOOTER ================= */

.footer {
	background: var(--oscuro);
	color: white;
	padding: 60px 8%;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	justify-content: space-between;
}

.footer-col {
	max-width: 260px;
}

.footer-col img {
	margin-bottom: 10px;
	height: 60px;
	/* Logo footer ajustado */
	width: auto;
}

.footer-col h4 {
	color: var(--verde);
	margin-bottom: 15px;
}

.footer-col ul {
	list-style: none;
	padding: 0;
}

.footer-col a {
	color: white;
	text-decoration: none;
	line-height: 1.8;
}

.social {
	display: flex;
	gap: 15px;
	font-size: 1.6rem;
}

.footer-bottom {
	border-top: 1px solid #444;
	margin-top: 40px;
	padding-top: 20px;
	text-align: center;
	color: #aaa;
}

.section-image {
	position: relative;
}



.section-image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(10, 26, 42, .55), rgba(10, 26, 42, .65));
	display: flex;
	flex-direction: column;
	/* ← ESTA LÍNEA ES CLAVE */
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px;
}

.section-image-title {
	color: white;
	font-size: 2.8rem;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* ================= MENU HAMBURGUESA ================= */

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 16px;
	height: 3px;
	background: white;
	margin: 5px 0;
	transition: .3s;
}

/* Estado activo del menú hamburguesa */
.menu.active {
	display: flex;
}


/* ===== SUBMENÚ DESKTOP (OCULTO) ===== */
.menu li ul {
	display: none;
}

/* ===== LIMPIEZA VISUAL SUBMENÚ ===== */
.menu li.has-submenu ul li {
	list-style: none;
}

.menu li.has-submenu ul li::before,
.menu li.has-submenu ul li::after {
	content: none !important;
}

.menu li.has-submenu a::before,
.menu li.has-submenu a::after {
	content: none !important;
}

/* ================= ORGANISMOS / AFILIACIONES ================= */

.instituciones {
	background: #ffffff;
	padding: 80px 8% 70px;
	border-top: 1px solid #e5e5e5;
}

.instituciones-title {
	text-align: center;
	font-size: 2rem;
	color: var(--azul);
	margin-bottom: 50px;
	font-weight: 700;
}

.instituciones-logos {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 40px 50px;
	align-items: center;
	justify-items: center;
}

/* Segunda fila con 4 centrados */
.instituciones-logos a:nth-child(6) {
	grid-column: 2;
}

.logo-item img {
	max-width: 140px;
	max-height: 80px;
	width: auto;
	height: auto;
	filter: grayscale(100%);
	opacity: 0.85;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* ===== AJUSTE FINO NOTICIAS – MENOS BLANCO ===== */

.noticias-intro.section-content {
	padding-top: 30px;
	padding-bottom: 10px;
}

.noticias-listado.section-content {
	padding-top: 20px;
}



/* Tablet */
@media (max-width: 992px) {
	.instituciones-logos {
		grid-template-columns: repeat(3, 1fr);
	}

	.instituciones-logos a:nth-child(6) {
		grid-column: auto;
	}
}

/* Mobile */
@media (max-width: 576px) {
	.instituciones-logos {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}


/* ================= RESPONSIVE ================= */

/* ===== SUBMENÚ DESKTOP ===== */
@media (min-width: 769px) {

	.menu li.has-submenu {
		position: relative;
	}

	.menu li.has-submenu>ul {
		position: absolute;
		top: 100%;
		left: 0;
		background: var(--oscuro);
		min-width: 240px;
		padding: 12px 0;
		border-radius: 6px;
		box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
		display: none;
		z-index: 2000;
	}

	.menu li.has-submenu:hover>ul {
		display: block;
	}

	.menu li.has-submenu ul li a {
		display: block;
		padding: 10px 22px;
		color: white;
		font-size: 0.95rem;
		white-space: nowrap;
	}

	.menu li.has-submenu ul li a:hover {
		background: rgba(255, 255, 255, .08);
		color: var(--verde);
	}

	/* Botón Panamericano dentro del submenú */
	.menu li.has-submenu ul .btn-panamericanos {
		margin: 8px 16px 0;
		text-align: center;
	}
}



@media (max-width:768px) {



	/* ===== ESPACIADO MENÚ HAMBURGUESA ===== */
	.menu li a {
		padding: 12px 24px;
		/* ← AQUÍ respira */
		display: block;
	}

	/* ===== SUBMENÚ EVENTOS ===== */



	/* Quitar cualquier outline extraño en hover/focus */
	.menu li.has-submenu ul a {
		outline: none;
		box-shadow: none;
	}


	.menu li ul {
		display: none;
		list-style: none;
		padding: 6px 0;
		margin: 0;
	}



	.menu li ul li a {
		padding: 10px 42px;
		/* más sangría */
		font-size: 0.95rem;
		opacity: 0.9;
	}

	.menu li.active>ul {
		display: block;
	}

	.menu li.has-submenu>a {
		position: relative;
	}

	.menu li.has-submenu>a::after {
		content: "▾";
		position: absolute;
		right: 24px;
		font-size: 12px;
		opacity: 0.8;
	}

	.menu li.has-submenu {
		position: relative;
	}




	/* Header: logo izquierda / hamburguesa derecha */
	.header-top {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}

	.header-top {
		padding: 10px 8%;
	}

	.logo img {
		max-width: 100%;
	}

	/* Ocultar logo desktop */
	.logo-desktop {
		display: none;
	}

	/* Mostrar logo mobile */
	.logo-mobile {
		display: block;
		height: 80px;
		/* ajusta según necesidad */
	}

	/* Alineación del contenedor del logo */
	.logo {
		justify-content: flex-start;
	}

	/* Botón hamburguesa */
	.menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		background: none;
		border: none;
		cursor: pointer;
	}

	.menu-toggle span {
		width: 36px;
		height: 4px;
		background: #fff;
		display: block;
	}

	/* Buscador + redes debajo */
	.search-social-block {
		width: 100%;
		margin-top: 12px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}


	.search {
		width: 100%;
		max-width: 280px;
	}

	.search input {
		width: 100%;
		padding: 8px 35px 8px 12px;
		/* espacio para la lupa */
	}

	.menu {
		display: none;
		flex-direction: column;
		gap: 12px;
		padding: 20px 0;
	}

	/* Cambiar logo a SVG responsive usando HTML directamente */
	/* Para que funcione: en HTML reemplaza <img src="images/logo.svg"> por
	<img src="images/logo_responsive.svg" class="logo-responsive"> solo en móvil
	o usando JS si quieres automático. */

/* Ajustes hero */
.hero {
	height: 75vh;
}

.hero-overlay h1 {
	font-size: 2.2rem;
}

.hero-arrow {
	font-size: 1.6rem;
	padding: 10px 14px;
}

/* Directorio y MVV */
.directorio-grid {
	grid-template-columns: 1fr;
	gap: 30px;
}

.mvv-grid {
	grid-template-columns: 1fr;
}

.section-image img {
	height: 300px;
}

.section-image-title {
	font-size: 1.9rem;
}

.btn-panamericanos {
	display: inline-block;
	margin-top: 6px;
}

.galeria-evento h2 {
	font-size: 1.5rem;
}

.galeria-item img {
	height: 180px;
}

}

@media (max-width: 480px) {

	.galeria-item img {
		height: 160px;
	}
}

.navbar {
	background-color: #0a1a2a !important;
}

.navbar a{
	color: var(--claro);
}

.navbar .nav-link{
	color: var(--claro);
}
.navbar .nav-link:hover{
	color: var(--verde);
}

.navbar .nav-link.active{
	color: var(--verde) !important;
}

.navbar,
.navbar .dropdown-menu {
	z-index: 3000;
}
.navbar {
	overflow: visible !important;
}
