:root{
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --primary: #d6431f;
  --primary-dark: #67210a;
  --text-main: #302927;
  --text-muted: #7f706c;
  --bg-muted: #f2efee;
  --border-color: #e1dcdb;
  --font-headings: 'Mukta', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --bg-sec-hero: #ffffff;
  --bg-sec-quote: #67210a;
  --bg-sec-carousel: #ffffff;
  --bg-sec-grid: #f2efee;
  --bg-sec-steps: #f2efee;
  --bg-sec-gallery: #d6431f;
}


/* --- 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;
}

.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: 55%;
}

.sec1-img-col {
    width: 45%;
}

.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 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary);
    margin-bottom: 20px;
}

.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%;
    height: auto;
    max-height: 450px;
    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;
    }
}


/* SEC6 - PROCES ZAKUPOWY WARIANT 6 | Styl 2: Flat Design 2.0 */
.section6-color {
    background-color: var(--bg-sec-steps);
    padding: 60px 0;
}

.sec6-split-6 {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.sec6-split-6-intro {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: left;
}

.sec6-title {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.sec6-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
}

.sec6-split-6-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: var(--primary-dark);
    color: var(--bg-card);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sec6-split-6-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.sec6-split-6-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.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-split-6 {
        flex-direction: column;
    }

    .sec6-split-6-intro {
        flex: 1 1 auto;
        max-width: 100%;
        text-align: center;
    }
}


/* SEC3 - COMPACT GRID 8 | 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-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sec3-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 12px;
    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: 110px;
    padding: 8px;
    overflow: hidden;
}

.sec3-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sec3-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
    padding: 0 8px;
    margin-bottom: 10px;
}

.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: 9px;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .sec3-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sec3-grid {
        grid-template-columns: 1fr;
    }
}


/* SEC_AREA - PASEK ZASIĘGU WYŚRODKOWANY BLOK (wariant 3) | Styl 2: Flat Design 2.0 */
.sectionarea-color {
    background-color: var(--bg-sec-grid);
    padding: 32px 0;
}

.secarea-stack-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    gap: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 30px;
}

.secarea-icon-3 {
    font-size: 34px;
    line-height: 1;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border-radius: 14px;
    color: var(--primary);
}

.secarea-label-3 {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.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-stack-3 {
        padding: 22px 20px;
        gap: 10px;
    }
    .secarea-icon-3 {
        font-size: 28px;
        width: 54px;
        height: 54px;
    }
    .secarea-text {
        font-size: 14px;
    }
}


/* SEC7 v22 - Zdjęcie z podpisem na krawędzi | Styl 2: Flat Design 2.0 */
.section7-color {
    background-color: var(--bg-sec-hero);
}

.sec7-main {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.sec7-col-text {
    width: 58%;
}

.sec7-col-photo {
    width: 38%;
}

.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);
    margin-bottom: 25px;
}

.sec7-list {
    list-style: none;
}

.sec7-list li {
    position: relative;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-main);
    padding-left: 30px;
    margin-bottom: 16px;
}

.sec7-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 900;
}

.sec7-photo-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.sec7-photo-img {
    width: 100%;
    display: block;
}

.sec7-photo-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -18px;
    background: var(--bg-card);
    border-radius: 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    text-align: center;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .sec7-main {
        flex-wrap: wrap;
    }
    .sec7-col-text, .sec7-col-photo {
        width: 100%;
    }
    .sec7-col-photo {
        margin-top: 40px;
    }
}


/* SEC4 - CTA MINI | Wariant 13: Dwuwierszowy z eyebrow | Styl 2: Flat Design 2.0 */
.section4-color {
    background: var(--primary-dark);
    padding: 32px 0;
}

.sec4-stack-13 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.sec4-eyebrow-13 {
    display: block;
    width: 46px;
    height: 5px;
    background: var(--bg-card);
    border-radius: 4px;
}

.sec4-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 19px;
    color: var(--bg-card);
}

.sec4-buttons {
    margin-top: 8px;
}

.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 28px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.sec4-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .sec4-stack-13 {
        gap: 10px;
    }
}


/* SEC2 - PASEK USP | Styl 2: Flat Design 2.0 */
.section2-color {
    background-color: var(--bg-sec-quote);
    padding: 30px 0;
}

.sec34-usp-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.sec34-usp-chip {
    display: inline-flex;
    align-items: center;
    width: auto;
    gap: 10px;
    padding: 12px 20px;
    background: color-mix(in srgb, var(--bg-card) 8%, transparent);
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.sec34-usp-chip:hover {
    transform: translateY(-3px);
    background: color-mix(in srgb, var(--bg-card) 14%, transparent);
}

.sec34-usp-icon {
    font-size: 18px;
}

.sec34-usp-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    color: var(--bg-card);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .sec34-usp-cloud {
        gap: 10px;
    }
    .sec34-usp-text {
        white-space: normal;
    }
}


/* SEC8 wariant 15 - NAROŻNA METKA | 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-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.sec8-tag-cell {
    width: calc(25% - 13.5px);
}

.sec8-tag-frame {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.sec8-tag-frame:hover {
    transform: translateY(-5px);
}

.sec8-tag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec8-tag-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: var(--bg-card);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 0 0 8px 0;
}

.sec8-tag-caption {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 18px;
    color: color-mix(in srgb, var(--bg-card) 80%, transparent);
}

@media (max-width: 768px) {
    .sec8-tag-cell {
        width: calc(50% - 9px);
    }
    .sec8-tag-badge {
        font-size: 11px;
    }
    .sec8-tag-caption {
        font-size: 14px;
    }
    .sec8-subtitle {
        font-size: 15px;
    }
}


/* SEC10 - CTA CHECKLIST TRZECH PUNKTÓW (wariant 12) | Styl 2: Flat Design 2.0 */
.section10-color { background: var(--primary-dark); padding: 70px 0; }
.sec10-main-12 { display: flex; align-items: center; gap: 60px; max-width: 1000px; margin: 0 auto; }
.sec10-checklist-12 { flex: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.sec10-check-item-12 { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 16px; color: var(--bg-card); }
.sec10-check-icon-12 { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 10px; background: color-mix(in srgb, var(--bg-card) 18%, transparent); color: var(--bg-card); font-size: 14px; font-weight: 700; }
.sec10-text-col-12 { flex: 1; text-align: left; }
.sec10-title { font-size: 34px; 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; 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-main-12 { flex-direction: column; gap: 32px; } .sec10-text-col-12 { text-align: center; } .sec10-btn-row { justify-content: center; flex-wrap: wrap; } .sec10-btn-primary, .sec10-btn-secondary { width: 100%; text-align: center; } }


/* SEC9 - FAQ | Styl 2: Flat Design 2.0 | Wariant 3: Boczna kolumna kontaktowa */
.section9-color {
    background-color: var(--bg-sec-grid);
    padding: 60px 0;
}

.sec9-layout-3 {
    display: grid;
    grid-template-columns: minmax(240px, 32%) 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.sec9-sidebar-3 {
    background: var(--bg-card);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
    padding: 32px;
}

.sec9-sidebar-title-3 {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.sec9-sidebar-text-3 {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 22px;
}

.sec9-sidebar-btn-3 {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    text-decoration: none;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sec9-sidebar-btn-3:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.sec9-header {
    text-align: left;
    margin-bottom: 30px;
}

.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 {
    width: 100%;
}

.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);
}

@media (max-width: 900px) {
    .sec9-layout-3 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sec9-header {
        text-align: center;
    }
}


/* SEC5 - NAPRZEMIENNE TŁO KART SZACHOWNICA (GRID 2x2) | Styl 2: Flat Design 2.0 */
.section5-color{
  background: var(--bg-sec-grid);
  padding: 60px 0;
}
.sec5-header{
  text-align: center;
  max-width: 700px;
  margin: 0 auto 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-checker-grid-26{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.sec5-checker-item-26{
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sec5-checker-item-26:nth-child(even){
  background: var(--bg-muted);
}
.sec5-checker-item-26:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.1);
}
.sec5-item-icon{
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 18px;
}
.sec5-item-desc{
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px){
  .sec5-checker-grid-26{ grid-template-columns: 1fr; }
}


/* 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%;
    }
}


