.gallery-page{background:#11100e;color:#eee8dc}.gallery-header{background:rgba(14,13,11,.92)}
.gallery-hero{min-height:72vh;display:grid;align-items:end;padding:8rem clamp(1.2rem,6vw,7rem) 5rem;background:linear-gradient(90deg,rgba(10,9,8,.95),rgba(10,9,8,.28)),url('../assets/photos/gruppo/home-hero.jpg') center 35%/cover no-repeat}
.gallery-hero>div{max-width:820px}.gallery-hero h1{font-size:clamp(3rem,8vw,7.5rem);line-height:.9;margin:.45rem 0 1.4rem}.gallery-hero p{font-size:clamp(1rem,1.8vw,1.35rem);max-width:720px}
.gallery-intro{padding-bottom:2rem}.event-index{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14)}.event-index a{padding:1.2rem;background:#171512;color:#eee8dc;text-decoration:none}.event-index span{display:block;color:#b98c49;font-size:.78rem;margin-bottom:.25rem}.event-index a:hover,.event-index a:focus-visible{background:#211d18}
.event-gallery{padding-top:5rem}.event-gallery__heading{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:end;margin-bottom:2rem}.event-gallery__heading h2{margin:.2rem 0 0}.event-gallery__heading h2 small{font-size:.42em;color:#a99e8d;font-weight:400}.event-gallery__heading p{color:#bfb5a6}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:260px;gap:.8rem}.gallery-thumb{border:0;padding:0;background:#1b1814;overflow:hidden;cursor:zoom-in}.gallery-thumb--wide{grid-column:span 2}.gallery-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease,filter .5s ease}.gallery-thumb:hover img,.gallery-thumb:focus-visible img{transform:scale(1.04);filter:brightness(1.08)}
.lightbox{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.94);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:2rem}.lightbox[hidden]{display:none}.lightbox figure{margin:0;text-align:center}.lightbox img{max-width:min(92vw,1500px);max-height:82vh;object-fit:contain}.lightbox figcaption{margin-top:.8rem;color:#ddd3c4}.lightbox__close{position:absolute;top:1rem;right:1rem;width:48px;height:48px;border:1px solid rgba(255,255,255,.35);background:#15130f;color:#fff;font-size:2rem;cursor:pointer}.lightbox__nav{width:54px;height:70px;border:0;background:rgba(255,255,255,.08);color:white;font-size:3rem;cursor:pointer}.lightbox__nav:hover,.lightbox__nav:focus-visible{background:rgba(255,255,255,.18)}
.gallery-cta{margin-top:5rem}
@media(max-width:900px){.event-index{grid-template-columns:repeat(2,1fr)}.event-gallery__heading{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px}.lightbox{grid-template-columns:1fr;padding:1rem}.lightbox__nav{position:absolute;top:50%}.lightbox__prev{left:.5rem}.lightbox__next{right:.5rem}}
@media(max-width:560px){.gallery-hero{min-height:68vh;padding-top:7rem}.event-index{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr;grid-auto-rows:300px}.gallery-thumb--wide{grid-column:auto}.event-gallery__heading h2 small{display:block;margin-top:.4rem}}

/* v0.8.1 — header coerente con la homepage */
.gallery-header .header-inner{width:100%}
.gallery-header .brand-logo{width:54px;height:54px;object-fit:contain}
.gallery-header .brand-copy{display:flex;flex-direction:column}
@media(max-width:680px){.gallery-header .brand-logo{width:46px;height:46px}}
