/* ============================================================
   [WELCOME] — SEKCJA CONTENTOWA (BEZ TŁA BITMAPOWEGO)
   ============================================================ */

#welcome-home.with-bg {
    position: relative;
    background: none;      /* ⬅️ ZERO BITMAPY */
    overflow: visible;     /* ⬅️ NIE PRZYCINAMY NIC */
    isolation: isolate;    /* bezpieczny stacking */
}

/* overlay wyłączony */
#welcome-home.with-bg::before {
    content: none;
}

/* treść normalnie */
#welcome-home.with-bg > .grid-container,
#welcome-home.with-bg > .welcome-section-content {
    position: relative;
    z-index: 1;
}
/* ============================================================
   [GLOBAL PAGE BACKGROUND] — BITMAPA POD SLIDEREM (SCROLLUJĄCA)
   ============================================================ */
/* ============================================================
   BITMAPA POD SLIDEREM — DEKORACJA ŻYJĄCA Z SEKCJAMI
   ============================================================ */

.sections-with-bg {
    position: relative;
    overflow: hidden;          /* KLUCZ: nic nie wystaje przy resize */
}

/* bitmapa dekoracyjna */
.sections-with-bg .bg-image {
    position: absolute;
    top: 0;                    /* ZAWSZE przyklejona do slidera */
    left: 50%;
    transform: translateX(-50%);

    width: auto;
    max-width: 100%;           /* skaluje się w dół */
    height: auto;


    pointer-events: none;
    z-index: 0;
}

/* sekcje nad tłem */
.sections-with-bg > section {
    position: relative;
    z-index: 1;
}
/* ============================================================
   [GLOBAL] — WYSOKOŚĆ SLIDERA
   ============================================================ */
:root {
    --hero-height: 520px; /* MUSI = REALNEJ WYSOKOŚCI SLIDERA */
}
/* ============================================================
   [GLOBAL] — CONTENT NAD TŁEM
   ============================================================ */
body > * {
    position: relative;
    z-index: 1;
}
/* ==========================================
 [2] KONSTRUKCJA GRIDU (4 → 2 → 1) 
 ========================================== */

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 15px;  /* 25px wyrównuje styk ze sliderem */
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px) {
    .info-grid { grid-template-columns: 1fr; }
}



/* ============================================================
   [3] INFO-BOXY (T3 — transparent)
   ============================================================ */

.info-box {
    background: transparent; /* ZAWSZE transparentne */
    padding: 18px;
    text-align: center;
    border-radius: 6px;
    color: #9f9f9f; /* Twój dedykowany kolor */
}

.info-box h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #fff;
}

.info-box h3 i {
    font-size: 20px;
    color: #101010d9;
}

.info-box p {
    margin: 0;
    color: #676262d9;
    font-size: 15px;
    line-height: 1.5;
}



/* ============================================================
   [5] BUTTON „Napisz do nas!”
   ============================================================ */

#welcome-home .browse {
    text-decoration: none !important;
    display: inline-block;
    margin: 5px;
    padding: 15px 25px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 0px;
    border: 1px solid #d9d6d6;
    background: transparent;
    color: #9c9c9c;
    transition: all .12s ease;
}

#welcome-home .browse:hover {
    border-color: #333;
    background: #333;
    color: #fff;
}



/* ============================================================
   [6] DROBNE DOSTOSOWANIA MOBILNE
   ============================================================ */

@media (max-width: 360px){
    .info-box { padding: 14px; }
    .info-box h3 { font-size: 12px; }
    .info-box p { font-size: 14px; }
    #welcome-home .welcome-section-content { padding: 30px 12px; }
}
/* Kolor ikon FA — niezależny od koloru tekstu */
#welcome-home .info-box h3 i {
    color: #067f02;    /* DOWOLNY kolor dedykowany dla ikon */
}
/* ============================================================
   SEXY TABS — CORE + WARIANTY KOLORYSTYCZNE
   ============================================================
   Struktura:
   [A0] 1200px Container
   [A]  Layout globalny
   [B]  CORE TABS (wspólne)
   [C]  Wariant LIGHT
   [D]  Wariant DARK
   [E]  Sliding underline
   [F]  Panele treści
   [G]  MOBILE FIX
   [H]  Heading tabs
   [I]  Image wrap
   ============================================================ */


/* ============================================================
   [A0] KONTENER max 1200px
   ============================================================ */

.tabs-container-max {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-bottom: 40px;
    
}


/* ============================================================
   [A] GLOBALNY LAYOUT
   ============================================================ */

.tabs-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1200px) {
    .tabs-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}


/* ============================================================
   [B] CORE TABS — WSPÓLNE
   ============================================================ */

.tabs-block {
    /* padding: 25px;  ← USUNIĘTE */
}
.tabs-surface {
    padding: 10px;
}
/* === NAV TABS === */
.tabs-nav {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    position: relative;
    margin-bottom: 0px; /* POPRAWIONA JEDNOSTKA */
}

/* === BUTTONS === */
.tabs-nav button {
    background: rgba(0,0,0,0.0); /* delikatna jasna karta */
    border: 1px solid #EBEBEB;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;             /* STAŁA METRYKA */
    letter-spacing: 0.3px;
    cursor: pointer;
    color: #4d4c4d;
    transition: color .25s, background .25s;
    border-radius: 0;
    position: relative;
}
/* === HOVER — IDENTYCZNY JAK MEDIA BOXES === */
.tabs-nav button:hover {
    border-color: #dadada;   /* tylko jaśniejsza ramka */
    background: rgba(0,0,0,0.0); /* delikatna jasna karta */
    color: #444444;          /* bez zmiany tekstu */
}

/* === ACTIVE / SELECTED === */
.tabs-nav button.active,
.tabs-nav button[aria-selected="true"] {
    
}

/* === FOCUS (keyboard) === */
.tabs-nav button:focus {
    outline: none;
}
/* ============================================================
   LINIE POD TABAMI
   ============================================================ */

/* ============================================================
   TABS — BASELINE (MATCH BUTTON BORDER 1:1)
   ============================================================ */

.tabs-nav {
    position: relative;
}


.tabs-nav {
    position: relative;
    --active-left: 0px;
    --active-width: 0px;
}

.tabs-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            to right,
            #191919 0,
            #191919 var(--active-width),
            #EBEBEB var(--active-width),
            #EBEBEB 100%
        );

    transform: translateX(var(--active-left));
    pointer-events: none;
}
/* ============================================================
   [B1] TABS SURFACE — tło + padding (KARTA)
   ============================================================ */

.tabs-surface {
    padding: 10px;
    background: transparent; /* domyślnie brak tła */
}

/* ============================================================
   WARIANT LIGHT
   ============================================================ */
.tabs-light .tabs-surface {
    background: rgba(0,0,0,0.0);   /* zostaje */
    border-top: 1px solid rgba(255,255,255,0.6); /*lekka kreska na laczeniu lini z tabsem */
    border-radius: 0 0 6px 6px;     /* tylko DOLNE rogi */
    box-shadow:
        0 6px 6px rgba(0,0,0,0.04),
        0 1px 2px rgba(0,0,0,0.03);
}

.tabs-light {
    color: #676262d9;
}

.tabs-light .tabs-nav {
    border-bottom: 1px solid #e8e8e8;
}

.tabs-light .tabs-nav button:hover {
    background: #ffffff;
    color: #555;
}

.tabs-light .tabs-nav button.active {
    color: #000;
}

/* ============================================================
   WARIANT DARK
   ============================================================ */

.tabs-dark .tabs-surface {
    background: rgba(0,0,0,0.00);   /* zostaje */
    border-top: 1px solid rgba(255,255,255,0.6); /*lekka kreska na laczeniu lini z tabsem */
    border-radius: 0 0 6px 6px;     /* tylko DOLNE rogi */
    box-shadow:
        0 6px 6px rgba(0,0,0,0.04),
        0 1px 2px rgba(0,0,0,0.03);
}


.tabs-dark {
    color: #676262d9;
}

.tabs-dark .tabs-nav {
    border-bottom: 1px solid #e8e8e8;
}

.tabs-dark .tabs-nav button:hover {
    border-color: #dadada;   /* tylko jaśniejsza ramka */
    background-color: #fff;  /* bez zmiany tła */
    color: #444444;          /* bez zmiany tekstu */
}

.tabs-dark .tabs-nav button.active {
    color: #4d4e4d;
}

/* ============================================================
   [E] SLIDING UNDERLINE — wspólna
   ============================================================ */

.tabs-underline {
    position: absolute;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: currentColor;
    transition: transform .4s ease, width .4s ease;
    will-change: transform, width;
}


/* ============================================================
   [F] PANELE TREŚCI
   ============================================================ */

.tab-panel {
    display: none;
    opacity: 0;
    transition: opacity .35s;
    padding-top: 20px;
}

.tab-panel.active {
    display: block;
    opacity: 1;
}

.tab-panel img {
    max-width: 100%;
    display: block;
    margin-bottom: 18px;
}


/* ============================================================
   [G] MOBILE FIX
   ============================================================ */

@media (max-width: 480px) {

    .tabs-block {
        padding: 12px !important;
    }

    .tabs-nav button {
        padding: 10px 14px;
        font-size: 14px;
    }

    .tabs-container-max {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* ============================================================
   [H] HEADING TABÓW
   ============================================================ */

.tabs-heading {
    font-size: 14px;
    font-weight: 300;
    /* margin-bottom: 12px;  ← NIE */
    padding-left: 12px;
	padding-bottom: 12px;
    text-align: left;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
    color: #444444; 
}
.tabs-heading--spaced {
    padding-bottom: 16px;
}

.tabs-heading i {
    font-size: 20px;
    opacity: 1.7;
    color: #034d01; 
}

.tabs-heading::after {
    content: "";
    display: block;
    width: 0px;
    height: 1px;
    margin-top: 6px;
    background: currentColor;
    opacity: 0.25;
}

.tabs-light .tabs-heading {
    color: #666;
}

.tabs-dark .tabs-heading {
    color: #666;
}

.tabs-header-bar {
    display: flex;
    align-items: center;        /* wspólna oś Y */
    justify-content: space-between;
    padding-bottom: 12px;   /* ⬅️ TU */
}

/* ============================================================
   [I] IMAGE WRAP — obrazek + tekst
   ============================================================ */

.tab-panel img.thumb {
    float: left;
    width: clamp(160px, 28%, 240px);
    margin: 0 18px 12px 0;
    height: auto;
}

@media (max-width: 600px) {
    .tab-panel img.thumb {
    float: left;
    width: clamp(120px, 30%, 200px);
    margin: 0 14px 10px 0;
    height: auto;
    }
}
/* ============================================================
   FOOTER — PEŁNA SZEROKOŚĆ TŁA
   ============================================================ */

.grid-section.footer {
    background: rgb(22, 22, 22);
    color: #777;
    border: none !important;
    font-weight: 300;
    padding-bottom: 0;
}


/* ============================================================
   FOOTER — OŚ 1200px (KLUCZOWE WYRÓWNANIE)
   ============================================================ */

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
}

/* ============================================================
   FOOTER — POJEDYNCZA KOLUMNA
   ============================================================ */

.footer-col {
    box-sizing: border-box;
}


/* ============================================================
   FOOTER — TYTUŁ SEKCJI (JAK TABS / ACCORDION)
   ============================================================ */

.footer-title {
    position: relative;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #fff;

    margin-bottom: 18px;
    padding-bottom: 8px;
}
/* ============================================================
   FOOTER — LINIE POD TYTUŁEM (JAK ACCORDION)
   ============================================================ */

.footer-title {
    position: relative;
    display: inline-block;   /* szerokość = tekst */
    padding-bottom: 10px;    /* miejsce na linie */
}

/* linia cienka — 1px, od tytułu do końca sekcji */
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;                /* start pod tytułem */
    right: -110px;           /* ⬅️ do końca kolumny (padding) */
    bottom: 0;
    height: 0.5px;
    background: rgba(255,255,255,0.25);
}

/* linia gruba — 2px, tylko długość tekstu */
.footer-title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
}
/* ============================================================
   FOOTER — LISTY TEKSTOWE (ADRES / BANK)
   ============================================================ */

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 11px;
    color: #fff;

    margin-bottom: 10px;
}
.footer-list i {
    width: 16px;
    font-size: 14px;
    color: #fff; /* zielony z logo */
}
/* ============================================================
   FOOTER — GALERIA MINIATUREK (MNIEJSZE + LUŹNIEJSZE)
   ============================================================ */
.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;                  /* ⬅️ WIĘKSZE ODSTĘPY */
    max-width: 260px;           /* ⬅️ SKALA CAŁEJ GALERII */
}
/* pojedynczy thumb */
.footer-gallery-grid a {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;        /* zawsze kwadrat */
    overflow: hidden;
    border-radius: 4px;
}
/* obraz wypełnia kwadrat */
.footer-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}
/* hover — przyciemnienie */
.footer-gallery-grid a:hover img {
    opacity: 0.6;
}
/* ============================================================
   FOOTER — PODPIS (© 5e | Unibox)
   ============================================================ */
.footer .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 30px;
    box-sizing: border-box;
    font-size: 10px;
    color: #999;
}
.footer a {
    color: #999;
    text-decoration: none !important;
}
/* ============================================================
   FOOTER — PODPIS / COPYRIGHT
   ============================================================ */
.footer-signature {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: #0b0b0b;
    padding: 14px 0;
}
.footer-signature {
    margin-bottom: -18px;
}
.footer-signature .content {
    color: #8f8f8f;                   /* spokojna szarość */
    font-size: 12px;
    text-align: left;
}
.footer-signature a {
    color: #b5b5b5;
    text-decoration: none;
}
.footer-signature a:hover {
    color: #ffffff;
}
/* ============================================================
   RESPONSIVE — TABLET (UKRYCIE GALERII)
   ============================================================ */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-gallery {
        display: none;
    }
}
/* ============================================================
   RESPONSIVE — MOBILE (ZOSTAJE TYLKO ADRES)
   ============================================================ */
@media (max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 0px 30px;
    }
    .footer-bank {
        display: none;
    }
    .footer .content {
        padding: 16px 20px;
        text-align: left;
    }
}
/* ============================================================
   PAGE HERO / PAGE BAR
   Zastępstwo dla slidera na podstronach
   Zachowanie IDENTYCZNE jak hero-slider-section
   ============================================================ */

/* ------------------------------------------------------------
   ZMIENNE (tylko wizualne – zostają)
   ------------------------------------------------------------ */
/* ============================================================
   PAGE HERO / PAGE BAR — WERSJA UPROSZCZONA
   bez gradientu, bez cieniowania
   ============================================================ */
/* ============================================================
   PAGE HERO / PAGE BAR
   Zastępstwo dla slidera na podstronach
   ============================================================ */

.page-hero {
    width: 100%;
    position: relative;
    height: 80px;              /* geometria paska – STAŁA */
    overflow: hidden;
    background: transparent;
}

/* ------------------------------------------------------------
   TŁO — JEDYNY ELEMENT O ZMIENNEJ WYSOKOŚCI
   ------------------------------------------------------------ */
.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;          
    background-color: rgba(0, 0, 0, 0.0);
    background-image: url('../img/pasek.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto;      /* bitmapa 1:1 */


    pointer-events: none;
    z-index: 0;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;              /* DOKŁADNIE na końcu tła */
    width: 100%;
    height: 1px;

    background-color: rgba(0, 0, 0, 0.05); /* testowo */
    pointer-events: none;
}

/* ------------------------------------------------------------
   CONTENT — ZAKOTWICZONY OD TOP
   ------------------------------------------------------------ */
.page-hero-inner {
    position: relative;
    z-index: 1;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding-top: 0px;          /* STAŁY OFFSET OD GÓRY */
}

/* ------------------------------------------------------------
   TITLE (bez zmian logiki)
   ------------------------------------------------------------ */
.page-title {
    margin-top: -20px;
}
/* ------------------------------------------------------------
   MOBILE — IDENTYCZNA LOGIKA JAK HERO-SLIDER-SECTION
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   MOBILE — TYLKO OFFSET POD NAVBAR
   (reszta IDENTYCZNA jak desktop)
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    .page-hero {
        margin-top: 66px;   /* wysokość navbara */
    }
}
/* ============================================================
   HERO LINE — FINAL, ISOLATED
   ============================================================ */

.hero-line {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;

    display: flex;
    align-items: center;
    width: 100%;
}

/* ------------------------------------------------------------
   TITLE — LEFT
   ------------------------------------------------------------ */

.hero-line .page-title {
    margin: 0;
    padding-left: 25px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    font-weight: 400;
    color: #085502;

    text-align: left;

    /* === DODANE: korekta pionowa tekstu === */
    transform: translateY(-15px);
}

/* ------------------------------------------------------------
   BREADCRUMB — RIGHT
   ------------------------------------------------------------ */

.hero-line .page-path {
    margin-left: auto;
    padding-right: 20px;

    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #085502;

    text-align: right;

    /* === DODANE: spójna korekta pionowa === */
    transform: translateY(-15px);
}

/* ------------------------------------------------------------
   LINKS
   ------------------------------------------------------------ */

.hero-line .page-path a {
    color: #085502;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
}

.hero-line .page-path a:hover {
    color: #000;
}
/* ------------------------------------------------------------
   ICONS
   ------------------------------------------------------------ */

.hero-line .page-title .fa {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.hero-line .page-path .fa {
    font-size: 12px;
    line-height: 1;
}

/* ------------------------------------------------------------
   SEPARATOR
   ------------------------------------------------------------ */

.hero-line .path-separator {
    margin: 0 2px;
    user-select: none;
}
/* ------------------------------------------------------------
   HERO LINE — VERTICAL OFFSET
   ------------------------------------------------------------ */

.hero-line {
    margin-top: 40px; /* ← regulujesz tylko tę wartość */
}


/* ============================================================
   CONTACT SECTION — RESET + FINALNY UKŁAD
   ============================================================ */
/* ------------------------------------------------------------
   [A] SEKCJA
   ------------------------------------------------------------ */
.contact-section {

    padding-top: 6px;
    padding-bottom: 60px

}

/* ------------------------------------------------------------
   [B] KONTENER OSI — 1200px
   ------------------------------------------------------------ */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

/* ------------------------------------------------------------
   [C] GRID — 2/3 + 1/3
   ------------------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 60px;
    align-items: start;
}

/* ============================================================
   LEWA STRONA — ZDJĘCIE (BEZ ZMIAN)
   ============================================================ */
.contact-left {
    display: block;
}

.contact-image {
    width: 100%;
    padding-left: 10px;
    padding-right: 12px;
    box-sizing: border-box;
}

.contact-image img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 6px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ============================================================
   PRAWA STRONA — DESKTOP (BAZA)
   ============================================================ */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-box {
    display: block;
}

/* ============================================================
   [S1] SYSTEM HEADER — FINAL (PADDING DZIAŁA)
   ============================================================ */

.sys-header {
    margin-bottom: 16px;

    /* padding steruje I TEKSTEM, I LINIĄ */
    padding-left: 0;
    padding-right: 0;

    /* cienka linia jako tło */
    background-image: linear-gradient(
        to bottom,
        transparent calc(100% - 1px),
        rgba(0, 0, 0, 0.25) 0
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;

    /* linia rysowana w content-box */
    background-clip: content-box;
}

/* ============================================================
   TYTUŁ SYSTEMOWY — TYPOGRAFIA ZGODNA Z ACCORDION
   ============================================================ */

.sys-header-title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 6px;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1;
    color: #666;
    opacity: 0.85;
}

/* podkreślenie tytułu — dokładnie szerokość tekstu */
.sys-header-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.2px;
    background-color: currentColor;
}
/* ============================================================
   TREŚĆ BOXA — DESKTOP
   ============================================================ */
.contact-box-content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.contact-box-content a {
    color: inherit;
    text-decoration: none;
}

.contact-box-content a:hover {
    text-decoration: underline;
}

/* ============================================================
   CONTACT — OWNER (ACCORDION CONTENT) — BEZ ZMIAN
   ============================================================ */
.contact-owner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 24px;
    align-items: start;
}

.contact-owner-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.contact-owner-name {
    font-weight: 600;
    color: #666;
}

.contact-owner-ext {
    margin-left: 4px;
    color: #666;
    font-size: 13px;
}

.contact-owner-qr {
    text-align: center;
    flex-shrink: 0;
}

.contact-owner-qr-label {
    font-size: 11px;
    letter-spacing: 0.4px;
    color: #777;
    margin-bottom: 8px;
}

.contact-owner-qr img {
    width: 110px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ============================================================
   MOBILE — NADPISANIA
   ============================================================ */
@media (max-width: 767px) {

    .contact-section {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .contact-right {
        gap: 20px;
    }

    /* SYSTEM HEADER — MOBILE */
    .sys-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* TREŚĆ BOXA — TEN SAM ODSAD */
    .contact-box-content {
        padding-left: 14px;
        padding-right: 14px;
    }
}
/* ============================================================
   HISTORIA — LAYOUT LOKALNY (IZOLOWANY)
   ============================================================ */

.history-section .contact-grid {
    display: grid;

    /* elastyczne kolumny — NIE procenty */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;

    align-items: start;
}

/* ============================================================
   LEWA KOLUMNA — ZDJĘCIE
   ============================================================ */

.history-section .contact-left {
    display: block;
}

.history-section .contact-image {
    width: 100%;
}

.history-section .contact-image img {
    display: block;
    width: 100%;
    height: auto;

    background: #fff;
    padding: 6px;
    box-sizing: border-box;

    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* ============================================================
   PRAWA KOLUMNA — TEKST HISTORII
   ============================================================ */

.history-section .story-text {
    /* KLUCZ: tekst nigdy nie wypycha kolumny */
    min-width: 0;
    max-width: 100%;
    margin: 0;

    font-size: 14px;
    line-height: 1.7;
    color: #666;

    text-align: justify;
    hyphens: auto;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================================
   RESPONSYWNOŚĆ — TYLKO HISTORIA
   ============================================================ */

/* delikatne zwężanie — BEZ psucia układu */
@media (max-width: 1200px) {
    .history-section .contact-grid {
        column-gap: 36px;
    }
}

/* moment krytyczny — zanim tekst zrobi się „paskiem” */
@media (max-width: 980px) {
    .history-section .contact-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }

    .history-section .story-text {
        text-align: left;
        hyphens: none;
    }
}
/* ============================================================
   HISTORIA — OBRAZ SZERSZY O 20px L/R (BEZ PRZESUNIĘĆ)
   ============================================================ */

.history-section .contact-image {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
}
.stand-toggle .mb-like-load-more {
    display: inline-block;
    width: auto;
}
.stand-buttons {
    display: flex;
    gap: 10px;
}