.projects-page{background:#f5f7fa}
.back-home{display:flex;align-items:center;gap:10px;width:fit-content;min-height:46px;padding:10px 18px;margin:0 0 30px;border:1px solid #17cc35;border-radius:4px;color:#17cc35;text-decoration:none;font-weight:700;line-height:1.4}
.back-home:hover{background:#17cc35;color:#050505}
.back-home:focus-visible{outline:3px solid #fff;outline-offset:4px}
.site-header nav a.active{color:#17cc35}
.projects-hero{background:linear-gradient(115deg,rgba(0,0,0,.94),rgba(0,0,0,.72)),url('https://images.leadconnectorhq.com/image/f_webp/q_80/r_1200/u_https://assets.cdn.filesafe.space/tpse16SGDKNSP8OhtqNB/media/660728014c6b5ef7e7dd9f23.jpeg') center/cover;color:#fff;padding:105px 0 110px}
.projects-hero h1{font-family:Oswald,sans-serif;font-size:68px;line-height:1;margin:0 0 22px}
.projects-hero p{max-width:720px;font-size:19px;color:#e2e2e2;margin:0}
.hero-actions{display:flex;gap:16px;align-items:center;margin-top:12px}
.outline-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 24px;margin-top:20px;border:1px solid #fff;color:#fff;text-decoration:none;font-family:Oswald,sans-serif;font-weight:700}
.gallery-heading{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:42px}
.gallery-heading h2{font-family:Oswald,sans-serif;font-size:42px;line-height:1.15;margin:0}
.gallery-heading>p{max-width:420px;margin:0;color:#555}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start}
.project-card{position:relative;display:block;width:100%;height:520px;padding:0;border:0;border-radius:5px;overflow:hidden;background:#111;box-shadow:0 7px 25px rgba(0,0,0,.14);cursor:pointer}
.project-card-wide{height:340px}
.project-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease,opacity .35s ease}
.project-card span{position:absolute;left:18px;bottom:18px;background:#17cc35;color:#050505;padding:9px 13px;font-family:Oswald,sans-serif;font-weight:700;opacity:0;transform:translateY(8px);transition:.25s ease}
.project-card:hover img,.project-card:focus-visible img{transform:scale(1.035);opacity:.76}
.project-card:hover span,.project-card:focus-visible span{opacity:1;transform:none}
.project-lightbox{width:min(94vw,780px);max-height:92vh;padding:0;border:0;border-radius:5px;background:#070707;box-shadow:0 25px 80px #000b}
.project-lightbox::backdrop{background:rgba(0,0,0,.88)}
.project-lightbox img{display:block;max-width:100%;max-height:88vh;margin:auto;object-fit:contain}
.lightbox-close{position:absolute;z-index:2;right:12px;top:10px;width:42px;height:42px;border:0;border-radius:50%;background:#17cc35;color:#050505;font-size:30px;line-height:1;cursor:pointer}
.projects-cta{background:#050505;color:white;padding:60px 0}
.projects-cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}
.projects-cta h2{font-family:Oswald,sans-serif;font-size:38px;margin:0 0 8px}
.projects-cta p{margin:0;color:#bbb}
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,1fr)}.gallery-heading{align-items:start}.project-card{height:560px}.project-card-wide{height:340px}}
@media(max-width:760px){.projects-hero{padding:75px 0 80px}.projects-hero h1{font-size:48px}.projects-hero p{font-size:16px}.hero-actions{display:block}.outline-btn{margin-left:8px}.gallery-heading{display:block}.gallery-heading h2{font-size:32px;margin-bottom:18px}.project-grid{grid-template-columns:1fr}.project-card{height:auto;aspect-ratio:9/14}.project-card-wide{aspect-ratio:3/2}.projects-cta .wrap{display:block}.projects-cta .btn{margin-top:25px}}
@media(max-width:420px){.hero-actions{display:flex;flex-direction:column;align-items:stretch}.hero-actions .btn,.outline-btn{margin-left:0;width:100%}}
