:root {
  --bg: #ffffff;
  --band: #f3f5f4;
  --ink: #0e1113;
  --ink-2: #2a3034;
  --muted: #5a6168;
  --line: #e2e6e4;
  --line-2: #cfd5d2;
  --accent: #157a3c;
  --accent-hover: #0f6430;
  --accent-soft: #e5f2e9;
  --dark: #0e1113;
  --dark-2: #171b1e;
  --dark-line: rgba(255,255,255,.12);
  --dark-muted: #a9b0b5;
  --radius: 14px;
  --shadow-win: 0 1px 2px rgba(14,17,19,.06), 0 10px 28px rgba(14,17,19,.08), 0 36px 72px -24px rgba(14,17,19,.22);
  --shadow-soft: 0 1px 2px rgba(14,17,19,.05), 0 8px 22px rgba(14,17,19,.07);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #b9c1bd var(--band); }
body {
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
}
::selection { background: #bfe3cb; color: var(--ink); }
.dark ::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: #7fd39c; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* nagłówek */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; letter-spacing: -.03em; font-size: 19px; white-space: nowrap; }
.logo span { color: var(--accent); }
.links { display: none; gap: 2px; font-size: 15px; font-weight: 500; }
.links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); transition: color .15s, background-color .15s; }
.links a:hover { color: var(--ink); background: rgba(14,17,19,.05); }
.links a.on { color: var(--ink); background: rgba(14,17,19,.06); }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font-weight: 700; font-size: 17px; padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .2s, transform .12s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(14,17,19,.18), 0 6px 16px -6px rgba(14,17,19,.32); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9f5ed; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.btn-sm { min-height: 44px; font-size: 15px; padding: 0 16px; border-radius: 10px; }
.btn-sm .i { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* typografia */
h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
.sub { color: var(--muted); max-width: 58ch; font-size: 18px; margin-top: 14px; }
.head { margin-bottom: 40px; }
section { padding: 80px 0; }
.band { background: var(--band); }
.dark { background: var(--dark); color: #eef0ee; }

/* okno przeglądarki (wspólne dla dema i podglądu) */
.win { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-win), 0 0 0 1px rgba(14,17,19,.06); }
.win-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #f4f6f5; border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9d6; }
.win-url { flex: 1; min-width: 0; height: 28px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 7px; padding: 0 10px; font-size: 13px; color: var(--muted); }
.win-url .i { width: 13px; height: 13px; color: var(--accent); }
.win-url span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.win-view { position: relative; height: 380px; overflow: hidden; background: #fff; }
.win-view { cursor: pointer; }
.shot { position: absolute; top: 0; left: 0; width: 100%; max-width: none; opacity: 0; transition: opacity .5s var(--ease), transform var(--t, 0ms) cubic-bezier(.45, .05, .55, .95); will-change: transform; }
.shot.on { opacity: 1; }
.load { position: absolute; z-index: 3; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); opacity: 0; }
.load.go { opacity: 1; width: 100%; transition: width .9s var(--ease); }

/* pierwszy ekran */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-in { display: grid; gap: 48px; align-items: center; }
.lead { color: var(--ink-2); font-size: 19px; max-width: 46ch; margin: 22px 0 30px; }
.facts { display: flex; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.facts div { flex: 1; padding-right: 16px; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hero-demo { position: relative; }
.hero-demo figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; }
.demo-open { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--accent); }
.demo-open .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.demo-open:hover .i { transform: translateX(4px); }

/* wyszukiwarka w demie */
.serp { position: absolute; inset: 0; background: #fff; color: #1f1f1f; transition: opacity .4s var(--ease), transform .5s var(--ease); font-family: "Google Sans Text", Arial, sans-serif; }
.serp.out { opacity: 0; transform: scale(.98); }
.serp-top { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-bottom: 1px solid #e9eaed; }
.g-logo { font-family: "Google Sans", "Product Sans", Arial, sans-serif; font-size: 23px; font-weight: 500; letter-spacing: -.02em; flex: none; line-height: 1; }
.g-logo b { font-weight: 500; }
.g-logo b:nth-child(1), .g-logo b:nth-child(4) { color: #4285f4; }
.g-logo b:nth-child(2), .g-logo b:nth-child(6) { color: #ea4335; }
.g-logo b:nth-child(3) { color: #fbbc05; }
.g-logo b:nth-child(5) { color: #34a853; }
.serp-q { flex: 1; min-width: 0; height: 40px; border-radius: 20px; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 16px; font-size: 15px; color: #1f1f1f; background: #fff; box-shadow: 0 1px 4px rgba(32,33,36,.2); white-space: nowrap; overflow: hidden; }
.serp-q .i { width: 20px; height: 20px; color: #4285f4; margin-left: auto; }
.caret { width: 1.5px; height: 18px; background: #1f1f1f; margin-left: -6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp-body { padding: 10px 16px 0; opacity: 0; transition: opacity .3s; }
.serp-body.in { opacity: 1; }
.serp-h { font-family: "Google Sans", Arial, sans-serif; font-size: 18px; font-weight: 400; color: #1f1f1f; padding: 2px 0 8px; }
.serp-map { position: relative; height: 72px; border-radius: 8px; overflow: hidden; background: #e8eaed; }
.serp-map img { width: 100%; height: 100%; object-fit: cover; }
.serp-map .pin { position: absolute; transform: translate(-50%, -100%); font-size: 11px; font-weight: 500; color: #1f1f1f; background: #fff; padding: 2px 6px 2px 14px; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.serp-map .pin::before { content: ""; position: absolute; left: 4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: #ea4335; box-shadow: 0 0 0 1.5px #fff; }
.serp-res { list-style: none; }
.res { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 9px 6px; margin: 0 -6px; border-bottom: 1px solid #e9eaed; border-radius: 8px; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), background-color .2s; }
.res.in { opacity: 1; transform: none; }
.res.hot { background: #f1f3f4; }
.res img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #e8eaed; }
.res b { display: block; font-family: "Google Sans", Arial, sans-serif; font-weight: 400; font-size: 16px; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res .meta { font-size: 13px; color: #474747; display: flex; flex-wrap: wrap; gap: 2px 5px; align-items: center; margin-top: 2px; }
.res .stars { display: inline-flex; gap: 1px; color: #fbbc04; }
.res .stars svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.res .open { color: #188038; }
.res .closed { color: #c5221f; }
.res.dim b, .res.dim .meta { color: #474747; }
.cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 28px; height: 28px; fill: #fff; stroke: #0e1113; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); transform: translate(var(--cx, 90%), var(--cy, 95%)) scale(var(--cs, 1)); transition: transform 1.1s cubic-bezier(.25, .8, .25, 1), opacity .3s; opacity: 0; will-change: transform; }
.cursor.on { opacity: 1; }
.cursor.click { transition-duration: .12s; }

.demo-tabs { display: flex; gap: 6px; margin-top: 16px; }
.demo-tabs button { position: relative; flex: 1; min-height: 44px; overflow: hidden; border: 0; background: var(--band); border-radius: 10px; padding: 11px 8px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .15s, background-color .15s; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.demo-tabs i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.demo-tabs button[aria-pressed="true"] i { width: var(--p, 0%); }

/* pola formularza */
input[type="text"], input[type="tel"] { width: 100%; height: 52px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); transition: box-shadow .15s; }
input::placeholder { color: #69717a; }
input[type="text"]:hover, input[type="tel"]:hover { box-shadow: inset 0 0 0 1px #9aa49f; }
input[type="text"]:focus, input[type="tel"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(21,122,60,.14); }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b42318; }

/* przełącznik segmentowy */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: #e7ebe9; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s, background-color .2s, box-shadow .2s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14,17,19,.1), 0 2px 8px rgba(14,17,19,.06); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.seg-dark { background: rgba(255,255,255,.08); }
.seg-dark span { color: var(--dark-muted); }
.seg-dark label:hover span { color: #fff; }
.seg-dark input:checked + span { background: #fff; color: var(--ink); }

/* wizytówka */
.wiz { display: grid; gap: 48px; align-items: center; }
.wiz-text > p { color: var(--dark-muted); font-size: 18px; max-width: 52ch; margin: 16px 0 26px; }
.gcard { margin-top: 18px; max-width: 460px; background: #fff; color: #202124; border-radius: 16px; overflow: hidden; font-family: "Google Sans Text", Arial, sans-serif; box-shadow: 0 20px 50px -18px rgba(0,0,0,.6); }
.gc-photos { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; height: 120px; background: #e8eaed; }
.gc-photos img { width: 100%; height: 120px; object-fit: cover; transition: opacity .4s var(--ease), filter .4s; }
.gc-nophoto { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: #5f6368; opacity: 0; transition: opacity .4s; }
.gc-body { padding: 14px 16px 16px; }
.gc-name { font-family: "Google Sans", Arial, sans-serif; font-weight: 500; font-size: 20px; }
.gc-rate, .gc-hours { font-size: 14px; color: #4d5156; margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.gc-stars { display: inline-flex; color: #fbbc04; }
.gc-stars svg { width: 13px; height: 13px; fill: currentColor; }
.gc-hours b { color: #188038; font-weight: 500; }
.gc-btns { display: flex; gap: 8px; margin-top: 12px; }
.gc-btns span { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 99px; background: #e8f0fe; color: #0b57d0; }
.gcard .przed-only { display: none; }
.gcard[data-state="przed"] .po-only { display: none; }
.gcard[data-state="przed"] .przed-only { display: inline; }
.gcard[data-state="przed"] .gc-photos img { opacity: 0; }
.gcard[data-state="przed"] .gc-nophoto { opacity: 1; }
.gcard[data-state="przed"] .gc-hours { color: #b3261e; }
.wiz-list { list-style: none; display: grid; gap: 10px; margin-top: 28px; color: #d9ddda; }
.wiz-list li { display: flex; gap: 12px; }
.wiz-list .i { color: #7fd39c; margin-top: 2px; }
.wiz-phone { display: grid; justify-items: center; }
.wiz-phone figcaption { font-size: 13px; color: var(--dark-muted); margin-top: 16px; }

/* przykłady */
.ex { display: grid; gap: 24px; }
.ex-list { list-style: none; display: grid; gap: 12px; }
.ex-item { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background-color .2s; }
.ex-item:hover, .ex-item[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-soft); }
.ex-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ex-kind { font-size: 14px; color: var(--muted); }
.ex-desc { margin-top: 6px; color: var(--ink-2); }
.ex-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; color: var(--accent); }
.ex-go .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.ex-item:hover .ex-go .i { transform: translateX(4px); }
.ex-shot { display: none; }

/* lista dodatków pod przykładami: zwykłe wiersze, bez kart */
.extras { margin-top: 64px; }
.extras h3 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 22px; }
.extras-cols { display: grid; gap: 32px; }
.extras h4 { font-size: 15px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.extras ul { list-style: none; }
.extras li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras li span { color: var(--muted); font-size: 16px; max-width: 56ch; }
.extras a { color: var(--accent); font-weight: 700; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21,122,60,.35); }
.extras a:hover { text-decoration-color: currentColor; }
.extras-photo { margin-top: 22px; }
.extras-photo img { width: 100%; border-radius: var(--radius); }
.extras-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* cennik */
.prices { display: grid; gap: 16px; align-items: start; }
.price { display: flex; flex-direction: column; border-radius: var(--radius); padding: 30px 26px; background: var(--dark); color: #eef0ee; box-shadow: var(--shadow-win); }
.price .for { color: var(--dark-muted); font-size: 15px; margin-top: 4px; }
.price .amount { font-size: 56px; font-weight: 800; letter-spacing: -.045em; margin: 14px 0 4px; font-variant-numeric: tabular-nums; line-height: 1; }
.price .promo-line { font-size: 15px; color: #bfe3cb; margin-bottom: 22px; }
.price .promo-line b { color: #fff; }
.price ul { list-style: none; display: grid; gap: 10px; font-size: 16px; margin-bottom: 26px; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li .i { color: #7fd39c; width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.5; }
.price .btn { margin-top: auto; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: #1f6b3d; color: #e7f6ec; margin-bottom: 16px; }
.price-side { display: grid; gap: 12px; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: baseline; padding: 22px 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.price-row:hover { box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-soft); }
.pr-name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.pr-amount { font-weight: 800; font-size: 26px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pr-desc { grid-column: 1 / -1; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.pr-go { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; font-size: 15px; color: var(--accent); }
.pr-go .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.price-row:hover .pr-go .i { transform: translateX(4px); }

.calc { margin-top: 20px; display: grid; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.calc-in { display: grid; gap: 14px; justify-items: start; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 44px; cursor: pointer; }
.sw { width: 44px; height: 26px; border-radius: 99px; background: #c9d0cc; position: relative; transition: background-color .2s; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.switch input:checked + .sw { background: var(--accent); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-out { display: grid; gap: 2px; }
.calc-sum { font-size: clamp(40px, 6vw, 56px); font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1; }
.calc-how { color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-note { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 80ch; }
.promo { margin-top: 20px; display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--radius); background: var(--accent-soft); color: #0d3d1f; }
.promo span { font-size: 16px; color: #2c5a3b; }

/* tydzień */
.week { list-style: none; display: grid; gap: 0; position: relative; --fill: 0; }
.week::before, .week::after { content: ""; position: absolute; left: 21px; top: 8px; width: 2px; bottom: 8px; background: var(--line); }
.week::after { background: var(--accent); bottom: auto; height: calc((100% - 16px) * var(--fill)); }
.week li { position: relative; padding: 0 0 26px 60px; }
.week .day { position: absolute; left: 0; top: 0; z-index: 1; width: 44px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.week li.done .day { background: var(--accent); color: #fff; box-shadow: none; }
.week b { display: block; font-size: 18px; padding-top: 4px; }
.week p { color: var(--muted); font-size: 16px; max-width: 40ch; }
.week .you { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-hover); background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; }

.after { margin-top: 56px; }
.after h3 { font-size: 26px; letter-spacing: -.025em; margin-bottom: 14px; }
.after dl { border-top: 2px solid var(--ink); }
.after dl > div { display: grid; gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.after dt { font-weight: 700; }
.after dd { color: var(--ink-2); max-width: 64ch; }

/* o mnie: monogram albo zdjęcie, przełącza data-photo na sekcji */
.avatar-photo { display: none; width: 132px; height: 165px; object-fit: cover; border-radius: 20px; background: var(--line); }
[data-photo="on"] .avatar { display: none; }
[data-photo="on"] .avatar-photo { display: block; }
.about { display: grid; gap: 24px; align-items: center; }
.about-text p { color: var(--ink-2); font-size: 18px; max-width: 60ch; margin-top: 12px; }
.avatar { width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; font-size: 38px; font-weight: 800; letter-spacing: -.04em; color: #fff; background: var(--accent); }

/* pytania */
.faq-in { display: grid; gap: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* kontakt */
.contact-in { display: grid; gap: 40px; align-items: start; }
.contact p { color: var(--dark-muted); font-size: 18px; max-width: 48ch; margin-top: 14px; }
.mail-big { display: flex; align-items: center; min-height: 44px; margin: 20px 0 16px; font-size: clamp(22px, 4.2vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; color: #fff; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: rgba(255,255,255,.25); transition: text-decoration-color .2s; }
.mail-big:hover { text-decoration-color: #7fd39c; }
.mailer { display: grid; gap: 8px; padding: 26px; border-radius: 18px; background: var(--dark-2); box-shadow: inset 0 0 0 1px var(--dark-line); }
.mailer label { font-size: 14px; font-weight: 600; color: #d9ddda; margin-top: 8px; }
.mailer label:first-child { margin-top: 0; }
.mailer label span { font-weight: 400; color: var(--dark-muted); }
.mailer input { background: #0e1113; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.mailer input::placeholder { color: #7b8388; }
.mailer input:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.mailer input:focus { box-shadow: inset 0 0 0 2px #7fd39c, 0 0 0 4px rgba(127,211,156,.16); }
.mailer .btn { margin-top: 16px; }
.err { color: #ffb4a8; font-size: 15px; margin-top: 6px; }

footer { background: var(--dark); color: #8f979c; border-top: 1px solid var(--dark-line); padding: 24px 0; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-note { flex-basis: 100%; }
footer a { text-decoration: underline; text-underline-offset: 3px; }

/* telefon: przyklejone przyciski */
/* Pełny pasek z własnym tłem zamiast przycisków wiszących nad treścią. Klasę .off ustawia app.js,
   gdy te same przyciski widać w pierwszym ekranie albo w sekcji kontaktu. */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transition: transform .35s var(--ease), visibility .35s; }
.callbar .btn { min-height: 48px; padding: 0 12px; }
.js .callbar.off { transform: translateY(100%); visibility: hidden; }

/* pojawianie się przy przewijaniu: tylko wybrane elementy, różnie */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-scale { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv-scale.in { opacity: 1; transform: none; }

@media (max-width: 959px) {
  :root { --nav-h: 100px; }
  .nav-in { flex-wrap: wrap; height: auto; min-height: 56px; padding-top: 10px; row-gap: 2px; }
  .links { display: flex; order: 3; width: calc(100% + 24px); margin: 0 -12px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { padding: 6px 12px; white-space: nowrap; }
}
@media (max-width: 767px) {
  /* telefon: nagłówek odjeżdża z treścią i niczego nie zasłania; stały kontakt daje dolny pasek */
  :root { --nav-h: 0px; }
  .nav { position: static; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-call, .links .wide { display: none; }
  .nav-in { min-height: 48px; padding-top: 12px; }
  .links { width: calc(100% + 12px); margin: 0 -6px; padding-bottom: 4px; overflow: visible; justify-content: space-between; gap: 0; }
  .links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
  .links a.on { background: none; color: var(--muted); }
  .win-view { height: 420px; }
  .seg { display: flex; }
  .seg label { flex: 1; text-align: center; }
  .seg span { padding: 9px 8px; }
  .demo-tabs button { font-size: 14px; padding: 11px 4px; }
  .foot-in { flex-direction: column; gap: 0; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (min-width: 768px) {
  .callbar { display: none; }
  section { padding: 112px 0; }
  .hero { padding: 56px 0 104px; }
  .head { margin-bottom: 52px; }
  .prices { grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .price { padding: 36px 34px; }
  .calc { grid-template-columns: 1.4fr 1fr; padding: 28px 32px; }
  .calc-out { justify-items: end; text-align: right; }
  .week { grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .week::before, .week::after { left: 8px; right: 8px; top: 15px; height: 2px; width: auto; bottom: auto; }
  .week::after { right: auto; width: calc((100% - 16px) * var(--fill)); height: 2px; }
  .week li { padding: 52px 0 0; }
  .week p { font-size: 15px; }
  .about { grid-template-columns: auto 1fr; gap: 40px; }
  .avatar { width: 120px; height: 120px; font-size: 44px; }
  .avatar-photo { width: 176px; height: 220px; }
  .extras-cols { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .after dl > div { grid-template-columns: 180px 1fr; }
  .faq-in { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .contact-in { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .ex { grid-template-columns: 1fr 1.5fr; align-items: start; gap: 32px; }
  .ex-shot { display: block; position: sticky; top: calc(var(--nav-h) + 24px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-win), 0 0 0 1px rgba(14,17,19,.06); background: var(--band); }
  .ex-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: opacity .35s var(--ease); }
  .ex-shot img.swap { opacity: 0; }
}
@media (min-width: 1000px) {
  .links { display: flex; }
  .hero-in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .win-view { height: 440px; }
  .wiz { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .rv, .js .rv-scale { opacity: 1; transform: none; }
}
