/**
 * Projekt: D.O.K. System - Dachy, Hale, Konstrukcje
 * Autor:   RachubaIT Bartosz Rachuba
 * Web:     https://rachubait.pl
 * Email:   biuro@rachubait.pl
 * Data:    2026-05-04
 * Wersja:  2.0
 * Opis:    Niestandardowe style motywu — uzupełnienie Tailwind CSS
 *          Layout, spacing i kolory obsługuje Tailwind; tutaj: animacje, hero,
 *          karuzela, komponenty BEM, formularz, karty.
 */

/* =========================================
   ZMIENNE CSS
   ========================================= */
:root {
    --kolor-dok:         #1EA081;
    --kolor-dok-ciemny:  #288972;
    --kolor-dok-tekst:   #549888;
    --czas-przejscia:    0.4s;
    --cien-menu:         0 4px 20px rgba(0, 0, 0, 0.25);
    --cien-karta:        0 2px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   GLOBALNE
   ========================================= */
* { scroll-behavior: smooth; }

::selection        { background: var(--kolor-dok); color: #fff; }
::-webkit-scrollbar           { width: 8px; }
::-webkit-scrollbar-track     { background: #f1f1f1; }
::-webkit-scrollbar-thumb     { background: var(--kolor-dok-ciemny); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--kolor-dok); }

/* =========================================
   NAWIGACJA
   ========================================= */
#menu-glowne { box-shadow: var(--cien-menu); }

.menu-link:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 2px;
    border-radius: 4px;
}

.pasek-postepu {
    --postep: 0%;
    width: var(--postep);
    transition: width 0.1s linear;
}

/* =========================================
   HERO
   ========================================= */
.naglowek-hero {
    min-height: 92vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.75)),
        url('../obrazy/dok-system-tlo-konstrukcja-stalowa.webp') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .naglowek-hero { min-height: 75vh; }
}

/* Strona tymczasowa „w budowie” (szablony/w-budowie.php) — mocniejsze przyciemnienie, bo cały tekst leży na zdjęciu */
.w-budowie {
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.82)),
        url('../obrazy/dok-system-tlo-konstrukcja-stalowa.webp') no-repeat center center / cover;
}
body.strona-w-budowie { padding-bottom: 0; } /* brak pływającego paska CTA na tej stronie */

.w-budowie__karta {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}

/* =========================================
   PRZYCISKI CTA — warianty BEM
   ========================================= */
.przycisk-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;    /* touch-friendly */
    min-width: 160px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--czas-przejscia), color var(--czas-przejscia), border-color var(--czas-przejscia), transform 0.15s;
    cursor: pointer;
}
.przycisk-cta:active { transform: scale(0.98); }

.przycisk-cta--glowny {
    background: var(--kolor-dok);
    color: #fff;
    border: 2px solid var(--kolor-dok);
}
.przycisk-cta--glowny:hover { background: var(--kolor-dok-ciemny); border-color: var(--kolor-dok-ciemny); }

.przycisk-cta--drugorzedny {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.przycisk-cta--drugorzedny:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.przycisk-cta--bialy {
    background: #fff;
    color: var(--kolor-dok-ciemny);
    border: 2px solid #fff;
}
.przycisk-cta--bialy:hover { background: #f0fdfb; }

.przycisk-cta--obwodka-bialy {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.przycisk-cta--obwodka-bialy:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Obwódka na jasnym tle (404, /dziekujemy/) */
.przycisk-cta--obwodka {
    background: transparent;
    color: var(--kolor-dok-ciemny);
    border: 2px solid var(--kolor-dok);
}
.przycisk-cta--obwodka:hover { background: #f0fdfb; }

/* =========================================
   SEKCJA — nagłówek (DRY)
   ========================================= */
.sekcja__naglowek { text-align: center; margin-bottom: 3rem; }
.sekcja__naglowek h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--kolor-dok-tekst);
    margin-bottom: 0.75rem;
}
.sekcja__opis { color: #6b7280; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.sekcja__naglowek--ciemny h2 { color: #fff; }
.sekcja__naglowek--ciemny .sekcja__opis { color: #9ca3af; }

/* =========================================
   PODMENU NAWIGACJI — dropdown Alpine.js
   ========================================= */
.podmenu-link { transition: background var(--czas-przejscia), color var(--czas-przejscia); }

/* Mobile: podmenu zawsze widoczne inline (nadpisuje Alpine x-show:none) */
@media (max-width: 767px) {
    .podmenu {
        position: static !important;
        display: block !important;
        min-width: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid rgba(255,255,255,0.25) !important;
        border-radius: 0 !important;
        padding: 0 0 0 0.25rem !important;
        margin: 0 0 0.25rem 1.5rem !important;
    }
    .podmenu li a {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
        background: transparent !important;
    }
    .podmenu li a:hover { color: #fff !important; }
    /* Ukryj strzałkę rozwijania na mobile — podmenu zawsze widoczne */
    .menu-element svg { display: none; }
}

/* =========================================
   KARTY OFERTY — BEM
   ========================================= */
.karta-oferty { display: block; text-decoration: none; color: #fff; }

.karta-oferty__opakowanie {
    position: relative;
    overflow: hidden;
    background: #111;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: var(--cien-karta);
}

.karta-oferty__zdjecie {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.65);
    transition: filter var(--czas-przejscia), transform var(--czas-przejscia);
}

.karta-oferty:hover .karta-oferty__zdjecie {
    filter: brightness(0.85);
    transform: scale(1.04);
}

.karta-oferty__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.karta-oferty__nazwa {
    font-size: 1.35rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    margin: 0 0 0.2rem;
}

.karta-oferty__opis {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

/* Lista cech pod opisem karty */
.karta-oferty__cechy {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 0.5rem;
}
.karta-oferty__cechy li {
    font-size: 0.72rem;
    opacity: 0.85;
    padding: 0.15rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.3;
}
.karta-oferty__cechy li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--kolor-dok);
    font-weight: 700;
}

.karta-oferty__cta {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    background: var(--kolor-dok);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 600;
}

.karta-oferty:hover .karta-oferty__cta { opacity: 1; }

/* =========================================
   SEKCJA INFO — dekoracja tytułu
   ========================================= */
.sekcja-info__doswiadczenie {
    display: flex;
    align-items: center;
}
.sekcja-info__doswiadczenie::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 5px;
    background: var(--kolor-dok);
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* =========================================
   KROKI PROCESU — BEM
   ========================================= */
.krok__ikona-opakowanie {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--kolor-dok);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(30, 160, 129, 0.4);
}

/* =========================================
   KARTY REALIZACJI — BEM
   ========================================= */
.karta-realizacji {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--cien-karta);
    transition: box-shadow var(--czas-przejscia), transform var(--czas-przejscia);
}
.karta-realizacji:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}

/* =========================================
   KARTY OPINII — BEM
   ========================================= */
.karta-opinii {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--cien-karta);
    transition: box-shadow var(--czas-przejscia);
}
.karta-opinii:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.karta-opinii__cytaty {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--kolor-dok);
    opacity: 0.15;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* =========================================
   SEKCJA CTA
   ========================================= */
.sekcja-cta {
    background: linear-gradient(135deg, var(--kolor-dok-ciemny) 0%, #1a6b5a 100%);
    padding: 5rem 1rem;
}

/* =========================================
   KARUZELA PARTNERÓW
   ========================================= */
.karuzela-partnerow {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.karuzela-partnerow::before,
.karuzela-partnerow::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.karuzela-partnerow::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb 0%, transparent 100%);
}
.karuzela-partnerow::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb 0%, transparent 100%);
}

.karuzela-partnerow__sciezka {
    display: flex;
    width: calc(220px * 10);
    animation: karuzelaScroll 24s linear infinite;
}
.karuzela-partnerow__sciezka:hover { animation-play-state: paused; }

.karuzela-partnerow__slajd {
    width: 220px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.karuzela-partnerow__logo {
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
    transition: transform 0.3s;
}
.karuzela-partnerow__slajd:hover .karuzela-partnerow__logo {
    transform: scale(1.08);
}

@keyframes karuzelaScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-220px * 5)); }
}

/* =========================================
   SEPARATOR
   ========================================= */
.separator {
    height: 2px;
    background: var(--kolor-dok);
    border: none;
}

/* =========================================
   FAQ
   ========================================= */
.faq-element__pytanie { min-height: 52px; }

/* =========================================
   FORMULARZ KONTAKTOWY — BEM
   ========================================= */
.formularz-pole__etykieta {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
}

.formularz-pole__input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.formularz-pole__input:focus {
    outline: none;
    border-color: var(--kolor-dok);
    box-shadow: 0 0 0 3px rgba(30, 160, 129, 0.15);
}
.formularz-pole__input.border-red-400 { border-color: #f87171; }

.formularz-pole__blad {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

/* =========================================
   DANE KONTAKTOWE — BEM
   ========================================= */
.dane-kontaktowe__pozycja {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.dane-kontaktowe__ikona {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   FILTRY KATEGORII (archiwum realizacji)
   ========================================= */
.filtr-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    min-height: 44px;
}
.filtr-btn:hover { border-color: var(--kolor-dok); color: var(--kolor-dok); }
.filtr-btn--aktywny {
    background: var(--kolor-dok);
    border-color: var(--kolor-dok);
    color: #fff;
}

/* =========================================
   TREŚĆ STRON (edytor WP + bloki Gutenberga)
   ========================================= */
.my-page-class {
    line-height: 1.85;
    color: #374151;
    font-size: 1rem;
}
.my-page-class > *:first-child { margin-top: 0 !important; }
.my-page-class > *:last-child  { margin-bottom: 0 !important; }

/* Akapity */
.my-page-class p,
.my-page-class .wp-block-paragraph {
    margin-bottom: 1.25rem;
    margin-top: 0;
}

/* Nagłówki — tagi i klasy Gutenberga */
.my-page-class h2,
.my-page-class h2.wp-block-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--kolor-dok-tekst);
    margin: 2.25rem 0 0.75rem;
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--kolor-dok);
}
.my-page-class h3,
.my-page-class h3.wp-block-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--kolor-dok-tekst);
    margin: 1.85rem 0 0.6rem;
    line-height: 1.35;
    padding-left: 0.75rem;
    border-left: 3px solid var(--kolor-dok);
}
.my-page-class h4,
.my-page-class h4.wp-block-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.5rem 0 0.45rem;
}
.my-page-class h5,
.my-page-class h6,
.my-page-class h5.wp-block-heading,
.my-page-class h6.wp-block-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 1.25rem 0 0.35rem;
}

/* Listy — tagi + klasa Gutenberga wp-block-list */
.my-page-class ul,
.my-page-class ul.wp-block-list {
    list-style: disc;
    padding-left: 1.6rem;
    margin-bottom: 1.25rem;
    margin-top: 0;
}
.my-page-class ol,
.my-page-class ol.wp-block-list {
    list-style: decimal;
    padding-left: 1.6rem;
    margin-bottom: 1.25rem;
    margin-top: 0;
}
.my-page-class li {
    margin-bottom: 0.45rem;
    padding-left: 0.25rem;
}
.my-page-class li::marker {
    color: var(--kolor-dok);
    font-weight: 700;
}
/* zagnieżdżone listy */
.my-page-class li ul,
.my-page-class li ol {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

/* Wyróżnienia */
.my-page-class strong,
.my-page-class b {
    font-weight: 700;
    color: #1f2937;
}
.my-page-class em,
.my-page-class i {
    font-style: italic;
}

/* Linki */
.my-page-class a {
    color: var(--kolor-dok);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.my-page-class a:hover {
    color: var(--kolor-dok-ciemny);
}

/* Cytaty — tag + blok Gutenberga */
.my-page-class blockquote,
.my-page-class .wp-block-quote {
    border-left: 4px solid var(--kolor-dok);
    padding: 0.85rem 1.35rem;
    margin: 1.75rem 0;
    background: #f0fdf9;
    border-radius: 0 8px 8px 0;
    color: #374151;
    font-style: italic;
}
.my-page-class blockquote cite,
.my-page-class .wp-block-quote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    font-style: normal;
}

/* Obrazy — tag + bloki Gutenberga */
.my-page-class img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem 0;
    display: block;
}
.my-page-class figure,
.my-page-class .wp-block-image {
    margin: 1.75rem 0;
}
.my-page-class .wp-block-image img {
    margin: 0 auto;
}
.my-page-class figcaption,
.my-page-class .wp-block-image figcaption {
    font-size: 0.82rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}
/* wyrównanie obrazów Gutenberga */
.my-page-class .wp-block-image.alignleft  { float: left;  margin-right: 1.5rem; }
.my-page-class .wp-block-image.alignright { float: right; margin-left: 1.5rem;  }
.my-page-class .wp-block-image.aligncenter { text-align: center; }

/* Kolumny Gutenberga */
.my-page-class .wp-block-columns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.my-page-class .wp-block-column {
    flex: 1 1 200px;
    min-width: 0;
}

/* Separator */
.my-page-class hr,
.my-page-class .wp-block-separator {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 2.25rem 0;
    clear: both;
}

/* Tabele */
.my-page-class table,
.my-page-class .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    overflow-x: auto;
    display: block;
}
.my-page-class th {
    background: var(--kolor-dok);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1rem;
    text-align: left;
}
.my-page-class td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}
.my-page-class tr:nth-child(even) td {
    background: #f9fafb;
}

/* Kod */
.my-page-class code {
    background: #f3f4f6;
    padding: 0.15em 0.45em;
    border-radius: 4px;
    font-size: 0.875em;
    color: #1f2937;
    font-family: ui-monospace, monospace;
}
.my-page-class pre,
.my-page-class .wp-block-code {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.1rem 1.4rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    font-family: ui-monospace, monospace;
}
.my-page-class pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Przycisk Gutenberga */
.my-page-class .wp-block-buttons {
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.my-page-class .wp-block-button__link {
    display: inline-block;
    background: var(--kolor-dok);
    color: #fff !important;
    text-decoration: none !important;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background .15s;
}
.my-page-class .wp-block-button__link:hover {
    background: var(--kolor-dok-ciemny);
}

/* =========================================
   ZGODA RODO — checkbox formularza
   ========================================= */
.formularz-zgoda__checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
}
.formularz-zgoda__checkbox:checked {
    background: var(--kolor-dok);
    border-color: var(--kolor-dok);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65%;
}
.formularz-zgoda__checkbox:focus-visible {
    outline: 2px solid var(--kolor-dok);
    outline-offset: 2px;
}
.formularz-zgoda__checkbox.ring-2 {
    border-color: #f87171;
}

/* =========================================
   STOPKA — social media
   ========================================= */
.stopka-social:hover svg { animation: pulsowanie 1.2s infinite alternate; }

/* =========================================
   ANIMACJE
   ========================================= */
@keyframes pulsowanie {
    from { transform: scale(1);    }
    to   { transform: scale(1.14); }
}

/* =========================================
   HERO PODSTRONY USŁUGOWEJ
   ========================================= */
.usluga-hero {
    background-attachment: fixed;
}
@media (max-width: 768px) {
    .usluga-hero { background-attachment: scroll; min-height: 60vh; }
}

/* =========================================
   RESPONSYWNOŚĆ
   ========================================= */
@media (max-width: 640px) {
    .karta-oferty__zdjecie { height: 240px; }
    .karta-oferty__cechy   { display: none; }
    .sekcja__naglowek h2   { font-size: 1.8rem; }
    .karuzela-partnerow__sciezka:hover { animation-play-state: running; }
}

/* =========================================
   PŁYWAJĄCY CTA BAR — tylko mobile
   ========================================= */
.plywajacy-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    height: 56px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

.plywajacy-cta__przycisk {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.2s;
}
.plywajacy-cta__przycisk:active { filter: brightness(0.9); }

.plywajacy-cta__przycisk--telefon {
    background: #1d1d1d;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.plywajacy-cta__przycisk--kontakt {
    background: var(--kolor-dok);
    color: #fff;
}

@media (min-width: 768px) {
    .plywajacy-cta { display: none; }
    body            { padding-bottom: 0 !important; }
}

@media (max-width: 767px) {
    body { padding-bottom: 56px; }
}

/* =========================================
   BANER COOKIE CONSENT — RODO
   ========================================= */
.cookie-baner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #1a1a2e;
    color: #fff;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-baner__tekst {
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d1d5db;
}
.cookie-baner__tekst a { color: var(--kolor-dok); text-decoration: underline; }
.cookie-baner__przyciski {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.cookie-baner__btn {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: filter 0.2s;
    white-space: nowrap;
}
.cookie-baner__btn:active { filter: brightness(0.9); }
.cookie-baner__btn--akceptuj {
    background: var(--kolor-dok);
    color: #fff;
}
.cookie-baner__btn--niezbedne {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}
.cookie-baner__btn--niezbedne:hover { border-color: #6b7280; color: #d1d5db; }
.cookie-baner__ustawienia {
    flex-basis: 100%;
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
}
.cookie-baner__opcja {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}
.cookie-baner__opcja input { margin-top: 0.25rem; accent-color: var(--kolor-dok); }

/* Alpine.js — ukrycie elementów do czasu inicjalizacji (bez mignięcia banera) */
[x-cloak] { display: none !important; }

@media (max-width: 767px) {
    .cookie-baner { bottom: 56px; }
}

/* =========================================
   KARUZELA OPINII
   ========================================= */
.karuzela-opinii__nawigacja {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.karuzela-opinii__strzalka {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.karuzela-opinii__strzalka:hover:not(:disabled) {
    border-color: var(--kolor-dok);
    color: var(--kolor-dok);
    background: rgba(30,160,129,0.06);
}
.karuzela-opinii__strzalka:disabled { opacity: 0.35; cursor: default; }

.karuzela-opinii__kropka {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.karuzela-opinii__kropka--aktywna {
    background: var(--kolor-dok);
    transform: scale(1.3);
}

@media (max-width: 767px) {
    .karuzela-opinii__strona { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .karuzela-opinii__strona { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   OPINIE KLIENTÓW
   ========================================= */
.opinia-karta {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #e5e7eb;
    border-top: 3px solid var(--kolor-dok);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.opinia-karta:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.opinia-karta__gwiazdki { color: #f59e0b; letter-spacing: 1px; font-size: 0.95rem; }
.opinia-karta__tresc {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}
.opinia-karta__autor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}
.opinia-karta__inicjaly {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kolor-dok), var(--kolor-dok-ciemny));
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.opinia-karta__imie  { font-weight: 700; font-size: 0.9rem; color: #111827; line-height: 1.3; }
.opinia-karta__firma { font-size: 0.78rem; color: #9ca3af; margin-top: 1px; }

/* =========================================
   POWIĄZANE USŁUGI
   ========================================= */
.powiazana-usluga {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.powiazana-usluga:hover {
    border-color: var(--kolor-dok);
    box-shadow: 0 0 0 3px rgba(30,160,129,0.1);
    color: var(--kolor-dok-ciemny);
}
.powiazana-usluga__ikona {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(30,160,129,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
