@charset "utf-8";
/* cv.biz.pl – własny styl (baza układu: pływająca nawigacja, kremowe tło, linkowe CTA) */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --oat: #FCFAF8;
  --oat-mid: #F5F0EB;
  --oat-deep: #EDE6DD;
  --accent: #F0500C;
  --accent-dark: #C93F05;
  --accent-light: rgba(240, 80, 12, 0.12);
  --accent-ghost: rgba(240, 80, 12, 0.06);
  --ink: #0C1A38;
  --ink-soft: #33405C;
  --ink-muted: #6F788C;
  --ink-faint: #AEB4C0;
  --white: #FFFFFF;
  --ok: #1F7A4D;
  --err: #B3261E;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 18px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--oat); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nawigacja ---------- */
.pill-nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 2px; width: max-content; max-width: calc(100vw - 24px);
  background: rgba(252, 250, 248, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(12, 26, 56, 0.07); border-radius: 999px; padding: 6px 8px; box-shadow: 0 4px 24px rgba(12, 26, 56, 0.07);
}
.pill-nav .brand { display: flex; align-items: center; gap: 8px; padding: 2px 14px 2px 8px; font-weight: 800; letter-spacing: -0.01em; font-size: 15px; white-space: nowrap; }
.pill-nav .brand img { width: 22px; height: auto; }
.pill-nav .brand b { color: var(--accent); font-weight: 800; }
.pill-nav a.lnk { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 9px 16px; border-radius: 999px; transition: color .4s var(--ease), background .4s var(--ease); white-space: nowrap; }
.pill-nav a.lnk:hover { color: var(--ink); background: var(--oat-mid); }
.pill-nav a.lnk.active { background: var(--ink); color: var(--oat); }
.pill-nav a.lnk.cta { background: var(--accent); color: #fff; }
.pill-nav a.lnk.cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px 12px; font-size: 20px; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-form { display: inline; }
.nav-form button.lnk { background: none; border: 0; cursor: pointer; }

/* ---------- Typografia i elementy ---------- */
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
h1.display, h2.display { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); }
h1.display { font-size: clamp(44px, 6vw, 92px); }
h2.display { font-size: clamp(32px, 4vw, 56px); }
h1.display em, h2.display em { font-style: italic; color: var(--accent); }
.lead { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--ink-muted); max-width: 520px; }

.cta-link { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); position: relative; padding-bottom: 4px; cursor: pointer; background: none; border: none; }
.cta-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 1.5px; background: currentColor; transition: width .7s var(--ease); }
.cta-link:hover::after { width: 100%; }
.cta-link--dark { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .3s, transform .3s var(--ease), box-shadow .3s; background: var(--accent); color: #fff; }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(240, 80, 12, .25); }
.btn.dark { background: var(--ink); } .btn.dark:hover { background: #1b2c52; box-shadow: 0 8px 22px rgba(12, 26, 56, .25); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(12, 26, 56, .2); } .btn.ghost:hover { background: var(--oat-mid); box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 11px; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn.danger { background: var(--err); } .btn.danger:hover { background: #8f1d17; }

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.section { padding: 110px 0; }
.section.mid { background: var(--oat-mid); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.page-top { padding: 130px 0 40px; }
.page-top h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.page-top h1 em { color: var(--accent); }
.page-top p { color: var(--ink-muted); max-width: 640px; margin-top: 14px; font-weight: 300; font-size: 17px; }

/* ---------- Flash / komunikaty ---------- */
.flashes { position: fixed; top: 82px; left: 50%; transform: translateX(-50%); z-index: 1100; display: grid; gap: 8px; width: min(560px, calc(100% - 24px)); }
.flash { padding: 12px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--oat-deep); box-shadow: 0 8px 30px rgba(12, 26, 56, .12); font-size: 14px; animation: fadeUp .5s var(--ease); }
.flash.ok { border-color: #b7e0c8; background: #f1fbf5; } .flash.err { border-color: #f1b8b4; background: #fff4f3; } .flash.info { border-color: #cfd8ee; background: #f4f7fe; }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--accent-ghost); border: 1px solid var(--accent-light); font-size: 14px; color: var(--ink-soft); }
.notice.err { background: #fff4f3; border-color: #f1b8b4; color: var(--err); }
.notice.ok { background: #f1fbf5; border-color: #b7e0c8; color: var(--ok); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 120px 0 70px; }
.hero .eyebrow { margin-bottom: 26px; opacity: 0; animation: fadeUp .9s var(--ease) .2s forwards; }
.hero h1 { margin-bottom: 26px; opacity: 0; animation: fadeUp 1s var(--ease) .4s forwards; }
.hero .lead { margin-bottom: 36px; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero .actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards; }
.hero-stack { position: relative; height: 600px; }
.hero-stack .doc { position: absolute; width: 300px; aspect-ratio: 210 / 297; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(12, 26, 56, .16); border: 8px solid #fff; transition: transform 1s var(--ease); }
.hero-stack .doc:nth-child(1) { left: 2%; top: 40px; transform: rotate(-6deg); }
.hero-stack .doc:nth-child(2) { left: 30%; top: 0; transform: rotate(2deg); z-index: 2; }
.hero-stack .doc:nth-child(3) { right: 0; top: 100px; transform: rotate(8deg); }
.hero-stack:hover .doc:nth-child(1) { transform: rotate(-9deg) translateX(-12px); }
.hero-stack:hover .doc:nth-child(3) { transform: rotate(11deg) translateX(12px); }

/* miniatury szablonów (iframe skalowany JS) */
.thumb { position: relative; overflow: hidden; background: #fff; aspect-ratio: 210 / 297; }
.thumb iframe { position: absolute; left: 0; top: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; pointer-events: none; background: #fff; }

/* ---------- Kroki / kafelki ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--oat-deep); counter-increment: s; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(12, 26, 56, .08); }
.step::before { content: '0' counter(s); font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--accent); display: block; margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--oat); border: 1px solid var(--oat-deep); }
.feature h3 { font-size: 16px; margin-bottom: 8px; } .feature p { color: var(--ink-muted); font-size: 15px; }
.feature .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; font-weight: 800; }

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--oat-deep); background: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.chip:hover { border-color: var(--ink-faint); } .chip.on { background: var(--ink); color: var(--oat); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tcard { position: relative; }
.tcard .thumb { border-radius: 22px; border: 8px solid #fff; box-shadow: 0 8px 36px rgba(12, 26, 56, .08); transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.tcard:hover .thumb { transform: translateY(-5px); box-shadow: 0 18px 54px rgba(12, 26, 56, .14); }
.tcard .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 6px 4px; }
.tcard .meta b { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.1; }
.tcard .meta span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); }
.tcard .tags { padding: 0 6px; display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; color: var(--ink-muted); }
.tag { padding: 2px 9px; border-radius: 999px; background: var(--oat-mid); border: 1px solid var(--oat-deep); }
.tag.ats { background: #eaf7ef; border-color: #bfe3cd; color: var(--ok); }
.tag .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: -0.5px; }
.tcard .btns { display: flex; gap: 14px; padding: 12px 6px 0; align-items: center; }

.modal { position: fixed; inset: 0; z-index: 2000; background: rgba(12, 26, 56, .6); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: 22px; width: min(920px, 100%); max-height: 94vh; overflow: auto; position: relative; padding: 18px; }
.modal .close { position: absolute; right: 14px; top: 10px; z-index: 3; background: var(--ink); color: #fff; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; font-size: 18px; }
.modal .thumb.big { margin: 0 auto; width: min(100%, 640px); border: 1px solid var(--oat-deep); }
.modal .mhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 48px 14px 4px; flex-wrap: wrap; }

/* ---------- Cennik / FAQ ---------- */
.price-box { background: var(--ink); color: var(--oat); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.price-box .big { font-family: var(--serif); font-size: clamp(64px, 9vw, 120px); font-weight: 300; line-height: .9; }
.price-box .big small { font-size: .3em; font-family: var(--sans); letter-spacing: .05em; color: var(--ink-faint); }
.price-box ul { list-style: none; display: grid; gap: 10px; }
.price-box li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 800; }
details.faq { border-bottom: 1px solid var(--oat-deep); padding: 20px 0; }
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin-top: 12px; color: var(--ink-muted); max-width: 760px; }

/* ---------- Formularze ---------- */
.card { background: var(--white); border: 1px solid var(--oat-deep); border-radius: var(--radius); padding: 30px; }
.form-narrow { width: min(460px, 100% - 32px); margin: 0 auto; }
label.f { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
label.f small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-muted); margin-left: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--oat-deep); background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); outline: none; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .row4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check a { color: var(--accent); text-decoration: underline; }
.hint { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.auth-wrap { padding: 140px 0 80px; }
.auth-wrap h1 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; margin-bottom: 8px; text-align: center; }
.auth-wrap .sub { text-align: center; color: var(--ink-muted); margin-bottom: 26px; }
.auth-links { margin-top: 18px; font-size: 14px; color: var(--ink-muted); text-align: center; display: grid; gap: 6px; }
.auth-links a { color: var(--accent); font-weight: 600; }

/* ---------- Generator ---------- */
.gen-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.gen-nav { position: sticky; top: 90px; display: grid; gap: 4px; }
.gen-nav a { padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-muted); display: flex; gap: 10px; align-items: baseline; }
.gen-nav a span { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.gen-nav a:hover, .gen-nav a.on { background: var(--oat-mid); color: var(--ink); }
.gen-step { margin-bottom: 26px; scroll-margin-top: 90px; }
.gen-step > h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.1; margin-bottom: 6px; }
.gen-step > .sub { color: var(--ink-muted); margin-bottom: 20px; font-size: 15px; }
.repeat { display: grid; gap: 14px; margin-bottom: 14px; }
.rep-item { background: var(--oat); border: 1px solid var(--oat-deep); border-radius: 14px; padding: 18px; position: relative; }
.rep-item .rm { position: absolute; right: 10px; top: 8px; background: none; border: 0; cursor: pointer; color: var(--ink-muted); font-size: 18px; }
.rep-item .rm:hover { color: var(--err); }
.tpl-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.tpl-opt { cursor: pointer; text-align: center; font-size: 11px; color: var(--ink-muted); }
.tpl-opt input { position: absolute; opacity: 0; }
.tpl-opt .thumb { border-radius: 8px; border: 3px solid transparent; box-shadow: 0 2px 12px rgba(12, 26, 56, .1); }
.tpl-opt input:checked + .thumb { border-color: var(--accent); }
.tpl-opt input:focus-visible + .thumb { outline: 2px solid var(--ink); }
.tpl-opt span { display: block; margin-top: 5px; line-height: 1.2; }
.generate-bar { position: sticky; bottom: 0; z-index: 20; background: linear-gradient(to top, var(--oat) 70%, transparent); padding: 22px 0 18px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.progress-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(252, 250, 248, .94); display: none; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.progress-overlay.on { display: flex; }
.progress-overlay .spin { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--oat-deep); border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 0 auto 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-overlay h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin-bottom: 8px; }
.progress-overlay p { color: var(--ink-muted); }

/* ---------- Dokument ---------- */
.doc-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.doc-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.stage { background: var(--oat-deep); border-radius: 22px; padding: 22px; }
.stage .thumb { width: 100%; max-width: 640px; margin: 0 auto; box-shadow: 0 10px 40px rgba(12, 26, 56, .16); border-radius: 4px; aspect-ratio: auto; }
.stage .thumb.cvh { }
.side-panel { position: sticky; top: 90px; display: grid; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--oat-deep); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-soft); }
.panel ul { padding-left: 18px; color: var(--ink-soft); font-size: 14px; display: grid; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.status.paid { background: #eaf7ef; color: var(--ok); } .status.unpaid { background: var(--accent-ghost); color: var(--accent-dark); }
.price-tag { font-family: var(--serif); font-size: 44px; line-height: 1; margin: 6px 0 12px; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Tabele (konto, admin) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--oat-deep); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding: 12px 16px; border-bottom: 1px solid var(--oat-deep); background: var(--oat); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--oat-mid); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl form { display: inline; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--oat-mid); }
.pill.ok { background: #eaf7ef; color: var(--ok); } .pill.err { background: #fdeceb; color: var(--err); } .pill.warn { background: #fff4e0; color: #9a5b00; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: #fff; border: 1px solid var(--oat-deep); border-radius: var(--radius); padding: 22px; }
.kpi b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; margin-bottom: 6px; }
.kpi span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
pre.log { background: var(--ink); color: #dfe5f2; padding: 18px; border-radius: 14px; overflow: auto; font: 12px/1.6 var(--mono); max-height: 560px; }

/* ---------- Dokumentacja / treść prawna ---------- */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--oat-mid); padding: 1px 6px; border-radius: 6px; }
.prose table { border-collapse: collapse; width: 100%; margin: 14px 0 20px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--oat-deep); }
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: 14px; }
.toc a { padding: 8px 12px; border-radius: 10px; color: var(--ink-muted); } .toc a:hover { background: var(--oat-mid); color: var(--ink); }

/* ---------- Stopka (tylko linki prawne) ---------- */

/* ---------- Okno informacji dla gościa ---------- */

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .doc-layout { grid-template-columns: 1fr; } .side-panel { position: static; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; } .hero-stack { height: 440px; } .hero-stack .doc { width: 210px; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gen-layout, .docs-layout { grid-template-columns: 1fr; } .gen-nav, .toc { position: static; grid-auto-flow: column; overflow-x: auto; }
  .price-box { grid-template-columns: 1fr; padding: 34px; } .kpis { grid-template-columns: 1fr 1fr; }
  .pill-nav { flex-wrap: wrap; border-radius: 26px; width: calc(100vw - 24px); justify-content: space-between; }
  .nav-toggle { display: block; } .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0; } .nav-links.open { display: flex; } .nav-links a.lnk { text-align: center; }
}
@media (max-width: 560px) {
  .steps, .features, .row2, .row3, .row4, .gallery, .kpis, .dl-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; } .wrap { width: calc(100% - 32px); }
}
@media print { .pill-nav, .site-foot, .flashes, .cookie-bar, .email-modal { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* zdjęcie w generatorze */
.photo-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.photo-prev{width:84px;height:84px;border-radius:50%;background:var(--oat-mid) center/cover no-repeat;border:1px dashed var(--oat-deep);flex:none}
.photo-prev.on{border-style:solid}
.photo-up input[type=file]{max-width:100%;font-size:14px;margin-bottom:6px}

/* ---------- Edycja treści dokumentu ---------- */
.edit-form { max-width: 860px; }
.edit-bar { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; position: sticky; top: 76px; z-index: 5; padding: 10px 0; background: var(--bg, #FCFAF8); }
.edit-h { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 26px 0 12px; }
.edit-form .repeat { margin-bottom: 14px; }

/* ---------- Pasek cookies (informacja) ---------- */
.cookie-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1500; width: min(760px, calc(100vw - 24px)); background: #fff; color: var(--ink); border: 1px solid var(--oat-deep); border-radius: 18px; padding: 14px 16px 14px 20px; display: flex; align-items: center; gap: 18px; box-shadow: 0 16px 50px rgba(12, 26, 56, .18); font-size: 13px; animation: fadeUp .6s var(--ease); }
.cookie-bar[hidden], .modal-open .cookie-bar { display: none; }
.cookie-bar p { margin: 0; color: var(--ink-soft); }
.cookie-bar a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.cookie-bar .btn { flex: none; }

/* ---------- Okno e-mail + zgoda ---------- */
.email-modal .box { width: min(560px, 100%); padding: 34px 36px 30px; }
.email-modal h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; margin: 6px 0 12px; }
.email-modal h2 em { color: var(--accent); font-style: italic; }
.email-modal .sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.email-modal .em-sent { text-align: center; padding: 10px 0 4px; }
.email-modal .em-sent[hidden] { display: none; }
.email-modal .big-ok { width: 64px; height: 64px; border-radius: 50%; background: #eaf7ef; color: var(--ok); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; margin: 0 auto 14px; }
.email-modal .em-sent h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 8px; }
.email-modal .em-sent p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-size: 12px; color: var(--ink-muted); }
.status.unpaid { background: var(--accent-ghost); color: var(--accent-dark); }
.tbl td.actions { white-space: nowrap; }
.tbl td.actions form { display: inline-block; margin: 0 4px 4px 0; }
.btn.danger { background: var(--err); color: #fff; }
.pill.warn { background: #fff4e0; color: #9a5b00; }

@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; }
  .email-modal .box { padding: 26px 20px 22px; }
  .email-modal h2 { font-size: 26px; }
}

/* =========================================================
   cv.biz.pl – sekcja „Test osobowości” + nowa stopka
   ========================================================= */

/* ---------- Sekcja: test osobowości ---------- */
.test-cta { padding: 90px 0; }
.test-cta__box {
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center;
  background: var(--white); border: 1px solid var(--oat-deep); border-radius: 28px;
  padding: 56px; position: relative; overflow: hidden;
}
.test-cta__box::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, var(--accent-light), transparent 70%); pointer-events: none;
}
.test-cta__text h2 { margin: 14px 0 18px; }
.test-cta__lead { color: var(--ink-soft); font-size: 17px; max-width: 58ch; }
.test-cta__list { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.test-cta__list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.test-cta__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--accent); background: var(--accent-light);
}
.test-cta__list b { color: var(--ink); }
.test-cta__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.test-cta__actions .btn { padding: 15px 28px; }
.test-cta__actions .btn span { transition: transform .3s var(--ease); }
.test-cta__actions .btn:hover span { transform: translateX(4px); }
.test-cta__actions .btn:active { transform: translateY(0); box-shadow: none; }
.test-cta__note { font-size: 13px; color: var(--ink-muted); }

.test-cta__card {
  position: relative; background: var(--ink); color: var(--oat); border-radius: 22px; padding: 30px 28px 24px;
  box-shadow: 0 24px 60px rgba(12, 26, 56, .22); transform: rotate(1.5deg);
}
.test-cta__trait { margin-bottom: 16px; }
.test-cta__trait span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #DDE2EA; }
.test-cta__trait i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.test-cta__trait i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--accent), #FF8A4C); }
.test-cta__cardnote { margin-top: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }

@media (max-width: 900px) {
  .test-cta__box { grid-template-columns: 1fr; padding: 36px 26px; gap: 36px; }
  .test-cta__card { transform: none; }
}
@media (max-width: 560px) {
  .test-cta { padding: 60px 0; }
  .test-cta__actions .btn { width: 100%; }
}

/* ---------- Stopka ---------- */
.site-foot {
  --foot-link: #C4CAD6;        /* normal  */
  --foot-link-hover: #FF7A3D;  /* hover   */
  --foot-link-active: #F0500C; /* active  */
  background: var(--ink); color: #9AA3B5; margin-top: 0; padding: 72px 0 0; font-size: 14px;
}
.site-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }

.site-foot__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--oat); letter-spacing: -.01em; }
.site-foot__logo b { color: var(--accent); }
.site-foot__logo img { width: 36px; height: auto; background: var(--oat); border-radius: 10px; padding: 5px 7px; }
.site-foot__brand p { margin: 16px 0 18px; max-width: 36ch; line-height: 1.65; }

.site-foot__col h3 {
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--oat); margin-bottom: 18px;
}
.site-foot__col ul { list-style: none; display: grid; gap: 11px; }

/* Stany linków w stopce */
.site-foot a:not(.site-foot__logo) {
  color: var(--foot-link);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: color .25s var(--ease), background-size .4s var(--ease);
}
.site-foot a:not(.site-foot__logo):hover { color: var(--foot-link-hover); background-size: 100% 1px; }
.site-foot a:not(.site-foot__logo):active { color: var(--foot-link-active); }
.site-foot a:focus-visible { outline: 2px solid var(--foot-link-hover); outline-offset: 3px; border-radius: 3px; }
.site-foot__logo:hover span { color: #fff; }
.site-foot__mail { font-weight: 600; }
.site-foot__ext { font-size: 11px; opacity: .7; }

.site-foot__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 22px 0 26px; font-size: 12.5px; color: #7F889B;
}

@media (max-width: 900px) {
  .site-foot__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-foot { padding-top: 52px; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 30px; }
  .site-foot__bottom { flex-direction: column; align-items: flex-start; }
}
.site-foot__owner { display: block; margin-top: 8px; font-size: 13px; color: #7F889B; }
.faq p a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq p a:hover { color: var(--accent-dark); }

/* ---------- Import starego CV (PDF/DOCX) ---------- */
.import-card { border: 1px dashed var(--accent); background: linear-gradient(135deg, var(--white) 55%, var(--accent-ghost)); }
.import-card h2 em { color: var(--accent); font-style: italic; }
.drop { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 2px dashed var(--oat-deep); border-radius: 16px; background: var(--oat); cursor: pointer; transition: border-color .25s, background .25s; position: relative; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--accent); background: var(--accent-ghost); }
.drop[hidden] { display: none; }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-light); color: var(--accent); display: grid; place-items: center; flex: none; }
.drop-txt { font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.drop-txt b { color: var(--accent); }
.drop-txt small { display: block; color: var(--ink-muted); font-size: 13px; margin-top: 2px; }
.import-busy { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 16px; background: var(--oat); border: 1px solid var(--oat-deep); font-weight: 600; color: var(--ink-soft); }
.import-busy[hidden] { display: none; }
.spin.sm { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--oat-deep); border-top-color: var(--accent); animation: spin 1s linear infinite; flex: none; }
.import-card .notice { margin-top: 14px; }
.import-card .notice[hidden] { display: none; }
.import-card .hint a { color: var(--accent); text-decoration: underline; }
.imported { animation: imported 2.6s var(--ease); }
@keyframes imported { 0%, 35% { box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent); } 100% { box-shadow: none; } }

.import-modal .box { width: min(720px, 100%); padding: 34px 36px 0; display: flex; flex-direction: column; }
.import-modal h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; margin: 6px 0 8px; }
.im-mode { margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--accent-ghost); border: 1px solid var(--accent-light); display: grid; gap: 8px; font-size: 14px; }
.im-mode[hidden] { display: none; }
.im-mode > span { font-weight: 700; color: var(--ink); }
.im-tools { display: flex; gap: 22px; margin: 16px 0 6px; }
.im-sections { display: grid; gap: 12px; }
.im-sec { border: 1px solid var(--oat-deep); border-radius: 14px; padding: 0 16px 14px; margin: 0; min-width: 0; }
.im-sec-head { padding: 0 6px; margin-left: -6px; background: #fff; }
.im-sec-head .check { font-size: 15px; color: var(--ink); }
.im-n { color: var(--ink-muted); font-weight: 600; }
.im-hint { color: var(--ink-muted); font-weight: 400; }
.im-items { display: grid; gap: 8px; margin-top: 6px; }
.im-item { padding: 8px 10px; border-radius: 10px; background: var(--oat); min-width: 0; }
.im-item > span { min-width: 0; overflow-wrap: anywhere; }
.im-meta { color: var(--ink-muted); font-size: 13px; }
.im-more { display: block; font-size: 13px; color: var(--ink-muted); white-space: pre-line; margin-top: 4px; max-height: 6.2em; overflow: hidden; }
.im-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.im-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; border: 1px solid var(--oat-deep); background: var(--oat); font-size: 13px; cursor: pointer; color: var(--ink-soft); }
.im-chip input { accent-color: var(--accent); margin: 0; }
.im-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-ghost); color: var(--ink); }
.im-actions { position: sticky; bottom: 0; background: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; margin-top: 18px; border-top: 1px solid var(--oat-deep); }
.im-actions .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .import-modal .box { padding: 28px 18px 0; }
  .import-modal h2 { font-size: 26px; }
  .drop { padding: 18px; }
}
body.modal-open { overflow: hidden; }
.im-tools .cta-link { letter-spacing: .06em; }
