/* Loaded after mcg-kit CSS. Restore Safari/file:// sticky-header safety
   (kit header.css re-enables backdrop-filter and height:100% on .header-inner).
   Do not set max-height on .site-header — it clips the contacts drawer. */
.site-header{
  height:72px;
  overflow:visible;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:rgba(7,20,28,.94);
}
.site-header .header-inner{
  height:72px;
  overflow:visible;
}
.site-header .logo img{
  height:36px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  display:block;
}
/* Compact single-row header at the burger breakpoint (like Miabiznes 64px).
   Do not set max-height on .site-header — it clips the contacts drawer. */
@media (max-width:1100px){
  :root{--header-h:64px}
  .site-header,
  .site-header .header-inner{
    height:64px;
    max-height:none;
    flex-wrap:nowrap;
    padding-top:0;
    padding-bottom:0;
  }
  .site-header .header-inner{gap:8px}
  .site-header .logo{order:1;flex:none;min-width:0}
  .site-header .logo img{height:32px;max-width:140px;width:auto}
  .site-header .header-tools{
    order:2;display:flex;flex:none;flex-wrap:nowrap;align-items:center;
    width:auto;margin-left:auto;gap:6px;justify-content:flex-end;
  }
  .site-header .menu-toggle{order:3;flex:none;width:44px;height:44px;margin-left:2px}
  .site-header .hdr-cta{display:none!important}
  .site-header .hx-lang{display:block!important}
  .site-header .hx-user,
  .site-header #cp-head-user-icon{display:grid!important;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;flex:none}
  /* Mobile: phone icon starts a call; the contacts drawer stays on desktop only. */
  .site-header .hx-tel{display:none!important}
  .site-header .hx-call{
    display:grid!important;place-items:center;flex:none;
    width:40px;height:40px;min-width:40px;min-height:40px;padding:0;
  }
  .site-header .hx-call svg{width:18px;height:18px}
  .site-header .hx-tel-btn{width:40px;height:40px;min-width:40px;padding:0;justify-content:center}
  .site-header .hx-lang .lang-btn{height:40px;min-height:40px;min-width:40px}
}

@media (max-width:639px){
  .site-header .logo img{height:28px;max-width:118px}
  .site-header .header-tools{gap:4px}
  .site-header .hx-user,
  .site-header #cp-head-user-icon,
  .site-header .hx-tel-btn,
  .site-header .hx-call{width:40px;height:40px}
}

@media (max-width:374px){
  .site-header .logo img{height:26px;max-width:96px}
  .site-header .hx-lang .hx-code,
  .site-header .hx-lang .hx-chev{display:none}
  .site-header .hx-lang .lang-btn{width:40px;padding:0;justify-content:center}
  .site-header .menu-toggle{width:40px;height:40px;margin-left:0}
}

/* Burger: infoline + email on one row; messenger / login / MIA BIZNES removed in HTML. */
.mn-contact{grid-template-columns:1fr 1fr;gap:8px;align-items:stretch;margin:18px 0 0}
.mn-contact .mn-msgr,
.mn-msgr{display:none!important}
.mn-ci{min-width:0;padding:10px 10px}
.mn-ci b{font-size:14px;font-weight:650;line-height:1.25;overflow-wrap:anywhere;word-break:break-word}
.mn-ci small{font-size:10.5px;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mn-acts .mn-act:not(.mn-cta){display:none!important}
.mn-langs{margin-top:24px}
.mn-scroll{padding-bottom:calc(36px + env(safe-area-inset-bottom,0px))}

/* Mega-menu from our .ml-dd must sit above the page. */
#dd-uslugi,.nav-dd-panel{z-index:40}


/* Footer dock clearance (keep above updated mcg-dock.css) */
.b-footer{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
@media (max-width:639px){
  .b-footer{padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))}
}


/* ===== Duo / foldable menu (640–1100): Miabiznes right-side 460px sheet =====
   Kit already had this only at 901–1100. Miabiznes applies it at 640–900
   (burger range there). We show the burger through 1100, so the same sheet
   is used from 640 to 1100. Phone (<640) stays the full-screen list. */
@media (min-width:640px) and (max-width:1100px){
  .mn{display:block;position:fixed;left:0;top:0;width:100%;height:100%;height:100dvh;z-index:60;visibility:hidden;pointer-events:none;overflow:hidden;
      transition:visibility 0s linear .62s}
  html.mn-open .mn{visibility:visible;pointer-events:auto;transition:none}
  .mn-bg{background:rgba(3,10,15,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer}
  .mn-prism,.mn-sheet{left:auto;right:0;width:min(460px,100%)}
  .mn-prism{overflow:hidden;-webkit-clip-path:inset(0);clip-path:inset(0)}
  .mn-sheet{background:radial-gradient(420px 360px at 100% 0%,rgba(19,184,238,.26),transparent 65%),radial-gradient(380px 320px at 0% 100%,rgba(255,160,79,.16),transparent 65%),
      linear-gradient(180deg,#071722 0%,#06121A 60%,#050F16 100%);
    box-shadow:-24px 0 60px rgba(0,0,0,.45),inset 1px 0 0 rgba(255,255,255,.08)}
  .mn-scroll{padding-left:24px;padding-right:24px;text-align:left}
  .mn-link{font-size:34px;justify-content:flex-start;align-items:center;gap:12px}
  .mn-link .mn-num{margin-left:auto;transform:none}
  .mn-link::after{transform-origin:0 50%;background:linear-gradient(90deg,#13B8EE,#68E2B4 55%,#FFA04F)}
  .mn-link .mn-label{order:1}
  .mn-link .mn-plus{order:2;margin:0 0 0 2px}
  .mn-link .mn-num{order:3}
  .mn-contact,.mn-acts,.mn-langs{justify-content:flex-start}
  /* Sub-lists inside burger sections: left-align like the main items (kit had this only at 901–1100). */
  .mn-acc-inner{display:flex;flex-direction:column;gap:6px}
  .mn-acc.open .mn-acc-inner{padding-top:20px;padding-bottom:8px}
  .mn-acc-inner > .mn-ph:first-child{margin-top:0}
  .mn-ph{margin:14px 2px 2px;text-align:left}
  .mn-pi{flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:14px;min-height:56px;padding:9px 12px;border-radius:16px;text-align:left;
      background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.015));box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);transition:background .2s,box-shadow .2s}
  .mn-pi:hover,.mn-pi:active{background:rgba(19,184,238,.1);box-shadow:inset 0 0 0 1px rgba(19,184,238,.35)}
  .mn-pi.is-current{box-shadow:inset 0 0 0 1.5px rgba(19,184,238,.55);background:rgba(19,184,238,.07)}
  .mn-pt{align-items:flex-start;text-align:left}
  .mn-pt b{font-size:15.5px;line-height:1.25}
  .mn-pt small{font-size:12.5px;line-height:1.3}
  .mn-all{min-height:44px;align-items:center;margin:6px 2px 4px;justify-content:flex-start}
  .mn-all span{display:inline-block;transform:scaleX(-1)}
  .mn-card{text-align:left;background:radial-gradient(120% 100% at 0% 0%,rgba(19,184,238,.28),transparent 60%),radial-gradient(90% 90% at 100% 100%,rgba(255,160,79,.20),transparent 60%),#0C2130}
}


/* ===== Duo / foldable footer top (640–1100, incl. 890×690 Surface Duo) =====
   Logo smaller, description to the right of the logo, then Rzetelna + socials
   on the next row. Link columns 2-up like Miabiznes ≤900. Phone (<640) stays stacked. */
@media (min-width:640px) and (max-width:1100px){
  .b-footer .b-ftop{grid-template-columns:1fr;gap:36px}
  .b-footer .b-fbrand{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    column-gap:20px;
    row-gap:16px;
    align-items:center;
  }
  .b-footer .b-fbrand > a:first-child{grid-column:1;grid-row:1}
  .b-footer .b-flogo{height:32px;width:auto;max-width:160px}
  .b-footer .b-fbrand p{grid-column:2;grid-row:1;margin:0;max-width:none;font-size:14px;line-height:1.5}
  .b-footer .b-fbrand-tools{
    grid-column:1/-1;
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px 18px;
  }
  .b-footer .b-fbrand-tools .ml-socials{order:0}
  .b-footer .b-fbrand-tools .ml-rf{margin:0;display:inline-flex;align-items:center}
  .b-footer .b-fbrand-tools .ml-rf img{height:40px;width:auto}
  .b-footer .b-fbrand-tools .ml-socials{margin:0}
  .b-footer .b-fcols,
  .b-footer .b-fcols.f-cols5{grid-template-columns:1fr 1fr;gap:28px 20px}
}




/* Gap under the burger section underline before the first card / kicker (all burger widths). */
@media (max-width:1100px){
  .mn-acc.open .mn-acc-inner{padding-top:20px;padding-bottom:8px}
  .mn-acc-inner > .mn-ph:first-child{margin-top:0}
}

/* t127: gap between section heading block (kicker + H2 + intro) and the content below */
main .b-sec > .wrap > .bh,
main .b-sec .fq1-head{
  margin-bottom:48px;
}
main .b-sec > .wrap > .bh:has(+ .sv-lead){margin-bottom:16px}
@media (max-width:1100px){
  main .b-sec > .wrap > .bh,
  main .b-sec .fq1-head,
  #jak .bh, #ceny .bh, #uslugi .bh, #dlaczego .bh{margin-bottom:40px}
  main .b-sec > .wrap > .bh:has(+ .sv-lead){margin-bottom:16px}
}
@media (max-width:768px){
  main .b-sec > .wrap > .bh,
  main .b-sec .fq1-head,
  #jak .bh, #ceny .bh, #uslugi .bh, #dlaczego .bh{margin-bottom:32px}
  main .b-sec > .wrap > .bh:has(+ .sv-lead){margin-bottom:12px}
}
