/* SITEGALLERYPHOTOS SERVICES16 - Hover visual states, scoped to services only. */
.sg16-services,.sg16-services * { box-sizing:border-box; }
.sg16-services { position:relative; isolation:isolate; display:block!important; width:100%; padding:112px 0 95px; background:#f4f4f4; color:#101010; font-family:Inter,Arial,Helvetica,sans-serif; scroll-margin-top:16px; }
.sg16-heading { text-align:center; padding:0 18px; margin:0 auto 78px; max-width:1000px; }
.sg16-heading h2 { margin:0 0 29px; font-size:clamp(52px,4.8vw,86px); line-height:.94; letter-spacing:-.065em; font-weight:760; }
.sg16-heading p { color:#707070; font-size:clamp(14px,1.06vw,19px); letter-spacing:-.012em; line-height:1.5; margin:0 auto; }
.sg16-grid { width:calc(100% - 9vw); max-width:1640px; margin:0 auto; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch; gap:17px; }
.sg16-card { display:block; position:relative; height:520px; min-width:0; margin:0; overflow:hidden; background:#fff; border:0; border-radius:17px; cursor:pointer; outline:none; transform:translateZ(0); isolation:isolate; -webkit-tap-highlight-color:transparent; }
.sg16-card:focus-visible { outline:3px solid #3a6f65; outline-offset:3px; }
.sg16-card .sg16-photo { position:absolute; z-index:1; display:block; left:8px; top:8px; width:calc(100% - 16px); height:calc(100% - 152px); border-radius:11px; object-fit:cover; object-position:center; max-width:none; filter:none; transform:none; transition: width .62s cubic-bezier(.22,1,.36,1), height .62s cubic-bezier(.22,1,.36,1), border-radius .4s ease; will-change:width,height; }
.sg16-card .sg16-title { position:absolute; z-index:2; left:21px; right:14px; bottom:29px; margin:0; color:#101010; font-size:clamp(19px,1.32vw,25px); line-height:1.14; font-weight:680; letter-spacing:-.042em; transition: bottom .62s cubic-bezier(.22,1,.36,1); }
.sg16-card .sg16-desc { position:absolute; z-index:2; left:21px; right:21px; bottom:96px; margin:0; color:#646464; opacity:0; transform:translateY(20px); font-size:clamp(13px,.9vw,16px); line-height:1.44; letter-spacing:-.016em; pointer-events:none; transition:opacity .29s ease .07s,transform .56s cubic-bezier(.22,1,.36,1); }
.sg16-card .sg16-time { position:absolute; z-index:2; left:8px; right:8px; bottom:8px; height:59px; border-radius:10px; padding:0 16px; background:#090909; color:#fff; display:flex; align-items:center; justify-content:space-between; gap:8px; opacity:0; transform:translateY(27px); pointer-events:none; transition:opacity .26s ease .1s,transform .58s cubic-bezier(.22,1,.36,1); }
.sg16-time span { color:#bababa; font-size:13px; }
.sg16-time strong { font-size:13px; font-weight:650; white-space:nowrap; }
/* Explicit JS-driven hover plus CSS fallback. Visible in browsers with mouse, touch or keyboard. */
.sg16-services .sg16-card:is(:hover,:focus-visible,.sg16-active) .sg16-photo { width:calc(50% - 8px); height:184px; }
.sg16-services .sg16-card:is(:hover,:focus-visible,.sg16-active) .sg16-title { bottom:190px; }
.sg16-services .sg16-card:is(:hover,:focus-visible,.sg16-active) .sg16-desc { opacity:1; transform:translateY(0); }
.sg16-services .sg16-card:is(:hover,:focus-visible,.sg16-active) .sg16-time { opacity:1; transform:translateY(0); }
.sg16-card .sg16-active-badge { position:absolute; z-index:3; right:13px; top:13px; font-size:10px; letter-spacing:.08em; color:#777; opacity:0; transition:opacity .3s ease; }
.sg16-card:is(:hover,:focus-visible,.sg16-active) .sg16-active-badge { opacity:1; }
@media (max-width:1150px) { .sg16-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px;width:calc(100% - 52px)} .sg16-card{height:500px} }
@media (max-width:620px) { .sg16-services{padding:72px 0} .sg16-heading{margin-bottom:45px} .sg16-heading h2{font-size:clamp(45px,10vw,66px)} .sg16-heading p{font-size:15px} .sg16-break{display:none} .sg16-grid{grid-template-columns:1fr;max-width:430px;width:calc(100% - 32px);gap:14px} .sg16-card{height:490px} .sg16-card .sg16-title{font-size:24px} }
@media (prefers-reduced-motion:reduce) { .sg16-services *{ transition-duration:.01ms!important; animation-duration:.01ms!important; } }
