/* THE PULSE V38 – mobile matches original desktop visual identity.
   ONE mobile override file; no accumulated V35/V36/V37 redesign layers. */
@media (max-width:1100px) {
  html{scroll-padding-top:90px!important;}
  body,.mock{overflow-x:clip!important;}
  .mock::before{background-position:64% center!important;}
  .shade{background:linear-gradient(90deg,rgba(1,7,13,.72),rgba(1,7,13,.39)),linear-gradient(180deg,rgba(1,7,13,.22),rgba(1,7,13,.4))!important;}
  .hero-portals,.tp-nav-backdrop{display:none!important;}
  /* same floating transparent-to-dark-to-transparent strip as desktop navigation */
  .pulse-menu{
    position:fixed!important;top:9px!important;left:50%!important;transform:translateX(-50%)!important;
    margin:0!important;padding:9px 22px!important;box-sizing:border-box!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:14px!important;width:min(100%,780px)!important;min-height:68px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    background:transparent!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    -webkit-mask-image:none!important;mask-image:none!important;
    z-index:1000!important;
  }
  .pulse-menu::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
    background:linear-gradient(90deg,rgba(42,51,65,0) 0%,rgba(42,51,65,.68) 17%,rgba(42,51,65,.76) 50%,rgba(42,51,65,.68) 83%,rgba(42,51,65,0) 100%);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);}
  .pulse-menu__logo{display:flex!important;position:relative!important;align-items:center!important;flex:0 1 230px!important;min-width:0!important;max-width:230px!important;z-index:2!important;}
  .pulse-menu__logo img{display:block!important;width:100%!important;height:auto!important;max-width:230px!important;max-height:51px!important;object-fit:contain!important;mix-blend-mode:normal!important;}
  .pulse-menu__links{display:none!important;}
  .pulse-mobile-menu{position:relative!important;display:block!important;margin-left:auto!important;flex:0 0 auto!important;z-index:1002!important;}
  .pulse-mobile-menu summary{height:43px!important;width:43px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:11px!important;border:1px solid rgba(56,189,248,.38)!important;background:rgba(3,18,32,.65)!important;color:#fff!important;}
  .pulse-mobile-menu summary svg{width:23px!important;height:23px!important;}
  /* dropdown fades its surface horizontally like desktop menu, text never fades */
  .pulse-mobile-menu__panel{
    position:absolute!important;right:0!important;top:calc(100% + 15px)!important;
    width:min(330px,calc(100vw - 24px))!important;min-width:0!important;max-height:min(72dvh,580px)!important;overflow-y:auto!important;
    display:grid!important;gap:1px!important;padding:14px 18px!important;
    border:0!important;border-radius:7px!important;
    background:linear-gradient(90deg,rgba(33,43,58,0) 0%,rgba(33,43,58,.90) 13%,rgba(33,43,58,.94) 87%,rgba(33,43,58,0) 100%)!important;
    backdrop-filter:blur(15px)!important;-webkit-backdrop-filter:blur(15px)!important;
    box-shadow:none!important;
  }
  .pulse-mobile-menu:not([open]) .pulse-mobile-menu__panel{display:none!important;}
  .pulse-mobile-menu__panel > a,.pulse-mobile-menu__panel .pulse-nav-contact>a{
    display:flex!important;min-height:44px!important;align-items:center!important;justify-content:center!important;
    padding:10px 14px!important;text-decoration:none!important;border-radius:0!important;
    background:none!important;color:#f1f5f9!important;font-weight:800!important;font-size:13px!important;
    text-transform:uppercase!important;letter-spacing:.035em!important;line-height:1.3!important;text-align:center!important;
  }
  .pulse-mobile-menu__panel>a:hover,.pulse-mobile-menu__panel .pulse-nav-contact>a:hover,.pulse-mobile-menu__panel>a:focus-visible{color:#19bbf4!important;background:rgba(56,189,248,.08)!important;}
  .pulse-mobile-menu__panel .pulse-nav-platform{display:flex!important;flex-direction:row!important;justify-content:center!important;gap:4px!important;}
  .pulse-mobile-menu__panel .pulse-nav-platform span{display:inline!important;}
  .pulse-mobile-menu__panel .pulse-nav-contact{display:flex!important;flex-direction:column!important;align-items:center!important;}
  .pulse-mobile-menu__panel .pulse-nav-billing{font-size:10px!important;min-height:30px!important;font-weight:500!important;text-transform:none!important;color:#acb9c7!important;padding:0 10px 8px!important;}
  .stage{position:relative!important;z-index:2!important;width:min(94vw,760px)!important;margin:0 auto!important;padding:142px 0 58px!important;text-align:center!important;}
  .stage h1{margin:0 auto!important;max-width:700px!important;transform:none!important;font-size:clamp(34px,6.2vw,60px)!important;line-height:1.09!important;letter-spacing:-.045em!important;text-shadow:0 7px 28px rgba(0,0,0,.65)!important;white-space:normal!important;text-wrap:balance!important;}
  .stage h1 span{color:#05a9f4!important;}
  .stage .services{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:13px!important;width:100%!important;max-width:690px!important;margin:43px auto 0!important;align-items:start!important;transform:none!important;}
  .stage .services>i{display:none!important;}
  .stage .services>.service{display:flex!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:white!important;}
  .stage .services>.service .icon svg{width:48px!important;height:48px!important;stroke:#fff!important;filter:drop-shadow(0 0 10px rgba(0,170,255,.2))!important;}
  .stage .services>.service div:last-child{font-size:clamp(10px,1.5vw,14px)!important;line-height:1.25!important;text-shadow:0 3px 12px rgba(0,0,0,.5)!important;white-space:normal!important;overflow-wrap:break-word!important;}
  .about-shell,.services-shell,.contact-shell,.pulse-portals__inner{max-width:100%!important;}
  .about-shell{grid-template-columns:minmax(0,1fr)!important;gap:25px!important;}
  .about-section,.services-section,.pulse-portals,.contact-section{padding-top:62px!important;padding-bottom:68px!important;}
  .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
  .service-card,.services-cert{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
  .pulse-portals__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .contact-box{max-width:100%!important;}
  #onas,#sluzby,#realizacie,#portaly,#kontakt,#fakturacne-udaje{scroll-margin-top:92px!important;}
}
@media (max-width:640px){
  .pulse-menu{top:8px!important;min-height:62px!important;width:100%!important;padding:8px 23px!important;}
  .pulse-menu__logo{flex-basis:205px!important;max-width:min(58vw,205px)!important;}
  .pulse-menu__logo img{max-height:45px!important;}
  .pulse-mobile-menu summary{width:41px!important;height:41px!important;}
  .pulse-mobile-menu__panel{right:-10px!important;width:min(300px,calc(100vw - 22px))!important;}
  .stage{box-sizing:border-box!important;width:calc(100% - 32px)!important;padding:125px 0 55px!important;}
  .stage h1{font-size:clamp(32px,8.6vw,43px)!important;line-height:1.14!important;max-width:420px!important;}
  .stage .services{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:23px 9px!important;max-width:430px!important;margin-top:35px!important;justify-items:center!important;}
  .stage .services>.service{width:100%!important;max-width:125px!important;min-height:79px!important;}
  .stage .services>.service:nth-of-type(4){grid-column:1 / 2!important;margin-left:45%!important;}
  .stage .services>.service:nth-of-type(5){grid-column:3 / 4!important;margin-left:-45%!important;}
  .stage .services>.service .icon svg{width:47px!important;height:47px!important;}
  .stage .services>.service div:last-child{font-size:12px!important;}
  .about-section,.services-section,.pulse-portals,.contact-section{padding-top:50px!important;padding-bottom:58px!important;}
  .about-shell,.services-shell,.contact-shell,.pulse-portals__inner{box-sizing:border-box!important;width:calc(100% - 36px)!important;margin-left:auto!important;margin-right:auto!important;}
  .about-copy h2,.services-heading h2,.pulse-portals h2,.contact-shell h2{font-size:clamp(28px,7.7vw,38px)!important;line-height:1.15!important;overflow-wrap:break-word!important;}
  .about-copy>p,.services-heading p{font-size:15px!important;line-height:1.6!important;}
  .services-grid,.pulse-portals__grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
  .service-card,.services-cert{width:100%!important;padding:18px!important;border-radius:17px!important;}
  .pulse-portals__card{padding:17px 18px!important;gap:10px!important;}
  .contact-box{box-sizing:border-box!important;width:100%!important;grid-template-columns:minmax(0,1fr)!important;padding:17px!important;gap:12px!important;}
  .contact-box b{width:100%!important;height:1px!important;background:rgba(56,189,248,.22)!important;}
  .contact-box a{min-width:0!important;gap:12px!important;}
  .contact-box strong{font-size:clamp(12px,3.85vw,16px)!important;overflow-wrap:anywhere!important;}
  .legal--brand p,.tp-bank-details{overflow-wrap:anywhere!important;}
  .tp-cookie-modal{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow-y:auto!important;}
}
@media(max-width:350px){.stage .services>.service .icon svg{width:42px!important;height:42px!important;}.stage .services>.service div:last-child{font-size:11px!important;}}

/* V39: compact mobile header and single-row services. */
@media(max-width:1100px){
 .pulse-menu>.tp-header-portals{display:flex!important;position:relative!important;inset:auto!important;transform:none!important;margin:0 5px 0 auto!important;padding:0!important;gap:5px!important;flex:0 0 auto!important;align-items:center!important;z-index:3!important;background:none!important;border:0!important;box-shadow:none!important;width:auto!important;height:auto!important;}
 .pulse-menu>.tp-header-portals>a{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:65px!important;height:49px!important;min-width:0!important;padding:3px!important;gap:3px!important;border:1px solid rgba(56,189,248,.48)!important;border-radius:10px!important;background:rgba(3,18,32,.75)!important;box-shadow:none!important;text-decoration:none!important;}
 .pulse-menu>.tp-header-portals .hero-portals__label{font-size:7px!important;line-height:1.15!important;letter-spacing:0!important;font-weight:800!important;text-align:center!important;color:#8edfff!important;white-space:normal!important;}
 .pulse-menu>.tp-header-portals .hero-portals__icon{display:flex!important;align-items:center!important;justify-content:center!important;width:17px!important;height:17px!important;margin:0!important;}
 .pulse-menu>.tp-header-portals svg{width:17px!important;height:17px!important;fill:none!important;stroke:#40caff!important;stroke-width:1.8!important;}
 .stage .services{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;width:100%!important;max-width:690px!important;justify-items:stretch!important;}
 .stage .services>i{display:none!important;}
 .stage .services>.service{grid-column:auto!important;margin:0!important;width:100%!important;max-width:none!important;min-height:0!important;gap:7px!important;padding:0 2px!important;box-sizing:border-box!important;border-right:1px solid rgba(91,198,244,.48)!important;}
 .stage .services>.service:last-child{border-right:0!important;}
 .stage .services>.service .icon,.stage .services>.service .icon svg{width:35px!important;height:35px!important;max-width:100%!important;}
 .stage .services>.service div:last-child{font-size:clamp(7px,1.65vw,12px)!important;line-height:1.2!important;letter-spacing:-.035em!important;overflow-wrap:anywhere!important;}
}
@media(max-width:640px){
 .pulse-menu{gap:4px!important;padding:7px 10px!important;}
 .pulse-menu__logo{flex:1 1 auto!important;max-width:none!important;min-width:0!important;}
 .pulse-menu__logo img{max-width:100%!important;max-height:38px!important;}
 .pulse-menu>.tp-header-portals{gap:4px!important;margin:0 3px!important;}
 .pulse-menu>.tp-header-portals>a{width:49px!important;height:45px!important;padding:2px!important;border-radius:8px!important;}
 .pulse-menu>.tp-header-portals .hero-portals__label{font-size:6px!important;}
 .pulse-menu>.tp-header-portals .hero-portals__icon,.pulse-menu>.tp-header-portals svg{width:14px!important;height:14px!important;}
 .pulse-mobile-menu{margin-left:0!important;}
 .pulse-mobile-menu summary{width:39px!important;height:39px!important;}
 .stage .services{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;margin-top:35px!important;max-width:100%!important;}
 .stage .services>.service{max-width:none!important;min-height:0!important;margin:0!important;gap:6px!important;padding:0 1px!important;}
 .stage .services>.service:nth-of-type(4),.stage .services>.service:nth-of-type(5){grid-column:auto!important;margin-left:0!important;}
 .stage .services>.service .icon,.stage .services>.service .icon svg{width:29px!important;height:29px!important;}
 .stage .services>.service div:last-child{font-size:clamp(7px,2vw,10px)!important;}
}
@media(max-width:350px){.pulse-menu>.tp-header-portals>a{width:43px!important}.pulse-menu>.tp-header-portals .hero-portals__label{font-size:5.5px!important}.stage .services>.service .icon svg{width:25px!important;height:25px!important}}
