:root{
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --primary: #3d475c;
  --primary-dark: #1d2434;
  --text-main: #272a30;
  --text-muted: #6c727f;
  --bg-muted: #ebecef;
  --border-color: #dbdde1;
  --font-headings: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --bg-sec-hero: #ffffff;
  --bg-sec-quote: #1d2434;
  --bg-sec-carousel: #ffffff;
  --bg-sec-grid: #ebecef;
  --bg-sec-steps: #ebecef;
  --bg-sec-gallery: #3d475c;
}


/* --- CZCIONKI WG STYLU (css/fonts.html) --- */
:root {
  --font-headings: 'Inter', sans-serif;
  --font-body: 'Inter', 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 2: Flat Design 2.0
   Zaokrąglone krawędzie, brak cieni, akcent na kolorze obramowania. */

/* --- BREADCRUMBS --- */
.breadcrumbs {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    margin-bottom: 30px;
}

.breadcrumbs-content {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    background: var(--bg-muted);
    border-radius: 6px;
    padding: 4px 10px;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
    background: color-mix(in srgb, var(--primary) 18%, var(--bg-muted));
}

.breadcrumbs-sep {
    color: var(--text-muted);
}

.breadcrumbs-current {
    color: var(--text-main);
    font-weight: 600;
    padding: 4px 0;
}

/* --- 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: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    text-align: center;
}

.grid-item:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 12px 0;
        margin-bottom: 20px;
    }
    .breadcrumbs-content {
        padding: 0 18px;
        font-size: 13px;
        gap: 8px;
    }
    .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 2: Flat Design 2.0 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: var(--bg-card);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.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: 1px;
}

.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: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 28px;
    transition: color 0.2s ease-in-out;
}

.header-nav-btn:hover {
    color: var(--primary);
}

.header-phone-num {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--bg-card);
    font-size: 15px;
    background: var(--primary-dark);
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-phone-num:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@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 6px rgba(0,0,0,0.1);
        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 2: Flat Design 2.0 */
.section1-color {
    background-color: var(--bg-sec-hero);
    padding-top: 20px;
}

.sec1-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sec1-text-col {
    width: 58%;
}

.sec1-img-col {
    width: 42%;
}

.sec1-badge {
    display: inline-block;
    background: var(--bg-muted);
    color: var(--primary-dark);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.sec1-title {
    font-size: 42px;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.sec1-subtitle {
    position: relative;
    padding-left: 38px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: 20px;
}

.sec1-subtitle::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -14px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--primary-dark);
    opacity: 0.35;
}

.sec1-desc {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 520px;
}

.sec1-cta-group {
    display: flex;
    gap: 15px;
}

.sec1-btn-primary,
.sec1-btn-secondary {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sec1-btn-primary {
    background: var(--primary);
    color: var(--bg-card);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.sec1-btn-secondary {
    background: var(--bg-card);
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
}

.sec1-btn-primary:hover,
.sec1-btn-secondary:hover {
    transform: translateY(-3px);
}

.sec1-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 560px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .sec1-flex {
        flex-direction: column;
    }
    .sec1-text-col, .sec1-img-col {
        width: 100%;
    }
    .sec1-title {
        font-size: 30px;
    }
    .sec1-img {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}


/* SEC6 - PROCES ZAKUPOWY WARIANT 13 | Styl 2: Flat Design 2.0 */
.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-rail-13-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.sec6-rail-13-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: var(--bg-muted);
    z-index: 0;
}

.sec6-rail-13-dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
}

.sec6-rail-13-cards {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.sec6-step {
    width: 100%;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sec6-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.sec6-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    color: var(--primary-dark);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.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-rail-13-track {
        display: none;
    }
    .sec6-rail-13-cards {
        flex-direction: column;
    }
}


/* SEC3 - DENSE CAROUSEL | Styl 2: Flat Design 2.0 */
.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-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.sec3-card {
    display: flex;
    flex-direction: column;
    width: 128px;
    text-align: center;
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.sec3-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.sec3-card-img {
    width: 100%;
    height: 90px;
    padding: 6px;
    overflow: hidden;
}

.sec3-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.sec3-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-main);
    padding: 0 8px;
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sec3-card-btn {
    display: block;
    background: var(--bg-muted);
    color: var(--primary-dark);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 11px;
    padding: 7px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .sec3-row {
        gap: 8px;
    }
    .sec3-card {
        width: 103px;
    }
}


/* SEC2 - PASEK USP | Styl 2: Flat Design 2.0 */
.section2-color {
    background-color: var(--bg-sec-quote);
    padding: 30px 0;
}

.sec28-usp-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.sec28-usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    background: color-mix(in srgb, var(--bg-card) 8%, transparent);
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sec28-usp-item:hover {
    transform: translateY(-3px);
    background: color-mix(in srgb, var(--bg-card) 14%, transparent);
}

.sec28-usp-icon {
    font-size: 26px;
}

.sec28-usp-underline {
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--bg-card) 60%, transparent);
}

.sec28-usp-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    color: var(--bg-card);
    text-align: center;
}

@media (max-width: 1024px) {
    .sec28-usp-row {
        flex-wrap: wrap;
    }
    .sec28-usp-item {
        flex: 0 0 45%;
    }
}


/* SEC7 - DLACZEGO MY | Wariant 37: dwukolumnowy tekst | Styl 2: Flat Design 2.0 */
.section-wrapper.section7-color {
    position: relative;
    background-color: var(--bg-sec-hero);
}

.sec7-header {
    max-width: 760px;
    margin: 0 0 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-list-columns {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 50px;
}

.sec7-list-columns li {
    break-inside: avoid;
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-main);
    padding: 0 0 16px 30px;
    margin-bottom: 6px;
}

.sec7-list-columns li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
}

.sec7-stamp {
    width: 100%;
    margin-top: 20px;
    width: 190px;
    background: var(--bg-muted);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    
}

.sec7-stamp-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.sec7-stamp-title {
    font-family: var(--font-headings);
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.sec7-stamp-text {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .sec7-stamp {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .sec7-list-columns {
        column-count: 1;
    }
    .sec7-stamp {
        position: static;
        width: 100%;
        max-width: 260px;
        margin: 30px auto 0;
    }
}


/* SEC_AREA - DWA CZIPY NAD ZDANIEM (wariant 18) | Styl 2: Flat Design 2.0 */
.sectionarea-color {
    background-color: var(--bg-sec-grid);
    padding: 28px 0;
}

.secarea-block-18 {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
}

.secarea-chips-18 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.secarea-chip-18 {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-muted);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
}

.secarea-chip-18 .secarea-icon {
    font-size: 16px;
    line-height: 1;
}

.secarea-chip-18 .secarea-label {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
}

.secarea-chip-deco-18 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--bg-muted);
    border: 2px solid var(--border-color);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.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: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.secarea-text a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
    .secarea-block-18 {
        padding: 16px 18px;
    }
    .secarea-chips-18 {
        flex-wrap: wrap;
        gap: 8px;
    }
    .secarea-text {
        font-size: 14px;
    }
}


/* SEC5 - GRID 3 KAFELKÓW Z WATERMARKIEM IKONY W TLE | Styl 2: Flat Design 2.0 */
.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: 0 0 12px;
}
.sec5-subtitle{
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  margin: 0;
}
.sec5-grid-16{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sec5-card-16{
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sec5-card-16:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}
.sec5-watermark-icon-16{
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 150px;
  line-height: 1;
  opacity: 0.1;
  color: var(--primary);
  z-index: 0;
  pointer-events: none;
}
.sec5-content-16{
  position: relative;
  z-index: 1;
}
.sec5-item-icon{
  font-size: 34px;
  line-height: 1;
  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-grid-16{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
  .sec5-grid-16{ grid-template-columns: 1fr; }
  .sec5-title{ font-size: 26px; }
  .sec5-watermark-icon-16{ font-size: 110px; }
}


/* SEC10 - CTA WSTĄŻKA NAROŻNA (wariant 14) | Styl 2: Flat Design 2.0 */
.section10-color { position: relative; background: var(--primary-dark); padding: 70px 0; }
.sec10-main-14 { display: flex; flex-direction: column; max-width: 900px; margin: 0 auto; text-align: center; }
.sec10-ribbon-14 { position: absolute; top: 0; right: 32px; background: var(--primary); color: var(--bg-card); font-family: var(--font-headings); font-weight: 700; font-size: 13px; padding: 10px 24px; border-radius: 0 0 12px 12px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.sec10-title { font-size: 36px; color: var(--bg-card); margin-bottom: 15px; }
.sec10-desc { font-family: var(--font-body); font-size: 16px; color: color-mix(in srgb, var(--bg-card) 85%, transparent); margin-bottom: 30px; }
.sec10-btn-row { display: flex; justify-content: center; gap: 20px; }
.sec10-btn-primary, .sec10-btn-secondary {
    display: inline-block; font-family: var(--font-headings); font-weight: 700; font-size: 15px;
    text-decoration: none; padding: 17px 34px; border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sec10-btn-primary { background: var(--primary); color: var(--bg-card); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.sec10-btn-secondary { background: color-mix(in srgb, var(--bg-card) 12%, transparent); color: var(--bg-card); }
.sec10-btn-primary:hover, .sec10-btn-secondary:hover { transform: translateY(-4px); }
@media (max-width: 768px) { .sec10-ribbon-14 { right: 16px; font-size: 11px; padding: 8px 18px; } .sec10-btn-row { flex-wrap: wrap; } .sec10-btn-primary, .sec10-btn-secondary { width: 100%; text-align: center; } }


/* SEC8 - GALERIA | Wariant 3: Murek ceglany (masonry) | Styl 2: Flat Design 2.0 */
.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-masonry-row {
    display: flex;
    gap: 18px;
}

.sec8-masonry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sec8-masonry-col:nth-child(even) {
    margin-top: 36px;
}

.sec8-masonry-item {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.sec8-masonry-item:hover {
    transform: translateY(-5px);
}

.sec8-masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec8-masonry-caption {
    display: block;
    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-masonry-row {
        flex-wrap: wrap;
    }
    .sec8-masonry-col {
        flex: 1 1 calc(50% - 9px);
        margin-top: 0 !important;
    }
    .sec8-masonry-caption {
        font-size: 14px;
    }
    .sec8-subtitle {
        font-size: 15px;
    }
}


/* SEC9 - FAQ | Styl 2: Flat Design 2.0 | Wariant 11: Pierwsze pytanie wyróżnione */
.section9-color {
    background-color: var(--bg-sec-grid);
    padding: 60px 0;
}

.sec9-header {
    text-align: center;
    margin-bottom: 40px;
}

.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);
}

.sec9-list {
    max-width: 900px;
    margin: 0 auto;
}

.sec9-item {
    background: var(--bg-card);
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.sec9-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.sec9-question {
    font-family: var(--font-headings);
    font-size: 17px;
    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: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
}

.sec9-item[open] .sec9-question::after {
    content: '−';
    color: var(--text-muted);
}

.sec9-answer {
    padding: 0 25px 25px 25px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
}

/* Wyróżnienie pierwszego pytania - podwójny obrys primary + wyraźnie mocniejszy cień */
.sec9-item-featured-11 {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 35%, transparent);
}

.sec9-item-featured-11:hover {
    box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 40%, transparent);
}

.sec9-item-featured-11 .sec9-question::after {
    color: var(--primary-dark);
}

.sec9-item-featured-11[open] .sec9-question::after {
    color: var(--primary);
}


/* SEC4 WARIANT 23 - CTA - uniesiona karta | Styl 2: Flat Design 2.0 */
.section4-color {
    background: var(--primary-dark);
    padding: 44px 0;
}

.sec4-inner {
    display: flex;
    justify-content: center;
}

.sec4-card-23 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 560px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    padding: 32px 38px;
    text-align: center;
}

.sec4-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.sec4-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.sec4-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.sec4-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .sec4-card-23 {
        padding: 26px 22px;
    }
    .sec4-buttons {
        flex-direction: column;
        width: 100%;
    }
}


/* FOOTER | Styl 2: Flat Design 2.0 */
footer {
    background: var(--primary-dark);
    color: var(--bg-card);
    font-family: var(--font-body);
}

.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: 1px;
}

.footer2, .footer3, .footer4 {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
}

footer h2 {
    font-family: var(--font-headings);
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-card);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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 {
    font-weight: 600;
    color: 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 2: Flat Design 2.0 */
.cookie-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: var(--primary-dark);
    color: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    font-family: var(--font-body);
}

.cookie-bar[hidden] {
    display: none;
}

.cookie-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.cookie-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.cookie-text a {
    color: var(--bg-card);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-text a:hover {
    color: var(--bg-muted);
}

.cookie-accept {
    flex: none;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.cookie-accept:hover {
    background: var(--bg-card);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .cookie-bar {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-inner {
        padding: 16px 18px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .cookie-accept {
        width: 100%;
    }
}


