/* Shared glass treatment for the homepage categories and service cards. */
.category-section .category-front{background-image:url('assets/category-glass-win11.webp');animation:glass-background-breathe 11s ease-in-out infinite}
.category-section .category-card:nth-child(2) .category-front{animation-delay:-2s}
.category-section .category-card:nth-child(3) .category-front{animation-delay:-4s}
.category-section .category-card:nth-child(4) .category-front{animation-delay:-6s}
.category-section .category-front::after{background:radial-gradient(circle at var(--glow-x,35%) var(--glow-y,25%),#ffffff75 0,transparent 45%),linear-gradient(115deg,transparent 20%,#ffffff4a 45%,transparent 68%);background-size:100% 100%,250% 100%;animation:living-glass-light 9s ease-in-out infinite;opacity:.4}
@keyframes glass-background-breathe{0%,100%{background-size:442.34% 120%}50%{background-size:443.6% 120.4%}}
@keyframes living-glass-light{0%,100%{background-position:0 0,100% 0;opacity:.25}50%{background-position:0 0,0% 0;opacity:.6}}
.home-services .service-grid{gap:23px;align-items:stretch}
.home-services .service-card{--glass-x:3.2318%;--glass-shadow:#4fbce229;position:relative;isolation:isolate;display:grid;grid-template-columns:62px minmax(0,1fr);align-items:start;gap:17px;min-width:0;padding:27px 25px 62px;border:1px solid #ffffffd9;border-radius:26px;background:url('assets/category-glass-small.webp') var(--glass-x) 81.5% / 442.34% 250% no-repeat;box-shadow:0 11px 26px var(--glass-shadow),inset 0 1px 2px #fff;transition:box-shadow .35s,translate .35s;}
.home-services .service-card:nth-child(4n+2){--glass-x:34.4313%;--glass-shadow:#a386c329}
.home-services .service-card:nth-child(4n+3){--glass-x:65.693%;--glass-shadow:#e5ab5729}
.home-services .service-card:nth-child(4n+4){--glass-x:97.0168%;--glass-shadow:#a570d229}
.home-services .service-card::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:linear-gradient(140deg,#ffffff,#70d8ff,#ffffff,#dba1ff);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;z-index:2;pointer-events:none}
.home-services .service-card::after{content:'';position:absolute;inset:1px;border-radius:25px;z-index:-1;background:radial-gradient(ellipse at var(--glow-x,30%) var(--glow-y,20%),#ffffff90,transparent 65%),linear-gradient(115deg,transparent 30%,#ffffff4d 50%,transparent 70%);background-size:100% 100%,250% 100%;animation:living-glass-light 12s ease-in-out infinite;pointer-events:none}
.home-services .service-card:nth-child(3n+2)::after{animation-delay:-3s}
.home-services .service-card:nth-child(3n+3)::after{animation-delay:-6s}
.home-services .service-card.reveal.visible:hover,.home-services .service-card:hover{transform:none;translate:0 -4px;box-shadow:0 18px 35px var(--glass-shadow)}
.home-services .service-card .icon{width:62px;height:62px;padding:12px;margin:0;display:grid;place-items:center;overflow:hidden;border-radius:19px;border:1px solid #ffffffee;background:linear-gradient(145deg,#ffffffc9,#ffffff6b);box-shadow:0 6px 14px #233b5020,inset 0 1px 2px #fff;color:#26394c;animation:service-icon-float 8s ease-in-out infinite}
.home-services .service-card .icon:has(.windows-icon){background:linear-gradient(145deg,#45c5ff,#078cd0);color:#fff}
.home-services .service-card .icon .windows-icon{width:34px;height:34px;fill:#fff;filter:none;color:#fff}
.home-services .service-card .icon .apple-icon{width:34px;height:38px;filter:brightness(0);opacity:.87}
.home-services .service-card .icon svg{width:34px;height:34px;stroke-width:1.6}
.home-services .service-card .icon:has(.category-photo){padding:3px}
.home-services .service-card .icon .category-photo{width:100%;height:100%;object-fit:cover;border-radius:15px}
.home-services .service-text{min-width:0}
.home-services .service-card h3{font-size:21px;line-height:1.2;letter-spacing:-.4px;color:#11283f;margin:2px 0 12px}
.home-services .service-card p{font-size:14px;line-height:1.6;margin:0;color:#283d53;min-height:0}
.home-services .service-card .service-go{width:37px;height:37px;bottom:18px;right:23px;border-radius:50%;background:linear-gradient(145deg,#ffeb7b,#ffd042)!important;color:#13243b!important;border:1px solid #fff5aa;box-shadow:0 5px 13px #d6ac3040,inset 0 1px 2px #fff;}
.home-services .service-go::before,.home-services .service-go::after{display:none!important}
.home-services .service-go:hover{background:#12263e!important;color:white!important}
.home-services .service-go:focus-visible{outline:3px solid #163a64;outline-offset:4px}
@keyframes service-icon-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
@media(max-width:700px){.home-services .service-card{grid-template-columns:54px minmax(0,1fr);gap:14px;padding:23px 20px 62px;border-radius:23px}.home-services .service-card .icon{width:54px;height:54px;border-radius:17px}.home-services .service-card h3{font-size:20px}.home-services .service-card p{font-size:13px}.home-services .service-card::after{border-radius:22px}}
@media(prefers-reduced-motion:reduce){.category-section .category-front,.category-section .category-front::after,.home-services .service-card::after,.home-services .service-card .icon{animation:none!important}.home-services .service-card{transition:none}.home-services .service-card:hover{translate:none}}
