/* SFERA (nazwa robocza) – wizualizacja poglądowa strony zarządcy nieruchomości */
:root {
  --ink: #0a1424;
  --ink-2: #33415a;
  --ink-3: #6b7890;
  --blue: #2451e6;
  --blue-2: #5b82ff;
  --navy: #0b1f4d;
  --navy-2: #08163a;
  --ice: #eef3fb;
  --ice-2: #f6f8fc;
  --line: #dde4ef;
  --white: #fff;
  --ok: #10a36b;
  --warn: #e59a17;
  --r: 22px;
  --r-s: 14px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 300; font-style: normal; letter-spacing: -.045em; }
.blue { color: var(--blue); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h2 .serif { font-size: 1em; }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.65; }

/* pasek poglądowy */
.notka {
  background: var(--ink); color: #c8d3e8; font-size: 12.5px; text-align: center;
  padding: 8px 16px; letter-spacing: .01em;
}
.notka b { color: #fff; font-weight: 600; }

/* przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(36, 81, 230, .6); }
.btn-blue:hover { background: #1b43c9; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(36, 81, 230, .7); }
.btn-line { border-color: var(--line); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* nawigacja */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(10, 20, 36, .25); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; }
.brand svg { width: 40px; height: 40px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-weight: 800; letter-spacing: .2em; font-size: 17px; }
.brand-txt small { font-family: var(--serif); font-weight: 500; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; letter-spacing: .01em; }
.menu { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.menu a { position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover, .menu a.on { color: var(--ink); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700;
}
.lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; cursor: pointer; color: var(--ink-3); letter-spacing: .05em; }
.lang button.on { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s, opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.nav.open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(91, 130, 255, .16), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); margin: 22px 0 26px; letter-spacing: -.045em; line-height: .98; }
.hero h1 .serif { font-size: 1em; color: var(--blue); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.45em); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.go h1 .w { opacity: 1; transform: none; }
.hero .lead { max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-size: 38px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat b .serif { color: var(--blue); }
.stat > span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.przyklad { font-size: 11px; color: var(--ink-3); margin-top: 12px; }

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-height: 680px; justify-self: end; width: 100%; }
.hero-photo { position: absolute; inset: 0 0 0 8%; z-index: 1; border-radius: 300px 300px var(--r) var(--r); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11, 31, 77, .45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.hero.go .hero-photo img { transform: scale(1); }
.ring { position: absolute; inset: -9% -14% -9% -6%; pointer-events: none; z-index: 0; }
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring .spin { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring text { font: 600 11px var(--sans); letter-spacing: .32em; fill: var(--ink); text-transform: uppercase; }
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 50px -24px rgba(10, 20, 36, .4);
  font-size: 13px; line-height: 1.4; display: flex; gap: 12px; align-items: center; animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--blue); flex-shrink: 0; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; font-weight: 700; font-size: 13.5px; }
.float-card small { color: var(--ink-3); }
.fc-1 { left: -6%; bottom: 16%; }
.fc-2 { right: -4%; top: 14%; animation-delay: -3s; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e6f7ef; color: var(--ok); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.warn { background: #fdf3e1; color: #b8770c; }
.pill.blue { background: var(--ice); color: var(--blue); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* pas zaufania */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; margin-top: 40px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.marquee span::after { content: "°"; color: var(--blue); font-size: 22px; line-height: 0; }
@keyframes marq { to { transform: translateX(-50%); } }

/* sekcje */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head > * { min-width: 0; }
.sec-head h2 { margin-top: 18px; }

/* 360 */
.s360 { background: var(--navy-2); color: #fff; overflow: hidden; }
.s360::before { content: ""; position: absolute; inset: 0; background: url(../img/ciemne.jpg) center/cover; opacity: .12; mix-blend-mode: luminosity; }
.s360 .eyebrow { color: var(--blue-2); }
.s360 .lead { color: #aebbd6; }
.s360-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.s360-grid > * { min-width: 0; }
.dial { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.seg { cursor: pointer; }
.seg path.arc { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .12); stroke-width: 1; transition: fill .4s, transform .5s var(--ease); transform-origin: 280px 280px; }
.seg:hover path.arc { fill: rgba(91, 130, 255, .18); }
.seg.on path.arc { fill: var(--blue); stroke: var(--blue); transform: scale(1.035); }
.seg text { font: 600 12.5px var(--sans); fill: #c9d4ea; letter-spacing: .04em; pointer-events: none; transition: fill .3s; }
.seg.on text { fill: #fff; }
.seg .num { font: 500 12px var(--serif); fill: #7f8fb3; }
.seg.on .num { fill: #dfe7ff; }
.dial-core { position: absolute; inset: 31%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #25408f, #0b1f4d 70%); display: grid; place-items: center; text-align: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6); }
.dial-core b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.dial-core small { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #9fb2e0; margin-top: 8px; }
.panel360 { min-height: 360px; }
.panel360 .k { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--blue-2); }
.panel360 h3 { font-size: clamp(32px, 3.4vw, 46px); margin: 8px 0 18px; letter-spacing: -.035em; }
.panel360 p { color: #b9c5de; font-size: 17px; max-width: 480px; }
.panel360 ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.panel360 li { display: flex; gap: 12px; align-items: flex-start; color: #e3e9f6; }
.panel360 li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel360 .anim { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.dots360 { display: flex; gap: 8px; margin-top: 34px; }
.dots360 button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.18); cursor: pointer; padding: 0; overflow: hidden; position: relative; }
.dots360 button.on::after { content: ""; position: absolute; inset: 0; background: var(--blue-2); transform-origin: left; animation: fill 5s linear forwards; }
.dots360.stop button.on::after { animation: none; transform: none; }
@keyframes fill { from { transform: scaleX(0); } }

/* dla kogo */
.dwa { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dwa > * { min-width: 0; }
.karta-big { position: relative; border-radius: var(--r); overflow: hidden; min-height: 620px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; isolation: isolate; }
.karta-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.karta-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,22,58,.1) 0%, rgba(8,22,58,.55) 38%, rgba(8,22,58,.94) 70%); }
.karta-big:hover img { transform: scale(1.05); }
.karta-big .eyebrow { color: #a9bfff; }
.karta-big h3 { font-size: clamp(30px, 3vw, 42px); margin: 14px 0 14px; letter-spacing: -.035em; }
.karta-big p { color: #d3dcf0; max-width: 440px; }
.karta-big ul { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.karta-big li { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.karta-big .btn { align-self: flex-start; }

/* proces */
.proces { background: var(--ice-2); }
.kroki { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: k; }
.kroki > * { min-width: 0; }
.krok { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 32px; position: relative; transition: transform .45s var(--ease), box-shadow .45s; }
.krok:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(11,31,77,.35); }
.krok .n { font-family: var(--serif); font-weight: 300; font-size: 56px; line-height: 1; color: var(--blue); }
.krok h3 { margin: 22px 0 10px; font-size: 20px; }
.krok p { color: var(--ink-2); font-size: 15px; }
.krok .czas { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }

/* strefa mieszkańca – zapowiedź */
.strefa-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.strefa-grid > * { min-width: 0; }
.cechy { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 40px 0 40px; }
.cecha .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ice); color: var(--blue); margin-bottom: 14px; }
.cecha .ic svg { width: 22px; height: 22px; }
.cecha b { display: block; font-size: 16px; margin-bottom: 4px; }
.cecha p { font-size: 14.5px; color: var(--ink-2); }
.phone-scene { position: relative; display: grid; place-items: center; padding: 30px 0; }
.phone-scene::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--ice), transparent); }
.phone-scene .orbit { position: absolute; width: 92%; aspect-ratio: 1; border: 1px dashed #c6d3ea; border-radius: 50%; animation: spin 80s linear infinite; }
.phone-scene .orbit::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(36,81,230,.15); }
.phone {
  position: relative; width: 300px; max-width: 78vw; aspect-ratio: 300 / 620; background: #0a1424; border-radius: 46px; padding: 11px;
  box-shadow: 0 60px 100px -40px rgba(11,31,77,.55), inset 0 0 0 2px #2b3650; transform: rotate(-4deg);
}
.screen { width: 100%; height: 100%; border-radius: 36px; background: #f4f7fc; overflow: hidden; position: relative; font-size: 12px; }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0a1424; border-radius: 99px; z-index: 3; }
.app-top { background: linear-gradient(160deg, #2451e6, #0b1f4d); color: #fff; padding: 48px 18px 54px; }
.app-top small { opacity: .75; font-size: 11px; }
.app-top b { display: block; font-size: 17px; margin-top: 2px; letter-spacing: -.02em; }
.saldo { margin: -38px 14px 0; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 14px 30px -18px rgba(11,31,77,.45); position: relative; z-index: 2; }
.saldo small { color: var(--ink-3); font-size: 10.5px; }
.saldo b { display: block; font-size: 24px; letter-spacing: -.03em; margin: 2px 0 8px; }
.saldo .row { display: flex; justify-content: space-between; align-items: center; }
.saldo .pay { background: var(--blue); color: #fff; font-weight: 700; font-size: 11px; padding: 7px 12px; border-radius: 99px; }
.app-list { padding: 12px 14px; display: grid; gap: 8px; }
.app-list h6 { margin: 8px 2px 2px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.app-item { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.app-item .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--ice); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.app-item .ic svg { width: 15px; height: 15px; }
.app-item b { display: block; font-size: 11.5px; }
.app-item small { color: var(--ink-3); font-size: 10px; }
.app-item .pill { margin-left: auto; font-size: 9px; padding: 2px 7px; }
.vote { height: 5px; border-radius: 5px; background: var(--ice); margin-top: 6px; overflow: hidden; }
.vote i { display: block; height: 100%; width: 64%; background: var(--blue); border-radius: 5px; }

/* realizacje */
.real { background: var(--ink); color: #fff; overflow: hidden; }
.real .eyebrow { color: var(--blue-2); }
.real .lead { color: #aab6cc; }
.real-track { --pad: max(24px, calc((100vw - var(--max)) / 2)); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 30px; scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; }
.real-track::-webkit-scrollbar { display: none; }
.real-card { flex: 0 0 auto; width: clamp(280px, 30vw, 420px); scroll-snap-align: start; }
.real-card .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.real-card:nth-child(even) .ph { aspect-ratio: 4 / 4.2; margin-top: 60px; }
.real-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.real-card:hover img { transform: scale(1.06); }
.real-card .tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: rgba(10,20,36,.6); backdrop-filter: blur(8px); letter-spacing: .04em; }
.real-card h3 { font-size: 19px; margin: 18px 0 4px; }
.real-card p { color: #93a1bb; font-size: 14px; }
.real-nav { display: flex; gap: 10px; }
.real-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.real-nav button:hover { background: #fff; color: var(--ink); }
.real-nav svg { width: 20px; height: 20px; }

/* o nas */
.onas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.onas-grid > * { min-width: 0; }
.rok { font-size: clamp(120px, 17vw, 240px); font-weight: 600; letter-spacing: -.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--blue); background: linear-gradient(180deg, var(--blue) 0 0) no-repeat left bottom / 100% 0%; -webkit-background-clip: text; background-clip: text; transition: background-size 1.6s var(--ease); }
.rok.in { background-size: 100% 100%; }
.onas-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; margin-top: 34px; }
.onas-photo img { width: 100%; height: 100%; object-fit: cover; }
.wartosci { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.wartosc { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.wartosc .serif { font-size: 28px; color: var(--blue); line-height: 1; }
.wartosc b { display: block; font-size: 17px; margin-bottom: 4px; }
.wartosc p { color: var(--ink-2); font-size: 15px; }

/* CTA + kontakt */
.kontakt { background: var(--navy); color: #fff; overflow: hidden; }
.kontakt::before { content: ""; position: absolute; right: -15%; top: -40%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015); }
.kontakt .eyebrow { color: var(--blue-2); }
.kontakt-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.kontakt-grid > * { min-width: 0; }
.kontakt .lead { color: #b3c0dc; margin-top: 22px; }
.dane { margin-top: 44px; display: grid; gap: 22px; }
.dane div { display: flex; gap: 16px; align-items: flex-start; }
.dane .ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; flex-shrink: 0; }
.dane .ic svg { width: 19px; height: 19px; }
.dane small { display: block; color: #8fa0c4; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.dane b { font-weight: 600; font-size: 17px; }
.dane em { font-style: normal; font-size: 12px; color: #8fa0c4; }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: 40px; box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); }
.form h3 { font-size: 26px; margin-bottom: 6px; }
.form > p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 26px; }
.typ { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.typ label { cursor: pointer; }
.typ input { position: absolute; opacity: 0; pointer-events: none; }
.typ span { display: inline-block; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: all .2s; }
.typ input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pola { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pola > * { min-width: 0; }
.pole { position: relative; }
.pole.full { grid-column: 1 / -1; }
.pole input, .pole textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 16px 8px; background: var(--ice-2); outline: none; transition: border-color .2s, background .2s; font-size: 15px; }
.pole textarea { min-height: 120px; resize: vertical; }
.pole label { position: absolute; left: 17px; top: 15px; font-size: 15px; color: var(--ink-3); pointer-events: none; transition: all .2s var(--ease); }
.pole input:focus, .pole textarea:focus { border-color: var(--blue); background: #fff; }
.pole input:focus + label, .pole input:not(:placeholder-shown) + label,
.pole textarea:focus + label, .pole textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin: 18px 0 22px; line-height: 1.5; }
.zgoda input { margin-top: 3px; accent-color: var(--blue); }
.form .btn { width: 100%; }
.form-ok { display: none; text-align: center; padding: 50px 10px; }
.form-ok .ic { width: 70px; height: 70px; border-radius: 50%; background: #e6f7ef; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.form-ok .ic svg { width: 32px; height: 32px; }
.form.sent form { display: none; }
.form.sent .form-ok { display: block; animation: panelIn .6s var(--ease); }

/* stopka */
.stopka { background: var(--navy-2); color: #8fa0c4; padding: 72px 0 30px; font-size: 14px; }
.stopka-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.stopka-grid > * { min-width: 0; }
.stopka .brand-txt b { color: #fff; }
.stopka h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.stopka ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stopka a:hover { color: #fff; }
.stopka-dol { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .2s, color .2s; }
.social a:hover { background: #fff; color: var(--ink); }
.social svg { width: 17px; height: 17px; }

/* podstrony: nagłówek */
.page-hero { position: relative; padding: 90px 0 80px; overflow: hidden; background: var(--ice-2); }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -.045em; line-height: 1; margin: 20px 0 22px; }
.page-hero h1 .serif { color: var(--blue); }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: 13px; color: var(--ink-3); }
.crumbs a:hover { color: var(--blue); }

/* usługi: lista 6 obszarów */
.usl-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: start; }
.usl-layout > * { min-width: 0; }
.usl-side { position: sticky; top: 110px; display: grid; gap: 4px; }
.usl-side a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; color: var(--ink-3); transition: background .2s, color .2s; }
.usl-side a .serif { font-size: 16px; width: 22px; color: inherit; }
.usl-side a.on, .usl-side a:hover { background: var(--ice); color: var(--blue); }
.usl { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 0 0 90px; margin-bottom: 90px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.usl:last-child { border-bottom: 0; margin-bottom: 0; }
.usl > * { min-width: 0; }
.usl .k { font-family: var(--serif); font-weight: 300; font-size: 24px; color: var(--blue); }
.usl h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 10px 0 18px; }
.usl p { color: var(--ink-2); }
.usl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.usl li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; font-weight: 500; }
.usl li::before { content: "°"; color: var(--blue); font-size: 26px; line-height: .8; }
.usl .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 26px; }
.usl .ph img { width: 100%; height: 100%; object-fit: cover; }
.usl .efekt { margin-top: 26px; background: var(--ice); border-radius: var(--r-s); padding: 18px 20px; font-size: 15px; }
.usl .efekt b { color: var(--blue); }

/* animacje wejścia */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--blue); z-index: 60; width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .hero h1 .w { opacity: 1; transform: none; }
}

/* responsywność */
@media (max-width: 1460px) {
  .menu { gap: 20px; font-size: 14px; }
  .nav-cta .btn-line { width: 42px; padding: 0; }
  .nav-cta .btn-line span { display: none; }
}
@media (max-width: 1180px) {
  .menu { gap: 14px; font-size: 13.5px; }
  .brand-txt small { display: none; }
}
@media (max-width: 1020px) {
  .menu, .nav-cta .btn-blue { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; }
  .mobile-menu {
    display: block; position: fixed; inset: 76px 0 0; background: #fff; padding: 30px 24px; transform: translateY(-8px);
    opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); overflow-y: auto;
  }
  .nav.open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a.m { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btns { display: grid; gap: 10px; margin-top: 28px; }
  .hero-grid, .s360-grid, .strefa-grid, .onas-grid, .kontakt-grid, .sec-head, .usl, .usl-layout { grid-template-columns: 1fr; }
  .usl-side { display: none; }
  .hero-visual { max-width: 520px; justify-self: center; }
  .kroki { grid-template-columns: 1fr 1fr; }
  .dwa { grid-template-columns: 1fr; }
  .stopka-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { gap: 20px; margin-bottom: 44px; }
  .onas-grid { gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 80px 0; }
  .notka { font-size: 11.5px; }
  .nav-in { height: 66px; gap: 12px; }
  .mobile-menu { inset: 66px 0 0; }
  .brand svg { width: 34px; height: 34px; }
  .brand-txt b { font-size: 15px; }
  .hero { padding: 34px 0 20px; }
  .hero h1 { margin: 16px 0 18px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
  .stat b { font-size: 26px; }
  .stat > span { font-size: 11.5px; }
  .hero-visual { margin-top: 10px; }
  .float-card { font-size: 11.5px; padding: 10px 12px; }
  .float-card .ic { width: 30px; height: 30px; }
  .fc-1 { left: 0; bottom: 8%; }
  .fc-2 { right: 0; top: 8%; }
  .ring text { font-size: 13px; }
  .kroki { grid-template-columns: 1fr; gap: 12px; }
  .krok { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; padding: 22px 20px; }
  .krok .n { font-size: 40px; grid-row: span 2; }
  .krok h3 { margin: 4px 0 6px; font-size: 18px; }
  .ring { inset: -7% -6% -7% -4%; }
  .karta-big::before { background: linear-gradient(180deg, rgba(8,22,58,.25) 0%, rgba(8,22,58,.75) 30%, rgba(8,22,58,.95) 62%); }
  .karta-big { min-height: 540px; padding: 26px; }
  .cechy { grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 30px 0; }
  .cecha .ic { width: 40px; height: 40px; margin-bottom: 10px; }
  .cecha p { font-size: 13.5px; }
  .form { padding: 26px 20px; border-radius: 22px; }
  .pola { grid-template-columns: 1fr; }
  .stopka-grid { grid-template-columns: 1fr; }
  .dial { max-width: 380px; }
  .seg text { font-size: 15px; }
  .panel360 { min-height: 0; }
  .real-card { width: 78vw; }
  .real-card:nth-child(even) .ph { margin-top: 0; aspect-ratio: 4 / 5; }
  .page-hero { padding: 60px 0 50px; }
  .usl { padding-bottom: 60px; margin-bottom: 60px; gap: 26px; }
}

/* strefa mieszkańca */
.login-sec { padding: 70px 0 110px; background: var(--ice-2); }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -60px rgba(11,31,77,.45); border: 1px solid var(--line); }
.login-grid > * { min-width: 0; }
.login-form { padding: 64px 60px; }
.login-form h1 { font-size: clamp(38px, 4vw, 56px); letter-spacing: -.045em; margin: 18px 0 14px; }
.login-form h1 .serif { color: var(--blue); }
.login-form > p { color: var(--ink-2); margin-bottom: 30px; }
.login-form .pole { margin-bottom: 14px; }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; margin: 6px 0 24px; color: var(--ink-3); flex-wrap: wrap; }
.login-row a { color: var(--blue); font-weight: 600; }
.login-form .btn { width: 100%; }
.login-alt { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 22px; }
.login-alt a { color: var(--blue); font-weight: 600; }
.login-ph { position: relative; min-height: 560px; color: #fff; display: flex; align-items: flex-end; padding: 44px; isolation: isolate; }
.login-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.login-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,31,77,.15), rgba(11,31,77,.9)); }
.login-ph b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; display: block; }
.login-ph p { color: #cbd6ee; margin-top: 10px; }
.demo-sec { padding: 110px 0; }
.demo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.demo-head h2 { margin-top: 16px; }
.app { display: grid; grid-template-columns: 240px 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--ice-2); box-shadow: 0 60px 120px -70px rgba(11,31,77,.5); }
.app > * { min-width: 0; }
.app-side { background: var(--navy-2); color: #9fb0d4; padding: 28px 18px; display: flex; flex-direction: column; gap: 4px; }
.app-side .brand { color: #fff; margin: 0 8px 28px; }
.app-side .brand svg { width: 34px; height: 34px; }
.app-side a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.app-side a svg { width: 18px; height: 18px; }
.app-side a.on, .app-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-side .opiekun { margin-top: auto; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); font-size: 13px; }
.app-side .opiekun b { color: #fff; display: block; font-size: 14px; margin: 2px 0 8px; }
.app-main { padding: 30px; display: grid; gap: 20px; grid-template-columns: repeat(6, 1fr); align-content: start; }
.app-main > * { min-width: 0; }
.app-hello { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-hello h3 { font-size: 26px; }
.app-hello small { color: var(--ink-3); }
.kafel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.kafel h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.k-saldo { grid-column: span 2; background: linear-gradient(150deg, #2451e6, #0b1f4d); color: #fff; border: 0; }
.k-saldo h4 { color: #b9c8f2; }
.k-saldo .kw { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.k-saldo p { color: #c4d1f3; font-size: 13.5px; margin: 10px 0 20px; }
.k-saldo .btn { background: #fff; color: var(--navy); height: 44px; }
.k-zgl { grid-column: span 4; }
.zgl { display: grid; gap: 10px; }
.zgl-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--ice-2); }
.zgl-item .ic { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.zgl-item .ic svg { width: 18px; height: 18px; }
.zgl-item b { display: block; font-size: 14.5px; }
.zgl-item small { color: var(--ink-3); font-size: 12.5px; }
.zgl-item .pill { margin-left: auto; flex-shrink: 0; }
.zgl-item.nowe { animation: panelIn .6s var(--ease); box-shadow: 0 0 0 2px var(--blue) inset; }
.zgl-form { display: none; gap: 10px; margin-top: 12px; grid-template-columns: 1fr auto; }
.zgl-form.open { display: grid; }
.zgl-form input { border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; height: 44px; outline: none; min-width: 0; }
.zgl-form input:focus { border-color: var(--blue); }
.k-glos { grid-column: span 3; }
.k-glos b { font-size: 17px; display: block; }
.k-glos p { color: var(--ink-3); font-size: 13.5px; margin: 6px 0 16px; }
.glos-pasek { height: 10px; border-radius: 10px; background: var(--ice); overflow: hidden; display: flex; }
.glos-pasek i { display: block; height: 100%; transition: width .8s var(--ease); }
.glos-pasek .za { background: var(--blue); }
.glos-pasek .pr { background: #f0a3a3; }
.glos-leg { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-3); margin: 10px 0 16px; flex-wrap: wrap; }
.glos-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.glos-btns button { flex: 1; height: 42px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s; min-width: 90px; }
.glos-btns button:hover { border-color: var(--ink); }
.glos-btns button.wyb { background: var(--ink); color: #fff; border-color: var(--ink); }
.k-dok { grid-column: span 3; }
.dok { display: grid; gap: 4px; }
.dok a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.dok a:last-child { border: 0; }
.dok a svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.dok a small { margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.k-ogl { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; background: var(--ice); border-color: transparent; }
.k-ogl .ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.k-ogl .ic svg { width: 20px; height: 20px; }
.k-ogl p { font-size: 14.5px; }
.demo-tag { font-size: 12px; font-weight: 700; color: var(--warn); background: #fdf3e1; padding: 6px 12px; border-radius: 99px; }
@media (max-width: 1020px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-ph { min-height: 300px; order: -1; }
  .app { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; overflow-x: auto; padding: 14px; gap: 6px; scrollbar-width: none; }
  .app-side .brand, .app-side .opiekun { display: none; }
  .app-side a { white-space: nowrap; flex-shrink: 0; }
  .app-main { grid-template-columns: 1fr; padding: 18px; }
  .app-main > * { grid-column: 1 / -1 !important; }
}
@media (max-width: 640px) {
  .login-sec { padding: 30px 0 70px; }
  .login-form { padding: 34px 22px; }
  .login-ph { padding: 26px; min-height: 240px; }
  .login-ph b { font-size: 21px; }
  .demo-sec { padding: 70px 0; }
  .kafel { padding: 18px; }
  .zgl-item .pill { display: none; }
}
