/* ========================================
   OBRAZY ZASTĘPCZE
   ======================================== */

.image-placeholder-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-placeholder-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 184, 124, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    pointer-events: none;
    animation: placeholderPulse 2s ease-in-out infinite;
}

@keyframes placeholderPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

.image-placeholder-container:hover .image-placeholder-label {
    background: rgba(0, 153, 204, 0.95);
    transform: scale(1.05);
    animation: none;
}

img[loading="lazy"] {
    transition: filter 0.3s ease-in-out;
}

img[loading="lazy"]:not([src]) {
    filter: blur(10px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .image-placeholder-label {
        font-size: 0.65rem;
        padding: 0.375rem 0.75rem;
        bottom: 5px;
        right: 5px;
    }
}

@media (max-width: 992px) {
    .hero-modern-pearl .hero-container-modern > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .hero-modern-pearl .hero-content-left {
        text-align: center !important;
    }
    
    .hero-modern-pearl .hero-content-left h1 {
        text-align: center !important;
    }
    
    .hero-modern-pearl .hero-content-left p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-modern-pearl .hero-content-left > div[style*="display: flex"] {
        justify-content: center !important;
    }

    section[style*="background: white"] div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    section[style*="background: white"] div[style*="order: 1"],
    section[style*="background: white"] div[style*="order: 2"] {
        order: 0 !important;
    }

    section div[style*="position: absolute"][style*="left: -3%"],
    section div[style*="position: absolute"][style*="right: -3%"] {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 1rem auto !important;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-modern-pearl div[style*="position: absolute"][style*="bottom: 20px"] {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 1rem !important;
    }

    .benefit-card-with-image > div {
        transform: none !important;
    }
}