.medical-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f8f4e8
}

.medical-hero-image,
.medical-hero-overlay {
    position: absolute;
    inset: 0
}

.medical-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.12) saturate(1.08) contrast(1.02)
}

.medical-hero-overlay {
    background: linear-gradient(90deg, rgba(15, 12, 7, .68) 0%, rgba(15, 12, 7, .22) 55%, rgba(15, 12, 7, .08) 100%)
}

.medical-hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 24px;
    max-width: 1180px
}

.medical-hero .eyebrow {
    letter-spacing: .28em;
    font-weight: 800;
    color: #9d7415;
    font-size: .78rem
}

.medical-hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.02;
    margin: 14px 0;
    color: #fff;
    max-width: 720px
}

.medical-hero h1 span {
    color: #f2d98a
}

.medical-hero p {
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 680px;
    color: #f0e9db
}

.medical-hero-points {
    font-weight: 700;
    color: #f2e6c8
}

.medical-hero-points span {
    background: rgba(20, 15, 5, .5);
    border-color: rgba(242, 217, 138, .45);
    color: #fff
}

.medical-hero .eyebrow {
    color: #ffe18a
}

.medical-photo {
    height: 190px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    margin: -1px -1px 18px
}

.medical-photo img,
.service-photo img,
.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .4s ease
}

.card:hover .medical-photo img,
.card:hover .service-photo img {
    transform: scale(1.05);
    filter: brightness(1.08) saturate(1.06)
}

.doctor-photo {
    width: 118px;
    height: 118px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #d5aa37;
    box-shadow: 0 8px 24px rgba(166, 122, 20, .2)
}

.doctor-photo img {
    object-fit: cover
}

.service-photo {
    height: 150px;
    margin: -1px -1px 18px;
    border-radius: 16px 16px 0 0;
    overflow: hidden
}

.service-photo-card {
    padding-top: 0;
    overflow: hidden
}

.medicalupdate .section {
    scroll-margin-top: 100px
}

@media(max-width:800px) {
    .medical-hero {
        min-height: 620px;
        background: transparent;
        border: 0
    }

    .medical-hero-overlay {
        background: linear-gradient(180deg, rgba(255, 200, 104, 0.587) 0%, rgba(15, 12, 7, 0) 55%, rgba(15, 12, 7, 0) 100%)
    }

    .medical-hero-content {
        padding: 76px 24px 56px
    }

    .medical-hero h1 {
        font-size: 2.6rem
    }

    .medical-hero-points {
        gap: 8px
    }

    .medical-hero-points span {
        font-size: .85rem
    }

    .medical-photo {
        height: 170px
    }
}

/* Bright-image hero with raised text; no dark translucent text panel. */
.medical-hero-overlay { background: linear-gradient(90deg, rgba(15,12,7,.16) 0%, rgba(15,12,7,.06) 48%, rgba(15,12,7,0) 78%) !important; }
.medical-hero-content { background: transparent !important; box-shadow: none !important; }
.medical-hero h1, .medical-hero h1 span { text-shadow: 0 1px 0 rgba(255,255,255,.24), 0 2px 0 rgba(117,78,12,.4), 0 4px 0 rgba(65,43,6,.24), 0 7px 12px rgba(0,0,0,.22) !important; }
.medical-hero p, .medical-hero-points { text-shadow: 0 1px 2px rgba(0,0,0,.48) !important; }
@media (max-width:700px) { .medical-hero-overlay { background: linear-gradient(180deg, rgba(15,12,7,.08), rgba(15,12,7,.18)) !important; } }
