/* DYNAMIC CATEGORY CARD */

.service-category-card {
    display: block;
    height: 100%;
    text-decoration: none !important;
    transition: all .3s ease;
}

.service-category-card:hover {
    transform: translateY(-5px);
}

.service-category-card.selected-category {
    outline: 2px solid #f97316;
    outline-offset: 2px;
    border-radius: 12px;
}

.service-category-image {
    position: relative;
    overflow: hidden;
}

.service-category-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* SERVICE CARDS */

.service-list-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.service-list-image {
    position: relative;
    overflow: hidden;
}

.service-list-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.service-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-list-body h3 {
    margin-top: 10px;
    margin-bottom: 12px;
}

.service-list-body p {
    line-height: 1.7;
    flex-grow: 1;
}

/* CALL & WHATSAPP BUTTONS */

.service-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.service-call-btn,
.service-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .25s ease;
    text-align: center;
}

.service-call-btn {
    background: #f97316;
    color: #fff !important;
}

.service-call-btn:hover {
    background: #ea580c;
    color: #fff !important;
}

.service-whatsapp-btn {
    background: #25d366;
    color: #fff !important;
}

.service-whatsapp-btn:hover {
    background: #128c45;
    color: #fff !important;
}

.service-contact-unavailable {
    grid-column: 1 / -1;
    color: #777;
    font-size: 13px;
    text-align: center;
}

/* EMPTY IMAGE */

.service-image-placeholder {
    height: 100%;
    min-height: 180px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 40px;
}

/* MOBILE */

@media (max-width: 767px) {

    .service-category-image img {
        height: 130px;
    }

    .service-list-image img {
        height: 190px;
    }

    .service-contact-actions {
        gap: 8px;
    }

    .service-call-btn,
    .service-whatsapp-btn {
        font-size: 12px;
        padding: 11px 5px;
        gap: 5px;
    }

    .service-category-info h3 {
        font-size: 15px;
    }

    .service-category-info p {
        font-size: 12px;
    }

}

@media (max-width: 380px) {

    .service-contact-actions {
        grid-template-columns: 1fr;
    }

}