/* Portfolio: the existing AluFeca identity, with real architectural photography. */
.works-page{--works-accent:#8A6B43;--works-line:#C4A47C;--works-muted:#555;max-width:1280px;margin:auto;padding:0 40px;color:#111111}
.works-page *, .work-lightbox *{box-sizing:border-box}.works-page h1,.works-page h2,.works-page h3{font-family:inherit;font-weight:500;letter-spacing:-.025em;text-wrap:balance}.works-page p{line-height:1.85}.works-page a{text-underline-offset:5px}.works-page :is(a,button):focus-visible,.work-lightbox button:focus-visible{outline:2px solid var(--works-line,#C4A47C);outline-offset:5px}.works-page ::selection{background:#EFE6D8;color:#111111}
.works-intro{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;padding:62px 0 44px;align-items:end}.works-intro h1{font-size:clamp(32px,3.9vw,55px);line-height:1.12;margin:0}.works-intro p{font-size:17px;margin:0 0 20px;max-width:48ch}.works-link{color:var(--works-accent);font-weight:600;text-decoration:underline}.works-cover{margin:0}.works-cover>img{display:block;width:100%;height:clamp(340px,40vw,540px);object-fit:cover;object-position:center 42%}.works-cover figcaption{padding:17px 0;border-bottom:1px solid var(--works-line);display:flex;gap:16px;justify-content:space-between;font-size:13px}.works-cover figcaption a{color:var(--works-accent)}
.works-about{display:grid;grid-template-columns:1fr 1.6fr;gap:80px;padding:75px 0 70px}.works-page h2{font-size:clamp(27px,3vw,38px);line-height:1.2;margin:0 0 24px}.works-about p{max-width:70ch;margin:0 0 16px}.works-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.works-heading p{font-size:13px;color:var(--works-muted)}.works-collection{scroll-margin-top:130px}.works-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}.works-filters[hidden]{display:none}.works-filters button{font:inherit;font-size:14px;background:#fff;border:1px solid #b7b7b7;padding:12px 20px;color:#111111;cursor:pointer}.works-filters button[aria-pressed=true]{color:#fff;background:#202020;border-color:#202020}.works-filters button:hover{border-color:var(--works-accent)}.works-filters button:active{transform:translateY(1px)}
.works-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 34px}.work-entry{min-width:0}.work-entry[hidden]{display:none}.work-photo{display:block;overflow:hidden;background:#eee}.work-photo img{display:block;width:100%;height:340px;object-fit:cover}.work-entry[data-work-category=Fachadas] .work-photo img{object-position:center 38%}.work-meta{font-size:12px;color:var(--works-muted);margin:18px 0 8px}.work-entry h3{font-size:25px;margin:0 0 15px;line-height:1.3}.work-entry h3 a{color:inherit;text-decoration:none}.work-entry h3 a:hover{text-decoration:underline}.work-open{color:var(--works-accent);font-size:14px}.work-entry .work-open span{margin-left:7px}
.works-craft{margin-top:85px;padding:65px 0;border-top:1px solid var(--works-line)}.works-craft>p{color:var(--works-muted);margin:0 0 32px}.craft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.craft-grid figure{margin:0}.craft-grid img{display:block;width:100%;height:330px;object-fit:cover}.craft-grid h3{font-size:23px;margin:20px 0 9px}.craft-grid p{font-size:14px;margin:0;color:var(--works-muted)}
.works-contact{border-top:1px solid var(--works-line);padding:55px 0 70px;display:grid;grid-template-columns:1fr 1fr;gap:70px}.works-contact p{margin:0 0 24px;max-width:56ch}.works-contact .button{background:#202020;color:#fff;border:1px solid #202020}.works-contact .button:hover{background:#8A6B43;border-color:#8A6B43}
.work-breadcrumb{padding:30px 0;font-size:12px;line-height:1.8;color:#262626}.work-breadcrumb a{color:#111111}.work-title{padding:15px 0 30px}.work-title h1{font-size:clamp(32px,4.2vw,58px);line-height:1.1;margin:0 0 20px;max-width:23ch}.work-title>p{font-size:15px;margin:0;color:#262626}.work-feature{margin:0}.work-feature img{display:block;width:100%;height:clamp(350px,42vw,570px);object-fit:contain;background:#f1f1ef}.work-feature figcaption{font-size:12px;color:#262626;padding:12px 0}.work-description{padding:50px 0 65px;display:grid;grid-template-columns:1.3fr 1fr;gap:90px}.work-description h2{font-size:29px}.work-description h2:not(:first-child){margin-top:40px}.work-description p{margin:0;max-width:65ch}.work-description dl{margin:0;border-top:1px solid var(--works-line);align-self:start}.work-description dl>div{display:grid;grid-template-columns:110px 1fr;gap:24px;padding:17px 0;border-bottom:1px solid #ddd;font-size:14px;line-height:1.7}.work-description dt{color:#262626}.work-description dd{margin:0}.work-gallery{padding-bottom:65px}.work-gallery>p{font-size:14px;color:#262626;margin:0 0 28px}.work-gallery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.work-gallery figure{margin:0;min-width:0}.work-gallery figure a{display:block;background:#f1f1ef}.work-gallery img{width:100%;height:380px;display:block;object-fit:contain}.work-gallery figcaption{font-size:13px;padding-top:12px;color:#262626}
.work-lightbox{width:min(1100px,94vw);max-width:94vw;max-height:94dvh;padding:20px;border:0;background:#171717;color:#fff}.work-lightbox::backdrop{background:#000d}.work-lightbox .lightbox-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px}.work-lightbox button{font:inherit;min-height:44px;padding:10px 16px;color:#fff;background:#303030;border:1px solid #777;cursor:pointer}.work-lightbox button:hover{background:#484848}.work-lightbox img{display:block;max-width:100%;width:100%;height:65dvh;object-fit:contain}.work-lightbox p{font-size:14px;line-height:1.6;margin:14px 0}.work-lightbox .lightbox-controls{display:flex;justify-content:space-between;gap:14px}.work-lightbox .lightbox-count{font-size:13px}.work-lightbox [data-lightbox-caption]{min-height:24px}
@media(max-width:800px){.works-page{padding:0 24px}.works-intro{grid-template-columns:1fr;gap:27px;padding:38px 0 30px}.works-intro h1{font-size:40px}.works-intro p{font-size:16px;max-width:60ch}.works-about{gap:30px;grid-template-columns:1fr;padding:50px 0}.works-about h2{margin-bottom:0}.work-photo img{height:260px}.work-entry h3{font-size:22px}.craft-grid img{height:250px}.craft-grid h3{font-size:21px}.works-contact{gap:28px;grid-template-columns:1fr}.works-contact h2{margin-bottom:0}.work-description{grid-template-columns:1fr;gap:36px}.work-gallery img{height:300px}.work-title h1{font-size:44px}.work-feature img{height:440px}}
@media(max-width:520px){.works-page{padding:0 20px}.works-intro h1{font-size:32px}.works-cover>img{height:310px}.works-cover figcaption{flex-direction:column;gap:8px;line-height:1.6}.works-grid,.craft-grid,.work-gallery>div{grid-template-columns:1fr}.works-grid{gap:36px}.work-photo img{height:270px}.work-entry h3{font-size:25px}.works-filters{gap:8px}.works-filters button{padding:12px 15px;font-size:13px}.works-craft{margin-top:55px;padding:45px 0}.craft-grid{gap:32px}.craft-grid img{height:340px}.work-title h1{font-size:36px}.work-feature img{height:320px}.work-description{padding:35px 0 50px}.work-description dl>div{grid-template-columns:95px 1fr;gap:18px}.work-gallery img{height:360px}.work-lightbox{padding:14px}.work-lightbox img{height:58dvh}.work-lightbox button{font-size:13px;padding:10px}.work-breadcrumb{padding:24px 0 12px}}
@media(prefers-reduced-motion:no-preference){.works-filters button,.works-contact .button{transition:background-color 160ms ease-out,border-color 160ms ease-out}}
