/* ---------- Galería de fotos · Expo Aspar ---------- */
.gal-hero{min-height:78vh;min-height:78svh}
.gal-hero .hero-media img{object-position:center 45%}
.gal-hero p a{color:#fff;font-weight:800}
.gal-wrap{max-width:1400px;margin:0 auto;padding:30px 14px 40px}
.gal-count{margin:0 0 16px;text-align:center;color:var(--muted);font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.gal-grid{columns:4 260px;column-gap:10px}
.gal-item{position:relative;display:block;width:100%;margin:0 0 10px;padding:0;border:0;border-radius:14px;overflow:hidden;background:#111;cursor:zoom-in;break-inside:avoid}
.gal-item img{display:block;width:100%;height:auto;transition:transform .5s var(--ease-out,ease),opacity .4s;opacity:0}
.gal-item img.is-loaded{opacity:1}
.gal-item:hover img{transform:scale(1.04)}
.gal-item .gi-dl{position:absolute;right:8px;bottom:8px;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.65);color:#fff;font-size:17px;text-decoration:none;opacity:0;transition:opacity .2s}
.gal-item:hover .gi-dl,.gal-item:focus-within .gi-dl{opacity:1}
@media (hover:none){.gal-item .gi-dl{opacity:1}}

.gal-packs{text-align:center}
.gal-packs .center{text-align:center}
.pack-list{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px auto 0;max-width:900px}
.pack-list .btn{width:auto;min-width:200px}
.pack-list .btn small{display:block;font-size:11px;font-weight:700;opacity:.7;letter-spacing:.04em}
.pack-list .btn[disabled]{opacity:.5;cursor:progress}
.pack-msg{min-height:1.5em;margin:16px 0 0;color:#ffcf3d;font-weight:700}

.lb{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(0,0,0,.96);color:#fff}
.lb::backdrop{background:rgba(0,0,0,.9)}
.lb[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
.lb img{max-width:100vw;max-height:calc(100dvh - 90px);object-fit:contain;user-select:none;-webkit-user-select:none}
.lb-bar{display:flex;align-items:center;gap:16px;padding:14px;font-weight:800;font-size:14px;color:var(--muted)}
.lb-bar .btn{width:auto;padding:12px 22px}
.lb-btn{position:absolute;border:0;background:rgba(255,255,255,.1);color:#fff;width:48px;height:48px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.lb-btn:hover{background:rgba(255,255,255,.22)}
.lb-close{top:14px;right:14px}
.lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lb-next{right:14px;top:50%;transform:translateY(-50%)}
@media (max-width:700px){.lb-prev,.lb-next{top:auto;bottom:18px;transform:none}.gal-grid{columns:2 140px;column-gap:6px}.gal-item{margin-bottom:6px;border-radius:10px}}
