/* SŁOWIK DIGITAL — header/menu v4.1.2
   Polish: removed the visual bottom divider from the sticky header.
   Width, menu, CTA and mobile behaviour remain unchanged. */

:root{
  --sdh-ink:#09264d;
  --sdh-ink-2:#12385e;
  --sdh-blue:#073f7c;
  --sdh-blue-2:#0a4f91;
  --sdh-cyan:#19bfe2;
  --sdh-line:#e3eaf0;
  --sdh-muted:#7f91a4;
  --sdh-bg:#ffffff;
  --sdh-ease:cubic-bezier(.22,.68,.26,1);
  --sdh-height:92px;
}

.sd-header{
  position:sticky;
  top:0;
  z-index:1200;
  height:var(--sdh-height);
  background:rgba(255,255,255,.975);
  border-bottom:0;
  box-shadow:none;
  backdrop-filter:saturate(145%) blur(18px);
  -webkit-backdrop-filter:saturate(145%) blur(18px);
}
.sd-header.is-scrolled{box-shadow:0 12px 34px rgba(8,38,77,.065)}
.sd-header__inner{
  height:100%;
  display:grid;
  grid-template-columns:minmax(176px,206px) minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
}
.sd-header__brand{display:flex;align-items:center;width:188px;max-width:100%;line-height:0}
.sd-header__brand img{display:block;width:100%;height:auto}
.sd-header__nav{
  justify-self:center;
  display:flex;
  align-items:stretch;
  height:100%;
  gap:clamp(30px,2.55vw,48px);
}
.sd-header__nav a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:100%;
  color:var(--sdh-ink);
  font-family:"Manrope","Inter",sans-serif;
  font-size:17.5px;
  font-weight:600;
  letter-spacing:-.026em;
  text-decoration:none;
  white-space:nowrap;
  transition:color .22s ease;
}
.sd-header__nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:23px;
  width:0;
  height:1.5px;
  background:var(--sdh-cyan);
  transition:width .26s var(--sdh-ease);
}
.sd-header__nav a:hover,.sd-header__nav a:focus-visible,.sd-header__nav a[aria-current="page"]{color:#061d3e}
.sd-header__nav a:hover::after,.sd-header__nav a:focus-visible::after,.sd-header__nav a[aria-current="page"]::after{width:100%}

.sd-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:18px}
.sd-header__actions::before{content:"";width:1px;height:48px;background:#dce5ec;margin-right:13px}
.sd-header__cta{
  min-height:54px;
  padding:0 25px 0 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  border:1px solid var(--sdh-blue);
  border-radius:3px;
  color:#fff;
  background:var(--sdh-blue);
  font-family:"Manrope","Inter",sans-serif;
  font-size:16px;
  font-weight:600;
  letter-spacing:-.018em;
  text-decoration:none;
  box-shadow:none;
  transition:background .23s ease,color .23s ease,border-color .23s ease;
}
.sd-header__cta i{font-style:normal;font-size:21px;line-height:1;transition:transform .23s var(--sdh-ease)}
.sd-header__cta:hover,.sd-header__cta:focus-visible{background:#fff;color:var(--sdh-blue);border-color:var(--sdh-blue)}
.sd-header__cta:hover i,.sd-header__cta:focus-visible i{transform:translateX(4px)}

.sd-menu-toggle{display:none;position:relative;width:48px;height:48px;padding:0;border:0;background:transparent;cursor:pointer;color:var(--sdh-ink)}
.sd-menu-toggle__bars{position:absolute;width:33px;height:26px;top:50%;right:0;transform:translateY(-50%)}
.sd-menu-toggle__bars i{position:absolute;right:0;height:2px;background:currentColor;display:block;transform-origin:center;transition:top .26s var(--sdh-ease),transform .26s var(--sdh-ease),width .24s ease,opacity .16s ease}
.sd-menu-toggle__bars i:nth-child(1){top:3px;width:33px}
.sd-menu-toggle__bars i:nth-child(2){top:12px;width:29px}
.sd-menu-toggle__bars i:nth-child(3){top:21px;width:25px}
.sd-menu-toggle[aria-expanded="true"] .sd-menu-toggle__bars i:nth-child(1){top:12px;width:31px;transform:rotate(45deg)}
.sd-menu-toggle[aria-expanded="true"] .sd-menu-toggle__bars i:nth-child(2){top:12px;width:24px;opacity:0;transform:scaleX(.3)}
.sd-menu-toggle[aria-expanded="true"] .sd-menu-toggle__bars i:nth-child(3){top:12px;width:31px;transform:rotate(-45deg)}

.sd-mobile-menu{display:none}
body.sd-menu-open{overflow:hidden;overscroll-behavior:none}

@media(max-width:1180px) and (min-width:821px){
  .sd-header__inner{grid-template-columns:168px minmax(0,1fr) auto;gap:18px}
  .sd-header__brand{width:164px}
  .sd-header__nav{gap:23px}
  .sd-header__nav a{font-size:15px}
  .sd-header__actions::before{display:none}
  .sd-header__cta{min-height:50px;padding-inline:20px;gap:18px;font-size:14px}
}

@media(max-width:820px){
  :root{--sdh-height:78px}
  .sd-header{height:var(--sdh-height)}
  .sd-header__inner.container-wide{width:100%;max-width:none;margin:0}
  .sd-header__inner{display:flex;align-items:center;justify-content:space-between;padding-left:18px;padding-right:max(18px,env(safe-area-inset-right))}
  .sd-header__brand{width:164px;max-width:calc(100vw - 92px)}
  .sd-header__nav,.sd-header__cta,.sd-header__actions::before{display:none}
  .sd-header__actions{display:block;margin-left:auto;flex:0 0 auto}
  .sd-menu-toggle{display:block;margin-left:auto}

  .sd-mobile-menu{
    display:block;
    position:fixed;
    z-index:1180;
    inset:var(--sdh-height) 0 0;
    color:var(--sdh-ink);
    background:#fff;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-7px);
    transition:opacity .28s var(--sdh-ease),transform .28s var(--sdh-ease),visibility .28s;
  }
  .sd-mobile-menu.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .sd-mobile-menu__inner.container-wide{
    width:100%;
    max-width:none;
    margin:0;
  }
  .sd-mobile-menu__inner{
    height:calc(100vh - var(--sdh-height));
    height:calc(100dvh - var(--sdh-height));
    padding:clamp(10px,2.2dvh,22px) 22px 0;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    overflow:hidden;
  }
  .sd-mobile-menu__nav{
    min-height:0;
    display:grid;
    grid-template-rows:repeat(5,minmax(0,1fr));
    border-top:0;
  }
  .sd-mobile-menu__nav a{
    position:relative;
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) 28px;
    align-items:center;
    padding:3px 0;
    border-bottom:1px solid var(--sdh-line);
    color:var(--sdh-ink);
    text-decoration:none;
    opacity:0;
    transform:translateY(7px);
  }
  .sd-mobile-menu__nav a::before{
    content:"";
    position:absolute;
    left:0;
    bottom:-1px;
    width:0;
    height:1.5px;
    background:var(--sdh-cyan);
    transition:width .24s var(--sdh-ease);
  }
  .sd-mobile-menu__nav a[aria-current="page"]::before{width:50px}
  .sd-mobile-menu__nav span{
    font-family:"Manrope","Inter",sans-serif;
    font-size:clamp(25px,7.3vw,33px);
    font-weight:500;
    line-height:1.04;
    letter-spacing:-.044em;
  }
  .sd-mobile-menu__nav a[aria-current="page"] span{font-weight:700}
  .sd-mobile-menu__nav i{font-style:normal;font-size:20px;color:#758ba0;opacity:.42;text-align:right;transition:transform .22s var(--sdh-ease),color .22s ease,opacity .22s ease}
  .sd-mobile-menu__nav a:hover i,.sd-mobile-menu__nav a:focus-visible i,.sd-mobile-menu__nav a[aria-current="page"] i{transform:translateX(5px);color:var(--sdh-cyan);opacity:1}

  .sd-mobile-menu.is-visible .sd-mobile-menu__nav a{animation:sdMenuEnter .36s var(--sdh-ease) forwards}
  .sd-mobile-menu.is-visible .sd-mobile-menu__nav a:nth-child(2){animation-delay:.03s}
  .sd-mobile-menu.is-visible .sd-mobile-menu__nav a:nth-child(3){animation-delay:.06s}
  .sd-mobile-menu.is-visible .sd-mobile-menu__nav a:nth-child(4){animation-delay:.09s}
  .sd-mobile-menu.is-visible .sd-mobile-menu__nav a:nth-child(5){animation-delay:.12s}

  .sd-mobile-menu__contact{
    margin:0 -22px;
    padding:clamp(15px,2.2dvh,21px) 22px max(14px,env(safe-area-inset-bottom));
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    background:#f3f6f8;
    border-top:1px solid #e8edf1;
  }
  .sd-mobile-menu__accent{display:block;width:38px;height:1.5px;background:var(--sdh-cyan);margin-bottom:11px}
  .sd-mobile-menu__contact p{margin:0 0 13px;font-family:"Manrope","Inter",sans-serif;font-size:clamp(18px,5vw,21px);font-weight:500;line-height:1.18;letter-spacing:-.032em;color:#0c2b56}
  .sd-mobile-menu__cta{
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    padding:0 21px;
    border:1px solid var(--sdh-blue);
    border-radius:3px;
    background:var(--sdh-blue);
    color:#fff;
    text-decoration:none;
    font-family:"Manrope","Inter",sans-serif;
    font-size:16px;
    font-weight:600;
    letter-spacing:-.018em;
    transition:background .23s ease,color .23s ease;
  }
  .sd-mobile-menu__cta i{font-style:normal;font-size:21px;transition:transform .23s var(--sdh-ease)}
  .sd-mobile-menu__cta:hover,.sd-mobile-menu__cta:focus-visible{background:#fff;color:var(--sdh-blue)}
  .sd-mobile-menu__cta:hover i,.sd-mobile-menu__cta:focus-visible i{transform:translateX(5px)}
  .sd-mobile-menu__location{width:100%;margin-top:13px;display:flex;align-items:center;justify-content:center;gap:8px;color:#8395a8;font-size:12px;line-height:1.2;text-align:center}
  .sd-mobile-menu__location svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8}
  .sd-mobile-menu__location b{font-weight:500;margin-inline:3px}
  .sd-mobile-menu__contact small{align-self:center;margin-top:11px;color:#94a4b4;font-family:"Inter",sans-serif;font-size:9px;font-weight:600;letter-spacing:.2em;line-height:1.25;text-align:center}
  .sd-mobile-menu__experience-line{align-self:center;width:42px;height:1.5px;background:var(--sdh-cyan);margin-top:8px}

}

@media(max-width:390px){
  .sd-header__inner{padding-left:16px;padding-right:max(16px,env(safe-area-inset-right))}
  .sd-header__brand{width:152px}
  .sd-menu-toggle{width:42px;height:44px}
  .sd-menu-toggle__bars{width:30px}
  .sd-menu-toggle__bars i:nth-child(1){width:30px}
  .sd-menu-toggle__bars i:nth-child(2){width:27px}
  .sd-menu-toggle__bars i:nth-child(3){width:24px}
  .sd-mobile-menu__inner{padding-left:18px;padding-right:18px}
  .sd-mobile-menu__contact{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .sd-mobile-menu__nav span{font-size:clamp(23px,7.3vw,28px)}
  .sd-mobile-menu__contact p{font-size:18px}
  .sd-mobile-menu__cta{min-height:50px;font-size:15px}
  .sd-mobile-menu__location{font-size:11px}
}

@media(max-height:680px) and (max-width:820px){
  :root{--sdh-height:72px}
  .sd-header__brand{width:154px}
  .sd-mobile-menu__inner{padding-top:8px}
  .sd-mobile-menu__nav span{font-size:clamp(22px,6.8vw,27px)}
  .sd-mobile-menu__contact{padding-top:13px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
  .sd-mobile-menu__accent{margin-bottom:8px}
  .sd-mobile-menu__contact p{font-size:17px;margin-bottom:10px}
  .sd-mobile-menu__cta{min-height:48px;font-size:15px}
  .sd-mobile-menu__location{margin-top:9px;font-size:10.5px}
  .sd-mobile-menu__contact small{margin-top:8px;font-size:8px}
  .sd-mobile-menu__experience-line{margin-top:6px}
}

@media(max-height:590px) and (max-width:820px){
  :root{--sdh-height:68px}
  .sd-header__brand{width:146px}
  .sd-mobile-menu__nav span{font-size:21px}
  .sd-mobile-menu__contact{padding-top:9px;padding-bottom:max(7px,env(safe-area-inset-bottom))}
  .sd-mobile-menu__accent{margin-bottom:6px}
  .sd-mobile-menu__contact p{font-size:15px;line-height:1.12;margin-bottom:7px}
  .sd-mobile-menu__cta{min-height:42px;font-size:14px}
  .sd-mobile-menu__location{margin-top:6px;font-size:9.5px}
  .sd-mobile-menu__contact small{margin-top:5px;font-size:7.5px}
  .sd-mobile-menu__experience-line{margin-top:4px}
}

@keyframes sdMenuEnter{to{opacity:1;transform:none}}

@media(prefers-reduced-motion:reduce){
  .sd-header,.sd-header__nav a::after,.sd-header__cta,.sd-header__cta i,.sd-menu-toggle__bars i,.sd-mobile-menu,.sd-mobile-menu__nav a,.sd-mobile-menu__nav i,.sd-mobile-menu__cta,.sd-mobile-menu__cta i{transition:none!important;animation:none!important}
  .sd-mobile-menu__nav a{opacity:1;transform:none}
}
