﻿
:root {
    --orth-green: #17634f;
    --orth-green-dark: #103f35;
    --orth-gold: #d9b96e;
    --orth-gold-light: #f3e5bf;
    --orth-cream: #fbf9f3;
    --orth-text: #33423d;
    --orth-muted: #6c7974;
}

.orthopaedics-page {
    color: var(--orth-text);
    overflow: hidden;
}

    .orthopaedics-page h1,
    .orthopaedics-page h2,
    .orthopaedics-page h3,
    .orthopaedics-page p {
        font-family: var(--app-font-family, "Poppins", sans-serif);
    }

/* HERO */
.orthopaedics-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background-color: var(--orth-green-dark);
}

.orthopaedics-hero-image,
.orthopaedics-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.orthopaedics-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 38%;
}

.orthopaedics-hero-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(12, 48, 40, .91) 0%, rgba(12, 48, 40, .77) 44%, rgba(12, 48, 40, .20) 100%);
}

.orthopaedics-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 90px;
    padding-bottom: 90px;
}

.orthopaedics-eyebrow,
.orthopaedics-section-label,
.orthopaedics-cta-label {
    display: inline-block;
    color: var(--orth-gold);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.orthopaedics-hero-title {
    max-width: 720px;
    margin: 18px 0;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.13;
}

.orthopaedics-hero-text {
    max-width: 590px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
    line-height: 1.8;
}

.orthopaedics-btn-primary,
.orthopaedics-btn-outline,
.orthopaedics-btn-light {
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: .2s ease;
}

.orthopaedics-btn-primary {
    color: #173d32;
    background: linear-gradient(90deg, #e9d79f, #f3e5bf, #d9b96e);
    border: 0;
}

    .orthopaedics-btn-primary:hover {
        color: #173d32;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    }

.orthopaedics-btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
}

    .orthopaedics-btn-outline:hover {
        color: var(--orth-green-dark);
        background: #fff;
    }

.orthopaedics-hero-note {
    position: absolute;
    right: max(24px, calc((100vw - 1320px) / 2));
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .88rem;
}

    .orthopaedics-hero-note i {
        color: var(--orth-gold);
        font-size: 1.2rem;
    }

/* INTRO */
.orthopaedics-intro {
    background: #fff;
}

.orthopaedics-section-label {
    color: var(--orth-green);
    letter-spacing: .08em;
}

.orthopaedics-section-title {
    margin: 12px 0 16px;
    color: var(--orth-green-dark);
    font-size: clamp(1.8rem, 3.3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
}

.orthopaedics-intro-text,
.orthopaedics-section-description {
    color: var(--orth-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.orthopaedics-heading {
    max-width: 720px;
}

/* SERVICE CARDS */
.orthopaedics-services-section {
    background: var(--orth-cream);
}

.orthopaedics-service-card {
    height: 100%;
    padding: 30px 26px;
    background: #fff;
    border: 1px solid rgba(23, 99, 79, .08);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(25, 62, 51, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .orthopaedics-service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(25, 62, 51, .12);
    }

.orthopaedics-service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--orth-green);
    background: linear-gradient(135deg, #f3e5bf, #fbf5e5);
    border-radius: 16px;
    font-size: 1.65rem;
}

.orthopaedics-service-card h3 {
    margin-bottom: 12px;
    color: var(--orth-green-dark);
    font-size: 1.13rem;
    font-weight: 700;
}

.orthopaedics-service-card p {
    margin: 0;
    color: var(--orth-muted);
    font-size: .94rem;
    line-height: 1.75;
}

/* CONCERNS */
.orthopaedics-concerns {
    background: #fff;
}

/*.orthopaedics-concerns-image {
    width: 100%;
    min-height: 390px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 18px 18px 0 var(--orth-gold-light);
}*/

.orthopaedics-concerns img {
    width: 100%;
    min-height: 390px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 18px 18px 0 var(--orth-gold-light);
}

.orthopaedics-concern-list {
    display: grid;
    gap: 15px;
    margin-top: 24px;
}

.orthopaedics-concern-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--orth-text);
    line-height: 1.6;
}

    .orthopaedics-concern-item i {
        margin-top: 3px;
        color: var(--orth-green);
        font-size: 1.1rem;
    }

.orthopaedics-text-link {
    display: inline-flex;
    align-items: center;
    color: var(--orth-green);
    font-weight: 700;
    text-decoration: none;
}

    .orthopaedics-text-link:hover {
        color: var(--orth-green-dark);
    }

/* CTA */
.orthopaedics-cta-section {
    background: var(--orth-cream);
}

.orthopaedics-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px 48px;
    color: #fff;
    background: linear-gradient(110deg, var(--orth-green-dark), var(--orth-green));
    border-radius: 24px;
}

    .orthopaedics-cta-box h2 {
        margin-top: 10px;
        color: #fff;
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        font-weight: 700;
    }

    .orthopaedics-cta-box p {
        color: rgba(255, 255, 255, .82);
        line-height: 1.7;
    }

.orthopaedics-btn-light {
    flex-shrink: 0;
    color: var(--orth-green-dark);
    background: linear-gradient(90deg, #e9d79f, #f3e5bf, #d9b96e);
    border: 0;
}

    .orthopaedics-btn-light:hover {
        color: var(--orth-green-dark);
        transform: translateY(-2px);
    }

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .orthopaedics-hero {
        min-height: 560px;
    }

    .orthopaedics-hero-overlay {
        background: linear-gradient( 90deg, rgba(12, 48, 40, .90) 0%, rgba(12, 48, 40, .72) 65%, rgba(12, 48, 40, .40) 100% );
    }

    .orthopaedics-hero-note {
        right: 24px;
        left: 24px;
        bottom: 20px;
    }

    .orthopaedics-cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px;
    }
}

@media (max-width: 575.98px) {
    .orthopaedics-hero {
        min-height: 620px;
        align-items: flex-start;
    }

    .orthopaedics-hero-image {
        object-position: 62% center;
    }

    .orthopaedics-hero-overlay {
        background: linear-gradient( 180deg, rgba(12, 48, 40, .76) 0%, rgba(12, 48, 40, .88) 58%, rgba(12, 48, 40, .94) 100% );
    }

    .orthopaedics-hero-content {
        padding-top: 82px;
        padding-bottom: 120px;
    }

    .orthopaedics-hero-title {
        font-size: 2.35rem;
    }

    .orthopaedics-hero-text {
        font-size: 1rem;
    }

    .orthopaedics-hero-note {
        font-size: .78rem;
    }

    .orthopaedics-concerns-image {
        min-height: 280px;
        box-shadow: 10px 10px 0 var(--orth-gold-light);
    }

    .orthopaedics-cta-box {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .orthopaedics-btn-light {
        width: 100%;
        text-align: center;
    }
}
