﻿
   
        /* ============================================
   SERVICES SECTION - MODERNIST 2026
   Bellator Professional
   ============================================ */

#products {
    padding: 120px 0;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c0392b;
    margin-bottom: 16px;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #c0392b;
}

#products .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a202c;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}

/* Primary Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.service-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(192,57,43,0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192,57,43,0.2);
    box-shadow: 0 32px 64px -24px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-accent {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef6f4;
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    color: #c0392b;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card:hover .service-icon {
    background: #c0392b;
    color: #ffffff;
    transform: scale(1.05);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c0392b;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link .arrow {
    font-style: normal;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    gap: 12px;
}

.service-card:hover .service-link .arrow {
    transform: translateX(4px);
}

/* Secondary Services */
.services-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card.secondary {
    padding: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.service-card.secondary:hover {
    background: #ffffff;
    border-color: rgba(192,57,43,0.15);
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #c0392b;
}

.service-card.secondary h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.service-card.secondary p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-secondary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #products {
        padding: 80px 0;
    }
    
    .services-grid,
    .services-secondary {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

/* Focus states for accessibility */
.service-card:focus-visible {
    outline: 2px solid #c0392b;
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: #ffffff; color: #1a1e24; scroll-behavior: smooth; line-height: 1.5; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        
        /* Zmienione kolory dla lepszego kontrastu - nowy ciemniejszy pomarańcz */
        :root {
            --primary-color: #c0392b;
            --primary-dark: #a93226;
            --primary-light: #e74c3c;
            --text-dark: #1a1e24;
            --text-light: #4a5568;
            --bg-light: #f9fafc;
        }
        
        /* Header */
        .site-header { position: sticky; top: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,0.03); z-index: 1000; border-bottom: 1px solid #eef2f6; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 0; }
        .logo-area { display: flex; align-items: center; cursor: pointer; background: #1a1e2c; border-radius: 14px; padding: 8px 20px; transition: 0.2s; border-left: 3px solid var(--primary-color); }
        .logo-area:hover { background: #2a2e3c; }
        .logo-area img { height: 40px; width: auto; display: block; }
        .logo-area img { 
    height: 32px; 
    width: auto; 
    display: block; 
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
        .nav-menu { display: flex; gap: 32px; flex-wrap: wrap; }
        .nav-menu a { text-decoration: none; font-weight: 600; color: #2c3e44; transition: 0.2s; font-size: 0.95rem; }
        .nav-menu a:hover, .nav-menu a.active-link { color: var(--primary-color); }
        .mobile-toggle { display: none; font-size: 28px; background: none; border: none; cursor: pointer; color: #1e2a3e; }
        
        /* Sekcje */
        main { outline: none; }
        section { padding: 80px 0; scroll-margin-top: 90px; }
        .section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 48px; letter-spacing: -0.02em; background: linear-gradient(120deg, #1e2a3e, var(--primary-color)); background-clip: text; -webkit-background-clip: text; color: transparent; }
        .grid-4, .grid-3, .grid-machines, .grid-gallery { display: grid; gap: 32px; }
        .grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
        .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
        .grid-machines { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
        .grid-gallery { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
        
        /* Karty */
        .product-card, .service-card { background: var(--bg-light); border-radius: 32px; padding: 32px 24px; text-align: center; transition: all 0.25s ease; border: 1px solid #eef2f8; cursor: pointer; }
        .product-card:hover, .service-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: 0 20px 30px -12px rgba(192,57,43,0.15); }
        .product-card h3, .service-card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text-dark); }
        .product-card p, .service-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
        
        /* Placeholder na zdjęcia - gotowy na Twoje fotki */
        .service-icon-placeholder {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px auto;
            background: linear-gradient(135deg, #f0f2f5 0%, #e0e4e8 100%);
            border-radius: 20px;
            transition: 0.3s ease;
        }
        .product-card:hover .service-icon-placeholder {
            transform: scale(1.05);
            background: linear-gradient(135deg, #fef6f0 0%, #fce8dc 100%);
        }
        .service-icon-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px;
        }
        
        /* Przyciski - POPRAWIONY KONTRAST (min 4.5:1) */
        .btn-outline, .btn-primary { 
            display: inline-block; 
            padding: 10px 24px; 
            border-radius: 30px; 
            font-weight: 700; 
            text-decoration: none; 
            transition: 0.2s; 
            cursor: pointer; 
            font-size: 0.9rem; 
            line-height: 1.3;
        }
        
        /* btn-primary - ciemne tło, biały tekst (kontrast ~8:1) */
        .btn-primary { 
            background: var(--primary-color); 
            color: #ffffff; 
            border: none;
        }
        .btn-primary:hover { 
            background: var(--primary-dark); 
            transform: scale(1.02); 
        }
        
        /* btn-outline - ciemna ramka, ciemny tekst (kontrast ~8:1 z białym tłem) */
        .btn-outline { 
            border: 2px solid var(--primary-color); 
            color: var(--primary-color); 
            background: #ffffff; 
        }
        .btn-outline:hover { 
            background: var(--primary-color); 
            color: #ffffff; 
        }
        
        /* Karty maszyn */
        .machine-card { background: white; border-radius: 28px; overflow: hidden; transition: all 0.25s; border: 1px solid #eef2f8; box-shadow: 0 8px 20px rgba(0,0,0,0.02); }
        .machine-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: 0 20px 30px -12px rgba(192,57,43,0.2); }
        .machine-img { width: 100%; height: 220px; object-fit: cover; background: #eef2f6; }
        .machine-content { padding: 24px; }
        .machine-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
        .machine-content p { color: var(--text-light); margin-bottom: 16px; }
        
        /* Galeria */
        .gallery-item { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: #f0f2f5; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
        .gallery-item img:hover { transform: scale(1.03); }
        
        /* Hero */
        .hero { background: linear-gradient(105deg, #fef8f2 0%, #ffffff 100%); padding: 60px 0; }
        .hero-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
        .hero-image { flex: 1; border-radius: 32px; overflow: hidden; box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2); }
        .hero-image img { width: 100%; height: auto; display: block; }
        .hero-content { flex: 1; }
        .hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin: 16px 0; color: var(--text-dark); }
        .hero h1 .clickable-link { color: var(--primary-color); cursor: pointer; transition: 0.2s; }
        .hero h1 .clickable-link:hover { text-decoration: underline; opacity: 0.8; }
        .hero-content p { color: #2c3e44; }
        .badge-orange { background: var(--primary-color); color: #ffffff; border-radius: 60px; padding: 8px 20px; display: inline-block; font-size: 0.85rem; font-weight: 700; }
        .download-buttons { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
        .download-btn { background: #1e2a3e; padding: 10px 24px; border-radius: 40px; color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; transition: 0.2s; }
        .download-btn:hover { background: var(--primary-color); transform: translateY(-2px); }
        
        .about-grid { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
        .about-text { flex: 1.5; }
        .about-text p { color: #2c3e44; }
        .about-stats { flex: 1; background: #fef6f0; border-radius: 40px; padding: 32px; }
        .about-stats ul { list-style: none; }
        .about-stats li { margin: 12px 0; display: flex; align-items: center; gap: 10px; color: var(--text-dark); }
        
        .faq-item { background: #ffffff; border-radius: 28px; margin-bottom: 16px; border: 1px solid #eef2f6; }
        .faq-question { padding: 22px 28px; font-weight: 700; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; color: var(--text-dark); }
        .faq-question span { color: var(--primary-color); font-size: 1.2rem; transition: transform 0.2s; }
        .faq-answer { padding: 0 28px 24px 28px; color: var(--text-light); display: none; border-top: 1px solid #eef2f6; }
        .faq-item.active .faq-answer { display: block; }
        .faq-item.active .faq-question span { transform: rotate(180deg); }
        
        /* Definicje - POPRAWIONY KONTRAST */
        .glossary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
        .glossary-card { background: #f9f9ff; padding: 24px; border-radius: 24px; border-left: 6px solid var(--primary-color); color: var(--text-dark); font-size: 1rem; line-height: 1.5; }
        .glossary-card strong { color: var(--primary-dark); font-weight: 800; display: block; margin-bottom: 8px; font-size: 1.1rem; }
        
        /* Języki */
        .lang-section { background: #f8fafd; padding: 40px 0; }
        .lang-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; }
        .lang-grid li a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: white; padding: 8px 20px; border-radius: 40px; font-weight: 500; font-size: 0.9rem; color: #1e2a3e; border: 1px solid #e2e8f0; transition: all 0.2s; }
        .lang-grid li a:hover { border-color: var(--primary-color); background: #fff6ef; transform: translateY(-2px); }
        
        /* Footer */
        .main-footer { background: #0f1722; color: #cbd5e6; padding: 48px 0 24px; }
        .footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-start; }
        .footer-info { max-width: 500px; color: #cbd5e6; }
        .footer-info p { color: #cbd5e6; }
        .footer-social { text-align: center; }
        .footer-social h3 { color: #ffffff; margin-bottom: 16px; font-size: 1rem; letter-spacing: 1px; font-weight: 600; }
        .social-icons { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
        .social-icons a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #cbd5e6; transition: 0.2s; font-size: 0.8rem; }
        .social-icons a span { font-size: 1.8rem; }
        .social-icons a:hover { color: var(--primary-light); transform: translateY(-3px); }
        .footer-links { text-align: right; }
        .footer-copyright-main { font-weight: 600; color: #ffffff; margin-bottom: 12px; }
        .footer-link { 
    color: var(--primary-light); 
    text-decoration: underline;
    font-weight: 500;
}
.footer-link:hover { 
    text-decoration: none;
}
        .footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid #1e2a3e; text-align: center; font-size: 0.8rem; color: #cbd5e6; }
        
        /* Kontakt - POPRAWIONY KONTRAST */
        .contact-modern-wrapper {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border-radius: 48px;
            padding: 48px;
            box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08);
            border: 1px solid rgba(192,57,43,0.15);
        }
        .contact-modern-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
        }
        .contact-modern-info {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .contact-modern-card {
            display: flex;
            align-items: center;
            gap: 20px;
            background: white;
            border-radius: 24px;
            padding: 20px 24px;
            transition: all 0.3s ease;
            border: 1px solid #eef2f8;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        }
        .contact-modern-card:hover {
            transform: translateX(8px);
            border-color: var(--primary-color);
            box-shadow: 0 8px 24px rgba(192,57,43,0.12);
        }
        .contact-modern-icon {
            font-size: 2rem;
            background: #fef6f0;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 18px;
            color: var(--primary-color);
        }
        .contact-modern-details h3 {
            font-size: 0.85rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary-dark);
            margin-bottom: 6px;
        }
        .contact-modern-details p, .contact-modern-details a {
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-dark);
            line-height: 1.4;
            text-decoration: none;
        }
        .contact-modern-details a:hover {
            color: var(--primary-color);
        }
        .contact-modern-map {
            background: white;
            border-radius: 28px;
            padding: 8px;
            border: 1px solid #eef2f8;
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        }
        .contact-modern-map-container {
            border-radius: 20px;
            overflow: hidden;
        }
        .contact-modern-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            padding: 20px 8px 12px 8px;
        }
        .contact-modern-buttons .btn-primary,
        .contact-modern-buttons .btn-outline {
            flex: 1;
            text-align: center;
            padding: 12px 16px;
            font-size: 0.9rem;
        }
        .contact-modern-note {
            text-align: center;
            padding: 12px 8px 8px 8px;
            font-size: 0.85rem;
            color: var(--text-light);
            border-top: 1px solid #eef2f8;
        }
        
        @media (max-width: 900px) {
            .nav-menu { display: none; width: 100%; flex-direction: column; padding: 20px 0; gap: 18px; background: white; }
            .nav-menu.show { display: flex; }
            .mobile-toggle { display: block; }
            .section-title { font-size: 2rem; }
            .hero h1 { font-size: 2rem; }
            .hero-inner { flex-direction: column; }
            .logo-area img { height: 42px; }
            .footer-content { flex-direction: column; text-align: center; }
            .footer-links { text-align: center; }
            .contact-modern-wrapper {
                padding: 28px;
            }
            .contact-modern-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .contact-modern-card {
                padding: 16px 20px;
            }
            .contact-modern-icon {
                width: 48px;
                height: 48px;
                font-size: 1.6rem;
            }
            .contact-modern-details p {
                font-size: 0.9rem;
            }
        }
    /* Logo marek - wersja zmniejszona i przesunięta niżej */
.brands-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 80px;   /* większy margines od góry = niżej */
    flex-wrap: wrap;
}

.brand-logo {
    flex: 0 0 auto;
    background: #ffffff;
    padding: 8px 24px;   /* mniejsze paddingi niż wcześniej */
    border-radius: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.brand-logo img {
    max-height: 40px;    /* zmniejszona wysokość logo */
    width: auto;
    display: block;
}

/* Dostosowanie dla wąskich ekranów */
@media (max-width: 768px) {
    .brands-row {
        gap: 24px;
        margin-top: 60px;
    }
    .brand-logo {
        padding: 6px 18px;
    }
    .brand-logo img {
        max-height: 32px;
    }
}
/* Poprawki dla flag - lepsze wyśrodkowanie i responsywność */
.lang-grid img {
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    object-fit: cover;
    margin-right: 6px;
    width: auto;
    height: 15px;
}

.lang-grid li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-grid li a:hover {
    background: #fff6ef;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}