/* HAVA — pojedynczy profil specjalisty
 * Układ wizualny oparty na pojedynczej usłudze:
 * zdjęcie po lewej, treść po prawej, pasek prowadzonych usług pod hero.
 */

.hava-team-single {
    --hava-navy: #21234A;
    --hava-light: #EEEEF6;
    --hava-blue: #BBCBD7;
    --hava-white: #FFFFFF;
    --hava-slate: #404E66;
    color: var(--hava-slate);
    background: var(--hava-light);
}

/* HERO */
.hava-team-single .hava-team-profile-hero {
    padding: 26px 0 64px;
    background:
        linear-gradient(90deg, rgba(187, 203, 215, .28), rgba(238, 238, 246, 0) 58%),
        var(--hava-light);
}

.hava-team-single .hava-directory-breadcrumbs {
    margin-bottom: 36px;
    font-size: 12px;
}

.hava-team-single .hava-team-profile-grid {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap: clamp(42px, 6vw, 78px);
    align-items: center;
}

.hava-team-single .hava-team-profile-photo {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(187, 203, 215, .30);
    box-shadow: 0 16px 36px rgba(33, 35, 74, .09);
}

.hava-team-single .hava-team-profile-photo__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hava-team-single .hava-team-profile-copy {
    padding-top: 0;
}

.hava-team-single .hava-directory-eyebrow {
    margin-bottom: 13px;
}

.hava-team-single .hava-team-profile-copy h1 {
    max-width: 720px;
    margin: 0;
    color: var(--hava-navy);
    font-size: clamp(32px, 3.8vw, 42px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.03;
}

.hava-team-single .hava-team-profile-copy h1::after {
    width: 42px;
    margin-top: 14px;
}

.hava-team-single .hava-team-profile-profession {
    margin: 14px 0 0;
    color: rgba(64, 78, 102, .76);
    font-size: 15px;
    line-height: 1.5;
}

.hava-team-single .hava-team-profile-lead {
    max-width: 660px;
    margin-top: 20px;
    color: var(--hava-slate);
    font-size: 16px;
    line-height: 1.68;
}

.hava-team-single .hava-team-profile-lead p {
    margin: 0 0 14px;
}

.hava-team-single .hava-team-profile-lead > :first-child {
    margin-top: 0;
}

.hava-team-single .hava-team-profile-lead > :last-child {
    margin-bottom: 0;
}

.hava-team-single .hava-team-profile-booking {
    min-height: 40px;
    margin-top: 26px;
    padding: 10px 18px;
    font-size: 11px;
}

/* PASEK PROWADZONYCH USŁUG */
.hava-team-profile-services {
    position: relative;
    z-index: 3;
    margin-top: -28px;
    padding-bottom: 34px;
}

.hava-team-profile-services__panel {
    display: grid;
    grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 18px 22px;
    border: 1px solid rgba(33, 35, 74, .09);
    border-radius: 13px;
    background: var(--hava-white);
    box-shadow: 0 10px 28px rgba(33, 35, 74, .06);
}

.hava-team-profile-services__heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.hava-team-profile-services__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: rgba(187, 203, 215, .42);
}

.hava-team-profile-services__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--hava-navy);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hava-team-profile-services__label {
    display: block;
    margin-bottom: 3px;
    color: rgba(64, 78, 102, .67);
    font-size: 10px;
    line-height: 1.25;
}

.hava-team-profile-services__heading h2 {
    margin: 0;
    color: var(--hava-navy);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.hava-team-profile-services__list {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.hava-team-profile-services__list a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border: 1px solid rgba(33, 35, 74, .14);
    border-radius: 999px;
    color: var(--hava-navy) !important;
    background: rgba(187, 203, 215, .28);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.hava-team-profile-services__list a:hover,
.hava-team-profile-services__list a:focus-visible {
    color: #fff !important;
    border-color: var(--hava-navy);
    outline: none;
    background: var(--hava-navy);
    transform: translateY(-1px);
}

/* KWALIFIKACJE — zostają pod paskiem, ale bez starego boksu usług. */
.hava-team-single .hava-team-profile-qualifications-section {
    padding-top: 62px;
}

/* Tablet */
@media (max-width: 980px) {
    .hava-team-single .hava-team-profile-grid {
        grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
        gap: 34px;
    }

    .hava-team-profile-services__panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Telefon */
@media (max-width: 760px) {
    .hava-team-single .hava-team-profile-hero {
        padding: 20px 0 48px;
    }

    .hava-team-single .hava-directory-breadcrumbs {
        margin-bottom: 28px;
        font-size: 11px;
    }

    .hava-team-single .hava-team-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hava-team-single .hava-team-profile-photo {
        max-width: 100%;
    }

    .hava-team-single .hava-team-profile-lead {
        font-size: 15px;
        line-height: 1.65;
    }

    .hava-team-profile-services {
        margin-top: 16px;
        padding-bottom: 18px;
    }

    .hava-team-profile-services__panel {
        padding: 18px;
        border-radius: 14px;
    }

    .hava-team-profile-services__list a {
        min-height: 36px;
        padding-inline: 12px;
        font-size: 12px;
    }

    .hava-team-single .hava-team-profile-qualifications-section {
        padding-top: 52px;
    }
}

@media (max-width: 520px) {
    .hava-team-profile-services__heading {
        align-items: flex-start;
    }

    .hava-team-profile-services__list {
        gap: 7px;
    }

    .hava-team-profile-services__list a {
        width: 100%;
        justify-content: flex-start;
    }
}
