.section-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--sjhi-medical-blue);
}

.section-eyebrow-light {
    color: rgba(255, 255, 255, 0.88);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
}

.section-copy {
    color: #496255;
    max-width: 70ch;
}

.services-hero {
    background:
        linear-gradient(130deg, rgba(7, 52, 30, 0.84) 0%, rgba(8, 71, 36, 0.8) 44%, rgba(18, 52, 126, 0.72) 100%),
        url('../images/services/consult.jpg');
    background-size: cover;
    background-position: center bottom;
    color: #fff;
}

.services-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.15rem);
    line-height: 1.06;
}

.services-copy {
    max-width: 62ch;
    opacity: 0.95;
}

.services-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.services-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(9, 34, 20, 0.25);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.services-trust-list i {
    color: #ffd869;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.services-hero .btn-outline-light {
    border-width: 1.5px;
}

.hero-info-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 28px rgba(2, 22, 12, 0.24);
}

.hero-info-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-info-card img.hero-info-image-facility {
    aspect-ratio: 4/3;
    object-position: center;
}

.hero-info-body {
    padding: 1rem;
    color: #244234;
}

.hero-info-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
}

.hero-info-body p {
    color: #4d6358;
}

.services-finder {
    background: #fff;
    border-bottom: 1px solid var(--sjhi-border);
}

.finder-panel {
    border: 1px solid var(--sjhi-border);
    border-radius: 16px;
    padding: 1.1rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(10, 40, 22, 0.05);
}

.service-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.service-filter-btn {
    border: 1px solid var(--sjhi-border);
    background: #fff;
    color: #2f4a3c;
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.service-filter-btn i {
    color: var(--sjhi-medical-blue);
}

.service-filter-btn:hover,
.service-filter-btn.active {
    background: var(--sjhi-primary-green);
    border-color: var(--sjhi-primary-green);
    color: #fff;
}

.service-filter-btn:hover i,
.service-filter-btn.active i {
    color: #fff;
}

.filter-meta {
    color: #4b6658;
    font-weight: 600;
}

.support-panel {
    border: 1px solid #d4e3d9;
    border-radius: 16px;
    padding: 1.1rem;
    background: linear-gradient(145deg, #f8fcf9 0%, #edf6f1 100%);
}

.support-panel h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
}

.support-panel p,
.support-panel ul {
    color: #3f5c4e;
}

.support-panel ul {
    padding-left: 1.1rem;
    margin-bottom: 0.85rem;
}

.services-floor-nav {
    position: sticky;
    top: 72px;
    z-index: 10;
    background: rgba(247, 250, 248, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--sjhi-border);
}

.floor-nav-wrap {
    display: flex;
    gap: 0.6rem;
    padding: 0.75rem 0;
    overflow-x: auto;
}

.floor-nav-btn {
    border: 1px solid var(--sjhi-border);
    background: #fff;
    border-radius: 999px;
    color: #2f4c3d;
    padding: 0.44rem 0.82rem;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.floor-nav-btn:hover,
.floor-nav-btn.active {
    background: var(--sjhi-medical-blue);
    color: #fff;
    border-color: var(--sjhi-medical-blue);
}

.services-listing {
    background: var(--sjhi-surface);
}

.service-floor {
    padding: 2rem 0 0.5rem;
}

.service-floor + .service-floor {
    border-top: 1px solid #e2ece5;
    margin-top: 1.5rem;
}

.service-floor-head {
    margin-bottom: 1rem;
}

.service-card {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--sjhi-border);
    background: #fff;
    box-shadow: 0 10px 24px rgba(9, 39, 21, 0.06);
}

.service-media {
    background: #eff6f1;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.service-body {
    padding: 1rem;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--sjhi-primary-green);
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
}

.service-summary {
    color: #4b6257;
    margin-bottom: 0.75rem;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-bottom: 0.7rem;
}

.service-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #355346;
    font-size: 0.88rem;
    font-weight: 700;
}

.service-meta i {
    color: var(--sjhi-medical-blue);
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.service-badges span {
    display: inline-flex;
    border: 1px solid #dae7de;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    font-size: 0.82rem;
    color: #35624b;
    background: #f8fcf9;
    font-weight: 700;
}

.service-list-title {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: #2e4f40;
    font-weight: 800;
}

.service-highlights {
    margin: 0;
    padding-left: 1.05rem;
    color: #3f5e50;
}

.service-highlights li {
    margin-bottom: 0.2rem;
}

.service-item-hidden {
    display: none !important;
}

.service-floor-hidden {
    display: none;
}

.service-empty-message {
    margin-top: 1rem;
    border: 1px dashed #cbd9cf;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    color: #4e6659;
    background: #fbfdfb;
    font-weight: 600;
}

.facility-overview {
    background: #fff;
}

.facility-card {
    border: 1px solid var(--sjhi-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.facility-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.facility-card-body {
    padding: 0.8rem;
}

.facility-card h3 {
    color: #325346;
}

@media (max-width: 991px) {
    .services-floor-nav {
        top: 66px;
    }

    .service-floor {
        padding-top: 1.4rem;
    }

    .services-hero-actions .btn {
        flex: 1 1 calc(50% - 0.33rem);
    }
}

@media (max-width: 767px) {
    .services-trust-list {
        gap: 0.45rem;
    }

    .services-trust-list span {
        font-size: 0.84rem;
    }

    .service-filter-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .services-hero-actions .btn {
        flex: 1 1 100%;
    }

    .service-meta {
        gap: 0.35rem 0.6rem;
    }

    .service-meta span {
        width: 100%;
    }

    .service-body {
        padding: 0.85rem;
    }
}

@media (max-width: 575px) {
    .services-title {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .services-copy,
    .section-copy {
        font-size: 0.94rem;
    }

    .services-trust-list span {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.81rem;
    }

    .finder-panel,
    .support-panel {
        padding: 0.9rem;
    }

    .floor-nav-btn {
        font-size: 0.84rem;
    }
}
