/* Casos reales: estilos acotados a Armarios y Trabajos. */
.project-jumps{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin-top:1.5rem}
.project-jumps a,.project-endnote a,.project-copy a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:.2em}
.project-jumps a{padding:.5rem 0;font-weight:600}
.project-section{padding-top:0}
.project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}
.project-card{border:1px solid var(--line);background:var(--white);display:flex;flex-direction:column}
.project-cover{display:block;background:var(--bg-soft);padding:1rem}
.project-cover img{width:100%;height:320px;object-fit:contain}
.project-card-body{padding:1.4rem;display:flex;flex:1;flex-direction:column;gap:1rem}
.project-card-body h3{font-size:1.6rem;line-height:1.2}
.project-card-body .text-link{align-self:flex-start;margin-top:auto;color:var(--accent-dark)}
.project-kicker{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:650}
.project-endnote{margin-top:2rem;max-width:75ch}
.project-case{padding:2.5rem 0 3rem;border-top:1px solid var(--line);scroll-margin-top:110px}
.project-case h3{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2;margin:.6rem 0 1.2rem}
.project-case-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:start}
.project-main-image{max-width:100%;background:var(--bg-soft)}
.project-main-image img{width:100%;height:460px;object-fit:contain}
.project-main-image .zoom-btn{display:block;width:100%}
.project-main-image figcaption,.project-gallery figcaption{font-size:.9rem;padding:.7rem 1rem;color:var(--ink-soft);background:var(--white)}
.project-copy p+p{margin-top:1rem}
.project-facts{display:grid;grid-template-columns:1fr;gap:.8rem;margin:1.5rem 0}
.project-facts div{border-bottom:1px solid var(--line);padding-bottom:.7rem}
.project-facts dt{font-weight:650;font-size:.85rem}
.project-facts dd{margin:0;color:var(--ink-soft)}
.project-details{margin-top:1.5rem;border:1px solid var(--line);background:var(--white)}
.project-details>summary{padding:1rem 1.2rem;cursor:pointer;color:var(--ink);font-weight:650;line-height:1.5}
.project-details[open]>summary{border-bottom:1px solid var(--line)}
.project-gallery{padding:1rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.project-gallery figure{min-width:0;background:var(--bg-soft)}
.project-gallery .zoom-btn{display:block;width:100%}
.project-gallery img,.project-gallery video{width:100%;height:360px;object-fit:contain}
.project-gallery video{background:var(--dark)}
.project-gallery-note{padding:0 1.2rem 1.2rem;color:var(--ink-soft);font-size:.9rem}
.project-cards a:focus-visible,.project-case a:focus-visible,.project-case button:focus-visible,.project-details summary:focus-visible,.project-jumps a:focus-visible{outline:3px solid var(--accent-dark);outline-offset:4px}
@media(max-width:900px){.project-cards{gap:1rem}.project-card-body{padding:1rem}.project-cover img{height:260px}.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.project-cards,.project-case-top{grid-template-columns:1fr}.project-cover img{height:340px}.project-case-top{gap:1.4rem}.project-main-image img{height:auto;max-height:520px}.project-gallery{grid-template-columns:1fr}.project-gallery img,.project-gallery video{height:auto;max-height:560px}.project-jumps{gap:.5rem 1.2rem}}
