/* Infohit: strona firmowa v02. Tokeny i zasady wg księgi marki (paleta B: grafit i limonka).
   Fonty ładuje <link> w HTML (bez @import, żeby nie łańcuchować żądań). */

:root {
  --graphite: #1E2226;
  --petrol: #1F5C58;
  --sage: #E2ECE8;
  --lime: #C8F03C;
  --olive: #4D6B00;
  --n900: #15181B;
  --n700: #3D4348;
  --n500: #6C7379;
  --n300: #C8CDD0;
  --n100: #F2F3F3;
  --white: #FFFFFF;

  --font-display: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  /* skala 1,25, baza 16 px; mobile → desktop */
  --fs-display: clamp(2.5rem, 1.3rem + 5.2vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.6vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5625rem);
  --fs-h4: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --fs-body: clamp(1rem, .96rem + .15vw, 1.125rem);
  --fs-small: .875rem;
  --fs-label: .75rem;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --radius: 12px;
  --radius-s: 8px;
  --container: 1200px;
  --header-h: 68px;
  --cut: clamp(28px, 4.5vw, 64px); /* wysokość półokrągłego przejścia między sekcjami */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip; /* zabezpieczenie: nic nie poszerza strony poza ekran */
  margin: 0; font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6;
  color: var(--n900); background: var(--n100); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; }
h4 { font-size: var(--fs-h4); line-height: 1.3; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.s-light :focus-visible, .s-sage :focus-visible, .s-white :focus-visible { outline-color: var(--petrol); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--lime); color: var(--graphite); padding: 12px 16px; border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: 12px; }
.container { width: min(100% - 2 * var(--s6), var(--container)); margin-inline: auto; }
.label { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.lead { font-size: var(--fs-body); max-width: 62ch; }

/* sekcje: ciemne dominują, akcent tylko tam, gdzie wskazuje jedną akcję */
.section { padding-block: clamp(80px, 11vw, 144px); }
.s-dark { background: var(--graphite); color: var(--white); --muted: var(--n300); --line: #3D4348; --dot: var(--lime); }
.s-deep { background: var(--n900); color: var(--white); --muted: var(--n300); --line: #3D4348; --dot: var(--lime); }
.s-light { background: var(--n100); color: var(--n900); --muted: var(--n700); --line: var(--n300); --dot: var(--olive); }
.s-white { background: var(--white); color: var(--n900); --muted: var(--n700); --line: var(--n300); --dot: var(--olive); }
.s-sage { background: var(--sage); color: var(--graphite); --muted: var(--n700); --line: #b9cbc4; --dot: var(--olive); }
.s-petrol { background: var(--petrol); color: var(--white); --muted: var(--sage); --line: #4a8480; --dot: var(--lime); }
.muted { color: var(--muted); }
.eyebrow { color: var(--dot); margin-bottom: var(--s4); display: flex; align-items: center; gap: var(--s2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin-top: var(--s4); color: var(--muted); }
.section-head .eyebrow { margin-top: 0; color: var(--dot); }

/* przyciski */
.btn {
  --bg: var(--lime); --fg: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-s); border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.s-light .btn, .s-white .btn, .s-sage .btn { --bg: var(--graphite); --fg: var(--lime); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.s-dark .btn-ghost, .s-deep .btn-ghost, .s-petrol .btn-ghost { --bg: transparent; --fg: var(--white); border-color: var(--n500); }
.s-dark .btn-ghost:hover, .s-deep .btn-ghost:hover { border-color: var(--white); }
.s-light .btn-ghost, .s-white .btn-ghost, .s-sage .btn-ghost { --bg: transparent; --fg: var(--graphite); border-color: var(--graphite); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-small); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* nagłówek */
.header { position: sticky; top: 0; z-index: 50; background: rgba(30, 34, 38, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line, #3D4348); color: var(--white); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s6); }
.logo img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s8); }
.nav ul { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: var(--fs-small); font-weight: 500; color: var(--n300); padding: 8px 2px; transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid #3D4348; color: var(--white); border-radius: var(--radius-s); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { padding-block: clamp(48px, 8vw, 96px) calc(var(--cut) + 24px); overflow: clip; position: relative; isolation: isolate; }
/* tło sekcji ciemnych (.fx): tylko odcienie grafitu i szarości; łagodne przejście z prawie niewidoczną półokrągłą linią podziału po przekątnej */
.fx { position: relative; isolation: isolate; overflow: clip; }
.fx.s-dark, .fx.s-deep { background: linear-gradient(to bottom left, #2d3338 0%, var(--graphite) 48%, var(--n900) 100%); }
.fx::before, .fx::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.fx::before { width: 100vmax; aspect-ratio: 1; right: -32vmax; top: -54vmax; background: radial-gradient(circle, #6C7379 0%, #4d545a 20%, var(--n700) 36%, #2f353a 54%, #282d32 65%, #262b30 67%); box-shadow: inset 0 0 0 1px rgba(200, 205, 208, .09); }
.fx::after { width: 76vmax; aspect-ratio: 1; left: -36vmax; bottom: -52vmax; background: radial-gradient(circle, #0f1113 0%, #14171a 40%, #181b1f 62%, #1a1e22 67%); box-shadow: inset 0 0 0 1px rgba(200, 205, 208, .05); }
.hero-grid { display: grid; gap: var(--s12); grid-template-columns: 1fr; align-items: center; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 .dot, #h-proces .dot { color: var(--lime); }
.hero .lead { color: var(--n300); margin: var(--s6) 0 var(--s8); }
.hero .label { color: var(--lime); margin-bottom: var(--s4); }
.proof { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.proof li { list-style: none; padding: var(--s4) 0; color: var(--n300); font-size: var(--fs-small); display: flex; gap: var(--s3); align-items: baseline; }
.proof li .label { color: var(--lime); margin: 0; }
.proof { margin: 0; padding: 0; }

/* hero: terminarz i telefon z animacją rezerwacji (dekoracja, aria-hidden) */
.stage { position: relative; aspect-ratio: 5 / 4.5; max-width: 540px; width: 100%; margin-inline: auto; margin-top: var(--s6); container-type: inline-size; }
.cal { position: absolute; left: 0; top: 0; width: 88%; background: var(--petrol); border: 1px solid #2f7a74; border-radius: var(--radius); padding: 3.2cqw 3.2cqw 3.6cqw; font-size: max(8px, 2.1cqw); color: var(--sage); }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4cqw; font-weight: 600; }
.cal-head span:last-child { font: 500 .85em var(--font-mono); opacity: .8; }
.cal-grid { display: grid; grid-template-columns: 3.4em repeat(5, 1fr); gap: .5em; }
.cal-grid > * { min-height: 4.3em; border-radius: .6em; display: grid; place-items: center; }
.cal .d, .cal .t { min-height: 0; font: 500 .85em var(--font-mono); opacity: .8; }
.cal .t { justify-items: start; }
.cal .c { border: 1px dashed #4a8480; }
.cal .c.b { border: 0; background: rgba(226, 236, 232, .22); }
.cal .c.s { border-color: #7fb3ad; transition: outline-color .3s, background-color .4s var(--ease), transform .4s var(--ease); outline: 2px solid transparent; outline-offset: 1px; }
.cal .c.s.hl { outline-color: var(--lime); }
.cal .c.s.mine { background: var(--lime); border-color: var(--lime); color: var(--graphite); font-weight: 700; transform: scale(1.06); }
.cal .c.s .me { opacity: 0; transition: opacity .3s .15s; }
.cal .c.s.mine .me { opacity: 1; }

.phone { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 9 / 16.5; container-type: inline-size; background: var(--n900); border: max(4px, 1.2cqw) solid #2b3036; border-radius: 10cqw; overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 2.6cqw; left: 50%; translate: -50% 0; width: 22cqw; height: 3.4cqw; background: #2b3036; border-radius: 3cqw; z-index: 2; }
.scr { position: absolute; inset: 0; padding: 12cqw 6cqw 6cqw; display: flex; flex-direction: column; gap: 3.4cqw; font-size: max(8px, 5.4cqw); color: var(--white); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; transform: none; }
.scr.done.on { transition-delay: .3s; }
.scr h5 { margin: 0; font: 800 1.15em/1.2 var(--font-display); }
.scr .sub { color: var(--n300); font-size: .8em; margin-top: -1cqw; }
.opt { display: flex; align-items: center; gap: 3cqw; background: #2b3036; border: 1.5px solid transparent; border-radius: 3.4cqw; padding: 3.4cqw 4cqw; color: var(--n300); transition: border-color .25s, color .25s, background-color .25s; }
.opt i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--n500); flex: none; transition: background-color .25s, transform .25s; }
.opt.sel { border-color: var(--lime); color: var(--white); }
.opt.sel i { background: var(--lime); transform: scale(1.4); }
.go { margin: auto auto 4cqw; width: 80%; text-align: center; font-weight: 700; font-size: .82em; padding: 2.6cqw; border-radius: 3cqw; background: #2b3036; color: var(--n500); transition: background-color .3s, color .3s, transform .15s; }
.go.ready { background: var(--lime); color: var(--graphite); }
.go.press { transform: scale(.96); }
.scr.done { align-items: center; justify-content: center; text-align: center; padding-top: 6cqw; gap: 2.6cqw; }
.ok-mark { width: 20cqw; height: 20cqw; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; transform: scale(.4); transition: transform .5s var(--ease) .1s; }
.scr.done.on .ok-mark { transform: none; }
.ok-mark svg { width: 56%; height: 56%; margin: 0; stroke: var(--graphite); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done .when { font: 800 1.35em/1.15 var(--font-display); }
.done .time { color: var(--lime); font: 500 1.15em var(--font-mono); }
.done .note { color: var(--n300); font-size: .78em; }
.tap { position: absolute; left: 0; top: 0; width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; border-radius: 50%; background: rgba(255, 255, 255, .28); border: 1.5px solid rgba(255, 255, 255, .7); z-index: 3; opacity: 0; transform: translate(50cqw, 130cqw); transition: transform .8s var(--ease), opacity .3s; pointer-events: none; }
.tap.show { opacity: 1; }
.tap.press { scale: .7; transition: transform .8s var(--ease), opacity .3s, scale .15s; }

/* ekosystem (jasna sekcja, bento) */
.bento { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
.card { min-width: 0; background: var(--sage); color: var(--graphite); border-radius: 16px; padding: var(--s8); display: flex; flex-direction: column; gap: var(--s3); transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .label { color: var(--olive); }
.card p { color: var(--n700); font-size: var(--fs-small); line-height: 1.6; }
.card .tag { margin-top: auto; padding-top: var(--s4); font-size: var(--fs-small); font-weight: 600; color: var(--petrol); }
.card.white { background: var(--white); border: 1px solid var(--n300); }
.card.dark { background: var(--graphite); color: var(--white); }
.card.dark .label, .card.dark .tag { color: var(--lime); } .card.dark p { color: var(--n300); }

/* ścieżka (proces) */
.path { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--s8); }
.path::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.path li { position: relative; padding-left: 40px; }
.path .pt { position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--line); transition: background-color .4s, transform .4s var(--ease); }
.path li.on .pt { background: var(--lime); transform: scale(1.25); }
.path .num { color: var(--n500); transition: color .4s; margin-bottom: 6px; }
.path li.on .num { color: var(--lime); }
.path h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); color: var(--lime); }
.path p { color: var(--n300); font-size: var(--fs-small); max-width: 34ch; }
.callout { margin-top: clamp(40px, 6vw, 72px); background: var(--sage); color: var(--graphite); border-radius: 16px; padding: var(--s8); display: grid; gap: var(--s6); align-items: center; }
.callout p { max-width: 62ch; }

/* tryby marki */
.modes { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.mode { background: var(--white); border-radius: 16px; padding: var(--s8); border: 1px solid #b9cbc4; }
.mode .label { color: var(--olive); margin-bottom: var(--s3); }
.mode h3 { margin-bottom: var(--s3); font-size: var(--fs-h4); }
.mode p { color: var(--n700); font-size: var(--fs-small); }
.rules { display: grid; gap: var(--s6); margin-top: var(--s12); padding-top: var(--s8); border-top: 1px solid var(--line); grid-template-columns: 1fr; }
.rules h4 { font-size: 1rem; margin-bottom: 6px; } .rules p { font-size: var(--fs-small); color: var(--n700); }

/* dla kogo */
.who { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.who .card { padding: clamp(24px, 4vw, 44px); gap: var(--s4); }
.who h3 { font-size: var(--fs-h3); }
.who p { font-size: 1rem; }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.who li { font-size: var(--fs-small); padding-left: 22px; position: relative; color: var(--n700); }
.who li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.card.dark li { color: var(--n300); } .card.dark li::before { background: var(--lime); }

/* obietnica */
.promise q { display: block; quotes: none; font: 800 var(--fs-h2)/1.2 var(--font-display); letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.promise q span { color: var(--lime); }
.pledges { display: grid; gap: 0; margin-top: var(--s12); grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.pledge { padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.pledge .label { color: var(--lime); margin-bottom: 8px; }
.pledge p { color: var(--n300); font-size: var(--fs-small); }
.pledge h3 { font-size: var(--fs-h4); margin-bottom: 6px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s6) 44px var(--s6) 0; font: 700 var(--fs-h4)/1.3 var(--font-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 500 1.75rem/1 var(--font-text); color: var(--petrol); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: var(--s6); color: var(--n700); max-width: 62ch; }

/* kontakt */
.contact-grid { display: grid; gap: var(--s12); grid-template-columns: 1fr; }
.contact-list { list-style: none; margin: var(--s8) 0 0; padding: 0; display: grid; gap: var(--s4); }
.contact-list a { font: 700 var(--fs-h4)/1.3 var(--font-display); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.contact-list a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
form.form { display: grid; gap: 10px; background: #262b30; border-radius: 16px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--line); }
.field { display: grid; gap: 4px; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--n300); }
.field input, .field select, .field textarea { width: 100%; font: 400 .9375rem var(--font-text); color: var(--white); background: var(--graphite); border: 1px solid var(--n500); border-radius: var(--radius-s); padding: 8px 12px; min-height: 40px; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--lime); }
.field .err { color: #ffb4a8; font-size: var(--fs-small); min-height: 0; }
.field [aria-invalid="true"] { border-color: #ff8a78; }
.field-row { display: grid; gap: 10px; grid-template-columns: 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--n300); }
.check input { width: 24px; height: 24px; margin-top: 0; accent-color: var(--lime); flex: none; }
.check a { color: var(--lime); }
form.form .btn { min-height: 40px; padding: 8px 20px; font-size: .9375rem; justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: var(--fs-small); min-height: 1.4em; }
.form-status.ok { color: var(--lime); } .form-status.bad { color: #ffb4a8; }
.form-status a { color: var(--white); }

/* stopka */
.footer { background: var(--n900); color: var(--n300); padding-block: var(--s12) var(--s8); font-size: var(--fs-small); border-top: 1px solid #2b3036; }
.footer-grid { display: grid; gap: var(--s8); grid-template-columns: 1fr; }
.footer img { height: 40px; width: 40px; border-radius: 8px; margin-bottom: var(--s4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer .copy { margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid #2b3036; color: #9AA1A6; text-align: center; }

/* podstrony (polityka prywatności, 404) */
.policy-hero { padding-block: clamp(56px, 8vw, 104px); }
.policy-hero h1 .dot { color: var(--lime); }
.policy-hero .eyebrow { color: var(--lime); }
.policy-hero .lead { color: var(--n300); margin-top: var(--s6); }
.prose { max-width: 720px; counter-reset: sec; }
.prose h2 { font-size: var(--fs-h3); margin: var(--s12) 0 var(--s3); counter-increment: sec; display: flex; align-items: baseline; gap: var(--s3); }
.prose h2::before { content: counter(sec, decimal-leading-zero); font: 500 var(--fs-label) var(--font-mono); letter-spacing: .08em; color: var(--olive); }
.prose p, .prose li { color: var(--n700); margin-bottom: var(--s3); }
.prose a:not(.btn) { color: var(--petrol); text-underline-offset: 3px; }
.prose .draft { padding: var(--s4) var(--s6); background: var(--sage); border-radius: var(--radius); color: var(--graphite); }
.prose .back { margin-top: var(--s12); }
.todo { background: #f3f7d4; box-shadow: inset 0 0 0 1px #c8d97a; border-radius: 4px; padding: 1px 6px; color: var(--graphite); }

/* strona 404: układ na pełną wysokość okna, stopka przy dole */
.page-full { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page-full .footer { margin-top: auto; }
.notfound { flex: 1; display: flex; align-items: center; padding-block: clamp(56px, 10vw, 128px); }
.notfound .eyebrow { color: var(--lime); }
.notfound h1 { max-width: 14ch; }
.notfound h1 .dot { color: var(--lime); }
.notfound .lead { color: var(--n300); margin: var(--s6) 0 var(--s8); }

/* telefon w nagłówku: ikona (numer tylko w menu mobilnym) */
.tel-ico { display: none; width: 44px; height: 44px; border: 1px solid #3D4348; border-radius: var(--radius-s); align-items: center; justify-content: center; color: var(--lime); margin-left: auto; }
.tel-ico svg, .nav-tel svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-tel { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; text-decoration: none; }
@media (min-width: 900px) {
  .nav-tel { width: 44px; height: 44px; justify-content: center; border: 1px solid #3D4348; border-radius: var(--radius-s); color: var(--lime); transition: border-color .2s; }
  .nav-tel:hover { border-color: var(--lime); }
  .nav-tel-txt { display: none; }
}
@media (max-width: 899px) {
  .tel-ico { display: inline-flex; margin-right: calc(-1 * var(--s3)); }
  .nav-tel { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid #2b3036; }
  .nav-tel svg { display: none; }
}

/* hero: mikrocopy pod przyciskami */
.micro { margin-top: var(--s4); font-size: var(--fs-small); color: var(--n300); max-width: 56ch; }
.micro + .micro { margin-top: var(--s2); }
.micro a { color: var(--white); text-underline-offset: 3px; }
.callout .btn { --bg: var(--graphite); --fg: var(--lime); }
.callout .btn-ghost { --bg: transparent; --fg: var(--graphite); border-color: var(--graphite); }

/* karty usług: efekt dla klienta */
.card .effect { color: var(--graphite); font-size: var(--fs-small); border-top: 1px solid rgba(30, 34, 38, .15); padding-top: var(--s3); margin-top: var(--s2); }
.card .effect b { font-weight: 700; }

/* ekrany dotykowe: pola i przycisk min. 44 px */
@media (pointer: coarse) {
  .field input, .field select, .field textarea { min-height: 44px; }
  form.form .btn { min-height: 44px; }
  .contact-list a { min-height: 44px; }
}

/* ==========================================================
   v02: elementy designu na poziom premium
   ========================================================== */

/* (3) punkt jako motyw przewodni: wskaźnik przewijania, znacznik aktywnego kroku, kursor przy przyciskach */
.dot-rail { position: fixed; right: 6px; top: 50%; translate: 0 -50%; height: 38vh; width: 2px; border-radius: 2px; background: rgba(128, 134, 140, .35); z-index: 40; pointer-events: none; display: none; }
.dot-rail i { position: absolute; left: 50%; top: calc(var(--sp, 0) * 100%); width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--graphite); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); translate: -50% -50%; }
@media (min-width: 960px) { .dot-rail { display: block; } }
.dot-cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--lime); border: 2px solid var(--graphite); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); z-index: 200; pointer-events: none; opacity: 0; scale: .4; transition: opacity .18s, scale .18s var(--ease); }
.dot-cursor.on { opacity: 1; scale: 1; }

/* (5) kontrast skali: duże liczby w mono */
.proof li .label { font-size: 1.5rem; font-weight: 500; letter-spacing: 0; line-height: 1; }
.pledges { counter-reset: pl; }
.pledge { counter-increment: pl; }
.pledge::before { content: counter(pl, decimal-leading-zero); content: counter(pl, decimal-leading-zero) / ""; display: block; font: 500 clamp(2rem, 4vw, 3rem)/1 var(--font-mono); color: var(--lime); margin-bottom: var(--s4); }
.path .num { font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 500; letter-spacing: 0; line-height: 1; margin-bottom: var(--s3); }

/* (4) ścieżka „Jak pracujemy”: linia wypełnia się limonką, kroki zmieniają opis */
.path { --p: 1; }
.path::after { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--lime); transform-origin: top; transform: scaleY(var(--p)); }
.path li.cur .pt::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--lime); animation: ring 1.8s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.no-js .path .pt { background: var(--lime); }
.js .path h3 { color: var(--n500); transition: color .3s; }
.js .path li.on h3 { color: var(--lime); }
.step-panel { display: none; }
@media (min-width: 960px) {
  .path::after { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 3px; transform-origin: left; transform: scaleX(var(--p)); }
}
.pin-track.is-pinned { height: 320vh; }
.pin-track.is-pinned .pin-stick { position: sticky; top: var(--header-h); min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; padding-block: var(--s6); }
.pin-track.is-pinned .section-head { margin-bottom: var(--s8); }
.pin-track.is-pinned .path li > p:not(.num) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pin-track.is-pinned .step-panel { display: grid; grid-template-columns: auto 1fr; gap: var(--s12); align-items: center; margin-top: var(--s12); padding-top: var(--s8); border-top: 1px solid var(--line); }
.sp-num { font: 500 clamp(4rem, 9vw, 8rem)/.9 var(--font-mono); color: var(--lime); letter-spacing: -.04em; }
.sp-body { transition: opacity .18s, translate .18s var(--ease); min-height: 9.5rem; }
.step-panel.swap .sp-body { opacity: 0; translate: 0 8px; }
.sp-title { font-size: clamp(1.75rem, 3vw, 2.75rem); letter-spacing: -.03em; font-weight: 800; color: var(--white); margin-bottom: var(--s3); }
.sp-text { color: var(--n300); font-size: var(--fs-body); max-width: 46ch; }

/* (6) bento z żywą zawartością: animowane fragmenty interfejsu (dekoracja, aria-hidden) */
.frag { height: 132px; border-radius: 12px; background: var(--graphite); position: relative; overflow: hidden; color: var(--white); font-size: 11px; line-height: 1.2; margin-bottom: var(--s2); }
.card.dark .frag { background: #262b30; }
.js .card.reveal:not(.in) .frag * { animation-play-state: paused; }
.f-web .bar { display: flex; gap: 5px; padding: 9px 10px; border-bottom: 1px solid #3D4348; }
.f-web .bar i { width: 7px; height: 7px; border-radius: 50%; background: #4d545a; }
.f-web .pg { padding: 12px 14px; display: grid; gap: 7px; }
.f-web b { display: block; height: 8px; border-radius: 4px; background: #4d545a; width: var(--w); animation: type 6s var(--ease) infinite; }
.f-web .l1 { --w: 78%; height: 12px; background: var(--white); }
.f-web .l2 { --w: 58%; animation-delay: .25s; }
.f-web .l3 { --w: 66%; animation-delay: .5s; }
.f-web .cta { justify-self: start; margin-top: 4px; padding: 6px 12px; border-radius: 6px; background: var(--lime); color: var(--graphite); font-weight: 700; animation: pop 6s var(--ease) infinite; }
@keyframes type { 0% { width: 0; } 22%, 88% { width: var(--w); } 100% { width: 0; } }
@keyframes pop { 0%, 30% { opacity: 0; translate: 0 4px; } 40%, 88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 4px; } }
.f-app { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px; }
.f-app .bars { display: flex; align-items: flex-end; gap: 5px; }
.f-app .bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #4a8480; animation: grow 3.6s ease-in-out infinite; }
.f-app .bars i:nth-child(4) { background: var(--lime); }
.f-app .bars i:nth-child(2) { animation-delay: -.6s; } .f-app .bars i:nth-child(3) { animation-delay: -1.2s; } .f-app .bars i:nth-child(4) { animation-delay: -1.8s; } .f-app .bars i:nth-child(5) { animation-delay: -2.4s; }
@keyframes grow { 0%, 100% { height: calc(var(--h) * .55); } 50% { height: var(--h); } }
.f-app .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: center; }
.f-app .rows li { display: flex; justify-content: space-between; gap: 8px; background: #262b30; border-radius: 6px; padding: 6px 9px; color: var(--n300); }
.f-app .rows em { font: 500 9px var(--font-mono); font-style: normal; color: var(--lime); }
.f-app .rows .new { animation: rowin 5s var(--ease) infinite; }
.f-app .rows .new em { background: var(--lime); color: var(--graphite); padding: 1px 6px; border-radius: 4px; }
@keyframes rowin { 0%, 8% { opacity: 0; translate: 0 8px; } 20%, 88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 8px; } }
.f-mob { display: grid; place-items: end center; }
.f-mob .ph { position: relative; width: 138px; height: 118px; background: var(--n900); border: 3px solid #3D4348; border-bottom: 0; border-radius: 16px 16px 0 0; padding: 10px 8px; }
.f-mob .notif { background: #2b3036; border-radius: 8px; padding: 7px 8px; font-size: 9px; color: var(--n300); animation: notif 5.5s var(--ease) infinite; }
.f-mob .notif b { display: block; font: 500 8px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); margin-bottom: 2px; }
.f-mob .btn-m { position: absolute; left: 8px; right: 8px; bottom: 10px; background: var(--lime); color: var(--graphite); text-align: center; border-radius: 6px; padding: 6px; font-weight: 700; font-size: 10px; animation: tap 5.5s var(--ease) infinite; }
@keyframes notif { 0%, 10% { opacity: 0; translate: 0 -14px; } 22%, 84% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -14px; } }
@keyframes tap { 0%, 55% { scale: 1; } 62% { scale: .94; } 70%, 100% { scale: 1; } }
.f-brand { display: flex; align-items: center; gap: 10px; padding: 0 20px; min-width: 0; }
.f-brand b { flex: none; }
.f-brand i { flex: 0 1 44px; min-width: 20px; aspect-ratio: 1; height: auto; border-radius: 50%; background: var(--sage); animation: swatch 6s linear infinite; }
.f-brand i:nth-child(2) { animation-delay: -1.5s; } .f-brand i:nth-child(3) { animation-delay: -3s; } .f-brand i:nth-child(4) { animation-delay: -4.5s; }
.f-brand b { margin-left: auto; font: 800 40px/1 var(--font-display); letter-spacing: -.03em; animation: fam 6s step-end infinite; }
@keyframes swatch { 0%, 100% { background: var(--petrol); } 25% { background: var(--sage); } 50% { background: var(--lime); } 75% { background: #4a8480; } }
@keyframes fam { 0% { font-family: "Manrope", sans-serif; font-weight: 800; } 33% { font-family: "Inter", sans-serif; font-weight: 500; } 66% { font-family: "JetBrains Mono", monospace; font-weight: 500; } }
.f-care { list-style: none; margin: 0 0 var(--s2); padding: 14px 16px; display: grid; gap: 9px; align-content: center; }
.f-care li { display: flex; align-items: center; gap: 9px; color: var(--n300); animation: careIn 6s var(--ease) infinite; }
.f-care li:nth-child(2) { animation-delay: .5s; } .f-care li:nth-child(3) { animation-delay: 1s; }
.f-care i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.f-care span { margin-left: auto; font: 500 9px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); }
@keyframes careIn { 0% { opacity: 0; translate: -8px 0; } 12%, 86% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: -8px 0; } }

/* (7) mikrointerakcje 150–250 ms (wyłączane przez prefers-reduced-motion) */
.btn { transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s, box-shadow .18s; }
.btn:hover { box-shadow: 0 10px 22px -10px rgba(200, 240, 60, .55); }
.s-light .btn:hover, .s-white .btn:hover, .s-sage .btn:hover, .callout .btn:hover { box-shadow: 0 10px 22px -10px rgba(30, 34, 38, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.s-light .btn-ghost:hover, .s-white .btn-ghost:hover, .s-sage .btn-ghost:hover, .callout .btn-ghost:hover { background: rgba(30, 34, 38, .07); }
.nav ul a { position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 2px; border-radius: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.tel-ico, .nav-tel { transition: border-color .18s, color .18s, background-color .18s; }
.tel-ico:hover { border-color: var(--lime); }
.card { transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.card:hover { box-shadow: 0 18px 32px -20px rgba(30, 34, 38, .45); }
.card a.tag::after { content: " \2192"; display: inline-block; transition: transform .2s var(--ease); }
.card a.tag:hover::after { transform: translateX(4px); }
.mode { transition: transform .22s var(--ease), border-color .2s, box-shadow .22s var(--ease); }
.mode:hover { transform: translateY(-3px); border-color: var(--petrol); box-shadow: 0 14px 28px -20px rgba(30, 34, 38, .4); }
.pledge h3 { transition: color .18s; }
.pledge:hover h3 { color: var(--lime); }
.faq summary { transition: color .18s, padding-left .2s var(--ease); }
.faq summary:hover { color: var(--petrol); padding-left: 6px; }
.faq summary::after { transition: rotate .2s var(--ease); }
.field input, .field select, .field textarea { transition: border-color .15s, outline-color .15s, background-color .15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--n300); }
.check input { transition: scale .15s var(--ease); }
.check input:active { scale: .88; }
.contact-list a::before { transition: scale .2s var(--ease); }
.contact-list a:hover::before { scale: 1.5; }
.footer a { transition: color .18s; }
.opt { transition: border-color .2s, color .2s, background-color .2s; }

/* (8) przejścia między sekcjami: półokrągłe cięcia zamiast twardych linii.
   Jasna sekcja wypycha swój kolor łukiem w sąsiednią, ciemną, więc granica jest miękka i spójna. */
.round-top, .round-bot { position: relative; z-index: 1; }
.round-top::before, .round-bot::after { content: ""; position: absolute; left: 0; right: 0; height: var(--cut); background: inherit; pointer-events: none; }
.round-top::before { bottom: calc(100% - 1px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.round-bot::after { top: calc(100% - 1px); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* pojawianie się treści */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .modes, .who { grid-template-columns: repeat(3, 1fr); }
  .who { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento .c2 { grid-column: span 2; } .bento .c3 { grid-column: span 3; } .bento .c6 { grid-column: span 6; }
  .rules { grid-template-columns: repeat(3, 1fr); }
  .pledges { grid-template-columns: 1fr 1fr; column-gap: var(--s12); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .callout { grid-template-columns: 1fr auto; }
  .proof { grid-template-columns: repeat(3, 1fr); column-gap: var(--s8); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
  /* ścieżka pozioma */
  .path { grid-template-columns: repeat(5, 1fr); gap: var(--s6); }
  .path::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .path li { padding-left: 0; padding-top: 32px; }
  .path .pt { top: 0; }
}
@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--graphite); flex-direction: column; align-items: stretch; gap: var(--s6); padding: var(--s6); border-bottom: 1px solid #3D4348; translate: 0 -8px; opacity: 0; visibility: hidden; transition: opacity .25s, translate .25s var(--ease), visibility .25s; }
  .nav.open { translate: 0 0; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid #2b3036; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
