#gallery-modal{box-sizing:border-box;width:min(1050px,94vw);max-height:90dvh;padding:28px;background:#101013;color:#f5f5f3;border:1px solid #444;border-radius:14px;overflow:auto}#gallery-modal::backdrop{background:#000d;backdrop-filter:blur(5px)}#gallery-modal .eyebrow{color:#ed7771}#gallery-modal h2{font-size:clamp(2rem,6vw,3.5rem);margin:8px 0}#gallery-modal>p,#gallery-status{color:#bcbcc3;line-height:1.6}.gallery-modal-header{display:flex;justify-content:space-between;align-items:center;gap:16px}#gallery-modal-close,#gallery-more{font:inherit;cursor:pointer;border-radius:8px;padding:12px 18px;min-height:44px;background:#26262c;color:white;border:1px solid #555}#gallery-modal-close{flex-shrink:0}@media(max-width:650px){#gallery-modal{padding:18px}}
#gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0}
#gallery-grid .gallery-photo{display:block;padding:0;border:0;border-radius:4px;overflow:hidden;background:#19191d;cursor:pointer;aspect-ratio:4/3;min-width:0}#gallery-grid img{display:block;grid-column:auto;grid-row:auto;width:100%;height:100%;object-fit:cover;transition:transform .25s}#gallery-grid button:hover img{transform:scale(1.025)}#gallery-grid button:focus-visible{outline:3px solid #ff8178;outline-offset:4px}
#gallery-more{background:#26262c;color:white;border:1px solid #555;margin-top:8px}#gallery-more[hidden]{display:none}#gallery-viewer{width:min(1100px,94vw);max-height:94dvh;padding:20px;background:#101013;color:white;border:1px solid #444;border-radius:12px;overflow:auto}#gallery-viewer::backdrop{background:#000e}#gallery-viewer button{color:white;background:#29292f;border:1px solid #555;border-radius:8px;padding:12px 20px;min-height:44px;cursor:pointer;font:inherit}#gallery-viewer button:disabled{opacity:.4;cursor:default}.gallery-viewer-tools,.gallery-viewer-nav{display:flex;justify-content:space-between;align-items:center;gap:12px}#gallery-full{display:block;width:100%;height:min(65dvh,760px);object-fit:contain;margin-top:16px}#gallery-caption{font-size:1rem;line-height:1.5}#gallery-position{font-size:.875rem;color:#ccc}
@media(max-width:650px){#gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#gallery-viewer{padding:14px}.header nav a[href="#galeria"]{display:inline-flex!important}}
@media(prefers-reduced-motion:reduce){#gallery-grid img{transition:none}}
