/* Service image cards */
.service-image-card {
    overflow: hidden;
}

.service-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #0b1019;
    border: 1px solid rgba(255,255,255,.08);
}

.service-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.service-image-card:hover .service-image-wrap img {
    transform: scale(1.045);
}

.service-admin-thumb {
    width: 90px;
    height: 54px;
    display: block;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0b1019;
}

.service-admin-thumb-empty {
    display: grid;
    place-items: center;
    color: #8892a2;
}

.admin-table td {
    vertical-align: middle;
}


/* =========================================
   EXPLORE SERVICES NAVIGATION
========================================= */

.services-index {
    padding-top: 70px;
    padding-bottom: 90px;
}

.services-index .section-head {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.services-index .section-head h2 {
    margin-bottom: 14px;
}

.services-index .section-head p {
    max-width: 680px;
    margin: 0 auto;
}

/* Navigation wrapper */
.service-jump {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

/* Individual category */
.service-jump a {
    position: relative;

    min-height: 78px;
    padding: 18px 18px;

    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;

    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 30, 0.10);
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(20, 20, 30, 0.05);

    color: #17171d;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* Number */
.service-jump-number {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f6f1e8;
    color: #d99217;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Text */
.service-jump-text {
    flex: 1;

    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

/* Arrow */
.service-jump-arrow {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f4f4f5;
    color: #777;

    font-size: 16px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

/* Hover */
.service-jump a:hover {
    transform: translateY(-5px);

    border-color: rgba(218, 153, 25, 0.45);

    background: #ffffff;

    box-shadow:
        0 15px 35px rgba(20, 20, 30, 0.10);
}

.service-jump a:hover .service-jump-number {
    background: #d99217;
    color: #ffffff;
}

.service-jump a:hover .service-jump-arrow {
    background: #d99217;
    color: #ffffff;
    transform: rotate(45deg);
}

/* Active / keyboard focus */
.service-jump a:focus-visible {
    outline: 2px solid #d99217;
    outline-offset: 4px;
}

/* =========================================
   DARK THEME
========================================= */

html:not([data-theme="light"]) .service-jump a {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);
}

html:not([data-theme="light"]) .service-jump a:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(218, 153, 25, 0.45);
}

html:not([data-theme="light"]) .service-jump-number {
    background: rgba(218, 153, 25, 0.12);
    color: #e3a32a;
}

html:not([data-theme="light"]) .service-jump-arrow {
    background: rgba(255, 255, 255, 0.07);
    color: #aaa;
}

html:not([data-theme="light"]) .service-jump a:hover .service-jump-number {
    background: #d99217;
    color: #fff;
}

html:not([data-theme="light"]) .service-jump a:hover .service-jump-arrow {
    background: #d99217;
    color: #fff;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .service-jump {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .services-index {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .services-index .section-head {
        margin-bottom: 30px;
    }

    .services-index .section-head h2 {
        font-size: 30px;
    }

    .services-index .section-head p {
        font-size: 14px;
        line-height: 1.7;
    }

    .service-jump {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-jump a {
        min-height: 68px;
        padding: 14px;
        border-radius: 14px;
    }

    .service-jump-number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .service-jump-text {
        font-size: 14px;
    }

}
/* Search + category filter bar (added) */
.services-filter-pill {
    background: transparent;
    border: 1px solid var(--line-strong, #333);
    color: var(--text, #fff);
    cursor: pointer;
    opacity: .75;
}
.services-filter-pill.active {
    background: var(--gold, #f0a825);
    color: #111;
    opacity: 1;
    border-color: var(--gold, #f0a825);
}
