/* kroje hostowane lokalnie (bez przekazywania IP do Google) */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/CormorantGaramond-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/CormorantGaramond-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/CormorantGaramond-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/CormorantGaramond-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/CormorantGaramond-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/CormorantGaramond-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/NotoSans-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/NotoSans-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/NotoSans-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/NotoSans-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/NotoSans-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/NotoSans-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Ceny Nieruchomości Trójmiasta — kroje i przyciski jak hp-nieruchomosci.pl
   (Cormorant Garamond + Noto Sans, kanciaste przyciski, cienkie linie), w jasnej wersji:
   biel + czarne i szare wstawki (decyzja Tomka 2026-10-07) */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f4f5;          /* szara wstawka */
  --dark: #030306;          /* czarna wstawka (kolor strony biura) */
  --card: #ffffff;
  --ink: #030306;
  --ink-2: #3a3a3f;
  --ink-3: #6a6a70;
  --grey: #a0a0a0;
  --line: #e4e4e7;
  --zielony: #22e010;       /* akcent Harmony — wszystkie miasta jednym kolorem */
  --sopot: var(--zielony);
  --gdansk: var(--zielony);
  --gdynia: var(--zielony);
  --grid: #ececef;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans", -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums lining-nums !important; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
p a, .faq a, .fine a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--grey); }
p a:hover, .faq a:hover { text-decoration-color: currentColor; }

/* ---------- nagłówek: identyczny jak na hp-nieruchomosci.pl (czarny pasek) ---------- */
.site-head { background: var(--dark); color: #fff; border-bottom: 1px solid #262626; position: relative; z-index: 12; }
.site-head .in { display: flex; align-items: center; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
.site-head .brand { flex: 0 0 auto; }
.site-head .brand img { height: 52px; width: auto; }
.hp-links { flex: 1 1 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.hp-links a { color: #d0d0d4; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.hp-links a:hover { color: #fff; }
.socials { flex: 0 0 auto; display: flex; gap: 8px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; background: #2b2b2f; color: #fff; transition: background .2s; }
.socials a:hover { background: #4a4a50; }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.burger { display: none; position: relative; width: 46px; height: 42px; background: transparent; border: 1px solid var(--line); cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 24px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* pasek serwisu (pod menu biura) */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .in { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.nav .sname { flex: 0 0 auto; font: 600 17px var(--serif); letter-spacing: 1px; text-transform: uppercase; }
.nav .links { flex: 1 1 auto; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 20px; }
.nav .links a { color: var(--ink-3); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; transition: color .2s; }
.nav .links a:hover, .nav .links a[aria-current] { color: var(--ink); }
.nav .links a[aria-current] { box-shadow: 0 1px 0 var(--ink); }

/* menu na telefonie */
.overlay { position: fixed; inset: 0; z-index: 9; background: #fff; padding: 80px 24px 32px; overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.overlay a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ink-2); text-transform: uppercase; letter-spacing: .5px; font-size: 15px; }
.overlay .ov-h { display: block; margin: 30px 0 4px; font: 600 15px var(--serif); letter-spacing: 1.5px; text-transform: uppercase; color: #8a8a90; }
.overlay .socials { margin-top: 26px; }
.overlay .socials a { padding: 0; border: 0; }
.menu-open .overlay { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.burger { flex: 0 0 auto; }

/* ---------- typografia ---------- */
.eyebrow { display: block; color: var(--ink-3); text-transform: uppercase; letter-spacing: 4px; font-size: 13px; margin: 0 0 18px; }
.eyebrow b { display: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); max-width: 900px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); text-transform: uppercase; letter-spacing: 1px; }
h2::after { content: ""; display: block; width: 60px; height: 2px; background: var(--ink); margin-top: 22px; }
h3 { font-size: 22px; letter-spacing: .5px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 720px; margin: 0; }

/* ---------- sekcje ---------- */
section { padding: 80px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--bg-2); }
.hero { padding: 100px 0 84px; background: var(--bg-2); }
.hero .row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #d9d9de; font-size: 13px; color: var(--ink-3); letter-spacing: .3px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-head .lead { font-size: 17px; }

/* ---------- karty: cienka ramka, bez zaokrągleń ---------- */
.shell { height: 100%; }
.core { background: var(--card); border: 1px solid var(--line); padding: 32px 28px; height: 100%; position: relative; }
section.alt .core { border-color: #e0e0e4; }

/* czarna wstawka (odwrócona karta) */
.core.inv { background: var(--dark); color: #fff; border-color: var(--dark); }
.core.inv .lead, .core.inv .fine, .core.inv .src { color: #bdbdc2; }
.core.inv h2::after { background: #fff; }
.core.inv .btn { background: #fff; color: var(--dark); border-color: #fff; }
.core.inv .btn.ghost { background: transparent; color: #fff; }

/* ---------- siatka ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.b-7 { grid-column: span 7; } .b-5 { grid-column: span 5; } .b-4 { grid-column: span 4; } .b-8 { grid-column: span 8; } .b-6 { grid-column: span 6; } .b-12 { grid-column: span 12; }
.city-card { display: block; }
.city-card .core { display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; transition: border-color .3s, box-shadow .3s; }
.city-card:hover .core { border-color: var(--ink); }
.city-card .tag { display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--ink-3); }
.city-card .tag span:first-child { color: var(--ink); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 10px; vertical-align: 1px; }
.city-card .big { font: 500 clamp(36px, 3.6vw, 52px)/1.05 var(--serif); margin: 26px 0 8px; }
.city-card .big small { font: 400 15px var(--sans); color: var(--ink-3); margin-left: 8px; }
.delta { font-size: 13px; letter-spacing: .5px; color: var(--ink-2); border: 1px solid var(--line); padding: 4px 10px; text-transform: none; }
.spark { height: 64px; margin-top: 18px; }
.fine { font-size: 13px; color: var(--ink-3); line-height: 1.55; margin: 0; }

/* ---------- przyciski jak na stronie biura (odwrócone na jasne tło) ---------- */
.btn { display: inline-block; background: var(--dark); color: #fff; padding: 15px 30px; border: 2px solid var(--dark); text-transform: uppercase; letter-spacing: 1px; font: 600 14px var(--sans); cursor: pointer; transition: opacity .2s, background .2s, color .2s; }
.btn:hover { opacity: .85; }
.btn.ghost { background: transparent; color: var(--dark); }
.btn.ghost:hover { background: var(--dark); color: #fff; opacity: 1; }
.btn .ic { display: none; }

/* ---------- wykresy ---------- */
.chart { position: relative; width: 100%; }
.chart svg { overflow: visible; }
.chart text { font: 12px var(--sans); fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .lbl { font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.tip { position: absolute; pointer-events: none; z-index: 2; min-width: 180px; padding: 12px 14px; font-size: 13px; line-height: 1.5; background: var(--dark); color: #fff;
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .25s var(--ease); }
.tip.on { opacity: 1; transform: none; }
.tip b { font-weight: 600; }
.tip .r { display: flex; justify-content: space-between; gap: 16px; }
.tip .r i { font-style: normal; color: #a0a0a6; }
.tip .fine { color: #a0a0a6; }

/* ranking dzielnic */
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: grid; grid-template-columns: minmax(120px, 220px) 1fr 150px; gap: 18px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: default; transition: background .2s; }
.rank li:hover, .rank li:focus { background: var(--bg-2); outline: 0; }
.rank .nm { font-size: 15px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .tr { position: relative; height: 22px; }
.rank .tr::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--grid); }
.rank .rg { position: absolute; top: 6px; height: 10px; border-radius: 5px; background: var(--c); transform-origin: left; }
.rank .md { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; }
.rank .vl { text-align: right; font: 600 19px/1.1 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.rank .vl small { display: block; font: 400 11.5px var(--sans); color: var(--ink-3); margin-top: 2px; }
.axis-note { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); padding: 0 172px 0 242px; margin-top: 10px; }

/* tabela danych */
details.tbl { margin-top: 26px; }
details.tbl summary { cursor: pointer; font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1px; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.tbl summary::-webkit-details-marker { display: none; }
svg.i { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.tw { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--ink-2); }
th:first-child, td:first-child { text-align: left; }
th { font-weight: 500; color: var(--ink-3); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* zdanie z liczbą (pod cytowanie) */
.quote { font: 500 clamp(22px, 2.4vw, 30px)/1.3 var(--serif); margin: 0; }
.quote b { font-weight: 700; }
.src { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* statystyki */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .k { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3); }
.stat .v { font: 500 clamp(36px, 3.6vw, 48px)/1 var(--serif); margin-top: 16px; font-variant-numeric: lining-nums; }
.stat .v small { font: 400 13px var(--sans); color: var(--ink-3); margin-left: 4px; }
.stat .s { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

/* autor */
.author { display: grid; grid-template-columns: 76px 1fr; gap: 24px; align-items: start; }
.avatar { width: 76px; height: 76px; border: 1px solid currentColor; display: grid; place-items: center; font: 600 26px var(--serif); }
.cta-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); }
.cta-card h2::after { display: none; }

/* formularze */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select { appearance: none; width: 100%; padding: 14px 16px; border: 1px solid #d4d4d8; border-radius: 0; font: 400 16px var(--sans); color: var(--ink); background: #fff; transition: border-color .2s; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--ink); }
.field select { background-image: linear-gradient(45deg, transparent 50%, #6a6a70 50%), linear-gradient(135deg, #6a6a70 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid #a0a0a6; border-radius: 0; background: #fff; display: grid; place-content: center; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ok-msg { display: none; }

/* test ceny — miernik */
.gauge { position: relative; height: 76px; margin: 34px 0 10px; }
.gauge .bar { position: absolute; left: 0; right: 0; top: 30px; height: 10px; border-radius: 5px; background: var(--grid); }
.gauge .band { position: absolute; top: 30px; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink-3) 25%, transparent); transition: left .9s var(--ease), width .9s var(--ease); }
.gauge .med { position: absolute; top: 24px; width: 2px; height: 22px; background: var(--c, #030306); transition: left .9s var(--ease); }
.gauge .you { position: absolute; top: 0; transform: translateX(-50%); transition: left 1.1s var(--ease); text-align: center; }
.gauge .you b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 3px 9px; background: var(--dark); color: #fff; }
.gauge .you i { display: block; width: 2px; height: 20px; margin: 2px auto 0; background: var(--dark); }
.gauge .ends { position: absolute; top: 52px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.verdict { font: 500 clamp(24px, 2.6vw, 32px)/1.25 var(--serif); margin: 22px 0 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 21px/1.3 var(--serif); display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--sans); color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 75ch; }

/* stopka — czarna wstawka jak strona biura */
footer { padding: 70px 0 44px; background: var(--dark); color: #fff; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { margin: 0 0 14px; font: 600 15px var(--serif); letter-spacing: 1.5px; text-transform: uppercase; }
footer a { display: block; color: #a0a0a6; padding: 3px 0; font-size: 14px; transition: color .2s; }
footer a:hover { color: #fff; }
footer .muted, footer .fine { color: #a0a0a6; }
.big-mark { display: none; }

/* baner cookies + ikona w lewym dolnym rogu */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; padding: 16px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .06); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.cookie p { margin: 0; flex: 0 1 680px; color: var(--ink-2); }
.cookie p b { font-weight: 500; color: var(--ink); }
.cookie button { cursor: pointer; padding: 10px 20px; font: 500 14px var(--sans); border: 1px solid var(--dark); }
.cookie .y { background: var(--dark); color: #fff; } .cookie .n { background: transparent; color: var(--dark); }
.cookie-ico { position: fixed; left: 16px; bottom: 16px; z-index: 11; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); transition: border-color .2s, transform .3s var(--ease); }
.cookie-ico:hover { border-color: var(--ink); transform: translateY(-2px); }
.cookie-ico svg { width: 22px; height: 22px; fill: currentColor; }

/* wejście przy przewijaniu — spokojne */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.line-in { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2s var(--ease); }
.in .line-in, .line-in.in { stroke-dashoffset: 0; }
.rank .rg { transform: scaleX(0); transition: transform 1.1s var(--ease); }
.in .rank .rg, .rank.in .rg { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .rv, .rank .rg, .line-in { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}

/* ---------- telefon ---------- */
@media (max-width: 980px) {
  .nav .in { justify-content: space-between; }
  .burger { display: block; }
  .nav .links { display: none; }
  .hero .row, .sec-head { grid-template-columns: 1fr; gap: 28px; }
  .bento { grid-template-columns: 1fr; gap: 18px; }
  .bento > * { grid-column: span 1 !important; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rank li { grid-template-columns: 1fr 90px; gap: 4px 12px; }
  .rank .tr { grid-column: 1 / -1; grid-row: 2; }
  .axis-note { padding: 0 4px; }
  .form, .cta-card { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .author { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .nav .sname { font-size: 14px; }
  section { padding: 60px 0; }
  .core { padding: 24px 20px; }
}

/* cyfry równej wysokości w kroju szeryfowym (Cormorant ma domyślnie nautyczne) */
h1, h2, h3, h4, .quote, .faq summary, .verdict, .avatar { font-variant-numeric: lining-nums; }

/* przedziały „od … do …” — małe słowa przy dużych liczbach */
.range > span:not(.dot), .range-v > span { font: 400 .34em var(--sans); color: var(--ink-3); letter-spacing: .5px; margin: 0 .35em 0 .2em; vertical-align: .55em; text-transform: uppercase; }
.range > span:not(.dot):first-of-type, .range-v > span:first-of-type { margin-left: 0; }
.range-v { font-size: clamp(30px, 3vw, 40px) !important; }
@media (max-width: 980px) { .rank li { grid-template-columns: 1fr 140px; } }

/* test ceny: sekcje formularza, dodatki, kafle wyniku */
.fs-h { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font: 600 22px var(--serif); }
.fs-h span { display: block; font: 400 13px var(--sans); color: var(--ink-3); margin-top: 4px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #d4d4d8; cursor: pointer; font-size: 15px; user-select: none; transition: border-color .2s, background .2s; }
.checks label:has(input:checked) { border-color: var(--ink); background: var(--bg-2); }
.checks input { width: 18px; height: 18px; accent-color: var(--dark); margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); padding: 26px 24px; background: #fff; }
.tile .k { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3); }
.tile .v { font: 500 clamp(38px, 4.2vw, 56px)/1 var(--serif); margin-top: 14px; font-variant-numeric: lining-nums tabular-nums; }
.tile .v small { font: 400 15px var(--sans); color: var(--ink-3); margin-left: 6px; }
.tile .s { font-size: 13px; color: var(--ink-3); margin-top: 12px; line-height: 1.45; }
.tile.you-t { background: var(--dark); color: #fff; border-color: var(--dark); }
.tile.you-t .k, .tile.you-t .s, .tile.you-t .v small { color: #bdbdc2; }
.t-total { font: 500 clamp(20px, 2vw, 26px)/1.35 var(--serif); margin: 22px 0 0; }
.t-total b { font-weight: 700; font-variant-numeric: lining-nums; }
.t-basis { margin-top: 8px !important; }
.t-factors { margin-top: 26px; }
.t-factors h3 { font-size: 22px; margin-bottom: 10px; }
.t-factors ul { list-style: none; margin: 0; padding: 0; }
.t-factors li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.t-factors li b { font: 600 18px var(--sans); color: var(--ink); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
