/* Galería V12.3: una capa visual adicional; no altera el diseño existente */
.portfolio-card.photo-card{cursor:zoom-in}.portfolio-card.photo-card:focus-visible{outline:3px solid #f13553;outline-offset:5px}
.nvr-viewer[hidden]{display:none!important}.nvr-viewer{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:clamp(12px,3vw,32px)}
.nvr-viewer-backdrop{position:absolute;inset:0;background:rgba(2,6,15,.93);backdrop-filter:blur(14px)}
.nvr-viewer-panel{position:relative;width:min(1100px,100%);max-height:calc(100dvh - 24px);overflow:auto;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);background:#0e1421;border:1px solid rgba(255,255,255,.16);border-radius:16px;box-shadow:0 24px 85px #0009;color:#f7f8fb}
.nvr-viewer-close{position:absolute;z-index:3;right:12px;top:12px;width:44px;height:44px;border:1px solid #ffffff55;border-radius:50%;background:#080d15e8;color:#fff;font-size:32px;cursor:pointer}
.nvr-viewer-media{position:relative;min-height:300px;max-height:calc(100dvh - 90px);background:#050913;display:grid;place-items:center}
.nvr-viewer-media img{width:100%;height:100%;max-height:calc(100dvh - 90px);object-fit:contain;display:block}
.nvr-viewer-prev,.nvr-viewer-next{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:1px solid #ffffff55;background:#080d15d9;color:#fff;width:42px;height:52px;border-radius:9px;font-size:36px;cursor:pointer}
.nvr-viewer-prev{left:8px}.nvr-viewer-next{right:8px}
.nvr-viewer-info{padding:clamp(22px,3vw,44px);display:flex;flex-direction:column;justify-content:center;gap:14px}
.nvr-viewer-kicker{font-size:11px;letter-spacing:.13em;font-weight:700;color:#fb425e;margin:0}.nvr-viewer-info h2{font-size:clamp(23px,2.5vw,36px);line-height:1.13;margin:0;overflow-wrap:anywhere}.nvr-viewer-info p:not(.nvr-viewer-kicker){font-size:15px;line-height:1.7;color:#bfc7d6;margin:0}
.nvr-viewer-footer{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:16px}.nvr-viewer-footer span{color:#9ca7ba;font-size:12px}.nvr-viewer-footer a{display:inline-flex;padding:13px 18px;border-radius:6px;text-decoration:none;background:#f12b4d;color:#fff;font-weight:700;font-size:13px}
body.nvr-viewer-open{overflow:hidden}
@media(max-width:740px){.nvr-viewer{padding:8px}.nvr-viewer-panel{grid-template-columns:1fr;max-height:calc(100dvh - 16px);border-radius:11px}.nvr-viewer-media{min-height:0;height:min(55dvh,450px)}.nvr-viewer-media img{height:100%;max-height:100%;object-fit:contain}.nvr-viewer-info{padding:20px 22px 25px;gap:10px}.nvr-viewer-info h2{font-size:23px}.nvr-viewer-info p:not(.nvr-viewer-kicker){font-size:13px;line-height:1.55}.nvr-viewer-footer{gap:12px;margin-top:5px}.nvr-viewer-prev,.nvr-viewer-next{width:36px;height:46px;font-size:30px}}
@media(prefers-reduced-motion:no-preference){.nvr-viewer-panel{animation:nvrViewIn .2s ease-out}@keyframes nvrViewIn{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:none}}}
