/* Qanattar Corporate Site v0.8.0.2 — CZ / EN / DE / ESP + mobile navigation hardening */
.qcs-v080 .qcs-lang-switch{gap:5px}
.qcs-v080 .qcs-lang-switch a{min-width:27px;padding-inline:6px}
.qcs-v080 .qcs-lang-switch a[aria-current="page"]{cursor:default}
.qcs-v080.qcs-lang-de .qcs-service-card-v020 h3,
.qcs-v080.qcs-lang-es .qcs-service-card-v020 h3,
.qcs-v080.qcs-lang-de .qcs-proof-card-v055 h3,
.qcs-v080.qcs-lang-es .qcs-proof-card-v055 h3{letter-spacing:-.015em}
.qcs-v080.qcs-lang-de .qcs-client-copy p,
.qcs-v080.qcs-lang-es .qcs-client-copy p{min-height:3.8em}
.qcs-v080.qcs-lang-de .qcs-client-services span,
.qcs-v080.qcs-lang-es .qcs-client-services span{white-space:normal}

@media (max-width:1240px){
  .qcs-v080 .qcs-lang-switch-desktop{gap:4px}
  .qcs-v080 .qcs-lang-switch-desktop a{min-width:25px;height:27px;padding-inline:5px;font-size:10px}
  .qcs-v080 .qcs-lang-switch-desktop span{display:none}
}

/*
 * Mobile menu scroll fix.
 * Body remains locked so content behind the menu does not move, while the
 * navigation itself becomes the scroll container. 100dvh handles mobile
 * browser chrome; the 100vh fallback keeps older WebKit usable.
 */
@media (max-width:820px){
  body.qcs-menu-open{overflow:hidden!important;overscroll-behavior:none}
  .qcs-v080 .qcs-header{height:auto}
  .qcs-v080 .qcs-menu-toggle{touch-action:manipulation}
  .qcs-v080 .qcs-nav.is-open{
    display:flex;
    top:74px;
    bottom:12px;
    max-height:calc(100vh - 86px);
    max-height:calc(100dvh - 86px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scrollbar-width:thin;
    scrollbar-color:rgba(83,183,255,.48) transparent;
    padding-bottom:calc(20px + env(safe-area-inset-bottom));
  }
  .qcs-v080 .qcs-nav.is-open::-webkit-scrollbar{width:5px}
  .qcs-v080 .qcs-nav.is-open::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(83,183,255,.42)}
  .qcs-v080 .qcs-nav-dropdown{max-height:none!important;overflow:visible!important}
  .qcs-v080 .qcs-lang-switch-mobile{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
  .qcs-v080 .qcs-lang-switch-mobile a{min-width:44px;height:36px}
  .qcs-v080 .qcs-lang-switch-mobile span{display:none}
  .qcs-v080 .qcs-nav-external:last-child{margin-bottom:6px}
}

@media (max-width:560px){
  .qcs-v080 .qcs-lang-switch-mobile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
  .qcs-v080 .qcs-lang-switch-mobile a{width:100%;min-width:0}
  .qcs-v080.qcs-lang-de .qcs-client-copy p,
  .qcs-v080.qcs-lang-es .qcs-client-copy p{min-height:0}
}

@media (prefers-reduced-motion:reduce){
  .qcs-v080 .qcs-lang-switch a{transition:none}
}
