.properties-carousel {
    width: 100%;
    padding: 60px 0;
    background: #0d0d0d;
    overflow: hidden;
}

.properties-carousel__title {
    margin: 0 0 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
}

.properties-carousel__viewport {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.properties-carousel__track {
    display: flex;
    width: max-content;
    animation: propertiesScrollLeft 43s linear infinite;
    will-change: transform;
}

.properties-carousel__card {
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    margin: 0 12px;
    border-radius: 12px;
    overflow: hidden;
    border-bottom: 2px solid transparent;
    background: #171717;
    transition: transform 300ms ease, border-color 300ms ease;
}

.properties-carousel__card:hover {
    transform: scale(1.03);
    border-bottom-color: #f97316;
}

.properties-carousel__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes propertiesScrollLeft {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .properties-carousel__track {
        animation: none;
    }
}

@media (max-width: 767px) {
    .properties-carousel__card {
        width: 260px;
        height: 180px;
    }
}
