/* Local to Services: the approved homepage and shared design stay unchanged. */
.service-detail{scroll-margin-top:12px}
.service-gallery{min-width:0;margin:0}
.service-detail:nth-of-type(odd) .service-gallery{order:2}
.gallery-track{display:grid;grid-template-columns:repeat(var(--gallery-supporting),minmax(0,1fr));gap:12px;position:relative}
.gallery-image{display:block;min-width:0;overflow:hidden;background:var(--site-inset,#e9dfd2);position:relative;line-height:0;cursor:zoom-in}
.gallery-image:first-child{grid-column:1/-1}
.gallery-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .35s ease}
.gallery-image:first-child img{aspect-ratio:3/2}
.gallery-image:hover img{transform:scale(1.025)}
.gallery-image:focus-visible{outline:3px solid var(--burgundy);outline-offset:3px;z-index:1}
.gallery-view-note{font-size:11px;color:var(--site-muted,#655b59);margin:12px 0 0}
.gallery-controls{display:none}
.gallery-mobile-hint{display:none}
.gallery-lightbox{width:min(1200px,94vw);padding:30px;max-height:94svh;overflow:auto}
.gallery-lightbox::backdrop{background:#160f15e8}
.gallery-lightbox-header{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:20px}
.gallery-lightbox h2{font:27px/1.25 Georgia,serif;letter-spacing:-.6px;color:var(--site-accent,var(--burgundy));margin:0}
.gallery-lightbox-close{background:none;border:1px solid var(--site-line,#ac9693);color:var(--site-accent,var(--burgundy));min-width:44px;min-height:44px;font-size:26px;line-height:1;flex-shrink:0}
.gallery-lightbox-image{display:block;width:100%;height:auto;max-height:65svh;object-fit:contain;aspect-ratio:3/2;background:var(--site-inset,#e9dfd2)}
.gallery-lightbox-status{font-size:12px;margin:8px 0;min-height:20px;color:var(--site-muted,#655b59)}
.gallery-lightbox-footer{display:flex;justify-content:flex-end;gap:24px;align-items:center;flex-wrap:wrap}
.gallery-lightbox-footer p{font-size:11px;color:var(--site-muted,#655b59);margin:0;max-width:600px}
.gallery-lightbox-buttons{display:flex;align-items:center;gap:12px}
.gallery-arrow{border:1px solid var(--site-line,#ac9693);color:var(--site-accent,var(--burgundy));background:var(--ivory);min-width:44px;min-height:44px;font-size:20px;line-height:1}
.gallery-arrow:hover,.gallery-lightbox-close:hover{background:var(--site-inset,#eee3d5)}
.gallery-arrow:disabled{opacity:.35;cursor:not-allowed}
.gallery-position{font-size:11px;color:var(--site-accent,var(--burgundy));min-width:45px;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:760px){
 .service-detail:nth-of-type(odd) .service-gallery{order:0}
 .gallery-track{display:flex;overflow-x:auto;overflow-y:hidden;gap:12px;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--gold) transparent;padding-bottom:10px}
 .gallery-track::after{content:'';flex:0 0 calc(10% - 12px)}
 .gallery-image,.gallery-image:first-child{flex:0 0 90%;scroll-snap-align:start;scroll-snap-stop:normal}
 .gallery-image img,.gallery-image:first-child img{aspect-ratio:3/2;object-fit:cover}
 .gallery-image:hover img{transform:none}
 .gallery-ready .gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
 .gallery-controls-buttons{display:flex;align-items:center;gap:10px}
 .gallery-mobile-hint{display:block;font-size:11px;color:var(--site-muted,#655b59);margin:0;line-height:1.5}
 .gallery-view-note{display:none}
 .gallery-lightbox{padding:20px;width:94vw;max-height:94svh}
 .gallery-lightbox h2{font-size:23px;letter-spacing:-.4px}
 .gallery-lightbox-header{gap:14px}
 .gallery-lightbox-image{max-height:60svh}
 .gallery-lightbox-footer{gap:18px}
 .gallery-lightbox-buttons{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){.gallery-track{scroll-behavior:auto}.gallery-image img{transition:none}}
