/* =========================================================
   BEOACTIVE — SINGLE SERVICE PAGE
   Template: Beoactive — Usluga
========================================================= */


/* =========================================================
   PAGE ROOT
========================================================= */

.service-single-page {
    overflow: hidden;

    background: var(--bg);
}



/* =========================================================
   HERO
========================================================= */

.service-single-hero {
    position: relative;

    overflow: hidden;

    padding:
        72px
        0
        82px;

    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(64, 182, 60, .10),
            transparent 29%
        ),
        linear-gradient(
            180deg,
            #FAFCFB 0%,
            #F3F7F5 100%
        );

    border-bottom:
        1px solid
        var(--border);
}


.service-single-hero::after {
    content: '';

    position: absolute;

    top: -180px;
    right: -150px;

    width: 470px;
    height: 470px;

    border:
        1px solid
        rgba(64, 182, 60, .08);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   HERO GRID
========================================================= */

.service-single-hero-grid {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(0, 1.18fr);

    gap: 68px;

    align-items: center;
}


.service-single-hero-left {
    min-width: 0;
}



/* =========================================================
   HERO COPY
========================================================= */

.service-single-hero-copy {
    max-width: 560px;
}


.service-single-hero-copy h1 {
    margin-bottom: 22px;

    color: var(--navy);

    font-size:
        clamp(48px, 5.3vw, 70px);

    line-height: 1;
}


.service-single-hero-lead {
    max-width: 540px;

    margin: 0;

    color: var(--text);

    font-size: 16px;
    line-height: 1.72;
}


.service-single-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 31px;
}



/* =========================================================
   HERO MEDIA
========================================================= */

.service-single-hero-media {
    position: relative;

    min-height: 515px;
}


.service-single-hero-photo {
    position: absolute;

    inset:
        0
        0
        28px
        24px;

    z-index: 1;

    overflow: hidden;

    border-radius: var(--r3);

    background: var(--soft);

    box-shadow: var(--shadow);
}


.service-single-hero-photo::after {
    content: '';

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(16, 42, 58, .025),
            rgba(16, 42, 58, .12)
        );
}


.service-single-hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .45s ease;
}


.service-single-hero-photo:hover img {
    transform:
        scale(1.018);
}



/* =========================================================
   PHYSICAL THERAPY NOTE — BASE
========================================================= */

.service-single-therapy-note {
    border:
        1px solid
        rgba(37, 132, 72, .17);

    border-radius: 16px;

    background:
        rgba(37, 132, 72, .045);
}


.service-single-therapy-note > span {
    display: block;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .085em;
    text-transform: uppercase;
}


.service-single-therapy-note p {
    margin:
        10px
        0
        0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.6;
}


.service-single-therapy-note a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 14px;

    color: var(--green-dark);

    font-size: 11.5px;
    font-weight: 700;

    text-decoration: none;
}


.service-single-therapy-note a span {
    transition:
        transform .2s ease;
}


.service-single-therapy-note a:hover span {
    transform:
        translateX(3px);
}



/* =========================================================
   PHYSICAL THERAPY NOTE — FLOATING MEDIA CARD
========================================================= */

.service-single-therapy-note--media {
    position: absolute;

    left: -28px;
    bottom: -28px;

    z-index: 5;

    width:
        min(
            365px,
            80%
        );

    margin: 0;

    padding:
        22px
        23px
        21px;

    background:
        rgba(255, 255, 255, .96);

    border:
        1px solid
        rgba(16, 42, 58, .10);

    border-radius: 18px;

    box-shadow:
        0 20px 50px
        rgba(16, 42, 58, .13);

    -webkit-backdrop-filter:
        blur(12px);

    backdrop-filter:
        blur(12px);
}


.service-single-therapy-note--media > span {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: .085em;
}


.service-single-therapy-note--media p {
    margin-top: 10px;

    font-size: 13.25px;
    font-weight: 500;

    line-height: 1.58;
}


.service-single-therapy-note--media a {
    margin-top: 14px;

    font-size: 12px;
    font-weight: 700;
}



/* =========================================================
   ABOUT THERAPY
========================================================= */

.service-single-about {
    padding-top: 92px;
    padding-bottom: 92px;
}


.service-single-about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(0, 1.18fr);

    gap: 90px;

    align-items: center;
}


.service-single-about-title h2 {
    max-width: 520px;

    font-size:
        clamp(38px, 4.4vw, 55px);
}


.service-single-about-copy {
    max-width: 660px;

    padding-top: 0;
}


.service-single-about-copy p {
    margin: 0;

    color: var(--text);

    font-size: 16px;
    line-height: 1.82;
}



/* =========================================================
   INDICATIONS
========================================================= */

.service-single-indications {
    padding:
        88px
        0
        94px;

    background:
        linear-gradient(
            180deg,
            #EDF4F1 0%,
            #EAF2EE 100%
        );
}


.service-single-section-head {
    max-width: 720px;

    margin-bottom: 36px;
}


.service-single-section-head h2 {
    font-size:
        clamp(38px, 4.3vw, 54px);
}



/* =========================================================
   INDICATION CARDS
========================================================= */

.service-single-indications-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


.service-single-indication {
    position: relative;

    min-height: 165px;

    display: flex;
    flex-direction: column;

    padding:
        25px
        25px
        24px;

    background:
        rgba(255, 255, 255, .56);

    border:
        1px solid
        rgba(16, 42, 58, .09);

    border-radius: 17px;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.service-single-indication::before {
    content: '';

    position: absolute;

    top: 0;
    left: 25px;

    width: 38px;
    height: 3px;

    border-radius:
        0 0 3px 3px;

    background: var(--green);

    transition:
        width .25s ease;
}


.service-single-indication:hover {
    transform:
        translateY(-3px);

    background:
        rgba(255, 255, 255, .82);

    border-color:
        rgba(64, 182, 60, .24);

    box-shadow:
        0 18px 40px
        rgba(16, 42, 58, .06);
}


.service-single-indication:hover::before {
    width: 58px;
}


.service-single-indication-num {
    display: block;

    margin-bottom: 24px;

    padding-bottom: 0;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;
}


.service-single-indication p {
    margin: 0;

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.6;
}



/* =========================================================
   PROCESS
========================================================= */

.service-single-process {
    padding:
        90px
        0
        96px;

    background: #fff;
}


.service-single-process-head {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(300px, .62fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 48px;
}


.service-single-process-head h2 {
    max-width: 650px;

    font-size:
        clamp(38px, 4.3vw, 54px);
}


.service-single-process-intro {
    max-width: 470px;

    margin: 0;

    color: var(--text);

    font-size: 14px;
    line-height: 1.7;
}



/* =========================================================
   PROCESS GRID
========================================================= */

.service-single-process-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


.service-single-process-step {
    position: relative;

    min-height: 215px;

    padding:
        31px
        31px
        29px;
}


.service-single-process-step +
.service-single-process-step {
    border-left:
        1px solid
        var(--border);
}


.service-single-process-step::before {
    content: '';

    position: absolute;

    top: -1px;
    left: 31px;

    width: 36px;
    height: 3px;

    background: var(--green);

    border-radius:
        0 0 2px 2px;

    transition:
        width .25s ease;
}


.service-single-process-step:hover::before {
    width: 58px;
}


.service-single-process-step > span {
    display: block;

    margin-bottom: 34px;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .08em;
}


.service-single-process-step h3 {
    margin-bottom: 9px;

    font-size: 18px;
}


.service-single-process-step p {
    max-width: 300px;

    margin: 0;

    color: var(--text);

    font-size: 12.5px;
    line-height: 1.62;
}



/* =========================================================
   EXPECTATIONS
========================================================= */

.service-single-expect {
    padding-top: 90px;
    padding-bottom: 92px;

    background: var(--soft);
}


.service-single-expect-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 90px;

    align-items: start;
}


.service-single-expect-heading h2 {
    max-width: 540px;

    font-size:
        clamp(38px, 4.2vw, 53px);
}



/* =========================================================
   EXPECTATIONS LIST
========================================================= */

.service-single-expect-list {
    border-top:
        1px solid
        rgba(16, 42, 58, .12);
}


.service-single-expect-item {
    display: grid;

    grid-template-columns:
        10px
        minmax(0, 1fr);

    gap: 17px;

    align-items: start;

    padding:
        20px
        0;

    border-bottom:
        1px solid
        rgba(16, 42, 58, .12);
}


.service-single-expect-item > span {
    width: 7px;
    height: 7px;

    margin-top: 8px;

    border-radius: 50%;

    background: var(--green);
}


.service-single-expect-item p {
    max-width: 610px;

    margin: 0;

    color: var(--navy);

    font-size: 14px;
    font-weight: 550;

    line-height: 1.65;
}



/* =========================================================
   FINAL CTA
========================================================= */

.service-single-final {
    padding-top: 68px;
    padding-bottom: 68px;

    background: #fff;
}



/* =========================================================
   DESKTOP INDICATION POLISH
   > 900
========================================================= */

@media (min-width: 901px) {

    .service-single-indication {
        min-height: 155px;

        padding:
            24px
            24px
            22px;
    }


    .service-single-indication-num {
        margin-bottom: 20px;
    }


    .service-single-indication p {
        font-size: 13.5px;
        line-height: 1.55;
    }

}



/* =========================================================
   LARGE / MEDIUM LAPTOP
   <= 1180
========================================================= */

@media (max-width: 1180px) {

    .service-single-hero-grid {
        gap: 45px;
    }


    .service-single-hero-media {
        min-height: 455px;
    }


    .service-single-indications-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .service-single-process-head,
    .service-single-expect-grid {
        gap: 52px;
    }

}



/* =========================================================
   TABLET
   <= 900
========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       HERO
    ====================================================== */

    .service-single-hero {
        padding:
            58px
            0
            66px;
    }


    .service-single-hero-grid {
        display: flex;
        flex-direction: column;

        gap: 0;
    }


    .service-single-hero-left {
        display: contents;
    }


    .service-single-hero-copy {
        order: 1;

        width: 100%;
        max-width: 720px;
    }


    .service-single-hero-copy h1 {
        font-size:
            clamp(44px, 7vw, 58px);
    }


    .service-single-hero-media {
        order: 2;

        width: 100%;

        min-height: 410px;

        margin-top: 28px;
    }


    .service-single-hero-photo {
        inset:
            0
            0
            26px
            0;
    }


    .service-single-hero-actions {
        order: 3;

        width: 100%;

        margin-top: 18px;
    }


    /* =====================================================
       ABOUT
    ====================================================== */

    .service-single-about {
        padding:
            70px
            0;
    }


    .service-single-about-grid {
        grid-template-columns: 1fr;

        gap: 21px;
    }


    .service-single-about-copy {
        max-width: 720px;
    }


    /* =====================================================
       INDICATIONS
    ====================================================== */

    .service-single-indications {
        padding:
            70px
            0
            76px;
    }


    .service-single-indications-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* =====================================================
       PROCESS
    ====================================================== */

    .service-single-process {
        padding:
            70px
            0
            76px;
    }


    .service-single-process-head {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 38px;
    }


    .service-single-process-intro {
        max-width: 660px;
    }


    /* =====================================================
       EXPECTATIONS
    ====================================================== */

    .service-single-expect {
        padding:
            70px
            0;
    }


    .service-single-expect-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

}



/* =========================================================
   TABLET PORTRAIT HERO NOTE
   621 — 900
========================================================= */

@media
    (min-width: 621px)
    and (max-width: 900px) {

    .service-single-therapy-note--media {
        left: auto;
        right: 14px;
        bottom: -22px;

        width:
            min(
                310px,
                56%
            );

        padding:
            18px
            19px
            17px;
    }


    .service-single-therapy-note--media > span {
        font-size: 8.5px;
    }


    .service-single-therapy-note--media p {
        font-size: 12px;
        line-height: 1.55;
    }


    .service-single-hero-actions {
        position: relative;

        z-index: 6;
    }

}



/* =========================================================
   MOBILE
   <= 620
========================================================= */

@media (max-width: 620px) {

    /* =====================================================
       HERO
    ====================================================== */

    .service-single-hero {
        padding:
            40px
            0
            48px;
    }


    .service-single-hero::after {
        top: -125px;
        right: -145px;

        width: 300px;
        height: 300px;
    }


    .service-single-hero-copy .eyebrow {
        margin-bottom: 13px;
    }


    .service-single-hero-copy h1 {
        margin-bottom: 14px;

        font-size: 37px;
        line-height: 1.03;
    }


    .service-single-hero-lead {
        font-size: 13px;
        line-height: 1.6;
    }


    .service-single-hero-media {
        min-height: 0;

        display: flex;
        flex-direction: column;

        margin-top: 22px;
    }


    .service-single-hero-photo {
        position: relative;

        inset: auto;

        width: 100%;
        height: 235px;

        border-radius: 18px;
    }


    .service-single-hero-photo img {
        object-position: center;
    }


    /* =====================================================
       PHYSICAL THERAPY NOTE
    ====================================================== */

    .service-single-therapy-note--media {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        width:
            calc(100% - 24px);

        max-width: none;

        margin:
            -24px
            auto
            0;

        padding:
            14px
            15px
            13px;

        border-radius: 14px;

        box-shadow:
            0 12px 30px
            rgba(16, 42, 58, .09);

        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }


    .service-single-therapy-note--media > span {
        font-size: 8px;
        font-weight: 800;

        letter-spacing: .085em;
    }


    .service-single-therapy-note--media p {
        margin-top: 7px;

        font-size: 11.5px;
        line-height: 1.5;
    }


    .service-single-therapy-note--media a {
        margin-top: 10px;

        font-size: 11px;
    }


    /* =====================================================
       HERO ACTIONS
    ====================================================== */

    .service-single-hero-actions {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 14px;
    }


    .service-single-hero-actions .btn {
        width: 100%;

        min-height: 44px;

        padding:
            9px
            10px;

        font-size: 11px;
    }


    /* =====================================================
       ABOUT
    ====================================================== */

    .service-single-about {
        padding:
            46px
            0;
    }


    .service-single-about-grid {
        gap: 17px;
    }


    .service-single-about-title h2 {
        font-size: 31px;
        line-height: 1.04;
    }


    .service-single-about-copy p {
        font-size: 14px;
        line-height: 1.68;
    }


    /* =====================================================
       INDICATIONS
    ====================================================== */

    .service-single-indications {
        padding:
            44px
            0
            48px;
    }


    .service-single-section-head {
        margin-bottom: 27px;
    }


    .service-single-section-head h2 {
        font-size: 30px;
        line-height: 1.05;
    }


    .service-single-indications-grid {
        grid-template-columns: 1fr;

        gap: 9px;
    }


    .service-single-indication {
        min-height: 0;

        padding:
            19px
            18px
            18px;

        border-radius: 15px;
    }


    .service-single-indication::before {
        left: 18px;

        width: 32px;
    }


    .service-single-indication-num {
        margin-bottom: 17px;

        font-size: 8.5px;
    }


    .service-single-indication p {
        font-size: 12.5px;
        line-height: 1.55;
    }


    /* =====================================================
       PROCESS
    ====================================================== */

    .service-single-process {
        padding:
            44px
            0
            48px;
    }


    .service-single-process-head {
        gap: 13px;

        margin-bottom: 27px;
    }


    .service-single-process-head h2 {
        font-size: 30px;
        line-height: 1.05;
    }


    .service-single-process-intro {
        font-size: 12.5px;
        line-height: 1.6;
    }


    .service-single-process-grid {
        grid-template-columns: 1fr;

        border-bottom: 0;
    }


    .service-single-process-step {
        min-height: 0;

        padding:
            20px
            4px
            20px
            45px;

        border-left: 0 !important;

        border-top:
            1px solid
            var(--border);
    }


    .service-single-process-step:first-child {
        border-top: 0;
    }


    .service-single-process-step::before {
        top: 25px;
        left: 4px;

        width: 25px;
        height: 2px;
    }


    .service-single-process-step:hover::before {
        width: 25px;
    }


    .service-single-process-step > span {
        margin-bottom: 5px;

        font-size: 8.5px;
    }


    .service-single-process-step h3 {
        margin-bottom: 5px;

        font-size: 15.5px;
    }


    .service-single-process-step p {
        max-width: 310px;

        font-size: 11.8px;
        line-height: 1.55;
    }


    /* =====================================================
       EXPECTATIONS
    ====================================================== */

    .service-single-expect {
        padding:
            44px
            0
            48px;
    }


    .service-single-expect-grid {
        gap: 25px;
    }


    .service-single-expect-heading h2 {
        font-size: 30px;
        line-height: 1.05;
    }


    .service-single-expect-item {
        grid-template-columns:
            8px
            minmax(0, 1fr);

        gap: 12px;

        padding:
            15px
            0;
    }


    .service-single-expect-item > span {
        width: 6px;
        height: 6px;

        margin-top: 7px;
    }


    .service-single-expect-item p {
        font-size: 12px;
        line-height: 1.58;
    }


    /* =====================================================
       FINAL CTA
    ====================================================== */

    .service-single-final {
        padding-top: 46px;
        padding-bottom: 46px;
    }

}



/* =========================================================
   VERY SMALL MOBILE
   <= 430
========================================================= */

@media (max-width: 430px) {

    .service-single-hero-copy h1 {
        font-size: 35px;
    }


    .service-single-hero-photo {
        height: 220px;
    }

}



/* =========================================================
   LOW HEIGHT PHONE
========================================================= */

@media
    (max-width: 620px)
    and (max-height: 760px) {

    .service-single-hero {
        padding-top: 36px;
        padding-bottom: 42px;
    }


    .service-single-hero-photo {
        height: 215px;
    }


    .service-single-about,
    .service-single-indications,
    .service-single-process,
    .service-single-expect {
        padding-top: 40px;
        padding-bottom: 42px;
    }

}



/* =========================================================
   LOW HEIGHT LAPTOP
   1513 × 698 i slični
========================================================= */

@media
    (min-width: 1100px)
    and (max-height: 760px) {

    .service-single-hero {
        min-height:
            calc(100svh - 76px);

        box-sizing: border-box;

        padding-top: 52px;
        padding-bottom: 46px;
    }


    .service-single-therapy-note--media {
        left: -22px;
        right: auto;

        bottom: 34px;

        width:
            min(
                350px,
                78%
            );
    }

}



/* =========================================================
   LOW HEIGHT LAPTOP — WORDPRESS ADMIN BAR
========================================================= */

@media
    (min-width: 1100px)
    and (max-height: 760px) {

    body.admin-bar
    .service-single-hero {
        min-height:
            calc(100svh - 108px);
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .service-single-hero-photo img,
    .service-single-indication,
    .service-single-indication::before,
    .service-single-process-step::before,
    .service-single-therapy-note a span {
        transition: none;
    }

}

/* =========================================================
   SINGLE SERVICE — FINAL MOBILE READABILITY PASS
========================================================= */

@media (max-width: 620px) {

    /* =====================================================
       HERO
    ====================================================== */

    .service-single-hero-lead {
        font-size: 15.5px;
        line-height: 1.62;
    }


    .service-single-hero-actions .btn {
        min-height: 46px;

        font-size: 14px;
    }


    /* =====================================================
       PHYSICAL THERAPY NOTE
    ====================================================== */

    .service-single-therapy-note--media {
        padding:
            16px
            16px
            15px;
    }


    .service-single-therapy-note--media > span {
        font-size: 9px;
        line-height: 1.3;
    }


    .service-single-therapy-note--media p {
        margin-top: 8px;

        font-size: 14px;
        line-height: 1.58;
    }


    .service-single-therapy-note--media a {
        margin-top: 11px;

        font-size: 13.5px;
    }


    /* =====================================================
       ABOUT THERAPY
    ====================================================== */

    .service-single-about-copy p {
        font-size: 15.5px;
        line-height: 1.68;
    }


    /* =====================================================
       INDICATIONS
    ====================================================== */

    .service-single-indication-num {
        font-size: 9.5px;
    }


    .service-single-indication p {
        font-size: 14.5px;
        line-height: 1.58;
    }


    /* =====================================================
       PROCESS
    ====================================================== */

    .service-single-process-intro {
        font-size: 15px;
        line-height: 1.62;
    }


    .service-single-process-step > span {
        font-size: 9.5px;
    }


    .service-single-process-step h3 {
        font-size: 17px;
        line-height: 1.3;
    }


    .service-single-process-step p {
        max-width: none;

        font-size: 14.5px;
        line-height: 1.58;
    }


    /*
     * Pošto je tekst sada veći,
     * dajemo svakom koraku malo više prostora.
     */

    .service-single-process-step {
        padding:
            22px
            4px
            22px
            45px;
    }


    /* =====================================================
       EXPECTATIONS
    ====================================================== */

    .service-single-expect-item p {
        font-size: 14.5px;
        line-height: 1.62;
    }


    .service-single-expect-item {
        padding:
            17px
            0;
    }

}

/* =========================================================
   SINGLE SERVICE — LOW HEIGHT MOBILE HERO FIT
========================================================= */

@media (max-width: 620px) and (max-height: 760px) {

    .service-single-hero {
        padding-top: 30px;
        padding-bottom: 32px;
    }

    .service-single-hero-media {
        margin-top: 18px;
    }

    .service-single-hero-photo {
        height: 200px;
    }

    .service-single-hero-actions {
        margin-top: 12px;
    }

}