:root{
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --primary: #3f485a;
  --primary-dark: #242b3d;
  --text-main: #272a30;
  --text-muted: #6c727f;
  --bg-muted: #e8eaed;
  --border-color: #dbdde1;
  --font-headings: 'Asap', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --bg-sec-hero: #ffffff;
  --bg-sec-quote: #242b3d;
  --bg-sec-carousel: #ffffff;
  --bg-sec-grid: #e8eaed;
  --bg-sec-steps: #e8eaed;
  --bg-sec-gallery: #3f485a;
}


/* --- CZCIONKI WG STYLU (css/fonts.html) --- */
:root {
  --font-headings: 'Raleway', sans-serif;
  --font-body: 'Noto Sans', sans-serif;
}


* {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: var(--font-body);
        background-color: var(--bg-page);
        color: var(--text-main);
        line-height: 1.6;
        padding-top: 80px;
    }

    h1, h2, h3 {
        font-family: var(--font-headings);
        font-weight: 700;
        margin-bottom: 15px;
    }

    .section-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }

    .section-content {
        width: 100%;
        max-width: 1560px;
        margin: 0 auto;
        padding: 30px 30px;
        box-sizing: border-box;
    }

    /* --- STRONY SPECJALNE: POLITYKA PRYWATNOŚCI / COOKIES ---
       Treść z html_sections/special/<slug>/ jest jednym blokiem tekstu, bez sekcji i bez
       wariantów stylowych, więc jej style siedzą tutaj (wspólne dla wszystkich 6 stylów),
       a nie w main_1..6.css.

       Reguła jest potrzebna, bo reset "* { margin:0; padding:0 }" na górze tego pliku zabiera
       listom wcięcie (znaczniki <li> wychodzą poza kolumnę i potrafią się przyciąć), a akapitom
       odstęp - surowa polityka zlewałaby się w jedną ścianę tekstu. */
    .policy .section-content {
        max-width: 1100px;
        padding: 40px 30px 60px;
        background-color: var(--bg-card);
        color: var(--text-main);
    }

    .policy h3 {
        font-size: 20px;
        color: var(--primary-dark, var(--primary));
        margin-top: 32px;
    }

    .policy h3:first-child {
        margin-top: 0;
    }

    .policy p {
        margin-bottom: 14px;
    }

    .policy ul,
    .policy ol {
        /* wcięcie oddające znacznikom listy miejsce zabrane przez reset */
        padding-left: 26px;
        margin-bottom: 18px;
    }

    .policy li {
        margin-bottom: 10px;
    }

    .policy li > ul {
        margin: 10px 0 0;
    }

    .policy a {
        color: var(--primary);
        overflow-wrap: anywhere;
    }

    @media (max-width: 768px) {
        .policy .section-content {
            padding: 25px 18px 40px;
        }
    }

    /* --- WYMUSZONA LICZBA KOLUMN W GRIDACH (klasa grid-cols-N z generator.py) ---
       Liczba kolumn jest cechą STRUKTURALNĄ, wspólną dla wszystkich 6 wariantów stylowych,
       więc siedzi tutaj, a nie w main_1..6.css.

       Dwie rzeczy, które muszą tu zagrać:
       1) Selektor jest DWUKLASOWY (.grid-standard.grid-cols-4), czyli ma wyższą specyficzność
          niż .grid-standard z main_N.css - wygrywa niezależnie od kolejności wczytywania plików.
       2) Całość jest zamknięta w @media (min-width: 1025px), więc na tabletach i telefonach
          reguła w ogóle nie istnieje i wracają responsywne auto-fill z main_N.css. Bez tego
          8 kolumn zostałoby 8 kolumnami także na telefonie. */
    @media (min-width: 1025px) {
        .grid-standard.grid-cols-2,  .grid-cities.grid-cols-2  { grid-template-columns: repeat(2,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-3,  .grid-cities.grid-cols-3  { grid-template-columns: repeat(3,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-4,  .grid-cities.grid-cols-4  { grid-template-columns: repeat(4,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-5,  .grid-cities.grid-cols-5  { grid-template-columns: repeat(5,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-6,  .grid-cities.grid-cols-6  { grid-template-columns: repeat(6,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-7,  .grid-cities.grid-cols-7  { grid-template-columns: repeat(7,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-8,  .grid-cities.grid-cols-8  { grid-template-columns: repeat(8,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-9,  .grid-cities.grid-cols-9  { grid-template-columns: repeat(9,  minmax(0, 1fr)); }
        .grid-standard.grid-cols-10, .grid-cities.grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
    }

/* MAIN (gridy + breadcrumbs) | Styl 3: Material Design
   Elewacja cieniem, promień 4px, kafelek podnosi się przy hover. */

/* --- BREADCRUMBS --- */
.breadcrumbs {
    background-color: var(--bg-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    margin-bottom: 32px;
}

.breadcrumbs-content {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumbs-sep {
    color: var(--text-muted);
}

.breadcrumbs-current {
    color: var(--text-main);
    font-weight: 700;
}

/* --- GRIDY LINKÓW --- */
.grid-section-title {
    font-family: var(--font-headings);
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.grid-standard,
.grid-cities {
    display: grid;
    gap: 14px;
}

.grid-standard {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.grid-cities {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.grid-item:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 12px 0;
        margin-bottom: 22px;
    }
    .breadcrumbs-content {
        padding: 0 18px;
        font-size: 13px;
    }
    .grid-section-title {
        font-size: 22px;
    }
    .grid-standard {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .grid-cities {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .grid-item {
        padding: 12px 14px;
        font-size: 14px;
    }
}


/* HEADER | Styl 3: Material Design */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: var(--bg-card);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);
}

.header-content {
    max-width: 1560px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.menu-toggle-checkbox {
    display: none;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
}

.header-left-img {
    max-width: 50px;
    max-height: 50px;
}

.header-left-text {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav-btn {
    display: inline-block;
    background: none;
    border: none;
    font-family: var(--font-headings);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 26px;
    position: relative;
    padding-bottom: 4px;
}

.header-nav-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.header-nav-btn:hover::after {
    width: 100%;
}

.header-phone-num {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--bg-card);
    font-size: 14px;
    text-transform: uppercase;
    background: var(--primary);
    padding: 11px 20px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.16);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.header-phone-num:hover {
    box-shadow: 0 6px 10px rgba(0,0,0,0.24), 0 8px 20px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .hamburger-label {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger-label span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--text-main);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        box-shadow: 0 4px 10px rgba(0,0,0,0.14);
        padding: 20px 0;
        gap: 15px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
    }

    .header-nav-btn {
        width: 100%;
        text-align: center;
        margin-right: 0;
        padding: 10px 0;
    }

    .header-phone-num {
        margin: 0 auto;
    }

    .menu-toggle-checkbox:checked ~ .header-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle-checkbox:checked + .hamburger-label span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle-checkbox:checked + .hamburger-label span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle-checkbox:checked + .hamburger-label span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .header-left {
        gap: 10px;
    }
    .header-left-text {
        font-size: 16px;
    }
}


/* SEC1 - HERO | Styl 3: Material Design */
.section1-color {
    background-color: var(--bg-sec-hero);
    padding-top: 20px;
}

.sec1-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.sec1-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14);
}

.sec1-text-block {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sec1-badge {
    display: inline-block;
    background: var(--bg-card);
    color: var(--primary);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    margin-bottom: 20px;
}

.sec1-title {
    font-size: 40px;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.sec1-subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.15px;
    color: var(--primary);
    margin-bottom: 20px;
}

.sec1-desc {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-muted);
    margin: 0 auto 30px;
    max-width: 560px;
}

.sec1-cta-group {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.sec1-btn-primary,
.sec1-btn-secondary {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 4px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sec1-btn-primary {
    background: var(--primary);
    color: var(--bg-card);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.16);
}

.sec1-btn-secondary {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}

.sec1-btn-primary:hover,
.sec1-btn-secondary:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sec1-stack {
        gap: 26px;
    }
    .sec1-img {
        max-height: 220px;
    }
    .sec1-title {
        font-size: 28px;
    }
    .sec1-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
}


/* SEC6 - PROCES ZAKUPOWY WARIANT 39 | Styl 3: Material Design */
.section6-color {
    background-color: var(--bg-sec-steps);
    padding: 60px 0;
}

.sec6-header {
    text-align: center;
    margin-bottom: 40px;
}

.sec6-title {
    font-size: 32px;
    color: var(--primary-dark);
}

.sec6-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.sec6-numeral-39 {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.sec6-step {
    width: 100%;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 28px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.25s ease;
}

.sec6-step:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.14), 0 12px 24px rgba(0,0,0,0.12);
}

.sec6-numeral-39-num {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 76px;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--primary);
}

.sec6-step-title {
    font-family: var(--font-headings);
    font-size: 19px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.sec6-step-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .sec6-numeral-39 {
        flex-direction: column;
    }
    .sec6-numeral-39-num {
        font-size: 60px;
    }
}


.sec-dup-1 .section10-color { background: var(--primary-dark); padding: 70px 0; }
.sec-dup-1 .sec10-main-20 {
    display: flex; flex-direction: column; max-width: 900px; margin: 0 auto; text-align: center;
    background: color-mix(in srgb, var(--primary-dark) 94%, var(--bg-card) 6%); border-radius: 6px;
    padding: 50px 40px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sec-dup-1 .sec10-main-20:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 20px 40px rgba(0, 0, 0, 0.3); }
.sec-dup-1 .sec10-title { font-size: 36px; color: var(--bg-card); margin-bottom: 15px; }
.sec-dup-1 .sec10-desc { font-family: var(--font-body); font-size: 16px; color: color-mix(in srgb, var(--bg-card) 85%, transparent); margin-bottom: 30px; }
.sec-dup-1 .sec10-btn-row { display: flex; justify-content: center; gap: 20px; }
.sec-dup-1 .sec10-btn-primary, .sec-dup-1 .sec10-btn-secondary {
    display: inline-block; font-family: var(--font-headings); font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.6px; text-decoration: none; padding: 17px 34px;
    border-radius: 4px; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sec-dup-1 .sec10-btn-primary { background: var(--primary); color: var(--bg-card); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); }
.sec-dup-1 .sec10-btn-secondary { background: var(--bg-card); color: var(--primary-dark); }
@media (max-width: 768px) {.sec-dup-1 .sec10-btn-row { flex-wrap: wrap; }
.sec-dup-1 .sec10-btn-primary, .sec-dup-1 .sec10-btn-secondary { width: 100%; text-align: center; }
.sec-dup-1 .sec10-main-20 { padding: 40px 24px; }
}


/* SEC3 - LIST GRID | Styl 3: Material Design */
.section3-color {
    background-color: var(--bg-sec-carousel);
}

.sec3-header {
    text-align: center;
    margin-bottom: 35px;
}

.sec3-title {
    font-size: 32px;
    color: var(--primary-dark);
}

.sec3-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.sec3-list {
    display: flex;
    flex-direction: column;
}

.sec3-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    margin-bottom: 14px;
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.25s ease;
}

.sec3-card:last-child {
    margin-bottom: 0;
}

.sec3-card:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.16), 0 12px 24px rgba(0,0,0,0.14);
}

.sec3-card-img {
    width: 100px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.sec3-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec3-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sec3-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}

.sec3-card-btn {
    display: inline-block;
    align-self: flex-start;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 10px 16px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .sec3-card {
        gap: 14px;
        padding: 12px 14px;
        margin-bottom: 12px;
    }
    .sec3-card-img {
        width: 80px;
        height: 70px;
    }
}


/* SEC_AREA - PASEK ZASIĘGU ZE ZNACZNIKIEM TIMELINE (wariant 12) | Styl 3: Material Design */
.sectionarea-color {
    background-color: var(--bg-sec-grid);
    padding: 28px 0;
}

.secarea-row-12 {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 18px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.secarea-timeline-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.secarea-dot-12 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.secarea-tline-12 {
    width: 2px;
    height: 24px;
    background: var(--border-color);
}

.secarea-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
}

.secarea-text-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.secarea-label {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.secarea-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
}

.secarea-text a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.secarea-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .secarea-row-12 {
        gap: 14px;
        padding: 16px 18px;
    }
    .secarea-tline-12 {
        height: 18px;
    }
    .secarea-icon {
        font-size: 20px;
        width: 38px;
        height: 38px;
    }
    .secarea-text {
        font-size: 14px;
    }
}


/* SEC4 - CTA MINI | Wariant 14: Przycisk ze strzałką | Styl 3: Material Design */
.section4-color {
    background: var(--primary-dark);
    padding: 26px 0;
}

.sec4-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sec4-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-card);
}

.sec4-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sec4-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sec4-btn:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.sec4-arrow-14::after {
    content: "\2192";
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.sec4-arrow-14:hover::after,
.sec4-arrow-14:focus::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .sec4-inner {
        flex-direction: column;
        text-align: center;
    }

    .sec4-buttons {
        justify-content: center;
    }
}


/* SEC5 - PRZEWIJALNY POZIOMY PASEK KART | Styl 3: Material Design */
.section5-color{
    background: var(--bg-sec-grid);
    padding: 60px 0;
}
.sec5-header{
    text-align: center;
    margin-bottom: 40px;
}
.sec5-title{
    color: var(--primary-dark);
    font-family: var(--font-headings);
    font-size: 32px;
    margin-bottom: 12px;
}
.sec5-subtitle{
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 16px;
}
.sec5-scroll-wrap-11{
    position: relative;
}
.sec5-scroll-wrap-11::before,
.sec5-scroll-wrap-11::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 16px;
    width: 60px;
    pointer-events: none;
    z-index: 2;
}
.sec5-scroll-wrap-11::before{
    left: 0;
    background: linear-gradient(to right, var(--bg-sec-grid), transparent);
}
.sec5-scroll-wrap-11::after{
    right: 0;
    background: linear-gradient(to left, var(--bg-sec-grid), transparent);
}
.sec5-scroll-strip-11{
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 4px 16px;
}
.sec5-scroll-item-11{
    flex: 0 0 260px;
    width: 260px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);
    padding: 28px 24px;
    transition: box-shadow 0.25s ease;
}
.sec5-scroll-item-11:hover{
    box-shadow: 0 8px 12px rgba(0,0,0,0.14), 0 12px 24px rgba(0,0,0,0.12);
}
.sec5-item-icon{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 16px;
}
.sec5-item-desc{
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 1024px){
    .sec5-scroll-item-11{
        flex: 0 0 230px;
        width: 230px;
    }
}
@media (max-width: 768px){
    .sec5-scroll-wrap-11::before,
    .sec5-scroll-wrap-11::after{
        width: 30px;
    }
    .sec5-scroll-item-11{
        flex: 0 0 210px;
        width: 210px;
        padding: 24px 20px;
    }
}


/* SEC8 - GALERIA | Wariant 2: Hero + 2x2 | Styl 3: Material Design */
.section8-color {
    background-color: var(--bg-sec-gallery);
    padding: 50px 0;
}

.sec8-header {
    text-align: center;
    margin-bottom: 30px;
}

.sec8-title {
    font-size: 30px;
    color: var(--bg-card);
}

.sec8-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: color-mix(in srgb, var(--bg-card) 85%, transparent);
}

.sec8-feature-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 430px;
}

/* min-height: 0 jest tu OBOWIĄZKOWE. Tory 1fr to w istocie minmax(auto, 1fr), a domyślne
   min-height: auto komórki nie pozwala jej zejść poniżej wysokości treści - wiersze rosły
   ponad zadeklarowaną wysokość siatki i galeria wylewała się pod sekcję. */
.sec8-feature-cell {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sec8-quad-cell {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sec8-feature-item,
.sec8-quad-item {
    flex: 1;
    /* to samo co wyżej: bez min-height: 0 kafelek rozpycha się do naturalnej wysokości zdjęcia */
    min-height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.16);
    transition: box-shadow 0.25s ease;
}

.sec8-feature-item:hover,
.sec8-quad-item:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.24), 0 12px 24px rgba(0,0,0,0.2);
}

.sec8-feature-img,
.sec8-quad-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec8-feature-caption,
.sec8-quad-caption {
    display: block;
    /* podpis ma stałą wysokość - kurczy się kafelek ze zdjęciem, nigdy tekst */
    flex: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-body);
    font-size: 18px;
    color: color-mix(in srgb, var(--bg-card) 80%, transparent);
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .sec8-feature-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
        gap: 20px;
    }
    .sec8-feature-cell {
        grid-row: auto;
    }
    .sec8-feature-item,
    .sec8-quad-item {
        flex: none;
        height: 220px;
    }
    .sec8-feature-caption, .sec8-quad-caption {
        font-size: 14px;
    }
    .sec8-subtitle {
        font-size: 15px;
    }
}


/* SEC2 - PASEK USP | Styl 3: Material Design */
.section2-color {
    background-color: var(--bg-sec-quote);
    padding: 30px 0;
}

.sec31-usp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sec31-usp-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    background: color-mix(in srgb, var(--text-main) 20%, var(--bg-sec-quote));
    border-radius: 4px;
    padding: 16px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease;
}

.sec31-usp-cell:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.sec31-usp-icon {
    font-size: 22px;
}

.sec31-usp-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bg-card);
}

@media (max-width: 1024px) {
    .sec31-usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* SEC9 - FAQ | Wariant 20: Mini pasek zaufania pod nagłówkiem | Styl 3: Material Design */
.section9-color {
    background-color: var(--bg-sec-grid);
    padding: 60px 0;
}

.sec9-header {
    text-align: center;
    margin-bottom: 24px;
}

.sec9-sub-title {
    font-family: var(--font-headings);
    font-size: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sec9-title {
    font-size: 32px;
    color: var(--primary-dark);
}

/* Mini pasek zaufania - chip w duchu Material, tło karty + elewacja */
.sec9-trust-20 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 0 auto 34px auto;
    padding: 9px 22px;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.sec9-trust-20-badge {
    font-family: var(--font-headings);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sec9-trust-20-badge::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    color: var(--bg-card);
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.sec9-trust-20-text {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-muted);
}

.sec9-list {
    max-width: 900px;
    margin: 0 auto;
}

.sec9-item {
    background: var(--bg-card);
    border-radius: 4px;
    margin-bottom: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
}

.sec9-item:hover {
    box-shadow: 0 6px 10px rgba(0,0,0,0.14), 0 10px 20px rgba(0,0,0,0.12);
}

.sec9-question {
    font-family: var(--font-headings);
    font-size: 16px;
    color: var(--primary-dark);
    font-weight: 700;
    padding: 20px 25px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 55px;
}

.sec9-question::-webkit-details-marker {
    display: none;
}

.sec9-question::after {
    content: '\25BE';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.sec9-item[open] .sec9-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.sec9-answer {
    padding: 0 25px 25px 25px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
}


/* SEC7 wariant 29 - Siatka 2x2 | Styl 3: Material Design */
.section7-color {
    background-color: var(--bg-sec-hero);
}

.sec7-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.sec7-title {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.sec7-lead {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
}

.sec7-grid2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.sec7-cell {
    position: relative;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 30px 26px 30px 60px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.1);
}

.sec7-cell:not(.sec7-cell-badge)::before {
    content: "✓";
    position: absolute;
    left: 22px;
    top: 30px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-card);
    font-size: 13px;
    line-height: 24px;
    text-align: center;
}

.sec7-cell-title {
    font-family: var(--font-headings);
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.sec7-cell-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
}

.sec7-cell-badge {
    padding-left: 26px;
}

@media (max-width: 1024px) {
    .sec7-grid2x2 {
        grid-template-columns: 1fr;
    }
}


.sec-dup-2 .section10-color { background: var(--primary-dark); padding: 70px 0; }
.sec-dup-2 .sec10-main-9 { display: flex; flex-direction: column; align-items: center; max-width: 620px; margin: 0 auto; text-align: center; }
.sec-dup-2 .sec10-title { font-size: 36px; color: var(--bg-card); margin-bottom: 15px; }
.sec-dup-2 .sec10-desc { font-family: var(--font-body); font-size: 16px; color: color-mix(in srgb, var(--bg-card) 85%, transparent); margin-bottom: 30px; }
.sec-dup-2 .sec10-btn-big-9 {
    display: block; width: 100%; box-sizing: border-box; font-family: var(--font-headings); font-weight: 700; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.6px; text-decoration: none; padding: 22px 34px; border-radius: 4px;
    background: var(--primary); color: var(--bg-card); box-shadow: 0 3px 6px rgba(0,0,0,0.3), 0 8px 20px rgba(0,0,0,0.25);
    margin-bottom: 20px; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sec-dup-2 .sec10-btn-big-9:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.32); }
.sec-dup-2 .sec10-link-tel-9 { display: inline-block; font-family: var(--font-body); font-size: 14px; letter-spacing: 0.3px; color: var(--bg-card); text-decoration: none; }
@media (max-width: 768px) {.sec-dup-2 .sec10-main-9 { max-width: 100%; }
}


/* FOOTER | Styl 3: Material Design */
footer {
    background: var(--primary-dark);
    color: var(--bg-card);
    font-family: var(--font-body);
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1), 0 -4px 10px rgba(0,0,0,0.08);
}

.footer-main {
    display: flex;
    max-width: 1560px;
    padding: 60px 30px;
    margin: 0 auto;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer1 {
    flex: 0 0 40%;
    padding-right: 20px;
}

.footer1-logo-title {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin-bottom: 20px;
}

.footer1-logo-title-img {
    max-height: 50px;
}

.footer1-logo-title-text {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-card);
    letter-spacing: 0.5px;
}

.footer2, .footer3, .footer4 {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
}

footer h2 {
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 700;
    color: var(--bg-card);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

footer h3 {
    font-family: var(--font-headings);
    font-size: 16px;
    font-weight: 700;
    color: var(--bg-muted);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

footer p {
    font-size: 15px;
    color: var(--border-color);
    line-height: 1.6;
}

footer a {
    color: var(--border-color);
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;
    width: fit-content;
    transition: color 0.2s ease;
}

/* Patrz 1_1.css: --primary na tle --primary-dark bywa praktycznie nieczytelny. */
footer a:hover {
    color: var(--bg-card);
    text-decoration: underline;
}

.footer-contact-link {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Telefon/e-mail to jasny "kafelek" - musi zachować ciemny tekst, bo reguła footer a:hover
   ma wyższą specyficzność niż sama klasa i rozjaśniłaby tekst do koloru tła kafelka. */
.footer-contact-link:hover {
    color: var(--primary-dark);
    background: var(--bg-card);
}

.footer-bottom {
    display: flex;
    width: 100%;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid color-mix(in srgb, var(--bg-card) 15%, transparent);
}

.footer-bottom-left {
    width: 50%;
    display: flex;
}

.footer-bottom-right {
    width: 50%;
    gap: 20px;
    display: flex;
    justify-content: end;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-main {
        flex-wrap: wrap;
    }
    .footer1, .footer2, .footer3, .footer4 {
        flex: 0 0 40%;
    }
    .footer3, .footer4 {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-wrap: wrap;
    }
    .footer1-logo-title {
        align-items: center;
        gap: 10px;
    }
    .footer1-logo-title-text {
        font-size: 16px;
    }
    .footer1, .footer2, .footer3, .footer4 {
        flex: 0 0 100%;
    }
    .footer2, .footer3, .footer4 {
        margin-top: 20px;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .footer-bottom-left {
        width: 100%;
    }
    .footer-bottom-right {
        margin-top: 20px;
        gap: 0px;
        flex-direction: column;
        justify-content: start;
    }
}


/* PASEK COOKIES | Styl 3: Material Design */
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1), 0 -8px 20px rgba(0, 0, 0, 0.12);
    font-family: var(--font-body);
}

.cookie-bar[hidden] {
    display: none;
}

.cookie-inner {
    max-width: 1560px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-muted);
}

.cookie-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}

.cookie-text a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.cookie-accept {
    flex: none;
    padding: 12px 26px;
    border: none;
    border-radius: 4px;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16), 0 3px 8px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-accept:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.16);
}

@media (max-width: 700px) {
    .cookie-inner {
        padding: 16px 18px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .cookie-accept {
        width: 100%;
    }
}


