/* =========================================================
   Aurex Solutions - style główne
   ========================================================= */

:root {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --bg-3: #131317;
  --panel: #17171c;
  --panel-2: #1d1d23;
  --line: rgba(214, 172, 92, .18);
  --line-soft: rgba(255, 255, 255, .07);
  --gold: #d6ac5c;
  --gold-2: #f0cd85;
  --gold-3: #b98c35;
  --text: #ecebe8;
  --muted: #a3a09a;
  --muted-2: #7d7a75;
  --radius: 6px;
  --radius-lg: 10px;
  --wrap: 1240px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-2); }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding: 0 0 0 1.1em; }

.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #10100f; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.rule {
  display: block; width: 62px; height: 2px; margin: 0 0 22px;
  background: linear-gradient(90deg, var(--gold), rgba(214, 172, 92, 0));
}
.center-rule { margin-inline: auto; background: linear-gradient(90deg, rgba(214,172,92,0), var(--gold), rgba(214,172,92,0)); }

.gold { color: var(--gold); }
.kicker {
  color: var(--gold); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: .8em;
}

/* ---------------------------------------------------------- ikony */
.ico { width: 34px; height: 34px; stroke: currentColor; flex: none; }
.ico-sm { width: 20px; height: 20px; }
.ico-xs { width: 15px; height: 15px; }

/* ---------------------------------------------------------- przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .25s var(--ease); text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: #16130c; border-color: transparent;
}
.btn-gold:hover { color: #16130c; filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(214, 172, 92, .25); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: rgba(214, 172, 92, .1); color: var(--gold-2); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .74rem; }
.btn-block { width: 100%; }
.btn-icon .ico { width: 18px; height: 18px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 500; color: var(--gold);
}
.link-more:hover { gap: 12px; }

/* ---------------------------------------------------------- nagłówek */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(8, 8, 10, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(8, 8, 10, .96); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 46px; height: 46px; border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: 1.28rem; font-weight: 700; letter-spacing: .06em;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text span { font-size: .58rem; letter-spacing: .38em; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; color: var(--text); font-size: .84rem; font-weight: 400;
  padding: 6px 0; opacity: .88;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width .25s var(--ease);
}
.main-nav a:hover { opacity: 1; color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold); opacity: 1; }
.nav-mobile-extra { display: none; }

.header-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: 0;
  color: var(--text); font-family: inherit; font-size: .82rem; cursor: pointer; padding: 8px 4px;
}
.lang-btn:hover { color: var(--gold); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 78px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  list-style: none; margin: 0; padding: 6px; display: none; box-shadow: var(--shadow);
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 7px 12px; color: var(--text); font-size: .82rem; border-radius: 4px;
}
.lang-menu a:hover, .lang-menu a.active { background: rgba(214, 172, 92, .12); color: var(--gold); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 90; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 6, 8, .96) 0%, rgba(6, 6, 8, .86) 32%, rgba(6, 6, 8, .38) 60%, rgba(6, 6, 8, .3) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 620px; }
.hero-inner h1 { margin-bottom: 20px; font-weight: 600; }
.hero-inner .lead { font-size: 1.02rem; color: var(--muted); max-width: 500px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* nagłówek podstrony */
.page-hero { position: relative; padding: 140px 0 70px; overflow: hidden; background: var(--bg-2); }
.page-hero-media { position: absolute; inset: 0 0 0 26%; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0e0e11 0%, rgba(14, 14, 17, .99) 12%, rgba(14, 14, 17, .82) 34%, rgba(14, 14, 17, .3) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.page-hero h1 { text-transform: uppercase; letter-spacing: .01em; font-weight: 700; }
.page-hero-sub { font-size: 1.15rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; line-height: 1.4; margin-bottom: .8em; }
.page-hero .lead { color: var(--muted); font-size: .97rem; max-width: 540px; }
.page-hero-sm { padding: 148px 0 78px; }
.page-hero-plain { padding: 150px 0 50px; background: var(--bg-2); }
.page-hero-plain .page-hero-inner { max-width: 760px; }

.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted-2); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------------------------------------------------------- sekcje */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }

/* pasek cech */
.features { background: var(--bg-2); border-block: 1px solid var(--line-soft); padding: 52px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-ico { color: var(--gold); }
.feature h2 { font-size: .96rem; font-weight: 600; margin-bottom: .35em; line-height: 1.35; }
.feature p { font-size: .85rem; color: var(--muted); margin: 0; }

/* sekcje dwudzielne */
.split { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; background: var(--bg-2); }
.split-media { position: relative; min-height: 420px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: 70px 50px; }
.split-body h2 { margin-bottom: .5em; }
.split-body .lead { color: var(--muted); }
.split-form { background: var(--bg-3); padding: 46px 40px; display: flex; align-items: center; }
.split-firmy { grid-template-columns: .85fr 1.1fr .95fr; }
.split-kand { grid-template-columns: 1.15fr 1fr; background: var(--bg); }
.split-kand .split-body { padding: 76px 50px 76px max(24px, calc((100vw - var(--wrap)) / 2)); }
.split-kand .split-media { display: flex; align-items: center; background: var(--bg); }
.split-kand .split-media img { position: static; width: 100%; height: auto; object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%); }

.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); }
.check-list .ico { color: var(--gold); margin-top: 2px; }
.check-list-sm li { font-size: .85rem; }
.check-list-sm { gap: 9px; margin-bottom: 0; }

.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.dot-list li { position: relative; padding-left: 16px; font-size: .87rem; color: var(--muted); }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* statystyki */
.stats { background: var(--bg-2); border-block: 1px solid var(--line-soft); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 16px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat-value {
  display: block; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.stats-box { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 46px 30px; text-align: center; }
.stats-box h2 { margin-bottom: .4em; }

/* karty */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.card { padding: 34px 28px; border-right: 1px solid var(--line-soft); background: var(--bg-2); transition: background .3s var(--ease); }
.card:last-child { border-right: 0; }
.card:hover { background: var(--panel); }
.card-ico { display: inline-flex; color: var(--gold); margin-bottom: 16px; }
.card h3 { text-transform: uppercase; font-size: .88rem; letter-spacing: .06em; margin-bottom: .8em; }
.card p { font-size: .87rem; color: var(--muted); margin: 0; }

.cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mini-card { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px 22px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.mini-card:hover { border-color: var(--line); transform: translateY(-4px); }
.mini-card h3 { font-size: .9rem; margin-bottom: .5em; }
.mini-card p { font-size: .84rem; color: var(--muted); margin: 0; }

/* pasek "dlaczego" */
.why-strip { background: var(--bg-2); border-block: 1px solid var(--line-soft); padding: 40px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why { display: flex; gap: 14px; align-items: flex-start; }
.why-ico { color: var(--gold); display: inline-flex; margin-top: 2px; }
.why h2, .why h3 { font-size: .92rem; font-weight: 600; margin-bottom: .3em; }
.why p { font-size: .83rem; color: var(--muted); margin: 0; }

/* kroki procesu */
.process-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.steps { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, var(--line), var(--line)); }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); font-weight: 600; font-size: .92rem; background: var(--bg); margin-bottom: 18px;
}
.section-alt .step-num { background: var(--bg-2); }
.step-ico { display: block; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }
.step p { font-size: .82rem; color: var(--muted); margin: 0; }

.banner {
  display: flex; align-items: center; gap: 22px;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 28px 34px;
}
.banner-ico { color: var(--gold); }
.banner h3 { font-size: 1.15rem; margin-bottom: .2em; }
.banner p { margin: 0; color: var(--muted); }

.process-form { position: sticky; top: 100px; }
.process-photo { margin: 34px 0 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.process-photo img { width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------- formularze */
.form-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 32px 28px; width: 100%; }
.form-card-lg { padding: 40px 36px; }
.form-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5em; }
.form-lead { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.form { display: grid; gap: 12px; }
.form-labeled { gap: 4px; }
.field { display: grid; gap: 7px; margin: 0 0 14px; }
.field label { font-size: .82rem; color: var(--muted); }
.req { color: var(--gold); }

input[type=text], input[type=tel], input[type=email], input[type=search], input[type=password], select, textarea {
  width: 100%; padding: 13px 15px; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-family: inherit; font-size: .88rem; font-weight: 300; transition: border-color .2s var(--ease), background .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; background: #0b0b0e; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a09a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 38px;
}
textarea { resize: vertical; min-height: 110px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .76rem; color: var(--muted); line-height: 1.55; margin: 4px 0 6px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); flex: none; width: 15px; height: 15px; }

.file-field { position: relative; }
.file-field input[type=file] { position: absolute; opacity: 0; width: .1px; height: .1px; }
.file-field label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px; background: var(--bg); border: 1px dashed var(--line);
  border-radius: var(--radius); color: var(--muted); font-size: .86rem; cursor: pointer;
}
.file-field label:hover { border-color: var(--gold); color: var(--gold); }
.file-field .ico { color: var(--gold); }
.file-field input[type=file]:focus + label { border-color: var(--gold); }
.hint { font-size: .73rem; color: var(--muted-2); margin: 6px 0 0; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted-2); margin: 12px 0 0; }
.form-note .ico { color: var(--gold); }
.form-offer-note { font-size: .84rem; color: var(--muted); margin: 0; }

.alert { padding: 12px 16px; border-radius: var(--radius); font-size: .85rem; margin-bottom: 16px; }
.alert-ok { background: rgba(96, 170, 110, .12); border: 1px solid rgba(96, 170, 110, .4); color: #96d3a4; }
.alert-err { background: rgba(196, 84, 84, .12); border: 1px solid rgba(196, 84, 84, .4); color: #e39d9d; }

/* ---------------------------------------------------------- oferty pracy */
.filters-wrap { background: var(--bg-2); padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.filter-field { flex: 1 1 190px; margin: 0; }
.filter-grow { flex: 2 1 280px; }
.filters .btn { flex: none; }

.offers-layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.offers-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.offers-count { margin: 0; font-size: .9rem; color: var(--muted); }
.offers-count strong { color: var(--gold); }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.sort-form select { padding: 8px 34px 8px 12px; font-size: .82rem; }

.offer-row {
  display: grid; grid-template-columns: 74px 1fr 190px; gap: 22px; align-items: center;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 24px 26px; margin-bottom: 14px; transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.offer-row:hover { border-color: var(--line); transform: translateY(-2px); }
.offer-ico {
  display: flex; align-items: center; justify-content: center; width: 68px; height: 68px;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--gold);
}
.offer-body h2 { font-size: 1.28rem; margin-bottom: .3em; }
.offer-body h2 a { color: var(--text); }
.offer-body h2 a:hover { color: var(--gold); }
.offer-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
.offer-meta span { display: inline-flex; align-items: center; gap: 6px; }
.offer-meta .ico { color: var(--gold); }
.offer-lead { font-size: .87rem; color: var(--muted); margin-bottom: .8em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag { font-size: .72rem; padding: 5px 12px; border: 1px solid var(--line-soft); border-radius: 20px; color: var(--muted); }
.offer-side { text-align: right; display: grid; gap: 10px; justify-items: end; }
.offer-salary { font-size: 1.3rem; font-weight: 600; color: var(--gold); margin: 0; white-space: nowrap; }
.offer-salary-note { font-size: .74rem; color: var(--muted-2); margin: 0; }

.offers-aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.aside-box { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px 24px; }
.aside-box h2 { font-size: 1.05rem; margin-bottom: .6em; }
.aside-box p { font-size: .85rem; color: var(--muted); }
.aside-ico { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); margin-bottom: 16px; }
.aside-contact { display: flex; align-items: center; gap: 10px; font-size: .87rem; margin-bottom: .5em; }
.aside-contact .ico { color: var(--gold); }
.aside-box .btn { margin-top: 14px; }

.empty { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; color: var(--muted); font-size: .9rem; }

.pager { display: flex; gap: 8px; margin-top: 28px; }
.pager-item {
  display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); color: var(--muted); font-size: .85rem;
}
.pager-item:hover { border-color: var(--gold); color: var(--gold); }
.pager-item.active { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); color: #16130c; border-color: transparent; font-weight: 600; }

.offer-hero { padding: 128px 0 46px; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.offer-hero-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; }
.offer-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: .4em; }
.offer-hero-salary { text-align: right; display: grid; gap: 8px; justify-items: end; }
.offer-detail h3 { font-size: 1.05rem; margin-top: 1.6em; }
.offer-published { font-size: .8rem; color: var(--muted-2); margin-top: 2em; }

.mini-offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-offer { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 22px 20px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.mini-offer:hover { border-color: var(--line); transform: translateY(-3px); }
.mini-offer h3 { font-size: .98rem; margin-bottom: .5em; }
.mini-offer h3 a { color: var(--text); }
.mini-offer h3 a:hover { color: var(--gold); }
.mini-meta { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); margin-bottom: .4em; }
.mini-meta .ico { color: var(--gold); }
.mini-offer .link-more { margin-top: 8px; }

.offers-teaser { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.offers-teaser-head p { font-size: .87rem; color: var(--muted); }
.offers-teaser .mini-offers { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------- o nas */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.value h3 { font-size: .96rem; margin-bottom: .4em; }
.value p { font-size: .85rem; color: var(--muted); margin: 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.team-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.prose { color: var(--muted); font-size: .94rem; margin-bottom: 26px; }
.prose h2 { color: var(--text); font-size: 1.25rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* pasek marki */
.brand-strip { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 40px 0; }
.brand-strip-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.brand-strip img { width: 64px; height: 64px; border-radius: 4px; }
.brand-claim { font-size: 1.35rem; font-weight: 500; margin: 0; margin-right: auto; }
.brand-points { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.brand-points li { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--muted); }
.brand-points .ico { color: var(--gold); }

/* ---------------------------------------------------------- kontakt */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-data h2 { text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--gold);
}
.contact-ico .ico { width: 22px; height: 22px; }
.contact-label { display: block; font-size: .8rem; color: var(--muted); }
.contact-list address { font-style: normal; }
.contact-list a, .contact-list span:not(.contact-label) { font-size: .95rem; }

.map-box {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--bg-2);
}
.map-box iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-note { font-size: .82rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.section-alt .faq-item { background: var(--bg-3); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-size: .92rem; font-weight: 400; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-plus { color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .25s var(--ease); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; font-size: .87rem; color: var(--muted); }

/* pasek CTA */
.cta-strip { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding: 34px 0; }
.cta-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-ico {
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: none;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold);
}
.cta-inner > div { margin-right: auto; }
.cta-inner h2 { font-size: 1.15rem; margin-bottom: .15em; }
.cta-inner p { margin: 0; font-size: .87rem; color: var(--muted); }

/* 404 */
.error-hero { text-align: center; padding: 170px 0 110px; }
.error-hero .page-hero-inner { max-width: 620px; margin-inline: auto; }
.error-hero .rule { margin-inline: auto; }
.error-hero .hero-actions { justify-content: center; }
.error-code {
  font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; line-height: 1; margin: 0;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------- stopka */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 60px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 46px; padding-bottom: 44px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 4px; margin-bottom: 16px; }
.footer-tagline { font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: .5em; }
.footer-about { font-size: .84rem; color: var(--muted); max-width: 380px; }
.footer-social { display: flex; gap: 18px; list-style: none; padding: 0; margin: 16px 0 0; font-size: .82rem; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1.2em; }
.site-footer h2.mt { margin-top: 1.8em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col address a { color: var(--muted); font-size: .87rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; color: var(--muted); font-size: .87rem; }
.footer-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; color: var(--muted); max-width: 280px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-soft); padding: 20px 0; font-size: .8rem; color: var(--muted-2);
}
.footer-bottom p { margin: 0; }
.credit a { color: var(--muted); }
.credit a:hover { color: var(--gold); }

/* ---------------------------------------------------------- animacje wejścia */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------- RWD */
@media (max-width: 1180px) {
  .split-firmy { grid-template-columns: 1fr 1fr; }
  .split-firmy .split-media { grid-column: 1 / -1; min-height: 300px; }
  .split-firmy .split-body { padding: 56px 40px; }
  .offers-teaser { grid-template-columns: 1fr; }
  .offers-teaser .mini-offers, .mini-offers { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 78px 0 auto 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 20px; z-index: 95;
    transform: translateY(-140%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a { display: block; padding: 14px 4px; font-size: .95rem; }
  .main-nav a::after { display: none; }
  .nav-mobile-extra { display: block; margin-top: 18px; }

  .features-grid, .why-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .card { border-bottom: 1px solid var(--line-soft); }
  .card:nth-child(2n) { border-right: 0; }
  .process-layout, .about-grid, .contact-layout, .team-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-form { position: static; }
  .offers-layout { grid-template-columns: 1fr; }
  .offers-aside { position: static; grid-template-columns: repeat(2, 1fr); }
  .page-hero-media { inset: 0 0 0 20%; }
  .split, .split-kand { grid-template-columns: 1fr; }
  .split-body, .split-kand .split-body { padding: 48px 24px; }
  .split-media { min-height: 280px; }
  .split-form { padding: 34px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; padding: 120px 0 66px; }
  .hero-media img { object-position: 62% center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(6,6,8,.94) 0%, rgba(6,6,8,.8) 45%, rgba(6,6,8,.95) 100%); }
  .page-hero, .page-hero-sm { padding: 116px 0 48px; }
  .page-hero-media { inset: 0; opacity: .5; }
  .page-hero-media::after { background: linear-gradient(180deg, rgba(14,14,17,.88), rgba(14,14,17,.96)); }
  .features-grid, .why-grid, .cards-4, .cards-5, .values-grid, .faq-grid, .mini-offers, .offers-teaser .mini-offers, .offers-aside { grid-template-columns: 1fr; }
  .card { border-right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .offer-row { grid-template-columns: 1fr; gap: 14px; }
  .offer-ico { display: none; }
  .offer-side { text-align: left; justify-items: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .filters { flex-direction: column; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .brand-claim { font-size: 1.1rem; }
  .btn { width: 100%; }
  .hero-actions .btn, .filters .btn { width: 100%; }
  .form-card { padding: 26px 20px; }
  .offer-hero-inner { flex-direction: column; align-items: flex-start; }
  .offer-hero-salary { text-align: left; justify-items: start; }
}

@media (max-width: 380px) {
  .brand-text strong { font-size: 1.1rem; }
  .brand img { width: 40px; height: 40px; }
}
