/* =========================================================
   QueBuscasRD — «Trabajos realizados» (página del negocio) · v121
   ---------------------------------------------------------
   Antes: una cuadrícula de tarjetas iguales con solo el título.
   Ahora, como un caso de estudio:
     · el primero (el destacado) a lo ancho: foto grande a la
       izquierda; a la derecha tipo · fecha, título, descripción
       completa y el botón «Quiero uno así»;
     · los demás debajo, foto + texto sin caja, en 3 columnas
       (en el celular se deslizan de lado);
     · los filtros son pestañas subrayadas, no píldoras.
   Sirve para las 11 plantillas: toma los colores y letras de cada
   tema (--t-*) y, si no hay tema, los de Profesional (--pr-*).
   Se carga después de plantillas-tema*.css (negocio.php).
   ========================================================= */

html body.pl-pro section#trabajos-realizados {
    --pf-tinta: var(--t-tinta, var(--pr-900, #0F172A));
    --pf-texto: var(--t-texto, var(--pr-600, #475569));
    --pf-marca: var(--t-marca, var(--pr-marca, #0F172A));
    --pf-marca-tx: var(--pr-marca-tx, var(--t-marca, #0F172A));
    --pf-linea: var(--t-linea, var(--pr-200, #E2E8F0));
    --pf-radio: var(--t-radio, 16px);
    --pf-titulos: var(--t-titulos, inherit);
    --pf-tit-peso: var(--t-tit-peso, 800);
}

/* ---------- Filtros: pestañas subrayadas ---------- */
html body.pl-pro section#trabajos-realizados .pfv-filtros {
    display: flex !important; justify-content: flex-start !important; gap: 4px 26px !important;
    margin: 0 0 32px !important; padding: 0 !important;
    border-bottom: 1px solid var(--pf-linea) !important;
    overflow-x: auto; scrollbar-width: none;
}
html body.pl-pro section#trabajos-realizados .pfv-filtros::-webkit-scrollbar { display: none; }
html body.pl-pro section#trabajos-realizados .pfv-filtro {
    flex: none;
    min-height: 0 !important; height: auto !important;
    margin: 0 0 -1px !important; padding: 10px 0 12px !important;
    border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important;
    background: transparent !important; box-shadow: none !important;
    color: var(--pf-texto) !important;
    font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
    cursor: pointer;
}
html body.pl-pro section#trabajos-realizados .pfv-filtro:hover { color: var(--pf-tinta) !important; }
html body.pl-pro section#trabajos-realizados .pfv-filtro.activo {
    color: var(--pf-tinta) !important; border-bottom-color: var(--pf-marca) !important; background: transparent !important;
}
html body.pl-pro section#trabajos-realizados .pfv-filtro :is(span, small, b) {
    margin-left: 4px; background: none !important; color: inherit !important; opacity: .55; font-weight: 500 !important;
}

/* ---------- Estructura ---------- */
html body.pl-pro section#trabajos-realizados .pfc {
    display: block !important;
    grid-template-columns: none !important;
}
html body.pl-pro section#trabajos-realizados .pfc > .pfc-grande { display: block !important; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-t {
    position: relative !important;
    display: block !important;
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; overflow: visible !important;
    cursor: pointer; text-align: left !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-t[hidden] { display: none !important; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-t:hover { box-shadow: none !important; transform: none !important; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-t:focus-visible { outline: 2px solid var(--pf-marca); outline-offset: 6px; border-radius: 4px !important; }

/* Foto */
html body.pl-pro section#trabajos-realizados .pfc .pfc-ph {
    position: relative !important;
    width: 100% !important; height: auto !important; aspect-ratio: 4 / 3 !important;
    margin: 0 !important; overflow: hidden !important;
    border-radius: var(--pf-radio) !important;
    background: var(--pf-linea) !important;
    display: grid !important; place-items: center;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-ph > img {
    position: absolute !important; inset: 0 !important;
    width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1) !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-t:hover .pfc-ph > img { transform: scale(1.03); }
html body.pl-pro section#trabajos-realizados .pfc .pfc-ph .pfv-ad-card { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
/* Insignias sobre la foto: discretas */
html body.pl-pro section#trabajos-realizados .pfc .pfc-badge {
    position: absolute !important; top: 12px !important; left: 12px !important; right: auto !important;
    padding: 5px 10px !important; border-radius: 6px !important;
    background: rgba(255, 255, 255, .92) !important; color: #1C1917 !important;
    font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15) !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-fotos {
    display: inline-block !important;
    position: absolute !important; right: 12px !important; bottom: 12px !important; top: auto !important; left: auto !important;
    padding: 4px 9px !important; border-radius: 6px !important;
    background: rgba(0, 0, 0, .6) !important; color: #fff !important;
    font-size: 12px !important; font-weight: 600 !important;
}

/* Texto */
html body.pl-pro section#trabajos-realizados .pfc .pfc-tx {
    position: static !important; inset: auto !important;
    display: flex !important; flex-direction: column !important; align-items: flex-start !important;
    gap: 0 !important; padding: 0 !important; margin: 0 !important;
    background: none !important; color: var(--pf-texto) !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-tx > * { order: 0 !important; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-meta {
    display: block !important;
    margin: 0 0 6px !important;
    color: var(--pf-marca-tx) !important;
    font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-tx h3 {
    margin: 0 !important;
    color: var(--pf-tinta) !important;
    font-family: var(--pf-titulos) !important; font-weight: var(--pf-tit-peso) !important;
    font-size: 17px !important; line-height: 1.3 !important; letter-spacing: -.01em !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-t:hover .pfc-tx h3 { color: var(--pf-tinta) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-desc {
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin: 6px 0 0 !important;
    color: var(--pf-texto) !important; font-size: 14px !important; line-height: 1.55 !important; font-weight: 400 !important;
}
html body.pl-pro section#trabajos-realizados .pfc .pfc-q { display: none !important; }
html body.pl-pro section#trabajos-realizados .pfc .pfc-btn { display: none !important; }

/* ---------- El destacado: a lo ancho ---------- */
html body.pl-pro section#trabajos-realizados .pfc-grande { margin-bottom: 48px !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande > .pfc-t {
    display: grid !important;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important;
    gap: 40px !important; align-items: center !important;
}
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 16 / 11 !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-meta { font-size: 14px !important; margin-bottom: 10px !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(24px, 2.6vw, 34px) !important; line-height: 1.15 !important; letter-spacing: -.02em !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-desc {
    -webkit-line-clamp: 6; margin-top: 14px !important; font-size: 16px !important; line-height: 1.65 !important;
}
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn {
    display: inline-flex !important; align-items: center !important; gap: 14px !important;
    margin: 24px 0 0 !important; padding: 12px 18px !important; min-height: 0 !important; width: auto !important;
    border: 0 !important; border-radius: var(--t-radio-btn, 10px) !important;
    background: var(--pf-marca) !important; color: #fff !important; text-decoration: none !important;
    box-shadow: none !important;
}
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn:hover { filter: brightness(1.1); }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn span { display: grid !important; gap: 1px; text-align: left; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn b { color: #fff !important; font-size: 15px !important; font-weight: 700 !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn small { display: block !important; color: rgba(255, 255, 255, .78) !important; font-size: 12.5px !important; font-weight: 500 !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn svg { display: block !important; width: 18px !important; height: 18px !important; color: #fff !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn-wa { background: #128C7E !important; }
/* «Ver las fotos» cuando no hay botón de pedir */
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-tx:not(:has(.pfc-btn)) .pfc-q {
    display: inline-flex !important; align-items: center; gap: 6px; margin-top: 20px !important;
    color: var(--pf-tinta) !important; font-weight: 700 !important; font-size: 15px !important;
    border-bottom: 2px solid var(--pf-marca); padding-bottom: 2px;
}
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-q svg { width: 16px; height: 16px; }

/* ---------- Los demás: 3 columnas, sin cajas ---------- */
html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 36px 28px !important;
}
html body.pl-pro section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 14px !important; }
html body.pl-pro section#trabajos-realizados:not(.pfv-abierto):not(.pfv-filtrando) .pfc-lista > .pfc-t.pfc-extra { display: none !important; }
html body.pl-pro section#trabajos-realizados .pfc-vertodos {
    grid-column: 1 / -1; justify-self: start;
    margin: 4px 0 0 !important; padding: 0 0 2px !important; min-height: 0 !important;
    border: 0 !important; border-bottom: 2px solid var(--pf-marca) !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important;
    color: var(--pf-tinta) !important; font-size: 15px !important; font-weight: 700 !important; cursor: pointer;
}
html body.pl-pro section#trabajos-realizados .pfc-vertodos[hidden] { display: none !important; }
/* Solo un trabajo, o el filtro deja uno: el destacado sin lista */
html body.pl-pro section#trabajos-realizados .pfc.pfc-solo .pfc-grande,
html body.pl-pro section#trabajos-realizados.pfc-sin-lista .pfc-grande { margin-bottom: 0 !important; }
html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista:not(:has(> .pfc-t:not([hidden]))):not(:has(> .pfc-vertodos:not([hidden]))) { display: none !important; }

/* ---------- Tableta ---------- */
@media (max-width: 1023px) {
    html body.pl-pro section#trabajos-realizados .pfc-grande > .pfc-t { gap: 28px !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
    html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- Celular: destacado arriba, los demás se deslizan de lado ---------- */
@media (max-width: 700px) {
    html body.pl-pro section#trabajos-realizados .pfv-filtros { margin-bottom: 22px !important; gap: 4px 20px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-grande { margin-bottom: 32px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: 24px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-desc { font-size: 15px !important; -webkit-line-clamp: 4; }
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn { width: 100% !important; justify-content: space-between !important; }

    html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista {
        display: flex !important; gap: 16px !important;
        margin: 0 -16px !important; padding: 0 16px 6px !important;
        overflow-x: auto !important; scroll-snap-type: x mandatory; scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista::-webkit-scrollbar { display: none; }
    html body.pl-pro section#trabajos-realizados .pfc-lista > .pfc-t { flex: 0 0 78% !important; scroll-snap-align: start; }
    /* En el celular se ven todos deslizando: no hace falta «Ver los N» */
    html body.pl-pro section#trabajos-realizados:not(.pfv-x) .pfc > .pfc-lista > .pfc-t.pfc-extra:not([hidden]) { display: block !important; }
    html body.pl-pro section#trabajos-realizados .pfc-vertodos { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    html body.pl-pro section#trabajos-realizados .pfc .pfc-ph > img { transition: none !important; }
}

/* Belleza: la sección va sobre fondo oscuro → letras claras, acento ámbar */
html body.pl-pro.pl-t-belleza section#trabajos-realizados {
    --pf-tinta: #FAFAF9; --pf-texto: #D4D4D4; --pf-linea: #3F3F46;
    --pf-marca: #D97706; --pf-marca-tx: #FBBF24;
}
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-ph { background: #262626 !important; }


/* =========================================================
   CADA PLANTILLA CON SU PROPIA FORMA (v121b)
   ---------------------------------------------------------
   Lo de arriba es la forma de Profesional (revista). Aquí cada
   tema cambia la composición, no solo el color. El HTML es el
   mismo para todos (.pfc-grande = el destacado, .pfc-lista = los
   demás), así que filtros y visor siguen funcionando igual.
   ========================================================= */

/* ---- Restaurante: fotos con el título encima, destacada panorámica ---- */

html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-t { overflow: hidden !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande > .pfc-t { display: block !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-ph { margin: 0 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-tx {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    padding: 56px 22px 20px !important; background: linear-gradient(180deg, transparent, rgba(28,10,15,.88)) !important;
    align-items: center !important; text-align: center !important; pointer-events: none;
    border-radius: 0 0 var(--pf-radio) var(--pf-radio) !important;
}
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-tx a { pointer-events: auto; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-tx h3 { color: #fff !important; font-size: 16px !important;  }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-t:hover .pfc-tx h3 { color: #fff !important; text-decoration: none; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-desc { color: rgba(255,255,255,.82) !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 0 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx { padding: 90px 40px 36px !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(28px, 3vw, 40px) !important; max-width: 22ch; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-desc { max-width: 60ch; -webkit-line-clamp: 2; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-badge { z-index: 2; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-fotos { top: 12px !important; bottom: auto !important; z-index: 2; }

html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 21 / 9 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 3 / 4 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc .pfc-meta { color: #FBBF24 !important; letter-spacing: .12em !important; text-transform: uppercase !important; font-size: 11px !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-btn { background: #D97706 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfv-filtros { justify-content: center !important; }

@media (max-width: 700px) {
    html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx { position: static !important; background: none !important; padding: 16px 0 0 !important; align-items: flex-start !important; text-align: left !important; }
    html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx h3 { color: var(--pf-tinta) !important; font-size: 24px !important; }
    html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-desc { color: var(--pf-texto) !important; }
    html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 4 / 3 !important; }
}

/* ---- Gimnasio: títulos grandes en mayúsculas sobre la foto ---- */

html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-t { overflow: hidden !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande > .pfc-t { display: block !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-ph { margin: 0 !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-tx {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    padding: 56px 22px 20px !important; background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.9)) !important;
    align-items: flex-start !important; text-align: left !important; pointer-events: none;
    border-radius: 0 0 var(--pf-radio) var(--pf-radio) !important;
}
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-tx a { pointer-events: auto; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-tx h3 { color: #fff !important; font-size: 20px !important; text-transform: uppercase !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-t:hover .pfc-tx h3 { color: #fff !important; text-decoration: none; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-desc { color: rgba(255,255,255,.82) !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 0 !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx { padding: 90px 40px 36px !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(32px, 4vw, 56px) !important; max-width: 22ch; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-desc { max-width: 60ch; -webkit-line-clamp: 2; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-badge { z-index: 2; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-fotos { top: 12px !important; bottom: auto !important; z-index: 2; }

html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 2 / 1 !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 1 / 1 !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-tx h3 { font-weight: 900 !important; letter-spacing: -.03em !important; line-height: .95 !important; font-style: italic; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc .pfc-meta { display: inline-block !important; padding: 3px 8px !important; background: #0055FF !important; color: #fff !important; font-size: 11px !important; letter-spacing: .08em !important; text-transform: uppercase !important; margin-bottom: 10px !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista > .pfc-t { border-bottom: 4px solid transparent !important; transition: border-color .2s; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista > .pfc-t:hover { border-bottom-color: #0055FF !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-btn { background: #0055FF !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc > .pfc-lista { gap: 12px !important; }

@media (max-width: 700px) {
    html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx { position: static !important; background: none !important; padding: 16px 0 0 !important; align-items: flex-start !important; text-align: left !important; }
    html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx h3 { color: var(--pf-tinta) !important; font-size: 24px !important; }
    html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-desc { color: var(--pf-texto) !important; }
    html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 4 / 3 !important; }
}

/* ---- Belleza: mosaico de fotos verticales, título en letra fina ---- */

html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-t { overflow: hidden !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande > .pfc-t { display: block !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-ph { margin: 0 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-tx {
    position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    padding: 56px 22px 20px !important; background: linear-gradient(180deg, transparent, rgba(10,10,10,.85)) !important;
    align-items: flex-start !important; text-align: left !important; pointer-events: none;
    border-radius: 0 0 var(--pf-radio) var(--pf-radio) !important;
}
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-tx a { pointer-events: auto; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-tx h3 { color: #fff !important; font-size: 19px !important;  }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-t:hover .pfc-tx h3 { color: #fff !important; text-decoration: none; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-desc { color: rgba(255,255,255,.82) !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 0 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx { padding: 90px 40px 36px !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(30px, 3vw, 42px) !important; max-width: 22ch; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-desc { max-width: 60ch; -webkit-line-clamp: 2; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-badge { z-index: 2; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-fotos { top: 12px !important; bottom: auto !important; z-index: 2; }

@media (min-width: 701px) {
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important; gap: 14px !important; align-items: stretch; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande { margin: 0 !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande > .pfc-t, html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-ph { height: 100% !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: auto !important; min-height: 520px; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; align-content: start; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 3 / 4 !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados.pfc-sin-lista .pfc, html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc.pfc-solo { grid-template-columns: minmax(0, 1fr) !important; }
}
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-tx h3 { font-family: 'Cormorant Garamond', Georgia, serif !important; font-style: italic; font-weight: 600 !important; letter-spacing: 0 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-meta { color: #FBBF24 !important; font-size: 11px !important; letter-spacing: .14em !important; text-transform: uppercase !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista .pfc-meta { display: none !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx::before { content: ''; display: block; width: 40px; height: 1px; background: #D97706; margin-bottom: 14px; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc .pfc-ph { border-radius: 4px !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-btn { background: #D97706 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-vertodos { grid-column: 1 / -1; color: #FAFAF9 !important; }

@media (max-width: 700px) {
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx { position: static !important; background: none !important; padding: 16px 0 0 !important; align-items: flex-start !important; text-align: left !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx h3 { color: var(--pf-tinta) !important; font-size: 24px !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-desc { color: var(--pf-texto) !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 4 / 3 !important; }
}


/* ---- Médico: destacado con panel azul claro; los demás en 4 fotos cuadradas ---- */
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande > .pfc-t {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 0 !important;
    background: var(--t-suave) !important; border-radius: 20px !important; overflow: hidden !important;
}
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-ph { order: 2; border-radius: 0 !important; aspect-ratio: auto !important; height: 100% !important; min-height: 340px; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-tx { order: 1; padding: 40px !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-btn { background: #14B8A6 !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 1 / 1 !important; border-radius: 14px !important; margin-bottom: 10px !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 15px !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc .pfc-meta { color: #0284C7 !important; }
@media (max-width: 1023px) { html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) {
    html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; }
    html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-ph { order: 0; min-height: 0; aspect-ratio: 4 / 3 !important; }
    html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-tx { padding: 20px !important; }
    html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-lista > .pfc-t { flex-basis: 46% !important; }
}


/* ---- Farmacia: tarjetas limpias con borde verde ---- */
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc .pfc-t { background: #fff !important; border: 1px solid var(--t-suave-borde) !important; border-top: 4px solid #059669 !important; border-radius: 16px !important; padding: 12px !important; overflow: hidden !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc .pfc-t:hover { border-color: #A7F3D0 !important; border-top-color: #059669 !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc .pfc-ph { border-radius: 10px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-lista .pfc-tx { padding: 4px 6px 8px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-grande > .pfc-t { padding: 16px !important; gap: 32px !important; background: var(--t-suave) !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-grande .pfc-tx { padding-right: 16px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc .pfc-meta { display: inline-block !important; padding: 3px 10px !important; border-radius: 999px !important; background: #D1FAE5 !important; color: #047857 !important; font-size: 12px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-grande .pfc-btn { background: #059669 !important; border-radius: 999px !important; }


/* ---- Colmado: fotos tipo Polaroid, con marco blanco y un poco inclinadas ---- */
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-t { overflow: visible !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-ph {
    border-radius: 2px !important; border: 10px solid #fff !important; border-bottom-width: 12px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 12px 24px -10px rgba(0,0,0,.28) !important; background: #fff !important;
    transition: transform .25s ease !important;
}
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-lista > .pfc-t:nth-child(odd) .pfc-ph { transform: rotate(-2deg); }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-lista > .pfc-t:nth-child(even) .pfc-ph { transform: rotate(1.6deg); }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-grande .pfc-ph { transform: rotate(-1.2deg); border-width: 14px 14px 18px !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-t:hover .pfc-ph { transform: rotate(0) scale(1.02); }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-t:hover .pfc-ph > img { transform: none; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-lista .pfc-tx { align-items: center !important; text-align: center !important; padding: 6px 8px 0 !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-tx h3 { font-weight: 800 !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-meta { color: #DC2626 !important; font-weight: 700 !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-grande .pfc-btn { background: #DC2626 !important; border-radius: 12px !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-badge { background: #FBBF24 !important; color: #0F172A !important; transform: rotate(-4deg); }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc > .pfc-lista { gap: 40px 32px !important; padding-top: 6px; }
@media (max-width: 700px) { html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc > .pfc-lista { gap: 22px !important; padding-top: 14px !important; padding-bottom: 18px !important; } }


/* ---- Tecnología: ficha técnica numerada; los demás en filas ---- */
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc { counter-reset: pf; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc .pfc-t { counter-increment: pf; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc .pfc-meta, html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-vertodos, html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfv-filtro { font-family: var(--t-mono, 'JetBrains Mono', monospace) !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc .pfc-meta { color: #D9381E !important; font-size: 12px !important; text-transform: uppercase !important; letter-spacing: .06em !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; border: 1px solid #1C1B1A !important; gap: 0 !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-ph { order: 2; border-radius: 0 !important; aspect-ratio: auto !important; height: 100% !important; min-height: 360px; border-left: 1px solid #1C1B1A; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx { order: 1; padding: 32px !important; height: 100%; justify-content: flex-end; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx::before {
    content: counter(pf, decimal-leading-zero) ' / ' attr(data-n); content: counter(pf, decimal-leading-zero);
    font-family: var(--t-mono, 'JetBrains Mono', monospace); font-size: 64px; line-height: 1; color: #1C1B1A; margin-bottom: auto; padding-bottom: 28px;
}
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-btn { background: #1C1B1A !important; border-radius: 0 !important; }
/* Filas */
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc > .pfc-lista { display: block !important; border-top: 1px solid #1C1B1A; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t {
    display: grid !important; grid-template-columns: 64px 128px minmax(0, 1fr) auto !important; gap: 24px !important; align-items: center !important;
    padding: 16px 8px !important; border-bottom: 1px solid var(--t-linea) !important;
}
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t:hover { background: #F4F3EF !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t::before { content: counter(pf, decimal-leading-zero); font-family: var(--t-mono, 'JetBrains Mono', monospace); font-size: 20px; color: #A8A29E; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin: 0 !important; aspect-ratio: 4 / 3 !important; border-radius: 0 !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-tx { display: grid !important; grid-template-columns: minmax(0, 1fr); }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-meta { order: 3 !important; margin: 6px 0 0 !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-tx h3 { order: 1 !important; font-size: 18px !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-desc { order: 2 !important; -webkit-line-clamp: 1; margin-top: 4px !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t::after { content: '→'; font-size: 20px; color: #1C1B1A; padding-right: 8px; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-badge, html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-fotos { display: none !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-vertodos { margin-top: 18px !important; border-bottom-color: #D9381E !important; }
@media (max-width: 700px) {
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-ph { order: 0; min-height: 0; aspect-ratio: 4 / 3 !important; border-left: 0; border-bottom: 1px solid #1C1B1A; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx { padding: 20px !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx::before { font-size: 40px; padding-bottom: 14px; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc > .pfc-lista { display: block !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t { grid-template-columns: 36px 84px minmax(0, 1fr) !important; gap: 12px !important; padding: 12px 0 !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t::before { font-size: 15px; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t::after { display: none; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 15px !important; }
}


/* ---- Celulares: tarjetas redondeadas; la destacada sobre el azul de la marca ---- */
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande > .pfc-t {
    background: linear-gradient(135deg, #2557A7, #1D4690) !important; border-radius: 28px !important; padding: 20px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 36px !important;
}
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-ph { border-radius: 20px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-tx h3 { color: #fff !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-desc { color: #DBEAFE !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-meta { color: #93C5FD !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-btn { background: #fff !important; border-radius: 14px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-btn :is(b, svg) { color: #1D4690 !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-btn small { color: #475569 !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande .pfc-t:hover .pfc-tx h3 { color: #fff !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista > .pfc-t { background: #fff !important; border-radius: 24px !important; padding: 10px 10px 18px !important; box-shadow: 0 1px 2px rgba(18,19,22,.06), 0 10px 24px -14px rgba(18,19,22,.2) !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { border-radius: 18px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista .pfc-tx { padding: 0 8px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc .pfc-meta { color: #2557A7 !important; }
@media (max-width: 700px) { html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; padding: 14px 14px 20px !important; } }


/* ---- Ferretería: bloques sólidos, barra oscura y etiqueta naranja ---- */
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc .pfc-ph { border-radius: 0 !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; gap: 0 !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-tx { background: #1C1B1A !important; padding: 36px !important; height: 100%; justify-content: center; border-top: 6px solid #D97706; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-tx h3 { color: #fff !important; text-transform: uppercase; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-desc { color: #D6D3D1 !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-btn { background: #D97706 !important; border-radius: 0 !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: auto !important; height: 100% !important; min-height: 360px; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-t:hover .pfc-tx h3 { color: #fff !important; text-decoration: none; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista > .pfc-t { background: #fff !important; border: 2px solid #1C1B1A !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin: 0 !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista .pfc-tx { background: #1C1B1A !important; padding: 14px 16px !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista .pfc-tx h3 { color: #fff !important; text-transform: uppercase; font-size: 15px !important; letter-spacing: .02em !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista .pfc-desc { display: none !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista > .pfc-t:hover .pfc-tx h3 { color: #FBBF24 !important; text-decoration: none; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc .pfc-meta { display: inline-block !important; align-self: flex-start; padding: 3px 8px !important; background: #D97706 !important; color: #1C1B1A !important; font-size: 11px !important; font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: .06em !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc .pfc-badge { border-radius: 0 !important; background: #D97706 !important; color: #1C1B1A !important; }
@media (max-width: 700px) {
    html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; }
    html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 0; aspect-ratio: 4 / 3 !important; }
    html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-tx { padding: 22px !important; }
}


/* ---- Taller: cada trabajo como una «orden de trabajo» ---- */
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc { counter-reset: orden; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-t { counter-increment: orden; background: #fff !important; border: 2px dashed #A8A29E !important; padding: 14px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-t::before {
    content: 'Orden de trabajo N.º ' counter(orden, decimal-leading-zero);
    display: block; grid-column: 1 / -1;
    margin: -2px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #E7E5E4;
    font-family: var(--t-mono, 'JetBrains Mono', monospace); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6B1111;
}
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-ph { border-radius: 0 !important; filter: saturate(.9); }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-meta { font-family: var(--t-mono, 'JetBrains Mono', monospace) !important; color: #57534E !important; font-size: 12px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-tx h3 { font-family: 'Newsreader', Georgia, serif !important; font-weight: 500 !important; font-size: 20px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande > .pfc-t { padding: 18px !important; gap: 32px !important; align-items: start !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(28px, 3vw, 38px) !important; font-style: italic; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande .pfc-btn { background: #6B1111 !important; border-radius: 0 !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande .pfc-tx::after { content: 'Trabajo terminado ✓'; order: 9; margin-top: 18px; padding: 4px 10px; border: 2px solid #15803D; color: #15803D; transform: rotate(-3deg); font-family: var(--t-mono, monospace); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 12px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-badge { border-radius: 0 !important; }
/* Belleza: el título de la sección también en claro (iba oscuro sobre negro) */
html body.pl-pro.pl-t-belleza section#trabajos-realizados .portfolio-heading :is(h2, p) { color: #FAFAF9 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .portfolio-heading p { color: #D4D4D4 !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .portfolio-heading :is(h2, h2 *) { -webkit-text-fill-color: currentColor !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .portfolio-heading.seccion-cabecera h2 { color: #FBBF24 !important; }
/* Tecnología en el celular: el 5.º (y los demás) también en fila */
@media (max-width: 700px) {
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados:not(.pfv-x) .pfc > .pfc-lista > .pfc-t.pfc-extra:not([hidden]) { display: grid !important; }
}


/* =========================================================
   MÁS COMPACTO (v123): tarjetas más pequeñas en todas las plantillas
   ========================================================= */
/* Base (Profesional y lo común) */
html body.pl-pro section#trabajos-realizados .pfc-grande { margin-bottom: 36px !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) !important; gap: 32px !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 4 / 3 !important; max-height: 340px; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(22px, 2vw, 28px) !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-desc { font-size: 15px !important; -webkit-line-clamp: 4; margin-top: 10px !important; }
html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-btn { margin-top: 18px !important; padding: 10px 16px !important; }
html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 28px 20px !important; }
html body.pl-pro section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { margin-bottom: 10px !important; }
html body.pl-pro section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 15px !important; }
html body.pl-pro section#trabajos-realizados .pfc-lista .pfc-meta { font-size: 12px !important; margin-bottom: 4px !important; }
html body.pl-pro section#trabajos-realizados .pfc-lista .pfc-desc { font-size: 13px !important; }
@media (max-width: 1023px) { html body.pl-pro section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) {
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 16 / 10 !important; max-height: none; }
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: 21px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-grande .pfc-desc { -webkit-line-clamp: 3; font-size: 14px !important; }
    html body.pl-pro section#trabajos-realizados .pfc-lista > .pfc-t { flex: 0 0 60% !important; }
}

/* Restaurante y Gimnasio: destacada más baja */
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 3 / 1 !important; max-height: 360px; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 4 / 5 !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx { padding: 60px 32px 26px !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(22px, 2.2vw, 30px) !important; }
html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 14px !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 3 / 1 !important; max-height: 360px; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx { padding: 60px 32px 26px !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(26px, 3vw, 40px) !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 16px !important; }
html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-lista .pfc-tx { padding: 40px 14px 14px !important; }
@media (max-width: 700px) {
    html body.pl-pro.pl-t-restaurante section#trabajos-realizados .pfc-grande .pfc-ph, html body.pl-pro.pl-t-gimnasio section#trabajos-realizados .pfc-grande .pfc-ph { aspect-ratio: 16 / 10 !important; }
}

/* Belleza: mosaico más bajo y angosto */
@media (min-width: 701px) {
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc { max-width: 980px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 420px; max-height: none; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { aspect-ratio: 1 / 1 !important; }
    html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx { padding: 60px 28px 26px !important; }
}
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(24px, 2.4vw, 32px) !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista .pfc-tx { padding: 40px 14px 12px !important; }
html body.pl-pro.pl-t-belleza section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 16px !important; }

/* Médico, Tecnología, Ferretería: destacado más bajo */
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 260px; max-height: none; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-tx { padding: 30px !important; }
html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; }
@media (max-width: 1023px) { html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc > .pfc-lista { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 280px; max-height: none; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx { padding: 26px !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-tx::before { font-size: 48px; padding-bottom: 18px; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t { grid-template-columns: 52px 96px minmax(0, 1fr) auto !important; padding: 12px 8px !important; gap: 20px !important; }
html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 16px !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 280px; max-height: none; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-tx { padding: 28px !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista .pfc-tx { padding: 10px 12px !important; }
html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-lista .pfc-tx h3 { font-size: 13px !important; }
@media (max-width: 700px) {
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande > .pfc-t { grid-template-columns: minmax(0, 1fr) !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-grande .pfc-ph, html body.pl-pro.pl-t-ferreteria section#trabajos-realizados .pfc-grande .pfc-ph, html body.pl-pro.pl-t-medico section#trabajos-realizados .pfc-grande .pfc-ph { min-height: 0; aspect-ratio: 16 / 10 !important; }
    html body.pl-pro.pl-t-tecnologia section#trabajos-realizados .pfc-lista > .pfc-t { grid-template-columns: 30px 72px minmax(0, 1fr) !important; gap: 12px !important; padding: 10px 0 !important; }
}

/* Celulares, Farmacia, Colmado, Taller: tarjetas más chicas */
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-grande > .pfc-t { padding: 14px !important; gap: 28px !important; border-radius: 24px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista > .pfc-t { padding: 8px 8px 14px !important; border-radius: 20px !important; }
html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista > .pfc-t .pfc-ph { border-radius: 14px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc .pfc-t { padding: 10px !important; }
html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-grande > .pfc-t { padding: 12px !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc .pfc-ph { border-width: 8px !important; border-bottom-width: 10px !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc-grande .pfc-ph { border-width: 10px 10px 14px !important; }
html body.pl-pro.pl-t-colmado section#trabajos-realizados .pfc > .pfc-lista { gap: 32px 24px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-t { padding: 10px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-t::before { margin-bottom: 10px; font-size: 11px; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande > .pfc-t { padding: 14px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc .pfc-tx h3 { font-size: 17px !important; }
html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-grande .pfc-tx h3 { font-size: clamp(24px, 2.4vw, 30px) !important; }
@media (max-width: 700px) { html body.pl-pro.pl-t-celulares section#trabajos-realizados .pfc-lista > .pfc-t, html body.pl-pro.pl-t-farmacia section#trabajos-realizados .pfc-lista > .pfc-t, html body.pl-pro.pl-t-taller section#trabajos-realizados .pfc-lista > .pfc-t { flex: 0 0 62% !important; } }
