/* Madmax — druk 3D. Odtworzenie projektu „Madmax Strona.dc.html” (design handoff). */
/* Urbanist z Google Fonts nie ma Ł/ł (przeglądarka brała je z innego kroju — wyglądały na pogrubione).
   Uzupełnienie zbudowane z liter L/l Urbanista dla każdej użytej grubości; działa tylko dla U+0141–0142. */
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/urbanist-lslash-300.woff2) format('woff2'); unicode-range: U+0141-0142; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/urbanist-lslash-400.woff2) format('woff2'); unicode-range: U+0141-0142; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/urbanist-lslash-600.woff2) format('woff2'); unicode-range: U+0141-0142; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/urbanist-lslash-800.woff2) format('woff2'); unicode-range: U+0141-0142; }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/urbanist-lslash-900.woff2) format('woff2'); unicode-range: U+0141-0142; }

html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: #444647; font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #0993D3; text-decoration: none; }
a:hover { color: #076FA0; }
input, textarea, button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.u { font-family: Urbanist, sans-serif; }
.wrap { max-width: 1240px; margin: 0 auto; }
.sec { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 48px); scroll-margin-top: 72px; }
.alt { background: #F3F6F8; }
.col { display: flex; flex-direction: column; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { position: relative; overflow: hidden; background: #E6E9EB; }

/* section heading */
.sh { display: flex; flex-direction: column; gap: 10px; }
.sh h2 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 300; font-size: clamp(38px, 5.5vw, 64px); line-height: 1; text-transform: uppercase; color: #444647; }
.sh h2 b { font-weight: 800; }
.sh p { margin: 0; font-family: Urbanist, sans-serif; font-size: 20px; color: #444647; }
.bar { height: 5px; background: #0A9FDB; margin-top: 8px; }

/* bullets */
.bl { display: grid; grid-template-columns: 16px 1fr; gap: 12px 16px; font-size: 16px; line-height: 1.6; }
.bl > i { width: 16px; height: 16px; margin-top: 4px; border: 4px solid #3A3C3D; border-radius: 4px; background: #fff; }
.bl p { margin: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; font-family: Urbanist, sans-serif; font-weight: 800; font-size: 16px; cursor: pointer; transition: background .15s, color .15s; }
.btn-line { border: 2px solid #444647; color: #444647; }
.btn-line:hover { background: #444647; color: #fff; }
.btn-blue { background: #0A9FDB; color: #fff; padding: 0 26px; border: 0; }
.btn-blue:hover { background: #0786BC; color: #fff; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #E6E9EB; }
.hdr-in { max-width: 1240px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-family: Urbanist, sans-serif; font-weight: 600; font-size: 16px; }
.nav a { color: #444647; }
.nav a:hover { color: #0993D3; }
.nav a.cta { background: #0A9FDB; color: #fff; padding: 12px 20px; font-weight: 800; }
.nav a.cta:hover { background: #0786BC; color: #fff; }
.menu-btn { display: none; border: 0; background: #0A9FDB; color: #fff; font-family: Urbanist, sans-serif; font-weight: 800; font-size: 15px; padding: 12px 18px; cursor: pointer; min-height: 44px; }
.mnav { display: none; flex-direction: column; border-top: 1px solid #E6E9EB; font-family: Urbanist, sans-serif; font-weight: 600; font-size: 18px; }
.mnav a { color: #444647; padding: 14px 24px; border-bottom: 1px solid #EEF0F1; }
.mnav a.cta { color: #fff; background: #0A9FDB; padding: 16px 24px; font-weight: 800; border: 0; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr.open .mnav { display: flex; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 48px) clamp(56px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg i { position: absolute; inset: 0; }
.hero-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tri { position: relative; width: 100%; aspect-ratio: 5/6; max-height: 720px; }
.tri i { position: absolute; inset: 0; }
.tri .b { background: linear-gradient(180deg, #0A9FDB, #6BBDE8); }
.tri .g { background: #D1D3D4; }
.tri .k { background: #4A4B4C; }
.hero-txt { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: clamp(40px, 7vw, 96px); }
.slogan { font-family: Urbanist, sans-serif; color: #444647; text-transform: uppercase; line-height: 1.05; }
.slogan div:nth-child(1) { font-weight: 300; font-size: clamp(30px, 4vw, 48px); letter-spacing: .02em; }
.slogan div:nth-child(2) { font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: .01em; }
.slogan div:nth-child(3) { font-weight: 300; font-size: clamp(48px, 7vw, 84px); letter-spacing: .01em; }
.hero h1 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 300; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.3; color: #2F3132; text-wrap: balance; }
.hero h1 span { color: #0993D3; font-weight: 400; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* about */
.about-photo { width: 100%; aspect-ratio: 16/7; min-height: 260px; }
.about-photo img { object-position: center 30%; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(-120px, -8vw, -40px); position: relative; pointer-events: none; }
.about-txt { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.7; padding-top: clamp(64px, 10vw, 150px); text-wrap: pretty; }
.about-txt p { margin: 0; }
.panel { pointer-events: auto; background: #0890CE; color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 36px; }
.panel h3 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 300; font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.panel h3 b { font-weight: 800; }

/* offer cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 3vw, 36px); }
.card { background: #fff; display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 4/3; }
.card-b { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px; }
.card h3 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 400; font-size: 28px; color: #2F3132; }
.card .tag { margin: 0; background: #0890CE; color: #fff; padding: 16px 18px; font-weight: 700; font-size: 17px; line-height: 1.45; }
.card .d { margin: 0; font-size: 16px; line-height: 1.65; text-wrap: pretty; }

/* how */
.how-title { margin: 0; background: #0890CE; color: #fff; padding: 22px clamp(24px, 4vw, 48px); font-family: Urbanist, sans-serif; font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); }
.how-title b { font-weight: 800; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 48px; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.two p { margin: 0; }
.lead { margin: 0; font-family: Urbanist, sans-serif; font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: #2F3132; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 2px; background: #E1E5E8; }
.step { background: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.step.blue { background: #0890CE; color: #fff; }
.step-h { display: flex; align-items: baseline; gap: 16px; }
.step-h span { font-family: Urbanist, sans-serif; font-weight: 900; font-size: 22px; color: #0993D3; }
.step.blue .step-h span { color: #BFE6F8; }
.step h4 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 400; font-size: 32px; color: #2F3132; }
.step.blue h4 { color: #fff; }
.step p { margin: 0; font-size: 16px; line-height: 1.7; text-wrap: pretty; }

/* realizations mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; row-gap: clamp(6px, .8vw, 10px); max-width: 1040px; width: 100%; margin: 0 auto; }
.tri-item { position: relative; aspect-ratio: 1.155; }
.tri-item .ph { position: absolute; inset: 0; }
.tri-item.dn .ph { clip-path: polygon(1.5% 0, 98.5% 0, 50% 97%); }
.tri-item.up .ph { clip-path: polygon(50% 3%, 98.5% 100%, 1.5% 100%); }
.tri-item .lbl { position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none; color: #fff; font-family: Urbanist, sans-serif; font-weight: 600; font-size: clamp(13px, 1.7vw, 22px); padding: .35em .8em; white-space: nowrap; background: #0890CE; }
.tri-item.dn .lbl { top: 10%; }
.tri-item.up .lbl { bottom: 8%; }
.tri-item .lbl.k { background: #3A3C3D; }

/* serial gallery */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.gal .ph { aspect-ratio: 4/3; }

/* experimental */
.exp-intro { max-width: 820px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.exp-intro p { margin: 0; }
.exp-intro p:first-child { font-weight: 700; color: #2F3132; }
.exp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(90px, 14vw, 190px); gap: clamp(8px, 1.2vw, 16px); }

/* founder */
.founder { background: #0890CE; color: #fff; padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.founder h2 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 900; font-size: clamp(44px, 6vw, 76px); line-height: .95; text-transform: uppercase; }
.founder .sub { margin: 6px 0 0; font-family: Urbanist, sans-serif; font-size: 20px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 4vw, 48px); }
.person { display: flex; flex-direction: column; gap: 16px; }
.person .ph { aspect-ratio: 1; }
.person .name { align-self: flex-start; background: #fff; color: #2F3132; font-family: Urbanist, sans-serif; font-size: 20px; padding: 8px 16px; }
.person h3 { margin: 0; font-size: 17px; font-weight: 700; }
.person p { margin: 0; font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.motto { margin: 0; text-align: center; font-family: Urbanist, sans-serif; font-weight: 300; font-size: clamp(28px, 5.4vw, 68px); letter-spacing: .02em; text-transform: uppercase; color: #444647; line-height: 1.1; }
.motto b { font-weight: 800; }

/* contact */
.contact { position: relative; overflow: hidden; background: #0890CE; color: #fff; }
.contact-grid { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact h2 { margin: 0; font-family: Urbanist, sans-serif; font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.15; text-wrap: balance; }
.contact .sub { margin: 0; font-family: Urbanist, sans-serif; font-weight: 600; font-size: 20px; }
.contact-txt { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.contact-txt p { margin: 0; }
.contact .bl { gap: 10px 14px; font-size: 17px; line-height: 1.7; }
.contact .bl > i { width: 14px; height: 14px; margin-top: 6px; }
.cdata { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .35); font-family: Urbanist, sans-serif; font-size: 22px; }
.cdata a { color: #fff; }
.cdata a:hover { color: #E3F4FC; }
.fcard { background: #fff; color: #444647; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 60px -30px rgba(0, 30, 60, .45); }
.fcard h3 { margin: 0 0 4px; font-family: Urbanist, sans-serif; font-weight: 300; font-size: 30px; text-transform: uppercase; color: #2F3132; }
.fcard h3 b { font-weight: 800; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input[type=text], .form input[type=email], .form input[type=tel] { height: 48px; padding: 0 14px; border: 1px solid #C9CED2; background: #FAFBFC; font-size: 16px; outline-color: #0A9FDB; border-radius: 0; }
.form textarea { padding: 12px 14px; border: 1px solid #C9CED2; background: #FAFBFC; font-size: 16px; resize: vertical; outline-color: #0A9FDB; border-radius: 0; }
.form .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px dashed #9FD3EE; background: #F1F9FD; cursor: pointer; }
.drop:hover, .drop.over { border-color: #0A9FDB; }
.drop .plus { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #0A9FDB; color: #fff; font-family: Urbanist, sans-serif; font-weight: 900; font-size: 24px; }
.drop .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drop .t1 { font-weight: 700; font-size: 15px; color: #2F3132; overflow-wrap: anywhere; }
.drop .t2 { font-size: 13px; color: #5E6366; }
.drop input { display: none; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; line-height: 1.5; color: #5E6366; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0A9FDB; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { min-height: 54px; border: 0; background: #0A9FDB; color: #fff; font-family: Urbanist, sans-serif; font-weight: 800; font-size: 17px; cursor: pointer; }
.submit:hover { background: #0786BC; }
.submit:disabled { opacity: .6; cursor: wait; }
.err { margin: 0; color: #C62828; font-size: 14px; font-weight: 600; }
.done { display: flex; flex-direction: column; gap: 16px; padding: 24px 0; }
.done .trig { width: 48px; height: 48px; background: #0A9FDB; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.done h3 { margin: 0; }
.done p { margin: 0; font-size: 16px; line-height: 1.7; }
.done button { align-self: flex-start; min-height: 48px; padding: 0 20px; border: 2px solid #444647; background: #fff; color: #444647; font-family: Urbanist, sans-serif; font-weight: 800; font-size: 15px; cursor: pointer; }
.done button:hover { background: #444647; color: #fff; }

/* footer */
.ftr { background: #2F3132; color: #C9CDD0; padding: 40px clamp(20px, 5vw, 48px); }
.ftr-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; font-size: 14px; }
.ftr .brand { font-family: Urbanist, sans-serif; font-weight: 900; font-size: 24px; color: #fff; }
.ftr a { color: #C9CDD0; }
.ftr a:hover { color: #fff; }

/* lightbox */
.ph img.fill { cursor: zoom-in; transition: transform .35s ease; }
.ph:hover img.fill { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(28, 30, 31, .94); opacity: 0; transition: opacity .2s ease; }
.lb.on { opacity: 1; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 92vw; }
.lb img { max-width: 92vw; max-height: calc(100vh - 140px); width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #2F3132; transition: opacity .15s ease; }
.lb img.loading { opacity: .35; }
.lb figcaption { color: #fff; font-family: Urbanist, sans-serif; font-size: 18px; text-align: center; }
.lb figcaption span { color: #9FD3EE; font-weight: 800; margin-left: 12px; font-size: 15px; }
.lb button { position: absolute; border: 0; background: #0A9FDB; color: #fff; width: 52px; height: 52px; font-family: Urbanist, sans-serif; font-weight: 800; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button:hover { background: #0786BC; }
.lb .x { top: 16px; right: 16px; }
.lb .prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb .prev, .lb .next { top: auto; bottom: 16px; transform: none; }
  .lb img { max-height: calc(100vh - 190px); }
}
