/* INSTIVIO — realizacje i O firmie */
.portfolio{padding-top:65px;background:#f5f7fa}.portfolio-intro{max-width:410px;color:var(--muted);font-size:14px;line-height:1.8;margin:0}.portfolio .gallery-filters{margin-top:26px;gap:8px}.portfolio .filter-chip{font-size:12px;min-height:42px;padding:9px 16px}.portfolio-count{color:var(--muted);font-size:12px;margin:0 0 18px}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.portfolio-card{border-radius:14px;background:white;box-shadow:0 5px 22px #092b4b09;overflow:hidden;border:1px solid #e2e8ef}.portfolio-card[hidden]{display:none}.portfolio-open{border:0;padding:0;background:transparent;color:var(--text);text-align:left;width:100%;height:100%;display:flex;flex-direction:column;cursor:pointer;font:inherit}.portfolio-photo{display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#dbe2e7}.portfolio-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.portfolio-open:hover img{transform:scale(1.035)}.portfolio-badge{position:absolute;top:14px;left:14px;color:white;background:#092b4bed;font-size:10px;font-weight:700;padding:7px 11px;border-radius:30px}.portfolio-card-copy{padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:17px;flex:1;width:100%}.portfolio-card-copy>strong{font-family:Manrope,sans-serif;font-size:17px;line-height:1.4}.portfolio-card-copy>span{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.portfolio-card-copy>span>span{font-size:23px;color:var(--navy)}.portfolio-more{text-align:center;margin-top:30px}.button-outline{background:white;border:1px solid var(--navy);color:var(--navy)}.portfolio-open:focus-visible,.filter-chip:focus-visible,.project-dialog button:focus-visible,.project-dialog a:focus-visible{outline:3px solid #e4a700;outline-offset:-4px}.portfolio-more [hidden]{display:none}
.project-dialog{border:0;border-radius:18px;padding:0;width:min(1100px,calc(100% - 36px));max-width:1100px;max-height:92vh;max-height:92dvh;color:var(--text);background:#fff;box-shadow:0 25px 100px #0005;overscroll-behavior:contain}.project-dialog::backdrop{background:#031525d9}.project-dialog:not([open]){display:none}.project-heading{padding:22px 28px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:3;background:white}.project-heading .eyebrow{font-size:10px;margin:0 0 7px;color:var(--muted)}.project-heading h2{font:800 23px/1.3 Manrope,sans-serif;margin:0;max-width:850px}.project-close{border:1px solid var(--border);border-radius:50%;width:44px;height:44px;flex-shrink:0;background:#f3f6f8;color:var(--navy);font-size:30px;line-height:1;cursor:pointer}.project-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,1fr);gap:25px;padding:24px 28px}.project-visual{min-width:0}.project-stage{background:#071f32;border-radius:10px;overflow:hidden;height:min(53vh,530px);height:min(53dvh,530px);display:flex;align-items:center;justify-content:center}.project-stage img,.project-stage video{display:block;width:100%;height:100%;object-fit:contain}.project-controls{display:flex;align-items:center;gap:12px;margin:12px 0}.project-controls button{border:1px solid #d9e2e8;background:white;color:var(--navy);font-size:23px;border-radius:50%;width:44px;height:44px;flex-shrink:0;cursor:pointer}.project-controls button:disabled{opacity:.3;cursor:default}.project-controls p{flex:1;text-align:center;color:var(--muted);font-size:12px;line-height:1.5;margin:0}.project-thumbs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 10px;scrollbar-width:thin}.project-thumbs button{position:relative;flex:0 0 68px;width:68px;height:60px;border:2px solid transparent;border-radius:6px;padding:0;overflow:hidden;background:#e6edf2;cursor:pointer}.project-thumbs button[aria-pressed=true]{border-color:var(--yellow);box-shadow:0 0 0 1px var(--navy)}.project-thumbs img{width:100%;height:100%;object-fit:cover}.project-thumbs span{position:absolute;inset:0;display:grid;place-items:center;color:white;background:#092b4b66;font-size:25px}.project-details h3{margin:3px 0 12px;font:800 17px Manrope,sans-serif}.project-details p{font-size:14px;line-height:1.85;color:#586c7f;margin:0 0 22px}.project-details .button{width:100%;font-size:12px;margin-bottom:12px;white-space:normal;text-align:center}.project-details [hidden]{display:none}.portfolio-dialog-open{overflow:hidden}
.about-summary{background:#fff}.about-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:65px;align-items:center}.about-layout h2,.about-values h2{font:800 clamp(27px,3vw,38px)/1.25 Manrope,sans-serif;letter-spacing:-.035em;margin:0 0 20px}.about-layout p{font-size:15px;color:var(--muted);line-height:1.9;margin:20px 0}.about-layout .button{margin-top:10px}.about-facts{border-left:3px solid var(--yellow);background:#f5f7fa;border-radius:0 14px 14px 0;padding:12px 32px}.about-facts div{padding:24px 0;border-bottom:1px solid #dde5ec}.about-facts div:last-child{border:0}.about-facts strong{display:block;font:800 28px Manrope,sans-serif;color:var(--navy)}.about-facts span{display:block;font-size:13px;color:var(--muted);margin-top:6px}.about-page-hero{background:var(--navy);color:white;padding:60px 0}.about-page-hero h1{font:800 clamp(40px,6vw,68px)/1.12 Manrope,sans-serif;letter-spacing:-.04em;margin:20px 0}.about-page-hero h1 span{color:var(--yellow)}.about-page-hero p:not(.eyebrow){max-width:630px;font-size:17px;line-height:1.8;color:#d7e6f1}.about-page-hero .eyebrow{color:#b2cadd;margin-top:40px}.about-back{font-size:13px;color:#d5e5f0}.about-real-photo{margin:0}.about-real-photo img{width:100%;height:440px;object-fit:cover;border-radius:16px}.about-real-photo figcaption{font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px}.about-values{background:#f5f7fa}.about-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:35px}.about-values article{border-top:3px solid var(--yellow);padding:24px;background:white;border-radius:0 0 10px 10px}.about-values article>span{color:#899caf;font-size:13px}.about-values h3{font:800 20px Manrope,sans-serif}.about-values article p{color:var(--muted);font-size:14px;line-height:1.8}.about-actions{display:flex;flex-wrap:wrap;gap:12px}.about-contact{padding:32px;background:var(--navy);border-radius:14px}.about-contact p{color:#d6e5f0}.about-contact a{color:white;display:block;font:700 clamp(18px,2.5vw,27px) Manrope,sans-serif;margin:18px 0;overflow-wrap:anywhere}
@media(max-width:950px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-layout{gap:32px}.project-layout{grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr);gap:20px;padding:20px}.project-heading{padding:20px}}
@media(max-width:650px){.portfolio{padding-top:50px}.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portfolio-card-copy{padding:13px;gap:14px}.portfolio-card-copy>strong{font-size:13px}.portfolio-card-copy>span{font-size:10px}.portfolio-photo{aspect-ratio:1/1}.portfolio-badge{top:8px;left:8px;font-size:8px;padding:5px 7px}.portfolio-intro{font-size:13px;margin-top:20px}.portfolio .filter-chip{font-size:11px;padding:8px 12px}.project-dialog{width:calc(100% - 16px);max-height:96vh;max-height:96dvh;border-radius:12px}.project-heading{padding:16px;gap:10px}.project-heading h2{font-size:17px}.project-layout{display:block;padding:14px}.project-stage{height:46vh;height:46dvh}.project-details{padding-top:20px;border-top:1px solid var(--border);margin-top:12px}.project-details p{font-size:13px}.project-thumbs button{flex-basis:60px;width:60px;height:54px}.about-layout{grid-template-columns:1fr;gap:28px}.about-layout p{font-size:14px}.about-facts{padding:4px 24px}.about-facts div{padding:17px 0}.about-facts strong{font-size:23px}.about-values-grid{grid-template-columns:1fr;gap:15px}.about-real-photo img{height:330px}.about-page-hero{padding:40px 0}.about-page-hero p:not(.eyebrow){font-size:15px}.about-page-hero h1{font-size:43px}}
@media(prefers-reduced-motion:reduce){.portfolio-photo img{transition:none}.portfolio-open:hover img{transform:none}}

.project-video-help{padding:10px 0;font-size:12px;line-height:1.6}.project-video-help[hidden]{display:none}.project-video-help p:empty{display:none}.project-video-help p{margin:0 0 8px;color:#8c3a20}.project-video-help a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}.project-stage video{pointer-events:auto}
