/* ==========================================================================
   Jozefczak.pl — style.css
   Biuro Rachunkowe Joanna Józefczak. Czysty CSS, jasny motyw, niebieskie akcenty.
   ========================================================================== */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/Manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/Manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/SourceSans3-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/SourceSans3-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/SourceSans3-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/SourceSans3-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/PlusJakartaSans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/PlusJakartaSans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeny ---------- */
:root {
  --bg: #f6f8fb;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --line: #e4e9f1;
  --line-strong: #cfd7e4;
  --text: #14213d;
  --text-2: #475268;
  --muted: #7a8398;
  --accent: #1f5bd8;
  --accent-hi: #2f6fe8;
  --accent-deep: #163f99;
  --accent-soft: #e6eefc;
  --accent-tint: #f2f6ff;
  --gold: #c08a2a;
  --gold-soft: #fbf3e2;
  --ok: #1e9e6a;
  --ok-soft: #e4f6ee;

  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Plus Jakarta Sans", "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --header-h: 76px;
  --shadow: 0 18px 40px -22px rgba(20, 33, 61, 0.28);
  --shadow-sm: 0 6px 18px -10px rgba(20, 33, 61, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Tło: delikatne plamy koloru u góry ---------- */
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 5%, rgba(47, 111, 232, 0.14), transparent 70%),
    radial-gradient(45% 40% at 10% 15%, rgba(192, 138, 42, 0.08), transparent 70%);
}

/* ---------- Narzędzia ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 100; padding: 0.6rem 1rem; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.accent { color: var(--accent); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 1.4rem; height: 2px; border-radius: 2px; background: var(--accent); }
.section-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--text-2); font-size: 1.2rem; max-width: 38rem; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1.4rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 91, 216, 0.6); }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 14px 30px -10px rgba(31, 91, 216, 0.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.65rem 1.05rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(246, 248, 251, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.9); box-shadow: 0 8px 24px -20px rgba(20, 33, 61, 0.3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand-name { display: grid; line-height: 1.05; gap: 0.15rem; }
.brand-name strong { font-family: var(--font-brand); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--text); }
.brand-name span { font-family: var(--font-brand); font-size: 0.64rem; font-weight: 600; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a { padding: 0.55rem 0.85rem; border-radius: 999px; color: var(--text-2); font-family: var(--font-display); font-size: 0.93rem; font-weight: 600; transition: color 0.2s, background 0.2s; }
.nav a:hover, .nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.header-tools { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; max-width: 13ch; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.16em; z-index: -1; background: var(--accent-soft); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline 0.9s var(--ease-out) 0.6s forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.3rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 0.8rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 600; color: var(--text-2); }
.hero-facts svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; }
.hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 0.6s var(--ease-out) forwards; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; } .hero-copy > :nth-child(2) { animation-delay: 0.15s; } .hero-copy > :nth-child(3) { animation-delay: 0.25s; } .hero-copy > :nth-child(4) { animation-delay: 0.35s; } .hero-copy > :nth-child(5) { animation-delay: 0.45s; }
.hero-art { opacity: 0; animation: rise 0.9s var(--ease-out) 0.3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Pasek zaufania ---------- */
.trust { padding: 0 0 clamp(1rem, 3vw, 2rem); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust li { display: flex; gap: 0.9rem; align-items: center; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.trust .icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.trust .icon svg { width: 22px; height: 22px; }
.trust strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.trust span { font-size: 0.9rem; color: var(--muted); }

/* ---------- Sekcje ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* ---------- O nas: historia ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story .section-head { margin-bottom: 1.6rem; }
.story-text { display: grid; gap: 1rem; color: var(--text-2); font-size: 1.12rem; }
.story-text strong { color: var(--text); }
.timeline { position: relative; display: grid; gap: 1.2rem; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--accent)); border-radius: 2px; }
.tl { position: relative; padding: 1.3rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tl::before { content: ""; position: absolute; left: -2.2rem; top: 1.5rem; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 5px solid var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.tl.now::before { border-color: var(--accent); }
.tl .when { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.tl.now .when { color: var(--accent); }
.tl h3 { font-size: 1.25rem; margin: 0.35rem 0 0.4rem; }
.tl p { color: var(--text-2); font-size: 1.02rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.value { padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--accent-tint); border: 1px solid var(--accent-soft); }
.value h3 { font-size: 1.1rem; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.value h3 svg { width: 20px; height: 20px; color: var(--accent); }
.value p { color: var(--text-2); font-size: 1rem; }

/* ---------- Usługi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service { display: grid; gap: 0.75rem; align-content: start; padding: 1.6rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.service .icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.22rem; }
.service p { color: var(--text-2); font-size: 1.02rem; }
.service ul { display: grid; gap: 0.3rem; margin-top: 0.2rem; }
.service li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.98rem; color: var(--text-2); }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.6rem; border-radius: 50%; background: var(--accent); }

/* ---------- Dla kogo ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.audience .section-head { margin-bottom: 1.2rem; }
.audience-note { padding: 1.2rem 1.4rem; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-2); font-size: 1.05rem; }
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.client { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.client .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.client .icon svg { width: 20px; height: 20px; }
.client h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.client p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Jak pracujemy ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 1.1rem; padding-top: 0.15rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.step p { color: var(--text-2); font-size: 1.02rem; }
.modern { padding: clamp(1.4rem, 3vw, 2rem); background: var(--text); color: #e9edf7; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.modern::before { content: ""; position: absolute; inset: auto -20% -50% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(47, 111, 232, 0.55), transparent 70%); pointer-events: none; }
.modern .eyebrow { color: #9dbcff; }
.modern .eyebrow::before { background: #9dbcff; }
.modern h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0.8rem 0 0.6rem; }
.modern > p { color: #c3cbe0; font-size: 1.05rem; }
.modern ul { display: grid; gap: 0.7rem; margin-top: 1.3rem; position: relative; }
.modern li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.02rem; color: #e9edf7; }
.modern li svg { width: 20px; height: 20px; flex: none; color: #7fd6ac; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-list { display: grid; gap: 0.7rem; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s; }
.faq-list summary .plus svg { width: 12px; height: 12px; }
.faq-list details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-list details p { padding: 0 1.3rem 1.2rem; color: var(--text-2); font-size: 1.02rem; }
.faq-list details p a { color: var(--accent); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea { width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 1.05rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-2); }
.consent input { margin-top: 0.3rem; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.3rem; }
.form-foot small { color: var(--muted); font-size: 0.9rem; }
.form-note { display: none; padding: 0.9rem 1rem; border-radius: var(--radius-sm); border: 1px solid; font-size: 1rem; }
.form-note.is-ok { display: block; border-color: #b7e4cf; background: var(--ok-soft); color: #14603f; }
.form-note.is-err { display: block; border-color: #f0d59a; background: #fdf5e3; color: #7a5410; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.card-id { display: grid; gap: 1.2rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-id h3 { font-size: 1.3rem; }
.card-id .sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
.card-id dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; margin: 0; font-size: 1rem; }
.card-id dt { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 0.25rem; }
.card-id dd { margin: 0; color: var(--text-2); }
.card-id dd a { color: var(--accent); font-weight: 600; }
.card-id .hint { padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--accent-tint); border: 1px solid var(--accent-soft); font-size: 0.98rem; color: var(--text-2); display: flex; gap: 0.6rem; }
.card-id .hint svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; background: var(--surface); }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.foot-brand { display: grid; gap: 0.6rem; }
.foot-brand p { color: var(--muted); font-size: 0.98rem; max-width: 34rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.95rem; font-weight: 600; color: var(--text-2); }
.foot-nav a:hover { color: var(--accent); }
.foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js .reveal-group.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.js .reveal-group.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.js .reveal-group.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.js .reveal-group.is-visible > :nth-child(5) { transition-delay: 0.32s; }
.js .reveal-group.is-visible > :nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; } }

/* ---------- Do góry ---------- */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--ease-out), border-color 0.2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
.to-top svg { width: 16px; height: 16px; }

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 45; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 1rem var(--gutter) 2rem; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s; border-top: 1px solid var(--line); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 1.4rem; padding: 0.8rem 0.4rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a:hover, .nav a.is-active { background: transparent; color: var(--accent); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero h1 { max-width: 16ch; }
  .story, .audience, .approach, .faq, .contact { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
}
@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .hero { padding-top: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust ul { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .card-id dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .card-id dt { margin-top: 0.5rem; }
}
@media (max-width: 400px) { .brand-name strong { font-size: 1.15rem; } }
body.nav-open { overflow: hidden; }
