/* --- Секция блока услуг --- */
.services-section {
    padding: 60px 0;
    background-color: var(--main-bg-color);
}

/* Сетка: 3 колонки на десктопе */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
}

/* --- Карточка услуги --- */
.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--padding-standart); 
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100
}

.service-card__icon-box {
    width: 100%;
    height: 160px;
    background-color: rgba(0, 128, 128, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* Контентная часть */
.service-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}


.service-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.service-card__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
}

.service-card__price {
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    color: var(--accent);
    white-space: nowrap; 
}


.service-card__desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    margin: 0 0 24px 0;
}

.service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 100px; 
    width: max-content; 
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.service-card__btn:hover {
    background-color: #006666; 
}

.service-card__btn:active {
    transform: scale(0.98);
}

/* Планшетная версия */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card__icon-box {
        height: 140px; 
        margin-bottom: 20px;
    }
    
    .service-card__header {
        margin-bottom: 12px;
    }
    
    .service-card__title {
        font-size: 20px;
    }
    
    .service-card__price {
        font-size: 20px;
    }
}