/* ==========================================================================
   === STRONA GŁÓWNA (HOME / INDEX) ===
   ========================================================================== */

/* Wspólne tło dla sekcji Hero */
.hero-home,
.hero-section {
    background: linear-gradient(135deg, #0b1a33 0%, #1e293b 70%, #1e3a5f 100%);
}

/* Specyficzne style tylko dla zaawansowanej sekcji Hero (Index) */
.hero-section {
    color: white;
    text-align: center;
    padding: 80px 30px 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section h1 {
    font-size: clamp(2.6rem, 7vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #f0f9ff, #b9d9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 12px;
}

.hero-section p {
    position: relative;
    z-index: 2;
    color: #cbd5e1;
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
}

.hero-section p:last-of-type {
    margin-top: 8px;
    font-weight: 500;
    color: #94a3b8;
}

/* Split container & Service cards (Usunięto duplikat) */
.split-container {
    display: flex;
    max-width: 1200px;
    margin: -30px auto 50px;
    padding: 0 24px;
    gap: 30px;
    position: relative;
    z-index: 5;
}

.service-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 40px 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.12);
}

.card-biuro {
    border-top: 6px solid #0b1a33;
}

.card-kodowanie {
    border-top: 6px solid #2563eb;
}

.service-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b1a33;
    margin: 8px 0 6px 0;
}

.service-card h2:first-of-type {
    margin-top: 0;
}

.service-card h2 + h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.service-card p {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 30px;
    flex-grow: 1;
    line-height: 1.7;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
        max-width: 600px;
        margin: -20px auto 40px;
    }
    .service-card {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 40px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .split-container {
        padding: 0 16px;
    }
    .service-card h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 400px) {
    .service-card {
        padding: 24px 16px;
    }
}