/* css/poradnik.css — wspólny wygląd stron poradnikowych SEO (zaliczka-od-klienta, ile-brac-za-robote,
   klient-nie-chce-zaplacic-za-robote). Ten sam język co /wycena-glosowa: ciemne kafle ze światłem od góry,
   szklane fragmenty UI, główne przyciski jak .btn-glow (emerald → blue). */
/* Ten sam język wizualny co /wycena-glosowa: ciemne kafle ze światłem od góry,
   szklane fragmenty UI, główne przyciski w stylu .btn-glow (emerald → blue). */
html { scroll-behavior: smooth; }
body { background: #05060a; font-family: 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #10b981; color: #000; padding: 12px 20px; font-weight: 700; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.grad-text { background: linear-gradient(92deg, #34d399 0%, #2dd4bf 35%, #22d3ee 65%, #60a5fa 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(16, 185, 129, 0.28); background: rgba(16, 185, 129, 0.08); color: #6ee7b7; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.page-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.page-glow::before { content: ""; position: absolute; top: -260px; left: 50%; width: 1200px; height: 760px; transform: translateX(-50%);
    background: radial-gradient(40% 45% at 30% 40%, rgba(16, 185, 129, 0.18), transparent 70%), radial-gradient(35% 40% at 72% 35%, rgba(59, 130, 246, 0.15), transparent 70%); filter: blur(10px); }
.page-grid { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%); }

.btn-primary { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-weight: 800; color: #fff;
    background: linear-gradient(45deg, #10b981, #3b82f6); box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.55); transition: transform .2s ease; }
.btn-primary::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: linear-gradient(45deg, #10b981, #3b82f6, #10b981); filter: blur(15px); opacity: 0; transition: opacity .3s ease; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::before { opacity: .7; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 14px; font-weight: 700; color: #e5e7eb; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); transition: background .2s ease, border-color .2s ease; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }

.bento { position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(90deg, transparent 8%, var(--edge, rgba(110, 231, 183, 0.34)) 50%, transparent 92%) top / 100% 1px no-repeat, linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.012) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.bento::before { content: ""; position: absolute; left: -10%; right: -10%; top: -45%; height: 95%; z-index: -1; pointer-events: none;
    background: radial-gradient(45% 55% at var(--beam-x, 50%) 0%, var(--beam, rgba(16, 185, 129, 0.2)), transparent 72%); }

.glass { background: linear-gradient(180deg, rgba(31, 40, 52, 0.72) 0%, rgba(13, 17, 24, 0.78) 100%); border: 1px solid rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 44px -16px rgba(0, 0, 0, 0.85); border-radius: 16px; }

/* Treść artykułu — czytelna typografia */
.art h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -0.02em; color: #fff; line-height: 1.15; margin: 0 0 1rem; }
.art h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 1.8rem 0 .6rem; }
.art p { font-size: 17px; line-height: 1.8; color: #b9c3d0; margin: 0 0 1.1rem; }
.art li { font-size: 17px; line-height: 1.75; color: #b9c3d0; margin-bottom: .55rem; }
.art ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.art ul li { position: relative; padding-left: 28px; }
.art ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 13px; color: #34d399; }
.art ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.art ol li { padding-left: .3rem; }
.art ol li::marker { color: #34d399; font-weight: 800; }
.art strong { color: #fff; }
.art a { color: #34d399; text-decoration: underline; text-underline-offset: 3px; }

/* Tabela porównawcza zaliczka / zadatek */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255, 255, 255, 0.07); line-height: 1.55; }
.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; font-weight: 800; }
.cmp td:first-child { color: #9ca3af; font-weight: 600; width: 30%; }
.cmp td { color: #d6dde6; }
.cmp tr:last-child td { border-bottom: none; }

.wzor { font-size: 16px; line-height: 1.75; color: #d6dde6; }
.wzor mark { background: rgba(16, 185, 129, 0.16); color: #a7f3d0; padding: 1px 5px; border-radius: 5px; }

details.faq { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; color: #f3f4f6; font-size: 18px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); color: #9ca3af; transition: transform .25s ease, color .25s ease, border-color .25s ease; }
details.faq[open] summary .pm { transform: rotate(45deg); color: #34d399; border-color: rgba(52, 211, 153, 0.4); }
details.faq .ans { padding: 0 0 22px; color: #b9c3d0; line-height: 1.75; font-size: 16.5px; max-width: 760px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ── Dodatki: siatka bento z ilustracjami ─────────────────────────────── */
.bento .dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.3px); background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 62%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse 55% 50% at 50% 62%, #000 15%, transparent 72%); }
.b-copy { font-size: 15.5px; line-height: 1.6; color: #9ca3af; }
.b-copy strong { color: #fff; font-weight: 700; }
.node { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px;
    background: radial-gradient(circle at 50% 25%, #1c2835, #0a0e14); border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px -10px rgba(0, 0, 0, 0.9); }
.node.accent { border-color: rgba(52, 211, 153, 0.55); box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.chip { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 6px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.035); }
.chip.on { color: #a7f3d0; border-color: rgba(52, 211, 153, 0.45); background: rgba(16, 185, 129, 0.12); }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #10b981, #22d3ee, #3b82f6); }

/* ── Kalkulator ───────────────────────────────────────────────────────── */
.calc label { display: block; font-size: 13px; font-weight: 600; color: #aab4c3; margin-bottom: 6px; }
.calc .pole { position: relative; }
.calc input[type=number] { width: 100%; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px;
    padding: 12px 56px 12px 14px; color: #fff; font-size: 17px; font-weight: 700; outline: none; transition: border-color .2s, box-shadow .2s; -moz-appearance: textfield; }
.calc input[type=number]::-webkit-outer-spin-button, .calc input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc input[type=number]:focus { border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
.calc .jm { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #6b7280; font-weight: 700; pointer-events: none; }
.calc .hint { font-size: 12px; color: #6b7280; margin-top: 5px; line-height: 1.4; }
.wynik { font-variant-numeric: tabular-nums; }

/* ── Kroki (numerowana ścieżka) ───────────────────────────────────────── */
.krok-num { width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff;
    background: linear-gradient(45deg, #10b981, #3b82f6); box-shadow: 0 0 22px rgba(16, 185, 129, 0.35); }
