/* Dodatki do kontaktu; istniejący wygląd strony zostaje zachowany. */
.plutab-zadzwon { display: none; }
.contact-content .plutab-contact-link { color: #fff; text-decoration: underline !important; text-underline-offset: 3px; }
.plutab-route { text-align: center; margin: 16px auto; }
.contact-content .plutab-route a { display: inline-block; padding: 10px 20px; border: 1px solid rgba(255,255,255,.9); background: rgba(0,0,0,.48); color: #fff; }
.contact-content .plutab-route a:hover, .contact-content .plutab-route a:focus-visible { background: rgba(35,35,35,.8); }
@media (max-width: 720px) {
  .main-title:has(.plutab-zadzwon) { height: auto; min-height: 100vh; padding-bottom: 30px; }
  .main-title-content:has(.plutab-zadzwon) { height: auto; }
  .main-title-content .plutab-zadzwon { display: block; width: 200px; max-width: 100%; margin-top: 25px; padding: 11px 8px; border: 2px solid #eaeaea; color: #fff; background: rgba(0,0,0,.48); text-align: center; font-family: 'Lato', sans-serif; font-weight: 600; }
  .main-title-content .plutab-zadzwon:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
}

/* Wysoki kontrast przycisku powrotu na zdjęciach galerii. */
.button-wstecz .button-bar #button-bar { background: rgba(0,0,0,.68); color: #fff !important; border-color: #fff; }
.button-wstecz .button-bar:hover, .button-wstecz .button-bar:focus-visible { background: transparent; }
.button-wstecz .button-bar:hover #button-bar, .button-wstecz .button-bar:focus-visible #button-bar { background: rgba(45,45,45,.85); color: #fff !important; }

/* Czytelny kontakt: osobne osoby, e-mail i adres. */
.plutab-contact-card { box-sizing: border-box; width: min(100%, 440px); margin: 22px auto 26px; padding: 24px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.48); color: #fff; text-align: center; line-height: 1.6; }
.plutab-contact-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 35px; }
.plutab-person { flex: 1 1 150px; min-width: 0; }
.plutab-person-name { display: block; margin-bottom: 4px; font-weight: 700; }
.plutab-contact-email { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.25); }
.plutab-contact-location { margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.25); }
.plutab-address { margin-bottom: 12px; }
.contact-content .plutab-route-button { display: inline-block; padding: 10px 20px; border: 1px solid rgba(255,255,255,.9); background: rgba(0,0,0,.45); color: #fff; }
.contact-content .plutab-route-button:hover, .contact-content .plutab-route-button:focus-visible { background: rgba(45,45,45,.9); }
.plutab-welcome { margin-top: 14px; }
@media (max-width: 720px) {
  .plutab-contact-card { padding: 20px 16px; }
  .plutab-contact-people { gap: 15px; }
  .plutab-person { flex-basis: 100%; }
  .gallery-header, .gallery-header.active { background: rgba(0,0,0,.9); }
  .gallery-header .container { padding-left: 16px; padding-right: 16px; }
  .gallery-header .row { display: flex; align-items: center; justify-content: space-between; height: 60px; margin: 0; }
  .gallery-header #top { float: none; width: auto; margin: 0; }
  .gallery-header #logo { float: none; display: block; width: 95px; height: auto; margin: 0; }
  .gallery-header .button-wstecz { width: auto; margin: 0; }
  .gallery-header .button-wstecz .button-bar { width: 130px; height: 40px; }
  .gallery-header .button-wstecz #button-bar { width: 130px; height: 40px !important; margin: 0; }
}

/* Jedna spokojna sekcja kontaktu, bez dodatkowej ramki wokół samych numerów. */
.plutab-contact-group { box-sizing: border-box; width: 100%; margin: 0 auto; padding: 28px; background: rgba(9, 13, 13, .72); text-align: center; }
.plutab-contact-group > p:first-child { margin: 0 0 20px; color: #fff; font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 300; }
.plutab-contact-group .plutab-contact-card { width: 100%; max-width: 440px; margin: 0 auto 20px; padding: 0; border: 0; background: transparent; }
.plutab-contact-group .plutab-contact-email,
.plutab-contact-group .plutab-contact-location { border-top-color: rgba(255,255,255,.2); }
.plutab-contact-group .google-maps { position: relative; width: 100%; height: 0; padding-bottom: 62.5%; overflow: hidden; }
.plutab-contact-group .google-maps iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (max-width: 720px) {
  .plutab-contact-group { padding: 22px 18px; }
  .plutab-contact-group > p:first-child { margin-bottom: 18px; font-size: 24px; }
  .plutab-contact-group .plutab-contact-card { padding: 0; }
  .plutab-contact-group .google-maps { padding-bottom: 75%; }
}

/* Logo: oryginalny plik pozostaje nietknięty, a czarne pasy są kadrowane w CSS. */
#logo.plutab-brand { display: block; width: 190px; height: 50px; margin-top: 10px; object-fit: cover; object-position: center; background: #000; }
@media (max-width: 720px) {
  #logo.plutab-brand, .gallery-header #logo.plutab-brand { width: 125px; height: 34px; margin: 0; object-fit: cover; }
  .header:not(.gallery-header) #top { display: flex; align-items: center; height: 60px; }
}

/* Sekcja O nas korzysta z podobnego podkładu i nagłówka jak Kontakt. */
.about-content { box-sizing: border-box; width: min(90%, 760px); padding-top: 0; }
.plutab-about-group { box-sizing: border-box; padding: 28px; background: rgba(9, 13, 13, .72); color: #fff; line-height: 1.7; text-align: left; }
.plutab-about-group h2 { margin: 0 0 20px; color: #fff; font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 300; text-align: center; }
.plutab-about-group p { line-height: 1.7; }

/* Podpisy kafelków nawiązują do ciemnych przycisków i białych obramowań. */
.offer-item-descreption, .katalog-item-descreption { background: rgba(0,0,0,.72); border-top: 1px solid rgba(255,255,255,.65); }
.offer-item-descreption h3, .katalog-item-descreption h3 { color: #fff; font-weight: 600; }
@media (max-width: 720px) {
  .plutab-about-group { padding: 22px 18px; }
  .plutab-about-group h2 { margin-bottom: 18px; font-size: 24px; }
}
@media (max-width: 720px) {
  .header:not(.gallery-header) #top { margin: 0 0 0 16px; }
}

/* O nas po kontakcie, bez niebieskiego pasa i z tą samą szerokością. */
.about { background: transparent; border-top: 0; }
.about-content, .contact-content { box-sizing: border-box; width: min(90%, 650px); margin-left: auto; margin-right: auto; }
/* Treść jest widoczna również na krótkich ekranach, bez czekania na animację przewijania. */
.about-content, .contact-content { opacity: 1; }

/* Czarne tło na całej szerokości scala logo z nagłówkiem na każdym przewinięciu. */
.header, .header.active, .gallery-header, .gallery-header.active { background: #000; }
#logo.plutab-brand { image-rendering: auto; filter: brightness(1.05) contrast(1.04); }

/* Wektorowe logo ma już odpowiednie proporcje i przezroczyste tło. */
#logo.plutab-brand, .gallery-header #logo.plutab-brand { object-fit: contain; background: transparent; filter: none; }

/* Grafitowa oferta, spójna z pozostałymi ciemnymi sekcjami. */
.offer { background: #1b1d1e; outline: none; }
.offer-content-text { background: transparent; border-bottom: 0; }
.offer-content-text:has(.offer-content-text-mini:empty) { display: none; }
.offer-content h2 { color: #fff; font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 300; }
.offer .offer-item { outline: 1px solid rgba(255,255,255,.17); outline-offset: -1px; }
@media (max-width: 720px) {
  .offer-content h2 { font-size: 24px; }
}

/* Grafit z oferty łączy nagłówek i tła galerii; ciemniejsze elementy zachowują kontrast. */
.header, .header.active, .gallery-header, .gallery-header.active { background: #1b1d1e; }
.katalog, .galleries, .footer-gallery { background-color: #1b1d1e; }
.katalog, .galleries { border-top-color: #1b1d1e; }
.button-wstecz .button-bar #button-bar { background: rgba(27,29,30,.9); }
.contact-content .plutab-route-button { background: rgba(27,29,30,.9); }
.plutab-contact-group, .plutab-about-group { background: rgba(27,29,30,.88); }

/* Czarny wariant oferty i nawigacji; białe napisy oraz linie utrzymują kontrast. */
.header, .header.active, .gallery-header, .gallery-header.active,
.offer, .katalog, .galleries, .footer-gallery { background: #000; }
.katalog, .galleries { border-top-color: #000; }
.plutab-contact-group, .plutab-about-group { background: rgba(0,0,0,.88); }
.button-wstecz .button-bar #button-bar,
.contact-content .plutab-route-button { background: rgba(0,0,0,.9); }
.offer-item-descreption, .katalog-item-descreption { background: rgba(0,0,0,.92); border-top: 1px solid rgba(255,255,255,.65); }
.offer-item-descreption h3, .katalog-item-descreption h3 { color: #fff; }

/* Jedna wyraźna ramka obejmuje zdjęcie i podpis kategorii. */
.offer .offer-item, .katalog-content .offer-item, .katalog-item {
    outline: 1px solid rgba(255,255,255,.62);
    outline-offset: -1px;
}
.offer-item-descreption, .katalog-item-descreption {
    background: #000;
    border-top: 1px solid rgba(255,255,255,.62);
}
/* Nowa nazwa wraz z subtelnym odniesieniem do wcześniejszej. */
.main-title h2 .plutab-brand-subtitle {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0,0,0,.75);
}
@media (max-width: 720px) {
    .main-title h2 .plutab-brand-subtitle { font-size: 14px; }
}
/* Obrys poza kafelkiem pozostaje widoczny również wokół czarnego podpisu. */
.offer .offer-item, .katalog-content .offer-item, .katalog-item { outline-color: rgba(255,255,255,.75); outline-offset: 1px; }
/* Na krótkich ekranach tekst i przyciski nie mogą wchodzić pod sekcję oferty. */
@media (max-width: 720px) {
    .main-title { height: auto; min-height: 100vh; padding-bottom: 30px; }
    .main-title-content { height: auto; }
}

/* Łagodne obramowanie i neutralne tło podpisów kategorii. */
.offer .offer-item, .katalog-content .offer-item, .katalog-item { outline-color: rgba(255,255,255,.24); }
.offer-item-descreption, .katalog-item-descreption { background: #191919; border-top-color: rgba(255,255,255,.18); }

/* Czytelne odnośniki społecznościowe w sekcji O nas. */
.plutab-social-links { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 24px auto 0; }
.plutab-social-links a { display: inline-flex; align-items: center; justify-content: center; }
.plutab-social-links img { display: block; margin: 0; max-width: 150px; }
.plutab-social-links .plutab-instagram { box-sizing: border-box; width: 66px; height: 66px; color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; }
.plutab-social-links .plutab-instagram:hover, .plutab-social-links .plutab-instagram:focus-visible { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.plutab-instagram svg { display: block; width: 40px; height: 40px; }
/* Cień także pod główną nazwą, taki jak pod dopiskiem o poprzedniej nazwie. */
.main-title h2 { text-shadow: 0 1px 3px rgba(0,0,0,.75); }
@media (max-width: 720px) {
  .menu-walker { margin-right: 10px; }
  .menu-walker ul li { font-size: clamp(14px, 4vw, 17px); margin-right: 8px; }
}

/* Ciągłe przejścia między ofertą, kontaktem i opisem firmy. */
.offer { padding-bottom: 24px; }
.contact, .about { margin: 0; padding: 0 0 24px; }
.contact::before, .about::before {
    content: '';
    display: block;
    width: min(90%, 650px);
    height: 1px;
    margin: 0 auto 24px;
    background: rgba(255,255,255,.34);
}
/* Stare puste odstępy pod kontaktem nie są potrzebne; opcjonalne dane pozostają widoczne. */
.contact-content > .hr-contact { display: none; }
.contact-data-div:not(:has(.contact-data-ico)) { display: none; }
/* Bez jasnej linii między kontaktem i O nas. */
.about::before { display: none; }

/* Ikony społecznościowe zachowują jeden rząd także na małych telefonach. */
.plutab-social-links { gap: clamp(10px, 3vw, 24px); }
.plutab-social-links img { width: clamp(95px, 28vw, 150px) !important; max-width: 100%; }
.plutab-social-links .plutab-instagram, .plutab-social-links .plutab-facebook {
    box-sizing: border-box; flex: 0 0 auto; width: clamp(48px, 14vw, 66px); height: clamp(48px, 14vw, 66px);
    color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 12px;
}
.plutab-social-links .plutab-instagram:hover, .plutab-social-links .plutab-instagram:focus-visible,
.plutab-social-links .plutab-facebook:hover, .plutab-social-links .plutab-facebook:focus-visible {
    color: #fff; border-color: #fff; background: rgba(255,255,255,.1);
}
.plutab-instagram svg, .plutab-facebook svg { display: block; width: 60%; height: 60%; }

/* Oferta na osobnym, przyciemnionym panelu, jak Kontakt i O nas. */
.offer { background: transparent; }
.offer-content {
    box-sizing: border-box;
    width: min(90%, 1100px);
    margin: 0 auto;
    padding: 28px;
    background: rgba(0,0,0,.88);
}
.offer .offer-item { position: relative; }
.offer .offer-item-descreption {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 12px 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer .offer-item:hover .offer-item-descreption { margin: 0; }
.offer .offer-item-descreption h3 { margin: 0; }
@media (max-width: 720px) {
    .offer-content { padding: 22px 18px; }
    .offer .offer-item { width: min(280px, calc(90vw - 60px)); height: auto; aspect-ratio: 1 / 1; }
}
/* Cień pod nagłówkiem nie może poszerzać strony na tabletach. */
@media (min-width: 721px) and (max-width: 1200px) {
    .main-title-content::before { max-width: calc(100% + 170px); }
}

/* Wstęp przewija się normalnie, a zdjęcie łagodnie przechodzi w ofertę. */
.main-title { width: 100%; }
.main-title-content {
    position: relative;
    width: min(1170px, calc(100% - 60px));
    margin-left: auto;
    margin-right: auto;
}
.main-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 170px;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 1;
}
.offer { margin-top: 0; background: #000; }
.offer-content { background: transparent; }
@media (max-width: 720px) {
    .main-title { margin-bottom: 0; }
    .main-title::after { height: 120px; }
}

/* Te same pełnoszerokie, czarne sekcje przy zachowanej szerokości treści. */
.contact, .about { background: #000; }
.plutab-contact-group, .plutab-about-group { background: transparent; }
/* Sekcja kontaktu przykrywa osobną, nieruchomą warstwę zdjęcia motywu. */
.contact { position: relative; z-index: 16; }
/* Te same separatory przed kontaktem i przed O nas. */
.about::before { display: block; }

/* Zaproszenie i profile pod mapą, wewnątrz sekcji kontaktu. */
.plutab-contact-social { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; }
.plutab-contact-social p { margin: 0; line-height: 1.6; }

/* Wyraźniejsze linie oddzielające sekcje, na całą szerokość. */
.contact::before, .about::before {
    width: 100%;
    margin: 0 0 24px;
    background: rgba(255,255,255,.58);
}
@media (max-width: 720px) {
    .contact::before, .about::before { background: #c4c4c4; }
}

/* Czytelny początek Oferty, zgodny z separatorami pozostałych sekcji. */
.main-title::after {
    height: 110px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 70%, #000 100%);
}
.offer { padding-top: 0; }
.offer::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin: 0 0 24px;
    background: rgba(255,255,255,.58);
}
@media (max-width: 720px) {
    .main-title::after { height: 90px; }
    .offer::before { background: #c4c4c4; }
}

/* Linia zostaje widoczna na przyklejonym nagłówku; ciaśniejsze początki sekcji. */
.header { box-shadow: inset 0 -1px rgba(255,255,255,.58); }
.offer::before { margin-bottom: 0; }
.offer-content { padding-top: 16px; }
.contact::before, .about::before { margin-bottom: 12px; }
.plutab-contact-group, .plutab-about-group { padding-top: 20px; }
@media (max-width: 720px) {
    .header { box-shadow: inset 0 -1px #c4c4c4; }
    .offer-content { padding-top: 14px; }
    .plutab-contact-group, .plutab-about-group { padding-top: 16px; }
}
/* Adres e-mail jest przypisany do właściwej osoby. */
.plutab-person-email { display: inline-block; margin-top: 7px; }
/* Wyrównanie przycisku powrotu bez sztucznego pustego elementu. */
.button-wstecz .button-bar #button-bar { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 !important; line-height: normal; }
.button-wstecz .button-bar #button-bar > div { display: none; }
.plutab-contact-location .plutab-address { margin-bottom: 0; }
.plutab-contact-location .plutab-welcome { margin: 4px 0 14px; }

/* Nawigacja Swipebox na bokach, zdjęcie pozostaje między przyciskami. */
#swipebox-overlay.plutab-gallery #swipebox-slider { left: 52px; top: 56px; width: calc(100% - 104px); height: calc(100% - 112px); }
#swipebox-overlay.plutab-gallery #swipebox-bottom-bar { top: 0; bottom: auto; width: 100%; height: 100%; background: transparent; opacity: 1; transform: none !important; pointer-events: none; }
#swipebox-overlay.plutab-gallery #swipebox-arrows { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; pointer-events: none; }
#swipebox-overlay.plutab-gallery #swipebox-prev, #swipebox-overlay.plutab-gallery #swipebox-next {
    position: absolute; top: 50%; transform: translateY(-50%); float: none; pointer-events: auto;
    width: 44px; height: 50px; background-color: rgba(0,0,0,.72); border-radius: 3px;
}
#swipebox-overlay.plutab-gallery #swipebox-prev { left: 4px; background-position: -35px 13px; }
#swipebox-overlay.plutab-gallery #swipebox-next { right: 4px; background-position: -81px 13px; }
#plutab-gallery-caption {
    position: absolute; z-index: 1000; top: 14px; left: 52px; right: 52px;
    color: #fff; font: 600 15px/1.35 'Lato', sans-serif; text-align: center;
    text-transform: uppercase; pointer-events: none; overflow-wrap: anywhere;
}
@media (max-width: 720px) {
    #swipebox-overlay.plutab-gallery #swipebox-slider { left: 48px; width: calc(100% - 96px); }
    #plutab-gallery-caption { top: 12px; left: 48px; right: 48px; font-size: 13px; }
}
/* W tych galeriach nowy podpis zastępuje starszy tytuł Swipeboxa. */
#swipebox-overlay.plutab-gallery #swipebox-top-bar { display: none !important; }
#swipebox-overlay.plutab-gallery #swipebox-prev:focus-visible, #swipebox-overlay.plutab-gallery #swipebox-next:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
