:root{
  --bg-page: #fafafa;
  --bg-card: #ffffff;
  --primary: #e5b90b;
  --primary-dark: #5e5102;
  --text-main: #302e27;
  --text-muted: #7f7b6c;
  --bg-muted: #edece8;
  --border-color: #e1e0db;
  --font-headings: 'IBM Plex Sans', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --bg-sec-hero: #ffffff;
  --bg-sec-quote: #5e5102;
  --bg-sec-carousel: #ffffff;
  --bg-sec-grid: #edece8;
  --bg-sec-steps: #edece8;
  --bg-sec-gallery: #e5b90b;
}


/* --- CZCIONKI WG STYLU (css/fonts.html) --- */
:root {
  --font-headings: 'Chivo', 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-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-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: 42px;
    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-bottom: 30px;
    max-width: 520px;
}

.sec1-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.sec1-stat-item {
    background: var(--bg-card);
    color: var(--primary);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.sec1-cta-group {
    display: flex;
    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);
}

.sec1-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    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);
}

@media (max-width: 768px) {
    .sec1-flex {
        flex-direction: column;
    }
    .sec1-text-col, .sec1-img-col {
        width: 100%;
    }
    .sec1-title {
        font-size: 30px;
    }
    .sec1-stats-row {
        gap: 10px;
    }
}


/* SEC7 - DLACZEGO MY | Wariant 20: Certyfikat okrągły | Styl 3: Material Design */
.section7-color {
    background-color: var(--bg-sec-hero);
}

.sec7-main {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.sec7-col-text {
    width: 64%;
}

.sec7-col-cert {
    width: 34%;
    display: flex;
    justify-content: center;
}

.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: 34px;
    margin-bottom: 18px;
}

.sec7-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-card);
    font-size: 13px;
    line-height: 22px;
    text-align: center;
}

.sec7-cert-stamp {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 3px 6px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.1);
    
}

.sec7-cert-icon {
    font-size: 20px;
    margin-bottom: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec7-cert-title {
    font-family: var(--font-headings);
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.sec7-cert-text {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-main);
}

@media (max-width: 1024px) {
    .sec7-main {
        flex-wrap: wrap;
    }
    .sec7-col-text, .sec7-col-cert {
        width: 100%;
    }
    .sec7-col-cert {
        margin-top: 30px;
    }
}


/* SEC3 - SNAP SCROLL CAROUSEL | 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-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sec3-track::-webkit-scrollbar {
    display: none;
}

.sec3-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 220px;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
    background: var(--bg-card);
    border-radius: 4px;
    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;
    overflow: hidden;
}

.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: 100%;
    height: 160px;
    overflow: hidden;
}

.sec3-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec3-card-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
    padding: 14px 12px 0 12px;
    margin-bottom: 14px;
}

.sec3-card-btn {
    display: block;
    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: 12px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .sec3-track {
        gap: 14px;
    }
    .sec3-card {
        flex: 0 0 200px;
    }
}


/* SEC5 - GRID 3 KAFELKÓW Z WATERMARKIEM IKONY W TLE | 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: 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: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);
  padding: 30px 26px;
  transition: box-shadow 0.25s ease;
}
.sec5-card-16:hover{
  box-shadow: 0 8px 12px rgba(0,0,0,0.14), 0 12px 24px rgba(0,0,0,0.12);
}
.sec5-watermark-icon-16{
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 150px;
  line-height: 1;
  opacity: 0.12;
  color: var(--primary);
  z-index: 0;
  pointer-events: none;
}
.sec5-content-16{
  position: relative;
  z-index: 1;
}
.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;
  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; }
}


/* SEC6 - PROCES ZAKUPOWY WARIANT 30 | 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-zebra-30 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sec6-zebra-30-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.sec6-zebra-30-row:last-child {
    border-bottom: none;
}

.sec6-zebra-30-row:nth-child(even) {
    background: var(--bg-muted);
}

.sec6-step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-card);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 17px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.sec6-step-title {
    font-family: var(--font-headings);
    font-size: 19px;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.sec6-step-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .sec6-zebra-30-row {
        padding: 16px 18px;
        gap: 14px;
    }
}


/* SEC8 - GALERIA | 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-row {
    display: flex;
    gap: 20px;
}

.sec8-cell {
    width: 100%;
}

.sec8-item {
    width: 100%;
    height: 170px;
    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-item:hover {
    box-shadow: 0 8px 12px rgba(0,0,0,0.24), 0 12px 24px rgba(0,0,0,0.2);
}

.sec8-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec8-item-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-row {
        flex-wrap: wrap;
    }
    .sec8-cell {
        width: calc(50% - 10px);
    }
    .sec8-item-caption {
        font-size: 14px;
    }
    .sec8-subtitle {
        font-size: 15px;
    }
}


/* SEC_AREA - ETYKIETA Z KRÓTKIM PODKREŚLENIEM AKCENTOWYM (wariant 40) | Styl 3: Material Design */
.sectionarea-color {
    background-color: var(--bg-sec-grid);
    padding: 28px 0;
}

.secarea-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border-radius: 4px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.secarea-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    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: 8px;
}

.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-label-40 {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.secarea-label-40::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    background: 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: 500;
    text-decoration: none;
}

.secarea-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .secarea-row {
        gap: 14px;
        padding: 16px 18px;
    }
    .secarea-icon {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }
    .secarea-text {
        font-size: 14px;
    }
}


/* SEC4 wariant 34 - odwrócona kolejność, odznaka nad zdaniem | 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-buttons {
    display: flex;
    gap: 14px;
}

.sec4-text-34 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 5px;
}

.sec4-badge {
    display: inline-block;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bg-card);
    background: color-mix(in srgb, var(--bg-card) 22%, transparent);
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sec4-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 18px;
    color: var(--bg-card);
}

.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);
}

@media (max-width: 768px) {
    .sec4-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .sec4-text-34 {
        align-items: center;
        text-align: center;
    }
}


/* SEC9 - FAQ | Styl 3: Material Design | 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: 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sec9-sidebar-title-3 {
    font-family: var(--font-headings);
    font-size: 19px;
    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;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    text-decoration: none;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.sec9-sidebar-btn-3:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.16), 0 10px 20px 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: 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: '▾';
    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);
}

@media (max-width: 900px) {
    .sec9-layout-3 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sec9-header {
        text-align: center;
    }
}


/* SEC2 - PASEK USP | Styl 3: Material Design */
.section2-color {
    background-color: var(--bg-sec-quote);
    padding: 30px 0;
}

.sec40-usp-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.sec40-usp-item {
    display: flex;
    flex: 1;
    justify-content: center;
    border-right: 1px solid color-mix(in srgb, var(--bg-card) 20%, transparent);
    padding: 0px 20px;
}

.sec40-usp-item:last-child {
    border-right: none;
}

.sec40-usp-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: color-mix(in srgb, var(--text-main) 20%, var(--bg-sec-quote));
    border-radius: 4px;
    padding: 10px 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s ease;
}

.sec40-usp-inner:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.sec40-usp-badge {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 9px;
    background: color-mix(in srgb, var(--bg-card) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sec40-usp-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--bg-card);
}

@media (max-width: 1024px) {
    .sec40-usp-row {
        flex-wrap: wrap;
    }
    .sec40-usp-item {
        flex: 0 0 45%;
        border-right: none;
    }
}


/* SEC10 - CTA GRID DWUKOLUMNOWY (wariant 27) | Styl 3: Material Design */
.section10-color { background: var(--primary-dark); padding: 70px 0; }
.sec10-main-27 { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.sec10-text-27 { text-align: left; }
.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); }
.sec10-btn-row { display: flex; flex-direction: column; gap: 16px; }
.sec10-btn-primary, .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; text-align: center; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sec10-btn-primary { background: var(--primary); color: var(--bg-card); box-shadow: 0 3px 6px rgba(0,0,0,0.3), 0 6px 16px rgba(0,0,0,0.25); }
.sec10-btn-secondary { background: var(--bg-card); color: var(--primary-dark); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.sec10-btn-primary:hover, .sec10-btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.3); }
@media (max-width: 768px) { .sec10-main-27 { grid-template-columns: 1fr; text-align: center; } .sec10-text-27 { text-align: center; } }


/* 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%;
    }
}


