/* MTOPrograms — MOBILE / Strona główna v329 */
@media screen and (max-width:1199px){
  body.home-modern main{margin:0!important;padding:var(--m-header-content-gap) 0 0!important;background:transparent!important;color:var(--m-text)!important;font-family:var(--m-font)!important;}
  body.home-modern :is(.hero,.hero-webwave,.home-cards-section,.desktop-home-section){margin:0!important;padding:0!important;background:transparent!important;}
  body.home-modern :is(.hero-webwave,.home-cards-section)>.container{width:var(--m-page-w)!important;max-width:var(--m-page-w)!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:var(--m-gap)!important;}
  body.home-modern :is(.home-intro-panel,.dmx-panel,.hero-panel,.home-card){width:100%!important;overflow:hidden!important;border:1px solid var(--m-border)!important;border-radius:var(--m-radius)!important;box-shadow:var(--m-shadow)!important;}

  body.home-modern .home-intro-panel{margin:0!important;padding:21px 18px 20px!important;background:var(--m-panel)!important;text-align:center!important;}
  body.home-modern :is(.home-intro-panel h2,.hero-panel.home-mobile-text-panel p:first-child,.home-card h2){position:relative!important;width:max-content!important;max-width:100%!important;margin:0 auto 18px!important;padding:0 0 10px!important;color:var(--m-text)!important;font-family:var(--m-font)!important;font-weight:800!important;line-height:1.18!important;letter-spacing:-.45px!important;text-align:center!important;}
  body.home-modern :is(.home-intro-panel h2,.hero-panel.home-mobile-text-panel p:first-child,.home-card h2)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:99px;background:linear-gradient(90deg,rgba(22,139,255,.96),rgba(110,196,255,1) 55%,rgba(22,139,255,.72));}
  body.home-modern .home-intro-panel h2{font-size:clamp(21px,5.4vw,25px)!important;}
  body.home-modern .home-intro-panel p{max-width:100%;margin:0 0 7px!important;color:var(--m-muted)!important;font-family:"Funnel Display",var(--m-font)!important;font-size:clamp(13px,3.5vw,15px)!important;line-height:1.38!important;font-weight:400!important;}
  body.home-modern .home-intro-panel p:last-child{margin-bottom:0!important;}

  body.home-modern .dmx-panel{position:relative!important;aspect-ratio:2172/724!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(180deg,rgba(10,22,37,.985),rgba(4,10,18,.995))!important;}
  body.home-modern :is(.dmx-panel img,.dmx-image){position:relative!important;z-index:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;filter:saturate(1.12) contrast(1.07) brightness(.90)!important;}
  body.home-modern .dmx-panel::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(2,8,15,.04),rgba(2,8,15,.34)),radial-gradient(circle at 50% 58%,rgba(47,140,255,.08),transparent 52%);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),inset 0 -22px 32px rgba(0,0,0,.30);}

  body.home-modern .hero-panel.home-mobile-text-panel{min-height:0!important;margin:0!important;padding:20px 14px 18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;background:var(--m-panel)!important;text-align:center!important;}
  body.home-modern .hero-panel.home-mobile-text-panel p{margin:0!important;padding:0!important;color:var(--m-muted)!important;font-family:var(--m-font)!important;font-size:clamp(15px,4vw,18px)!important;line-height:1.35!important;font-weight:400!important;text-align:center!important;}
  body.home-modern .hero-panel.home-mobile-text-panel p:first-child{margin:0 auto 4px!important;color:var(--m-text)!important;font-size:clamp(22px,5.7vw,26px)!important;}
  body.home-modern .hero-cctv-line span{display:block!important;}

  body.home-modern .home-cards-section{padding-top:var(--m-gap)!important;}
  body.home-modern .home-cards{width:100%!important;max-width:100%!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:var(--m-gap)!important;}
  body.home-modern .home-card{position:relative!important;height:240px!important;min-height:240px!important;max-height:240px!important;margin:0!important;padding:20px 18px 12px!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) 46px!important;row-gap:0!important;background:var(--m-panel-soft)!important;}
  body.home-modern .home-card::before{content:"";position:absolute;left:0;right:0;top:0;height:60px;background:var(--m-card-top-glow);pointer-events:none;}
  body.home-modern .home-card h2{z-index:1!important;display:block!important;margin:0!important;font-size:23px!important;line-height:29px!important;text-align:left!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  body.home-modern .home-card-box{position:relative!important;z-index:1!important;width:100%!important;min-height:0!important;height:auto!important;align-self:center!important;justify-self:stretch!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,45%) 1fr!important;align-items:center!important;align-content:center!important;justify-items:center!important;justify-content:center!important;column-gap:18px!important;row-gap:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  body.home-modern :is(.home-card-img,.home-card:nth-child(1) .home-card-img,.home-card:nth-child(2) .home-card-img,.home-card:nth-child(3) .home-card-img){display:block!important;width:auto!important;max-width:150px!important;height:82px!important;min-height:82px!important;max-height:82px!important;margin:0 auto!important;object-fit:contain!important;object-position:center center!important;filter:drop-shadow(0 14px 20px rgba(0,0,0,.44))!important;}
  body.home-modern .home-card:nth-child(2) .home-card-img,body.home-modern .home-card:nth-child(3) .home-card-img{height:72px!important;min-height:72px!important;max-height:72px!important;}
  body.home-modern .home-card-box > *{align-self:center!important;}
  body.home-modern .home-card p{align-self:center!important;justify-self:start!important;margin:0!important;color:var(--m-muted)!important;font-family:var(--m-font)!important;font-size:15px!important;line-height:1.45!important;font-weight:400!important;text-align:left!important;}
  body.home-modern .home-card .button{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:46px!important;margin:0!important;padding:0!important;align-self:end!important;display:flex!important;align-items:center!important;justify-content:center!important;background:var(--m-button-bg)!important;border:1px solid var(--m-border-soft)!important;border-radius:var(--m-radius-small)!important;box-shadow:var(--m-button-shadow)!important;color:var(--m-text)!important;font-family:var(--m-font)!important;font-size:14px!important;font-weight:900!important;letter-spacing:.55px!important;text-align:center!important;}
  body.home-modern .home-card .button::after{content:"";display:none;}
  /* v327: precyzyjna strefa centrowania między kreską nagłówka a przyciskiem WIĘCEJ */
  body.home-modern .home-card{
    display:block!important;
  }
  body.home-modern .home-card h2{
    position:relative!important;
    z-index:2!important;
    margin:0 auto!important;
  }
  body.home-modern .home-card-box{
    position:absolute!important;
    z-index:1!important;
    left:18px!important;
    right:18px!important;
    top:61px!important;
    bottom:58px!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    align-self:auto!important;
    justify-self:auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,45%) 1fr!important;
    align-items:center!important;
    align-content:center!important;
    justify-items:center!important;
    justify-content:center!important;
    column-gap:18px!important;
    row-gap:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.home-modern .home-card .button{
    position:absolute!important;
    left:18px!important;
    right:18px!important;
    bottom:12px!important;
    width:auto!important;
  }

}

/* v332: docelowe usunięcie niebieskich strzałek z przycisków WIĘCEJ. */
:is(.button,.desktop-more-button,.desktop-product-more-button,.product-row-button,.product-back-button)::after,
a:is(.button,.desktop-more-button,.desktop-product-more-button,.product-row-button,.product-back-button)::after {
  content:none !important;
  display:none !important;
  visibility:hidden !important;
  width:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  opacity:0 !important;
}

:is(.button,.desktop-more-button,.desktop-product-more-button,.product-row-button,.product-back-button) {
  padding-right:0 !important;
  text-align:center !important;
}



/* v354 — piktogramy w sekcji głównych obszarów usług. */
@media screen and (max-width:1199px) {
  body.home-modern .hero-panel.home-mobile-text-panel {
    gap:14px !important;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item {
    width:100%;
    margin:0 !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:13px !important;
    color:var(--m-muted) !important;
    font-size:clamp(14px,3.7vw,17px) !important;
    line-height:1.32 !important;
    text-align:left !important;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item.service-light {
    --service-accent:#ff9a4a;
    --service-accent-rgb:255,154,74;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item.service-security {
    --service-accent:#b8ff58;
    --service-accent-rgb:184,255,88;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item.service-power {
    --service-accent:#7fc4ff;
    --service-accent-rgb:127,196,255;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-icon {
    position:relative;
    width:27px;
    height:27px;
    min-width:27px;
    display:grid;
    place-items:center;
    isolation:isolate;
    background:rgba(4, 10, 18, .42);
    border:1px solid rgba(var(--service-accent-rgb), .42);
    border-radius:50%;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.05),
      0 2px 5px rgba(0,0,0,.22);
    overflow:hidden;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-icon svg {
    position:relative;
    z-index:1;
    width:18px;
    height:18px;
    fill:none;
    stroke:#ffffff;
    stroke-width:2.95;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter:
      drop-shadow(.8px 0 0 rgba(0,0,0,.88))
      drop-shadow(-.8px 0 0 rgba(0,0,0,.88))
      drop-shadow(0 .8px 0 rgba(0,0,0,.88))
      drop-shadow(0 -.8px 0 rgba(0,0,0,.88))
      drop-shadow(0 1.5px 2px rgba(0,0,0,.46));
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-copy {
    display:flex;
    flex-direction:column;
    gap:1px;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-copy span {
    display:block;
  }
}

/* v413 — dodatkowe powiększenie ikon o kolejne 20% również w widoku mobilnym. */
@media screen and (max-width:1199px) {
  /* Dodatkowe +20% względem v412: 32,4 px × 1,2 = 38,88 px; 21,6 px × 1,2 = 25,92 px. */
  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-icon {
    width:38.88px !important;
    height:38.88px !important;
    min-width:38.88px !important;
  }

  body.home-modern .hero-panel.home-mobile-text-panel p.service-item .service-icon svg {
    width:25.92px !important;
    height:25.92px !important;
  }
}

