.favor-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
    font-family: 'Inter', sans-serif;
}

.favor-service {
    border-bottom: 1px solid #E6E6E6;
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 210px;
    justify-content: space-between;
}

.favor-service__icon img,
.favor-service__icon-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.favor-service__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: #1D1C1C;
}

.favor-service__desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: #474747;
    max-width: 360px;
}

.favor-service__bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.favor-service__link {
    font-size: 15px;
    font-weight: 500;
    color: #BF3131;
    text-decoration: none;
}

.favor-service__link:hover {
    text-decoration: none;
}

.favor-service__link--disabled {
    cursor: default;
    text-decoration: none;
}

.favor-service__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1D1C1C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.favor-service__dot::after {
    content: "";
    width: 12px;
    height: 12px;
    background: center/12px 12px no-repeat url("/wp-content/uploads/2025/10/mini-arrov.svg");
    display: block;
}


.favor-service--active {
    border: 1px solid rgba(191, 49, 49, .3);
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .03);
    border-radius: 8px;
    padding: 28px 24px 36px 24px;
}

.favor-service--active .favor-service__title {
    color: #BF3131;
}

.favor-service--active .favor-service__dot {
    background: #BF3131;
}

@media(max-width:1024px) {
    .favor-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

@media(max-width:680px) {
    .favor-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .favor-service {
        border-bottom: 1px solid #E6E6E6;
        border-radius: 0;
        padding-bottom: 22px;
    }
    .favor-service--active {
        border-radius: 12px;
    }
}

.favor-service__bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    width: 180px;
    justify-content: flex-start;
}

.favor-service__dot {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1D1C1C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 1s ease;
}
.favor-service__dot::after {
    content: "";
    width: 12px;
    height: 12px;
    background: center/12px 12px no-repeat url("/wp-content/uploads/2025/10/mini-arrov.svg");
    display: block;
}

.favor-service__link {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    opacity: 0;
    transition: width 1s ease, opacity 1s ease;
    font-size: 15px;
    font-weight: 500;
    color: #BF3131;
}

.favor-service:hover .favor-service__link,
.favor-service--active .favor-service__link {
    width: calc(100% - 38px);
    opacity: 1;
}

.favor-service:hover .favor-service__dot,
.favor-service--active .favor-service__dot {
    background: #BF3131;
}

@media (min-width: 1024px) {
    .favor-services-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 48px 40px;
        font-family: 'Inter', sans-serif;
        position: relative;
    }

    .favor-service {
        position: relative;
    }

    .favor-service:nth-child(1)::after,
    .favor-service:nth-child(2)::after,
    .favor-service:nth-child(4)::after,
    .favor-service:nth-child(5)::after {
		content: "";
        position: absolute;
        bottom: 40px;
        right: -20px;
        width: 1px;
        height: 90%;
        background: #DDD;
        pointer-events: none;
    }

    .favor-service:nth-child(4),
    .favor-service:nth-child(5),
    .favor-service:nth-child(6) {
        border-bottom: none;
    }
}
@media (max-width: 1024px) {
    .favor-service::after {
        display: none;
    }
}
@media (max-width: 680px) {
    .favor-service {
        display: block;
    }
    .favor-service > .favor-service__icon,
    .favor-service > .favor-service__title {
        display: inline-flex;
        align-items: center;
        vertical-align: middle;
    }
    .favor-service > .favor-service__icon {
        margin-right: 14px;
        margin-bottom: 20px;
    }
    .favor-service > .favor-service__title {
        margin: 0 0 10px 0;
    }
    .favor-service__desc {
        clear: both;
    }
	.favor-service__bottom {
    margin-top: 25px;
	}
	.favor-service .favor-service__link, .favor-service__link {
		width: calc(100% - 38px);
		opacity: 1;
	}
	.favor-service__link {
	    color: #000000;
	}
	.favor-service__bottom {
    	gap: 0;
	}
	.favor-service__dot {
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
		background: #474747;
	}
	.favor-service__dot::after {
		content: "";
		width: 10px;
		height: 10px;
		background: center / 10px 10px no-repeat url(/wp-content/uploads/2025/10/mini-arrov.svg);
		display: block;
	}
}