/* ========================================
   STOPKA - Pearl Theme
   ======================================== */

/* ===== GŁÓWNY KONTENER STOPKI ===== */
.site-footer-pearl {
    background: var(--gradient-pearl);
    border-top: 1px solid var(--gray-200);
    margin-top: var(--spacing-3xl);
}

/* ===== GŁÓWNA CZĘŚĆ STOPKI ===== */
.footer-main-pearl {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
}

.footer-container-pearl {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== GRID KOLUMN ===== */
.footer-grid-pearl {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* ===== KOLUMNA ===== */
.footer-column-pearl {
    display: flex;
    flex-direction: column;
}

/* ===== LOGO ===== */
.footer-logo-pearl {
    height: auto;
    max-width: 210px;
    width: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

    .footer-logo-pearl:hover {
        opacity: 0.85;
    }

/* ===== OPIS FIRMY ===== */
.footer-description-pearl {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

/* ===== LINKI SPOŁECZNOŚCIOWE ===== */
.footer-social-pearl {
    display: flex;
    gap: 0.75rem;
}

.social-link-pearl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    text-decoration: none;
}

    .social-link-pearl:hover {
        background: var(--gradient-brand);
        border-color: var(--brand-green);
        transform: translateY(-3px);
    }

        .social-link-pearl:hover .k-svg-icon {
            color: white;
        }

/* ===== NAGŁÓWKI KOLUMN ===== */
.footer-heading-pearl {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

/* ===== LINKI NAWIGACYJNE ===== */
.footer-links-pearl {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .footer-links-pearl a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.9375rem;
        transition: all var(--transition-base);
        display: inline-block;
    }

        .footer-links-pearl a:hover {
            color: var(--brand-green);
            transform: translateX(4px);
        }

/* ===== KONTAKT ===== */
.footer-contact-pearl {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .footer-contact-pearl li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        font-size: 0.9375rem;
        color: var(--text-secondary);
    }

    .footer-contact-pearl .k-svg-icon,
    .footer-contact-pearl svg {
        color: var(--brand-green);
        fill: var(--brand-green);
        flex-shrink: 0;
        margin-top: 0.125rem;
    }

    .footer-contact-pearl a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color var(--transition-base);
    }

        .footer-contact-pearl a:hover {
            color: var(--brand-green);
        }

/* ===== DOLNA CZĘŚĆ STOPKI ===== */
.footer-bottom-pearl {
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem 0;
    background: white;
}

.footer-bottom-container-pearl {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== COPYRIGHT ===== */
.copyright-pearl {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ===== LINKI PRAWNE ===== */
.footer-legal-pearl {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .footer-legal-pearl a {
        font-size: 0.875rem;
        color: var(--text-tertiary);
        text-decoration: none;
        transition: color var(--transition-base);
    }

        .footer-legal-pearl a:hover {
            color: var(--brand-green);
        }

.separator-pearl {
    color: var(--gray-400);
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 640px) {
    .footer-grid-pearl {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo-pearl {
        max-width: 180px;
    }

    .footer-bottom-container-pearl {
        flex-direction: column;
        text-align: center;
    }

    .footer-main-pearl {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
}
