* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
}
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #fff;
    --border-radius: 8px;
    --transition: 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    max-width: 50px;
    border-radius: 10%;
    font-size: 22px;
    font-weight: 700;
    
}


.nav-logo a {
    color: #f7c948;
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo a:hover {
    color: #fff;
}

.main-nav {
    background: var(--primary-color);
    position: relative;
    z-index: 1000;
    font-weight: 900;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
}

.nav-logo a {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
}

/* ---------- PRZYCISK BURGERA (domyślnie ukryty na desktopie) ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animacja burgera w "X" po otwarciu */
.nav-toggle.active .hamburger:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- MENU GŁÓWNE — POZIOM 1 ---------- */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-item > a,
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 900;
}

.nav-item > a:hover,
.dropdown-toggle:hover {
    color: #ffffff;
}

.dropdown-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(225deg);
    margin-top: 3px;
}

/* ---------- DROPDOWN — POZIOM 2 (desktop: hover/klik, absolutne) ---------- */
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1e293b;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: #334155;
    color: #ffffff;
}

/* =========================================================
   WIDOK MOBILNY — automatyczne przejście w hamburgera
   ========================================================= */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

 .nav-menu {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;

    height: calc(100dvh - 64px);

    flex-direction: column;
    gap: 0;

    background: #333333 ;
    padding: 12px 0;

    overflow-y: auto;
    overflow-x: hidden;

    transform: translateX(-100%);
    transition: transform 0.3s ease;

    z-index: 1000;
}
   
    
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item > a,
    .dropdown-toggle {
        width: 100%;
        padding: 14px 20px;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* Dropdown na mobile: rozwija się w miejscu, nie jako overlay */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #1e293b;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0;
    }

    .has-dropdown.open .dropdown-menu {
        max-height: 400px;
        padding: 6px 0;
    }

    .dropdown-menu a {
        padding-left: 34px;
    }
}


/* ============================================
   3. UKŁAD STRONY
   ============================================ */
   body {
       font-family: arial, sans-serif;
       background: white;
       color: black;
    
   }

   .container {
       max-width: 1350px;
       margin: 0 auto;
       padding: 0 10px;
   }

/* ============================================
   4. WSPÓLNE STYLE (section, article, h1, h2, button, card)
   ============================================ */
   /* ---- WSPÓLNE WŁAŚCIWOŚCI DLA SEKCJI I ARTYKUŁÓW ---- */
   section,
   article,
   .contact,
   .calculator,
   .main-nav,
   .video-section {
       max-width: 99vw;
       background-color: var(--primary-color);
       border-radius: 30px;
       padding: 50px 20px;
       margin: 15px auto;
       /* border: 2px solid rgba(255, 255, 255, 0.06); */
       box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
       transition: all 0.3s ease;
       animation: fadeInUp 0.8s ease forwards;
       background: radial-gradient(circle at top left, #2e4dff, #048848);
              text-align: center;
       margin-bottom: 20px;
       margin-top: 20px;
   }
  

   section:hover,
   article:hover,
   .contact:hover {
       border-color: rgba(247, 201, 72, 0.2);
       box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
   }
   .photo {
    width: 95%;
    height: auto;
    margin: 0 auto;
    justify-content: center;
    display: block;
    border-radius: 30px;
    object-fit: contain;
   }
   .small-photo {
    width: 300px;
    height: auto;
    margin: 0 auto;
    justify-content: center;
    display: block;
    border-radius: 30px;
    object-fit: contain;
   }
   
   /* ---- WSPÓLNE DLA H2 ---- */
   h1 {
       font-size: 2rem;
       font-weight: 900;
       color: #fff;
       margin-bottom: 10px;
       text-align: center;
   }
   h2 {
       font-size: 1.5rem;
       font-weight: 900;
       color: #fff;
       margin-bottom: 18px;
       text-align: center;
   }
   h3 {
    margin-bottom: 15px;
   }

   p {
    line-height: 2.5;
  
   }

   .list {
      list-style: none;
    padding: 0;
   }
   .list>li::before {
    content: "✅";
    margin-right: 10px;
}

   
 /* ============================================
   WSPÓLNE STYLE 3D DLA PRZYCISKÓW
   ============================================ */

.btn-primary,
.btn-secondary,
.article-button-p,
.article-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 60px;
    min-width: 200px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    gap: 10px;
    position: relative;
    overflow: hidden;
    color: black;
    
    /* EFEKT 3D - WSPÓLNY */
    background: linear-gradient(145deg, #f7c948, #f5a623);
    
    box-shadow: 
        0 6px 0 #d4891a,
        0 10px 30px rgba(247, 201, 72, 0.3);
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* PERSPEKTYWA */
    perspective: 400px;
    transform-style: preserve-3d;
}

/* Różne rozmiary */
.btn-primary {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.article-button,
.article-button-p {
    height: 70px;
    padding: 20px 20px;
    font-size: 1.2rem;
    margin: 20px 0 30px 0;
}

/* HOVER */
.btn-primary:hover,
.btn-secondary:hover,
.article-button:hover {
    background: linear-gradient(145deg, #f8d05a, #f5a623);
    transform: translateY(-4px) scale(1.02) rotateX(2deg);
    box-shadow: 
        0 10px 0 #d4891a,
        0 20px 50px rgba(247, 201, 72, 0.5);
}

/* ACTIVE (kliknięcie) */
.btn-primary:active,
.btn-secondary:active,
.article-button-p:active,
.article-button:active {
    transform: translateY(6px) scale(0.97) rotateX(-1deg);
    box-shadow: 
        0 2px 0 #d4891a,
        0 5px 15px rgba(247, 201, 72, 0.2);
    transition-duration: 0.05s;
}

/* BŁYSK */
.btn-primary::before,
.btn-secondary::before,
.article-button-p::before,
.article-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 80%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.article-button-p:hover::before,
.article-button:hover::before {
    transform: rotate(45deg) translateX(100%);
}

/* POŁYSK NA GÓRZE */
.btn-primary::after,
.btn-secondary::after,
.article-button-p::after,
.article-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
    border-radius: 60px 60px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.article-button-p:hover::after,
.article-button:hover::after {
    opacity: 1;
}



/* Dodatkowy efekt cienia dla głębi */
.btn-primary,
.btn-secondary,
.article-button-p,
.article-button {
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================
   20. ANIMACJE
   ============================================ */
   @keyframes shine {
       0% { background-position: 0% center; }
       100% { background-position: 200% center; }
   }

   @keyframes fadeInUp {
       from {
           opacity: 0;
           transform: translateY(40px);
       }
       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   section:nth-of-type(odd) { animation-delay: 0.1s; }
   section:nth-of-type(even) { animation-delay: 0.2s; }

   @keyframes blink {
       50% { border-color: transparent; }
   }

   .typing {
    font-size: clamp(0.95rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    border-right: clamp(1.5px, 0.2vw, 3px) solid #f7c948;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink 0.8s step-end infinite;
    max-width: 100%;
    padding-right: 5px;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Dla małych ekranów - zawijanie tekstu */
@media (max-width: 768px) {
    .typing {
        white-space: normal;
        word-break: break-word;
        display: block;
        text-align: center;
        min-height: 60px;
        border-right: 2px solid #f7c948;
    }
}

@media (max-width: 480px) {
    .typing {
        min-height: 50px;
        border-right-width: 2px;
    }
}

   .opis {
       font-size: 1.2rem;
       color: #fff;
       font-weight: 700;
       margin: 5px auto;
       display: inline-block;
       transition: transform 0.3s ease, color 0.3s ease;
   }

   .opis span.wave {
       transform: scale(1.4);
       color: white;
       text-shadow: 0 0 10px #f7c948,
                    0 0 20px #f7c948,
                    0 0 30px #f7c948,
                    0 0 40px #f7c948,
                    0 0 50px #f7c948,
                    0 0 60px #f7c948,
                    0 0 70px #f7c948;
   }

   .opis span {
       display: inline-block;
       white-space: pre;
   }

   /* ============================================
   9. O FIRMIE
   ============================================ */
   .o-firmie {
       
       margin: 0 auto;
       padding: 40px 30px;
       
       background-size: cover;
       background-attachment: fixed;
       background-position: center;
       color: white;
       border-radius: 30px;
     
       box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
       transition: all 0.3s ease;
   }

   .o-firmie::after {
       content: "";
       display: block;
       clear: both;
   }

   .video-container {
       float: right;
       width: 60%;
       margin: 0 0 25px 35px;
   }

   .video-container video {
       width: 100%;
       display: block;
       border-radius: 15px;
       box-shadow: 0 10px 30px rgba(0,0,0,.25);
   }

   .introduction {
       text-align: justify;
       line-height: 1.8;
       font-size: 1.1rem;
       color: #dde5ed;
   }

   .o-firmie .introduction strong {
       color: var(--secondary-color);
   }
   .promotion {
    text-align: center;
   }
   
 /* ============================================
   SEKCJA VIDEO - UKŁAD HYBRYDOWY
   ============================================ */

.video-container {
    float: left; /* Tekst opływa film na dużych ekranach */
    width: 68%;
    margin: 0 20px 0px 0px;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.introduction {
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #dde5ed;
}

/* ============================================
   UKŁAD NA MAŁYCH EKRANACH - FILM NA GÓRZE
   ============================================ */

@media (max-width: 768px) {
    .video-container {
        float: none; /* Usuwamy opływanie */
        width: 100%; /* Pełna szerokość */
        margin: 0 0 20px 0; /* Resetujemy marginesy */
        display: block;
    }
    
    .introduction {
        clear: both; /* Zapewnia, że tekst nie będzie opływał */
        display: block;
        width: 100%;
    }
}

/* Opcjonalnie - dla tabletów (jeśli chcesz delikatnie zmniejszyć film) */
@media (max-width: 992px) and (min-width: 769px) {
    .video-container {
        width: 50%;
        margin: 0 0 20px 25px;
    }
}

/* Dla bardzo małych ekranów */
@media (max-width: 480px) {
    .video-container {
        margin-bottom: 15px;
    }
    
    .introduction {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* ============================================
   8. HERO / CAROUSEL
   ============================================ */
   .hero {
       padding: 0;
       border: none;
       box-shadow: none;
   }

   .carousel {
       position: relative;
       border-radius: 30px;
       overflow: hidden;
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
       border: 1px solid rgba(247, 201, 72, 0.1);
   }

   .carousel-img {
       width: 100%;
       height: 700px;
       object-fit: cover;
       background: #1b2f44;
   }

   .carousel-inner {
       position: relative;
   }

   .carousel-item {
       position: absolute;
       inset: 0;
       transition: opacity .6s ease;
       pointer-events: none;
   }

   .carousel-item.active {
       position: relative;
       opacity: 1;
       pointer-events: auto;
   }

   .carousel-caption {
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       padding: 10px;
       background: var(--primary-color);
       color: white;
       text-align: center;
       opacity: 0.73;
   }

   .carousel-caption h3 {
       color: #f7c948;
       font-size: 2rem;
       font-weight: 900;
       margin-bottom: 10px;
   }

   .carousel-description {
       font-size: 1.05rem;
       max-width: 700px;
       margin: 0 auto;
       color: #dde5ed;
   }

   .carousel-indicators {
       position: absolute;
       bottom: 20px;
       left: 0;
       right: 0;
       display: flex;
       justify-content: center;
       gap: 12px;
       z-index: 2;
   }

   .carousel-indicator {
       width: 19px;
       height: 19px;
       border: none;
       opacity: 0.70;
       border-radius: 50%;
       background: rgba(255, 255, 255, 0.25);
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .carousel-indicator.active {
       background: #f7c948;
       opacity: 0.75;
       box-shadow: 0 0 20px rgba(247, 201, 72, 0.5);
       transform: scale(1.2);
   }

   .carousel-control {
       position: absolute;
       top: 50%;
       transform: translateY(-50%);
       width: 56px;
       height: 56px;
       background: rgba(0, 0, 0, 0.4);
       backdrop-filter: blur(8px);
       border: 1px solid rgba(255, 255, 255, 0.1);
       border-radius: 50%;
       color: white;
       font-size: 28px;
       cursor: pointer;
       display: flex;
       align-items: center;
       justify-content: center;
       transition: all 0.3s ease;
       z-index: 2;
   }

   .carousel-control:hover {
       background: rgba(247, 201, 72, 0.3);
       border-color: #f7c948;
   }

   .carousel-control.prev { left: 20px; }
   .carousel-control.next { right: 20px; }




   /* ===============================
   NASZE USŁUGI
   =============================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    transition: .3s ease;
    height: 100%;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-description {
    line-height: 1.7;
}

 .uslugi {
       background-color: var(--primary-color);
   }

   .services-grid {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 30px;
       margin: 30px 0 40px 0;
   }

   .service-card {
       background: radial-gradient(circle at top left, rgba(247, 201, 72, .08), transparent 45%),
                   linear-gradient(to bottom, rgba(0, 0, 0, 0.35), var(--primary-color));
       border-radius: 24px;
       padding: 30px 25px;
       border: 2px solid rgba(0, 0, 0, 0.6);
       transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       position: relative;
       overflow: hidden;
   }

   .service-card:hover {
       transform: translateY(-3px) scale(1.02);
       border-color: var(--secondary-color);
       box-shadow: 0 3px 3px var(--secondary-color);
   }

   .service-card::before {
       content: "";
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       height: 2px;
       background: linear-gradient(90deg, #f7c948, #00d4ff, #f7c948);
       background-size: 200%;
       animation: shine 3s linear infinite;
       opacity: 0;
       transition: opacity .4s;
       z-index: 2;
   }

   .service-card:hover::before {
       opacity: 1;
   }

   .service-card-content {
       display: flex;
       gap: 18px;
       align-items: flex-start;
   }

   .feature-icon {
       font-size: 2.6rem;
       flex-shrink: 0;
       filter: drop-shadow(0 0 15px rgba(247, 201, 72, 0.2));
   }

   .service-card h3 {
       color: black;
       font-size: 1.3rem;
       margin-bottom: 8px;
   }

   .service-description {
       color: white;
       font-size: 0.98rem;
   }


@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }
}

   /* ===============================
   FORMULARZ
   =============================== */

   .form-group {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 20px;
    align-items: center;
    margin-bottom: 15px;
}

.form-label {
    text-align: left;
    margin: 0;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   17. MODAL
   ============================================ */
   .modal-wrap {
       display: none;
   }

   .modal-wrap.active {
       display: block;
       position: fixed;
       top: -30px;
       left: 0;
       max-width: 100vw;
       max-height: 100vh;
       width: 100vw;
       height: 100vh;
       background-color: rgba(0, 0, 0, 0.9);
       z-index: 99999;
   }

   .modal-wrap.active .modal {
       display: flex;
       flex-direction: column;
       position: absolute;
       width: 100%;
       height: 100%;
       background: white;
       left: 50%;
       top: 50%;
       transform: translate(-50%, -50%);
       border-radius: 20px;
       overflow: hidden;
   }

   @media (orientation: portrait) {
       .modal-wrap.active .modal {
           width: 90%;
           height: 90%;
       }
   }

   .modal .top,
   .modal .bottom {
       flex-basis: 20%;
       background-color: var(--primary-color);
       font-size: 37px;
       font-weight: 800;
       text-align: center;
       display: flex;
       justify-content: center;
       align-items: center;
   }

   .modal .middle {
       flex-basis: 70%;
       font-size: 1.2rem;
       line-height: 1.5;
       font-weight: 700;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       text-align: center;
       transition: transform 0.3s ease, color 0.3s ease;
   }

   .modal .middle .wave-text2 {
       transform: scale(1.4);
       color: white;
       text-shadow: 0 0 10px #f7c948,
                    0 0 20px #f7c948,
                    0 0 30px #f7c948;
   }

   .modal .middle span {
       display: inline-block;
       white-space: pre;
   }

   .close {
       position: absolute;
       top: 10px;
       right: 1vw;
       width: 40px;
       height: 40px;
       display: flex;
       justify-content: center;
       align-items: center;
       cursor: pointer;
       font-size: 40px;
       background-color: white;
       border-radius: 50%;
       font-family: arial;
       color: black;
       z-index: 9999999;
   }

   .modal-wrap.active .modal {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 90%;
    height: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    
    /* TŁO - OBRAZ JPG */
    background-image: url('tlo-modal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    
}
footer {
      max-width: 97%;
       background-color: var(--primary-color);
       border-radius: 30px;
       padding: 50px 20px;
       margin: 15px auto;
       /* border: 2px solid rgba(255, 255, 255, 0.06); */
       box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
       transition: all 0.3s ease;
       animation: fadeInUp 0.8s ease forwards;
       background: radial-gradient(circle at top left, #2e4dff, #048848);

}
.footer-container {
    display: bloc;
    text-align: center;
   
}

/* ============================================
   11. PORTFOLIO
   ============================================ */
.portfolio-showcase {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 30px;
       margin: 30px 0 40px 0;
   }

   .portfolio-card {
       display: block;
       text-decoration: none;
       color: white;
       background: radial-gradient(circle at top left, rgba(247, 201, 72, .08), transparent 45%),
                   linear-gradient(to bottom, rgba(0, 0, 0, 0.35), var(--primary-color));
       border-radius: 24px;
       overflow: hidden;
       border: 2px solid rgba(0, 0, 0, 0.6);
       transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
       position: relative;
   }

   .portfolio-card:hover {
       transform: translateY(-5px) scale(1.02);
       border-color: var(--secondary-color);
       box-shadow: 0 10px 10px var(--secondary-color);
   }

   .portfolio-card::before {
       content: "";
       position: absolute;
       top: 0;
       left: 0;
       right: 0;
       height: 4px;
       background: linear-gradient(90deg, #f7c948, #00d4ff, #f7c948);
       background-size: 200%;
       animation: shine 3s linear infinite;
       opacity: 0;
       transition: opacity .4s;
       z-index: 2;
   }

   .portfolio-card:hover::before {
       opacity: 1;
   }

   .portfolio-card img {
       width: 100%;
       height: 200px;
       object-fit: cover;
       display: block;
       border-bottom: 2px solid rgba(0, 0, 0, 0.6);
   }

   .portfolio-card .card-content {
       padding: 20px 24px 24px 24px;
   }

   .portfolio-card .card-content h3 {
       color: var(--secondary-color);
       font-size: 1.3rem;
       margin-bottom: 8px;
   }

   .portfolio-card .card-content p {
       color: white;
       font-size: 0.95rem;
       margin-bottom: 12px;
       font-weight: 800;
   }

   .portfolio-card .card-content .badge {
       display: inline-block;
       padding: 6px 18px;
       background: rgba(247, 201, 72, 0.15);
       color: var(--secondary-color);
       border-radius: 30px;
       font-size: 0.85rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 0.5px;
       border: 1px solid rgba(247, 201, 72, 0.2);
       transition: all 0.3s ease;
   }

   .portfolio-card:hover .badge {
       background: var(--secondary-color);
       color: var(--primary-color);
   }

/* ============================================
   WOO-COMMERCE
   ============================================ */

.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list li {
    position: relative;
    padding: 12px 0 12px 34px;
    color: black;
    font-size: 16px;
    line-height: 1.5;
    border-bottom: 1px solid #eee;
}

.list li:last-child {
    border-bottom: none;
}

.list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    border-radius: 50%;
    background: #198754;
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

tbody tr {
    transition: background-color 0.2s ease;
}



tbody td {
    width: 50%;
    padding: 16px 20px;
    
    font-size: 16px;
    line-height: 1.5;
}

/* lewa kolumna */
tbody td:first-child {
    color: black;
    
    font-weight: 500;
}

/* prawa kolumna */
tbody td:last-child {
    color: black;
    
    font-weight: 500;
}

/* usunięcie dolnej linii z ostatniego wiersza */
tbody tr:last-child td {
    border-bottom: none;
}

/* FAQ */
details {
    border-bottom: 1px solid #ddd;
    padding: 0;
}

details summary {
    position: relative;
    padding: 20px 50px 20px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    list-style: none;
}

/* usunięcie domyślnego trójkąta */
details summary::-webkit-details-marker {
    display: none;
}

/* własna ikona + */
details summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

/* odpowiedź */
details p {
    margin: 0;
    padding: 0 50px 20px 0;
    color: black;
    font-size: 16px;
    line-height: 1.7;
}

/* po otwarciu */
details[open] summary::after {
    content: "−";
}

details[open] summary {
    color: #0d6efd;
}

/* ============================================
   18. COOKIE
   ============================================ */
   .cookie-banner {
       display: none;
       position: fixed;
       bottom: 0;
       left: 0;
       right: 0;
       background: rgba(11, 15, 25, 0.95);
       backdrop-filter: blur(12px);
       padding: 20px 30px;
       z-index: 1000;
       border-top: 2px solid rgba(247, 201, 72, 0.2);
   }

   .cookie-box {
       max-width: 1200px;
       margin: 0 auto;
       display: flex;
       flex-wrap: wrap;
       justify-content: space-between;
       align-items: center;
       gap: 20px;
   }

   .cookie-text {
       flex: 1;
       font-size: 0.95rem;
       color: #dde5ed;
   }

   .cookie-text a {
       color: #f7c948;
   }

   .cookie-buttons {
       display: flex;
       gap: 12px;
       flex-wrap: wrap;
   }

   .cookie-btn {
       padding: 10px 24px;
       border: none;
       border-radius: 30px;
       font-weight: 700;
       cursor: pointer;
       transition: all 0.3s ease;
       font-size: 0.9rem;
   }

   .cookie-btn.accept {
       background: #f7c948;
       color: #0b0f19;
   }

   .cookie-btn.settings {
       background: rgba(255, 255, 255, 0.1);
       color: #fff;
       border: 1px solid rgba(255, 255, 255, 0.1);
   }

   .cookie-btn.decline {
       background: rgba(255, 255, 255, 0.05);
       color: #8899aa;
       border: 1px solid rgba(255, 255, 255, 0.05);
   }

   .cookie-btn:hover {
       transform: translateY(-2px);
   }

   .cookie-settings-panel {
       display: none;
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.8);
       backdrop-filter: blur(8px);
       justify-content: center;
       align-items: center;
       z-index: 9999;
   }

   .cookie-settings-window {
       background: #1b2f44;
       padding: 40px;
       border-radius: 30px;
       max-width: 500px;
       width: 90%;
       border: 1px solid rgba(247, 201, 72, 0.2);
   }

   .cookie-settings-window h3 {
       color: #f7c948;
       font-size: 1.6rem;
       margin-bottom: 25px;
   }

   .switch-row {
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 15px;
       background: rgba(255, 255, 255, 0.04);
       border-radius: 16px;
       margin-bottom: 15px;
   }

   .switch-row span {
       font-weight: 600;
       color: #dde5ed;
   }

   .switch-row input[type="checkbox"] {
       width: 48px;
       height: 26px;
       appearance: none;
       background: #445566;
       border-radius: 26px;
       position: relative;
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .switch-row input[type="checkbox"]:checked {
       background: #f7c948;
   }

   .switch-row input[type="checkbox"]::before {
       content: '';
       position: absolute;
       width: 22px;
       height: 22px;
       background: white;
       border-radius: 50%;
       top: 2px;
       left: 2px;
       transition: all 0.3s ease;
   }

   .switch-row input[type="checkbox"]:checked::before {
       transform: translateX(22px);
   }

   .settings-buttons {
       display: flex;
       gap: 12px;
       justify-content: center;
       margin-top: 25px;
   }

   /* ---- BACK TO TOP ---- */
   .back-to-top {
       position: fixed;
       bottom: 50px;
       right: 30px;
       display: flex;
       justify-content: center;
       align-items: center;
       width: 50px;
       height: 50px;
       background: var(--secondary-color);
       border-radius: 50%;
       opacity: 0;
       visibility: hidden;
       transition: .3s;
   }

   .back-to-top.show {
       opacity: 1;
       visibility: visible;
   }
