/* ============================================================
   Pomost HR — design system
   Struktura: tokeny -> base -> komponenty -> sekcje -> mobile
   ============================================================ */

/* ---------- Tokeny ---------- */
:root {
  --bg: #F7F6F2;
  --bg-soft: #EFEDE6;
  --surface: #FFFFFF;
  --ink: #191814;
  --ink-soft: #5C5A50;
  --line: #E3E0D6;
  --accent: #14644B;
  --accent-deep: #0E4936;
  --accent-soft: #E4EEE8;
  --gold: #E8A33D;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(25, 24, 20, .04), 0 14px 34px -14px rgba(25, 24, 20, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.25; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

button { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: 860px; }

.bg-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

section { padding-block: clamp(72px, 9vw, 120px); }

/* ---------- Typografia pomocnicza ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: rgba(255, 255, 255, .78); }
.eyebrow--light::before { background: var(--gold); }

.lede {
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 62ch;
}

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 660px;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
}
.section-head--center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

/* ---------- Przyciski i linki ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font: 600 .95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(25, 24, 20, .5);
}

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(20, 100, 75, .55);
}

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; transform: translateY(-2px); }

.btn--sm { padding: .7rem 1.15rem; font-size: .88rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.link-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-more:hover::after { transform: scaleX(1); }
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .85rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); font-weight: 600; }
.chip--gold { background: #F7E7C4; border-color: transparent; color: #7A5304; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 246, 242, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font: 600 1.15rem/1 var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark .b-bg { fill: var(--ink); }
.brand-mark .b-stroke { stroke: var(--bg); }
.brand em { font-style: normal; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.3vw, 1.9rem); }
.site-nav a {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.site-nav .nav-cta { margin-left: .4rem; }
.site-nav .nav-cta::after { display: none; }

.burger {
  display: none;
  position: relative;
  z-index: 70;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 7vw, 90px);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin: 1.2rem 0 1.4rem; max-width: 15ch; }
.hero h1 .hl { font-style: italic; color: var(--accent); }
.hero h1 em, .page-hero h1 em { font-style: italic; color: var(--accent); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.6rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-meta .stat-mini strong {
  display: block;
  font: 600 1.35rem/1.2 var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
}
.hero-meta .stat-mini span { font-size: .85rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-visual { position: relative; max-width: 460px; margin-inline: auto; padding: 18px 0 26px; }
.hero-panel {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.hero-panel-back {
  position: absolute;
  inset: 26px 0 34px;
  transform: rotate(3.5deg);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.hero-card-head { display: flex; align-items: center; gap: 1rem; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font: 600 .8rem/1 var(--font-display);
}
.hero-card-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.hero-role {
  font: 600 1.3rem/1.2 var(--font-display);
  color: var(--ink);
  letter-spacing: -.01em;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.hero-role.is-swap { opacity: 0; transform: translateY(6px); }
.hero-company { font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; transition: opacity .3s var(--ease); }
.hero-company.is-swap { opacity: 0; }

.hero-card-body { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.match-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin-bottom: .55rem; }
.match-row strong { font: 600 .95rem/1 var(--font-display); color: var(--ink); }
.match-bar { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.match-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width .8s var(--ease);
}

.hero-card-foot { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }

.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .95rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  animation: floaty 5.5s ease-in-out infinite;
}
.hero-float svg { color: var(--accent); }
.hero-float--a { top: -6px; right: -4%; transform: rotate(-2deg); }
.hero-float--b { bottom: -4px; left: -6%; transform: rotate(2deg); animation-delay: 1.3s; }
.mini-avatars { display: flex; }
.mini-avatars span {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 .5rem/1 var(--font-display);
  color: #fff;
}
.mini-avatars span:first-child { margin-left: 0; }
.mini-avatars .ma-a { background: var(--accent); }
.mini-avatars .ma-b { background: var(--gold); }
.mini-avatars .ma-c { background: var(--ink); }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--tilt, 0deg)); }
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}
.blob--accent { background: rgba(20, 100, 75, .3); }
.blob--gold { background: rgba(232, 163, 61, .24); }
.hero-visual .blob--accent { width: 300px; height: 300px; top: 20%; left: -18%; z-index: 0; }
.hero-visual .blob--gold { width: 220px; height: 220px; bottom: 4%; right: -14%; z-index: 0; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: 1.05rem;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  font: 500 1rem/1.4 var(--font-display);
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Karty usług ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }

.card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .card-foot { margin-top: auto; padding-top: .6rem; }

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card:hover .service-icon { background: var(--accent); color: #fff; }

.service-num {
  position: absolute;
  top: 1.9rem;
  right: 1.9rem;
  font: 600 .95rem/1 var(--font-display);
  color: var(--line);
  transition: color .3s;
}
.card:hover .service-num { color: var(--accent); }

/* ---------- Statystyki ---------- */
.stats {
  background: var(--ink);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}
.stat-number {
  font: 600 clamp(2.1rem, 4vw, 3.2rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  color: #fff;
}
.stat-label { margin-top: .45rem; color: rgba(255, 255, 255, .66); font-size: .92rem; }

/* ---------- Proces / kroki ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.step { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.step-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .7rem; }
.step-num { font: 600 .95rem/1 var(--font-display); color: var(--accent); }
.step-head i { flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: .5rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Oferty pracy ---------- */
.jobs-list { display: grid; gap: .85rem; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.job-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.job-card h3 { font-size: 1.15rem; transition: color .2s; }
.job-card:hover h3 { color: var(--accent-deep); }
.job-top { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.job-company { margin-top: .3rem; font-size: .9rem; color: var(--ink-soft); }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.job-arrow {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.job-card:hover .job-arrow { background: var(--ink); color: #fff; transform: translateX(3px); }
.jobs-empty { color: var(--ink-soft); padding: 2rem 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.filter-chip {
  padding: .5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: 500 .88rem/1 var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip.is-active:hover { color: #fff; }

@keyframes listIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Cytat ---------- */
.testimonial {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.2rem, 5vw, 3.8rem);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -0.6em;
  left: .5rem;
  font: 700 9rem/1 var(--font-display);
  color: var(--accent-soft);
  pointer-events: none;
}
.quote {
  position: relative;
  max-width: 30ch;
  font: 500 clamp(1.25rem, 2.4vw, 1.7rem)/1.45 var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
}
.author { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.author .avatar { background: var(--ink); }
.author-name { font-weight: 600; font-size: .95rem; }
.author-role { font-size: .85rem; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(2.6rem, 6vw, 4.6rem);
}
.cta-band .blob--accent { width: 340px; height: 340px; top: -120px; right: -80px; opacity: .5; }
.cta-band .blob--gold { width: 260px; height: 260px; bottom: -120px; left: 22%; opacity: .5; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-top: 1rem; }
.cta-band p { margin-top: 1rem; color: rgba(255, 255, 255, .72); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.cta-wrap section + .cta-wrap { padding-top: 0; }

/* ---------- Stopka ---------- */
.site-footer {
  margin-top: clamp(72px, 9vw, 120px);
  background: #14130E;
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  padding-block: clamp(48px, 6vw, 80px) 2.6rem;
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-mark .b-bg { fill: var(--bg); }
.footer-brand .brand-mark .b-stroke { stroke: var(--ink); }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-col h4 {
  margin-bottom: 1.1rem;
  font: 600 .82rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-col a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .f-strong { color: rgba(255, 255, 255, .95); font-weight: 600; text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* ---------- Hero podstron ---------- */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { margin: 1.1rem 0 1.3rem; max-width: 18ch; }
.page-hero .lede { margin-top: 0; }

/* ---------- Split / prose ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.split-aside h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.prose p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2, .prose h3 { margin: 2.4rem 0 1rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { flex: none; margin-top: .25em; color: var(--accent); }

/* ---------- Zespół ---------- */
.team-card { align-items: flex-start; gap: .6rem; }
.team-card .avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: .6rem;
  font-size: .95rem;
  background: var(--ink);
}
.team-card:nth-child(2) .avatar { background: var(--accent); }
.team-card:nth-child(3) .avatar { background: var(--accent-deep); }
.team-card:nth-child(4) .avatar { background: #4A4A41; }
.team-role { font-size: .85rem; color: var(--ink-soft); }
.team-card a { font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.4rem;
  transition: border-color .25s;
}
.faq details[open] { border-color: var(--ink); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font: 600 1.25rem/1 var(--font-display);
  color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.form .row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.field label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 100, 75, .14);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #9A988E; }
.field--consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .8rem; color: var(--ink-soft); }
.field--consent input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--accent); }
.form .btn { justify-self: start; }

.form-success { display: flex; align-items: flex-start; gap: 1rem; padding: 1.8rem; background: var(--accent-soft); border: 1px solid rgba(20, 100, 75, .25); border-radius: 20px; }
.form-success svg { flex: none; color: var(--accent); }
.form-success h3 { color: var(--accent-deep); }
.form-success p { margin-top: .4rem; color: var(--accent-deep); font-size: .92rem; }

.info-list { display: grid; gap: 1.8rem; margin-top: 2rem; }
.info-item h3 {
  margin-bottom: .3rem;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.info-item a, .info-item .info-value {
  font: 500 1.3rem/1.3 var(--font-display);
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.info-item a:hover { color: var(--accent); }

.map-panel {
  margin-top: 2.6rem;
  display: grid;
  place-items: center;
  gap: .8rem;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--ink-soft);
  font-size: .92rem;
}
.map-panel svg { color: var(--accent); }
.map-panel strong { color: var(--ink); font-weight: 600; }

/* ---------- Szczegóły oferty ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.6rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--accent); }
.back-link svg { transform: rotate(180deg); transition: transform .25s var(--ease); }
.back-link:hover svg { transform: rotate(180deg) translateX(-3px); }

.job-layout { display: grid; grid-template-columns: 1fr; gap: 2.4rem; align-items: start; }
.job-main .prose h2 { margin-top: 0; }
.job-main .prose > section { padding: 0; margin-bottom: 2.6rem; }
.job-main ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.job-main ul li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.job-main ul svg { flex: none; margin-top: .25em; color: var(--accent); }
.job-short { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; }

.job-aside .sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.aside-card {
  display: grid;
  gap: 1.1rem;
  padding: 1.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.aside-row { display: grid; gap: .2rem; }
.aside-row span { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.aside-row strong { font: 600 1.05rem/1.3 var(--font-display); color: var(--ink); font-weight: 600; }
.aside-card .btn { width: 100%; }
.aside-note { font-size: .85rem; color: var(--ink-soft); text-align: center; }
.aside-note a { font-weight: 600; }

.not-found { text-align: center; padding: 4rem 0; }

/* ---------- Animacje wejścia ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .form .row-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .split--reverse .split-aside { order: 2; }
  .split-aside { position: sticky; top: calc(var(--header-h) + 32px); }
  .split-aside:empty { position: static; }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .job-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

@media (max-width: 959px) {
  .burger { display: inline-flex; flex-direction: column; justify-content: center; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 65;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    background: var(--bg);
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .site-nav a {
    font: 600 1.7rem/1.2 var(--font-display);
    letter-spacing: -.01em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    transition-delay: 0s;
  }
  body.nav-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
  body.nav-open .site-nav a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 45ms + 70ms); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav .nav-cta { margin: .6rem 0 0; font: 600 1rem/1 var(--font-body); opacity: 0; }
  body.nav-open .site-nav .nav-cta { opacity: 1; }

  body.nav-open { overflow: hidden; }
  body.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  body.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .hero-float { display: none; }
  .hero-visual { padding-top: 8px; }
  .hero-panel { padding: 1.3rem; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Dostępność / redukcja ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
