/* Galería modal — Ver más fotos */
.jl-gallery[hidden] { display: none !important; }
.jl-gallery {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.jl-gallery__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 16, 28, 0.78);
	backdrop-filter: blur(6px);
}
.jl-gallery__dialog {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
	max-height: min(90vh, 820px);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem 1rem 1.1rem;
	border-radius: 18px;
	background: #0b2a4a;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	color: #fff;
}
.jl-gallery__close {
	position: absolute;
	top: 0.55rem;
	right: 0.7rem;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}
.jl-gallery__close:hover { background: rgba(255,255,255,0.22); }
.jl-gallery__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-right: 2.5rem;
}
.jl-gallery__title {
	margin: 0;
	font-family: var(--jl-display);
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}
.jl-gallery__count {
	margin: 0;
	color: rgba(255,255,255,0.7);
	font-size: 0.9rem;
}
.jl-gallery__stage {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.45rem;
}
.jl-gallery__viewport {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	overflow: hidden;
	background: #071828;
}
.jl-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 1;
	transform: scale(1.02);
	filter: blur(0);
	transition: opacity 0.45s ease, transform 0.55s ease, filter 0.45s ease;
}
.jl-gallery__img.is-fading {
	opacity: 0;
	transform: scale(1.08);
	filter: blur(12px);
}
.jl-gallery__fade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8,24,42,0.35) 0%, transparent 28%, transparent 68%, rgba(8,24,42,0.55) 100%),
		linear-gradient(90deg, rgba(8,24,42,0.25), transparent 18%, transparent 82%, rgba(8,24,42,0.25));
	transition: opacity 0.45s ease;
}
.jl-gallery__viewport.is-switching .jl-gallery__fade {
	opacity: 1;
	background:
		linear-gradient(180deg, rgba(8,24,42,0.55) 0%, rgba(8,24,42,0.2) 40%, rgba(8,24,42,0.65) 100%);
}
.jl-gallery__nav {
	width: 2.6rem;
	height: 2.6rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.14);
	color: #fff;
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
}
.jl-gallery__nav:hover { background: var(--jl-blue); }
.jl-gallery__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}
.jl-gallery__dot {
	width: 0.55rem;
	height: 0.55rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.28);
	cursor: pointer;
	padding: 0;
}
.jl-gallery__dot.is-active { background: #7ec8ff; transform: scale(1.2); }
body.jl-gallery-open { overflow: hidden; }
