/* Proyectos — mosaico de 12 imágenes de demostración, sin fotografías inventadas. */
.projects-section{padding:77px 0 70px}
.projects-gallery{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-auto-rows:195px;gap:12px;grid-auto-flow:dense}
.project-item{position:relative;min-width:0;min-height:0;display:grid;place-items:center;border-radius:17px;background:#EDEFF2;overflow:hidden}
.project-item--large{grid-column:span 6;grid-row:span 2}
.project-item--small{grid-column:span 3}
.project-item--banner{grid-column:span 9}
.project-item--third{grid-column:span 5}
.project-item--wide{grid-column:span 15;min-height:275px}
.project-item__placeholder{width:105px;max-width:35%;height:90px;object-fit:contain;opacity:.78}
.project-item__category{position:absolute;bottom:12px;left:12px;display:inline-flex;align-items:center;justify-content:center;min-width:92px;max-width:calc(100% - 24px);padding:5px 12px;border-radius:100px;background:#004876;color:white;font-family:var(--font-heading);font-weight:500;font-size:11px;line-height:1.15;text-transform:uppercase;text-align:center}
.projects-gallery.is-filtered{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:225px}
.projects-gallery.is-filtered .project-item{grid-column:span 1;grid-row:span 1;min-height:0}
.projects-section__more{text-align:center;margin-top:28px}
.filter-more{background:#fff;border:1px solid var(--navy);color:var(--navy);border-radius:100px;padding:11px 22px;min-height:44px;font-family:var(--font-heading);font-weight:500;font-size:14px}
.filter-more:hover{background:var(--navy);color:#fff}
@media(max-width:1050px){.projects-gallery{grid-auto-rows:155px;gap:9px}.project-item--wide{min-height:190px}.projects-gallery.is-filtered{grid-auto-rows:200px}}
@media(max-width:767px){.projects-section{padding:64px 0 72px}.projects-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:155px;gap:10px}.project-item,.project-item--large,.project-item--small,.project-item--banner,.project-item--third,.project-item--wide{grid-column:span 1;grid-row:span 1;min-height:0}.project-item:first-child,.project-item--wide{grid-column:span 2;min-height:185px}.projects-gallery.is-filtered{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:170px}.projects-gallery.is-filtered .project-item:first-child{grid-column:span 1;min-height:0}.project-item__placeholder{width:80px;height:65px}.project-item__category{font-size:10px;min-width:70px;padding:5px 9px;bottom:8px;left:8px}}
@media(max-width:480px){.projects-gallery,.projects-gallery.is-filtered{grid-template-columns:1fr;grid-auto-rows:215px}.project-item,.project-item:first-child,.project-item--wide,.projects-gallery.is-filtered .project-item{grid-column:span 1;grid-row:span 1;min-height:0}.project-item__placeholder{width:90px;height:75px}}

.project-item__photo{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.project-item:has(.project-item__photo) .project-item__category{z-index:1}
