/* MIGRALIFE POLSKA – shared styles. Minimum font size 16px everywhere. */
:root {
  --green: #1a4a3c; --green-dark: #122e26; --green-light: #245a49; --green-soft: #e8f0ed;
  --copper: #c17a3a; --copper-light: #d4914f; --copper-soft: #f8efe5;
  --white: #fff; --off-white: #f7f5f0; --gray: #5b6472; --gray-light: #e5e7eb; --text: #1f2937;
  --radius: 16px; --shadow: 0 10px 36px rgba(18,46,38,.08); --max: 1240px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 5%; }
section { padding: 88px 0; }
.bg-soft { background: var(--off-white); }
.bg-dark { background: var(--green-dark); color: #fff; }

/* Typography */
.eyebrow { font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
h1, h2, h3 { line-height: 1.15; color: var(--green-dark); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--gray); max-width: 680px; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead { color: rgba(255,255,255,.75); }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, transform .15s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-light); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-light); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: var(--green); color: var(--green); }
.btn-outline-dark:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--copper); }
.btn-white:hover { background: var(--off-white); }
.btn-block { display: flex; width: 100%; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--green-dark); height: 72px; }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -1px; }
.logo-icon span { color: var(--copper); }
.logo-text { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 10px 14px; color: rgba(255,255,255,.86); text-decoration: none; font-weight: 500; white-space: nowrap; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--copper-light); }
.nav-links .has-sub > a::after { content: '▾'; margin-left: 6px; font-size: 16px; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,.2); padding: 10px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.submenu a:hover { background: var(--green-soft); color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { background: var(--copper); color: #fff !important; padding: 10px 20px !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--copper-light) !important; color: #fff !important; }
.lang { display: flex; gap: 4px; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); font-size: 16px; font-weight: 600; padding: 4px 9px; border-radius: 6px; cursor: pointer; font-family: inherit; transition: all .2s; }
.lang-btn:hover, .lang-btn.active { background: var(--copper); border-color: var(--copper); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 190; background: var(--green-dark); padding: 16px 5% 32px; overflow-y: auto; flex-direction: column; }
.mobile.open { display: flex; }
.mobile a { color: rgba(255,255,255,.88); text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; }
.mobile a.sub { padding-left: 18px; color: rgba(255,255,255,.65); }
.mobile .m-cta { margin-top: 18px; background: var(--copper); color: #fff; text-align: center; border-radius: 10px; border: 0; font-weight: 700; }
.mobile .lang { margin-top: 20px; }
.mobile .lang-btn { flex: 1; padding: 10px; }
main { padding-top: 72px; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--green-dark); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(193,122,58,.22), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 14px; max-width: 840px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 680px; }
.crumbs { margin-bottom: 18px; color: rgba(255,255,255,.6); }
.crumbs a { text-decoration: none; color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--copper-light); }

/* HOME HERO */
.hero { background: var(--green-dark); position: relative; overflow: hidden; padding: 84px 0 0; }
.hero::before { content: ''; position: absolute; left: 50%; top: -160px; transform: translateX(-50%); width: 1000px; height: 560px; background: radial-gradient(ellipse, rgba(193,122,58,.16), transparent 70%); }
.hero-top { position: relative; text-align: center; padding-bottom: 44px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(193,122,58,.16); border: 1px solid rgba(193,122,58,.35); color: var(--copper-light); border-radius: 50px; padding: 6px 18px; font-weight: 600; letter-spacing: .5px; margin-bottom: 26px; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.9rem); font-weight: 800; color: #fff; line-height: 1.08; margin: 0 auto 20px; max-width: 900px; }
.hero h1 em { color: var(--copper); font-style: normal; }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto 34px; }
.jobsearch { position: relative; max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.jobsearch input, .jobsearch select { border: 0; background: var(--off-white); border-radius: 10px; padding: 15px 16px; font-size: 16px; font-family: inherit; color: var(--text); outline: none; min-width: 0; }
.jobsearch input:focus, .jobsearch select:focus { background: var(--green-soft); }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; position: relative; }
.hcard { padding: 48px 6%; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hcard h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.hcard p { max-width: 520px; }
.hcard.biz { background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.1); }
.hcard.biz p { color: rgba(255,255,255,.72); }
.hcard.cand { background: var(--copper); }
.hcard.cand p { color: rgba(255,255,255,.92); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: rgba(255,255,255,.18); border-radius: 50px; padding: 4px 14px; font-weight: 600; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.stat { padding: 30px 4%; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.3rem; color: var(--copper); font-weight: 800; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.65); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card:hover::before { transform: scaleX(1); }
.card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--copper-soft); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--gray); margin-bottom: 16px; }
.more { color: var(--copper); font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
.card-flat { background: #fff; border-radius: var(--radius); padding: 28px 24px; }
.card-flat h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-flat p { color: var(--gray); }
.num-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--copper); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.1rem; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 190px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; background: var(--green); transition: transform .25s; isolation: isolate; }
.tile:hover { transform: translateY(-4px); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--g1, #245a49), var(--g2, #122e26)); }
.tile .t-ico { position: absolute; top: 18px; right: 20px; font-size: 42px; opacity: .9; }
.tile b { font-size: 1.25rem; }
.tile span { color: rgba(255,255,255,.8); }
.t1 { --g1: #245a49; --g2: #122e26; } .t2 { --g1: #c17a3a; --g2: #8c5420; } .t3 { --g1: #2f6d5a; --g2: #1a4a3c; } .t4 { --g1: #a56a2f; --g2: #6f4519; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo { width: 100%; border-radius: 20px; box-shadow: 0 20px 56px rgba(0,0,0,.14); aspect-ratio: 4/3; object-fit: cover; background: var(--green-soft); }
.illus { width: 100%; border-radius: 20px; background: linear-gradient(135deg, var(--green), var(--green-dark)); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.illus svg { width: 70%; height: auto; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: '✓'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.bg-dark .checks li::before { background: var(--copper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 22px; }
.bg-dark .step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.bg-dark .step p { color: rgba(255,255,255,.72); }
.step .num-badge { margin-bottom: 14px; }
.cta { background: var(--copper); text-align: center; padding: 64px 0; color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.cta p { margin-bottom: 26px; color: rgba(255,255,255,.9); }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.faq details { background: #fff; border: 1px solid var(--gray-light); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--green-dark); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--copper); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--gray); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 24px; }
.office h3 { font-size: 1.15rem; margin-bottom: 6px; }
.office p { color: var(--gray); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px; }
.value h3 { font-size: 1.15rem; margin-bottom: 6px; }
.value p { color: var(--gray); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.stat-box { background: #fff; border-radius: 12px; padding: 18px 22px; border-left: 4px solid var(--copper); }
.stat-box b { font-size: 1.9rem; color: var(--green); font-weight: 800; display: block; line-height: 1.1; }
.stat-box span { color: var(--gray); }
.legal-strip { background: var(--green-soft); border-radius: var(--radius); padding: 26px 30px; display: flex; gap: 20px; align-items: center; }
.legal-strip .ico { font-size: 34px; }
.legal-strip p { color: var(--green-dark); }

/* Forms */
.form-box { background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); border: 1px solid var(--gray-light); }
.form-box h3 { font-size: 1.4rem; margin-bottom: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label { font-weight: 600; }
.fg input, .fg select, .fg textarea { border: 1px solid #cfd4db; border-radius: 10px; padding: 12px 14px; font-size: 16px; font-family: inherit; background: #fff; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,74,60,.12); }
.fg textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; color: var(--gray); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; display: none; font-weight: 600; }
.form-msg.ok { display: block; background: #e6f4ea; color: #1e6b36; }
.form-msg.err { display: block; background: #fdecea; color: #a32a1f; }
.contact-list { display: grid; gap: 20px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-item small { display: block; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-size: 16px; }
.contact-item b { color: var(--green-dark); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--copper); }

/* Jobs */
.filters { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 10px; background: #fff; padding: 12px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--gray-light); margin-top: -36px; position: relative; z-index: 2; }
.filters input, .filters select { border: 0; background: var(--off-white); border-radius: 10px; padding: 14px; font-size: 16px; font-family: inherit; outline: none; min-width: 0; }
.job-count { margin: 34px 0 18px; color: var(--gray); font-weight: 600; }
.jobs { display: grid; gap: 16px; }
.job { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; transition: box-shadow .2s, border-color .2s; }
.job:hover { box-shadow: var(--shadow); border-color: var(--copper); }
.job h3 { font-size: 1.3rem; margin-bottom: 8px; }
.job h3 a { text-decoration: none; }
.job h3 a:hover { color: var(--copper); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 10px; }
.tag { background: var(--green-soft); color: var(--green); border-radius: 50px; padding: 3px 14px; font-weight: 600; }
.tag.cop { background: var(--copper-soft); color: #8c5420; }
.job p { color: var(--gray); }
.job-side { text-align: right; display: grid; gap: 12px; justify-items: end; }
.rate { font-size: 1.35rem; font-weight: 800; color: var(--green); }
.empty { text-align: center; padding: 60px 20px; color: var(--gray); background: #fff; border-radius: var(--radius); border: 1px dashed var(--gray-light); }
.job-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.job-detail h2 { font-size: 1.4rem; margin: 28px 0 10px; }
.job-detail ul { padding-left: 22px; }
.job-detail li { margin-bottom: 6px; }
.job-detail .form-box { position: sticky; top: 96px; }
.richtext p { margin-bottom: 12px; color: #374151; }

/* Footer */
.footer { background: var(--green-dark); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.f-brand .logo-text { display: block; margin-bottom: 14px; }
.f-brand p { max-width: 320px; }
.footer h4 { color: #fff; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer a:hover { color: var(--copper-light); }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.f-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.f-req { margin-top: 18px; display: grid; gap: 2px; }

/* Cookie banner */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300; max-width: 760px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: 0 16px 56px rgba(0,0,0,.28); padding: 20px 24px; display: none; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie.show { display: flex; }
.cookie p { flex: 1 1 300px; color: var(--text); }
.cookie a { color: var(--green); font-weight: 600; }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; padding: 56px 5% 80px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; color: var(--green); }
.legal p, .legal li { color: #374151; line-height: 1.8; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.legal th { background: var(--green); color: #fff; padding: 12px 16px; text-align: left; }
.legal td { padding: 12px 16px; border-bottom: 1px solid var(--gray-light); vertical-align: top; }
.legal tr:nth-child(even) td { background: var(--off-white); }
.info-box { background: var(--off-white); border-left: 4px solid var(--copper); border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
.info-box p { margin: 0; }
.cookie-type { display: inline-block; background: var(--green); color: #fff; padding: 3px 12px; border-radius: 20px; font-weight: 600; margin-bottom: 8px; }
.cookie-type.analytics { background: #2563eb; } .cookie-type.marketing { background: var(--copper); } .cookie-type.functional { background: #059669; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-right .lang { display: none; }
  .burger { display: flex; }
  .tiles, .g4, .values, .steps { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .split, .job-detail { grid-template-columns: 1fr; gap: 36px; }
  .g3, .g2, .offices { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr; }
  .jobsearch { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .job { grid-template-columns: 1fr; }
  .job-side { text-align: left; justify-items: start; }
  .job-detail .form-box { position: static; }
}
@media (max-width: 600px) {
  .tiles, .g4, .values, .steps, .filters, .row2, .f-grid, .stats-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hcard { padding: 36px 5%; }
  .form-box { padding: 26px 20px; }
  .legal-strip { flex-direction: column; align-items: flex-start; }
  .f-bottom { flex-direction: column; }
}
.legal .info-box { background: var(--green-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; }
.legal a { color: var(--copper); text-decoration: underline; }

/* ===== Visual refresh (inspired by zoom.com landing: serif headings, big rounded cards, glowing gradient hero) ===== */
:root { --radius: 24px; --serif: Georgia, 'Times New Roman', 'Noto Serif', serif; --shadow: 0 18px 50px rgba(18,46,38,.10); }
body { font-family: Inter, 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif; }
section { padding: 104px 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.h2, .hero h1, .page-hero h1 { font-weight: 600; }
.hero h1 { letter-spacing: -.02em; }
.hero h1 em { font-style: italic; }
.card h3, .card-flat h3, .tile b, .job h3 { font-family: var(--serif); font-weight: 600; }
.stat b, .rate { font-family: var(--serif); font-weight: 600; }

/* eyebrow: dot + sentence case, like the reference */
.eyebrow { text-transform: none; letter-spacing: .2px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; color: var(--green); }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }
.bg-dark .eyebrow { color: #fff; }

/* buttons */
.btn { font-weight: 600; border-radius: 10px; padding: 15px 30px; }
.btn-copper, .nav-cta { box-shadow: 0 6px 18px rgba(193,122,58,.28); }

/* hero: deep green with a bright glow rising from the bottom */
.hero { background: radial-gradient(90% 70% at 50% 100%, #4aa386 0%, rgba(36,90,73,.85) 38%, rgba(18,46,38,0) 72%), var(--green-dark); padding-bottom: 40px; }
.hero::before { background: radial-gradient(ellipse, rgba(193,122,58,.18), transparent 70%); }
.page-hero { background: radial-gradient(80% 120% at 50% 130%, #2f6d5a 0%, rgba(36,90,73,.6) 40%, rgba(18,46,38,0) 75%), var(--green-dark); }
.jobsearch { border-radius: 22px; padding: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.jobsearch input, .jobsearch select { border-radius: 12px; }
.badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; text-transform: none; letter-spacing: .2px; }

/* two big rounded cards instead of full-width bands */
.hero-cards { width: min(1240px, 90%); margin: 64px auto 0; gap: 22px; }
.hcard { border-radius: 28px; padding: 44px 40px; }
.hcard.biz { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(4px); }
.hcard.cand { background: linear-gradient(150deg, var(--copper-light), var(--copper)); }
.stats { width: min(1240px, 90%); margin: 28px auto 0; border-top: 0; background: rgba(255,255,255,.08); border-radius: 24px; }
.stat b { color: #fff; }

/* cards: soft, no outline, rounded */
.card { border: 0; box-shadow: 0 2px 6px rgba(18,46,38,.05), 0 14px 40px rgba(18,46,38,.07); border-radius: 24px; padding: 34px 30px; }
.card::before { display: none; }
.card .ico { border-radius: 18px; width: 60px; height: 60px; }
.card-flat { border-radius: 24px; padding: 32px 28px; box-shadow: 0 10px 34px rgba(18,46,38,.06); }
.tile { border-radius: 24px; min-height: 210px; }
.photo, .illus { border-radius: 28px; }
.job, .form-box, .legal-strip, .stat-box, .value, .filters, details, .job-detail .form-box { border-radius: 22px; }
.cta { border-radius: 32px; width: min(1240px, 92%); margin: 0 auto 88px; }
.cta .wrap { padding: 0 6%; }
.num-badge { font-family: var(--serif); }
@media (max-width: 900px) { section { padding: 72px 0; } .hcard { padding: 32px 26px; } .hero-cards, .stats { width: 92%; } }

/* ===== v3: wider content, short hero gradient (~15 cm) ===== */
:root { --max: 1400px; --hero-h: 600px; }
.wrap { padding: 0 32px; }
.hero { background: radial-gradient(90% 100% at 50% 100%, #4aa386 0%, rgba(36,90,73,.85) 40%, rgba(18,46,38,0) 75%) 0 0 / 100% var(--hero-h) no-repeat, linear-gradient(var(--green-dark) var(--hero-h), #fff var(--hero-h)); padding-bottom: 0; }
.hero-cards { width: min(1400px, calc(100% - 48px)); margin: 24px auto 0; }
.hcard.biz { background: linear-gradient(150deg, #245a49, #122e26); border: 0; backdrop-filter: none; }
.stats { width: min(1400px, calc(100% - 48px)); background: var(--green-dark); margin: 22px auto 0; }
.cta { width: min(1400px, calc(100% - 48px)); }
@media (max-width: 900px) { :root { --hero-h: 820px; } .wrap { padding: 0 20px; } }

/* ===== v4: 800px hero fading smoothly to white, content width 1300px ===== */
:root { --max: 1300px; --hero-h: 800px; }
.hero { background: radial-gradient(140% 100% at 50% 100%, #fff 0%, #8fc9b4 18%, #3f8f76 40%, #245a49 68%, var(--green-dark) 100%) 0 0 / 100% var(--hero-h) no-repeat, #fff; }
.hero-cards, .stats, .cta { width: min(1300px, calc(100% - 48px)); }
@media (max-width: 900px) { :root { --hero-h: 900px; } }

/* ===== v5: hero fades to full white across the whole width (no hard edge) ===== */
.hero { background: linear-gradient(to bottom, rgba(255,255,255,0) 45%, rgba(255,255,255,.85) 85%, #fff 100%) 0 0 / 100% var(--hero-h) no-repeat, radial-gradient(120% 90% at 50% 70%, #5fb399 0%, #3f8f76 30%, #245a49 62%, var(--green-dark) 100%) 0 0 / 100% var(--hero-h) no-repeat, #fff; }

/* ===== v6: hero gradient height 900px ===== */
:root { --hero-h: 900px; }
@media (max-width: 900px) { :root { --hero-h: 1000px; } }

/* ===== v7: smooth vertical gradient starting exactly at the nav colour ===== */
.hero { background: radial-gradient(60% 38% at 50% 38%, rgba(95,179,153,.22), rgba(95,179,153,0) 70%) 0 0 / 100% var(--hero-h) no-repeat, linear-gradient(to bottom, #122e26 0%, #153329 6%, #1a4034 14%, #1f4d3f 22%, #26594a 30%, #2f6a58 38%, #3c7e69 46%, #519682 54%, #6fb09b 62%, #92c6b4 70%, #b4d9cb 78%, #d1e8df 85%, #eaf4f0 92%, #fff 100%) 0 0 / 100% var(--hero-h) no-repeat, #fff; }
.hero::before { display: none; }

/* ===== v8: photo behind the "Potrzebujesz pracowników?" card (assets/team.jpg; falls back to the dark gradient if the file is missing) ===== */
.hcard.biz { background: linear-gradient(90deg, rgba(18,46,38,.92) 0%, rgba(18,46,38,.78) 55%, rgba(18,46,38,.55) 100%), url('team.jpg') center 62% / cover no-repeat, linear-gradient(150deg, #245a49, #122e26); }

/* ===== v9: photos in both hero cards (assets/Poszuk.jpg, assets/team.jpg) ===== */
.hcard.biz { background: linear-gradient(90deg, rgba(18,46,38,.92) 0%, rgba(18,46,38,.78) 55%, rgba(18,46,38,.55) 100%), url('Poszuk.jpg') center / cover no-repeat, linear-gradient(150deg, #245a49, #122e26); }
.hcard.cand { background: linear-gradient(90deg, rgba(150,88,32,.93) 0%, rgba(176,106,44,.8) 55%, rgba(193,122,58,.6) 100%), url('team.jpg') center 55% / cover no-repeat, linear-gradient(150deg, var(--copper-light), var(--copper)); }

/* v13: stable digit width while counting */
.stat b, .stat-box b { font-variant-numeric: tabular-nums; }

/* ===== v15: horizontal expanding carousel for services (Zoom-like) ===== */
.acc { display: flex; gap: 14px; height: 460px; }
.acc-item { position: relative; flex: 0 0 88px; border-radius: 28px; overflow: hidden; cursor: pointer; color: #fff; background: linear-gradient(180deg, rgba(18,46,38,.30), rgba(18,46,38,.88)), var(--img, none) center / cover no-repeat, linear-gradient(150deg, var(--c1, #245a49), var(--c2, #122e26)); transition: flex .65s cubic-bezier(.4,0,.2,1); outline-offset: 3px; }
.acc-item.is-active { flex: 1 1 auto; cursor: default; }
.acc-ico { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 28px; transition: all .5s; }
.acc-item.is-active .acc-ico { left: 38px; top: 34px; bottom: auto; transform: none; }
.acc-label { position: absolute; top: 26px; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; white-space: nowrap; transition: opacity .3s; }
.acc-item.is-active .acc-label { opacity: 0; pointer-events: none; }
.acc-body { position: absolute; left: 0; right: 0; bottom: 0; max-width: 660px; padding: 36px 40px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; pointer-events: none; }
.acc-item.is-active .acc-body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.acc-body h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.acc-body p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin-bottom: 18px; }
.acc-more { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.acc-nav { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.acc-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--green); background: #fff; color: var(--green); font-size: 22px; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.acc-btn:hover { background: var(--green); color: #fff; }
@media (max-width: 900px) {
  .acc { flex-direction: column; height: auto; }
  .acc-item { flex: none; height: 88px; transition: height .55s cubic-bezier(.4,0,.2,1); }
  .acc-item.is-active { height: 380px; }
  .acc-ico, .acc-item.is-active .acc-ico { left: 16px; top: 16px; bottom: auto; transform: none; }
  .acc-label { writing-mode: horizontal-tb; transform: translateY(-50%); top: 44px; left: 88px; }
  .acc-body { padding: 24px; }
}

/* ===== v16: carousel stability (no flex-basis jump, label clipping) ===== */
.acc-item { flex: 0 0 88px; transition: flex-grow .6s cubic-bezier(.4,0,.2,1); will-change: flex-grow; }
.acc-item.is-active { flex: 1 0 88px; }
.acc-label { max-height: calc(100% - 118px); overflow: hidden; text-overflow: ellipsis; }
.acc-body { min-width: 0; }
@media (max-width: 900px) { .acc-label { max-height: none; max-width: calc(100% - 110px); } }

/* ===== v17: content ~1.5 cm wider on each side (1300 -> 1420px) ===== */
:root { --max: 1420px; }
.hero-cards, .stats, .cta { width: min(1420px, calc(100% - 48px)); }

/* ===== v18: content +0.5 cm per side (1460px), collapsed carousel cards +0.5 cm (108px) ===== */
:root { --max: 1460px; }
.hero-cards, .stats, .cta { width: min(1460px, calc(100% - 48px)); }
.acc-item { flex: 0 0 108px; }
.acc-item.is-active { flex: 1 0 108px; }
@media (max-width: 900px) { .acc-item, .acc-item.is-active { flex: none; } }

/* ===== v19: collapsed carousel cards +2 mm (116px) ===== */
.acc-item { flex: 0 0 116px; }
.acc-item.is-active { flex: 1 0 116px; }
@media (max-width: 900px) { .acc-item, .acc-item.is-active { flex: none; } }

/* ===== v26: collapsed carousel titles wrap onto several lines instead of being cut off ===== */
.acc-label { white-space: normal; text-overflow: clip; line-height: 1.25; max-width: calc(100% - 24px); text-align: start; }
@media (max-width: 900px) { .acc-label { max-width: calc(100% - 110px); } }

/* ===== v27: wrapped carousel titles are top-aligned (all lines end at the top edge) ===== */
.acc-label { text-align: end; }
@media (max-width: 900px) { .acc-label { text-align: start; } }

/* ===== v28: "Jak to działa" interactive cards ===== */
.how { display: flex; gap: 22px; height: 300px; }
.how-card { flex: 1 1 0; min-width: 0; background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; cursor: default; outline: none; transition: flex-grow .6s cubic-bezier(.4,0,.2,1), box-shadow .3s; }
.how-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.how-card .num-badge { margin-bottom: 18px; }
.how-card h3 { font-size: 1.35rem; margin-bottom: 10px; white-space: nowrap; }
.how-card p { opacity: 0; max-height: 0; overflow: hidden; margin: 0; transition: opacity .35s, max-height .5s; }
.how-card:hover, .how-card:focus-visible { flex-grow: 2.6; box-shadow: var(--shadow); }
.how-card:hover::before, .how-card:focus-visible::before { transform: scaleX(1); }
.how-card:hover p, .how-card:focus-visible p { opacity: 1; max-height: 200px; transition-delay: .15s; }
@media (max-width: 900px) {
  .how { flex-direction: column; height: auto; }
  .how-card p { opacity: 1; max-height: none; }
}

/* v29: link inside "Jak to działa" card */
.how-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--copper); opacity: 0; max-height: 0; overflow: hidden; white-space: nowrap; transition: opacity .35s, max-height .5s; }
.how-card:hover .how-link, .how-card:focus-within .how-link, .how-card:focus-visible .how-link { opacity: 1; max-height: 40px; transition-delay: .2s; }
.how-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .how-link { opacity: 1; max-height: none; white-space: normal; } }

/* v30: "how" cards on dark section */
.bg-dark .how-card { color: var(--text); }
.bg-dark .how-card h3 { color: var(--green-dark); }

/* v31: photo tiles in "Find a job in your industry" */
.tile::before { background: linear-gradient(to top, rgba(8,24,19,.88) 0%, rgba(8,24,19,.35) 45%, rgba(8,24,19,0) 75%), var(--img) var(--pos, center) / cover no-repeat, linear-gradient(160deg, var(--g1, #245a49), var(--g2, #122e26)); transition: transform .5s; }
.tile:hover::before { transform: scale(1.05); }
.tile b, .tile span { text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* v32: emoji fallback when a photo fails to load (class added by app.js) */
.img-fail::after { content: attr(data-fb); position: absolute; display: flex; align-items: center; justify-content: center; }
.illus.img-fail::after { inset: 0; font-size: 120px; }
.tile.img-fail::after { top: 18px; right: 20px; font-size: 42px; }
.acc-item.img-fail::after { left: 50%; bottom: 22px; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 28px; transition: all .5s; }
.acc-item.is-active.img-fail::after { left: 38px; top: 34px; bottom: auto; transform: none; }
@media (max-width: 900px) { .acc-item.img-fail::after, .acc-item.is-active.img-fail::after { left: 16px; top: 16px; bottom: auto; transform: none; } }

/* v33: strict outline icons */
.ico.ic { width: 48px; height: 48px; border-radius: 10px; background: none; border: 1px solid var(--green); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 0; flex-shrink: 0; }
.ico.ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.legal-strip .ico.ic { font-size: 0; }

/* v34: outline icons inside vacancy tags */
.tag .ti { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 2px; }

/* v35: photo cards in "how it works" */
.how-card.has-img, .bg-dark .how-card.has-img { color: #fff; display: flex; flex-direction: column; justify-content: flex-end; border-color: transparent; background: linear-gradient(to top, rgba(8,24,19,.92) 0%, rgba(8,24,19,.55) 45%, rgba(8,24,19,.12) 100%), var(--img) var(--pos, center) / cover no-repeat, linear-gradient(160deg, var(--green-light), var(--green-dark)); }
.how-card.has-img .num-badge { position: absolute; top: 24px; left: 26px; margin: 0; }
.how-card.has-img h3, .bg-dark .how-card.has-img h3 { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.how-card.has-img p { color: rgba(255,255,255,.92); }
.how-card.has-img .how-link { color: #f2c89a; }

/* v36: photo cards - no top accent bar, no edge strip */
.how-card.has-img::before { display: none; }
.how-card.has-img, .bg-dark .how-card.has-img { border: 0; background-origin: border-box; background-repeat: no-repeat; background-size: 100% 100%, cover, 100% 100%; background-position: 0 0, var(--pos, center), 0 0; }


/* v37: photo cards in "industries" */
.card-flat.has-img { position: relative; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; border: 0; overflow: hidden; background: linear-gradient(to top, rgba(8,24,19,.9) 0%, rgba(8,24,19,.5) 45%, rgba(8,24,19,0) 80%) 0 0 / 100% 100% no-repeat, var(--img) center / cover no-repeat, linear-gradient(160deg, var(--green-light), var(--green-dark)); background-origin: border-box; }
.card-flat.has-img h3 { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.card-flat.has-img p { color: rgba(255,255,255,.92); }

/* v38: "how" cards on mobile - full height, text and link always visible */
@media (max-width: 900px) {
  .how { height: auto; gap: 16px; }
  .how-card, .bg-dark .how-card.has-img { flex: none; min-height: 250px; }
  .how-card h3 { white-space: normal; }
  .how-card p { opacity: 1; max-height: none; margin-top: 4px; }
  .how-card .how-link { opacity: 1; max-height: none; margin-top: 10px; padding: 6px 0; }
}

/* v39: mobile - badge stays in flow so it never covers the title */
@media (max-width: 900px) {
  .how-card.has-img .num-badge { position: static; margin: 0 0 auto; flex-shrink: 0; }
  .how-card.has-img h3 { margin-top: 18px; }
}

/* v40: mobile - text first, photo second in every split section */
@media (max-width: 900px) {
  .split > .illus { order: 2; }
  .split > :not(.illus) { order: 1; }
}

/* ===== v41: form info line + optional consent ===== */
.consent-info { font-size: 13px; line-height: 1.5; color: var(--gray); margin: 4px 0 14px; }
.consent-info a { color: var(--copper); text-decoration: underline; }
.consent-opt { font-size: 13px; margin: 0 0 18px; }
.f-reg { margin-top: 10px; font-size: 12px; line-height: 1.5; opacity: .75; }

/* ===== v42: UNDER-CONSTRUCTION cover (remove .uc-cover divs to reveal) ===== */
.uc-wrap { position: relative; }
.uc-cover { position: absolute; inset: -12px; z-index: 6; border-radius: 20px; background: #f7f4ee url('/assets/under-construction.jpg') 50% 50% / cover no-repeat; }
.acc-item .uc-cover { inset: 0; border-radius: inherit; }

/* ===== v43: social links ===== */
.f-social, .c-social { display: flex; gap: 10px; margin-top: 14px; }
.c-social { margin-top: 6px; }
.f-social a, .c-social a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.f-social a { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.f-social a:hover { background: var(--copper); border-color: var(--copper); }
.c-social a { border: 1px solid var(--green); color: var(--green); }
.c-social a:hover { background: var(--green); color: #fff; }
.f-social svg, .c-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== v44: equal rhythm of contact items ===== */
.contact-item { min-height: 78px; align-items: flex-start; }
.contact-item .c-social { margin-top: 4px; }
.contact-list { gap: 6px; }
