@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --font-body: "Manrope";
  --font-display: "Inter Tight";
  --ink: #0b1014;
  --paper: #f3f1eb;
  --orange: #f49a32;
  --muted: #6f7579;
  --line: rgba(11, 16, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 128px 0; }
.site-header {
  position: absolute;
  z-index: 10;
  isolation: isolate;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1328px, calc(100% - 48px));
  height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -24px;
  left: -24px;
  height: 138px;
  background: linear-gradient(180deg, rgba(5,9,12,.82) 0%, rgba(5,9,12,.55) 42%, rgba(5,9,12,.18) 73%, transparent 100%);
  pointer-events: none;
}
.brand { font: 500 24px/1 var(--font-display); letter-spacing: -.045em; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.brand span { font-weight: 700; }
.desktop-nav { display: flex; justify-content: flex-end; gap: clamp(15px, 1.9vw, 30px); font-size: 13px; font-weight: 600; white-space: nowrap; }
.desktop-nav a { opacity: .9; text-shadow: 0 2px 15px rgba(0,0,0,.72); transition: opacity .2s ease, color .2s ease; }
.desktop-nav a:hover { opacity: 1; }
.site-header > .button { justify-self: end; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] .menu-icon { background-size: 0 2px; }
.mobile-menu[open] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.mobile-menu[open] .menu-icon::after { bottom: 5px; transform: rotate(-45deg); }
.mobile-menu nav { position: absolute; top: 47px; right: 0; width: min(320px, calc(100vw - 36px)); padding: 10px; display: grid; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.mobile-menu nav a { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mobile-menu nav .mobile-menu-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; border: 0; background: var(--orange); font-weight: 800; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 62px;
  padding: 0 25px;
  background: var(--orange);
  color: #0a0e11;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-align: left;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #ffab49; }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.button-small { min-height: 50px; gap: 20px; padding: 0 20px; }
.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 900px;
  background: #080d11;
  color: #fff;
  overflow: hidden;
}
.hero::after { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7,12,17,.94) 0%, rgba(7,12,17,.8) 37%, rgba(7,12,17,.14) 72%),
    linear-gradient(0deg, rgba(7,12,17,.75) 0%, transparent 38%),
    url('images/uniworx-hero-v2.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; min-height: inherit; height: 100%; padding-top: clamp(165px, 20vh, 205px); padding-bottom: 42px; }
.hero-copy { max-width: 860px; }
.eyebrow {
  margin: 0 0 25px;
  color: var(--orange);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #bd6d17; }
h1, h2, h3 { margin: 0; font-family: var(--font-display), Arial, sans-serif; letter-spacing: -.035em; }
h1 { max-width: 860px; font-size: clamp(56px, 5.45vw, 82px); line-height: 1; font-weight: 600; }
.hero h1 { max-width: 860px; font-size: clamp(56px, 5.45vw, 82px); line-height: .98; letter-spacing: -.04em; }
.hero-title-mobile, .hero-lead-mobile { display: none; }
h1 em, h2 em { color: var(--orange); font-style: normal; font-weight: inherit; }
.hero-lead { max-width: 690px; margin: 28px 0 0; color: #fff; font-size: 21px; line-height: 1.5; font-weight: 650; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 13px; max-width: 780px; margin-top: 14px; color: rgba(255,255,255,.56); font-size: 12px; }
.hero-tags i { color: var(--orange); font-style: normal; }
.hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 34px; width: 100%; margin-top: 36px; }
.hero-actions .button { width: fit-content; }
.text-link { display: inline-flex; gap: 14px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.experience-badge { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding-left: 16px; border-left: 2px solid var(--orange); }
.experience-badge strong { color: #fff; font: 600 46px/1 var(--font-display); letter-spacing: -.04em; }
.experience-badge span { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.35; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-metrics { display: none; grid-template-columns: repeat(3, 1fr); max-width: 640px; margin-top: auto; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.hero-metrics > div { display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-metrics > div:last-child { border-right: 0; }
.hero-metrics strong { color: var(--orange); font: 600 30px/1 var(--font-display); letter-spacing: -.025em; white-space: nowrap; }
.hero-metrics small { margin-left: 6px; color: rgba(255,255,255,.68); font: 600 .48em/1 var(--font-body); letter-spacing: 0; }
.hero-metrics span { max-width: 145px; margin-top: 9px; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.3; font-weight: 650; letter-spacing: .01em; }
.arrow-mark, .arrow-right, .down-mark, .ok-mark { position: relative; display: inline-block; flex: 0 0 auto; color: currentColor; font-size: 0; }
.arrow-mark { width: 18px; height: 18px; }
.arrow-mark::before { content: ""; position: absolute; left: 1px; top: 8px; width: 15px; height: 2px; background: currentColor; }
.arrow-mark::after { content: ""; position: absolute; top: 5px; right: 1px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.arrow-right { width: 20px; height: 16px; }
.arrow-right::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 2px; background: currentColor; }
.arrow-right::after { content: ""; position: absolute; top: 4px; right: 1px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.menu-icon { position: relative; display: inline-block; flex: 0 0 auto; width: 17px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; transition: background-size .2s ease; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor; transition: top .2s ease, bottom .2s ease, transform .2s ease; }
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }
.down-mark { width: 18px; height: 20px; }
.down-mark::before { content: ""; position: absolute; left: 8px; top: 1px; width: 2px; height: 16px; background: currentColor; }
.down-mark::after { content: ""; position: absolute; left: 5px; bottom: 1px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ok-mark { width: 14px; height: 14px; }
.ok-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -60%) rotate(45deg); transform-origin: center; }
.hero-proof {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-proof > div { min-height: 110px; display: flex; align-items: center; gap: 16px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof > div:last-child { border-right: 0; justify-content: flex-end; }
.hero-proof > div:nth-child(2) { justify-content: center; }
.hero-proof strong { font: 600 34px/1 var(--font-display); }
.hero-proof span { max-width: 95px; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.intro-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; margin-bottom: 64px; }
h2 { font-size: clamp(50px, 5.6vw, 80px); line-height: .98; font-weight: 570; }
.intro-heading h2 { grid-column: 2; }
.about-grid { display: grid; grid-template-columns: 1.35fr .85fr; background: #fff; }
.about-photo { position: relative; min-height: 620px; overflow: hidden; }
.about-photo > img { height: 100%; object-fit: cover; object-position: center; }
.photo-note { position: absolute; left: 0; bottom: 0; width: min(420px, 76%); padding: 27px 32px; background: var(--ink); color: #fff; }
.photo-note span { display: block; margin-bottom: 10px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.photo-note strong { font: 500 20px/1.25 var(--font-display); }
.about-copy { padding: 68px 56px 54px; display: flex; flex-direction: column; align-items: flex-start; }
.about-copy p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-copy .lead { margin-top: 0; color: var(--ink); font: 520 24px/1.4 var(--font-display); letter-spacing: -.025em; }
.check-list { width: 100%; margin: 28px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 750; }
.check-list span { color: #bd6d17; font-size: 10px; }
.inline-link { margin-top: auto; padding-bottom: 8px; border-bottom: 2px solid var(--orange); font-size: 13px; font-weight: 800; }
.inline-link span { margin-left: 42px; }
.services { background: #fff; }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section-head > p { max-width: 470px; margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.services-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 56px minmax(220px, .8fr) minmax(260px, 1fr); gap: 28px; align-items: center; min-height: 112px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service-item > span { color: #bd6d17; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.service-item h3 { font-size: 28px; line-height: 1.1; font-weight: 560; letter-spacing: -.035em; }
.service-item p { max-width: 480px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.portfolio { padding-bottom: 96px; background: var(--paper); }
.portfolio-head { margin-bottom: 42px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portfolio-card { position: relative; isolation: isolate; min-width: 0; height: auto; min-height: 0; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 1px solid rgba(11,16,20,.14); border-radius: 0; background: var(--ink); color: #fff; font-family: inherit; text-align: left; box-shadow: 0 14px 34px rgba(11,16,20,.08); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.88) brightness(.8) contrast(1.03); transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.portfolio-card:nth-child(1) img { object-position: center 44%; }
.portfolio-card:nth-child(2) img { object-position: center 52%; }
.portfolio-card:nth-child(3) img { object-position: center 48%; }
.portfolio-card:nth-child(4) img { object-position: center 42%; }
.portfolio-card:hover img { transform: scale(1.025); filter: saturate(.95) brightness(.88) contrast(1.03); }
.portfolio-card::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(5,9,12,.08) 0%, transparent 38%, rgba(5,9,12,.32) 62%, rgba(5,9,12,.95) 100%); pointer-events: none; }
.portfolio-card > div { position: absolute; z-index: 1; right: 26px; bottom: 25px; left: 26px; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; row-gap: 7px; align-items: start; }
.portfolio-grid span { grid-row: 1 / span 2; padding-top: 5px; color: var(--orange); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .08em; }
.portfolio-grid strong { color: #fff; font: 600 clamp(27px, 2.15vw, 31px)/1.08 var(--font-display); letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0,0,0,.42); }
.portfolio-grid small { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.25; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.portfolio-card--active { cursor: pointer; }
.portfolio-card--active:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.portfolio-card--active[aria-expanded="true"] { outline: 3px solid var(--orange); outline-offset: -3px; }
.portfolio-open { position: absolute; z-index: 2; top: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 44px; padding: 0 16px; background: var(--orange); color: var(--ink); box-shadow: 0 8px 24px rgba(5,9,12,.2); font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; opacity: 1; transform: none; transition: background .25s ease, color .25s ease, transform .25s ease; }
.portfolio-card--active:hover .portfolio-open, .portfolio-card--active:focus-visible .portfolio-open, .portfolio-card--active[aria-expanded="true"] .portfolio-open { background: #fff; transform: translateY(-2px); }
.portfolio-open .arrow-mark { width: 14px; height: 14px; }

.industrial-projects { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.industrial-projects[hidden] { display: none; }
.projects-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 60px; margin-bottom: 38px; }
.projects-heading h3 { font-size: clamp(38px, 4vw, 58px); font-weight: 560; }
.projects-heading > p { max-width: 470px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; min-width: 0; height: auto; min-height: 0; aspect-ratio: 5 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: var(--ink); color: #fff; font-family: inherit; text-align: left; cursor: pointer; }
.project-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.project-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,9,12,.94) 0%, rgba(5,9,12,.1) 70%); }
.project-card-copy { position: absolute; z-index: 1; inset: auto 26px 25px; display: grid; gap: 7px; }
.project-card-copy small { color: var(--orange); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-card-copy strong { font: 560 27px/1 var(--font-display); letter-spacing: -.035em; }
.project-card-copy em { color: rgba(255,255,255,.62); font-size: 11px; font-style: normal; font-weight: 650; }
.project-card-arrow { position: absolute; z-index: 1; right: 26px; bottom: 27px; color: var(--orange); transition: transform .25s ease; }
.project-card:hover img { transform: scale(1.045); filter: brightness(.88); }
.project-card:hover .project-card-arrow { transform: translate(3px, -3px); }
.project-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.portfolio-page-hero { position: relative; min-height: 720px; height: 78svh; max-height: 880px; overflow: hidden; background: var(--ink); color: #fff; }
.portfolio-page-hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(5,9,12,.96) 0%, rgba(5,9,12,.75) 42%, rgba(5,9,12,.18) 76%), linear-gradient(0deg, rgba(5,9,12,.82), transparent 48%), url('images/hale-przemyslowe-glowna.jpg'); background-position: center; background-size: cover; transform: scale(1.01); }
.steel-page .portfolio-page-hero-bg { background-image: linear-gradient(90deg, rgba(5,9,12,.96) 0%, rgba(5,9,12,.73) 44%, rgba(5,9,12,.12) 80%), linear-gradient(0deg, rgba(5,9,12,.8), transparent 50%), url('images/realizacje/konstrukcje-stalowe/otwock/02.jpg'); }
.mezzanine-page .portfolio-page-hero-bg { background-image: linear-gradient(90deg, rgba(5,9,12,.96) 0%, rgba(5,9,12,.72) 45%, rgba(5,9,12,.1) 82%), linear-gradient(0deg, rgba(5,9,12,.82), transparent 50%), url('images/realizacje/antresole/lodz/02.jpg'); }
.foundation-page .portfolio-page-hero-bg { background-image: linear-gradient(90deg, rgba(5,9,12,.96) 0%, rgba(5,9,12,.72) 45%, rgba(5,9,12,.08) 82%), linear-gradient(0deg, rgba(5,9,12,.82), transparent 50%), url('images/realizacje/plyty-fundamentowe/grodzisk/04.jpg'); }
.portfolio-page-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: inherit; height: 100%; padding-top: 150px; padding-bottom: 58px; }
.portfolio-page-hero h1 { max-width: 800px; font-size: clamp(68px, 8.5vw, 120px); line-height: .82; }
.portfolio-page-hero-content > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.7; }
.back-link { position: absolute; top: 126px; left: 0; display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.66); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.back-link span { width: 12px; height: 12px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.back-link:hover { color: var(--orange); }
.portfolio-page-stats { display: flex; gap: 0; width: min(700px, 100%); margin-top: 38px; border-top: 1px solid rgba(255,255,255,.18); }
.portfolio-page-stats > div { flex: 1; padding: 22px 28px 0 0; border-right: 1px solid rgba(255,255,255,.18); }
.portfolio-page-stats > div + div { padding-left: 28px; }
.portfolio-page-stats > div:last-child { border-right: 0; }
.portfolio-page-stats strong { display: block; font: 580 25px/1 var(--font-display); }
.portfolio-page-stats span { display: block; margin-top: 7px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.projects-page-section { background: var(--paper); }
.projects-heading--page { margin-bottom: 52px; }
.projects-heading--page h2 { font-size: clamp(50px, 6vw, 84px); }
.projects-grid--single { grid-template-columns: minmax(0, 390px); }
.projects-grid--single .project-card-copy { right: 64px; }
.projects-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.projects-grid--two .project-card-copy { right: 64px; }
.portfolio-page-cta { padding: 86px 0; background: var(--ink); color: #fff; }
.portfolio-page-cta > .shell { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.portfolio-page-cta h2 { max-width: 760px; font-size: clamp(45px, 5vw, 70px); }
.portfolio-page-cta .button { flex: 0 0 auto; }

body.modal-open { overflow: hidden; }
.project-modal { width: min(1460px, calc(100% - 36px)); height: min(900px, calc(100svh - 36px)); max-width: none; max-height: none; margin: auto; padding: 0; overflow: hidden; border: 0; background: #0a0f13; color: #fff; box-shadow: 0 35px 110px rgba(0,0,0,.55); }
.project-modal::backdrop { background: rgba(4,7,10,.88); backdrop-filter: blur(5px); }
.project-modal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; height: 100%; }
.project-gallery { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) 108px; background: #060a0d; }
.project-image-wrap { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; background: #05090c; touch-action: pan-y; }
.project-image-wrap > img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
.gallery-nav { position: absolute; z-index: 1; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(5,9,12,.65); color: #fff; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, border-color .2s ease; }
.gallery-nav:hover { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.gallery-nav--prev { left: 22px; }
.gallery-nav--next { right: 22px; }
.gallery-nav span { position: relative; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.gallery-nav--prev span { transform: rotate(-135deg); margin-left: 4px; }
.gallery-nav--next span { transform: rotate(45deg); margin-right: 4px; }
.gallery-counter { position: absolute; z-index: 1; right: 22px; bottom: 18px; padding: 8px 11px; background: rgba(5,9,12,.72); color: rgba(255,255,255,.8); font: 700 10px/1 var(--font-body); letter-spacing: .12em; }
.gallery-thumbnails { min-width: 0; display: flex; gap: 8px; padding: 12px 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.gallery-thumbnails::-webkit-scrollbar { display: none; }
.gallery-thumb { flex: 0 0 90px; height: 80px; padding: 0; overflow: hidden; border: 2px solid transparent; background: #151b20; cursor: pointer; opacity: .58; transition: border-color .2s ease, opacity .2s ease; }
.gallery-thumb { scroll-snap-align: start; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: #0a0f13; }
.gallery-thumb:hover { opacity: .86; }
.gallery-thumb.is-active { border-color: var(--orange); opacity: 1; }
.gallery-thumb:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.project-details { display: flex; flex-direction: column; min-width: 0; padding: 64px 38px 30px; overflow-y: auto; background: #11171b; scrollbar-width: thin; scrollbar-color: rgba(244,154,50,.55) rgba(255,255,255,.06); }
.project-details .eyebrow { margin-bottom: 18px; }
.project-details h3 { font-size: 43px; line-height: 1.03; font-weight: 560; overflow-wrap: anywhere; }
.project-area { margin: 30px 0 34px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.project-area span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.46); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-area strong { font: 570 28px/1 var(--font-display); }
.project-scope-title { margin: 0 0 12px; color: rgba(255,255,255,.43); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-scope { margin: 0; padding: 0; list-style: none; }
.project-scope li { position: relative; padding: 12px 0 12px 25px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 650; }
.project-scope li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 5px; height: 9px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); }
.next-project { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; width: 100%; margin-top: auto; padding: 20px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.13); background: none; color: #fff; font-family: inherit; text-align: left; cursor: pointer; }
.next-project[hidden] { display: none; }
.next-project span { color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.next-project strong { grid-column: 1; font: 550 17px/1.2 var(--font-display); }
.next-project i { grid-column: 2; grid-row: 1 / span 2; color: var(--orange); }
.modal-close { position: absolute; z-index: 5; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: #11171b; color: #fff; cursor: pointer; }
.modal-close span, .modal-close span::after { width: 14px; height: 1.5px; background: currentColor; }
.modal-close span { transform: rotate(45deg); }
.modal-close span::after { content: ""; display: block; transform: rotate(90deg); }
.modal-close:hover { border-color: var(--orange); color: var(--orange); }
.modal-close:focus-visible, .gallery-nav:focus-visible, .next-project:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.process { background: var(--ink); color: #fff; }
.process-grid { display: grid; grid-template-columns: .9fr 1fr 1.15fr; min-height: 600px; }
.process-grid > *, .service-item > *, .portfolio-card > div > * { min-width: 0; }
.process-title { padding: 55px 50px 50px 0; }
.process-title h2 { font-size: 58px; }
.process-title > p:last-child { max-width: 310px; margin-top: 32px; color: rgba(255,255,255,.52); font-size: 14px; line-height: 1.7; }
.steps { margin: 0; padding: 42px; list-style: none; background: var(--orange); color: var(--ink); }
.steps li { display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; min-height: 90px; border-bottom: 1px solid rgba(11,16,20,.18); }
.steps span { font-size: 10px; opacity: .55; }
.steps strong { font: 560 19px/1 var(--font-display); }
.steps i { font-style: normal; }
.benefits { padding: 55px 0 45px 52px; }
.benefits h3 { max-width: 430px; font-size: 50px; line-height: 1; font-weight: 560; }
.benefit-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; margin-top: 62px; }
.benefit-list span { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding-right: 16px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.benefit-list span:nth-child(odd) { margin-right: 0; }
.benefit-list b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.numbers { padding: 70px 0; background: var(--orange); }
.numbers-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: center; gap: 24px; }
.numbers-grid .eyebrow { color: var(--ink); margin: 0; }
.numbers-grid > div { padding-left: 24px; border-left: 1px solid rgba(11,16,20,.22); }
.numbers-grid strong { display: block; font: 580 36px/1 var(--font-display); letter-spacing: -.04em; }
.numbers-grid span { display: block; margin-top: 8px; font-size: 11px; opacity: .6; }
.contact { background: var(--paper); }
.contact-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.contact-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.contact-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; background: var(--ink); color: #fff; }
.contact-quick > * { position: relative; display: grid; grid-template-columns: 1fr auto; min-height: 124px; padding: 28px 30px; border-right: 1px solid rgba(255,255,255,.13); transition: background .2s ease; }
.contact-quick > *:last-child { border-right: 0; }
.contact-quick > a:hover { background: #161d22; }
.contact-quick span { grid-column: 1; margin-bottom: 10px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-quick strong { grid-column: 1; font: 560 22px/1.2 var(--font-display); }
.contact-quick b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--orange); font-size: 18px; }
.contact-main { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: stretch; }
.contact-lead { max-width: 600px; margin-top: 32px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-card { background: #fff; padding: 12px 38px; }
.contact-card > * { display: grid; grid-template-columns: 1fr auto; padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-card > *:last-child { border-bottom: 0; }
.contact-card span { grid-column: 1; margin-bottom: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.contact-card strong { grid-column: 1; font: 560 20px/1.2 var(--font-display); }
.contact-card b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #bd6d17; }
.contact-side { min-height: 100%; }
.map-wrap { min-height: 360px; overflow: hidden; background: #d9d7d0; }
.contact-side .map-wrap { height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2) contrast(.96); }
.whatsapp-form { padding: 40px; background: #fff; }
.form-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #bd6d17; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(11,16,20,.2); border-radius: 0; background: #faf9f6; color: var(--ink); font: 500 14px/1.5 var(--font-body); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input { height: 52px; padding: 0 16px; }
.field textarea { min-height: 142px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,154,50,.14); }
.field input::placeholder, .field textarea::placeholder { color: #9b9c99; }
.field small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.form-examples { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 24px; }
.form-examples span { padding: 7px 10px; background: var(--paper); color: #666b6e; font-size: 10px; }
.form-submit { width: 100%; border: 0; cursor: pointer; font-family: var(--font-body); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
footer { padding: 36px 0; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; }
.footer-grid p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }
.footer-grid p:last-child { text-align: right; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
}

@media (max-width: 1000px) {
  .hero { min-height: 740px; }
  .hero-bg { background-position: 58% center; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(50px, 6.2vw, 62px); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 600px; }
  .service-item { grid-template-columns: 44px minmax(200px, .8fr) minmax(240px, 1fr); gap: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-title { grid-column: 1 / -1; }
  .benefits { padding-left: 40px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid .eyebrow { grid-column: 1 / -1; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-page-hero { min-height: 680px; }
  .portfolio-page-hero-bg { background-position: 62% center; }
  .portfolio-page-cta > .shell { align-items: flex-start; flex-direction: column; }
  .project-modal-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .project-details { padding-inline: 30px; }
  .project-details h3 { font-size: 36px; }
  .contact-heading, .contact-main { grid-template-columns: 1fr; }
  .contact-quick > * { padding-inline: 22px; }
}

@media (max-width: 820px) {
  .site-header { isolation: isolate; width: 100%; height: 80px; padding-inline: 24px; border-bottom-color: transparent; background: none; }
  .site-header::before { right: 0; left: 0; height: 125px; background: linear-gradient(180deg, rgba(7,12,17,.74) 0%, rgba(7,12,17,.48) 42%, rgba(7,12,17,.18) 72%, transparent 100%); }
  .hero { min-height: 0; height: auto; max-height: none; padding-top: 230px; }
  .hero::after { display: none; }
  .hero-bg { top: 0; right: 0; bottom: auto; left: 0; height: 410px; background-image: linear-gradient(180deg, rgba(7,12,17,.5) 0%, rgba(7,12,17,.06) 28%, rgba(7,12,17,.72) 67%, #080d11 100%), url('images/uniworx-hero-v2.jpg'); background-position: 63% center; }
  .hero-content { display: block; min-height: 0; height: auto; padding-top: 30px; padding-bottom: 28px; }
  .hero-copy, .hero-metrics { max-width: none; }
  .hero-title-desktop, .hero-lead-desktop { display: none; }
  .hero-title-mobile, .hero-lead-mobile { display: inline; }
  .hero-tags, .experience-badge { display: none; }
  .hero h1 { max-width: 620px; font-size: clamp(42px, 7vw, 52px); line-height: 1.02; }
  .hero-lead { max-width: 540px; margin-top: 18px; font-size: 15px; line-height: 1.5; }
  .hero-actions { display: block; margin-top: 24px; }
  .hero-metrics { display: grid; margin-top: 30px; }
  .hero-metrics > div { min-height: 76px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 36px, 1200px); }
  .section { padding: 82px 0; }
  .site-header { width: 100%; height: 76px; padding-inline: 18px; }
  .hero { min-height: 0; height: auto; max-height: none; padding-top: 205px; }
  .hero::after { display: none; }
  .hero-bg { height: 370px; }
  .hero-content { padding-top: 28px; padding-bottom: 24px; }
  .hero-copy, .hero-metrics { max-width: none; }
  .hero h1 { max-width: 540px; font-size: clamp(38px, 10.7vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
  .hero-lead { max-width: 500px; margin-top: 16px; font-size: 14px; line-height: 1.5; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { min-width: 0; width: auto; min-height: 52px; gap: 14px; padding-inline: 18px; font-size: 12px; white-space: normal; }
  .hero-metrics { grid-template-columns: .85fr 1.3fr .85fr; margin-top: 26px; }
  .hero-metrics > div { min-height: 72px; padding: 12px 10px; }
  .hero-metrics strong { font-size: 24px; }
  .hero-metrics span { margin-top: 6px; font-size: 9px; }
  .hero-proof { grid-template-columns: 1fr 1fr; }
  .hero-proof > div { min-height: 86px; }
  .hero-proof > div:nth-child(2) { justify-content: flex-end; border-right: 0; }
  .hero-proof > div:nth-child(3) { display: none; }
  .hero-proof strong { font-size: 28px; }
  .intro-heading, .section-head, .contact-heading, .contact-main { grid-template-columns: 1fr; }
  .intro-heading h2 { grid-column: 1; }
  h2 { font-size: clamp(38px, 12.5vw, 47px); overflow-wrap: break-word; }
  .about-photo { min-height: 430px; }
  .photo-note { padding: 22px; }
  .about-copy { padding: 38px 24px; }
  .inline-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; line-height: 1.45; }
  .inline-link span { margin-left: 0; }
  .section-head { gap: 28px; }
  .service-item { grid-template-columns: 30px minmax(0, 1fr); gap: 5px 14px; min-height: 0; padding: 22px 0; }
  .service-item > span { grid-row: 1 / span 2; padding-top: 5px; }
  .service-item h3 { font-size: 23px; overflow-wrap: anywhere; }
  .service-item p { grid-column: 2; font-size: 12px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio { padding-bottom: 68px; }
  .portfolio-head { margin-bottom: 32px; }
  .portfolio-grid { gap: 14px; }
  .portfolio-card, .portfolio-grid article:last-child { grid-column: auto; min-width: 0; height: auto; min-height: 0; aspect-ratio: 5 / 4; }
  .portfolio-card > div { right: 18px; bottom: 18px; left: 18px; grid-template-columns: 22px minmax(0, 1fr); column-gap: 9px; row-gap: 5px; }
  .portfolio-grid span { padding-top: 4px; font-size: 10px; }
  .portfolio-grid strong { font-size: clamp(22px, 7vw, 26px); line-height: 1.06; overflow-wrap: anywhere; }
  .portfolio-grid small { font-size: 11px; }
  .portfolio-open { top: 14px; right: 14px; min-height: 40px; gap: 10px; padding-inline: 13px; font-size: 9px; opacity: 1; transform: none; }
  .industrial-projects { margin-top: 48px; padding-top: 48px; }
  .projects-heading { grid-template-columns: 1fr; gap: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { min-width: 0; height: auto; min-height: 0; aspect-ratio: 6 / 5; }
  .portfolio-page-hero { min-height: 680px; height: auto; max-height: none; }
  .portfolio-page-hero-content { min-height: 680px; padding-top: 185px; padding-bottom: 38px; }
  .portfolio-page-hero h1 { max-width: 100%; font-size: clamp(39px, 12.7vw, 54px); line-height: .9; letter-spacing: -.06em; }
  .portfolio-page-hero-content > p:not(.eyebrow) { margin-top: 22px; font-size: 14px; line-height: 1.6; }
  .back-link { top: 104px; left: 0; }
  .portfolio-page-stats { margin-top: 30px; }
  .portfolio-page-stats > div { padding: 17px 10px 0 0; }
  .portfolio-page-stats > div + div { padding-left: 12px; }
  .portfolio-page-stats strong { font-size: 19px; }
  .portfolio-page-stats span { font-size: 7px; line-height: 1.4; }
  .projects-heading--page { margin-bottom: 34px; }
  .portfolio-page-cta { padding: 66px 0; }
  .portfolio-page-cta > .shell { gap: 34px; }
  .portfolio-page-cta h2 { font-size: clamp(36px, 11vw, 45px); overflow-wrap: break-word; }
  .portfolio-page-cta .button { width: 100%; }
  .project-modal { width: 100%; height: 100svh; margin: 0; }
  .project-modal-layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 56svh) minmax(0, 44svh); }
  .project-gallery { grid-template-rows: minmax(0, 1fr) 84px; }
  .gallery-thumb { flex-basis: 70px; height: 60px; }
  .gallery-nav { width: 42px; height: 42px; }
  .gallery-nav--prev { left: 12px; }
  .gallery-nav--next { right: 12px; }
  .gallery-counter { right: 12px; bottom: 12px; }
  .project-details { padding: 30px 22px 24px; }
  .project-details { scrollbar-width: none; }
  .project-details::-webkit-scrollbar { display: none; }
  .project-details h3 { font-size: 34px; }
  .project-area { margin: 20px 0 22px; padding: 15px 0; }
  .project-scope li { padding-block: 9px; }
  .next-project { margin-top: 20px; }
  .modal-close { top: 10px; right: 10px; background: rgba(17,23,27,.9); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid > * { width: 100%; min-width: 0; }
  .process-title { padding-right: 0; }
  .process-title h2 { font-size: clamp(42px, 14vw, 58px); overflow-wrap: anywhere; }
  .steps { padding: 24px; }
  .benefits { padding: 62px 0 0; }
  .benefits h3 { font-size: 43px; }
  .benefit-list { margin-top: 42px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid > div { padding: 18px 0 18px 18px; }
  .numbers-grid strong { font-size: 28px; }
  .contact-heading, .contact-main { gap: 28px; }
  .contact-quick { grid-template-columns: 1fr; }
  .contact-quick > * { min-height: 96px; padding: 22px 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .contact-quick > *:last-child { border-bottom: 0; }
  .contact-quick strong { font-size: 20px; }
  .whatsapp-form { padding: 26px 20px; }
  .form-submit { justify-content: center; gap: 16px; padding-inline: 18px; text-align: center; }
  .contact-card { padding-inline: 24px; }
  .contact-side { min-height: 330px; }
  .map-wrap, .map-wrap iframe { min-height: 330px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid p:last-child { text-align: left; }
}

@media (max-width: 420px) {
  .hero { padding-top: 185px; }
  .hero-bg { height: 350px; }
  .hero-content { padding-top: 24px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 42px); }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 50px; gap: 12px; padding-inline: 14px; font-size: 11px; }
  .hero-actions .button .arrow-mark { width: 14px; height: 14px; }
  .hero-metrics { margin-top: 22px; }
  .hero-metrics > div { min-height: 66px; padding: 10px 7px; }
  .hero-metrics strong { font-size: 21px; }
  .hero-metrics span { font-size: 8px; }
  .benefit-list { grid-template-columns: 1fr; column-gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
