/* --- Kontakt: Hero --- */
.contact-hero-modern {
    padding: 120px 20px 80px;
    background-color: var(--bg-color);
}

.contact-hero-modern h1 {
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 24px;
    color: #000;
}

.contact-hero-modern .lead {
    font-size: 24px;
    font-weight: 400;
    color: #1d1d1f;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.004em;
}

.text-center {
    text-align: center;
}

/* --- Kontakt: Karty --- */
.contact-cards-section {
    padding: 40px 0 100px;
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background-color: #f2f2f7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #000;
}

.contact-card p {
    font-size: 16px;
    color: #1d1d1f;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.contact-link, .contact-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color, #0066cc);
    letter-spacing: -0.01em;
}

.contact-text {
    color: #000;
}

/* --- Kontakt: Dane firmy i Mapa --- */
.company-details-section {
    padding: 80px 0 140px;
    background-color: #f2f2f7; /* Lekko ciemniejsze tło dla odcięcia */
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.company-info h2 {
    font-size: 42px;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    color: #000;
}

.info-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.info-box p {
    font-size: 18px;
    color: #1d1d1f;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eaeaea;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-list li {
    font-size: 16px;
    color: #1d1d1f;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.data-list li strong {
    color: #000;
    font-weight: 500;
}

.company-map iframe {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: block;
}

/* --- Responsywność --- */
@media (max-width: 1024px) {
    .contact-hero-modern h1 { font-size: 48px; }
    .details-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .contact-hero-modern {
        padding: 80px 20px 40px;
    }
    
    .contact-hero-modern h1 {
        font-size: 38px;
    }
    
    .contact-hero-modern .lead {
        font-size: 18px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .company-info h2 {
        font-size: 32px;
        text-align: center;
    }
    
    .company-details-section {
        padding: 60px 0 100px;
    }
}