@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonty/montserrat-light.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonty/montserrat-regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonty/montserrat-medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonty/montserrat-semibold.woff2") format("woff2"); }

:root {
  --grafit: #16181B;
  --ciemny: #1D2024;
  --tekst: #2F3236;
  --szary: #6F6A64;
  --jasny: #CFCAC3;
  --linia: #DEDAD3;
  --tlo: #F4F2EE;
  --braz: #9C7C4E;
  --braz-jasny: #C3A57A;
  --szer: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tekst);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--szer); margin: 0 auto; padding: 0 40px; }
.ik { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* pasek postępu i nagłówek */
.postep { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--braz); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 96px; transition: height .4s var(--ease); }
.top .logo img { width: 168px; transition: width .4s var(--ease); }
.top.zwiniety { background: rgba(22, 24, 27, .94); border-color: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top.zwiniety .wrap { height: 68px; }
.top.zwiniety .logo img { width: 128px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--jasny); transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .tel { color: #fff; border: 1px solid var(--braz); padding: 10px 16px; }
.nav .tel:hover { background: var(--braz); }

/* otwarcie */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background-color: var(--grafit);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  min-height: 100vh;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: 130px 0 90px;
}
.hero .wrap { width: 100%; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.etykieta { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--braz-jasny); margin: 0 0 26px; }
.hero h1 { font-weight: 300; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 30px; }
.hero h1 strong { font-weight: 500; color: #fff; }
.hero .lead { font-weight: 300; font-size: 18px; line-height: 1.75; color: #D9D4CC; max-width: 560px; margin: 0 0 42px; }
.przyciski { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 16px 26px; border: 1px solid var(--braz); color: #fff; transition: background .25s, color .25s, border-color .25s;
}
.btn.pelny { background: var(--braz); }
.btn:hover { background: #fff; color: var(--grafit); border-color: #fff; }
.btn .strz { transition: transform .25s var(--ease); }
.btn:hover .strz { transform: translateX(4px); }
.rysunek { width: 100%; height: auto; overflow: visible; }
.rysunek .l { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.rysunek .l.cien { stroke: rgba(255, 255, 255, .38); stroke-width: 1; }
.rysunek .l.a { stroke: var(--braz-jasny); }
.rysunek .os { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 3 5; }
.rysunek text { fill: rgba(255, 255, 255, .55); font-family: "Montserrat", Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .2em; }
.rysunek text.a { fill: var(--braz-jasny); }
.rysunek circle.b { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1; }
.js .rysunek .r { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .rysunek .f { opacity: 0; }
.js .rys .r, .js .rys2.widac .r { animation: rysuj 1.8s var(--ease) forwards; animation-delay: var(--o, 0s); }
.js .rys .f, .js .rys2.widac .f { animation: pojaw 1s ease forwards; animation-delay: var(--o, 0s); }
@keyframes rysuj { to { stroke-dashoffset: 0; } }
@keyframes pojaw { to { opacity: 1; } }
.przewin { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5); text-decoration: none; }
.przewin span { display: block; width: 1px; height: 44px; background: linear-gradient(var(--braz-jasny), transparent); animation: kreska 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes kreska { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* taśma */
.tasma { background: var(--ciemny); color: #4A4E54; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); padding: 26px 0; white-space: nowrap; }
.tasma-tor { display: inline-flex; animation: tasma 48s linear infinite; }
.tasma-tor span { font-size: clamp(26px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.01em; padding-right: 48px; }
.tasma-tor span::after { content: "·"; color: var(--braz); padding-left: 48px; }
@keyframes tasma { to { transform: translateX(-50%); } }

/* sekcje ogólnie */
section { padding: 128px 0; position: relative; }
section.jasna { background: var(--tlo); }
section.ciemna { background: var(--grafit); color: #fff; }
.nr { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--braz); margin-bottom: 22px; }
.nr::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.ciemna .nr, .kontakt .nr { color: var(--braz-jasny); }
h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 22px; color: var(--grafit); }
.ciemna h2 { color: #fff; }
.wstep { font-size: 17px; color: var(--szary); max-width: 640px; margin: 0; }
.ciemna .wstep { color: var(--jasny); }
.glowa { margin-bottom: 64px; }

/* 01 co robimy – przypięty spis */
.filary { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.filary-lewa { position: sticky; top: 130px; }
.spis { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--linia); }
.spis a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--linia); text-decoration: none; font-size: 15px; font-weight: 500; color: #A8A29A; transition: color .3s, padding .3s var(--ease); }
.spis a small { font-size: 11px; letter-spacing: .12em; color: inherit; }
.spis a.akt, .spis a:hover { color: var(--grafit); padding-left: 10px; }
.spis a.akt small { color: var(--braz); }
.filar { min-height: min(62vh, 560px); display: flex; flex-direction: column; justify-content: center; padding: 56px 0; border-top: 1px solid var(--linia); }
.filar:first-child { border-top: 0; padding-top: 0; }
.filar .ik { width: 60px; height: 60px; color: var(--braz); margin-bottom: 26px; stroke-width: 1.2; }
.filar h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.15; margin: 0 0 18px; color: var(--grafit); }
.filar p { margin: 0 0 24px; font-size: 17px; max-width: 560px; }
.tagi { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tagi li { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--linia); padding: 7px 12px; color: var(--szary); }

/* zdanie */
.zdanie { padding: 150px 0; }
.zdanie p.duze { font-size: clamp(30px, 4.4vw, 60px); font-weight: 300; line-height: 1.18; letter-spacing: -.02em; color: var(--grafit); margin: 0 0 30px; max-width: 1000px; }
.zdanie p.duze em { font-style: normal; color: var(--braz); }
.zdanie p.male { font-size: 17px; color: var(--szary); max-width: 560px; margin: 0; }

/* 02 trudne tematy */
.tematy { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linia); border-left: 1px solid var(--linia); }
.temat { padding: 40px 36px 44px; border-right: 1px solid var(--linia); border-bottom: 1px solid var(--linia); background: transparent; transition: background .35s ease; }
.temat:hover { background: var(--tlo); }
.temat .ik { color: var(--braz); margin-bottom: 26px; transition: transform .45s var(--ease); }
.temat:hover .ik { transform: translateY(-4px); }
.temat h3 { font-size: 18px; font-weight: 500; color: var(--grafit); margin: 0 0 10px; line-height: 1.35; }
.temat p { font-size: 15px; color: var(--szary); margin: 0; }

/* schrony */
.schrony { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.schrony p { margin: 0 0 18px; color: var(--jasny); font-size: 17px; }
.schrony .lista { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.schrony .lista li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; gap: 16px; color: #fff; }
.schrony .lista li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border: 1px solid var(--braz-jasny); transform: rotate(45deg); flex: none; }

/* urzędy i dyskrecja */
.dwa { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--linia); }
.dwa > div { padding: 56px 56px 56px 0; }
.dwa > div + div { padding: 56px 0 56px 56px; border-left: 1px solid var(--linia); }
.dwa .ik { width: 64px; height: 64px; color: var(--braz); stroke-width: 1.2; margin-bottom: 28px; }
.dwa h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; margin: 0 0 18px; color: var(--grafit); line-height: 1.2; }
.dwa p { margin: 0 0 14px; font-size: 16px; }
.urzedy { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.urzedy li { font-size: 12px; font-weight: 500; letter-spacing: .06em; background: #fff; border: 1px solid var(--linia); padding: 7px 12px; color: var(--tekst); }

/* sektory */
.sektory { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.sektor { border: 1px solid var(--linia); padding: 30px 22px 26px; display: flex; flex-direction: column; gap: 22px; transition: border-color .3s, transform .45s var(--ease); background: #fff; }
.sektor:hover { border-color: var(--braz); transform: translateY(-4px); }
.sektor .ik { color: var(--grafit); width: 44px; height: 44px; }
.sektor b { font-weight: 500; font-size: 15px; color: var(--grafit); line-height: 1.35; }
.grupa { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--linia); }
.grupa h3 { font-size: 22px; font-weight: 400; margin: 0; color: var(--grafit); line-height: 1.35; }
.grupa p { margin: 0; color: var(--szary); }

/* jak pracujemy */
.kroki { position: relative; padding: 0 0 0 76px; max-width: 820px; }
.kroki ol { list-style: none; margin: 0; padding: 0; }
.kroki::before, .kroki .wypelnienie { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .14); }
.kroki .wypelnienie { background: var(--braz-jasny); transform: scaleY(0); transform-origin: top; width: 2px; left: 18.5px; }
.kroki li { position: relative; padding: 0 0 52px; }
.kroki li:last-child { padding-bottom: 0; }
.kroki li small { position: absolute; left: -76px; top: 0; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); background: var(--grafit); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--braz-jasny); }
.kroki b { display: block; font-size: 22px; font-weight: 400; color: #fff; margin: 4px 0 8px; }
.kroki span { color: var(--jasny); font-size: 16px; }

/* kontakt */
.kontakt { background: var(--ciemny); color: #fff; padding: 140px 0 120px; }
.kontakt h2 { color: #fff; font-size: clamp(34px, 4.6vw, 64px); max-width: 860px; }
.kontakt .wstep { color: var(--jasny); }
.kanaly { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 40px; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); }
.kanaly small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--braz-jasny); margin-bottom: 14px; }
.kanaly a { text-decoration: none; }
.kanaly .duze { font-size: clamp(22px, 1.9vw, 26px); font-weight: 300; margin: 0 0 6px; line-height: 1.3; }
.kanaly .duze a { background: linear-gradient(var(--braz-jasny), var(--braz-jasny)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.kanaly .duze a:hover { background-size: 100% 1px; }
.kanaly p { margin: 0; color: #D9D4CC; }

.stopka { background: #0F1113; color: #8D8780; font-size: 12px; padding: 28px 0; }
.stopka .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* pojawianie przy przewijaniu */
.js [data-r] { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].widac { opacity: 1; transform: none; }

@media (max-height: 900px) {
  .przewin { display: none; }
}
@media (max-width: 1080px) {
  .tematy { grid-template-columns: repeat(2, 1fr); }
  .sektory { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .nav a:not(.tel) { display: none; }
  .top .wrap { height: 76px; }
  .top .logo img { width: 130px; }
  .hero { padding: 120px 0 100px; min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { font-size: 16px; }
  .przewin { display: none; }
  section, .zdanie { padding: 88px 0; }
  .filary { grid-template-columns: 1fr; gap: 24px; }
  .filary-lewa { position: static; }
  .spis { display: none; }
  .filar { min-height: 0; padding: 40px 0; }
  .filar:first-child { border-top: 1px solid var(--linia); padding-top: 40px; }
  .schrony, .grupa { grid-template-columns: 1fr; gap: 40px; }
  .dwa { grid-template-columns: 1fr; }
  .dwa > div, .dwa > div + div { padding: 40px 0; border-left: 0; }
  .dwa > div + div { border-top: 1px solid var(--linia); }
  .kanaly { grid-template-columns: 1fr; gap: 32px; }
  .glowa { margin-bottom: 44px; }
}
@media (max-width: 600px) {
  .tematy { grid-template-columns: 1fr; }
  .temat { padding: 32px 24px; }
  .sektory { grid-template-columns: repeat(2, 1fr); }
  .kroki { padding-left: 64px; }
  .kroki li small { left: -64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r] { opacity: 1; transform: none; transition: none; }
  .js .rysunek .r { animation: none; stroke-dasharray: none; }
  .js .rysunek .f { animation: none; opacity: 1; }
  .tasma-tor, .przewin span { animation: none; }
}
