/* =========================================
   PODSTRONY USŁUG (Terapia logopedyczna i wytchnieniowa)
========================================= */

.services-section {
    min-height: 80vh;
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
    overflow: hidden; /* Do ucięcia bąbelków z tła */
}

/* Dekoracyjne plamy w tle */
.services-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.blob-top-left {
    width: 400px;
    height: 400px;
    background: #d3e5f5;
    top: -100px;
    left: -150px;
}
.blob-bottom-right {
    width: 400px;
    height: 400px;
    background: #ffb8d2;
    bottom: -50px;
    right: -100px;
}

/* Konstrukcja Karty */
.profile-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
    border: 1px solid #edf2f7;
}

.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

/* Zdjęcie i Lewa kolumna */
.profile-photo-wrapper {
    position: relative;
    border-radius: 24px;
}
.profile-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(74, 158, 255, 0.15);
}
.profile-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #4a9eff 0%, #8a98eb 100%);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(74, 158, 255, 0.3);
}
.profile-badge span {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
}

/* Prawa Kolumna Tekstowa */
.profile-header {
    margin-bottom: 30px;
}
.profile-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4a9eff;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}
.profile-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.1;
    margin: 0;
}

.profile-text p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}
.profile-text .highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    border-left: 4px solid #4a9eff;
    padding-left: 25px;
    margin: 30px 0;
    background: #f4f8fc;
    padding: 20px 25px;
    border-radius: 0 16px 16px 0;
}

/* Cechy i Ikony */
.profile-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px dashed #edf2f7;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: #eef5ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9eff;
    flex-shrink: 0;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
}
.feature-text strong {
    display: block;
    color: #1a202c;
    font-size: 1.1rem;
}
.feature-text span {
    font-size: 0.9rem;
    color: #718096;
}

/* Call To Action i Przycisk Telefonu */
.profile-cta {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}
.profile-cta p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: 600;
}
.phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #4a9eff;
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 40px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
    transition: all 0.3s ease;
}
.phone-btn svg {
    width: 24px;
    height: 24px;
}
.phone-btn:hover {
    background: #3685e6;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 158, 255, 0.4);
}

/* =========================================
   DODATKOWA SEKCJA ZE ZDJĘCIEM (Pod profilem)
========================================= */

.services-extra-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: transparent;
}

/* Wariant odwrócony (zdjęcie po prawej) */
.services-extra-section.reverse {
    direction: rtl;
}
.services-extra-section.reverse > * {
    direction: ltr;
}

.extra-content-col h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.extra-content-col p {
    font-size: 1.15rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.extra-photo-col {
    position: relative;
}

.extra-photo-col img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.extra-photo-col img:hover {
    transform: translateY(-10px);
}

/* Dekoracyjne kropeczki w tle drugiego zdjęcia */
.extra-dots {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(#4a9eff 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: -30px;
    right: -30px;
    z-index: -1;
    opacity: 0.3;
}

.services-extra-section.reverse .extra-dots {
    right: auto;
    left: -30px;
}

/* ================== RESPONSYWNOŚĆ ================== */
@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-img {
        height: 350px;
    }
    .profile-photo-col {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .services-extra-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }
    .services-extra-section.reverse {
        direction: ltr;
    }
    .extra-photo-col img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .profile-card {
        padding: 30px 20px;
    }
    .profile-header h1 {
        font-size: 2.5rem;
    }
    .profile-features {
        grid-template-columns: 1fr;
    }
    .profile-text .highlight-text {
        font-size: 1.15rem;
        padding: 15px;
    }
    .phone-btn {
        width: 100%;
        padding: 16px 20px;
    }
}
