/* ------------------------------------------------------------------
   Podstrona Ortopedia (page-ortopedia.php)
   Korzysta też z cache/doctor.css + cache/poradnie.css (why, blog, faq, opinie)
   ------------------------------------------------------------------ */

/* ---------- Hero ---------- */

.ortho-hero {
    margin-top: 76px;
    padding: 40px 0 64px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
}

.ortho-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(359deg, rgb(6 6 6 / 69%) 0.6%, rgba(102, 102, 102, 0.2) 99.5%);
}

.ortho-hero .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 1199.98px) {

    .ortho-hero {
        margin-top: 62px;
    }

}

.ortho-hero__breadcrumb {
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: rgba(252, 252, 252, 0.9);
    line-height: 2.4rem;
}

.ortho-hero__breadcrumb li:not(:last-child):after {
    content: '/';
    margin: 0 8px;
    opacity: 0.7;
}

.ortho-hero__breadcrumb a {
    color: rgba(252, 252, 252, 0.75) !important;
    text-decoration: none !important;
}

.ortho-hero__breadcrumb a:hover {
    color: #fcfcfc !important;
}

.ortho-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
    align-items: center;
}

@media (max-width: 991.98px) {

    .ortho-hero__main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

.ortho-hero__kicker {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 2.4rem;
}

.ortho-hero__heading {
    margin: 40px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (max-width: 767.98px) {

    .ortho-hero__heading {
        font-size: 3.6rem;
    }

}

.ortho-hero__text {
    margin-top: 25px;
    max-width: 596px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #ffffff;
    line-height: 2.4rem;
}

.ortho-hero__text p {
    margin: 0 0 1em 0;
}

.ortho-hero__text p:last-child {
    margin-bottom: 0;
}

.ortho-hero__lead {
    font-weight: 700;
}

.ortho-hero__actions {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ortho-hero__actions .btn {
    min-height: 58px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ortho-hero__actions .btn .fal {
    margin-left: 0;
}

.ortho-hero__more {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff !important;
    text-decoration: none !important;
}

.ortho-hero__media {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ortho-hero__photo {
    width: 362px;
    max-width: 100%;
    aspect-ratio: 1;
    border-radius: 33px;
    overflow: hidden;
    box-shadow: 0 16px 16px rgba(0, 0, 0, 0.05), 0 8px 8px rgba(0, 0, 0, 0.05);
}

.ortho-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ortho-hero__photo--back {
    position: absolute;
    background: rgba(252, 252, 252, 0.25);
    transform: rotate(-12deg) translate(-18px, 10px);
}

.ortho-hero__photo--front {
    position: relative;
    z-index: 1;
}

.ortho-hero__perks {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

@media (max-width: 991.98px) {

    .ortho-hero__perks {
        grid-template-columns: 1fr;
    }

    .ortho-hero__media {
        min-height: 320px;
    }

}

.ortho-hero__perk {
    padding: 16px 31px 29px 31px;
    min-height: 128px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    /* text-align: center; */
    background: rgba(252, 252, 252, 0.2);
    border: 1px solid #d4d4d4;
    border-radius: 25px;
}

.ortho-hero__perk-accent {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: -0.64px;
    line-height: 1.3;
    background: linear-gradient(90deg, #b39a6f 0%, #d2bd98 77%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ortho-hero__perk-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: #ffffff;
    letter-spacing: -0.48px;
    line-height: 1.3;
}

/* ---------- Objawy ---------- */

.ortho-symptoms {
    position: relative;
    padding: 80px 0 60px 0;
    overflow: hidden;
}

.ortho-symptoms__decor {
    position: absolute;
    top: -40px;
    right: 0;
    width: 911px;
    max-width: min(911px, 55vw);
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.ortho-symptoms .container {
    position: relative;
    z-index: 1;
}

.ortho-symptoms__heading {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 500;
    color: #3d3835;
    line-height: 1.2;
}

.ortho-symptoms__intro {
    margin-top: 16px;
    max-width: 1065px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #777777;
    line-height: 2.4rem;
}

.ortho-symptoms__intro p {
    margin: 0 0 0.5em 0;
}

.ortho-symptoms__grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 40px;
}

@media (max-width: 991.98px) {

    .ortho-symptoms__heading {
        font-size: 3.2rem;
    }

    .ortho-symptoms__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

}

@media (max-width: 767.98px) {

    .ortho-symptoms__grid {
        grid-template-columns: 1fr;
    }

}

.ortho-symptoms__card {
    padding: 24px 20px;
    min-height: 343px;
    background: #fcfcfc;
    border: 1px solid #d4d4d4;
    border-radius: 25px;
}

.ortho-symptoms__icon {
    display: block;
    height: 48px;
    width: auto;
    max-width: 70px;
    object-fit: contain;
}

.ortho-symptoms__title {
    margin: 24px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #3d3835;
    line-height: 1.3;
}

.ortho-symptoms__text {
    margin: 24px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #777777;
    line-height: 1.4;
}

.ortho-symptoms__cta {
    position: relative;
    padding: 20px;
    min-height: 343px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(53.46deg, #b39a6f 0%, #d2bd98 77%);
    border: 1px solid #d4d4d4;
    border-radius: 25px;
    overflow: hidden;
}

.ortho-symptoms__cta:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../images/ortopedia/symptoms-cta-pattern.svg) no-repeat left center / cover;
    opacity: 0.35;
    pointer-events: none;
}

.ortho-symptoms__cta-copy,
.ortho-symptoms__cta-btn {
    position: relative;
    z-index: 1;
}

.ortho-symptoms__cta-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #fcfcfc;
    line-height: 1.3;
}

.ortho-symptoms__cta-text {
    margin: 8px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #fcfcfc;
    line-height: 1.3;
}

.ortho-symptoms__cta-btn {
    align-self: flex-start;
    min-height: 48px;
    padding: 12px 24px;
    background: #fcfcfc !important;
    color: #3d3835 !important;
    border: 4px solid #fcfcfc;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.ortho-symptoms__cta-btn:hover {
    background: #3d3835 !important;
    color: #fcfcfc !important;
    border-color: #3d3835;
}

/* ---------- Zakres usług + lekarz ---------- */

.ortho-scope {
    padding: 40px 0 60px 0;
}

.ortho-scope__card {
    position: relative;
    padding: 32px 40px;
    background: #fcfcfc;
    border-radius: 25px;
    overflow: hidden;
}

.ortho-scope__decor {
    position: absolute;
    left: -80px;
    bottom: -20px;
    width: 520px;
    max-width: 50vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.ortho-scope__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    gap: 40px;
    align-items: start;
}

@media (max-width: 991.98px) {

    .ortho-scope__layout {
        grid-template-columns: 1fr;
    }

    .ortho-scope__card {
        padding: 24px 20px;
    }

}

.ortho-scope__heading {
    margin: 0 0 24px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 500;
    color: #3d3835;
    line-height: 1.2;
}

@media (max-width: 767.98px) {

    .ortho-scope__heading {
        font-size: 3.2rem;
    }

}

.ortho-scope__item {
    padding: 24px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.2);
}

.ortho-scope__item:last-child {
    border-bottom: 0;
}

.ortho-scope__item-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.ortho-scope__item-name {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #3d3835;
    line-height: 2.4rem;
}

.ortho-scope__toggle {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-top: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #777777 !important;
    text-decoration: none !important;
}

.ortho-scope__toggle .fal {
    transition: transform .25s ease;
}

.ortho-scope__item.is-open .ortho-scope__toggle .fal {
    transform: rotate(180deg);
}

.ortho-scope__item-desc {
    display: none;
    margin: 8px 0 0 0;
    max-width: 508px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #777777;
    line-height: 1.4;
}

.ortho-scope__item-desc p {
    margin: 0 0 0.5em 0;
}

.ortho-scope__item-desc p:last-child {
    margin-bottom: 0;
}

.ortho-scope__item.is-open .ortho-scope__item-desc {
    display: block;
}

.ortho-scope__price {
    flex-shrink: 0;
    padding: 3px 24px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    background: #3d3835;
    border-radius: 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #fcfcfc;
    line-height: 2.4rem;
    white-space: nowrap;
}

.ortho-scope__nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.ortho-scope__nav-btn {
    padding: 0;
    background-color: #ffffff;
    height: 47px;
    width: 47px;
    font-size: 1.8rem;
    color: #333333;
    border: 2px solid #3d3835;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease-in-out;
}

.ortho-scope__nav-btn:hover,
.ortho-scope__nav-btn:focus {
    outline: none;
}

.ortho-scope__nav-btn.is-disabled,
.ortho-scope__nav-btn:disabled {
    opacity: 0.4;
    border-color: #333333;
    cursor: default;
}

.ortho-scope__doctor {
    max-width: 355px;
}

.ortho-scope__photo {
    width: 300px;
    max-width: 100%;
    height: 330px;
    border: 2px solid #d4d4d4;
    border-radius: 25px;
    overflow: hidden;
}

.ortho-scope__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ortho-scope__doctor-name {
    margin: 13px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #3d3835;
    line-height: 1.4;
}

.ortho-scope__doctor-role {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 2.4rem;
}

.ortho-scope__doctor-text {
    margin: 16px 0 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #777777;
    line-height: 2.4rem;
}

.ortho-scope__doctor-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.ortho-scope__doctor-actions .btn {
    min-width: 0 !important;
    min-height: 48px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.ortho-scope__doctor-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #3d3835 !important;
    text-decoration: none !important;
}

.ortho-scope__doctor-link .fal {
    transform: rotate(45deg);
}

/* ---------- Wizyta ---------- */

.ortho-visit {
    padding: 60px 0 80px 0;
}

.ortho-visit__heading {
    margin: 0 0 60px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 500;
    color: #3d3835;
    letter-spacing: -0.96px;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 767.98px) {

    .ortho-visit__heading {
        margin-bottom: 32px;
        font-size: 3.2rem;
    }

}

.ortho-visit__layout {
    display: grid;
    grid-template-columns: minmax(0, 570px) minmax(280px, 518px);
    gap: 24px;
    align-items: start;
    justify-content: space-between;
}

@media (max-width: 991.98px) {

    .ortho-visit__layout {
        grid-template-columns: 1fr;
    }

}

.ortho-visit__steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.ortho-visit__step {
    padding: 0 32px;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity .25s ease;
    border-left: 3px solid transparent;
}

.ortho-visit__step.is-active {
    opacity: 1;
    border-left-color: #3d3835;
}

.ortho-visit__step-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #3d3835;
    line-height: 3rem;
}

.ortho-visit__step-text {
    margin: 12px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #777777;
    letter-spacing: -0.16px;
    line-height: 2.4rem;
}

.ortho-visit__step.is-active .ortho-visit__step-text {
    color: #3d3835;
}

.ortho-visit__step-btn {
    margin-top: 24px;
    min-width: 0 !important;
    min-height: 48px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ortho-visit__media {
    position: relative;
    width: 100%;
    height: 616px;
    max-height: 70vh;
    border-radius: 25px;
    overflow: hidden;
}

.ortho-visit__media:after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background: linear-gradient(220.6deg, rgba(102, 102, 102, 0.16) 11.9%, rgba(0, 0, 0, 0.2) 98.9%);
    pointer-events: none;
}

.ortho-visit__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {

    .ortho-visit__media {
        height: 360px;
    }

    .ortho-visit__step {
        padding: 0 16px;
    }

}
