.properties {
    padding: 80px 0;
}

.properties__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.properties__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.properties__more {
    text-align: center;
    margin-top: 50px;
}

.properties__more {
    text-align: center;
    margin-top: 50px;
}

.properties__more .btn {
    font-size: 1rem;
}

.property-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.property-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-card__image img {
    transform: scale(1.08);
}

.property-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-card__badge {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    color: #ffffff;
}

.property-card__badge--sale {
    background: var(--primary);
}

.property-card__badge--rent {
    background: #22c55e;
}

.property-card__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.property-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.property-card__dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.property-card__dot--active {
    background-color: #ffffff;
    transform: scale(1.3);
}

.property-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card__price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-card__price-period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.property-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.property-card__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.property-card__address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.property-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.property-card__feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.property-card__feature svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.property-card__feature-value {
    font-weight: 700;
}

@media (max-width: 768px) {
    .properties__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-card__content {
        padding: 20px;
    }
    
    .property-card__price {
        font-size: 1.4rem;
    }
}
