/* ============================================
   SERVICES CATALOG PAGE STYLES
   ============================================ */

/* ============================================
   SERVICES CATALOG SECTION
   ============================================ */

.services-catalog {
    background-color: #fff;
}

.services-catalog__title {
    margin-bottom: 32px;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 24px;
}

.services-catalog__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================
   SERVICE CARD
   ============================================ */

.service-card {
    display: flex;
    flex-direction: column;
    background: #F7F7F8;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: calc(25% - 15px);
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card__image {
    width: 100%;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    flex-grow: 1;
}

.service-card__title {
    font-family: 'Actay Wide', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: #0B0C0E;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
    color: #4778f5;
}

.service-card__description {
    color: #0B0C0E;
    flex-grow: 1;
}

.service-card__link {
    font-family: 'Actay Wide', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: #4778f5;
    transition: color 0.3s ease;
}

.service-card:hover .service-card__link {
    color: #3461d9;
}

/* Hidden service cards */
.service-card--hidden {
    display: none;
}

/* Load More Button */
.services-catalog__load-more {
    display: none;
    justify-content: center;
    padding-top: 40px;
}

.services-catalog__load-more--visible {
    display: flex;
}

.services-catalog__load-btn {
    font-family: 'Actay Wide', sans-serif;
    font-style: italic;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    color: #0B0C0E;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    width: 100%;
    max-width: 1376px;
    height: 51px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.services-catalog__load-btn:hover {
    background-color: #0B0C0E;
    color: #fff;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Desktop - Small (1310px - 1200px) */
@media (max-width: 1310px) {
    .service-card {
        width: calc(33.333% - 14px);
    }
}

/* Tablet - Large (1200px - 1100px) */
@media (max-width: 1200px) {
    .services-catalog {
        padding: 32px 0 100px 0;
    }

    .services-catalog__title {
        margin-bottom: 40px;
    }
}

/* Tablet - Medium (1100px - 900px) */
@media (max-width: 1100px) {
    .service-card {
        width: calc(50% - 10px);
    }
}

/* Mobile (≤900px) */
@media (max-width: 900px) {
    .services-catalog {
        padding: 24px 0 80px 0;
    }

    .services-catalog__title {
        margin-bottom: 32px;
    }

    .service-card__image {
        height: 200px;
    }
}

/* Mobile - Small (≤600px) */
@media (max-width: 600px) {
    .service-card {
        width: 100%;
    }

    .service-card__image {
        height: 240px;
    }
}