/* page-home-m2: mobile layer (ADR 0019) - Realizacje swipe carousel + Co robimy sticky stack. Mobile only (<900px). */
@media (min-width:900px){.mm-count{display:none!important}}

@media (max-width:899.98px){
/* ---------- Realizacje: swipe carousel ---------- */
.hm-cases{background:#0a0c10}
.hm-cases__in{padding:80px 0 0;display:block;overflow:hidden}
.hm-cases__glow{left:50%;top:40%;width:700px;height:500px;background:radial-gradient(ellipse at center,rgba(0,87,255,.18),transparent 60%)}
.hm-cases__head{flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 22px;padding:0 20px;max-width:none}
.hm-cases__head>div:first-child{gap:10px;max-width:none}
.hm-cases__head .hm-eyebrow{font-size:12px}
.hm-cases__head h2{font-size:32px;line-height:.98;letter-spacing:-0.045em;text-wrap:balance}
.hm-cases__ctrl{gap:8px;margin-left:0;flex:none}
.hm-cases__count{display:none}
.hm-arrow{width:44px;height:44px;border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
.hm-arrow--next{border:0;background:#fff}

.hm-cases__area{display:block;position:relative;perspective:none;touch-action:auto;cursor:auto;user-select:auto;-webkit-user-select:auto;flex:none}
.hm-cases__track{display:flex;align-items:stretch;width:auto;height:auto;gap:12px;padding:0 20px 4px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 20px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;transform:none!important;transform-style:flat;will-change:auto}
.hm-cases__track::-webkit-scrollbar{display:none}
.hm-cases__track::after{content:"";flex:0 0 8px}
.hm-case{flex:0 0 300px;width:300px;height:450px;border-radius:30px;box-shadow:0 30px 80px rgba(0,0,0,.45);scroll-snap-align:start;transform:none!important;opacity:1!important;will-change:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hm-case>img{object-fit:cover}
.hm-case__shade{background:linear-gradient(180deg,rgba(5,9,20,0) 20%,rgba(5,9,20,.72) 50%,rgba(5,9,20,.97) 78%)}
.hm-case__body{padding:18px;gap:12px}
.hm-case__tags{gap:6px}
.hm-case__tags span{padding:5px 10px;font-size:11px}
.hm-case h3{font-size:22px;line-height:1.04}
/* metrics always visible; description + links live in the case sheet (data-sheet) */
.hm-case__more{grid-template-rows:1fr;transition:none}
.hm-case__info{gap:0;padding-top:0;opacity:1;transform:none;filter:none;transition:none}
.hm-case__info>p,.hm-case__links{display:none}
.hm-case__metrics{gap:6px}
.hm-case__metrics div{padding:10px;border-radius:14px;background:rgba(255,255,255,.08)}
.hm-case__metrics strong{font-size:18px;line-height:1}
.hm-case__metrics span{margin-top:5px;font-size:11px;line-height:1.25}

.hm-cases__dots{display:flex;align-items:center;justify-content:center;gap:7px;margin:20px 0 0;padding:0;max-width:none}
.hm-cases__dots button{position:relative;width:7px;height:7px;background:rgba(255,255,255,.25);transition:width 420ms cubic-bezier(.32,.72,0,1),background-color 300ms}
.hm-cases__dots button::before{content:"";position:absolute;inset:-14px -3px}
.hm-cases__dots button.is-active{width:28px;background:#fff}
.mm-count{margin-left:10px;font-size:13px;font-weight:600;color:#aeb4c2;font-variant-numeric:tabular-nums;line-height:1}

/* ---------- Co robimy: sticky stack ---------- */
.hm-svc{padding:88px 12px 0}
.hm-svc__head{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;margin:0 0 28px;padding:0 8px}
.hm-svc__head>div{gap:14px;max-width:none}
.hm-svc__head .hm-eyebrow{font-size:12px}
.hm-svc__head .hm-h2{font-size:34px;line-height:.98;letter-spacing:-0.045em}
.hm-svc__head>p{max-width:none;font-size:16px;line-height:1.55;color:#c3c8d3}
.hm-svc__head>p a{color:#6699ff;white-space:nowrap}
.hm-svc__stack{gap:16px}
.hm-scard{position:sticky;top:calc(84px + var(--i,0) * 10px);border-radius:32px;box-shadow:0 -24px 60px rgba(0,0,0,.55);transform:none!important;will-change:auto}
.hm-scard__row{display:flex;flex-direction:column;flex-wrap:nowrap;gap:18px;padding:22px 20px 20px;min-height:0}
.hm-scard__txt,.hm-scard__copy{display:contents}
.hm-scard__meta{order:1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hm-scard__meta span:first-child{font-size:14px}
.hm-scard__meta span:last-child{font-size:12px;text-align:right}
.hm-scard h3{order:2;font-size:34px;line-height:.95;letter-spacing:-0.045em}
.hm-scard__copy p{order:3;max-width:none;font-size:15px;line-height:1.55}
.hm-scard__img{order:4;flex:none;height:170px;min-height:0;margin:0;border-radius:22px;background:#07101d}
.hm-scard .hm-btn-pill{order:5;height:50px;padding:0 8px 0 20px;font-size:15px}
}

@media (max-width:899.98px) and (prefers-reduced-transparency:reduce){
.hm-case__tags span,.hm-case__metrics div{backdrop-filter:none;-webkit-backdrop-filter:none}
.hm-case__tags span{background:#0b1120}
.hm-case__metrics div{background:#1a2030}
}

@media (max-width:899.98px) and (prefers-reduced-motion:reduce){
.hm-cases__dots button{transition:none}
.hm-cases__track{scroll-behavior:auto}
}
