/* =========================================================
   Vinylboard – design system
   Wspólny dla: strony publicznej, katalogu /agencje/ i panelu /admin/
   ========================================================= */
:root {
    --bg: #f7f7f9;
    --surface: #ffffff;
    --surface-2: #fbfbfd;
    --border: #e9e9ef;
    --border-strong: #dcdce6;
    --text: #0e0e14;
    --text-2: #3b3c48;
    --muted: #6a6c7b;
    --faint: #9a9caa;
    --accent: #5b3cf5;
    --accent-2: #7c5cff;
    --accent-ink: #4325d6;
    --accent-soft: #f1edff;
    --accent-line: #ddd4ff;
    --ok: #0f9d58;
    --ok-soft: #e8f7ef;
    --err: #d93848;
    --err-soft: #fdecee;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 16, 40, .05);
    --shadow: 0 1px 2px rgba(16, 16, 40, .04), 0 8px 24px -8px rgba(40, 30, 120, .10);
    --shadow-lg: 0 2px 4px rgba(16, 16, 40, .04), 0 24px 60px -16px rgba(60, 40, 180, .22);
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 16px/1.6 var(--font); letter-spacing: -.005em;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- przyciski / chipy ---------- */
.btn {
    --h: 44px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
    font: 600 15px/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn--primary {
    color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent));
    box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(91, 60, 245, .7);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -8px rgba(91, 60, 245, .8); }
.btn--ghost, .btn--dark { background: var(--surface); border-color: var(--border-strong); color: var(--text); box-shadow: var(--shadow-sm); }
.btn--ghost:hover, .btn--dark:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.btn--green { color: #fff; background: linear-gradient(180deg, #17b26a, #0f9d58); box-shadow: 0 6px 16px -8px rgba(15,157,88,.7); }
.btn--green:hover { box-shadow: 0 8px 18px -8px rgba(15,157,88,.8); }
.btn--danger { color: #fff; background: var(--err); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px;
    border-radius: 11px; border: 1px solid var(--border-strong); background: var(--surface);
    color: var(--text-2); font: 500 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--accent-line); color: var(--text); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 14px -8px rgba(91,60,245,.8); }
.chip--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.chip__n { font: 500 12px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--bg); color: var(--muted); }
.chip.is-active .chip__n { background: rgba(255,255,255,.18); color: #fff; }

/* etykieta nad nagłówkiem: mono, wielkie litery */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px;
    border-radius: 8px; background: var(--surface); border: 1px solid var(--accent-line);
    color: var(--accent-ink); font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.badge { white-space: nowrap; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); font: 500 12.5px/1 var(--mono); border: 1px solid var(--accent-line); }

/* ---------- nawigacja ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,247,249,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.logo__word { font: 700 21px/1 var(--font); letter-spacing: -.04em; }
.nav__links { display: flex; gap: 4px; margin-right: auto; padding: 4px; }
.nav__link { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14.5px; text-decoration: none; transition: color .15s, background .15s; }
.nav__link:hover, .nav__link.is-active { color: var(--text); background: rgba(14,14,20,.05); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; padding: 0 11px; }
.nav__burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; transition: transform .2s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero (wyrównany do lewej) ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px; isolation: isolate; }
.hero::before { /* siatka znikająca ku krawędziom */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(91,60,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,60,245,.07) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 55%, transparent 95%);
            mask-image: linear-gradient(100deg, transparent 10%, #000 55%, transparent 95%);
}
.hero::after { /* jedna miękka poświata za billboardem */
    content: ""; position: absolute; z-index: -2; width: 620px; height: 460px; right: -80px; top: -60px;
    border-radius: 50%; background: radial-gradient(closest-side, rgba(124,92,255,.28), rgba(124,92,255,0)); pointer-events: none;
}
.hero__in > * { max-width: 780px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); letter-spacing: -.045em; line-height: 1.04; margin: 22px 0 18px; }
.grad { background: linear-gradient(100deg, #4325d6 10%, #8a5cff 60%, #6d7cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(16px, 1.9vw, 18.5px); color: var(--muted); max-width: 600px; line-height: 1.6; }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; }
.stats span { display: flex; flex-direction: column; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--border-strong); color: var(--muted); font-size: 13.5px; }
.stats span:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats b { color: var(--text); font: 600 28px/1.1 var(--font); letter-spacing: -.04em; }

/* billboard w hero */
.board { position: relative; padding: 0 0 40px 34px; }
.board__panel { position: relative; aspect-ratio: 7 / 3; border-radius: 14px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden;
    background: linear-gradient(135deg, #7c5cff, #5b3cf5 55%, #4325d6); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--border), 0 30px 60px -20px rgba(60,40,180,.45); }
.board__panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; }
.board__panel strong { position: relative; display: block; font: 700 clamp(22px, 3vw, 36px)/1.05 var(--font); letter-spacing: -.04em; }
.board__panel small { position: relative; display: block; margin-top: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.board__legs { display: flex; justify-content: space-between; padding: 0 18%; margin-top: 7px; }
.board__legs i { width: 10px; height: 46px; border-radius: 0 0 4px 4px; background: linear-gradient(180deg, #c9c9d6, #e9e9ef); }
.board__dim { position: absolute; font: 500 12px/1 var(--mono); color: var(--faint); }
.board__dim--w { left: 34px; right: 0; bottom: 6px; text-align: center; border-top: 1px dashed var(--border-strong); padding-top: 8px; }
.board__dim--h { left: 0; top: 0; height: calc(100% - 92px); writing-mode: vertical-rl; transform: rotate(180deg); border-right: 1px dashed var(--border-strong); padding-right: 8px; display: flex; align-items: center; justify-content: center; }

/* ---------- sekcje ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 560px; margin-top: 10px; font-size: 16.5px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-ink); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.kicker svg { width: 16px; height: 16px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- mapa ---------- */
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.map { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(180deg, #fff, #faf9ff); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.map__stage { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background:
    radial-gradient(ellipse at 30% 20%, rgba(124,92,255,.10), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(79,125,255,.08), transparent 55%), #fcfcff; }
.map__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,14,20,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(14,14,20,.035) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__land { stroke: none; }
.map__pow path { fill: none; stroke: #5b3cf5; stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map__edge { fill: none; stroke: #5b3cf5; stroke-opacity: .55; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map__pins { position: absolute; inset: 0; }
.pin-anchor { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #fff; z-index: 1; transition: opacity .2s; pointer-events: none; }
.pin-leader { position: absolute; height: 1.5px; margin-top: -.75px; background: rgba(91,60,245,.6); opacity: 0; transform-origin: 0 50%; z-index: 1; pointer-events: none; border-radius: 2px; }
.pin { cursor: default; position: absolute; transform: translate(-50%, -50%); text-decoration: none; color: var(--text); z-index: 2; }
.pin__dot {
    position: relative; display: grid; place-items: center; width: var(--s, 34px); height: var(--s, 34px); border-radius: 50%;
    background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font: 600 13px/1 var(--mono);
    box-shadow: 0 0 0 4px rgba(255,255,255,.95), 0 8px 18px -4px rgba(67,37,214,.55); transition: transform .2s ease;
}
.pin__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.8s ease-out infinite; }
.pin:nth-child(3n) .pin__dot::after { animation-delay: .9s; }
.pin:nth-child(3n+1) .pin__dot::after { animation-delay: 1.8s; }
@keyframes ping { 0% { transform: scale(.9); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.pin__label {
    position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
    padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.94); border: 1px solid var(--border);
    font: 600 12.5px/1.2 var(--font); letter-spacing: -.01em; white-space: nowrap; box-shadow: var(--shadow-sm); pointer-events: none;
    transition: opacity .2s;
}
.pin[data-side="left"] .pin__label { left: auto; right: calc(100% + 8px); }
.pin[data-side="top"] .pin__label { left: 50%; top: auto; bottom: calc(100% + 6px); transform: translateX(-50%); }
.pin[data-side="bottom"] .pin__label { left: 50%; top: calc(100% + 6px); transform: translateX(-50%); }
.pin[data-side="none"] .pin__label { opacity: 0; }
.pin:hover, .pin:focus-visible, .pin.is-hover { z-index: 5; }
.pin:hover .pin__dot, .pin:focus-visible .pin__dot, .pin.is-hover .pin__dot { transform: scale(1.12); }
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.is-hover .pin__label { opacity: 1; border-color: var(--accent-line); color: var(--accent-ink); }
.pin.is-hl .pin__dot { background: linear-gradient(180deg, #ff8a4c, #f0532e); box-shadow: 0 0 0 4px #fff, 0 8px 18px -4px rgba(240,83,46,.55); }
.pin.is-hl .pin__dot::after { border-color: #f0532e; }
.pin--soon { z-index: 1; cursor: default; }
.pin--soon .pin__dot { --s: 10px; width: 10px; height: 10px; background: #fff; border: 2px solid #b8b0e6; box-shadow: none; }
.pin--soon .pin__dot::after { display: none; }
.pin--soon .pin__label { opacity: 0; font-weight: 500; color: var(--muted); }
.pin--soon:hover .pin__label { opacity: 1; color: var(--muted); }
.map__inset { position: absolute; right: 14px; bottom: 14px; width: 120px; height: auto; padding: 8px; background: rgba(255,255,255,.85); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); transition: opacity .3s; }
.map__inset .map__inset-land { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 6; stroke-opacity: .5; }
.map__inset rect { fill: rgba(91,60,245,.12); stroke: var(--accent); stroke-width: 8; }
.map.is-full .map__inset { opacity: 0; }
.map__tools { position: absolute; left: 24px; top: 24px; display: flex; gap: 6px; background: rgba(255,255,255,.9); padding: 4px; border-radius: 12px; border: 1px solid var(--border); z-index: 6; }
.map__tools .chip { border-color: transparent; background: transparent; }
.map__tools .chip.is-active { background: var(--text); border-color: var(--text); box-shadow: none; }
.map__legend { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 9px; border: 1px solid var(--border); }
.map__legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg--on { background: var(--accent); }
.lg--soon { border: 2px solid #b8b0e6; background: #fff; }

.city-list { padding: 8px; display: flex; flex-direction: column; }
.city-list__head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 14px 10px; }
.city-list__head h3 { font-size: 16px; }
.city-list__head span { font-size: 13px; color: var(--muted); }
.city-list ol { list-style: none; margin: 0; padding: 0; overflow: auto; }
.city-row { cursor: default; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.city-row:hover, .city-row.is-hover { background: var(--accent-soft); }
.city-row__name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.city-row__n { font: 500 13px/1.6 var(--mono); color: var(--accent-ink); }
.city-row__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.city-row__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-2), #6d7cff); }
.city-list__foot { margin-top: auto; padding: 12px 14px 8px; border-top: 1px dashed var(--border); font-size: 13.5px; color: var(--muted); }
.city-list__foot a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }

/* ---------- formaty ---------- */
.formats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.format { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); box-shadow: var(--shadow-sm); }
.format__ico { width: 34px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }

/* ---------- o nas / feature grid ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.about__text h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; margin: 14px 0 18px; }
.about__text p { color: var(--text-2); font-size: 17px; margin-bottom: 14px; }
.about__text p.muted { color: var(--muted); font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); }
.checks li b { color: var(--text); font-weight: 600; display: block; }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { padding: 22px; position: relative; overflow: hidden; }
.feat__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); margin-bottom: 16px; }
.feat__ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 16.5px; margin-bottom: 6px; }
.feat p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feat--wide { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; background: linear-gradient(120deg, #1a1530, #2b1f6b 60%, #3b2aa8); color: #fff; border-color: transparent; }
.feat--wide p { color: rgba(255,255,255,.72); }
.feat--wide .feat__ico { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; margin: 0; flex: none; }
.feat--wide .big { font: 600 40px/1 var(--font); letter-spacing: -.04em; margin-left: auto; text-align: right; }
.feat--wide .big small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ---------- kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px; position: relative; }
.step__n { font: 500 13px/1 var(--mono); color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; padding: 6px 8px; display: inline-block; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 38px; width: 10px; height: 10px; border-top: 2px solid var(--accent-line); border-right: 2px solid var(--accent-line); transform: rotate(45deg); }

/* ---------- CTA / dostęp ---------- */
.access { position: relative; overflow: hidden; border-radius: 26px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    background: linear-gradient(135deg, #f4f0ff 0%, #ffffff 45%, #eef3ff 100%); border: 1px solid var(--accent-line); box-shadow: var(--shadow-lg); isolation: isolate; }
.access::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91,60,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,60,245,.07) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.access h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.035em; margin: 16px 0 14px; }
.access p { color: var(--text-2); }
.access .checks { margin-top: 20px; }
.form { padding: 26px; display: grid; gap: 14px; }
.form h3 { font-size: 17px; }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field small, .hint { font-size: 12.5px; color: var(--faint); }
.input, .form input[type="text"], .form input[type="email"], .form input[type="number"], .form input[type="password"], .form select, .form textarea {
    width: 100%; height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--surface);
    font: 400 15px/1.2 var(--font); color: var(--text); transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.form textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input, .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a6c7b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,60,245,.14); }
.form input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--border-strong); border-radius: 11px; background: var(--surface-2); font: 14px var(--font); color: var(--muted); cursor: pointer; }
.form input[type="file"]::file-selector-button { margin-right: 12px; height: 32px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface); font: 600 13px var(--font); color: var(--text); cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.city-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.city-checks label { position: relative; }
.city-checks input { position: absolute; opacity: 0; pointer-events: none; }
.city-checks span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: all .15s; user-select: none; }
.city-checks input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.city-checks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__note { font-size: 12.5px; color: var(--faint); text-align: center; }
.form__note a { color: var(--accent-ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--accent-line); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--font); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- podstrona miasta / lokalizacje ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--faint); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 720px; margin: 34px 0 0; }
.kpi { padding: 18px 20px; text-align: left; }
.kpi b { display: block; font: 600 30px/1.1 var(--font); letter-spacing: -.04em; }
.kpi span { font-size: 13.5px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.slot { overflow: hidden; }
.slot__img { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background:
    repeating-linear-gradient(135deg, rgba(91,60,245,.06) 0 10px, transparent 10px 20px), linear-gradient(135deg, #f1edff, #eaf0ff); border-bottom: 1px solid var(--border); }
.slot__img svg { width: 34px; height: 34px; color: var(--accent); opacity: .7; }
.slot__img .badge { position: absolute; left: 12px; top: 12px; background: #fff; }
.slot__body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.slot__body h3 { font-size: 15.5px; }
.slot__body p { font-size: 13.5px; color: var(--muted); }
.slot__body a { font-size: 13.5px; font-weight: 600; color: var(--accent-ink); text-decoration: none; margin-top: 4px; }
.prose { max-width: 760px; margin: 0 auto; color: var(--text-2); font-size: 17px; }
.prose h2 { font-size: 26px; margin: 34px 0 12px; color: var(--text); }
.prose p { margin-bottom: 14px; }
.near { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.near a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; text-decoration: none; }
.near a:hover { border-color: var(--accent-line); }
.near b { font-size: 15px; }
.near small { display: block; color: var(--muted); font-size: 13px; }
.near .arrow { color: var(--accent); font-size: 18px; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.loc { padding: 22px; text-decoration: none; display: grid; gap: 12px; transition: border-color .2s; }
.loc:hover { border-color: var(--accent-line); }
.loc__top { display: flex; justify-content: space-between; align-items: center; }
.loc h2, .loc h3 { font-size: 19px; }
.loc p { font-size: 14px; color: var(--muted); }
.loc__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 12.5px; padding: 4px 9px; border-radius: 7px; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); }

/* ---------- stopka ---------- */
.foot { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 26px; margin-top: 40px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0; max-width: 360px; }
.foot__mail { display: block; font-weight: 600; text-decoration: none; color: var(--accent-ink); margin-bottom: 4px; }
.foot__col h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 14px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__col a { text-decoration: none; color: var(--text-2); font-size: 14.5px; }
.foot__col a:hover { color: var(--accent-ink); }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 22px; font-size: 13px; color: var(--faint); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .pin__dot::after { animation: none; } html { scroll-behavior: auto; } }

/* =========================================================
   KATALOG /agencje/ i PANEL /admin/
   ========================================================= */
.app-bar { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--border); }
.app-bar__in { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 16px; }
.app-bar__title { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.app-bar__title::before { content: ""; width: 1px; height: 22px; background: var(--border-strong); }
.app-bar__actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.app { max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px; }
.app-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 34px 34px 28px; margin-bottom: 22px; isolation: isolate;
    background: linear-gradient(135deg, #f4f0ff, #ffffff 50%, #eef3ff); border: 1px solid var(--accent-line); }
.app-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91,60,245,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,60,245,.07) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.app-hero h1 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.035em; margin: 14px 0 8px; }
.app-hero p { color: var(--muted); max-width: 620px; }
.app-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.filters__label { align-self: center; font-size: 13px; color: var(--faint); font-weight: 600; margin-right: 4px; white-space: nowrap; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.nos { display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s; }
.nos:hover { border-color: var(--accent-line); }
.nos__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; margin: 6px 6px 0; border-radius: 11px; }
.nos__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nos__img .badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); }
.nos__m2 { position: absolute; right: 10px; top: 10px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 7px; background: rgba(14,14,20,.78); color: #fff; font: 500 12.5px/1 var(--mono); }
.nos__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nos__body h3 { font-size: 17px; letter-spacing: -.02em; }
.nos__spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; margin: 0; }
.nos__spec dt { color: var(--faint); font-weight: 500; }
.nos__spec dd { margin: 0; color: var(--text-2); }
.nos__poi { font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.nos__poi b { color: var(--text-2); font-weight: 600; }
.nos__cta { margin-top: auto; }
.empty { padding: 48px; text-align: center; color: var(--muted); }

/* admin */
.flash { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-radius: 12px; font-weight: 500; font-size: 14.5px; margin-bottom: 18px; border: 1px solid; }
.flash--ok { background: var(--ok-soft); color: #0b6b3d; border-color: #bfe8d1; }
.flash--err { background: var(--err-soft); color: #a51d2c; border-color: #f6c7cd; }
.flash svg { width: 18px; height: 18px; flex: none; }
.admin-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; align-items: start; }
.panel { padding: 0; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.panel__head h2 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.panel__head h2 .step__n { margin: 0; padding: 4px 7px; font-size: 12px; }
.panel__head span { font-size: 13px; color: var(--muted); }
.panel .form { padding: 20px 22px 22px; }
.panel + .panel { margin-top: 20px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fcfbff; }
.tbl .thumb { width: 64px; height: 42px; border-radius: 8px; object-fit: cover; display: block; border: 1px solid var(--border); background: var(--bg); }
.link-del { color: var(--err); font-weight: 600; text-decoration: none; font-size: 13.5px; padding: 6px 10px; border-radius: 8px; }
.link-del:hover { background: var(--err-soft); }
.link { color: var(--accent-ink); font-weight: 600; text-decoration: none; font-size: 13.5px; }

/* odwiedziny katalogu agencji (panel admina) */
.visits { margin-top: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 18px 22px; }
.stat { padding: 14px 16px; display: grid; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.stat span { font-size: 12.5px; color: var(--muted); }
.stat b { font: 600 26px/1.1 var(--font); letter-spacing: -.04em; }
.stat small { font-size: 12px; color: var(--faint); }
.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 0 22px 18px; }
.toolbar .field { min-width: 140px; }
.toolbar .input { height: 38px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); height: 38px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.sub-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; font-size: 14px; font-weight: 600; color: var(--text); border-top: 1px solid var(--border); background: var(--surface-2); }
.sub-head span { font-weight: 400; font-size: 13px; color: var(--muted); }
.tag--green { background: var(--ok-soft); border-color: #bfe8d1; color: #0b6b3d; }
.tag--orange { background: #fff1e8; border-color: #ffd5bd; color: #b4410f; }
.ext { text-decoration: none; color: var(--faint); margin-left: 4px; }
.ext:hover { color: var(--accent); }
.ua { display: block; max-width: 340px; font-size: 11.5px; line-height: 1.35; word-break: break-all; }
.empty-cell { text-align: center; color: var(--muted); padding: 28px !important; }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); }
.panel__foot button { background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--accent); color: #fff; font: 500 11.5px/1 var(--mono); }

/* logowanie */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; isolation: isolate; }
.auth::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91,60,245,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(91,60,245,.08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 65%); mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 65%); }
.auth__card { width: 100%; max-width: 380px; padding: 30px; }
.auth__card .logo { margin-bottom: 22px; }
.auth__card h1 { font-size: 22px; margin-bottom: 6px; }
.auth__card p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.auth__card .form { padding: 0; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .board { max-width: 520px; }
    .map-grid { grid-template-columns: 1fr; }
    .city-list ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px; }
    .about { grid-template-columns: 1fr; gap: 36px; }
    .admin-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .nav__links { position: absolute; left: 12px; right: 12px; top: 64px; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg); display: none; }
    .nav.is-open .nav__links { display: flex; }
    .nav__link { padding: 12px 14px; font-size: 16px; }
    .nav__burger { display: block; }
    .access { grid-template-columns: 1fr; padding: 28px 20px; gap: 26px; }
    .steps { grid-template-columns: 1fr; }
    .step:not(:last-child)::after { display: none; }
    .foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
    .wrap, .nav__in, .app, .app-bar__in { padding-left: 16px; padding-right: 16px; }
    .nav__cta .btn { display: none; }
    .hero { padding: 40px 0 32px; }
    .stats span { padding-right: 16px; margin-right: 16px; }
    .stats b { font-size: 24px; }
    .section { padding: 60px 0; }
    .feat-grid { grid-template-columns: 1fr; }
    .feat--wide { flex-wrap: wrap; }
    .feat--wide .big { margin-left: 0; text-align: left; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kpis .kpi:last-child { grid-column: 1 / -1; }
    .row2 { grid-template-columns: 1fr; }
    .map { padding: 6px; border-radius: 16px; }
    .map__inset, .map__legend { display: none; }
    .map__tools { position: static; margin: 8px auto 2px; width: max-content; }
    .pin:not(.pin--soon) .pin__dot { --s: 26px !important; font-size: 11.5px; box-shadow: 0 0 0 3px #fff, 0 6px 12px -4px rgba(67,37,214,.55); }
    .pin__label { font-size: 11px; padding: 3px 7px; }
    .app-hero { padding: 24px 20px; }
    .app-bar__title { display: none; }
    .btn--hide-sm .btn__txt { display: none; }
    .tbl th, .tbl td { padding: 10px 12px; }
    .stat-grid { grid-template-columns: 1fr 1fr; padding: 14px 16px; }
    .toolbar { padding: 0 16px 16px; }
}

/* ---------- wizualizacja Vinylboard ---------- */
.scene { display: block; width: 100%; height: auto; }
.scene .kreacja { opacity: 0; transition: opacity .8s ease; }
.scene .kreacja.is-on { opacity: 1; }
.scene-card { margin: 0; padding: 8px; overflow: hidden; }
.scene-card .scene { border-radius: 10px; }
.scene-card figcaption { padding: 12px 10px 6px; font-size: 13px; color: var(--muted); }
.hero-scene { position: relative; }
.hero-scene .scene-card { box-shadow: var(--shadow-lg); }
.hero-scene__tag { position: absolute; left: 22px; top: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.92); border: 1px solid var(--border); font: 500 12px/1 var(--mono); color: var(--text-2); }
.hero-scene__tag i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.vb-anatomy { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.parts li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.parts__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 13px/1 var(--mono); }
.parts li:nth-child(2) .parts__n { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent); }
.parts b { display: block; font-size: 16px; margin-bottom: 4px; }
.parts p { font-size: 14.5px; color: var(--muted); }
.vb-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.compare { margin-top: 28px; overflow: hidden; }
.compare .panel__head h3 { font-size: 17px; }
.compare .tbl th[scope="row"] { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text); background: transparent; border-bottom: 1px solid var(--border); white-space: normal; width: 22%; }
.compare .tbl tr:last-child th { border-bottom: 0; }
.compare .tbl td { width: 39%; }
.compare__us { background: rgba(91,60,245,.035); color: var(--text) !important; }
.compare td.compare__us svg { width: 15px; height: 15px; color: var(--ok); vertical-align: -2px; margin-right: 4px; }
.compare thead .compare__us { color: var(--accent-ink) !important; }
@media (max-width: 1024px) {
    .vb-anatomy { grid-template-columns: 1fr; }
    .vb-perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .vb-perks { grid-template-columns: 1fr; }
    .compare .tbl th[scope="row"] { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .scene .kreacja { transition: none; } }
@media (max-width: 640px) { .hero-scene__tag { left: 14px; top: 14px; font-size: 11px; padding: 5px 8px; } }

/* ---------- wizualizacja na zdjęciu ---------- */
.scene-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #dfe6da; }
.scene-zoom { position: absolute; inset: 0; }
.scene-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .9s ease; }
.scene-photo img.is-on { opacity: 1; }
.callout { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 13px/1 var(--mono); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(20,16,60,.35); z-index: 2; }
.callout--alt { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent), 0 0 0 3px #fff, 0 6px 14px rgba(20,16,60,.35); }
@media (prefers-reduced-motion: reduce) { .scene-photo img { transition: none; } }
@media (max-width: 640px) { .callout { width: 24px; height: 24px; font-size: 11px; } }

/* =========================================================
   Responsywność – poprawki dla telefonów
   ========================================================= */
.admin-grid > * { min-width: 0; }
.visits, .panel { min-width: 0; }
@media (max-width: 1024px) {
    .admin-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .hero h1 { font-size: clamp(32px, 9vw, 40px); }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
    .stats b { font-size: 22px; }
    .stats span { font-size: 12.5px; padding-right: 14px; margin-right: 14px; }
    /* wizualizacja w nagłówku: przybliżenie na reklamę */
    .scene-zoom { transform: scale(1.6); transform-origin: 63% 45%; }
    .scene-zoom .callout { transform: translate(-50%, -50%) scale(.68); }
    .hero-scene__tag { font-size: 12px; }
    .sec-head { margin-bottom: 24px; }
    .sec-head .btn { width: 100%; }
    .pin__label { font-size: 12px; }
    .callout { font-size: 12px; }
    .kpis { gap: 10px; }
    .kpi { padding: 14px 16px; }
    .kpi b { font-size: 24px; }
    .crumbs { font-size: 13px; }
    .access h2, .sec-head h2, .about__text h2 { font-size: 28px; }
    .faq summary { padding: 16px 18px; font-size: 15px; }
    .faq details > div { padding: 0 18px 18px; font-size: 15px; }
    .form { padding: 20px; }
    .city-checks span { height: 36px; }
    .chip { height: 38px; }
    /* tabela porównawcza jako karty */
    .compare thead { display: none; }
    .compare .tbl, .compare .tbl tbody, .compare .tbl tr, .compare .tbl th, .compare .tbl td { display: block; width: auto !important; }
    .compare .tbl tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
    .compare .tbl tr:last-child { border-bottom: 0; }
    .compare .tbl th[scope="row"] { padding: 0 0 8px; border: 0; font-size: 14px; font-weight: 600; }
    .compare .tbl td { padding: 9px 12px; border: 0; border-radius: 9px; font-size: 14px; }
    .compare .tbl td::before { content: attr(data-label); display: block; font: 500 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 2px; }
    .compare .tbl td.compare__us { margin-bottom: 6px; }
    .compare .tbl td.compare__us::before { color: var(--accent-ink); }
    .compare .panel__head span { display: none; }
    /* katalog i panel */
    .filters__label { width: 100%; }
    .grid-cards { grid-template-columns: minmax(0, 1fr); }
    .panel__head { padding: 16px; }
    .panel .form { padding: 16px; }
    .tbl { font-size: 13px; }
    .app-bar__actions .btn { padding: 0 10px; }
}
@media (max-width: 380px) {
    .stats { flex-wrap: nowrap; }
    .stats span { padding-right: 10px; margin-right: 10px; }
    .logo__word { font-size: 19px; }
}

.nav__mcta { display: none; }
@media (max-width: 860px) { .nav.is-open .nav__mcta { display: inline-flex; margin-top: 6px; } }
