/* CSS Document */
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ VARIABLES GLOBALES ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */ :root {
	--VERDECLARO_1: #E1E8E8;
	--BLANCOAZULADO_1: #F7F9F9;
	--AZULOSCURO: #060055;
	--GRISCLARO_1: #F8F8F8;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ RESET BÁSICO ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
* {
	margin: 0;
	padding: 0;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	max-width: 100vw;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE y Edge antiguo */
	color: var(--COLOR_TEXTO_2);
}
*, *::before, *::after {
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
/*a:hover {
	text-shadow: 2px 2px 2px #C7F9DF, -2px -2px 2px #C7F9DF;
	background-color: orange;
	padding:1rem;
	border-radius: 1rem;
}/*
/* Chrome, Safari y Opera */
.elemento::-webkit-scrollbar {
	display: none;
}
body {
	font-family: Arial, sans-serif;
	background: var(--VERDECLARO_1);
	/*width: 100vw;*/
	width: 100%;
	overflow-x: hidden;
	font-size: 1.2rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ HEADER ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
header {
	width: 100%;
	height: 3.5rem;
	position: relative;
	color: var(--AZULOSCURO);
	background: var(--VERDECLARO_1);
}
header div {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	/*align-items: center;*/
	padding: 0.5rem;
	color: var(--AZULOSCURO);
	background: url("../1 EMBLEMATICOS/1 PAGINA INICIAL/Panorama2perfil.png") no-repeat 79% 0% / contain;
}
header .btn-menu {
	left: 0rem;
	width: 10%;
	cursor: pointer;
	border: none;
	border-radius: 0.5rem;
	background: var(--VERDECLARO_1);
	font-size: 2rem;
}
header h1 {
	display: block;
	position: absolute;
	width: 80%;
	left: 50%;
	margin: 0 auto;
	color: var(--AZULOSCURO);
	text-shadow:
		0 0 5px rgba(201, 240, 243, 1.00), 0 0 10px rgba(201, 250, 243, 1.00), 0 0 20px rgba(201, 260, 243, 1.00), 0 0 40px rgba(201, 270, 243, 1.00), 0 0 80px rgba(201, 280, 243, 1.00), 0 0 90px rgba(220, 290, 243, 1.00), 0 0 100px rgba(230, 300, 243, 1.00), 0 0 140px rgba(240, 310, 243, 1.00), 0 0 180px rgba(250, 320, 243, 1.00);
	font-size: 2rem;
}
header .btn-inicio {
	display: block;
	position: absolute;
	right: 0rem;
	top: 0rem;
	background-color: transparent;
	border: none;
	cursor: pointer;
	padding: 0 0.5rem 0 0.5rem;
}
header .btn-inicio img {
	width: 3.5rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ NAV ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■  */
nav {
	position: fixed;
	top: 0rem;
	left: 0rem;
	padding: 0.4rem 1.4rem 1rem 1rem;
	width: 20%;
	height: 100vh;
	background: var(--VERDECLARO_1);
	color: var(--AZULOSCURO);
	overflow-y: auto;
	z-index: 1000;
}
nav.open {
	left: 0;
}
nav .close-nav {
	cursor: pointer;
	display: none;
	padding-left: 0.6rem;
	font-size: 2rem;
}
nav .N1 {
	display: flex;
	/*justify-content: center; /* Centra horizontalmente */
	align-items: center; /* Centra verticalmente */
	background-color: VAR(--AZULOSCURO);
	color: var(--BLANCOAZULADO_1);
	padding-left: 0.6rem;
	margin-bottom: 0.5rem;
	border-radius: 0.8rem;
	letter-spacing: 0.03rem;
}
/* ■■■■■■■■■■■■■■■■■ UL DESPLEGABLE EN NAV ■■■■■■■■■■■■■■■■■■■ */
details summary {
	display: flex;
	/*justify-content: center; /* Centra horizontalmente */
	align-items: center; /* Centra verticalmente */ list-style: none;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: bold;
	height: 2rem;
	background-color: aliceblue;
	margin-bottom: 0.6rem;
	letter-spacing: 0.05rem;
	padding-left: 0.3rem;
	border-radius: 0.8rem;
}
/* Transición suave al desplegar */
details ul {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	padding: 0;
	margin: 0;
}
/* Estado cuando el <details> está abierto */
details[open] ul {
	max-height: 50rem; /* Ajusta este valor según la altura de tus menús */
	max-width: 20rem;
	position: relative;
	left: 1rem;
}
details[open] ul li {
	padding: 0 2rem 0 0;
	position: relative;
	min-height: 2rem;
	max-height: 10rem;
	margin-bottom: 0.5rem;
}
details[open] ul li a {
	display: block;
	padding-left: 0.5rem;
	background-color: var(--BLANCOAZULADO_1);
	border-radius: 1rem;
	letter-spacing: 0.02rem;
}
details[open] ul li a:hover {
	background-color: #BCFFE8;
}
details[open] ul li a::first-letter {
	font-size: 1.1rem;
	color: #01859B;
	font-weight: bold;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ MAIN ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
main {
	background: var(--VERDECLARO_1);
	min-height: 90vh;
	position: relative;
	left: 20%;
	width: 80%;
	padding: 0rem;
	margin: 0rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ OVERLAY PARA CERRAR NAV ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	display: none;
	z-index: 900;
}
#overlay.show {
	display: block;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ PÁGINA INICIAL ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.INICIAL {
	width: 75%;
	margin: 0 auto;
	height: auto;
	padding: 5rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background: var(--BLANCOAZULADO_1);
}
.INICIAL p {
	letter-spacing: 0.06rem;
	line-height: 1.5rem;
	text-indent: 2rem;
	margin-bottom: 0.5rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ CONTENEDOR ELEMENTO (ENGLOBA A TODOS) ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.ELEMENTO {
	background: var(--VERDECLARO_1);
	width: 100%;
	height: auto;
	padding: 1rem;
	padding-left: 2rem;
	padding-right: 2rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	font-size: 1rem;
	letter-spacing: 0.05rem;
	line-height: 1.3rem;
}
.ELEMENTO p {
	text-indent: 2rem;
	margin-bottom: 0.5rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ CONTENEDOR SINTESIS = IMAGEN + ELEMENTO ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.ELEMENTO div {
	align-content: center;
}
.ELEMENTO .TITULO {
	width: 100%; /* posicionamiento al centro */
	margin: 0 auto; /* posicionamiento al centro */
	margin-bottom: 1rem;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	color: #002244;
	text-shadow: /* Brillo interno inmediato para separar el texto oscuro */ 0 0 10px #C8F2F9, 0 0 12px #C8F2F9, /* Resplandor intermedio expandido */ 0 0 20px #C8F2F9, 0 0 24px #C8F2F9, /* Gran halo de luz exterior */ 0 0 40px #C8F2F9, 0 0 60px #C8F2F9;
}
.DATOS {
	margin: 1rem 0rem 2rem 0rem;
}
.DATOS span {
	color: rebeccapurple;
	font-size: 1rem;
	font-weight: bold;
}
.DENOMINACION {
	font-size: 1.3rem;
	color: darkmagenta;
}
.EPOCA, .DIRECCION, .PROTECCION, .NUMBER {
	font-size: 1.2rem;
	font-variant: small-caps;
}
.DESCRIPCION {
	font-size: 1.2rem;
	letter-spacing: 0.05rem;
	line-height: 1.5rem;
}
.DESCRIPCION p::first-letter {
	color: #01859B;
	font-weight: bold;
	font-size: 1.3rem;
}
.REFERENCIAS {
	min-height: 3rem;
	font-size: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
}
.TEXTOS_REFERENCIAS {
	/*width: 50rem;*/
	width: 100%;
	max-width: 50rem
}
.REFERENCIAS ul {
	list-style-type: disc;
	list-style-position: outside;
	padding: 1rem;
}
.REFERENCIAS ul li {
	margin-bottom: 0.6rem;
	margin-top: 0.6rem;
}
.RESALTADO_1 {
	color: crimson;
	font-weight: 700;
}
.RESALTADO_2 {
	font-weight: 700;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ GALERÍA / LIGHTBOX ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.GALERIA {
	display: flex;
	flex-wrap: wrap;
}
.GALERIA .NIVEL_2 {
	display: block;
	cursor: pointer;
	margin: 0.3rem;
	vertical-align: top;
}
.GALERIA .NIVEL_2 img {
	max-height: 16vh;
	width: auto;
	display: block;
	object-fit: cover;
	border-radius: 0.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.GALERIA .NIVEL_2 figure {
	display: block;
	text-align: center;
}
.GALERIA .NIVEL_2 figcaption {
	font-size: 0.8rem;
	line-height: 0.8rem;
	max-width: 10rem;
}
.GALERIA .NIVEL_2 img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Ocultar descripción en vista de galería */
.GALERIA .NIVEL_3 {
	display: none;
}
.GALERIA .CIUDAD {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding-bottom: 1rem;
	background-color: #E1E8E8;
	margin: -4rem -2rem -2rem -2rem;
}
.CALLE {
	/*display: block;*/
	align-content: inherit;
	flex: 1 1 250px;
	min-width: 15vw;
	color: darkblue;
	padding: 0.5rem;
	border: 0.05rem solid #B1D1F7;
	border-radius: 1rem;
	margin: 0.2rem;
	font-size: 1.2rem;
	background: linear-gradient(#E1E8E8, aliceblue, #E1E8E8);
}
.CALLE:has(a:hover) {
	background: #BCFFE8;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ LIGHTBOX OVERLAY ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(166, 166, 166, 0.85);
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 3vh;
	z-index: 2000;
	overflow-y: auto;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ LIGHTBOX CONTENEDOR ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-container {
	position: relative;
	top: 0rem;
	max-width: 90vw;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ BOTON CERRAR ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-close {
	position: absolute;
	top: 0rem;
	left: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	color: #1E1E1E;
	background-color: #E4E4E4;
	border: 0.1rem solid #E4E4E4;
	cursor: pointer;
	z-index: 2100;
	line-height: 1;
	transition: background-color 0.2s ease, transform 0.1s ease;
}
.lightbox-close:hover {
	/*color: #6BACF9;*/
	background-color: #C5C5C5;
	/*border: 0.2rem solid #6BACF9;*/
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ IMAGEN AMPLIADA ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-image-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
.lightbox-image {
	width: 70vw;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 1rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ FLECHAS DE NAVEGACIÓN ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-prev, .lightbox-next {
	position: absolute;
	top: 50%;
	width: 3rem;
	height: 3rem;
	border-radius: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.8);
	background-color: rgba(216, 216, 216, 1.00);
	border: none;
	cursor: pointer;
	padding: 0.5rem 1rem;
	z-index: 2100;
	transition: background 0.2s ease;
}
.lightbox-prev:hover, .lightbox-next:hover {
	background: rgba(130, 130, 130, 0.70);
	color: #fff;
}
.lightbox-prev {
	left: 0.5rem;
}
.lightbox-next {
	right: 0.5rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ DESCRIPCIÓN BAJO LA IMAGEN ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.lightbox-caption {
	width: 50vw;
	margin-top: 1rem;
	padding: 1rem 1.5rem;
	background-color: rgba(216, 216, 216, 1.00);
	border-radius: 1rem;
	color: var(--COLOR_TEXTO_2);
	text-align: center;
	line-height: 1.6;
	max-height: none; /* Permite desborde si el texto es largo */
}
.lightbox-caption p {
	margin: 0;
	text-indent: 0;
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
}
.NOTA {
	font-size: 0.9rem;
}
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ MEDIA QUERIES - RESPONSIVE ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
/* ═══════════════════════════════════════════════════════════════════
   A) PORTÁTILES PEQUEÑOS Y PANTALLAS MEDIANAS (1024px - 1366px)
   ═══════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 1366px) {
	nav {
		width: 25%;
	}
	main {
		left: 25%;
		width: 75%;
	}
	.INICIAL {
		width: 90%;
		padding: 3rem;
	}
	.lightbox-container {
		position: relative;
		top: 0rem;
	}
	.lightbox-image {
		width: 75vw;
	}
	.lightbox-caption {
		width: 70vw;
	}
	.DESCRIPCION {
		font-size: 1.2rem;
		letter-spacing: 0.05rem;
	}
}
/* ═══════════════════════════════════════════════════════════════════
   B) TABLETS EN HORIZONTAL (768px - 1024px)
   ═══════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 1024px) {
	/* HEADER */
	header {
		height: auto;
		min-height: 3.5rem;
	}
	header .btn-menu {
		display: block;
		position: relative;
		/*z-index: 1100;*/
	}
	header h1 {
		font-size: 1.6rem;
		width: 70%;
		left: 15%;
	}
	header div {
		flex-direction: column;
		/*align-items: center;*/
	}
	header .btn-inicio {
		margin-top: 0.5rem;
	}
	/* NAV - Convertir a menú lateral deslizante */
	nav {
		position: fixed;
		left: -280px; /* Oculto por defecto */
		width: 280px;
		height: 100vh;
		transition: left 0.3s ease;
		box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
	}
	nav.open {
		left: 0;
	}
	nav .close-nav {
		display: block;
		/*text-align: right;*/
		padding-right: 1rem;
		margin-bottom: 1rem;
	}
	/* MAIN - Ocupa todo el ancho */
	main {
		left: 0;
		width: 100%;
		padding: 0.5rem;
	}
	/* CONTENIDO */
	.INICIAL {
		width: 95%;
		padding: 2rem;
	}
	.ELEMENTO {
		padding: 1rem;
	}
	.ELEMENTO .TITULO {
		font-size: 1.5rem;
	}
	/* GALERÍA */
	.GALERIA .NIVEL_2 img {
		max-height: 14vh;
	}
	.CALLE {
		flex: 1 1 200px;
		min-width: 45%;
	}
	/* LIGHTBOX */
	.lightbox-container {
		position: relative;
		top: 0rem;
	}
	.lightbox-image {
		width: 85vw;
		max-height: 55vh;
	}
	.lightbox-caption {
		width: 85vw;
	}
	.lightbox-prev, .lightbox-next {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1.5rem;
	}
	.DESCRIPCION {
		font-size: 1.2rem;
		letter-spacing: 0.05rem;
	}
}
/* ═══════════════════════════════════════════════════════════════════
   B2) TABLETS EN VERTICAL (600px - 768px)
   ═══════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
	body {
		font-size: 1rem;
	}
	/* HEADER */
	header h1 {
		font-size: 1.4rem;
		width: 70%;
		left: 15%;
	}
	/* NAV */
	nav {
		width: 260px;
		left: -260px;
		padding: 0.5rem 1rem;
	}
	nav .N1 {
		font-size: 0.9rem;
		padding: 0.4rem;
	}
	details summary {
		font-size: 0.85rem;
		height: 1.8rem;
	}
	details[open] ul li a {
		font-size: 0.9rem;
	}
	/* CONTENIDO */
	.INICIAL {
		padding: 1.5rem;
	}
	.INICIAL p {
		font-size: 1rem;
		line-height: 1.4rem;
	}
	.ELEMENTO {
		padding: 0.8rem;
	}
	.ELEMENTO .TITULO {
		font-size: 1.3rem;
		margin-bottom: 0.8rem;
	}
	.DENOMINACION {
		font-size: 1.1rem;
	}
	.EPOCA, .DIRECCION, .PROTECCION, .NUMBER {
		font-size: 1rem;
	}
	/* GALERÍA */
	.GALERIA .NIVEL_2 img {
		max-height: 12vh;
	}
	.GALERIA .NIVEL_2 figcaption {
		font-size: 0.7rem;
		max-width: 8rem;
	}
	.CALLE {
		flex: 1 1 100%;
		min-width: 100%;
	}
	/* LIGHTBOX */
	.lightbox-overlay {
		padding-top: 2vh;
	}
	.lightbox-container {
		position: relative;
		top: 0rem;
	}
	.lightbox-image {
		width: 92vw;
		max-height: 50vh;
	}
	.lightbox-caption {
		width: 92vw;
		padding: 0.8rem 1rem;
	}
	.lightbox-caption p {
		font-size: 1rem;
	}
	.DESCRIPCION {
		font-size: 1.2rem;
		letter-spacing: 0.05rem;
	}
}
/* ═══════════════════════════════════════════════════════════════════
   C) MÓVILES (hasta 600px)
   ═══════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 600px) {
	body {
		font-size: 1.1rem;
	}
	/* HEADER */
	header {
		padding: 0.3rem;
	}
	header div {
		background-size: cover;
		background-position: center;
	}
	header .btn-menu {
		font-size: 1.8rem;
		padding: 0.3rem;
	}
	header h1 {
		width: 70%;
		left: 15%;
		font-size: 1.2rem;
		text-shadow:
			0 0 5px rgba(201, 240, 243, 1.00), 0 0 10px rgba(201, 250, 243, 1.00), 0 0 20px rgba(201, 260, 243, 1.00);
	}
	header .btn-inicio {
		padding: 0.3rem 0.5rem;
	}
	header .btn-inicio img {
		width: 2rem;
	}
	/* NAV */
	nav {
		width: 85vw;
		left: -85vw;
		padding: 0.5rem;
	}
	nav .N1 {
		font-size: 0.85rem;
		padding: 0.3rem 0.5rem;
		border-radius: 0.5rem;
	}
	details summary {
		font-size: 0.8rem;
		height: auto;
		min-height: 2rem;
		padding: 0.3rem;
		border-radius: 0.5rem;
	}
	details[open] ul {
		max-width: 100%;
	}
	details[open] ul li {
		padding: 0 0.5rem 0 0;
	}
	details[open] ul li a {
		font-size: 0.85rem;
		padding: 0.3rem;
	}
	/* CONTENIDO PRINCIPAL */
	.INICIAL {
		width: 100%;
		padding: 1rem;
		margin: 0;
	}
	.INICIAL p {
		font-size: 1.1rem;
		line-height: 1.3rem;
		text-indent: 1rem;
	}
	.ELEMENTO {
		padding: 0.5rem;
	}
	.ELEMENTO p {
		text-indent: 1rem;
		font-size: 1.1rem;
		line-height: 1.3rem;
	}
	.ELEMENTO .TITULO {
		font-size: 1.1rem;
		margin-bottom: 0.5rem;
	}
	.DATOS {
		margin: 0.5rem 0 1rem 0;
	}
	.DATOS span {
		font-size: 0.8rem;
	}
	.DENOMINACION {
		font-size: 1rem;
	}
	.EPOCA, .DIRECCION, .PROTECCION, .NUMBER {
		font-size: 0.9rem;
	}
	.DESCRIPCION {
		font-size: 1.2rem;
		letter-spacing: 0.05rem;
	}
	.REFERENCIAS {
		padding: 0.5rem;
	}
	.REFERENCIAS p {
		font-size: 0.9rem;
	}
	.TEXTOS_REFERENCIAS {
		max-width: 100%;
	}
	/* GALERÍA */
	.GALERIA {
		justify-content: center;
	}
	.GALERIA .NIVEL_2 {
		margin: 0.2rem;
	}
	.GALERIA .NIVEL_2 img {
		max-height: 10vh;
		border-radius: 0.3rem;
	}
	.GALERIA .NIVEL_2 figcaption {
		font-size: 0.65rem;
		line-height: 0.7rem;
		max-width: 6rem;
	}
	.GALERIA .CIUDAD {
		margin: -2rem -0.5rem -1rem -0.5rem;
		padding-bottom: 0.5rem;
	}
	.CALLE {
		font-size: 1rem;
		padding: 0.3rem;
		margin: 0.1rem;
		border-radius: 0.5rem;
	}
	/* LIGHTBOX */
	.lightbox-overlay {
		padding-top: 1vh;
		align-items: center;
	}
	.lightbox-container {
		max-width: 98vw;
		position: relative;
		top: -20%;
	}
	.lightbox-close {
		width: 2.5rem;
		height: 2.5rem;
		font-size: 1.8rem;
		top: -0.5rem;
		left: 0.5rem;
	}
	.lightbox-image-wrapper {
		width: 100%;
	}
	.lightbox-image {
		width: 96vw;
		max-height: 45vh;
		border-radius: 0.5rem;
	}
	.lightbox-prev, .lightbox-next {
		width: 2rem;
		height: 2rem;
		font-size: 1.2rem;
		border-radius: 0.5rem;
		padding: 0.3rem;
	}
	.lightbox-prev {
		left: 0.2rem;
	}
	.lightbox-next {
		right: 0.2rem;
	}
	.lightbox-caption {
		width: 96vw;
		margin-top: 0.5rem;
		padding: 0.6rem 0.8rem;
		border-radius: 0.3rem;
	}
	.lightbox-caption p {
		font-size: 0.9rem;
		letter-spacing: 0.05rem;
		line-height: 1.2rem;
	}
	.NOTA {
		font-size: 0.8rem;
	}
}
/* ═══════════════════════════════════════════════════════════════════
   C2) MÓVILES MUY PEQUEÑOS (hasta 380px)
   ═══════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 380px) {
	header h1 {
		font-size: 1rem;
		width: 70%;
		left: 15%;
	}
	.ELEMENTO .TITULO {
		font-size: 1rem;
	}
	.GALERIA .NIVEL_2 img {
		max-height: 8vh;
	}
	.lightbox-image {
		max-height: 40vh;
	}
	nav {
		width: 100vw;
		left: -100vw;
	}
	.DESCRIPCION {
		font-size: 1.2rem;
		letter-spacing: 0.05rem;
	}
	.DESCRIPCION {
		font-size: 1.1rem;
	}
	.REFERENCIAS {
		font-size: 0.9rem;
	}
}