/* ============================================
   IRON ELEPHANT — styl "brutal dark"
   Kolory zmieniasz w jednym miejscu (:root)
   ============================================ */
:root {
  --bg:        #0c0c0c;
  --bg-2:      #131416;
  --panel:     #1a1b1e;
  --panel-2:   #202125;
  --line:      #2a2c30;
  --steel:     #8c9097;
  --steel-lt:  #c9ccd1;
  --text:      #ecedef;
  --accent:    #e0662a;
  --accent-2:  #ff8a3d;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.hl { color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: .95rem; padding: 1em 1.8em; border-radius: 2px;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s, border-color .25s;
}
.btn--sm { padding: .7em 1.3em; font-size: .82rem; }
.btn--accent { background: var(--accent); color: #111; }
.btn--accent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-2); transform: translateX(-101%); transition: transform .35s var(--ease); }
.btn--accent:hover::before { transform: none; }
.btn--accent:hover { box-shadow: 0 0 0 1px var(--accent), 0 10px 30px -10px rgba(224,102,42,.7); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--steel-lt); }
.btn--ghost:hover { border-color: var(--steel-lt); color: #fff; transform: translateY(-2px); }
.link-arrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .9rem; color: var(--steel-lt); transition: color .25s; display: inline-flex; gap: .5em; }
.link-arrow span { color: var(--accent); transition: transform .3s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Górny pasek ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled, .nav--solid { background: rgba(12,12,12,.88); backdrop-filter: blur(10px); border-color: var(--line); }
.nav__inner { width: min(1200px, 100% - 40px); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.2rem; letter-spacing: .12em; flex: none; }
.nav__brand b { color: var(--accent); font-weight: 600; }
.nav__logo { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .88rem; color: var(--steel-lt); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 13px; } .nav__burger span:nth-child(2) { top: 19px; } .nav__burger span:nth-child(3) { top: 25px; }
.nav__burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; }
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; width: min(1200px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .28em; font-size: .85rem; color: var(--steel); display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--accent); flex: none; }
.hero__title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: .95; font-size: clamp(3rem, 7.5vw, 6.6rem); letter-spacing: -.01em; }
.hero__line { display: block; }
.hero__line--accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 40%, #fff 50%, var(--accent-2) 60%, var(--accent) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero__lead { margin: 28px 0 40px; font-size: 1.15rem; color: var(--steel-lt); max-width: 34ch; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__logo { position: relative; }
.hero__logo img { width: 100%; max-width: 560px; margin-left: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); }
.hero__logo::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 60%; height: 22px; transform: translateX(-40%); background: radial-gradient(ellipse, rgba(0,0,0,.8), transparent 70%); animation: shadow 7s ease-in-out infinite; pointer-events: none; }
.hero__logo::before { content: ""; position: absolute; left: 6%; bottom: 9%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,160,80,.55), rgba(111,180,255,.15) 40%, transparent 70%); filter: blur(10px); animation: flicker 2.2s infinite steps(1); pointer-events: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shadow { 0%,100% { opacity: .9; transform: translateX(-40%) scaleX(1); } 50% { opacity: .5; transform: translateX(-40%) scaleX(.85); } }
@keyframes flicker { 0%{opacity:.9} 20%{opacity:.4} 35%{opacity:1} 55%{opacity:.6} 70%{opacity:.95} 85%{opacity:.5} }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--steel); border-radius: 14px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{opacity:0; transform:translateY(0)} 30%{opacity:1} 100%{opacity:0; transform:translateY(14px)} }

/* plakietka "Rekrutujemy" */
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px 8px 12px; border: 1px solid rgba(224,102,42,.45); background: rgba(224,102,42,.08); font-size: .88rem; border-radius: 40px; transition: background .25s, border-color .25s; }
.badge:hover { background: rgba(224,102,42,.18); border-color: var(--accent); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; flex: none; }
.badge__arrow { color: var(--accent); transition: transform .3s var(--ease); }
.badge:hover .badge__arrow { transform: translateX(4px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,102,42,.7); } 70% { box-shadow: 0 0 0 10px rgba(224,102,42,0); } 100% { box-shadow: 0 0 0 0 rgba(224,102,42,0); } }

/* ---------- Sekcje ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section--tight { padding-top: clamp(50px, 7vw, 80px); }
.section__head { margin-bottom: 52px; padding-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .24em; font-size: .85rem; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.section__label::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section__head h2 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: .01em; }
.subhead { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; color: var(--accent); margin: 0 0 22px; font-weight: 500; }

/* ---------- O nas ---------- */
.about__lead { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; max-width: 30ch; margin-bottom: 56px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about__box { background: var(--panel); border: 1px solid var(--line); padding: 36px 34px; position: relative; }
.about__box h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: 1.45rem; margin-bottom: 16px; }
.about__box p { color: var(--steel-lt); }
.about__box--promise { border-top: 3px solid var(--accent); }
.about__icon { width: 46px; height: 46px; margin-bottom: 22px; }
.about__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.promise { list-style: none; display: grid; gap: 16px; margin-top: 6px; }
.promise li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--steel-lt); }
.promise li b { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-size: 1rem; }
.about__actions { margin-top: 40px; }

/* ---------- Oferta (kafelki) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--panel); padding: 42px 36px 46px; position: relative; overflow: hidden; transition: background .35s var(--ease); display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { background: var(--panel-2); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 54px; height: 54px; margin-bottom: 32px; }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: square; transition: transform .45s var(--ease); }
.card:hover .card__icon svg { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.55rem; letter-spacing: .05em; margin-bottom: 12px; line-height: 1.2; }
.card p { color: var(--steel); }
.card--cta { background: linear-gradient(140deg, #2e170a, var(--panel) 75%); justify-content: center; }
.card--cta:hover { background: linear-gradient(140deg, #3a1d0c, var(--panel-2) 75%); }
.card--cta p { margin-bottom: 26px; color: var(--steel-lt); }
.card--cta .btn { align-self: flex-start; }

/* ---------- Realizacje: kafelki wpisów ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .35s var(--ease); }
.post:hover { border-color: var(--accent); transform: translateY(-4px); }
.post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: grayscale(.4); }
.post:hover .post__img img { transform: scale(1.06); filter: grayscale(0); }
.post__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--accent); margin-bottom: 10px; }
.post__title { font-family: var(--font-head); text-transform: uppercase; font-size: 1.35rem; line-height: 1.2; letter-spacing: .03em; margin-bottom: 12px; }
.post__text { color: var(--steel); font-size: .95rem; margin-bottom: 22px; }
.post__more { margin-top: auto; }
.posts__empty { color: var(--steel); padding: 40px 0; }
.posts-actions { margin-top: 36px; }

/* ---------- Pojedyncza realizacja ---------- */
.case__cover { aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid var(--line); margin-bottom: 56px; background: var(--panel); }
.case__cover img { width: 100%; height: 100%; object-fit: cover; }
.case__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.case__text p { color: var(--steel-lt); font-size: 1.06rem; margin-bottom: 18px; }
.case__aside { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 30px 28px; position: sticky; top: 96px; }
.scope { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.scope li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--steel-lt); }
.scope li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border: 2px solid var(--accent); transform: rotate(45deg); }
.facts { display: grid; gap: 12px; padding-top: 22px; margin-bottom: 26px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; }
.facts dt { color: var(--steel); }
.facts dd { color: var(--text); text-align: right; }
.case__aside .btn { width: 100%; }
.case__photos { margin-top: 70px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: grayscale(.4); }
.photo::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease); background-color: rgba(12,12,12,.45);
  background-repeat: no-repeat; background-position: center; background-size: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'%3E%3Ccircle cx='27' cy='27' r='26' fill='%23e0662a'/%3E%3Ccircle cx='24.5' cy='24.5' r='8.5' fill='none' stroke='%23111' stroke-width='3'/%3E%3Cpath d='M31 31l7 7M24.5 20.5v8M20.5 24.5h8' stroke='%23111' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.photo:hover img { transform: scale(1.06); filter: grayscale(0); }
.photo:hover::after { opacity: 1; }
.case__nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.case__missing { padding: 40px 0; color: var(--steel-lt); }
.case__missing p { margin-bottom: 24px; }

/* ---------- Praca ---------- */
.jobs__intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.jobs__intro .about__lead { margin: 0; }
.jobs__intro p { color: var(--steel-lt); }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 80px; }
.role { background: var(--panel); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.role:hover { border-color: var(--accent); transform: translateY(-4px); }
.role__tag { align-self: flex-start; font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: #111; background: var(--accent); padding: 3px 8px; margin-bottom: 18px; font-weight: 600; }
.role h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.5rem; letter-spacing: .04em; margin-bottom: 10px; line-height: 1.2; }
.role p { color: var(--steel); }
.role__req { margin-top: 14px; font-size: .9rem; color: var(--steel-lt) !important; }
.role__req b { color: var(--accent); font-weight: 600; }
.role .btn { margin-top: auto; align-self: flex-start; }
.role__foot { margin-top: auto; padding-top: 24px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.step { position: relative; padding: 30px 30px 10px 0; }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; margin-top: -54px; margin-bottom: 20px; color: var(--accent); font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1; position: relative; isolation: isolate; }
.step__num::before { content: ""; position: absolute; inset: 4px; z-index: -1; background: var(--bg); border: 2px solid var(--accent); transform: rotate(45deg); transition: background .3s; }
.step:hover .step__num { color: #111; }
.step:hover .step__num::before { background: var(--accent); }
.step h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .05em; margin-bottom: 8px; }
.step p { color: var(--steel); }
.offer { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 80px; }
.offer li { border-left: 3px solid var(--accent); padding: 8px 0 8px 16px; color: var(--steel-lt); }
.jobs__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.jobs__actions p { color: var(--steel-lt); }

/* ---------- Mały link "Szukasz pracy?" w hero ---------- */
.hero__job { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: .92rem; color: var(--steel-lt); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .25s, border-color .25s; }
.hero__job:hover { color: #fff; border-color: var(--accent); }
.hero__job:hover .badge__arrow { transform: translateX(4px); }

/* ---------- Praca: 3 proste kroki na górze ---------- */
.howto { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.howto li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 24px 22px; }
.howto b { display: grid; place-items: center; width: 56px; height: 56px; background: var(--accent); color: #111; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; }
.howto h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .04em; margin-bottom: 6px; }
.howto p { color: var(--steel-lt); font-size: 1rem; }
.callbox { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 22px; border: 1px dashed rgba(224,102,42,.5); background: rgba(224,102,42,.06); margin-bottom: 70px; }
.callbox p { color: var(--steel-lt); font-size: 1.05rem; }
.callbox strong { color: var(--text); }
.callbox__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.callbox[hidden] + .section__head { margin-top: 70px; }
.apply__call { margin: -8px 0 22px; padding: 12px 16px; background: rgba(224,102,42,.08); border-left: 3px solid var(--accent); color: var(--steel-lt); }
.apply__call a { color: var(--accent); font-weight: 600; }
.form__divider { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--steel); display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.form__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
[hidden] { display: none !important; }

/* ---------- Pasek "Praca" nad stopką ---------- */
.jobs-band { background: var(--bg-2); border-top: 1px solid var(--line); padding: 70px 0; }
.jobs-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.jobs-band h2 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; margin-bottom: 10px; }
.jobs-band p:not(.section__label) { color: var(--steel-lt); }

/* ---------- Nagłówek podstron ---------- */
.page-hero { position: relative; padding: 170px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(160deg, #1a0f09 0%, var(--bg) 55%); }
.page-hero .hero__grid { opacity: .35; }
.page-hero__inner { position: relative; z-index: 1; }
.breadcrumbs { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--steel); margin-bottom: 20px; }
.breadcrumbs a { color: var(--steel-lt); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--accent); margin: 0 10px; }
.page-hero h1 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; max-width: 18ch; }
.page-hero p { margin-top: 20px; color: var(--steel-lt); max-width: 56ch; font-size: 1.1rem; }
.page-hero .post__meta { margin: 0 0 16px; font-size: .85rem; }

/* ---------- Stopka ---------- */
.footer { padding: 64px 0 0; background: #0a0a0a; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer__brand { display: flex; align-items: center; gap: 14px; align-self: start; }
.footer__brand img { height: 52px; }
.footer__brand strong { display: block; font-family: var(--font-head); letter-spacing: .14em; }
.footer__brand span { font-size: .85rem; color: var(--steel); }
.footer__col h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.footer__col p { color: var(--steel); font-size: .92rem; line-height: 1.7; }
.footer__links { list-style: none; display: grid; gap: 6px; }
.footer__links a { color: var(--steel-lt); font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.mail { display: inline-block; font-size: 1.05rem; color: var(--text); margin-bottom: 8px; position: relative; word-break: break-all; transition: color .25s; }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(.25); transform-origin: left; transition: transform .35s var(--ease); }
.mail:hover { color: var(--accent); }
.mail:hover::after { transform: scaleX(1); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 22px 0; font-size: .82rem; color: var(--steel); }
.footer__top { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; color: var(--steel-lt); transition: color .2s; }
.footer__top:hover { color: var(--accent); }

/* ---------- Okienka (wycena / aplikacja) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal__box { position: relative; width: min(640px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .4s var(--ease), opacity .35s; }
.modal__box--wide { width: min(780px, 100%); height: min(92vh, 1000px); }
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex: none; }
.modal__head h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 1.25rem; }
.modal__close { font-size: 2rem; line-height: 1; width: 40px; height: 40px; color: var(--steel-lt); transition: color .2s, transform .3s var(--ease); flex: none; }
.modal__close:hover { color: var(--accent); transform: rotate(90deg); }
.modal__body { overflow-y: auto; padding: 26px 24px 28px; flex: 1; }
.modal__intro { color: var(--steel-lt); margin-bottom: 22px; }

/* formularz wyceny */
.form { display: grid; gap: 18px; }
.field label { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--steel-lt); margin-bottom: 8px; }
.field label small { color: var(--steel); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .8rem; margin-left: 6px; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); padding: 13px 14px; border-radius: 2px; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,102,42,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d24b4b; }
.form__note { font-size: .85rem; color: var(--steel); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__status { padding: 14px 16px; border-left: 3px solid var(--accent); background: rgba(224,102,42,.08); color: var(--steel-lt); display: none; }
.form__status.is-shown { display: block; }
.form__status a { color: var(--accent); text-decoration: underline; }
.form-done { text-align: center; padding: 30px 10px; display: none; }
.form-done.is-shown { display: block; }
.form-done svg { width: 64px; height: 64px; margin: 0 auto 18px; }
.form-done h4 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.6rem; letter-spacing: .06em; margin-bottom: 10px; }
.form-done p { color: var(--steel-lt); }

/* aplikacja: instrukcja nad formularzem */
.apply__steps { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); counter-reset: a; }
.apply__steps li { counter-increment: a; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--steel-lt); }
.apply__steps li::before { content: counter(a); display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); padding: 13px 40px 13px 14px; border-radius: 2px; font-size: 1rem; color: var(--text);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e0662a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,102,42,.18); }
.field select option { background: var(--panel); }
.field input[type=file] { padding: 10px; cursor: pointer; color: var(--steel-lt); }
.field input[type=file]::file-selector-button {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line); padding: 8px 14px; margin-right: 12px; cursor: pointer; transition: border-color .2s;
}
.field input[type=file]:hover::file-selector-button { border-color: var(--accent); }
.field select:user-invalid { border-color: #d24b4b; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,5,5,.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 84vh; border: 1px solid var(--line); }
.lightbox__close { position: absolute; top: 18px; right: 24px; font-size: 2.6rem; color: #fff; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3.5rem; color: var(--steel-lt); width: 60px; height: 80px; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--accent); }
.lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }

/* ---------- Przyklejony przycisk na telefonie ---------- */
.sticky-cta { display: none; }

/* ---------- Animacje pojawiania ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .nav__links .btn { padding: .7em 1em; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { order: -1; max-width: 340px; }
  .hero__logo img { margin: 0; }
  .about__grid, .jobs__intro, .case__grid { grid-template-columns: 1fr; gap: 24px; }
  .cards, .roles, .offer, .howto { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .photos { grid-template-columns: 1fr 1fr; }
  .case__aside { position: static; }
  .steps { grid-template-columns: 1fr; border-top: 0; margin-top: 10px; }
  .step { padding: 0 0 26px 70px; }
  .step__num { position: absolute; left: 4px; top: 0; margin: 0; }
}
@media (max-width: 1160px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(12,12,12,.97); border-bottom: 1px solid var(--line); padding: 10px 20px 24px;
    transform: translateY(-120%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .nav__links.open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .nav__links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 20px; }
}
@media (max-width: 760px) {
  .posts, .photos { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 130px 0 50px; }
  .case__cover { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .modal { padding: 0; }
  .modal__box, .modal__box--wide { width: 100%; height: 100%; max-height: none; }
  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; background: rgba(20,20,22,.95); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-left: 3px solid var(--accent);
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem;
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .footer { padding-bottom: 76px; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .section__head h2 { font-size: 2rem; overflow-wrap: anywhere; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.about__elephant { height: 64px; width: auto; margin-bottom: 18px; }
#aExp { min-height: 90px; }

/* ---------- Okienko Kontakt ---------- */
.contact-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.contact-choice {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 20px 20px 22px;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--accent); cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.contact-choice:hover { background: var(--panel-2); border-color: var(--accent); transform: translateY(-2px); }
.contact-choice__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--accent); }
.contact-choice strong { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; color: var(--text); }
.contact-choice span:last-child { color: var(--steel); font-size: .92rem; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; color: var(--steel); padding-top: 3px; }
.contact-list dd { color: var(--steel-lt); }
.contact-list .mail { margin: 0; }
@media (max-width: 480px) {
  .contact-choices { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Realizacje ukryte, dopóki w realizacje.js nie ma żadnego wpisu (włącza je script.js) */
html:not(.has-rz) [data-rz] { display: none !important; }

/* ---------- Przełącznik języka (PL | EN | DE) ---------- */
.nav__links .lang { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); }
.nav__links .lang a { padding: 4px 8px; font-size: .74rem; letter-spacing: .12em; color: var(--steel-lt); line-height: 1.2; }
.nav__links .lang a::after { display: none; }
.nav__links .lang a:hover { color: #fff; background: var(--panel-2); }
.nav__links .lang a.is-current { background: var(--accent); color: #111; }
@media (max-width: 1160px) {
  .nav__links .lang { margin-top: 18px; }
  .nav__links .lang a { width: auto; padding: 8px 14px; border-bottom: 0; font-size: .85rem; }
}

/* ---------- Długie słowa (np. niemieckie) nie rozpychają kafelków ---------- */
h1, h2, h3, h4, .contact-choice strong { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.roles, .cards, .posts, .howto, .photos, .about__grid, .contact-choices { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.about__grid, .contact-choices { --cols: 2; }
@media (max-width: 960px) {
  .roles, .cards, .howto, .about__grid { --cols: 1; }
  .posts, .photos { --cols: 2; }
}
@media (max-width: 760px) { .posts, .photos { --cols: 1; } }
@media (max-width: 480px) { .contact-choices { --cols: 1; } }
.hero__title { hyphens: manual; -webkit-hyphens: manual; }
/* duże nagłówki: bez automatycznego dzielenia wyrazów (całe słowa się mieszczą) */
h1, h2, .about__box h3 { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 480px) { .page-hero h1 { font-size: 2.1rem; hyphens: auto; -webkit-hyphens: auto; } }

/* okienka: treść zawsze przewijalna (telefon — pełny ekran, komputer — maks. wysokość okna) */
.modal__body { min-height: 0; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 760px) {
  .modal { place-items: stretch; }
  .modal__box, .modal__box--wide { height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; }
}
