/* Hero: opis nad nazwa, powiekszony do szerokosci sloganu. */
.slogan_hero .slogan_desc {
  /* Foglihtenno wystaje ponad wiersz PROTECH: odstep liczony od liter. */
  --protech-overhang: 3.2vw;
  box-sizing: border-box;
  width: 100%;
  margin-top: calc(-15px - var(--protech-overhang));
  margin-bottom: calc(60px + var(--protech-overhang));
  padding-bottom: 0;
  padding-left: 30px;
  padding-right: 30px;
}

.slogan_hero .text-block_studio {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  /* Dopasowanie fontu do szerokosci sloganu pomniejszonej o 60px paddingu. */
  font-size: calc(4.249vw - 3.818px);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .slogan_hero .slogan_desc { margin-top: calc(-30px - var(--protech-overhang)); }
}

@media (max-width: 479px) {
  .slogan_hero .slogan_desc {
    --protech-overhang: 4.26vw;
    margin-top: calc(-35px - var(--protech-overhang));
  }
  .slogan_hero .text-block_studio { font-size: calc(6.905vw - 3.818px); }
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: #191919;
  background: #9ed5cc;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.menu_butt, .menu_butt_close { border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu_butt:focus-visible, .menu_butt_close:focus-visible, .main_menu_butt:focus-visible,
.design-submenu a:focus-visible, .footer_link:focus-visible, .q_contact_hero:focus-visible,
.logo_main_menu:focus-visible, .cookie-close:focus-visible { outline: 3px solid #9ed5cc; outline-offset: 4px; }

.logo_img.protech_logo_img {
  width: auto;
  height: 65px;
  max-width: none;
  max-height: none;
  flex: 0 0 auto;
  object-fit: contain;
}

.menu_wrapper { padding-top: 10px; padding-bottom: 10px; }

@media screen and (max-width: 767px) {
  .logo_img.protech_logo_img { height: 43px; }
}

.logo_footer .protech_logo_footer {
  width: 195px;
  max-width: 100%;
  height: auto;
}

/* Stopka: standardowy uklad (logo | kolumny linkow | pasek z prawami) */
.site-footer { padding-bottom: 64px; color: #d8d8d8; background: #191919; border-top: 1px solid rgba(226, 226, 226, .15); }
.site-footer-inner { max-width: 1400px; margin: 0 auto; padding: 56px 25px 0; }
.site-footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px 60px; }
.site-footer .logo_footer { display: block; margin: 0; }
.site-footer-nav { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.site-footer-heading { margin: 0 0 14px; color: #9ed5cc; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.site-footer-list { list-style: none; margin: 0; padding: 0; }
.site-footer-list li { margin: 0 0 8px; }
.site-footer .footer_link { display: inline-block; padding: 2px 0; color: #d8d8d8; background: transparent; box-shadow: none; font-size: 14px; line-height: 1.4; text-align: left; transition: color .2s; }
.site-footer .footer_link:hover, .site-footer .footer_link[aria-current="page"] { color: #9ed5cc; box-shadow: none; background: transparent; }
.site-footer .footer_link:hover { text-decoration: underline; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(226, 226, 226, .15); }
.site-footer-bottom .footer_credit_txt { padding: 0; text-align: left; }
@media (max-width: 767px) {
  .site-footer-inner { padding-top: 40px; }
  .site-footer-main { flex-direction: column; align-items: center; gap: 32px; }
  .site-footer-nav { justify-content: center; gap: 28px 48px; text-align: center; }
  .site-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .site-footer-bottom .footer_credit_txt { text-align: center; }
}
.protech-menu-list, .design-submenu { list-style: none; margin: 0; padding: 0; }
.protech-menu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.menu_butt_wrap { width: min(760px, 82%); margin-left: 12%; }
.main_menu_butt { display: block; width: 100%; padding: 14px 18px; font-size: clamp(30px, 3vw, 54px); line-height: 1.05; }
.design-menu-heading { color: #e2e2e2; text-align: left; }
.design-submenu { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 2px 18px 14px; }
.design-submenu a { display: inline-block; min-height: 34px; color: #d8d8d8; font-size: clamp(24px, 2vw, 34px); line-height: 1.25; }
.design-submenu a[aria-current="page"], .design-submenu a:hover { color: #9ed5cc; text-decoration: underline; }
#cookies-message-container { position: fixed; z-index: 9998; right: 20px; bottom: 20px; width: min(390px, calc(100vw - 40px)); padding: 20px; color: #d8d8d8; background: rgba(18, 20, 21, .96); box-shadow: 0 8px 30px rgba(0, 0, 0, .3); }
#cookies-message-container p { margin: 0 0 14px; line-height: 1.5; }
.cookie-close { min-width: 44px; min-height: 44px; padding: 10px 18px; border: 1px solid #9ed5cc; color: #191919; background: #9ed5cc; cursor: pointer; }
@media (max-width: 767px) {
  .qcontact { display: none; }
  .menu_butt, .menu_butt_close { margin-left: auto; }
  .menu_butt_wrap { width: 90%; margin-left: 5%; }
  .protech-menu-list { grid-template-columns: 1fr; gap: 2px; }
  .main_menu_butt { padding: 8px 12px; font-size: clamp(27px, 9vw, 40px); line-height: 1; }
  .design-submenu { gap: 5px 18px; padding: 2px 12px 8px; }
  .design-submenu a { min-height: 32px; font-size: 24px; line-height: 1.25; }
}
@media (max-width: 479px) { #cookies-message-container { right: 10px; bottom: 10px; width: calc(100vw - 20px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
