/* --- GLOBALNE --- */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}
 body {
     font-family: 'Montserrat', sans-serif;
     overflow-x: hidden;
     background: #ffffff;
}
 section {
     scroll-margin-top: 100px;
}
/* --- NAWIGACJA --- */
 nav {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     background: rgba(255, 255, 255, 0.98);
     backdrop-filter: blur(10px);
     padding: 1rem 2%;
     display: flex;
     justify-content: space-between;
     align-items: center;
     box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
     z-index: 1000;
     transition: all 0.3s ease;
     transform: translateY(-100%);
     animation: slideDownNav 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
     animation-delay: 0.5s;
}
 nav.scrolled {
     padding: 0.7rem 2%;
     box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}
 .logo {
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
}
 .logo svg {
     width: 100%;
     height: 100%;
}
 .nav-links {
     display: flex;
     gap: 3rem;
     list-style: none;
     align-items: center;
     position: absolute;
     left: 50%;
     transform: translateX(-50%);
}
 .nav-links li {
     position: relative;
}
 .nav-links a {
     text-decoration: none;
     font-weight: 400;
     font-size: 0.95rem;
     letter-spacing: 0.3px;
     position: relative;
     color: black;
     display: inline-block;
     transition: color 0.3s ease-out;
}
 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: -5px;
     left: 50%;
     width: 0;
     height: 1px;
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     transition: all 0.3s ease-out;
     z-index: 2;
     transform: translateX(-50%);
}
 .nav-links a::before {
     content: attr(data-text);
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
     opacity: 0;
     z-index: 1;
     transition: opacity 0.3s ease-out;
}
 .nav-links a:hover::before {
     opacity: 1;
}
 .nav-links a:hover::after {
     width: 50%;
}
 .nav-contact {
     display: flex;
     align-items: center;
     gap: 0.5rem;
}
 .phone-number {
     font-weight: 400;
     color: #171717;
     font-size: 1rem;
     letter-spacing: 0.5px;
}
 .phone-link {
     text-decoration: none;
}
 .phone-link:hover .phone-number {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
}
 .hamburger {
     display: none;
     flex-direction: column;
     cursor: pointer;
     gap: 5px;
     z-index: 1001;
}
 .hamburger span {
     width: 25px;
     height: 3px;
     background-color: #171717;
     transition: all 0.3s ease;
}
/* --- HERO SECTION --- */
 .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 8rem 5% 4rem;
     background: #ffffff;
     position: relative;
     overflow: hidden;
     max-width: 1600px;
     margin: 0 auto;
     gap: clamp(2rem, 4vw, 5rem);
}
 .hero-left {
     flex: 1;
     z-index: 2;
     animation: slideInTop 1s ease-out;
     display: flex;
     align-items: center;
     justify-content: center;
     min-width: 0;
}
 .hero-left img {
     width: 100%;
     max-width: clamp(700px, 55vw, 1300px);
     height: auto;
     transition: transform 0.5s ease;
     display: block;
}
 .hero-left img:hover {
     transform: scale(1.02);
}
 .hero-right {
     flex: 1;
     max-width: 560px;
     padding-left: 0;
     z-index: 2;
     animation: slideInBottom 1s ease-out;
     min-width: 0;
}
 .hero-title {
     font-size: 3.5rem;
     font-weight: 700;
     margin-bottom: 0.1rem;
     line-height: 1.2;
     letter-spacing: -1px;
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
     display: inline-block;
}
 .hero-subtitle {
     font-size: 2rem;
     font-weight: 600;
     color: #414141;
     margin-bottom: 1rem;
}
 .hero-description {
     font-size: 1.1rem;
     color: #666;
     margin-bottom: 3rem;
     max-width: 550px;
     line-height: 24px;
}
 .hero-stats {
     display: flex;
     align-items: flex-start;
     gap: 2rem;
}
 .stat-item {
     text-align: center;
     position: relative;
     padding-right: 2rem;
}
 .stat-item:not(:last-child)::after {
     content: '';
     position: absolute;
     right: 0;
     width: 1px;
     height: 80%;
     background-color: rgba(65, 65, 65, 0.5);
     top: 50%;
     transform: translateY(-50%);
}
 .stat-number {
     display: block;
     font-size: 2.2rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     line-height: 1;
     font-variant-numeric: tabular-nums;
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
}
 .stat-desc {
     display: block;
     font-size: 1.2rem;
     color: #666;
     line-height: 1.4;
     font-weight: 400;
}
/* --- TRUST SECTION (SLIDER) --- */
 .trust-section {
     text-align: center;
     padding-top: 4rem;
     padding-bottom: 0;
     background: white;
     overflow: hidden;
}
 .trust-text {
     font-size: 0.9rem;
     color: #999;
     text-transform: uppercase;
     letter-spacing: 2px;
     margin-bottom: 1rem;
}
 .logos {
     position: relative;
     width: 100%;
     background: #f7f9fa;
     padding: 1rem 0;
     margin-top: 1rem;
     -webkit-mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
     mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
}
 .logos-slide {
     display: flex;
     align-items: center;
     width: max-content;
     animation: slideRight 30s linear infinite;
}
 .logo-item {
     width: 200px;
     height: 100px;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-shrink: 0;
}
 .logo-item svg, .logo-item img {
     max-width: 140px;
     max-height: 70px;
     width: auto;
     height: auto;
     opacity: 0.6;
     transition: opacity 0.3s;
}
 .logo-item:hover svg, .logo-item:hover img {
     opacity: 1;
}
/* --- OFFER SECTION --- */
 .offer-section {
     padding: 4rem 5%;
     background: #ffffff;
     text-align: center;
}
 .offer-header {
     margin-bottom: 3rem;
}
 .offer-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: #414141;
     display: inline-block;
}
 .offer-title span {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
}
 .offer-subtitle {
     font-size: 1rem;
     color: #666;
     font-weight: 400;
}
 .offer-tabs-container {
     display: flex;
     justify-content: center;
     margin-bottom: 3rem;
}
 .offer-tabs {
     position: relative;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
    /* 3 przyciski w rzędzie */
     gap: 2rem;
     padding-bottom: 10px;
}
 .tab-btn {
     background: none;
     border: none;
     font-family: 'Montserrat', sans-serif;
     font-size: 1.1rem;
     color: #999;
     cursor: pointer;
     transition: color 0.3s ease;
     padding: 0.5rem 0;
     flex: 0 0 calc((100% - 4rem) / 3);
     box-sizing: border-box;
    /* Zabezpieczenie, żeby paddingi nie psuły szerokości */
}
 @media (max-width: 900px) {
     .offer-tabs {
         grid-template-columns: repeat(2, 1fr);
        /* Zmieniamy na 2 przyciski w rzędzie */
         gap: 1.5rem;
        /* Zmniejszamy trochę odstępy */
    }
}
/* 3. Małe ekrany (Smartfony - poniżej np. 600px) */
 @media (max-width: 600px) {
     .offer-tabs {
         grid-template-columns: 1fr;
        /* 1 przycisk w rzędzie (jeden pod drugim) */
         gap: 1rem;
    }
}
 .tab-btn:hover {
     color: #1791C3;
}
 .tab-btn.active {
     color: #1791C3;
    /*font-weight: 500;
     */
}
 .tab-line {
     position: absolute;
     bottom: 7px;
     left: 0;
     height: 1px;
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     width: 0;
     border-radius: 3px;
}
 .offer-grid {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 2rem;
     width: 100%;
     max-width: 1200px;
    /* TO JEST KLUCZ: Ogranicza siatkę na dużych ekranach */
     margin: 0 auto;
     min-height: 250px;
     transition: max-width 0.3s ease;
}
 .grid-limit-5 {
     max-width: 1200px;
}
 .offer-card {
    /* Zmiana width na poniższe dwie linijki: */
     width: 100%;
     max-width: 260px;
     text-align: center;
     animation: fadeIn 0.5s ease-out;
     cursor: pointer;
}
 .offer-card.hidden {
     display: none;
}
 .card-placeholder {
     width: 260px;
     height: 230px;
     background-color: #D9D9D9;
     border-radius: 10px;
     margin-bottom: 1rem;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .offer-card:hover .card-placeholder {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
 .card-title {
     font-size: 1.1rem;
     color: #414141;
     font-weight: 500;
}
/* --- WHY US SECTION --- */
 .why-us-section {
     padding: 6rem 5%;
     background: #ffffff;
     text-align: center;
}
 .why-us-header {
     margin-bottom: 5rem;
}
 .why-us-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: #414141;
}
 .why-us-title span {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
}
 .why-us-subtitle {
     font-size: 1rem;
     color: #666;
     font-weight: 400;
}
 .why-us-grid {
     display: flex;
     justify-content: center;
     align-items: flex-start;
     gap: 4rem;
     flex-wrap: wrap;
     max-width: 1200px;
     margin: 0 auto;
     padding-top: 2rem;
}
 .why-us-item {
     flex: 1;
     min-width: 280px;
     max-width: 350px;
     display: flex;
     flex-direction: column;
     align-items: center;
     position: relative;
}
 .icon-circle {
     width: 90px;
     height: 90px;
     border: 1px solid #333;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-bottom: 1.5rem;
     transition: transform 0.3s ease, border-color 0.3s ease;
     background: white;
}
 .icon-circle img {
     width: 48px;
     height: auto;
}
 .why-us-item.featured {
     margin-top: -40px;
}
 .why-us-item.featured .icon-circle {
     width: 100px;
     height: 100px;
}
 .why-us-item.featured .icon-circle img {
     width: 64px;
}
 .why-us-item:hover .icon-circle {
     transform: scale(1.05);
     border-color: #1791C3;
}
 .why-us-item h3 {
     font-size: 1.5rem;
     font-weight: 500;
     color: #333;
     margin-bottom: 1rem;
}
 .why-us-item p {
     font-size: 0.95rem;
     color: #777;
     line-height: 1.6;
     font-weight: 300;
}


/* --- BANER COOKIES --- */
.cookie-banner {
     position: fixed;
     bottom: -100px; 
     left: 0;
     right: 0;
     background: rgba(255, 255, 255, 0.98);
     backdrop-filter: blur(10px);
     box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
     z-index: 3000; 
     transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
     padding: 1.2rem 5%;
}

.cookie-banner.show {
     bottom: 0;
}

.cookie-container {
     max-width: 1400px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 30px;
}

.cookie-text p {
     font-size: 0.9rem;
     color: #414141;
     line-height: 1.5;
     font-weight: 400;
}

.cookie-link {
     color: #1791C3;
     text-decoration: none;
     font-weight: 500;
     position: relative;
}

.cookie-link::after {
     content: '';
     position: absolute;
     bottom: -2px;
     left: 0;
     width: 100%;
     height: 1px;
     background: #1791C3;
     transition: width 0.3s ease;
}

.cookie-link:hover::after {
     width: 0;
}

.cookie-buttons {
     flex-shrink: 0;
}

.cookie-btn {
     font-family: 'Montserrat', sans-serif;
     padding: 0.8rem 2.5rem;
     border-radius: 50px;
     font-weight: 600;
     font-size: 0.9rem;
     cursor: pointer;
     transition: all 0.3s ease;
     text-transform: uppercase;
     letter-spacing: 0.5px;
}

.cookie-btn.accept {
     background: #fff;
     border: 1px solid #333;
     color: #333;
}

.cookie-btn.accept:hover {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     color: white;
     border-color: transparent;
     transform: translateY(-2px);
}


/* --- MODAL --- */
/* --- MODAL STYLES --- */
 .modal {
     display: none;
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.85);
     backdrop-filter: blur(5px);
     justify-content: center;
     align-items: center;
     opacity: 0;
     transition: opacity 0.3s ease;
     padding: 20px;
}
 .modal.show {
     display: flex;
     opacity: 1;
}
/* Główny kontener modala */
 .modal-wrapper {
     position: relative;
     background: white;
     width: 100%;
     max-width: 600px;
     max-height: 90vh;
     border-radius: 20px;
     overflow-y: auto;
     overflow-x: hidden;
     box-shadow: 0 20px 50px rgba(0,0,0,0.3);
     display: flex;
     flex-direction: column;
}
 .modal.show .modal-wrapper {
     transform: scale(1);
}
 .modal.show .modal-wrapper {
     transform: scale(1);
}
 .modal-image-container {
     width: 100%;
     min-height: 300px;
     max-height: 400px;
     background: #f4f4f4;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
}
 #modal-img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     display: block;
}
/* Przycisk zamknięcia (X) */
 .close-modal {
     position: absolute;
     top: 15px;
     right: 20px;
     font-size: 40px;
     color: #333;
     cursor: pointer;
     z-index: 10;
     line-height: 0.8;
     background: rgba(255,255,255,0.8);
     border-radius: 50%;
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.3s ease;
}
/* --- SEKJA TREŚCI (Tylko dla Oferty) --- */
 .close-modal:hover {
     background: rgba(255,255,255,1);
}
 .modal-content-container {
     padding: 2rem 2.5rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     background: white;
}
 #modal-title {
     font-size: 2rem;
     color: #1791C3;
     font-weight: 700;
     margin-bottom: 0.5rem;
     line-height: 1.2;
}
 .modal-subtitle {
     font-size: 1rem;
     color: #666;
     margin-bottom: 1.5rem;
     font-weight: 400;
}
 #modal-desc {
     font-size: 1.05rem;
     color: #444;
     margin-bottom: 1.5rem;
     line-height: 1.5;
}
/* Cechy (Features) */
 .modal-features {
     display: flex;
     justify-content: center;
     gap: 0.5rem;
     flex-wrap: wrap;
     margin-bottom: 1.5rem;
     width: 100%;
}
 .feature {
     font-size: 0.95rem;
     color: #555;
     display: flex;
     align-items: center;
     gap: 6px;
}
 .feature span {
     color: #1791C3;
     font-weight: 900;
}
 .modal-footer-separator {
     width: 100%;
     height: 1px;
     background: rgba(65, 65, 65, 0.15);
     margin-bottom: 1.5rem;
}
/* Stopka (Telefon i Przycisk) */
 .modal-footer {
     border-top: 1px solid rgba(65, 65, 65, 0.8);
     padding-top: 1.5rem;
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
     align-items: center;
}
 .modal-btn {
     background: #5D6D7E;
    /* Kolor przycisku ze zdjęcia */
     color: white;
     text-decoration: none;
     border-radius: 5px;
     font-weight: 600;
     text-transform: uppercase;
     font-size: 0.9rem;
     transition: background 0.3s;
}
 .modal-btn:hover {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
}
 .modal.simple-mode .modal-content-container {
     display: none !important;
}
 .modal.simple-mode .modal-wrapper {
     background-color: transparent;
    /* Przezroczyste tło */
     box-shadow: none;
    /* Brak cienia kontenera */
     width: auto;
    /* Szerokość dopasowana do zdjęcia */
     max-width: 95vw;
    /* Max szerokość ekranu */
     border-radius: 0;
}
 .modal.simple-mode .modal-image-container {
     position: relative;
    /* Przywracamy normalny przepływ dla galerii */
     background-color: transparent;
     width: 100%;
     height: 100%;
    /* Zajmij cały wrapper */
     max-height: 90vh;
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 0;
}
 .modal.simple-mode #modal-img {
     position: relative;
     width: auto;
     height: auto;
     max-width: 90vw;
     max-height: 85vh;
     object-fit: contain;
     border-radius: 8px;
     box-shadow: 0 10px 40px rgba(0,0,0,0.5);
     display: block;
}
 .modal.simple-mode .close-modal {
     position: absolute;
     top: -50px;
     right: 0;
     color: #ffffff;
     background: transparent;
     font-size: 45px;
     opacity: 0.8;
     transition: opacity 0.3s;
}
 .modal.simple-mode .close-modal:hover {
     opacity: 1;
     color: #ffffff;
}
 .contact-button-container {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.8rem;
     width: 100%;
}
 .phone-button {
     display: inline-block;
     padding: 0.8rem 3rem;
     border: 1px solid #333;
     border-radius: 50px;
     text-decoration: none;
     color: #333;
     font-size: 1.3rem;
     transition: all 0.3s ease;
}
/* Efekt po najechaniu */
 .phone-button:hover {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     color: white;
     border-color: transparent;
     transform: translateY(-2px);
}
/* Tekst z godzinami otwarcia pod przyciskiem */
 .hours-text {
     font-size: 0.85rem;
     color: #999;
}
/* --- STRZAŁKI NAWIGACYJNE W GALERII --- */
 .modal-nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.15);
     color: white;
     border: none;
     font-size: 24px;
     width: 50px;
     height: 50px;
     display: none;
    /* Domyślnie ukryte, JS kontroluje ich wyświetlanie */
     align-items: center;
     justify-content: center;
     cursor: pointer;
     z-index: 1001;
     border-radius: 50%;
     transition: background 0.3s ease, transform 0.2s ease;
     backdrop-filter: blur(4px);
}
 .modal-nav-btn:hover {
     background: rgba(255, 255, 255, 0.4);
     transform: translateY(-50%) scale(1.1);
}
 .prev-btn {
     left: -70px;
    /* Odsunięcie w lewo od zdjęcia */
}
 .next-btn {
     right: -70px;
    /* Odsunięcie w prawo od zdjęcia */
}
/* --- ANIMACJE --- */
 @keyframes slideDownNav {
     from {
         transform: translateY(-100%);
    }
     to {
         transform: translateY(0);
    }
}
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 @keyframes slideInTop {
     from {
         opacity: 0;
         transform: translateY(-50px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 @keyframes slideInBottom {
     from {
         opacity: 0;
         transform: translateY(50px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
/* KLUCZOWY ELEMENT: Definicja animacji */
 @keyframes slideLeftToRight {
     0% {
         transform: translateX(0);
    }
     100% {
        /* Przesuwamy dokładnie o 50%, ponieważ masz sklonowane loga w stosunku 1:1. Gdy pierwsze 6 log zjedzie z ekranu, animacja niezauważalnie wróci do 0% */
         transform: translateX(50%);
    }
}
 @keyframes slideRight {
     0% {
        /* Pasek startuje przesunięty w lewo (ukryta pierwsza połowa) */
         transform: translateX(-50%);
    }
     100% {
        /* Pasek wraca na pozycję 0, dając efekt ruchu w prawo */
         transform: translateX(0);
    }
}
 @keyframes slideInMenu {
     from {
         opacity: 0;
         transform: translateY(-10px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
/* --- MEDIA QUERIES --- */
/* --- POPRAWKI WIDOCZNOŚCI STRZAŁEK --- */
/* 1. Odblokowanie ucinania na boki w trybie galerii (KRYTYCZNE) */
 .modal.simple-mode .modal-wrapper {
     overflow: visible !important;
}
/* 2. Stylowanie ikon SVG wewnątrz przycisków */
 .modal-nav-btn svg {
     width: 32px;
     height: 32px;
     stroke: #ffffff;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
    /* Idealnie centruje element w pionie i poziomie */
}
/* 3. Upewnienie się, że przyciski ładnie centrują ikonę */
 .modal-nav-btn {
     display: none;
    /* JS zmienia to na flex podczas otwierania */
     align-items: center;
     justify-content: center;
     padding: 0;
}
/* Tablet & Mały Desktop */
 @media (max-width: 968px) {
    /* Navbar Mobile */
     nav {
         flex-wrap: wrap;
         justify-content: space-between;
         gap: 0;
         width: 100%;
         position: fixed;
         padding: 1rem 5%;
    }
     .logo {
         order: 1;
    }
     .nav-contact {
         order: 2;
         margin-left: auto;
         margin-right: 20px;
    }
     .hamburger {
         display: flex;
         order: 3;
    }
     .nav-links {
         position: static;
         transform: none;
         display: none;
         flex-direction: column;
         width: 100%;
         text-align: center;
         margin-top: 1.5rem;
         order: 4;
         background-color: white;
         padding-bottom: 1rem;
         gap: 1.5rem;
         animation: slideInMenu 0.3s ease-out;
         box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
     .nav-links.active {
         display: flex;
    }
    /* Hero Section Mobile */
     .hero {
         flex-direction: column;
         text-align: center;
         padding: 10rem 5% 3rem;
    }
     .hero-left {
         margin-bottom: 3rem;
         padding-right: 0;
         margin-left: 0;
         justify-content: center;
    }
     .hero-left img {
         width: 100%;
         height: auto;
         max-width: 500px;
    }
     .hero-right {
         padding-left: 0;
         padding-top: 0;
         display: flex;
         flex-direction: column;
         align-items: center;
    }
     .hero-title {
         font-size: 2.8rem;
    }
     .hero-subtitle {
         font-size: 1.5rem;
    }
     .hero-description {
         margin-left: auto;
         margin-right: auto;
         max-width: 100%;
    }
     .hero-stats {
         justify-content: center;
         gap: 1.5rem;
         flex-wrap: wrap;
    }
     .stat-item {
         padding-right: 1.5rem;
    }
    /* Why Us Mobile */
     .why-us-grid {
         flex-direction: column;
         align-items: center;
         gap: 3rem;
         padding-top: 0;
    }
     .why-us-item {
         max-width: 100%;
         padding: 0 1rem;
    }
     .why-us-item.featured {
         margin-top: 0;
    }
}
/* Tablet Pionowo / Duży Telefon */
 @media (max-width: 768px) {
     .offer-tabs {
         flex-direction: column;
         gap: 1rem;
         align-items: center;
         width: 100%;
    }
     .tab-line {
         display: none;
    }
     .tab-btn.active {
         border-bottom: 2px solid #1791C3;
    }
    .cookie-banner {
          /* Zamiast paska na całą szerokość, robimy pływającą kartę */
          bottom: -150px; 
          left: 15px;
          right: 15px;
          width: calc(100% - 30px);
          margin-bottom: 15px;
          border-radius: 15px;
          padding: 1rem 1.2rem;
          box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
          border: 1px solid rgba(0, 0, 0, 0.05);
     }

     .cookie-banner.show {
          bottom: 0;
     }

     .cookie-container {
          flex-direction: column;
          text-align: left; /* Tekst od lewej lepiej się czyta w pionie */
          gap: 12px;
     }

     .cookie-text p {
          font-size: 0.8rem; /* Nieco mniejszy font, by nie zajmował ekranu */
          line-height: 1.4;
     }

     .cookie-buttons {
          width: 100%;
     }

     .cookie-btn {
          width: 100%; /* Przycisk na całą szerokość karty, łatwiej kliknąć kciukiem */
          padding: 0.7rem 2rem;
          font-size: 0.85rem;
          text-align: center;
     }
}
/* Mały Telefon */
 @media (max-width: 550px) {
     .nav-links a {
         font-size: 0.85rem;
    }
     .hero-title {
         font-size: 2.2rem;
    }
     .phone-number {
         font-size: 0.9rem;
    }
     .stat-number {
         font-size: 1.8rem;
    }
     .hero-stats {
         gap: 1rem;
    }
     .stat-item {
         padding-right: 0;
         flex-basis: 100%;
         border: none;
    }
     .stat-item:not(:last-child)::after {
         display: none;
    }
     .logo-item {
         width: 140px;
         height: 80px;
    }
     .logo-item img {
         max-width: 100px;
         max-height: 60px;
    }
}
/* --- PODSTRONA GALERIA --- */
 .gallery-section {
     padding: 8rem 5% 4rem;
    /* Duży padding z góry, bo navbar jest fixed */
     background: #ffffff;
     text-align: center;
     min-height: 100vh;
}
 .gallery-header {
     margin-bottom: 4rem;
}
 .gallery-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: #414141;
}
/* Gradient na słowie "realizacje." */
 .gallery-title span {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
}
 .gallery-subtitle {
     font-size: 1rem;
     color: #666;
     font-weight: 400;
}
/* SIATKA ZDJĘĆ */
 .gallery-grid {
     display: grid;
    /* 4 kolumny o równej szerokości */
     grid-template-columns: repeat(4, 1fr);
     gap: 1.5rem;
    /* Odstęp między zdjęciami */
     max-width: 1400px;
     margin: 0 auto;
}
 .gallery-item {
     width: 100%;
    /* Ustalamy wysokość kafelka, żeby były równe */
     height: 300px;
     border-radius: 10px;
     overflow: hidden;
    /* Żeby zdjęcie nie wystawało przy zoomie */
     cursor: pointer;
     box-shadow: 0 4px 15px rgba(0,0,0,0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
    /* Zdjęcie wypełnia kafelek bez zniekształceń */
     transition: transform 0.5s ease;
     display: block;
}
/* Efekt Hover */
 .gallery-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
 .gallery-item:hover img {
     transform: scale(1.05);
    /* Lekki zoom zdjęcia */
}
/* Styl dla aktywnego linku w menu (żeby "Galeria" była np. pogrubiona) */
 .active-page {
     font-weight: 600 !important;
     color: #1791C3 !important;
}
/* --- RESPONSYWNOŚĆ GALERII --- */
 @media (max-width: 1200px) {
     .gallery-grid {
         grid-template-columns: repeat(3, 1fr);
        /* 3 kolumny na mniejszych laptopach */
    }
}
 @media (max-width: 768px) {
     .gallery-grid {
         grid-template-columns: repeat(2, 1fr);
        /* 2 kolumny na tabletach */
         gap: 1rem;
    }
     .gallery-item {
         height: 250px;
    }
}
 @media (max-width: 480px) {
     .gallery-grid {
         grid-template-columns: 1fr;
        /* 1 kolumna na telefonach */
    }
     .gallery-item {
         height: 300px;
    }
}
/* --- PRELOADER --- */
 #preloader {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: #ffffff;
    /* Białe tło zasłaniające stronę */
     z-index: 9999;
    /* Musi być nad wszystkim (nawet nad navbarem) */
     display: flex;
     justify-content: center;
     align-items: center;
     transition: opacity 0.5s ease, visibility 0.5s ease;
    /* Płynne znikanie */
}
 body.loaded #preloader {
     opacity: 0;
     visibility: hidden;
     pointer-events: none;
}
 .loader {
     animation: rotate 1s infinite;
     height: 50px;
     width: 50px;
}
 .loader:before, .loader:after {
     border-radius: 50%;
     content: "";
     display: block;
     height: 20px;
     width: 20px;
}
 .loader:before {
     animation: ball1 1s infinite;
     background-color: #1791C3;
    /* Twój niebieski */
     box-shadow: 30px 0 0 #36A9D8;
    /* Twój jasny niebieski */
     margin-bottom: 10px;
}
 .loader:after {
     animation: ball2 1s infinite;
     background-color: #36A9D8;
    /* Twój jasny niebieski */
     box-shadow: 30px 0 0 #1791C3;
    /* Twój niebieski */
}
 @keyframes rotate {
     0% {
         transform: rotate(0deg) scale(0.8) 
    }
     50% {
         transform: rotate(360deg) scale(1.2) 
    }
     100% {
         transform: rotate(720deg) scale(0.8) 
    }
}
 @keyframes ball1 {
     0% {
         box-shadow: 30px 0 0 #36A9D8;
    }
     50% {
         box-shadow: 0 0 0 #36A9D8;
         margin-bottom: 0;
         transform: translate(15px, 15px);
    }
     100% {
         box-shadow: 30px 0 0 #36A9D8;
         margin-bottom: 10px;
    }
}
 @keyframes ball2 {
     0% {
         box-shadow: 30px 0 0 #1791C3;
    }
     50% {
         box-shadow: 0 0 0 #1791C3;
         margin-top: -20px;
         transform: translate(15px, 15px);
    }
     100% {
         box-shadow: 30px 0 0 #1791C3;
         margin-top: 0;
    }
}
/* --- FOOTER STYLES --- */
 .main-footer {
     background-color: #f9f9f9;
     padding: 0 20px 20px;
    /* Zmieniamy padding-top na 0, bo separator go zastąpi */
     color: #666;
     font-size: 0.9rem;
     line-height: 1.6;
     position: relative;
}
 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     gap: 40px;
}
 .footer-top-separator {
     width: 95%;
     height: 1px;
     margin-top: 5px;
     background: rgba(65, 65, 65, 0.9);
     margin-bottom: 60px;
     margin-left: auto;
     margin-right: auto;
}
 .footer-column {
     flex: 1;
     min-width: 200px;
}
 .footer-column h3 {
     color: #333;
     font-size: 1.1rem;
     font-weight: 700;
}
 .footer-column strong {
     color: #444;
     display: block;
     margin-top: 10px;
}
/* Linki w stopce */
 .footer-link, .footer-menu a, .footer-legal-links a {
     color: #888;
     text-decoration: none;
     transition: color 0.3s ease;
     display: block;
}
 .footer-link:hover, .footer-menu a:hover, .footer-legal-links a:hover {
     color: #1791C3;
}
/* Pierwsza kolumna specyficzne */
 .footer-logo {
     max-width: 257px;
     max-height: 58px;
     margin-bottom: 20px;
}
 .footer-work-hours {
     margin-bottom: 30px;
}
 .footer-legal-links a {
     font-size: 0.8rem;
     margin-bottom: 5px;
}
/* Lista linków */
 .footer-menu {
     list-style: none;
     padding: 0;
}
 .footer-menu li {
     margin-bottom: 10px;
}
/* Prawa autorskie na dole */
 .footer-bottom {
     max-width: 1200px;
     margin: 40px auto 0;
     padding-top: 20px;
     border-top: 1px solid #eee;
     text-align: center;
     font-size: 0.8rem;
     color: #aaa;
}
/* Responsywność dla telefonów */
 @media (max-width: 768px) {
     .footer-container {
         flex-direction: column;
         text-align: center;
    }
     .footer-menu li, .footer-legal-links a {
         display: inline-block;
         margin: 5px 10px;
    }
}
/* --- SEKCJA POWIERZCHNIE --- */
 .surfaces-section {
     padding: 100px 5%;
     background-color: #ffffff;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 80vh;
}
 .surfaces-container {
     max-width: 1200px;
     width: 100%;
     display: flex;
     align-items: center;
     gap: 60px;
    /* Odstęp między obrazkiem a tekstem */
}
/* Lewa strona - Obrazek */
 .surfaces-image {
     flex: 1;
     display: flex;
     justify-content: center;
}
 .surfaces-image img {
     width: 100%;
     max-width: 600px;
    /* Dopasuj do wielkości swojego renderu */
     height: auto;
}
/* Prawa strona - Treść */
 .surfaces-content {
     flex: 1;
}
 .surfaces-title {
     font-size: 3rem;
     color: #333;
     font-weight: 800;
     margin-bottom: 30px;
     line-height: 1.1;
}
 .surfaces-title span {
     color: #1791C3;
    /* Twój niebieski */
}
 .surfaces-text p {
     font-size: 1.1rem;
     color: #555;
     line-height: 1.7;
     margin-bottom: 25px;
}
/* Sekcja z numerem telefonu na dole */
 .surfaces-cta {
     font-size: 1.3rem;
     color: #333;
     margin-top: 40px;
     font-weight: 500;
}
 .surfaces-cta strong {
     color: #333;
     font-weight: 700;
     margin-left: 5px;
}
/* Responsywność dla urządzeń mobilnych */
 @media (max-width: 992px) {
     .surfaces-container {
         flex-direction: column;
         text-align: center;
         gap: 40px;
    }
     .surfaces-title {
         font-size: 2.2rem;
    }
     .surfaces-image img {
         max-width: 100%;
    }
}
 .hidden-field {
     display: none !important;
}
/* --- PODSTRONA KONTAKT --- */
 .contact-page {
     padding: 120px 5% 60px;
     background-color: #fff;
     max-width: 1400px;
     margin: 0 auto;
}
 .contact-info-grid {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 80px;
}
 .contact-card {
     flex: 1;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     padding: 0 20px;
}
 .contact-icon-circle {
     width: 80px;
     height: 80px;
     border: 1px solid #333;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     margin-bottom: 25px;
     color: #1791C3;
}
 .contact-icon-circle svg {
     width: 35px;
     height: 35px;
}
 .contact-card h3 {
     font-size: 1.4rem;
     color: #333;
     margin-bottom: 15px;
}
 .contact-card p {
     font-size: 0.95rem;
     color: #777;
     margin-bottom: 20px;
     line-height: 1.6;
}
/* Interaktywne Teksty (Twoja prośba) */
 .contact-links {
     display: flex;
     flex-direction: column;
     gap: 8px;
}
 .interactive-text {
     color: #666;
     text-decoration: none;
     font-size: 1.2rem;
     transition: all 0.3s ease;
     cursor: pointer;
}
/* Podświetlenie na niebiesko po najechaniu */
 .interactive-text:hover {
     color: #1791C3;
}
 .interactive-text.no-click {
     cursor: default;
}
/* Interakcja: podświetlenie po najechaniu na godziny (opcjonalnie) */
 .interactive-text.no-click:hover {
     color: #1791C3;
     transition: color 0.3s ease;
}
/* Separatory pionowe */
 .contact-divider {
     width: 1px;
     height: 150px;
     background-color: rgba(0, 0, 0, 0.5);
     margin-top: 40px;
}
/* FORMULARZ */
 .contact-form-container {
     max-width: 600px;
    /* Nieco węższy dla lepszego wyglądu */
     margin: 80px auto 0;
     display: flex;
     flex-direction: column;
     align-items: center;
    /* Centruje ikonę i nagłówek w pionie */
     text-align: center;
}
 .contact-icon-circle.small {
     width: 60px;
     height: 60px;
     margin-bottom: 20px;
}
 .contact-form-container h2 {
     font-size: 1.8rem;
     margin-bottom: 30px;
     color: #333;
}
 .modern-form {
     display: flex;
     flex-direction: column;
     gap: 20px;
    /* Zwiększony odstęp między inputami na 20px */
     width: 100%;
}
 .form-input {
     width: 100%;
     padding: 15px 20px;
     border: 1px solid #ddd;
     border-radius: 10px;
     font-family: inherit;
     font-size: 0.95rem;
     transition: all 0.3s ease;
     outline: none;
}
/* Podświetlenie po kliknięciu (focus) */
 .form-input:focus {
     border-color: #1791C3;
     background-color: #fcfdfe;
    /* Delikatna zmiana tła przy kliknięciu */
     box-shadow: 0 4px 15px rgba(23, 145, 195, 0.08);
}
 textarea.form-input {
     min-height: 180px;
     resize: vertical;
}
/* Checkbox */
 .form-checkbox {
     display: flex;
     align-items: flex-start;
     gap: 15px;
     text-align: left;
     margin-top: 10px;
     cursor: pointer;
}
 .form-checkbox input[type="checkbox"] {
     display: none;
}
 .custom-checkbox {
     width: 20px;
     height: 20px;
     border: 1px solid #ddd;
     border-radius: 4px;
     position: relative;
     flex-shrink: 0;
     margin-top: 3px;
     transition: border-color 0.3s ease;
}
 .form-checkbox input[type="checkbox"]:checked + .custom-checkbox {
     border-color: #1791C3;
}
 .custom-checkbox::before, .custom-checkbox::after {
     content: '';
     position: absolute;
     top: 50%;
     left: 50%;
     width: 12px;
     height: 2px;
     background-color: #1791C3;
     display: none;
    /* Ukryte */
}
 .custom-checkbox::before {
     transform: translate(-50%, -50%) rotate(45deg);
}
/* Linia 2 krzyżyka */
 .custom-checkbox::after {
     transform: translate(-50%, -50%) rotate(-45deg);
}
/* Pokaż krzyżyk gdy checkbox jest zaznaczony */
 .form-checkbox input[type="checkbox"]:checked + .custom-checkbox::before, .form-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
     display: block;
}
 .form-checkbox label {
     font-size: 0.75rem;
     color: #999;
     line-height: 1.4;
}
 .checkbox-text {
     font-size: 0.9rem;
    /* Bardzo mały tekst, typowy dla zgód RODO */
     color: #999;
    /* Jasny szary kolor, żeby tekst nie dominował */
     line-height: 1.3;
    /* Zwarte linie tekstu */
     text-align: left;
    /* Wyrównanie do lewej */
     cursor: pointer;
    /* Łapka po najechaniu, bo to część labela */
     user-select: none;
    /* Zapobiega przypadkowemu zaznaczaniu tekstu przy klikaniu */
}
 .form-checkbox:hover .checkbox-text {
     color: #777;
}
 .submit-btn {
     margin-top: 20px;
     padding: 15px 40px;
     background: #fff;
     border: 1px solid #333;
     border-radius: 50px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     align-self: center;
}
 .submit-btn:hover {
     background: linear-gradient(90deg, #1791C3 0%, #36A9D8 100%);
     color: #fff;
     border-color: transparent;
}
/* Responsywność */
 @media (max-width: 968px) {
     .contact-info-grid {
         flex-direction: column;
         align-items: center;
         gap: 50px;
    }
     .contact-divider {
         display: none;
    }
}
 #form-status {
     width: 100%;
     max-width: 600px;
     margin-bottom: 20px;
     padding: 15px;
     border-radius: 10px;
     display: none;
    /* Ukryte domyślnie */
     font-weight: 500;
     font-size: 0.9rem;
     animation: fadeIn 0.5s ease;
}
 .status-success {
     background-color: #e8f5e9;
     color: #2e7d32;
     border: 1px solid #c8e6c9;
     display: block !important;
}
 .status-error {
     background-color: #ffebee;
     color: #c62828;
     border: 1px solid #ffcdd2;
     display: block !important;
}
/* TABLET */
 @media (max-width: 1024px) {
     .hero {
         flex-direction: column;
         text-align: center;
    }
     .hero-right {
         max-width: 100%;
    }
}
/* TELEFON */
 @media (max-width: 600px) {
     .hero {
         padding: 3rem 1.5rem;
    }
     .hero-left img {
         max-width: 90%;
    }
}
/* DUŻE EKRANY (2K i więcej) */
 @media (min-width: 1921px) {
     .hero {
         max-width: 2000px;
    }
}
 .gallery-categories {
     display: flex;
     justify-content: center;
     gap: 1rem;
     margin-bottom: 3rem;
     flex-wrap: wrap;
}
 .gallery-btn {
     width: 213px;
     height: 50px;
     border-radius: 31px;
     border: 0.5px solid #414141;
     background: #FBFBFB;
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     font-weight: 500;
     color: #414141;
     cursor: pointer;
     transition: all 0.3s ease;
}
/* AKTYWNY */
 .gallery-btn.active {
     border: 0.5px solid #1791C3;
     color: #1791C3;
}
/* HOVER */
 .gallery-btn:hover {
     border-color: #1791C3;
     color: #1791C3;
}
 .lazy-img {
     filter: blur(10px);
     transition: 0.3s;
}
/* --- MEDIA QUERIES DLA URZĄDZEŃ MOBILNYCH --- */
 @media (max-width: 768px) {
    /* Mniejsze marginesy wokół całego modala */
     .modal {
         padding: 10px;
    }
    /* Zdejmujemy sztywne 300px wysokości, żeby obrazek mógł być mniejszy */
     .modal-image-container {
         min-height: 200px;
         max-height: 30vh;
        /* Niech obrazek zajmie max 30% wysokości ekranu */
    }
    /* Zmniejszamy ogromne marginesy boczne w treści */
     .modal-content-container {
         padding: 1.5rem 1.2rem;
    }
    /* Zmniejszamy tytuł i opisy, żeby nie przytłaczały */
     #modal-title {
         font-size: 1.5rem;
    }
     #modal-desc {
         font-size: 0.95rem;
    }
    /* Mniejszy przycisk zamykania X w zwykłym trybie */
     .close-modal {
         top: 10px;
         right: 10px;
         width: 35px;
         height: 35px;
         font-size: 30px;
    }
    /* --- POPRAWKI DLA TRYBU SIMPLE MODE (Samo zdjęcie) --- */
    /* Musimy upewnić się, że krzyżyk (X), który ucieka na -50px w górę, nie wyjdzie całkowicie poza ekran telefonu */
     .modal.simple-mode .close-modal {
         top: -40px;
         right: 5px;
    }
    /* Zmniejszamy max-height, żeby zostawić miejsce na krzyżyk u góry */
     .modal.simple-mode #modal-img {
         max-height: 80vh;
    }
}
/* --- POPRAWKI DLA NISKICH EKRANÓW (np. 1024x600, telefony w poziomie) --- */
 @media (max-height: 650px) {
    /* Upewniamy się, że wrapper nie wyskoczy poza ekran i włączy scrolla */
     .modal-wrapper {
         max-height: 90vh;
    }
    /* Drastycznie zmniejszamy miejsce dla obrazka */
     .modal-image-container {
         min-height: 150px;
        /* Pozbywamy się blokady 300px */
         max-height: 35vh;
        /* Obrazek zajmie max 35% wysokości okna */
    }
    /* Zmniejszamy marginesy wewnętrzne w treści */
     .modal-content-container {
         padding: 1rem 1.5rem;
    }
    /* Zmniejszamy odstępy między elementami */
     #modal-title {
         font-size: 1.4rem;
         margin-bottom: 0.2rem;
    }
     .modal-subtitle, #modal-desc, .modal-features {
         margin-bottom: 0.8rem;
    }
     .modal-footer {
         padding-top: 1rem;
    }
    /* --- TRYB SAMEGO ZDJĘCIA --- */
     .modal.simple-mode #modal-img {
         max-height: 80vh;
    }
    /* Ściągamy krzyżyk trochę niżej, żeby nie ucięło go na górze ekranu */
     .modal.simple-mode .close-modal {
         top: -35px;
         right: 10px;
    }
}
 @media (max-width: 800px) {
     .prev-btn {
         left: 10px;
    }
     .next-btn {
         right: 10px;
    }
}
