/* ═══════════════════════════════════════════════════════════════
   ceny-mieszkan.com — arkusz mobile-first (design refresh)
   Kierunek: czyste karty (Otodom) + elewacje i dotyk (Material)
   Kolejność: zmienne → baza (mobile) → min-width: 640 / 960
   ═══════════════════════════════════════════════════════════════ */

/* ── Czcionka Inter (self-hosted, font zmienny) ───────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-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;
}

:root {
  /* paleta */
  --navy-900: #0A1A30;
  --navy-800: #0F2440;
  --navy-700: #16325A;
  --navy-600: #1F4373;
  --brand-700: #1E40AF;
  --brand-600: #2563EB;
  --brand-500: #3B82F6;
  --brand-300: #93C5FD;
  --brand-50: #EFF6FF;
  --ok-700: #0B7F58;
  --ok-600: #0E9F6E;
  --ok-500: #10B981;
  --ok-300: #6EE7B7;
  --ok-50: #ECFDF5;
  --amber-400: #FBBF24;
  --red-500: #EF4444;
  --gray-50: #F6F8FB;
  --gray-100: #EEF2F7;
  --gray-200: #DDE5EE;
  --gray-300: #C6D2E0;
  --gray-400: #93A3B8;
  --gray-600: #51617A;
  --ink: #16233A;
  --white: #FFFFFF;

  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;

  --shadow-s: 0 1px 2px rgba(15, 36, 64, .06), 0 1px 4px rgba(15, 36, 64, .08);
  --shadow-m: 0 4px 14px rgba(15, 36, 64, .10);
  --shadow-l: 0 12px 40px rgba(15, 36, 64, .14);
  --ring: 0 0 0 3px rgba(37, 99, 235, .16);

  --header-h: 80px;
  --stickybar-h: 64px;

  --font: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Reset / baza ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.011em;
  color: var(--ink);
  background: var(--gray-50);
  padding-bottom: calc(var(--stickybar-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }

::selection { background: rgba(16, 185, 129, .25); }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; border-radius: 6px; }

/* konturowe ikony */
.icn { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icn--fill { fill: currentColor; stroke: none; }

/* ── Przyciski ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  letter-spacing: -.01em;
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

.btn--primary {
  background: var(--brand-600);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(37, 99, 235, .30);
}
.btn--primary:hover { background: var(--brand-700); box-shadow: 0 4px 16px rgba(37, 99, 235, .38); }

.btn--outline-light {
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .4);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }

.btn--ghost {
  background: transparent; color: var(--navy-700);
  border: 1.5px solid var(--gray-200);
}
.btn--ghost:hover { border-color: var(--gray-300); background: var(--white); }

.btn--back { background: transparent; color: var(--gray-600); padding-inline: 14px; font-weight: 600; }
.btn--back svg { width: 18px; height: 18px; }
.btn--back:hover { color: var(--navy-800); }

.btn--xl { min-height: 54px; padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--icon { min-width: 48px; padding: 12px; }

/* ── Nagłówki sekcji ──────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.section-head__eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px;
  border-radius: 999px; background: var(--brand-50); color: var(--brand-700);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.section-head__title { font-size: clamp(1.6rem, 5.5vw, 2.25rem); line-height: 1.22; font-weight: 800; letter-spacing: -.025em; color: var(--navy-800); }
.section-head__desc { margin-top: 12px; color: var(--gray-600); font-size: .98rem; }

/* ── Animacje wejścia ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Header ───────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.logo__icon { width: 27px; height: 27px; fill: var(--brand-600); }
.logo__accent { color: var(--brand-600); }
.logo--light { color: var(--white); }
.logo--light .logo__accent { color: var(--brand-300); }

.header__nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 89;
  flex-direction: column; gap: 2px;
  background: var(--white); padding: 14px 20px 22px;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-l);
  animation: menuIn .22s ease both;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.header__nav.is-open { display: flex; }
.header__nav a { padding: 14px 12px; border-radius: var(--radius-s); font-weight: 600; color: var(--navy-800); }
.header__nav a:active { background: var(--gray-100); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__actions .btn--primary { display: none; }

.header__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0;
}
.header__burger span { display: block; height: 2.5px; width: 100%; border-radius: 2px; background: var(--navy-800); transition: transform .2s ease, opacity .2s ease; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 54px 0 100px;
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(31, 67, 115, .85), transparent 60%),
    radial-gradient(700px 420px at -12% 108%, rgba(16, 185, 129, .18), transparent 55%),
    linear-gradient(165deg, #10294D 0%, var(--navy-900) 70%);
  color: var(--white);
  text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem; font-weight: 600;
}
.hero__badge .stars { color: var(--amber-400); letter-spacing: 2px; font-size: .88rem; line-height: 1; }

.hero__title {
  margin: 20px auto 16px;
  max-width: 800px;
  font-size: clamp(2.05rem, 8.5vw, 3.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__accent {
  background: linear-gradient(90deg, var(--ok-300), #8FF0C8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle { max-width: 620px; margin: 0 auto; font-size: clamp(1rem, 3.6vw, 1.16rem); line-height: 1.65; color: rgba(255, 255, 255, .8); }
.hero__subtitle strong { color: var(--white); font-weight: 600; }

.hero__cta { display: flex; flex-direction: column; gap: 12px; margin: 30px auto 0; max-width: 420px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  max-width: 600px; margin: 36px auto 0; padding: 0; list-style: none;
}
.hero__stats li {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 10px; border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hero__stats strong { font-size: clamp(1.3rem, 5vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; color: var(--ok-300); }
.hero__stats span { font-size: .78rem; color: rgba(255, 255, 255, .66); }


/* ── Kreator wyceny ───────────────────────────────────────────── */
.calc { padding: 8px 0 56px; }

.wizard {
  position: relative;
  max-width: 600px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 22px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.wizard__progress { height: 6px; border-radius: 99px; background: var(--gray-100); overflow: hidden; }
.wizard__progress-fill {
  height: 100%; width: 0%;
  border-radius: 99px;
  background: var(--brand-500);
  transition: width .4s cubic-bezier(.2, .7, .3, 1);
}

.wizard__stage { position: relative; min-height: 300px; }
.wizard__screen { animation: screenIn .28s ease both; }
.wizard__screen--leaving { animation: screenOut .2s ease both; }
.wizard__screen--back { animation: screenInBack .28s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes screenInBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes screenOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-22px); } }
@media (prefers-reduced-motion: reduce) {
  .wizard__screen { animation: fadeIn .2s ease both; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}

/* offset kotwic pod sticky header */
#kalkulator, #jak-to-dziala, #korzysci, #ceny, #faq, #kontakt { scroll-margin-top: 72px; }

.wizard__field-status { margin-top: 10px; font-size: .88rem; font-weight: 600; }

.wizard__question {
  margin: 20px 2px 6px;
  font-size: clamp(1.3rem, 5.5vw, 1.6rem);
  font-weight: 800; line-height: 1.25; letter-spacing: -.025em;
  color: var(--navy-800);
  text-wrap: balance;
}
.wizard__hint { margin: 0 2px 18px; font-size: .92rem; line-height: 1.55; color: var(--gray-600); }

/* karty odpowiedzi */
.wizard__options { display: grid; gap: 10px; }
.wizard__options--2 { grid-template-columns: 1fr 1fr; }
.wizard__options--3 { grid-template-columns: repeat(3, 1fr); }

.opt {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 104px; padding: 16px 10px;
  background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-m);
  font-weight: 600; font-size: .96rem; color: var(--navy-800); text-align: center;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.opt .icn { width: 28px; height: 28px; color: var(--navy-600); transition: color .15s ease; }
.opt .opt__sub { font-size: .74rem; font-weight: 500; color: var(--gray-400); }
.opt:hover { border-color: var(--brand-500); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.opt:active { transform: scale(.97); }
.opt.is-selected { border-color: var(--brand-600); background: var(--brand-50); }
.opt.is-selected .icn { color: var(--brand-600); }
.opt.is-selected::after {
  content: ""; position: absolute; top: 9px; right: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-600) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 12px no-repeat;
  animation: popIn .18s ease both;
}
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* chipsy */
.wizard__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 48px; padding: 10px 20px;
  border: 1.5px solid var(--gray-200); border-radius: 999px;
  background: var(--white); color: var(--navy-800);
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: var(--brand-500); }
.chip:active { transform: scale(.96); }
.chip.is-selected { border-color: var(--brand-600); background: var(--brand-600); color: var(--white); }

/* pole tekstowe (miasto) */
.wizard__field { position: relative; }
.wizard__field input {
  width: 100%; min-height: 56px; padding: 14px 16px;
  font-size: 16px; /* 16px = brak auto-zoomu na iOS */
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-m);
  background: var(--white); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wizard__field input::placeholder { color: var(--gray-400); }
.wizard__field input:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
.wizard__field-error { margin-top: 8px; font-size: .85rem; color: var(--red-500); font-weight: 600; }

/* suwak metrażu */
.area-value { font-size: clamp(2.2rem, 9vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy-800); text-align: center; }
.area-value small { font-size: 1.05rem; font-weight: 600; color: var(--gray-600); }

input[type="range"].area-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 20px 0 6px;
  background: transparent; cursor: pointer;
}
input[type="range"].area-range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
input[type="range"].area-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px; margin-top: -10px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-600);
  box-shadow: var(--shadow-m);
  transition: transform .12s ease;
}
input[type="range"].area-range:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"].area-range::-moz-range-track {
  height: 8px; border-radius: 99px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
input[type="range"].area-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-600);
  box-shadow: var(--shadow-m);
}

.area-quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.area-quick .chip { min-height: 44px; padding: 8px 16px; font-size: .88rem; }
.area-quick .chip.is-selected { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-600); }

/* toggles udogodnień */
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle {
  display: flex; align-items: center; gap: 11px;
  min-height: 64px; padding: 12px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-m);
  font-weight: 600; font-size: .93rem; color: var(--navy-800);
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  text-align: left;
  transition: border-color .15s ease, background-color .15s ease;
}
.toggle .icn { width: 22px; height: 22px; color: var(--navy-600); transition: color .15s ease; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .toggle__box {
  margin-left: auto; flex: none;
  width: 24px; height: 24px; border-radius: 8px;
  border: 1.5px solid var(--gray-300);
  display: grid; place-items: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.toggle .toggle__box svg { width: 14px; height: 14px; stroke: var(--white); fill: none; stroke-width: 3; opacity: 0; }
.toggle:hover { border-color: var(--brand-500); }
.toggle.is-selected { border-color: var(--brand-600); background: var(--brand-50); }
.toggle.is-selected .icn { color: var(--brand-600); }
.toggle.is-selected .toggle__box { background: var(--brand-600); border-color: var(--brand-600); }
.toggle.is-selected .toggle__box svg { opacity: 1; }

/* przycisk Dalej */
.wizard__next { margin-top: 18px; }

/* nawigacja dolna kreatora */
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.wizard__trust { display: flex; align-items: center; gap: 7px; font-size: .76rem; color: var(--gray-400); font-weight: 600; }
.wizard__trust .icn { width: 15px; height: 15px; color: var(--brand-600); }

/* formularz kontaktowy w kreatorze */
.lead-form .field { margin-bottom: 14px; }
.lead-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.lead-form input {
  width: 100%; min-height: 54px; padding: 12px 15px;
  font-size: 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-m);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input::placeholder { color: var(--gray-400); }
.lead-form input:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .82rem; line-height: 1.5; color: var(--gray-600); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.check a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }

/* ekran wyniku */
.result__price-label { text-align: center; font-size: .84rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }
.result__price {
  text-align: center; margin: 8px 0 4px;
  font-size: clamp(2.1rem, 9.5vw, 2.85rem); font-weight: 800; letter-spacing: -.035em;
  color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}
.result__range { text-align: center; font-size: 1rem; color: var(--gray-600); font-weight: 600; }
.result__per_m2 { text-align: center; margin-top: 12px; }
.result__per_m2 span {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: var(--brand-50); color: var(--ok-700); font-weight: 700; font-size: .95rem;
}
.result__factors { margin: 22px 0 0; border-top: 1px solid var(--gray-100); }
.result__factors-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 11px 2px; border-bottom: 1px solid var(--gray-100);
  font-size: .92rem;
}
.result__factors-row span:first-child { color: var(--gray-600); }
.result__factors-row span:last-child { font-weight: 700; color: var(--navy-800); text-align: right; white-space: nowrap; }
.result__disclaimer { margin-top: 16px; font-size: .78rem; color: var(--gray-400); line-height: 1.55; }
.result__actions { display: grid; gap: 10px; margin-top: 18px; }
.result__ok {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-m);
  background: var(--ok-50); color: var(--ok-700); font-weight: 600; font-size: .9rem;
}
.result__ok .icn { width: 20px; height: 20px; }

/* ── Kroki „jak to działa” ────────────────────────────────────── */
.steps__grid { list-style: none; display: grid; gap: 14px; }
.steps__item {
  position: relative; padding: 24px 20px;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-l); box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease;
}
.steps__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.steps__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--ok-300); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .02em;
}
.steps__item h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; color: var(--navy-800); }
.steps__item p { font-size: .94rem; line-height: 1.6; color: var(--gray-600); }
.steps--centered .steps__item { text-align: center; }
.steps--centered .steps__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; background: var(--brand-50); color: var(--brand-700); }
.steps--centered .steps__icon svg { display: block; width: 28px; height: 28px; }
.steps--centered .steps__num { display: block; width: auto; height: auto; margin: 0 0 7px; border-radius: 0; background: none; color: var(--brand-600); font-size: 12px; letter-spacing: .08em; }
.steps--centered .steps__item h3,
.steps--centered .steps__item p { text-align: center; }
.steps--centered .steps__item p { max-width: 34ch; margin-inline: auto; }

/* ── Korzyści ─────────────────────────────────────────────────── */
.benefits { background: linear-gradient(180deg, var(--gray-50), var(--gray-100)); }
.benefits__grid { display: grid; gap: 14px; }
.benefits__card {
  padding: 24px 20px;
  background: var(--white); border-radius: var(--radius-l);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefits__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.benefits__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 13px;
  background: var(--ok-50); color: var(--ok-700);
}
.benefits__icon .icn { width: 24px; height: 24px; }
.benefits__card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; color: var(--navy-800); }
.benefits__card p { font-size: .92rem; line-height: 1.6; color: var(--gray-600); }

/* ── Ceny (tabela, sortowalna) ────────────────────────────────── */
.prices__table-wrap {
  overflow: auto; max-height: 560px;
  border-radius: var(--radius-l); box-shadow: var(--shadow-s);
  border: 1px solid var(--gray-100); background: var(--white);
  scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent;
}
.prices__table-wrap::-webkit-scrollbar { width: 10px; height: 10px; }
.prices__table-wrap::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 99px; border: 2px solid var(--white); }
.prices__table-wrap::-webkit-scrollbar-track { background: transparent; }
.prices__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.prices__table th:nth-child(1) { width: 25%; }
.prices__table th:nth-child(2) { width: 16%; }
.prices__table th:nth-child(3) { width: 19%; }
.prices__table th:nth-child(4) { width: 17%; }
.prices__table th:nth-child(5) { width: 23%; }
.official-data-note { margin: 0 0 22px; padding: 18px 20px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-l); color: var(--navy-800); }
.official-data-note p { margin: 7px 0 12px; color: var(--gray-700); font-size: .91rem; line-height: 1.6; }
.official-data-note__sources { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .84rem; font-weight: 700; }
.official-data-note__sources a { color: var(--navy-700); text-underline-offset: 3px; }
.prices__missing { color: var(--gray-500); font-size: .82rem; white-space: nowrap; }
.prices__table th, .prices__table td { padding: 12px 16px; text-align: left; }
.prices__table thead th {
  background: var(--navy-800); color: rgba(255, 255, 255, .92);
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  position: sticky; top: 0; z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.prices__table thead th button {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit;
  min-height: 24px;
}
.prices__table thead th button:hover { color: var(--brand-300); }
.prices__table thead th .sort-ind { font-size: .72rem; opacity: .95; min-width: 10px; }
.prices__table tbody tr { transition: background-color .12s ease; }
.prices__table tbody tr:hover { background: var(--brand-50); }
.prices__table tbody tr:nth-child(odd) { background: var(--gray-50); }
.prices__table tbody tr:nth-child(odd):hover { background: var(--brand-50); }
.prices__table td:first-child { font-weight: 600; color: var(--navy-800); }
.prices__table td:nth-child(2), .prices__table td:nth-child(3), .prices__table td:nth-child(4) { font-weight: 700; color: var(--ok-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices__table td:nth-child(3), .prices__table td:nth-child(4) { color: var(--navy-700); font-weight: 600; }
.prices__table td, .prices__table th { overflow-wrap: anywhere; }
.prices__table td:last-child a { color: var(--navy-600); font-weight: 600; font-size: .87rem; white-space: nowrap; }
.prices__table td:last-child a::after { content: " →"; color: var(--brand-600); transition: margin .15s ease; }
.prices__table td:last-child a:hover::after { margin-left: 3px; }
.prices__note { margin-top: 12px; font-size: .85rem; line-height: 1.6; color: var(--gray-600); }

@media (max-width: 700px) {
  .official-data-note { padding: 16px; }
  .official-data-note__sources { display: grid; gap: 8px; }
  .prices__table-wrap { overflow: visible; max-height: none; border: 0; box-shadow: none; background: transparent; }
  .prices__table, .prices__table tbody, .prices__table tr, .prices__table th, .prices__table td { display: block; width: 100%; }
  .prices__table { table-layout: auto; min-width: 0; }
  .prices__table thead { display: none; }
  .prices__table tbody { display: grid; gap: 10px; }
  .prices__table tbody tr { padding: 14px 16px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
  .prices__table tbody tr:nth-child(odd), .prices__table tbody tr:hover, .prices__table tbody tr:nth-child(odd):hover { background: var(--white); }
  .prices__table tbody th { padding: 0 0 10px; border-bottom: 1px solid var(--gray-100); font-size: 1.02rem; }
  .prices__table tbody td { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 7px 0 0; text-align: right; font-size: .9rem; }
  .prices__table tbody td::before { flex: 1; color: var(--gray-600); font-size: .78rem; font-weight: 600; text-align: left; }
  .prices__table tbody td:nth-child(2)::before { content: 'Baza kalkulatora'; }
  .prices__table tbody td:nth-child(3)::before { content: 'NBP · transakcje'; }
  .prices__table tbody td:nth-child(4)::before { content: 'NBP · oferty'; }
  .prices__table tbody td:nth-child(5) { display: block; padding-top: 12px; }
  .prices__table tbody td:nth-child(5) a { display: block; padding: 10px 12px; background: var(--brand-50); border-radius: var(--radius-m); text-align: center; }
  .prices__table td:last-child a::after { content: ' →'; }
}

/* ── Opinie (sekcja wstrzymana — style na przyszłość) ─────────── */
.reviews__grid { display: grid; gap: 14px; }
.reviews__card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 20px;
  background: var(--white); border-radius: var(--radius-l);
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-s);
}
.reviews__stars { color: var(--amber-400); font-size: 1.1rem; letter-spacing: 3px; }
.reviews__card blockquote { font-size: .96rem; line-height: 1.65; color: var(--ink); flex: 1; }
.reviews__card figcaption { font-size: .85rem; color: var(--gray-600); }
.reviews__card figcaption strong { color: var(--navy-800); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-m); box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq__item:hover { border-color: var(--gray-300); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 18px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em; color: var(--navy-800);
  cursor: pointer; list-style: none;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 700; font-size: 1.1rem; line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--brand-600); color: var(--white); }
.faq__item p { padding: 0 18px 18px; font-size: .93rem; line-height: 1.65; color: var(--gray-600); }
.faq__item[open] p { animation: faqIn .25s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── Kontakt ──────────────────────────────────────────────────── */
.contact__card {
  display: grid; gap: 26px;
  background: linear-gradient(150deg, #10294D, var(--navy-900));
  border-radius: var(--radius-l);
  padding: 28px 22px;
  color: var(--white);
  box-shadow: var(--shadow-l);
}
.contact__info h2 { font-size: clamp(1.35rem, 5vw, 1.8rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 10px; }
.contact__info > p { color: rgba(255, 255, 255, .78); font-size: .97rem; }
.contact__channels { display: grid; gap: 10px; margin-top: 20px; }
.contact__channel {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; min-height: 64px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  transition: background-color .15s ease, border-color .15s ease;
}
.contact__channel:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.contact__channel-icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(16, 185, 129, .16); color: var(--ok-300);
}
.contact__channel-icon .icn { width: 21px; height: 21px; }
.contact__channel small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .58); }
.contact__channel strong { font-size: .97rem; font-weight: 600; }

.contact__form {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-m); padding: 22px 18px;
  box-shadow: var(--shadow-m);
}
.contact__form h3 { color: var(--navy-800); font-size: 1.13rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 14px; }
.contact__form .field { margin-bottom: 12px; }
.contact__form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.contact__form input {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 16px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-s);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact__form input::placeholder { color: var(--gray-400); }
.contact__form input:focus { outline: none; border-color: var(--brand-600); box-shadow: var(--ring); }
.contact__form .check { color: var(--gray-600); }
.contact__form-status { margin-top: 10px; font-size: .88rem; font-weight: 600; }
.contact__form-status.is-ok { color: var(--brand-700); }
.contact__form-status.is-err { color: var(--red-500); }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 42px 0 26px; }
.footer__inner { display: grid; gap: 26px; }
.footer__brand p { margin-top: 12px; font-size: .9rem; line-height: 1.6; max-width: 320px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer__nav h4 { color: var(--white); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.footer__nav a { display: block; padding: 7px 0; font-size: .92rem; }
.footer__nav a:hover { color: var(--brand-300); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 30px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem;
}
.footer__bottom a { color: var(--brand-300); text-decoration: underline; }

/* ── Sticky mobilny pasek CTA ─────────────────────────────────── */
.stickybar {
  position: fixed; z-index: 80;
  left: 0; right: 0; bottom: 0;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -4px 24px rgba(15, 36, 64, .1);
}
.stickybar__cta { flex: 1; min-height: 50px; }
.stickybar__phone {
  flex: none; width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  transition: background-color .15s ease;
}
.stickybar__phone:hover { background: var(--navy-700); }
.stickybar__phone svg { width: 21px; height: 21px; fill: currentColor; }
.stickybar.is-hidden { transform: translateY(110%); transition: transform .3s ease; }

/* ── Cookies ──────────────────────────────────────────────────── */
.cookies {
  position: fixed; z-index: 100;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 26, 48, .97);
  color: var(--white);
}
.cookies__box { max-width: 720px; margin: 0 auto; }
.cookies__box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cookies__box p { font-size: .84rem; line-height: 1.55; color: rgba(255, 255, 255, .75); }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cookies__actions .btn { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
.cookies__actions .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.cookies__actions .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* ── Podstrony miast ──────────────────────────────────────────── */
.hero--city { padding: 44px 0 84px; }
.city-price__chip {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 24px auto 0; padding: 16px 30px;
  border-radius: var(--radius-l);
  background: rgba(16, 185, 129, .12); border: 1px solid rgba(110, 231, 183, .35);
  color: var(--white); font-size: clamp(1.7rem, 7vw, 2.3rem); font-weight: 800; letter-spacing: -.03em;
}
.city-price__chip small { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.city-price__chip span { font-size: .8rem; font-weight: 600; color: var(--ok-300); }

.city-content h2 { margin: 28px 0 10px; font-size: clamp(1.25rem, 4.5vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy-800); }
.city-content p { margin-bottom: 12px; color: var(--gray-600); line-height: 1.65; }
.city-content__list { margin: 0 0 10px 20px; color: var(--gray-600); }
.city-content__list li { margin-bottom: 8px; }
.city-content__cta { text-align: center; margin: 30px 0 10px; }
.city-content__cta .btn { max-width: 460px; }
.city-content__note { margin-top: 10px; font-size: .82rem; color: var(--gray-400); }
.city-content__links { margin: 6px 0 0 20px; }
.city-content__links li { margin-bottom: 6px; }
.city-content__links a, .city-index__list a { color: var(--brand-700); font-weight: 600; text-decoration: underline; }

.city-index__list { list-style: none; display: grid; gap: 2px; }
.city-index__list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 6px; border-bottom: 1px solid var(--gray-100); font-size: .95rem;
}
.city-index__list li span { color: var(--gray-600); font-weight: 700; white-space: nowrap; }

/* ═══════════════════════════════════════════════
   BREAKPOINT ≥ 640 px
   ═══════════════════════════════════════════════ */
@media (min-width: 640px) {
  .section { padding: 72px 0; }

  .hero { padding: 76px 0 112px; }
  .hero__cta { flex-direction: row; justify-content: center; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }

  .steps__grid { grid-template-columns: repeat(3, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }

  .prices__table { min-width: 0; }

  .contact__card { grid-template-columns: 1.1fr .9fr; padding: 36px 30px; align-items: start; }

  .footer__inner { grid-template-columns: 1.2fr 2fr; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }

  .cookies { left: auto; right: 18px; bottom: 18px; max-width: 430px; border-radius: var(--radius-l); padding: 20px; }

  .toggles { grid-template-columns: repeat(3, 1fr); }
  .city-index__list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT ≥ 960 px — desktop
   ═══════════════════════════════════════════════ */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .stickybar { display: none; }

  .header__nav { display: flex; position: static; flex-direction: row; gap: 4px; background: none; padding: 0; border: 0; box-shadow: none; animation: none; }
  .header__nav a { padding: 10px 14px; font-size: .94rem; font-weight: 600; color: var(--gray-600); }
  .header__nav a:hover { background: var(--gray-100); border-radius: 8px; color: var(--navy-800); }
  .header__actions .btn--primary { display: inline-flex; }
  .header__burger { display: none; }

  .hero { padding: 100px 0 132px; }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .wizard { padding: 30px 30px 26px; }
}

/* ═══════════════════════════════════════════════
   Druk
   ═══════════════════════════════════════════════ */
@media print {
  .header, .stickybar, .cookies, .hero__cta, .wizard__nav { display: none !important; }
  body { padding: 0; background: white; }
}

/* ═══════════════════════════════════════════════
   NOWE KOMPONENTY (paleta zaufania + rozszerzenia)
   ═══════════════════════════════════════════════ */

/* ładny, wyraźny checkbox zgód (pole wymagane) */
.check { font-weight: 400; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 21px; height: 21px; margin-top: 1px; flex: none;
  border: 1.5px solid var(--gray-300); border-radius: 6px;
  background: var(--white); cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.check input:hover { border-color: var(--brand-500); }
.check input:checked {
  background: var(--brand-600);
  border-color: var(--brand-600);
}
.check input:checked::after {
  content: "";
  width: 12px; height: 12px;
  background: 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='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check input:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

/* autouzupełnianie miast */
.ac { position: relative; }
.ac__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 25;
  max-height: 290px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
  padding: 6px;
  animation: acIn .16s ease both;
}
@keyframes acIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ac__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding: 10px 12px;
  border-radius: var(--radius-s);
  font-size: .95rem; font-weight: 500; color: var(--navy-800);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ac__opt small { color: var(--gray-400); font-size: .78rem; flex: none; }
.ac__opt.is-active, .ac__opt:hover { background: var(--brand-50); color: var(--brand-700); }
.ac__mark { font-weight: 700; }
.ac__empty { padding: 12px; font-size: .88rem; color: var(--gray-600); }

/* siatka 5 kart (standard mieszkania) */
.wizard__options--auto { grid-template-columns: 1fr 1fr; }
.wizard__options--auto .opt:last-child { grid-column: 1 / -1; }

/* ── Insights (blog pod Google Discover/News) ── */
.insights { background: var(--white); }
.insights__grid { display: grid; gap: 16px; }
.insights__card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-l);
  overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease;
}
.insights__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.insights__img {
  aspect-ratio: 16 / 9; width: 100%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  object-fit: cover; display: block;
}
.insights__body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.insights__meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; color: var(--brand-600); text-transform: uppercase; letter-spacing: .06em; }
.insights__meta time { color: var(--gray-400); text-transform: none; letter-spacing: 0; }
.insights__title { font-size: 1.12rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--navy-800); text-wrap: balance; }
.insights__excerpt { font-size: .9rem; color: var(--gray-600); line-height: 1.55; flex: 1; }
.insights__author { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--gray-600); }
.insights__author img, .insights__author .insights__avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700; font-size: .72rem;
}
.insights__more { text-align: center; margin-top: 22px; }

/* ── Mapa Polski z miastami ── */
.map {
  background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 14px;
  margin-bottom: 26px;
}
.map svg { width: 100%; height: auto; display: block; }
.map__land { fill: #E8EEF6; stroke: var(--gray-300); stroke-width: 1; }
.map__dot { cursor: pointer; stroke: var(--white); stroke-width: 1.2; transition: r .12s ease; }
.map__dot:hover { stroke: var(--navy-800); }
.map__legend {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding-top: 12px; font-size: .76rem; font-weight: 600; color: var(--gray-600);
}
.map__legend i {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 5px; vertical-align: -1px;
}

/* ── Zdjęcie miasta w tle hero (podstrony) ── */
.hero--city { position: relative; }
.hero--city .hero__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38; filter: saturate(.85);
}
.hero--city .hero__inner { position: relative; z-index: 1; }
.hero--city .hero__skyline {
  position: absolute; inset: auto 0 0 0; z-index: 0; opacity: .5;
  pointer-events: none;
}
.hero--city .hero__skyline svg { width: 100%; height: 90px; }

@media (min-width: 640px) {
  .insights__grid { grid-template-columns: repeat(2, 1fr); }
  .map__legend { font-size: .8rem; }
}
@media (min-width: 960px) {
  .insights__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Home page fold heights: keep the overview and the calculator within one viewport. */
@media (min-width: 960px) {
  .hero.hero--home { padding-block: clamp(8px, 1.5vh, 14px); }
  .hero--home .hero__title { margin: 10px auto; font-size: clamp(40px, 3.2vw, 48px); }
  .hero--home .hero__cta { margin-top: 12px; }
  .hero--home .hero__stats { margin-top: 12px; }
  .steps--centered.section { padding-block: clamp(6px, 1vh, 10px); }
  .steps--centered .steps__item { padding: 10px 12px 6px; }
  .steps--centered .steps__icon { width: 44px; height: 44px; margin-bottom: 8px; }
  .steps--centered .steps__icon svg { width: 24px; height: 24px; }
  .steps--centered .steps__item p { line-height: 1.4; }
  .calc.calc--home { padding-block: clamp(16px, 2.5vh, 24px); }
  .calc--home .wizard { padding: 22px; }
}

.steps--centered .steps__visual { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.steps--centered .steps__icon { margin: 0; }
.steps--centered .steps__num { display: grid; place-items: center; min-width: 30px; height: 30px; margin: 0; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 959px) {
  .steps--centered .steps__item { padding-top: 28px; }
}

@media (max-width: 639px) {
  .calc.calc--home { padding: 8px 0 10px; }
  .calc--home .calculator-layout { gap: 6px; }
  .calc--home .calc-intro h2 { margin-bottom: 4px; font-size: 22px; line-height: 1.12; }
  .calc--home .calc-intro .data-note { margin-top: 6px; padding: 0; border: 0; background: none; }
  .calc--home .calc-intro .data-note strong { display: none; }
  .calc--home .calc-intro .data-note a { margin-top: 0; font-size: 12px; line-height: 1.3; }
  .calc--home .wizard { padding: 10px; }
  .calc--home .listing-import { margin-bottom: 10px; padding: 10px; }
  .calc--home .property-type-card { min-height: 64px; }
}
