.ppro-y26-c-services-menu {
    width: 100%;
}

.ppro-y26-c-services-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ppro-y26-c-services-menu__item {
    margin: 0;
}

.ppro-y26-c-services-menu__link {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding-block: 1.5rem;
    border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
    color: inherit;
    text-decoration: none;
}

.ppro-y26-c-services-menu__link::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.ppro-y26-c-services-menu__number,
.ppro-y26-c-services-menu__label {
    font-family: var(--ppro-font-body);
    font-weight: var(--ppro-font-weight-body);
    font-size: 1.125rem;
    line-height: 1.625rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.ppro-y26-c-services-menu__number {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.ppro-y26-c-services-menu__link--active::before {
    width: 8.75rem;
    transform: scaleX(1);
}

.ppro-y26-c-services-menu__link--active .ppro-y26-c-services-menu__number,
.ppro-y26-c-services-menu__link--active .ppro-y26-c-services-menu__label {
    opacity: 1;
}

.ppro-y26-c-services-menu__link:hover .ppro-y26-c-services-menu__number,
.ppro-y26-c-services-menu__link:hover .ppro-y26-c-services-menu__label,
.ppro-y26-c-services-menu__link:focus-visible .ppro-y26-c-services-menu__number,
.ppro-y26-c-services-menu__link:focus-visible .ppro-y26-c-services-menu__label {
    opacity: 1;
}

.ppro-y26-c-services-menu__link:hover::before,
.ppro-y26-c-services-menu__link:focus-visible::before {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .ppro-y26-c-services-menu__number,
    .ppro-y26-c-services-menu__label {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}
