.services-carousel {
    padding-bottom: 38px;
}

.carousel-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
    width: calc(42.5% - clamp(15px, 3vw, 34px));
}

.carousel-arrow {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(12, 24, 35, 0.72);
    color: white;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    background: #b8e4e7;
    color: rgb(0, 0, 39);
    transform: scale(1.08);
}

.carousel-progress {
    position: relative;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.carousel-progress-bar {
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: left center;
    background: #b8e4e7;
}

@media (max-width: 700px) {
    .carousel-controls {
        right: 0;
        width: min(100%, 360px);
        gap: 8px;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
}
