/* =========================================
   ZMIENNE CSS
========================================= */
:root {
    --primary-dark: #0f1626; 
    --primary-light: #1b263b; 
    --accent-color: #E35B27; 
    --accent-hover: #c44d1e;
    --text-main: #4a4a4a;
    --text-light: #777777;
    --bg-light: #ffffff;
    --bg-gray: #f8fafc; 
    --border-color: #eaeaea;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
}

.sharp-heading {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 2.3rem;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.accent-color { color: var(--accent-color); }
.text-white { color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.bg-light { background-color: var(--bg-light); }
.section-padding { padding: 90px 0; }

/* =========================================
   NAWIGACJA (DESKTOP)
========================================= */
.navbar {
    background: var(--bg-light);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo img { height: 45px; }

.nav-menu ul { display: flex; gap: 35px; align-items: center; }
.nav-menu > ul > li > a {
    font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px;
    text-transform: uppercase; color: var(--primary-dark); padding: 5px 0; position: relative;
    letter-spacing: 0.5px;
}
.nav-menu > ul > li > a:hover, 
.nav-menu > ul > li > a.active { color: var(--accent-color); }

.nav-menu > ul > li > a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-menu > ul > li > a:hover::after,
.nav-menu > ul > li > a.active::after { width: 100%; }

/* Dropdown (Rozwijane menu na desktopie) */
.dropdown { position: relative; padding: 35px 0; }
.dropdown-content {
    visibility: hidden; opacity: 0; position: absolute; top: 100%; 
    left: 50%; transform: translate(-50%, 15px);
    background: var(--bg-light); min-width: 250px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-top: 3px solid var(--accent-color); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; text-align: center;
}
@media (min-width: 992px) {
    .dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
}

.dropdown-content a { 
    padding: 16px 20px; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.05); color: var(--text-main); display: block; position: relative;
}
.dropdown-content li:last-child a { border-bottom: none; }
.dropdown-content a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 10px; left: 50%; transform: translateX(-50%);
    background-color: var(--accent-color); transition: width 0.3s ease;
}
.dropdown-content a:hover { color: var(--accent-color); background: transparent; }
.dropdown-content a:hover::after { width: 40%; }

.mobile-menu-btn { display: none; font-size: 24px; color: var(--primary-dark); cursor: pointer; }

/* =========================================
   HERO & SLIDER
========================================= */
.hero-wrapper { position: relative; margin-top: 90px; }
.hero-slider { position: relative; height: 85vh; min-height: 600px; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15,22,38,0.9) 0%, rgba(15,22,38,0.4) 100%);
}
.slide-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center; padding-bottom: 70px;
}
.slider-sharp-title {
    font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 4.5rem; 
    line-height: 1.05; text-transform: uppercase; letter-spacing: -1px;
}
.seo-text { font-size: 1.15rem; font-weight: 400; max-width: 600px; color: #e0e0e0; line-height: 1.7; }

.anim-line {
    display: inline-block; opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.slide.active .anim-left { transform: translateX(0); opacity: 1; animation: slideInLeft 0.8s forwards; }
.slide.active .anim-right { transform: translateX(0); opacity: 1; animation: slideInRight 0.8s forwards 0.2s; }
.slide.active .anim-up { transform: translateY(0); opacity: 1; animation: fadeInUp 0.8s forwards 0.4s; }

@keyframes slideInLeft { from { transform: translateX(-40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* =========================================
   FORMULARZ CTA
========================================= */
.slider-form-container { position: relative; margin-top: -65px; z-index: 10; }
.callback-box {
    background: var(--bg-light); padding: 35px 45px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex; justify-content: space-between; align-items: center;
    border-left: 8px solid var(--accent-color);
}
.callback-text h3 { font-size: 1.6rem; margin-bottom: 5px; font-weight: 800; color: var(--primary-dark); }
.callback-form { display: flex; gap: 15px; }
.callback-form input {
    padding: 16px 20px; border: 1px solid #ddd; font-family: inherit; font-size: 15px; width: 280px; outline: none; transition: 0.3s;
}
.callback-form input:focus { border-color: var(--accent-color); }
.btn-primary {
    background: var(--accent-color); color: var(--bg-light); border: none; padding: 16px 45px; 
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; cursor: pointer; transition: var(--transition);
}
.btn-primary:hover { background: var(--accent-hover); }

/* =========================================
   WSPÓLNE ELEMENTY
========================================= */
.sub-heading {
    font-family: 'Montserrat', sans-serif; color: var(--accent-color);
    font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
    display: block; margin-bottom: 10px; font-size: 14px;
}
.shield-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
    background: rgba(227, 91, 39, 0.1); color: var(--accent-color);
    font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 4px;
}

/* =========================================
   PROCES REALIZACJI
========================================= */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.process-card {
    background: var(--bg-light); padding: 45px 35px; position: relative;
    border: 1px solid var(--border-color); transition: var(--transition); border-radius: 6px;
}
.hover-sharp:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(15,22,38,0.06); border-color: var(--accent-color); }
.step-number {
    font-family: 'Montserrat', sans-serif; font-size: 5rem; font-weight: 900;
    color: var(--bg-gray); position: absolute; top: 10px; right: 20px; line-height: 1; z-index: 1;
}
.sharp-card-title { font-size: 1.3rem; margin-bottom: 15px; position: relative; z-index: 2; font-weight: 800; color: var(--primary-dark); }
.process-card p { position: relative; z-index: 2; color: var(--text-light); }

/* =========================================
   O NAS
========================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; }
.sharp-image { width: 100%; box-shadow: -15px 15px 0 var(--bg-gray); border: 1px solid var(--border-color); border-radius: 6px; }
.experience-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--primary-dark);
    color: var(--bg-light); padding: 25px; display: flex; flex-direction: column;
    align-items: center; box-shadow: 0 10px 20px rgba(0,0,0,0.2); border-radius: 4px;
}
.experience-badge .years { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 900; color: var(--accent-color); line-height: 1; }
.experience-badge .text { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.sharp-heading-multi { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.5rem; line-height: 1.2; text-transform: uppercase; }
.sharp-heading-multi .dark { color: var(--primary-dark); }
.sharp-heading-multi .accent { color: var(--accent-color); }
.about-text-content p { color: var(--text-main); margin-bottom: 15px; font-size: 1.05rem; }

.signature-box { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.signature-line { width: 4px; height: 50px; background-color: var(--accent-color); }
.signature-font { font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: var(--primary-dark); line-height: 1; margin-right: 15px; }
.signature-details { display: flex; flex-direction: column; justify-content: center; }
.signature-details .name { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--primary-dark); font-size: 15px; }
.signature-details .title { font-size: 12px; color: var(--text-light); font-weight: 600; text-transform: uppercase;}

/* =========================================
   DLACZEGO WARTO NAM ZAUFAĆ
========================================= */
.why-us-layout {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: stretch;
}
.why-image img {
    height: 100%; width: 100%; object-fit: cover;
    box-shadow: 15px 15px 0 var(--bg-light); border-radius: 6px;
}
.why-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.why-feature-card {
    background: var(--bg-light); padding: 30px 25px; border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color);
    transition: var(--transition); text-align: center;
}
.why-feature-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--accent-color);
}
.why-icon {
    font-size: 32px; color: var(--accent-color); margin-bottom: 15px;
    display: inline-block; padding: 15px; background: rgba(227, 91, 39, 0.08); border-radius: 50%;
}
.why-feature-card h4 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; color: var(--primary-dark); }
.why-feature-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.5; }

/* =========================================
   USŁUGI
========================================= */
.services-desc { color: var(--text-light); max-width: 800px; margin: 0 auto; font-size: 1.1rem; }
.services-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card {
    background: var(--bg-light); border: 1px solid var(--border-color);
    padding: 40px 30px; text-align: left; transition: var(--transition);
    border-bottom: 4px solid transparent; border-radius: 6px;
}
.service-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.06); transform: translateY(-5px); border-bottom-color: var(--accent-color); }
.service-icon { font-size: 35px; color: var(--accent-color); margin-bottom: 20px; }
.service-card h4 { font-size: 1.2rem; font-weight: 800; margin-bottom: 15px; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* =========================================
   OBSZAR DZIAŁANIA
========================================= */
.area-section { position: relative; padding: 120px 0; background: #e0e5ec; overflow: hidden; }
.map-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.6; z-index: 1; filter: grayscale(20%);
}
.area-modern-container { position: relative; z-index: 2; }
.area-modern-card {
    display: flex; background: var(--bg-light); border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); overflow: hidden;
    border-top: 6px solid var(--primary-dark);
}
.area-text-part { padding: 60px; flex: 1.3; }
.area-text-part p { color: var(--text-main); font-size: 1.05rem; }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.city-grid li { font-weight: 700; font-size: 15px; color: var(--primary-dark); }
.city-grid i { font-size: 18px; margin-right: 5px; }
.area-image-part { flex: 1; position: relative; }
.area-image-part img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   STOPKA
========================================= */
.footer { background: var(--primary-dark); color: #cccccc; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-heading { color: var(--bg-light); font-size: 1.15rem; margin-bottom: 25px; position: relative; font-weight: 800; }
.footer-heading::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 40px; height: 3px; background: var(--accent-color); }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-contact i { color: var(--accent-color); margin-right: 10px; width: 15px; }
.privacy-policy a { color: var(--bg-light); font-size: 13px; opacity: 0.8; font-weight: 700; }
.privacy-policy a:hover { opacity: 1; color: var(--accent-color); }
.footer-bottom { background: #0b101c; padding: 25px 0; font-size: 13px; font-weight: 600;}
.dev-link { color: var(--accent-color); font-weight: 800; letter-spacing: 0.5px;}

/* =========================================
   ANIMACJE CSS & PŁYWAJĄCE ELEMENTY
========================================= */
.floating-cta {
    position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
    background: var(--accent-color); color: var(--bg-light); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 24px;
    z-index: 99; box-shadow: 0 5px 20px rgba(227, 91, 39, 0.4); animation: pulse 2s infinite;
}
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--primary-dark); color: var(--bg-light); display: flex;
    justify-content: center; align-items: center; font-size: 18px; z-index: 99;
    opacity: 0; visibility: hidden; transition: var(--transition); border-radius: 6px;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent-color); transform: translateY(-5px); }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 91, 39, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(227, 91, 39, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 91, 39, 0); }
}

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal.slide-right { transform: translateX(-50px); }
.reveal.slide-right.active { transform: translateX(0); }
.reveal.slide-up { transform: translateY(60px); }
.reveal.slide-up.active { transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; } .delay-6 { transition-delay: 0.6s; }


/* =========================================
   RESPONSYWNOŚĆ (DESKTOP / TABLET)
========================================= */
@media (max-width: 1024px) {
    .callback-box { flex-direction: column; text-align: center; }
    .process-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-us-layout { grid-template-columns: 1fr; }
    .why-image img { height: 400px; }
    .services-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-sharp-title { font-size: 3.5rem; }
    .area-modern-card { flex-direction: column; }
    .area-image-part { min-height: 350px; }
}

/* =========================================
   RESPONSYWNOŚĆ (MOBILE)
========================================= */
@media (max-width: 991px) {
    
    /* GŁÓWNE MENU MOBILNE */
    .navbar .nav-menu {
        position: fixed !important; 
        top: 90px !important; 
        left: -120% !important; /* Domyślnie schowane poza ekranem */
        width: 100% !important; 
        height: calc(100vh - 90px) !important;
        background: var(--bg-light) !important; 
        display: flex !important; 
        flex-direction: column !important; 
        padding: 30px !important; 
        border-top: 1px solid var(--border-color) !important; 
        overflow-y: auto !important;
        transition: left 0.4s ease-in-out !important;
        z-index: 999 !important;
    }
    
    /* Pokaż menu po kliknięciu hamburgera */
    .navbar .nav-menu.active { 
        left: 0 !important; 
    }
    
    .navbar .nav-menu ul { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important; 
        align-items: flex-start !important; 
        width: 100% !important;
    }
    
    .mobile-menu-btn { display: block !important; }
    
/* PODMENU (OFERTA) W WERSJI MOBILNEJ */
    .navbar .dropdown { 
        padding: 0 !important; 
        width: 100% !important; 
    }
    
    .navbar .dropdown-content {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        
        /* KLUCZOWE: Zgniatamy podmenu do 0 pikseli wysokości i ukrywamy! */
        max-height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
        transition: all 0.3s ease-in-out !important;
    }
    
    /* Rozwija podmenu DOPERO po kliknięciu w "OFERTA" (JS dodaje klase .active) */
    .navbar .dropdown.active .dropdown-content { 
        max-height: 600px !important; /* Pozwala menu się rozwinąć */
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 10px !important;
        border-left: 2px solid var(--accent-color) !important;
    }
    
    .navbar .dropdown-content a { 
        padding: 12px 20px !important; 
        color: var(--text-main) !important; 
    }
    
    /* Usuwamy animowaną kreskę z desktopowego podmenu */
    .navbar .dropdown-content a::after { 
        display: none !important; 
    }
    
    /* RESZTA WERSJI MOBILNEJ */
    .callback-form { flex-direction: column; width: 100%; }
    .callback-form input { width: 100%; }
    .slider-sharp-title { font-size: 2.5rem; }
    .why-features-grid, .services-cards-grid { grid-template-columns: 1fr; }
    .area-text-part { padding: 30px; }
    .floating-cta { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 20px; }
    .scroll-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
    .delay-1, .delay-2, .delay-3, .delay-4, .delay-5, .delay-6 { transition-delay: 0s !important; }
}
/* =========================================
   STYLIZACJA PODSTRON (Nowoczesny, Czysty Wygląd)
========================================= */

/* Sub-Hero */
.subpage-hero {
    position: relative; padding: 180px 0 100px;
    background-size: cover; background-position: center; background-attachment: fixed;
    margin-top: 90px;
}
.subpage-hero .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15,22,38,0.92) 0%, rgba(15,22,38,0.6) 100%); z-index: 1;
}
.relative { position: relative; }
.z-2 { z-index: 2; }
.breadcrumbs {
    font-size: 13px; font-weight: 600; color: #a0aabf; margin-bottom: 20px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.breadcrumbs a { color: var(--bg-light); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--accent-color); }
.breadcrumbs i { margin: 0 10px; font-size: 10px; color: var(--accent-color); }

/* Wstęp "Corporate" (Elegancki, profesjonalny tekst) */
.corporate-intro-section {
    padding: 80px 0;
}
.corporate-article {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}
.corporate-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.corporate-article h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
}
.corporate-article p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

/* Układ Zig-Zag (Mniejsze zdjęcia + Hover Zoom) */
.zigzag-row { padding: 60px 0; }
.zigzag-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.row-reverse .zigzag-container { direction: rtl; }
.row-reverse .zigzag-text, .row-reverse .zigzag-image { direction: ltr; }
.zigzag-text p { color: var(--text-main); font-size: 1.1rem; margin-top: 15px; line-height: 1.7; }

.zigzag-image {
    background: var(--bg-light); /* Odcina tło od szarości sekcji */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.zigzag-image img {
    max-width: 70%; /* Mocne zmniejszenie zdjęć brama1-4 */
    max-height: 350px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.zigzag-row:hover .zigzag-image img {
    transform: scale(1.15); /* Płynny zoom po najechaniu rzędu */
}

/* Produkty (Układ poziomy z separacją) */
.products-list-modern {
    display: flex;
    flex-direction: column;
}
.product-item-horizontal {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
.product-item-horizontal:last-child { border-bottom: none; }

.product-item-img {
    flex: 0 0 350px; /* Stała, kontrolowana szerokość dla zdjęć DTM */
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.product-item-img img {
    max-width: 100%;
    max-height: 200px;
    mix-blend-mode: multiply; /* Usuwa białe tło z plików JPG na jasnym tle */
    transition: transform 0.4s ease;
}
.product-item-horizontal:hover .product-item-img img { transform: scale(1.1); }

.product-item-info { flex: 1; }
.product-title { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 15px; }
.product-desc { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; margin: 0; }

/* Poprawiony Baner CTA (Duży margines od stopki!) */
.cta-modern-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c44d1e 100%);
    padding: 60px 40px;
    border-radius: 12px;
    margin: 60px auto 100px auto; /* 100px odstępu od dołu! Nie dotknie stopki. */
    box-shadow: 0 20px 40px rgba(227, 91, 39, 0.25);
    text-align: center;
}
.cta-modern-banner p { font-size: 1.15rem; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6;}
.btn-dark-cta {
    background: var(--primary-dark); color: #ffffff; padding: 18px 45px;
    font-size: 16px; font-weight: 800; text-transform: uppercase;
    display: inline-block; transition: all 0.3s ease; border-radius: 4px;
}
.btn-dark-cta:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(15,22,38,0.3); }

/* Poprawki Responsywne podstron - Dodaj to do swoich Media Queries */
@media (max-width: 991px) {
    .subpage-hero { padding: 120px 0 60px; }
    .zigzag-container { grid-template-columns: 1fr; gap: 30px; }
    .row-reverse .zigzag-container { direction: ltr; } 
    .zigzag-image img { max-width: 90%; }
    
    .product-item-horizontal { flex-direction: column; gap: 20px; padding: 40px 0; text-align: center; }
    .product-item-img { flex: 0 0 auto; width: 100%; max-width: 350px; margin: 0 auto; }
    
    .cta-modern-banner { margin: 40px auto 60px auto; padding: 50px 20px; }
}
/* =========================================
   NOWY BANER PARALLAX CTA
========================================= */
.parallax-cta {
    position: relative;
    padding: 120px 20px;
    background-attachment: fixed; /* To tworzy efekt Parallax! */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5); /* Cień rzucany do środka */
}

.parallax-cta .overlay {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 22, 38, 0.85); /* Mocno przyciemniona nakładka by biały tekst był czytelny */
    z-index: 1;
}

.parallax-cta .container {
    position: relative; 
    z-index: 2;
}

.btn-accent-cta {
    background: var(--accent-color);
    color: #ffffff;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-accent-cta:hover {
    background: #ffffff;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(227, 91, 39, 0.3);
}

/* Helper wyrównujący tekst w pionie w .intro-modern-row */
.align-items-center {
    align-items: center !important;
}
/* =========================================
   POPRAWKI BRAMY AUTOMATYCZNE - NOWY UKŁAD
========================================= */

/* Nowy wprowadzający układ (Tekst obok zdjęcia) */
.modern-split-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.accent-line-left {
    width: 60px; height: 4px; background: var(--accent-color); margin-top: 15px; border-radius: 2px;
}
.split-text p {
    font-size: 1.1rem; line-height: 1.8; color: var(--text-main);
}
.split-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 500px;
}

/* Wymuszenie 3 kafelków ZALET w jednej linii */
.why-features-grid-inline {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
}

/* Responsywność dla nowego układu na telefonach i tabletach */
@media (max-width: 991px) {
    .modern-split-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .why-features-grid-inline {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================
   STYLIZACJA KURTYNY PASKOWE
========================================= */

/* Industry Cards (Siatka branż) */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.industry-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.industry-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.industry-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Features List (Lista cech w ciemnej sekcji) */
.features-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-item i {
    font-size: 24px;
    margin-top: 5px;
}
.feature-item strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.feature-item p {
    color: #a0aabf;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Modern Gallery */
.product-gallery-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(15, 22, 38, 0.8);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .industry-grid, .features-list-grid, .product-gallery-modern {
        grid-template-columns: 1fr;
    }
    .gallery-item img { height: 250px; }
}
/* Nowoczesny układ dla sekcji NASZE KURTYNY */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dwie równe kolumny */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item-modern:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-item-modern i {
    font-size: 20px;
    margin-top: 4px; /* Wyrównanie ikony z tekstem */
}

.feature-item-modern p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Responsywność dla mobile */
@media (max-width: 768px) {
    .features-grid-modern {
        grid-template-columns: 1fr; /* Na telefonie wszystko w jednej kolumnie */
    }
}

/* =========================================
   NOWOCZESNE KARTY PRODUKTOWE (POZIOME)
   (Wykorzystywane w ofercie FAAC, segmentowych itp.)
========================================= */

.modern-products-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modern-product-row {
    display: flex;
    align-items: center;
    background: var(--bg-light); /* Białe tło samej karty */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    gap: 40px; /* Odstęp między szarym kontenerem ze zdjęciem a tekstem */
}

.modern-product-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

/* Szary kontener na zdjęcie */
.modern-product-img {
    flex: 0 0 350px; /* Stała szerokość na komputerze */
    background: var(--bg-gray); /* Jasnoszare tło - odcina produkt od białej strony */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    align-self: stretch; /* Rozciąga się na całą wysokość karty */
}

/* Magiczny trik z usuwaniem białego tła */
.modern-product-img img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    mix-blend-mode: darken; /* KLUCZ: Sprawia, że białe tło z plików JPG staje się przezroczyste! */
    transition: transform 0.4s ease;
}

.modern-product-row:hover .modern-product-img img {
    transform: scale(1.08); /* Delikatne powiększenie po najechaniu */
}

/* Część z tekstem */
.modern-product-info {
    flex: 1;
    padding: 40px 40px 40px 0;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.product-desc {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Wypunktowane parametry */
.product-specs {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.product-specs li {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* RESPONSYWNOŚĆ (Dla telefonów i tabletów) */
@media (max-width: 991px) {
    .modern-product-row {
        flex-direction: column; /* Zmiana układu z poziomego na pionowy */
        text-align: center;
        gap: 0;
    }

    .modern-product-img {
        flex: 0 0 auto;
        width: 100%;
        padding: 30px;
        border-bottom: 1px solid var(--border-color);
    }

    .modern-product-info {
        padding: 30px;
    }

    .product-specs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}
/* =========================================
   STYLIZACJA PRODUKTÓW NICE
========================================= */

.nice-product-section {
    padding: 80px 0;
}

.nice-product-title {
    font-size: 2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.nice-product-text {
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 30px;
}

.nice-subtitle {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 40px;
}

/* Układ Podzielony: Tekst - Zdjęcie */
.nice-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

/* Szlaban: Zdjęcie po lewej (węższe), Tekst po prawej (szerszy) */
.nice-split-row.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

/* Czysta, profesjonalna lista z kropkami */
.nice-list {
    list-style: none;
    padding: 0;
}

.nice-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-main);
    font-size: 1.05rem;
}

/* Mała pomarańczowa kropka jako wypunktowanie */
.nice-list li::before {
    content: '\f111'; /* Unicode kropki z FontAwesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 6px;
}

/* Kontenery obrazków z usuwaniem białego tła */
.nice-split-image {
    text-align: center;
    padding: 20px;
}

.nice-split-image img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    mix-blend-mode: darken; /* Usuwa białe tło z JPG/PNG! */
    transition: transform 0.4s ease;
}

.nice-split-image img:hover {
    transform: scale(1.05);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

/* Responsywność */
@media (max-width: 991px) {
    .nice-split-row, .nice-split-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nice-split-row.reverse .nice-split-image {
        order: -1; /* Zdjęcie nad tekstem na telefonie */
    }
    .nice-product-title {
        font-size: 1.6rem;
    }
}
/* =========================================
   STYLIZACJA ZAKŁADKI GALERIA
========================================= */

/* Nowoczesna siatka responsywna */
.modern-gallery-grid {
    display: grid;
    /* Automatycznie dopasowuje liczbę kolumn do szerokości ekranu! */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3; /* Utrzymuje równe, estetyczne prostokąty */
    background: var(--bg-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-photo-item:hover img {
    transform: scale(1.1);
}

/* Nakładka najechania myszką */
.gallery-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(227, 91, 39, 0.85); /* Kolor wiodący z przezroczystością */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-photo-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-hover-overlay i {
    color: #ffffff;
    font-size: 2.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-photo-item:hover .gallery-hover-overlay i {
    transform: translateY(0);
}

/* =========================================
   LIGHTBOX (Pełnoekranowy podgląd zdjęcia)
========================================= */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 99999; /* Zawsze na samej górze */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 22, 38, 0.95); /* Bardzo ciemny granat */
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
}

.lightbox-loader {
    position: absolute;
    color: var(--accent-color);
    font-size: 3rem;
    z-index: 1;
}

/* Przyciski nawigacji */
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: #ffffff;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px; right: 30px;
    width: 50px; height: 50px;
    font-size: 24px;
}

.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px; height: 60px;
    font-size: 24px;
}
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* Dostosowanie Lightboxa do telefonów */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        width: 40px; height: 40px;
        font-size: 18px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close {
        top: 15px; right: 15px;
        width: 40px; height: 40px;
        font-size: 18px;
    }
}
/* =========================================
   STYLIZACJA KART BLOGA (MODERN GRID)
========================================= */

.blog-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny na desktopie */
    gap: 40px;
    padding: 20px 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--accent-color);
}

.blog-card-img {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-gray);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wymusza poprawne proporcje i cięcie zamiast spłaszczania */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08); /* Przybliżenie zdjęcia przy najechaniu */
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pozwala karcie wypełnić wolną przestrzeń by wszystkie miały ten sam rozmiar */
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    font-weight: 600;
}

.blog-meta i {
    color: var(--accent-color);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-title a {
    color: var(--primary-dark);
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Popycha guzik na sam dół w przypadku różnej długości tekstów */
}

.btn-read-more {
    align-self: flex-start;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--accent-color);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px); /* Animacja strzałki uciekającej w prawo */
}

/* Responsywność dla Bloga */
@media (max-width: 1024px) {
    .blog-modern-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 768px) {
    .blog-modern-grid {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
}
/* =========================================
   STYLIZACJA WNĘTRZA WPISU NA BLOGU
========================================= */

/* Pasek ścieżki (breadcrumbs) nad białym kontenerem */
.post-breadcrumbs-bar {
    background: var(--bg-gray);
    padding: 120px 0 30px 0; /* Zapewnia odstęp od stałego menu (90px) */
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.post-breadcrumbs-bar a {
    color: var(--primary-dark);
    transition: color 0.3s;
}

.post-breadcrumbs-bar a:hover {
    color: var(--accent-color);
}

.post-breadcrumbs-bar i {
    margin: 0 10px;
    font-size: 10px;
}

/* Główny kontener wpisu - Wyśrodkowany i węższy dla optymalnego czytania */
.single-post-wrapper {
    background: var(--bg-gray);
    padding-bottom: 80px;
}

.single-post-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Obrazek na całą szerokość karty */
.post-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Nagłówek i Meta */
.post-header {
    padding: 40px 50px 20px 50px;
    border-bottom: 1px solid var(--border-color);
}

.post-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.post-meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.post-meta-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Treść główna artykułu */
.post-content {
    padding: 40px 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.post-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin: 40px 0 20px 0;
    font-weight: 800;
}

.post-content h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: underline;
}

/* Spis treści (TOC) */
.post-toc {
    background: var(--bg-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
    margin: 40px 0;
}

.post-toc h4 {
    margin: 0 0 15px 0 !important;
    font-size: 1.2rem;
}

.post-toc ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.post-toc li {
    margin-bottom: 12px !important;
}

.post-toc a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.post-toc a:hover {
    color: var(--accent-color);
}

/* Tabela porównawcza */
.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
}

.post-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.post-table th, .post-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.post-table th {
    background: var(--primary-dark);
    color: #ffffff;
    font-weight: 700;
}

.post-table tr:hover td {
    background: var(--bg-gray);
}

/* Udostępnianie */
.post-share {
    padding: 20px 50px 40px 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsywność dla pojedynczego wpisu */
@media (max-width: 768px) {
    .post-header, .post-content, .post-share {
        padding-left: 25px;
        padding-right: 25px;
    }
    .post-title {
        font-size: 1.6rem;
    }
    .post-meta-info {
        flex-direction: column;
        gap: 10px;
    }
}
/* =========================================
   STYLIZACJA ROZWIJANEGO FAQ (AKORDEON)
========================================= */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(227, 91, 39, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-icon {
    font-size: 14px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}
/* =========================================
   DODATKOWE STYLE WNĘTRZA WPISU (ZDJĘCIA I CTA)
========================================= */

/* Zdjęcia wplecione w treść wpisu */
.post-inline-image {
    margin: 40px 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

.post-inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Moduł zachęcający do kontaktu pod postem */
.post-cta-box {
    padding: 30px 40px;
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
}

.post-cta-box h4 {
    margin-top: 0 !important;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.post-cta-box p {
    font-size: 1.05rem;
    margin-bottom: 0;
}
/* =========================================
   STYLIZACJA PODSTRONY KONTAKT (MODERN)
========================================= */

.contact-modern-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Kolumna z danymi jest delikatnie szersza niż mapa */
    gap: 60px;
    align-items: flex-start;
}

/* Karty informacyjne */
.contact-detail-card {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.contact-detail-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(227, 91, 39, 0.08);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 24px;
    color: var(--accent-color);
    background: rgba(227, 91, 39, 0.06);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    flex-shrink: 0; /* Zapobiega spłaszczaniu ikony */
}

.card-text-content h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.card-text-content p {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.card-text-content p:last-child {
    margin-bottom: 0;
}

/* Wyróżnione linki w kartach */
.contact-link-highlight {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link-highlight:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Elastyczna powłoka mapy */
.map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-gray);
    line-height: 0; /* Usuwa zbędne wolne przestrzenie pod iframe */
}

.map-wrapper iframe {
    width: 100% !important; /* Wymuszenie pełnej elastyczności */
    height: 520px !important; /* Nowoczesna, wyższa wysokość na desktopie */
    display: block;
}

/* Wyśrodkowana linia akcentująca */
.accent-line-left {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin-top: 15px;
}

/* Dostosowanie responsywne dla mniejszych ekranów */
@media (max-width: 991px) {
    .contact-modern-layout {
        grid-template-columns: 1fr; /* Na tabletach i telefonach kolumny lądują jedna pod drugą */
        gap: 40px;
    }
    
    .map-wrapper iframe {
        height: 400px !important; /* Optymalna wysokość mapy na telefonach */
    }
}
/* =========================================
   NOWOCZESNY BANER PLIKÓW COOKIES (RODO)
========================================= */
.cookie-banner {
    position: fixed;
    bottom: -150px; /* Domyślnie schowany pod ekranem */
    left: 0;
    right: 0;
    background: #0f1626; /* Ciemny korporacyjny granat ze stopki */
    color: #ffffff;
    padding: 20px;
    z-index: 9999999; /* Nad wszystkimi elementami, pływającymi CTA itp. */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    border-top: 3px solid var(--accent-color); /* Pomarańczowa linia akcentująca */
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cookie-banner.show {
    bottom: 0; /* Wyjeżdża płynnie na dół ekranu */
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-container p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #a0aabf; /* Czytelny, lekko przyciemniony jasny tekst */
    font-family: 'Open Sans', sans-serif;
}

.cookie-container a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cookie-container a:hover {
    color: #ffffff;
}

.btn-cookie-accept {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.btn-cookie-accept:hover {
    background: #ffffff;
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(227, 91, 39, 0.2);
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 15px;
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .btn-cookie-accept {
        width: 100%; /* Na telefonie przycisk zajmuje pełną szerokość dla wygody klikania */
        padding: 14px;
    }
}
/* Baner Cookies - poprawka responsywna */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Większy margines dla pewności na mobile */
    left: 0;
    right: 0;
    background: #0f1626;
    color: #ffffff;
    padding: 20px;
    z-index: 9999999;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    border-top: 3px solid var(--accent-color);
    transition: bottom 0.5s ease-in-out;
    visibility: hidden; /* Dodane dla pewności */
}

.cookie-banner.show {
    bottom: 0;
    visibility: visible;
}

/* Wersja na telefon - upewnijmy się, że przycisk jest łatwy do kliknięcia */
@media (max-width: 768px) {
    .btn-cookie-accept {
        display: block;
        width: 100%;
        margin-top: 15px;
        padding: 15px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent; /* Usuwa szare podświetlenie przy klikaniu na mobile */
    }
}
/* =========================================
   NAPRAWA WYRÓWNANIA KONTAKTU (MAPA I DANE)
========================================= */

.contact-modern-layout {
    display: flex;
    flex-wrap: wrap; /* Pozwala na przejście do nowej linii na mobile */
    gap: 40px;
    align-items: stretch; /* Kluczowe: sprawia, że obie kolumny mają tę samą wysokość */
}

.contact-info-col {
    flex: 1; /* Zajmuje dostępną przestrzeń */
    min-width: 350px; /* Minimalna szerokość przed przejściem do nowej linii */
}

.contact-map-col {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    flex: 1; /* Mapa rozciąga się na pełną wysokość karty danych */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-gray);
    /* Upewniamy się, że mapa wypełnia dostępną wysokość kolumny */
    min-height: 500px; 
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

/* Wyrównanie wierzchołków - opcjonalne, jeśli chcesz idealnego styku górnych krawędzi */
@media (min-width: 992px) {
    .contact-info-col {
        padding-top: 5px; /* Drobna korekta wizualna by zrównać nagłówek z mapą */
    }
}
/* Ustawienie głównego kontenera kontaktowego */
.contact-modern-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch; /* To sprawia, że obie kolumny mają zawsze tę samą wysokość */
}

/* Kolumna z danymi */
.contact-info-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Odstępy między kafelkami */
}

/* Kolumna z mapą */
.contact-map-col {
    flex: 1;
    min-width: 300px;
    display: flex;
}

/* Kontener mapy */
.map-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #eee;
    height: 100%; /* Mapa wypełni całą dostępną wysokość kolumny */
}

/* Wymuszenie na iframe rozciągnięcia */
.map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
/* =========================================
   NAPRAWA WYŚWIETLANIA BLOGA NA TELEFONACH
========================================= */
@media (max-width: 768px) {
    .single-post-container.reveal {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}
/* =========================================
   SIATKA PRODUKTÓW (PILOTY DO BRAM)
========================================= */

.pilots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pilot-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pilot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.pilot-card-img {
    background: var(--bg-gray);
    padding: 30px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pilot-card-img img {
    max-height: 100%;
    max-width: 100%;
    mix-blend-mode: darken; /* Niezwykle ważne: sprawia że białe tło plików JPG "znika" w szarym kafelku */
    transition: transform 0.4s ease;
}

.pilot-card:hover .pilot-card-img img {
    transform: scale(1.1); /* Delikatne przybliżenie pilota po najechaniu myszką */
}

.pilot-card-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pilot-card-info h4 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pilot-card-info p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Popycha wypunktowaną listę zawsze na sam dół */
}

.pilot-card-info .nice-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.pilot-card-info .nice-list li::before {
    top: 5px; /* Delikatna korekta położenia kropki dla mniejszej czcionki */
}