/* Przyciski kontaktu (audyt pkt B) */
.msp-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border:2px solid #ed1c24;border-radius:4px;color:#fff;font-weight:700;text-decoration:none;text-align:center;line-height:1.3;transition:background .2s,color .2s}
.msp-btn:hover{background:#ed1c24;color:#fff}
.msp-btn--filled{background:#ed1c24;color:#fff}
.msp-btn--filled:hover{background:#c4141b;border-color:#c4141b}

/* naglowek */
.msp-hcta{display:none}
@media (min-width:1024px){
  .msp-hcta{display:flex;align-items:center;gap:14px;margin-left:20px;flex-shrink:0}
  .msp-hcta__tel{display:none;align-items:center;gap:6px;color:#ed1c24;font-weight:700;white-space:nowrap;text-decoration:none}
  .msp-hcta__btn{background:#ed1c24;color:#fff !important;font-weight:700;padding:10px 16px;border-radius:4px;white-space:nowrap;text-decoration:none;font-size:15px}
  .msp-hcta__btn:hover{background:#c4141b}
  .page-navigation .menu-nav .menu > li > a{white-space:nowrap}
}
@media (min-width:1024px) and (max-width:1439px){
  .page-navigation .menu-nav .menu > li{margin-left:0 !important;margin-right:0 !important}
  .page-navigation .menu-nav .menu > li > a{padding-left:10px !important;padding-right:10px !important;font-size:15px}
}
@media (min-width:1440px){.msp-hcta__tel{display:inline-flex}}

/* pasek na telefonie */
.msp-mbar{display:none}
@media (max-width:1023px){
  .msp-mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;box-shadow:0 -2px 10px rgba(0,0,0,.2)}
  .msp-mbar a{flex:1 1 50%;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 8px;font-weight:700;font-size:16px;text-decoration:none}
  .msp-mbar__tel{background:#fff;color:#ed1c24}
  .msp-mbar__btn{background:#ed1c24;color:#fff}
  body{padding-bottom:52px}
  .cky-btn-revisit-wrapper{bottom:64px !important}
}

/* hero */
.msp-hero-btns{display:flex;flex-wrap:wrap;gap:14px}
@media (max-width:639px){
  .js-slider-main .swiper-slide > img{height:110px !important}
  .msp-hero-btns{padding-top:0 !important}
  .msp-hero-btns .msp-btn{width:100%;padding:12px 16px}
  .js-slider-main h1{margin-bottom:12px !important}
}

/* PSI */
.msp-psi-btn{margin-top:28px}

/* koniec podstron oferty */
.msp-endcta{padding:60px 0}
.msp-endcta__box{border:2px solid #ed1c24;border-radius:6px;padding:32px;max-width:900px;margin:0 auto;text-align:center;background:#fff}
.msp-endcta__h{font-size:26px;font-weight:700;margin:0 0 10px}
.msp-endcta__p{margin:0 0 22px}
.msp-endcta__btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.msp-endcta .msp-btn{color:#ed1c24;flex:0 1 300px}
.msp-endcta .msp-btn--filled,.msp-endcta .msp-btn:hover{color:#fff}

/* stopka */
.msp-fcontact{display:block;margin:0 0 6px;line-height:1.7}
.msp-fcontact a{color:#fff;text-decoration:underline}

/* logo nie moze sie zmniejszac po dodaniu przyciskow */
@media (min-width:1024px){
  .page-navigation .container > div:first-child{flex-shrink:0}
  .page-navigation .logo-menu .logo__img{width:200px;max-width:none;height:auto}
}
@media (min-width:1024px) and (max-width:1279px){
  .page-navigation .logo-menu .logo__img{width:150px}
  .page-navigation .menu-nav .menu > li > a{padding-left:6px !important;padding-right:6px !important;font-size:14px}
  .msp-hcta{margin-left:10px}
  .msp-hcta__btn{font-size:14px;padding:9px 12px}
}

/* miejsce na przyciski w naglowku */
@media (min-width:1024px){
  .page-navigation .menu-nav{min-width:0;flex:1 1 auto}
  .page-navigation .menu-nav .menu > li{margin-left:0 !important;margin-right:0 !important}
}
@media (min-width:1280px) and (max-width:1599px){
  .page-navigation .logo-menu .logo__img{width:170px}
  .page-navigation .menu-nav .menu > li > a{padding-left:11px !important;padding-right:11px !important;font-size:16px}
}
@media (min-width:1600px){
  .page-navigation .menu-nav .menu > li > a{padding-left:13px !important;padding-right:13px !important}
}
@media (min-width:1024px){
  .page-navigation .logo-menu{width:auto !important;max-width:none !important;flex-shrink:0;margin-right:20px}
}
@media (min-width:1024px) and (max-width:1599px){
  .page-navigation .menu-nav .menu > li{padding-left:0 !important;padding-right:0 !important}
}
@media (min-width:1600px){
  .page-navigation .menu-nav .menu > li{padding-left:4px !important;padding-right:4px !important}
}

/* kotwica formularza pod stalym naglowkiem */
.wpcf7{scroll-margin-top:130px}

/* referencje - wyjustowany opis (C, 10.11) */
@media (min-width:640px){.content.custom-list.mt-20 p,.content.custom-list.mt-20 li{text-align:justify;-webkit-hyphens:auto;hyphens:auto}}

/* referencje na stronie glownej (audyt pkt C16) */
.msp-refs{background:#fff;padding:80px 0 60px}
.msp-refs__head{margin-bottom:36px}
.msp-refs__lead{margin-top:14px;font-size:18px}
.msp-refs__grid{display:grid;grid-template-columns:1fr;gap:24px}
@media (min-width:768px){.msp-refs__grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1280px){.msp-refs__grid{grid-template-columns:repeat(4,1fr)}}
.msp-refs__card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3e3e3;border-top:4px solid #ed1c24;border-radius:5px;padding:28px 24px;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.msp-refs__logo{display:flex;align-items:center;height:80px;margin-bottom:18px}
.msp-refs__logo img{max-height:80px;max-width:180px;width:auto;height:auto;object-fit:contain}
.msp-refs__name{font-weight:700;text-transform:uppercase;font-size:18px}
.msp-refs__label{margin-top:12px;font-size:14px}
.msp-refs__amt{font-weight:700;font-size:24px;color:#ed1c24;line-height:1.2}
.msp-refs__one{margin:14px 0 0;font-weight:600}
.msp-refs__quote{margin:16px 0 0;padding:0 0 0 14px;border-left:3px solid #ed1c24;font-style:italic}
.msp-refs__quote p{margin:0 0 8px}
.msp-refs__quote cite{display:block;font-style:normal;font-size:14px;color:#555}
.msp-refs__more{margin-top:auto;padding-top:18px;color:#ed1c24;font-weight:700;text-decoration:none}
.msp-refs__more:hover{text-decoration:underline}
.msp-refs__striph{margin:56px 0 18px;text-align:center;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.msp-logos{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.msp-logos__track{display:flex;align-items:center;gap:48px;width:max-content;animation:msp-logos 70s linear infinite}
.msp-logos:hover .msp-logos__track{animation-play-state:paused}
.msp-logos__track a{flex:0 0 auto;display:flex;align-items:center;height:70px}
.msp-logos__track img{max-height:60px;max-width:140px;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.75;transition:filter .2s,opacity .2s}
.msp-logos__track a:hover img{filter:none;opacity:1}
@keyframes msp-logos{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 24px))}}
@media (prefers-reduced-motion:reduce){.msp-logos{overflow-x:auto}.msp-logos__track{animation:none}}
.msp-refs__all{display:flex;justify-content:center;margin-top:40px}
