.proyectos-carousel-wrapper {
    background-color: #121212;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 60px 20px;
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pc-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.pc-title {
    font-size: 38px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pc-nav-buttons {
    display: flex;
    gap: 8px;
}

.pc-prev-btn, .pc-next-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pc-prev-btn:hover, .pc-next-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}


.pc-btn-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    height: 44px;
    padding: 0 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pc-btn-all:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Outer Carousel Card Container matching the border box of the image layout */
.pc-swiper {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #171717;
    overflow: hidden;
}

.pc-card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px;
}

.pc-image-col {
    flex: 1.1;
    display: flex;
    justify-content: center;
}

/* Angled cut layout matching the excavator mockup */
.pc-image-shape {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    clip-path: polygon(15% 0%, 100% 0%, 100% 80%, 85% 100%, 0% 100%, 0% 20%);
    background: #222;
}

.pc-image-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.pc-slide:hover .pc-image-shape img {
    filter: grayscale(0.2);
}

.pc-content-col {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pc-item-meta {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.pc-item-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.pc-item-excerpt {
    font-size: 15px;
    color: #bbbbbb;
    line-height: 1.6;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 28px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pc-btn-slide:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

@media (max-width: 991px) {
    .pc-card-inner {
        flex-direction: column;
        padding: 30px;
        gap: 25px;
    }
    
    .pc-image-col, .pc-content-col {
        width: 100%;
    }
    
    .pc-title {
        font-size: 28px;
    }
    
    .pc-item-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .pc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .pc-header-right {
        width: 100%;
        justify-content: space-between;
    }
}
