/* --- ZMIENNE --- */
:root {
    --red: #E60000;
    --dark-red: #bd0000;
    --dark: #111111;
    --darker: #0d0d0d;
    --card-dark: #1a1a1a;
    --grey: #f8f9fa;
    --off-white: #fafafa;
    --text: #333;
    --white: #fff;
    --text-light: #d4d4d4;
    --nowak-green: #00e676; 
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --trans: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-md: 0 15px 35px rgba(0,0,0,0.1);
    --shadow-red: 0 10px 30px rgba(230, 0, 0, 0.3);
    html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.75; overflow-x: hidden; font-weight: 400; position: relative; }
p { margin-bottom: 20px; }
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 15px; }
.text-red { color: var(--red); }
.text-white { color: var(--white) !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-light { background: var(--grey); }
.bg-off-white { background: var(--off-white); }
.bg-dark { background: var(--dark); color: var(--white); }
.mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; } .mb-4 { margin-bottom: 1.5rem; } .text-center { text-align: center; }

/* --- BUTTONS --- */
.btn { display: inline-block; padding: 14px 35px; font-weight: 700; text-transform: uppercase; border-radius: 4px; font-size: 13px; border: 2px solid transparent; cursor: pointer; letter-spacing: 0.5px; position: relative; z-index: 1; transition: var(--trans); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--dark-red); transform: translateY(-3px); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-white-big-pulse { background: var(--white); color: var(--red); animation: pulse-white-big 2s infinite; font-size: 20px; padding: 18px 45px; border-radius: 50px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.btn-white-big-pulse:hover { transform: translateY(-3px); }

/* --- TOP BAR (POPRAWIONY) --- */
.top-bar {
    background: #111; /* Ciemne tło */
    color: #ccc;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #222;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-top a {
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info-top a:hover {
    color: #fff;
}

.contact-info-top .sep {
    margin: 0 15px;
    color: #444;
}

.location-info-top {
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* --- NAVBAR (POPRAWIONY - MNIEJSZY FONT, LEPSZE ODSTĘPY) --- */
.navbar {
    background: #fff;
    height: 80px; /* Nieco niższy pasek */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Ważne: max-width musi być wystarczająco duże, by pomieścić menu */
    max-width: 1350px; 
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 45px; /* Optymalna wysokość logo */
    width: auto;
}

/* Lista linków - Flexbox */
.nav-links {
    display: flex;
    gap: 15px; /* Mniejszy odstęp między linkami */
    align-items: center;
    margin: 0 20px; /* Odstęp od logo i przycisku */
    list-style: none;
}

.nav-links li {
    flex-shrink: 0; /* Zapobiega ściskaniu */
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px; /* Mniejsza czcionka - klucz do zmieszczenia wszystkiego */
    text-transform: uppercase;
    color: #111;
    padding: 10px 5px;
    letter-spacing: 0.3px;
    position: relative;
    white-space: nowrap; /* Zapobiega łamaniu tekstu */
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #E60000; /* Czerwony kolor po najechaniu */
}

/* Czerwona kreska pod linkiem */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #E60000;
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Przycisk w menu */
.nav-actions .btn {
    padding: 10px 20px;
    font-size: 12px;
    white-space: nowrap;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #111;
    border-radius: 2px;
}

/* --- RESPONSYWNOŚĆ --- */
/* Przełączamy na menu mobilne wcześniej (np. przy 1200px), żeby uniknąć bałaganu na tabletach */
@media (max-width: 1250px) {
    .nav-links {
        display: none; /* Ukryj linki desktopowe */
    }
    .nav-actions .btn {
        display: none; /* Opcjonalnie ukryj przycisk, zostaw tylko hamburgera */
    }
    .hamburger {
        display: flex; /* Pokaż hamburgera */
    }
    .top-bar {
        display: none; /* Opcjonalnie ukryj top-bar na mniejszych ekranach */
    }
}

/* --- MOBILE MENU --- */
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 17, 17, 0.98); z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.close-menu { position: absolute; top: 30px; right: 30px; background: none; border: none; color: var(--white); font-size: 40px; cursor: pointer; }
.mobile-links-list { text-align: center; width: 80%; }
.mobile-links-list li { margin: 15px 0; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); transform: translateY(30px); opacity: 0; transition: 0.4s ease; }
.mobile-menu-overlay.active .mobile-links-list li { transform: translateY(0); opacity: 1; }
.mobile-links-list a { color: var(--white); font-size: 18px; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.mobile-contact-box { margin-top: 40px; text-align: center; color: #aaa; }
.mobile-phone-btn { color: var(--red); font-size: 24px; font-weight: 700; display: block; margin-top: 10px; }

/* --- HERO SLIDER --- */
.hero-slider { height: 85vh; min-height: 600px; position: relative; display: flex; align-items: center; overflow: hidden; }
.slide { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: -1; }
.slide.active { opacity: 1; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); color: var(--white); border: 2px solid rgba(255,255,255,0.3); width: 50px; height: 50px; border-radius: 50%; font-size: 20px; cursor: pointer; z-index: 10; transition: var(--trans); }
.slider-arrow:hover { background: var(--red); border-color: var(--red); }
.prev-arrow { left: 30px; } .next-arrow { right: 30px; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)); z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content h1, .hero-content p { color: var(--white); margin-bottom: 25px; } 
.hero-label { background: var(--red); padding: 8px 15px; font-size: 13px; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 25px; color: var(--white); }
.hero h1 { font-size: 4rem; line-height: 1.1; }
.hero p { font-size: 1.3rem; max-width: 700px; font-weight: 400; line-height: 1.6; }
.hero-btns { display: flex; gap: 20px; margin-top: 10px; }
.scroll-down-arrow { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: var(--white); z-index: 10; font-size: 24px; cursor: pointer; opacity: 0.9; animation: bounce 2s infinite; }
.scroll-down-arrow:hover { opacity: 1; color: var(--red); }
.scroll-text { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; font-weight: 600; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);} 40% {transform: translateX(-50%) translateY(-10px);} 60% {transform: translateX(-50%) translateY(-5px);} }

/* --- LICZNIKI --- */
.stats-counter { border-bottom: 1px solid #eee; position: relative; z-index: 5; }
.counter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.counter-item { background: var(--white); padding: 30px 20px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--trans); }
.counter-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.counter-item i { font-size: 50px; color: var(--red); margin-bottom: 15px; }
.counter-item .counter { font-size: 40px; font-weight: 800; color: var(--dark); }
.counter-item span { font-size: 40px; font-weight: 800; color: var(--red); }
.counter-item p { color: #666; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; font-weight: 700; }

/* --- O FIRMIE --- */
.about-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.image-frame img { border-radius: 5px; box-shadow: -20px 20px 0 var(--red); transition: var(--trans); }
.sub-title { color: var(--red); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 15px; }
.about-text-col h2 { font-size: 2.2rem; margin-bottom: 20px; }
.seo-content p { margin-bottom: 20px; color: #555; font-size: 1.05rem; }
.advantages-grid-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advantage-card-compact { background: var(--white); padding: 25px; border: 1px solid #eee; border-radius: 8px; display: flex; align-items: flex-start; gap: 15px; transition: var(--trans); }
.advantage-card-compact:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.advantage-card-compact::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--red); transition: var(--trans); }
.advantage-card-compact:hover::after { width: 100%; }
.adv-icon-sm { font-size: 28px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.adv-content h4 { font-size: 16px; margin-bottom: 5px; }
.adv-content p { font-size: 13px; color: #666; line-height: 1.5; margin: 0; }
.extended-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.ext-value-item { background: var(--white); padding: 30px; border-radius: 8px; border: 1px solid #eee; text-align: left; transition: var(--trans); }
.ext-value-item:hover { border-color: var(--red); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-5px); }
.ext-value-item i { font-size: 32px; color: var(--red); margin-bottom: 15px; display: block; }
.ext-value-item h4 { font-size: 18px; margin-bottom: 10px; }
.ext-value-item p { font-size: 14px; color: #666; line-height: 1.6; }

/* --- WARTOŚCI (DARK) --- */
.values-section-dark { 
    background-color: #0b0b0b; 
    color: var(--white); 
    position: relative; 
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); 
    background-size: 40px 40px; 
    z-index: 1; 
    border: none; overflow: hidden; margin-bottom: -1px; 
}
.title-bar-center { width: 60px; height: 3px; background: var(--red); margin: 20px auto 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; }
.value-card-dark { background: #111; padding: 40px 25px; border: 1px solid #222; text-align: center; border-radius: 12px; position: relative; transition: var(--trans); overflow: hidden; }
.value-card-dark:hover { transform: translateY(-10px); border-color: #333; }
.step-bg-dark { position: absolute; top: 10px; right: 20px; font-size: 60px; font-weight: 900; color: rgba(255,255,255,0.03); z-index: 0; transition: var(--trans); font-family: var(--font-head); }
.value-card-dark:hover .step-bg-dark { color: rgba(255,255,255,0.06); transform: scale(1.1); }
.value-icon { font-size: 40px; color: var(--red); margin-bottom: 25px; position: relative; z-index: 1; }
.value-card-dark h3 { font-size: 18px; margin-bottom: 15px; color: var(--white); position: relative; z-index: 1; }
.value-card-dark p { font-size: 13px; color: #888; line-height: 1.7; position: relative; z-index: 1; }

/* --- OFERTA --- */
.skew-separator { position: relative; margin-top: -1px; z-index: 2; }
.skew-separator::before { content: ''; position: absolute; top: -60px; left: 0; width: 100%; height: 61px; background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 1; }
.services-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 60px; position: relative; z-index: 2; }
.service-card-modern { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--trans); text-align: center; border: 1px solid transparent; position: relative; overflow: hidden; }
.service-card-modern:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-color: #eee; }
.service-card-modern::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 4px; background: var(--red); transition: var(--trans); }
.service-card-modern:hover::after { width: 100%; }
.card-icon-top { width: 80px; height: 80px; margin: 0 auto 25px; background: #f4f4f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--red); transition: var(--trans); }
.red-icon-bg { background: rgba(230, 0, 0, 0.1); }
.service-card-modern:hover .card-icon-top { background: var(--red); color: var(--white); transform: scale(1.1) rotate(5deg); }
.service-card-modern h3 { font-size: 20px; margin-bottom: 15px; }
.service-card-modern p { color: #666; font-size: 15px; line-height: 1.7; }

/* --- PROCESS --- */
.tag-red { background: var(--red); color: var(--white); padding: 2px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.step { border-left: 2px solid #333; padding-left: 25px; transition: var(--trans); padding-bottom: 20px; } 
.step:hover { border-left-color: var(--red); transform: translateX(10px); }
.step .num { font-size: 50px; font-weight: 800; color: #333; display: block; line-height: 1; margin-bottom: 15px; transition: var(--trans); }
.step:hover .num { color: var(--red); }
.step h4 { font-size: 18px; margin-bottom: 10px; color: var(--white); }
.step p { font-size: 14px; color: #888; line-height: 1.6; }

/* --- CTA IMAGE --- */
.cta-image-section { position: relative; overflow: hidden; padding: 120px 0; color: var(--white); }
.cta-image-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-attachment: fixed; z-index: 0; }
.cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1; }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 2.8rem; margin-bottom: 15px; color: var(--white); }
.cta-content p { font-size: 1.3rem; margin-bottom: 35px; opacity: 0.9; font-weight: 400; line-height: 1.6; }
@keyframes pulse-white-big { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 100% { box-shadow: 0 0 0 25px rgba(255,255,255,0); } }

/* --- FOOTER --- */
.footer-dark-restored { background: #0a0a0a; color: var(--text-light); padding-top: 80px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid #222; }
.footer-logo { background: var(--white); padding: 8px; border-radius: 4px; margin-bottom: 20px; max-width: 160px; }
.footer-desc { line-height: 1.8; color: #ccc; font-weight: 400; margin-bottom: 20px; }
.footer-socials a { display: inline-flex; width: 40px; height: 40px; background: #222; color: var(--white); align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; transition: var(--trans); }
.footer-socials a:hover { background: var(--red); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); border-left: 3px solid var(--red); padding-left: 15px; margin-bottom: 25px; font-size: 18px; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; font-weight: 500; transition: var(--trans); }
.footer-links a:hover { color: var(--red); padding-left: 5px; }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 15px; color: #ccc; }
.footer-contact i { color: var(--red); font-size: 18px; margin-top: 3px; }
.footer-contact a { color: #ccc; font-weight: 500; }
.footer-nip { font-size: 13px; margin-top: 25px; color: #888; font-weight: 500; }
.footer-bottom { background: #000; padding: 25px 0; margin-top: 0; color: #888; font-size: 14px; text-align: center; }

/* NOWAK DEV STYLE */
.dev-link { font-family: monospace; font-weight: 700; margin-left: 5px; cursor: pointer; }
.dev-link .bracket { color: var(--nowak-green); transition: color 0.3s ease; }
.dev-link .dev-name { color: var(--white); transition: color 0.3s ease; }
/* Hover effect: Swap colors */
.dev-link:hover .bracket { color: var(--white); }
.dev-link:hover .dev-name { color: var(--nowak-green); }

/* --- SCROLL TO TOP --- */
.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--red); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; opacity: 0; visibility: hidden; transition: var(--trans); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.scroll-top-btn.active { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--dark-red); transform: translateY(-5px); }

/* --- PHONE FLOAT --- */
.phone-float { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: var(--red); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; z-index: 990; box-shadow: var(--shadow-red); transition: var(--trans); }
.phone-float:hover { transform: scale(1.1); }
.phone-ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ANIMACJE */
.fade-up, .reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fade-up.active, .reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.15s; } .delay-2 { transition-delay: 0.3s; } .delay-3 { transition-delay: 0.45s; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav-links, .pulse-btn { display: none; }
    .hamburger { display: flex; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.8rem; }
    .footer-grid, .counter-grid, .values-grid, .extended-values-grid { grid-template-columns: 1fr; gap: 40px; }
    .top-bar { display: none; }
    .advantages-grid-compact { grid-template-columns: 1fr; }
    .services-grid-modern { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .hero-slider { height: 75vh; min-height: 500px; }
}
/* --- PAGE HEADER (DLA PODSTRON) --- */
.page-header {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}
.page-header-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background-size: cover; background-position: center;
    z-index: 0;
}
.page-header-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    z-index: 1;
}
.page-header-content {
    position: relative; z-index: 2; text-align: center; color: var(--white);
}
.page-header-content h1 {
    font-size: 3.5rem; margin-bottom: 10px; color: var(--white);
    text-transform: uppercase;
}
.breadcrumbs {
    font-size: 14px; color: #ccc; text-transform: uppercase; letter-spacing: 1px;
}

/* --- ABOUT FULL PAGE STYLES --- */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-block p {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* Cytat w tekście */
.quote-box {
    border-left: 4px solid var(--red);
    padding: 20px 0 20px 30px;
    margin: 30px 0;
    background: #fdfdfd;
    font-style: italic;
    color: var(--dark);
    font-weight: 600;
}

/* Zdjęcia po prawej */
.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.main-image-wrapper {
    position: relative;
}
.about-main-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.floating-experience {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--red);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-align: center;
}
.floating-experience .number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.floating-experience .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.secondary-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.secondary-images img:hover {
    transform: translateY(-5px);
}

/* --- FEATURES MODERN (ATUTY 3 KOLUMNY) --- */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.feature-box-modern {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--trans);
    border-top: 4px solid transparent;
}
.feature-box-modern:hover {
    transform: translateY(-10px);
    border-top-color: var(--red);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.f-icon {
    font-size: 40px;
    color: var(--red);
    margin-bottom: 25px;
}
.feature-box-modern h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
.feature-box-modern p {
    color: #666;
    font-size: 15px;
}

/* --- PARTNER BANNER --- */
.partner-banner {
    background: var(--dark);
    padding: 60px 0;
    border-top: 1px solid #222;
}
.partner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}
.partner-text h3 {
    color: var(--white);
    margin-bottom: 10px;
}
.partner-text p {
    color: #aaa;
    margin: 0;
}
.partner-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}
.partner-badge i {
    font-size: 30px;
    color: var(--red);
}
.partner-badge span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* --- RESPONSYWNOŚĆ O FIRMIE --- */
@media (max-width: 992px) {
    .about-grid-layout {
        grid-template-columns: 1fr;
    }
    .about-visuals {
        order: -1; /* Zdjęcie nad tekstem na mobile */
        margin-bottom: 40px;
    }
    .floating-experience {
        left: 0;
        bottom: -20px;
    }
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
    .partner-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* --- OFFER PAGE STYLES --- */

/* Grid dla szczegółowej oferty - 2 kolumny */
.offer-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.offer-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.offer-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--red);
}

/* Sekcja zdjęcia w karcie */
.offer-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.offer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-item:hover .offer-img-wrapper img {
    transform: scale(1.1);
}

/* Ikona na zdjęciu */
.offer-icon-overlay {
    position: absolute;
    bottom: -25px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.offer-icon-overlay.red-bg {
    background: var(--red);
}

/* Treść karty */
.offer-desc-content {
    padding: 40px 30px 30px;
}

.offer-desc-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.offer-desc-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Lista z ptaszkami */
.offer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.offer-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--red);
    font-size: 14px;
}

/* RESPONSYWNOŚĆ DLA OFERTY */
@media (max-width: 992px) {
    .offer-grid-detailed {
        grid-template-columns: 1fr; /* Jedna kolumna na mobilkach */
        gap: 30px;
    }
    
    .offer-img-wrapper {
        height: 200px;
    }
}

/* --- STYLIZACJA STRONY NORMY (NORMY.HTML) --- */

/* Grid dla kart norm */
.norms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Karta normy */
.norm-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    border-bottom: 4px solid transparent;
    border: 1px solid #eee;
}

.norm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--red);
}

/* Nagłówek karty (numer arkusza i ikona) */
.norm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.norm-id {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    background: var(--dark);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.norm-header i {
    font-size: 28px;
    color: var(--red);
}

.norm-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

.norm-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Lista w sekcji prawnej (ciemne tło) */
.legal-list {
    margin-top: 20px;
    list-style: none;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #ddd;
    font-size: 15px;
}

.legal-list i {
    color: var(--red);
    margin-top: 5px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Pudełko ostrzegawcze */
.legal-warning-box {
    background: rgba(230, 0, 0, 0.1); /* Przezroczysta czerwień */
    border: 2px solid var(--red);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: var(--white);
    max-width: 450px;
}

.legal-warning-box i {
    font-size: 40px;
    color: var(--red);
    margin-bottom: 15px;
}

.legal-warning-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 20px;
}

.legal-warning-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 0;
}

/* Responsywność dla Norm */
@media (max-width: 768px) {
    .legal-warning-box {
        margin-top: 40px;
    }
}

/* --- STYLIZACJA PORADNIKA (BLOG) --- */

/* Grid artykułów - 3 kolumny */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* Karta artykułu */
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--red);
}

/* Obrazek w artykule */
.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.1);
}

/* Data publikacji */
.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

/* Treść artykułu */
.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Rozciąga treść, by przyciski były równo na dole */
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark);
    transition: color 0.3s;
}

.blog-card:hover .blog-content h3 {
    color: var(--red);
}

.blog-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Wypycha przycisk na dół */
}

/* Przycisk Czytaj więcej */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--dark);
    transition: var(--trans);
    align-self: flex-start;
}

.read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s;
}

.read-more-btn:hover {
    color: var(--red);
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* Responsywność */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* --- STYLES FOR SINGLE BLOG POST (ARTYKUŁ) --- */

.article-section {
    background-color: var(--white);
}

/* Kontener treści artykułu - węższy dla lepszej czytelności */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Data publikacji */
.article-date {
    display: block;
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.article-date i {
    margin-right: 5px;
    color: var(--red);
}

/* Tytuł artykułu */
.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
}

.article-subtitle {
    font-size: 1.8rem;
    color: var(--red);
    margin-top: 40px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Pasek dekoracyjny pod tytułem */
.title-bar-left {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin-bottom: 30px;
}

/* Typografia tekstu */
.article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: justify; /* Opcjonalnie, dla efektu gazety */
}

/* Stopka artykułu z przyciskami */
.article-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Responsywność dla artykułu */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }
    .article-subtitle {
        font-size: 1.4rem;
    }
    .article-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* --- CONTACT PAGE STYLES --- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Kafelki z danymi kontaktowymi */
.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.info-item .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(230, 0, 0, 0.1);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--trans);
}

.info-item:hover .icon-box {
    background: var(--red);
    color: var(--white);
    transform: scale(1.1);
}

.info-item .text-box h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.info-item .text-box a {
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.info-item .text-box p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Formularz kontaktowy */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.modern-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark);
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--trans);
    background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230,0,0,0.1);
}

/* Wiadomości formularza */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none; /* Domyślnie ukryty */
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.w-100 {
    width: 100%;
}

/* Responsywna Mapa */
.map-section {
    width: 100%;
    line-height: 0; /* Usuwa dolny odstęp iframe */
}

.map-container {
    width: 100%;
    filter: grayscale(20%); /* Lekkie wyszarzenie mapy dla stylu */
    transition: filter 0.3s;
}

.map-container:hover {
    filter: grayscale(0%);
}

/* Responsywność Kontaktu */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- STYLIZACJA LINKU POLITYKI PRYWATNOŚCI W STOPCE --- */
.footer-privacy {
    margin-top: 15px; /* Odstęp od NIP */
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Odstęp między ikoną a tekstem */
    color: #ccc; /* Kolor tekstu taki jak reszta stopki */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent; /* Przygotowanie pod hover */
    padding-bottom: 2px;
}

.privacy-link i {
    font-size: 14px;
    color: var(--white); /* Ikona biała dla kontrastu, jak na screenie */
}

.privacy-link:hover {
    color: var(--white);
    border-bottom-color: var(--red); /* Czerwone podkreślenie po najechaniu */
}

/* --- POLITYKA PRYWATNOŚCI STYLES --- */

.legal-document {
    background-color: var(--white);
    color: var(--text);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section-block {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.legal-section-block:last-child {
    border-bottom: none;
}

.legal-section-block h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.legal-section-block h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 25px;
    background: var(--red);
    border-radius: 2px;
}

.legal-section-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    font-size: 15px;
}

/* Wyróżniony box administratora */
.admin-box {
    background: var(--grey);
    padding: 20px;
    border-left: 4px solid var(--red);
    border-radius: 4px;
    margin: 20px 0;
    font-size: 15px;
    color: var(--dark);
    line-height: 1.8;
}

.admin-box a {
    color: var(--red);
    font-weight: 600;
}

/* Stylizowana lista prawna */
.legal-list-styled {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.legal-list-styled li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.legal-list-styled li::before {
    content: '\f00c'; /* FontAwesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--red);
    font-size: 14px;
}

.note {
    font-size: 14px;
    font-style: italic;
    color: #888;
    margin-top: 10px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Ukryty na start */
    left: 0;
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    transition: bottom 0.5s ease-in-out;
    border-top: 3px solid var(--red);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #ddd;
}

.cookie-content a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-content a:hover {
    color: var(--red);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-banner {
        padding: 25px 20px;
    }
}

/* --- STYLIZACJA GALERII --- */

/* Filtry (Przyciski Kategorii) */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: var(--trans);
    font-size: 14px;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,0,0,0.3);
}

/* Grid Zdjęć (Masonry-like) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 250px; /* Stała wysokość dla równych kafelków */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Overlay z ikoną lupy */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* --- LIGHTBOX (MODAL) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--red);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsywność Galerii */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Mniejsze kafelki na mobile */
        gap: 10px;
    }
    .gallery-item {
        height: 150px;
    }
    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}
/* --- STYLE DLA PRZYCISKÓW PRZEWIJANIA (LIGHTBOX) --- */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001; /* Musi być nad zdjęciem */
    outline: none;
}

.lightbox-btn:hover {
    background: var(--red);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Responsywność przycisków na telefonach */
@media (max-width: 768px) {
    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.6); /* Ciemniejsze tło dla lepszej widoczności */
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

/* --- NOWE STYLE DLA FORMULARZA (ZAŁĄCZNIKI) --- */

.form-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    margin-top: -10px;
}

.form-attachments {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #ccc;
    margin-top: 10px;
}

.attachments-title {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.attachments-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.file-upload-group {
    margin-bottom: 15px;
}

.file-label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.file-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.file-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.file-input {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}

/* Responsywność dla formularza */
@media (max-width: 576px) {
    .form-attachments {
        padding: 15px;
    }
}

/* --- STYLIZACJA UPLOADU PLIKÓW (DASHED BOX) --- */
.upload-container {
    margin-top: 20px;
}

.upload-info {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Ukrywamy domyślny input w sposób bezpieczny dla walidacji HTML5 */
.custom-file-wrapper input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Stylizowana etykieta (Dashed Box) */
.custom-file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: 2px dashed #ccc; /* Przerywana ramka */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.custom-file-upload i {
    font-size: 18px;
    color: #777;
}

/* Efekt po najechaniu */
.custom-file-upload:hover {
    border-color: var(--red); /* Zmienia kolor ramki na czerwony */
    background-color: rgba(230, 0, 0, 0.03);
    color: var(--red);
}

.custom-file-upload:hover i {
    color: var(--red);
}

/* Wyświetlanie nazwy pliku po wybraniu */
.file-name-display {
    font-size: 12px;
    color: var(--red);
    margin-top: 5px;
    font-weight: 500;
    text-align: center;
    min-height: 18px; /* Rezerwuje miejsce */
}

/* --- STYLIZACJA CHECKBOXA RODO --- */
.privacy-checkbox-group {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start; /* Wyrównaj do góry przy długim tekście */
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    user-select: none;
}

/* Ukrywamy domyślny checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 1px;
    width: 1px;
    z-index: -1;
}
/* Własny kwadracik */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: 0.2s;
}

/* Tło po zaznaczeniu */
.checkbox-container input:checked ~ .checkmark {
    background-color: var(--red);
    border-color: var(--red);
}

/* "Ptaszek" (ikona) po zaznaczeniu */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text a {
    color: var(--red);
    text-decoration: underline;
}

/* Responsywność */
@media (max-width: 576px) {
    .custom-file-upload {
        flex-direction: column;
        padding: 20px 10px;
    }
}

/* =========================================
   NOWY BANER COOKIE (STYL ZE ZDJĘCIA)
   ========================================= */
.cookie-banner-modern {
    position: fixed;
    bottom: -150%; /* Ukryty na start */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1000px;
    background-color: #1a1d20; /* Ciemne tło dopasowane do stopki strony */
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #2a2e33;
}

/* Klasa aktywująca pokazanie baneru */
.cookie-banner-modern.show {
    bottom: 30px; /* Margines od dołu ekranu na komputerze */
}

.cookie-container {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 25px;
}

.cookie-icon-wrapper i {
    font-size: 45px;
    color: var(--red); /* Twoj główny kolor strony (czerwono-pomarańczowy) */
}

.cookie-text-content {
    flex: 1;
}

.cookie-text-content h4 {
    color: #ffffff;
    font-size: 17px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.cookie-text-content p {
    color: #cccccc;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.cookie-text-content a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cookie-text-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-action button {
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px; /* Zaokrąglony przycisk (pill) */
    white-space: nowrap;
    text-transform: uppercase;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .cookie-banner-modern {
        width: 100%;
        border-radius: 16px 16px 0 0; /* Zaokrąglenie tylko na górze */
        border-bottom: none;
        border-left: none;
        border-right: none;
    }
    .cookie-banner-modern.show {
        bottom: 0; /* Przyklejony do samej krawędzi na dole */
    }
    .cookie-container {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }
    .cookie-icon-wrapper i {
        font-size: 35px;
    }
    .cookie-action {
        width: 100%;
    }
    .cookie-action button {
        width: 100%;
    }
}