.catalog-section {
    padding-top: 80px;
}

.catalog-header {
    margin-bottom: 55px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 22px;
    width: 100%;
}

.catalog-card {
    background-color: #eaebf9;
    border-radius: 42px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 185px;
    text-decoration: none;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(56, 61, 76, 0.1);
}

.card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #383d4c;
    letter-spacing: -0.14px;
    margin-bottom: 20px;
    z-index: 2;
    position: relative;
    max-width: 333px;
}

.card-image {
    position: absolute;
    right: -20px;
    bottom: -20px;
    z-index: 1;
}

.card-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.card-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 47px;
    height: 47px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.catalog-card:hover .card-icon {
    transform: scale(1.05);
}

.card-icon svg {
    width: 11px;
    height: 11px;
}

/* Специальные стили для разных карточек */
.catalog-card .card-image {
    right: 0px;
    bottom: 0px;
    top: 0;
    left: 0;
}

@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: auto;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .catalog-section {
        padding: 40px 0;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 16px;
    }

    .catalog-card {
        padding: 24px;
        height: 160px;
    }

    .card-title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 24px;
        line-height: 36px;
    }

    .catalog-header {
        margin-bottom: 40px;
    }

    .card-image {
        right: -10px;
        bottom: -10px;
    }

    .card-title {
        padding-right: 120px;
    }

    .catalog-card .card-image {
        display: flex;
        justify-content: flex-end;
    }

    .card-image img {
        height: 100%;
    }
}

@media (max-width: 480px) {

    .catalog-card {
        padding: 20px;
        height: 140px;
    }

    .card-title {
        font-size: 18px;
        line-height: 24px;
    }

    .section-title {
        font-size: 20px;
        line-height: 32px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        top: 16px;
        right: 16px;
    }

    .card-icon svg {
        width: 9px;
        height: 9px;
    }
}