/* =============================================
   TIPOGRAFÍA
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&family=Manrope:wght@400;500;600&display=swap');

/* =============================================
   CARRUSEL DE PROYECTOS
   ============================================= */
.wp-block-beewall-portfolio-carousel {
    background: transparent !important;
}
.bwp-carousel {
    position: relative;
    padding: 0;
    margin: 0 60px;
    background: transparent;
}
.bwp-carousel-viewport {
    overflow: hidden;
}
.bwp-carousel-track {
    display: flex;
    gap: 24px;
    padding: 10px 0;
    cursor: grab;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.bwp-carousel-track.is-dragging {
    cursor: grabbing;
    transition: none;
}
.bwp-carousel-track.is-dragging .bwp-carousel-card {
    pointer-events: none;
}

/* Card */
.bwp-carousel-card {
    flex: 0 0 var(--bwp-card-w, calc(50% - 12px));
    aspect-ratio: 1 / 1;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #FCF6E6;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.bwp-carousel-card:hover {
    transform: translateY(-6px);
}

.bwp-card-img {
    width: 100%;
    flex: 1;
    background-size: cover;
    background-position: center;
    background-color: rgba(44, 44, 44, 0.3);
}

.bwp-card-body {
    padding: 18px 24px 20px;
    background: var(--bwp-card-bg, #2c2c2c);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bwp-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bwp-card-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    background: var(--bwp-tag-bg, #FFCB05);
    color: var(--bwp-tag-text, #2c2c2c);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}
.bwp-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0.5rem 0 0 !important;
    line-height: 1.2;
    color: var(--bwp-card-title, #FCF6E6);
}
.bwp-card-empresa {
    font-family: 'Manrope', sans-serif;
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--bwp-empresa, #FFCB05);
}

/* Logros en card */
.bwp-card-logros {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.bwp-card-logro {
    display: flex;
    flex-direction: column;
}
.bwp-card-logro-dato {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bwp-logro-dato, #FFCB05);
}
.bwp-card-logro-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--bwp-logro-desc, #FCF6E6);
    opacity: 0.7;
}

/* Botones del carrusel */
.bwp-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    font-size: 0;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.bwp-carousel-btn::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--bwp-arrow, #2c2c2c);
    border-right: 3px solid var(--bwp-arrow, #2c2c2c);
}
.bwp-carousel-prev::before {
    transform: rotate(-135deg);
    margin-left: 6px;
}
.bwp-carousel-next::before {
    transform: rotate(45deg);
    margin-right: 6px;
}
.bwp-carousel-btn:hover,
.bwp-carousel-btn:focus,
.bwp-carousel-btn:active {
    opacity: 1;
    outline: none;
    box-shadow: none;
    background: none;
}
.bwp-carousel-prev { left: -50px; }
.bwp-carousel-next { right: -50px; }

/* Responsive carrusel */
@media (max-width: 768px) {
    .bwp-carousel {
        margin: 0 20px;
    }
    .bwp-carousel-btn {
        display: none;
    }
    .bwp-card-logros,
    .bwp-card-tags {
        display: none;
    }
    .bwp-card-body {
        justify-content: center;
        padding: 20px 24px;
    }
    .bwp-card-title {
        font-size: 16px;
        margin-top: 0 !important;
    }
}
@media (max-width: 480px) {
    .bwp-carousel {
        margin: 0 12px;
    }
}

/* =============================================
   PÁGINA INDIVIDUAL DE PROYECTO — HERO
   ============================================= */
.bwp-single-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}
.bwp-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}
.bwp-hero-text {
    background: #FFCB05;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Footer por encima del hero fixed — clase añadida por JS solo en proyectos */
.bwp-above-hero {
    position: relative !important;
    z-index: 2 !important;
}
.bwp-single-empresa {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 16px;
    opacity: 0.6;
}
.bwp-single-title {
    font-family: 'Poppins', sans-serif;
    font-size: 66px;
    font-weight: 900;
    margin: 0 0 32px;
    line-height: 1.1;
    color: #2c2c2c;
    letter-spacing: -2px;
}
.bwp-single-servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.bwp-single-servicio {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    background: #2c2c2c;
    color: #FFCB05;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    transition: transform 0.2s;
}
.bwp-single-servicio:hover {
    transform: scale(1.05);
}
.bwp-single-intro {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0;
    opacity: 0.85;
}

/* Logros */
.bwp-logros {
    display: flex;
    gap: 56px;
    margin-top: 28px;
}
.bwp-logro {
    display: flex;
    flex-direction: column;
}
.bwp-logro-dato-front {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #2c2c2c;
}
.bwp-logro-desc-front {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    opacity: 0.7;
}
/* Logros en secciones oscuras */
.bwp-seccion--dark .bwp-logro-dato-front,
.bwp-seccion--dark .bwp-logro-desc-front {
    color: #FFCB05;
    opacity: 1;
}
.bwp-seccion--dark .bwp-logro-dato-front {
    font-size: 64px;
}
.bwp-seccion--dark .bwp-logro-desc-front {
    font-size: 18px;
}
/* Logros en secciones amarillas */
.bwp-seccion--yellow .bwp-logro-dato-front,
.bwp-seccion--yellow .bwp-logro-desc-front {
    color: #2c2c2c;
    opacity: 1;
}
.bwp-seccion--yellow .bwp-logro-dato-front {
    font-size: 64px;
}
.bwp-seccion--yellow .bwp-logro-desc-front {
    font-size: 18px;
}

/* =============================================
   PÁGINA INDIVIDUAL DE PROYECTO — CONTENIDO
   ============================================= */
.bwp-single {
    max-width: 1400px;
    margin: 100vh auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Sección de servicio */
.bwp-seccion {
    margin-bottom: 0;
    padding-top: 0;
    border-top: none;
}

/* Secciones full-width alternas */
.bwp-seccion--dark,
.bwp-seccion--yellow {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 0;
    padding: 110px calc(50vw - 680px) 60px;
    border-top: none;
}

/* Tema oscuro (1a, 3a, 5a…) */
.bwp-seccion--dark {
    background: #2c2c2c;
}
.bwp-seccion--dark .bwp-seccion-titulo {
    color: #FFCB05;
}
.bwp-seccion--dark .bwp-seccion-badge {
    background: #FFCB05;
    color: #2c2c2c;
}
.bwp-seccion--dark .bwp-seccion-intro,
.bwp-seccion--dark .bwp-parrafo-text,
.bwp-seccion--dark .bwp-seccion-parrafo {
    color: #FCF6E6;
    opacity: 0.9;
}
.bwp-seccion--dark .bwp-seccion-img,
.bwp-seccion--dark .bwp-parrafo-img img {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.bwp-seccion--dark .bwp-marquee-row {
    color: #FFCB05;
}
.bwp-seccion--dark .bwp-mini-carousel {
    background: #2c2c2c;
}
.bwp-seccion--dark .bwp-carousel-bar {
    background: rgba(255, 255, 255, 0.2);
}
.bwp-seccion--dark .bwp-carousel-bar-fill {
    background: #FFCB05;
}
.bwp-seccion--dark .bwp-marquee-block,
.bwp-seccion--yellow .bwp-marquee-block {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Tema amarillo (2a, 4a, 6a…) */
.bwp-seccion--yellow {
    background: #FFCB05;
}
.bwp-seccion--yellow .bwp-seccion-titulo {
    color: #2c2c2c;
}
.bwp-seccion--yellow .bwp-seccion-badge {
    background: #2c2c2c;
    color: #FFCB05;
}
.bwp-seccion--yellow .bwp-seccion-intro,
.bwp-seccion--yellow .bwp-parrafo-text,
.bwp-seccion--yellow .bwp-seccion-parrafo {
    color: #2c2c2c;
    opacity: 0.85;
}
.bwp-seccion--yellow .bwp-seccion-img,
.bwp-seccion--yellow .bwp-parrafo-img img {
    box-shadow: 0 8px 30px rgba(44, 44, 44, 0.15);
}
.bwp-seccion--yellow .bwp-marquee-row {
    color: #2c2c2c;
}
.bwp-seccion--yellow .bwp-mini-carousel {
    background: #FFCB05;
}
.bwp-seccion--yellow .bwp-carousel-bar {
    background: rgba(44, 44, 44, 0.15);
}
.bwp-seccion--yellow .bwp-carousel-bar-fill {
    background: #2c2c2c;
}

.bwp-seccion-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #2c2c2c;
    margin: 0 0 16px;
    letter-spacing: -1px;
    line-height: 1.05;
}
.bwp-seccion-badge {
    font-family: 'Manrope', sans-serif;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: #FFCB05;
    color: #2c2c2c;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bwp-seccion-img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 32px;
}
.bwp-seccion-intro {
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 28px;
    max-width: 800px;
}
/* Párrafo + imagen en fila */
.bwp-parrafo-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 32px;
}
.bwp-parrafo-text {
    flex: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
    opacity: 0.85;
}
.bwp-parrafo-text p:last-child {
    margin-bottom: 0;
}
.bwp-parrafo-img {
    flex: 0 0 40%;
    max-width: 40%;
}
.bwp-parrafo-img img {
    width: 100%;
    border-radius: 14px;
    display: block;
}
.bwp-seccion-parrafo {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #2c2c2c;
    margin-bottom: 24px;
    opacity: 0.85;
}

/* Marquee + Mini carrusel */
.bwp-marquee-block {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 40px;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 60px 0;
    background: transparent;
}
.bwp-marquee-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    z-index: 0;
}
.bwp-marquee-row {
    display: flex;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #2c2c2c;
    line-height: 1.1;
    letter-spacing: -1px;
    width: max-content;
}
.bwp-marquee-row span {
    flex-shrink: 0;
}
.bwp-marquee-right {
    animation: marqueeRight 95s linear infinite;
}
.bwp-marquee-left {
    animation: marqueeLeft 95s linear infinite;
}
@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}
@keyframes marqueeLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.bwp-mini-carousel {
    position: relative;
    overflow: visible;
    border-radius: 14px;
    max-width: 50%;
    margin: 0 auto;
    z-index: 1;
    background: #fff;
    box-shadow: 0 12px 40px rgba(44, 44, 44, 0.12);
}
.bwp-mini-carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    width: 100%;
}
.bwp-mini-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 14px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.6s ease;
}
.bwp-mini-carousel-slide:first-child {
    position: relative;
}
.bwp-mini-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Barras de progreso del carrusel */
.bwp-carousel-bars {
    display: flex;
    gap: 6px;
    padding: 14px 16px;
    position: relative;
    z-index: 5;
}
.bwp-carousel-bar {
    flex: 1;
    height: 4px;
    background: rgba(44, 44, 44, 0.15);
    border: none;
    border-radius: 2px;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.bwp-carousel-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #2c2c2c;
    border-radius: 2px;
}

/* Dificultad */
.bwp-dificultad-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.bwp-dificultad-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}
.bwp-dificultad-hexagons {
    display: flex;
    gap: 6px;
}
.bwp-hexagon {
    width: 22px;
    height: 25px;
    background: rgba(44, 44, 44, 0.15);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background 0.4s ease;
}
.bwp-hexagon.filled.is-active {
    background: #2c2c2c;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    /* Hero: de fixed 2 columnas a scroll vertical */
    .bwp-single-hero {
        position: relative;
        grid-template-columns: 1fr;
        height: auto;
        width: 100%;
    }
    .bwp-hero-image {
        min-height: 55vh;
        height: 55vh;
    }
    .bwp-hero-text {
        padding: 36px 24px 44px;
        min-height: auto;
        max-height: 55vh;
        overflow-y: auto;
    }
    .bwp-single-empresa {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 6px;
    }
    .bwp-single-title {
        font-size: 44px;
        letter-spacing: -1px;
        margin-bottom: 14px;
    }
    .bwp-single-servicios {
        gap: 6px;
        margin-top: 14px;
        margin-bottom: 16px;
    }
    .bwp-single-servicio {
        font-size: 11px;
        padding: 4px 14px;
    }
    .bwp-dificultad-row {
        margin-top: 20px;
        margin-bottom: 0;
    }
    .bwp-dificultad-label {
        font-size: 0.75rem;
    }
    .bwp-single-intro {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 4px;
    }
    .bwp-logros {
        margin-top: 20px;
        gap: 16px;
    }
    .bwp-logro-dato-front {
        font-size: 28px;
    }
    .bwp-logro-desc-front {
        font-size: 11px;
    }
    .bwp-single {
        margin-top: 0;
        padding: 0;
    }
    /* Secciones */
    .bwp-seccion-titulo {
        font-size: 36px;
    }
    .bwp-seccion-badge {
        font-size: 10px;
        padding: 3px 12px;
        margin-bottom: 14px;
    }
    .bwp-seccion-intro {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .bwp-seccion--dark,
    .bwp-seccion--yellow {
        padding: 40px 24px;
    }
    .bwp-parrafo-text {
        font-size: 13px;
        line-height: 1.7;
    }
    .bwp-logros {
        gap: 28px;
        flex-wrap: wrap;
    }
    .bwp-logro-dato-front {
        font-size: 34px;
    }
    .bwp-logro-desc-front {
        font-size: 13px;
    }
    .bwp-seccion--dark .bwp-logro-dato-front,
    .bwp-seccion--yellow .bwp-logro-dato-front {
        font-size: 42px;
    }
    .bwp-seccion--dark .bwp-logro-desc-front,
    .bwp-seccion--yellow .bwp-logro-desc-front {
        font-size: 14px;
    }
    .bwp-parrafo-row {
        flex-direction: column-reverse;
        gap: 20px;
        margin-bottom: 0;
    }
    .bwp-parrafo-row--img-right .bwp-parrafo-img {
        margin-top: 32px;
    }
    .bwp-parrafo-row--img-left {
        flex-direction: column-reverse;
        gap: 0;
    }
    .bwp-parrafo-row--img-left .bwp-parrafo-img {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .bwp-parrafo-row--img-left .bwp-parrafo-text {
        margin-top: 0;
        margin-bottom: 24px;
    }
    .bwp-parrafo-img {
        flex: none;
        max-width: 100%;
    }
    .bwp-marquee-row {
        font-size: 28px;
    }
    .bwp-marquee-block {
        padding: 36px 0 12px;
        margin-bottom: 0;
    }
    .bwp-mini-carousel {
        max-width: 80%;
    }
}
@media (max-width: 480px) {
    .bwp-hero-image {
        min-height: 45vh;
        height: 45vh;
    }
    .bwp-hero-text {
        padding: 28px 20px 36px;
    }
    .bwp-single-title {
        font-size: 34px;
        margin-bottom: 12px;
    }
    .bwp-single-servicios {
        margin-bottom: 12px;
    }
    .bwp-single-intro {
        font-size: 13px;
        margin-top: 14px;
    }
    .bwp-dificultad-row {
        margin-top: 16px;
        margin-bottom: 0;
    }
    .bwp-logros {
        margin-top: 16px;
        gap: 12px;
    }
    .bwp-logro-dato-front {
        font-size: 24px;
    }
    .bwp-logro-desc-front {
        font-size: 10px;
    }
    .bwp-seccion--dark,
    .bwp-seccion--yellow {
        padding: 32px 20px;
    }
    .bwp-seccion-titulo {
        font-size: 28px;
    }
    .bwp-seccion-intro {
        font-size: 13px;
    }
    .bwp-parrafo-text {
        font-size: 12.5px;
    }
    .bwp-logro-dato-front {
        font-size: 28px;
    }
    .bwp-seccion--dark .bwp-logro-dato-front,
    .bwp-seccion--yellow .bwp-logro-dato-front {
        font-size: 34px;
    }
    .bwp-marquee-row {
        font-size: 20px;
    }
    .bwp-mini-carousel {
        max-width: 90%;
    }
}

/* =============================================
   ARCHIVE — PÁGINA DE PROYECTOS (/proyectos/)
   ============================================= */
body.post-type-archive-bw_proyecto {
    background: #FCF6E6;
}
.bwp-archive {
    max-width: 1800px;
    margin: 0 auto;
    padding: 160px 40px 100px;
    font-family: 'Manrope', sans-serif;
}

/* Header */
.bwp-archive-header {
    margin-bottom: 48px;
}
.bwp-archive-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: #2c2c2c;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.bwp-archive-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    line-height: 1.7;
    color: #2c2c2c;
    opacity: 0.7;
    margin: 0 0 28px;
    max-width: 700px;
}
.bwp-archive-subtitle a {
    color: #2c2c2c;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #FFCB05;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
.bwp-archive-subtitle a:hover {
    text-decoration-color: #2c2c2c;
}

/* Filtros */
.bwp-archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bwp-filter-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: #f0f0f0;
    color: #2c2c2c;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.bwp-filter-btn:hover {
    background: #2c2c2c;
    color: #FCF6E6;
}
.bwp-filter-btn.active {
    background: #FFCB05;
    color: #2c2c2c;
}

/* Grid */
.bwp-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.bwp-archive-grid {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.bwp-archive-card {
    text-decoration: none;
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.bwp-archive-card:hover {
    transform: translateY(-4px);
}

/* Card imagen */
.bwp-archive-card-img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.bwp-archive-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.bwp-archive-card:hover .bwp-archive-card-img {
    transform: scale(1.05);
}
.bwp-archive-card-img--placeholder {
    background: #e0dcd0;
}

/* Overlay de servicios en hover */
.bwp-archive-card-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
}
.bwp-archive-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bwp-archive-card-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    background: #FFCB05;
    color: #2c2c2c;
    transform: translateY(calc(100% + 50px));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bwp-archive-card:hover .bwp-archive-card-tag {
    transform: translateY(0);
}
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(1) { transition-delay: 0s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(2) { transition-delay: 0.06s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(3) { transition-delay: 0.12s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(4) { transition-delay: 0.18s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(5) { transition-delay: 0.24s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(6) { transition-delay: 0.3s; }
.bwp-archive-card:hover .bwp-archive-card-tag:nth-child(7) { transition-delay: 0.36s; }

/* Card body */
.bwp-archive-card-body {
    padding: 16px 4px 8px;
}

/* Empresa */
.bwp-archive-card-empresa {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2c2c2c;
    opacity: 0.5;
    margin-bottom: 4px;
}

/* Título */
.bwp-archive-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #2c2c2c;
}

/* Sin proyectos */
.bwp-no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}
.bwp-no-projects-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2c2c2c;
    margin: 0 0 12px;
}
.bwp-no-projects-cta {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 500;
    color: #2c2c2c;
    opacity: 0.6;
    margin: 0;
}
.bwp-no-projects-cta a {
    color: #2c2c2c;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFCB05;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    opacity: 1;
    transition: text-decoration-color 0.2s ease;
}
.bwp-no-projects-cta a:hover {
    text-decoration-color: #2c2c2c;
}

/* Responsive archive */
@media (max-width: 1200px) {
    .bwp-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 768px) {
    .bwp-archive {
        padding: 60px 20px 80px;
    }
    .bwp-archive-title {
        margin-bottom: 20px;
    }
    .bwp-archive-filters {
        gap: 8px;
    }
    .bwp-filter-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
    .bwp-archive-card-title {
        font-size: 1.1rem;
    }
}
@media (max-width: 520px) {
    .bwp-archive {
        padding: 40px 16px 60px;
    }
    .bwp-archive-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .bwp-archive-card-img {
        aspect-ratio: 1 / 1;
    }
    .bwp-archive-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .bwp-archive-filters::-webkit-scrollbar {
        display: none;
    }
    .bwp-filter-btn {
        flex-shrink: 0;
    }
}
