/* Nieruchomości Przemęt – style strony publicznej
   Projekt i realizacja: pablitoprogramuje (https://pablitoprogramuje.pl) */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/lato-latin-400-normal.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: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/lato-latin-700-normal.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: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato-latin-ext-900-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/lato-latin-900-normal.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 {
  --brand: #2B6CA3;
  --brand-600: #245C8C;
  --brand-700: #1D4F7C;
  --brand-800: #163F63;
  --brand-900: #102F4B;
  --brand-100: #E4EEF7;
  --brand-50: #F2F7FB;
  --ink: #16263A;
  --ink-2: #44566B;
  --ink-3: #6B7D90;
  --line: #DCE5EE;
  --bg: #FFFFFF;
  --warn: #B7791F;
  --success: #2F855A;
  --danger: #C53030;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 47, 75, .06), 0 8px 24px rgba(16, 47, 75, .08);
  --shadow-lg: 0 18px 40px rgba(16, 47, 75, .16);
  --font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--brand-900); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #7FB0DC; outline-offset: 2px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; vertical-align: -.15em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-3); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(43, 108, 163, .28); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: var(--brand-100); color: var(--brand-700); }
.btn--ghost:hover { background: #d4e4f2; color: var(--brand-800); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--outline:hover { background: var(--brand-50); }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-800); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--link { background: none; color: var(--ink-2); padding-inline: .6em; }
.btn--block { width: 100%; }
.btn--lg { font-size: 1.1rem; padding: .9em 1.4em; }
.btn--small { padding: .4em .8em; font-size: .85rem; }

.badge { display: inline-block; padding: .28em .7em; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.badge--soft { background: var(--brand-100); color: var(--brand-700); }
.badge--accent { background: #fff; color: var(--brand-700); }
.badge--warn { background: #FEF3C7; color: #92400E; }
.badge--muted { background: #4A5568; color: #fff; }

.eyebrow { margin: 0 0 .4em; font-size: .8rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow--light { color: #A9CBEA; }

/* ---------- Pasek górny i nagłówek ---------- */
.topbar { background: var(--brand-900); color: #C9DBEC; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__links { display: flex; gap: 20px; }
.topbar a { color: #E6EFF8; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); }
.brand__mark { width: 52px; height: auto; }
.brand__name { font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; color: var(--brand); white-space: nowrap; }
.brand__name strong { font-weight: 900; }
.brand--light, .brand--light .brand__name { color: #fff; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: .55em .9em; border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.nav ul a:hover { background: var(--brand-50); color: var(--brand); }
.nav ul a[aria-current="page"] { color: var(--brand); background: var(--brand-100); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--brand-50); cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--brand-700); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-800); }
.hero__bg { position: absolute; inset: 0; background: url(../img/hero.svg) center bottom / cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,47,75,.35), rgba(16,47,75,.1) 40%, rgba(16,47,75,.55)); }
.hero__inner { position: relative; padding: 84px 20px 96px; }
.hero__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; max-width: 900px; letter-spacing: -.015em; margin-bottom: .45em; }
.hero__lead { font-size: 1.15rem; max-width: 680px; color: #DCE9F5; margin-bottom: 2rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 26px 0 0; color: #DCE9F5; font-weight: 700; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points .icon { color: #8EC1EE; }

/* ---------- Wyszukiwarka ---------- */
.search { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; background: #fff; color: var(--ink); padding: 18px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 1060px; }
.search__field label, .filters__field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px 4px; }
.search select, .search input, .filters select, .filters input, .sort select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background-color: var(--brand-50); }
.search select, .filters select, .sort select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232B6CA3' stroke-width='2.4' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.search select:focus, .search input:focus, .filters select:focus, .filters input:focus { border-color: var(--brand); background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(43,108,163,.18); }
.search__submit { height: 48px; padding-inline: 1.8em; }

/* ---------- Sekcje ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 40px 0 72px; }
.section--tint { background: var(--brand-50); }
.section--brand { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); color: #E1ECF7; }
.section--brand .section__title { color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -.01em; margin: 0; }
.section__lead { color: var(--ink-2); max-width: 640px; margin: .8em 0 0; }

.page-head { background: linear-gradient(180deg, var(--brand-50), #fff); padding: 34px 0 20px; border-bottom: 1px solid var(--line); }
.page-head__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin: .2em 0 .35em; }
.page-head__lead { color: var(--ink-2); max-width: 760px; font-size: 1.08rem; }
.breadcrumbs { font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Kafelki ofert ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--brand-100); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__photos { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(16,47,75,.72); color: #fff; font-size: .8rem; font-weight: 700; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__type { margin: 0 0 6px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.card__type span { color: var(--ink-3); }
.card__title { font-size: 1.15rem; margin: 0 0 12px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__params { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 0 0 16px; color: var(--ink-2); font-size: .92rem; }
.card__params li { display: inline-flex; align-items: center; gap: 6px; }
.card__params .icon { color: var(--brand); }
.card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__price { margin: 0; font-size: 1.3rem; font-weight: 900; color: var(--brand-800); }
.card__price small { font-size: .8rem; color: var(--ink-3); font-weight: 700; }
.card__more { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-100); color: var(--brand); flex: none; }
.card__more:hover { background: var(--brand); color: #fff; }
.card--sold .card__media img { filter: grayscale(.7); opacity: .8; }

.empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--brand-50); }
.empty p { max-width: 560px; margin-inline: auto; }

/* ---------- Kategorie ---------- */
.grid-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-100); color: var(--brand); font-size: 1.4rem; }
.cat__text strong { display: block; font-size: 1.05rem; color: var(--brand-900); }
.cat__text small { color: var(--ink-3); font-size: .88rem; line-height: 1.35; display: block; }
.cat__count { font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Usługi ---------- */
.grid-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; font-size: 1.5rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.split--text { align-items: start; grid-template-columns: 1fr 1fr; }
.checklist { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: #fff; }
.checklist .icon { color: #8EC1EE; margin-top: .2em; }
.checklist--dark li { color: var(--ink); font-weight: 400; }
.checklist--dark .icon { color: var(--brand); }
.cta-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.cta-card h3 { font-size: 1.4rem; margin: 0; }
.cta-card p { color: var(--ink-2); margin: 0 0 6px; }

.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--ink); }
.prose--narrow { max-width: 820px; }

.faq__title { font-size: 1.4rem; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq__item summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--brand-900); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-800)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .25em; }
.cta-band p { margin: 0; color: #D6E6F5; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Lista ofert ---------- */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.filters__field--range { min-width: 220px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filters__actions { display: flex; gap: 6px; align-items: center; }
.filters__actions .btn { height: 48px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 26px 0 18px; flex-wrap: wrap; }
.results-bar p { margin: 0; color: var(--ink-2); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { font-size: .9rem; color: var(--ink-3); white-space: nowrap; }
.sort select { height: 42px; min-width: 210px; background-color: #fff; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current] { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination__gap { border: 0 !important; background: none !important; }
.archive-link { text-align: center; margin-top: 32px; font-size: .92rem; }

/* ---------- Szczegóły oferty ---------- */
.page-head--listing { padding-bottom: 28px; }
.listing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 14px; flex-wrap: wrap; }
.listing-head__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.listing-head__title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; margin: 0 0 8px; max-width: 800px; }
.listing-head__loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--ink-2); font-weight: 700; }
.listing-head__loc .icon { color: var(--brand); }
.listing-head__price { text-align: right; display: grid; gap: 2px; }
.listing-head__price strong { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--brand-800); line-height: 1.1; }
.listing-head__price strong small { font-size: .9rem; color: var(--ink-3); }
.listing-head__price span { color: var(--ink-2); font-size: .95rem; }

.listing { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.listing__main { display: grid; gap: 24px; min-width: 0; }
.listing__side { position: sticky; top: 96px; display: grid; gap: 14px; }

.gallery__main { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--brand-100); aspect-ratio: 3 / 2; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; background: rgba(16,47,75,.78); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.gallery__thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gallery__thumbs a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; border: 2px solid transparent; opacity: .85; transition: opacity .15s, border-color .15s; }
.gallery__thumbs a:hover, .gallery__thumbs a[aria-current="true"] { opacity: 1; border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery--empty { border-radius: var(--radius); overflow: hidden; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel__title { font-size: 1.25rem; font-weight: 900; margin-bottom: 16px; }
.params { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.params div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.params dt { color: var(--ink-3); }
.params dd { margin: 0; font-weight: 700; text-align: right; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.features .icon { color: var(--brand); margin-top: .25em; }
.ext-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ext-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.ext-links a:hover { border-color: var(--brand); background: var(--brand-50); }
.ext-links a > .icon:first-child { color: var(--brand); font-size: 1.2rem; }
.ext-links span { display: grid; flex: 1; }
.ext-links small { color: var(--ink-3); }
.ext-links__arrow { color: var(--brand); }

.map { display: grid; place-items: center; min-height: 260px; border-radius: 12px; background: var(--brand-50) url(../img/hero.svg) center / cover; overflow: hidden; }
.map { gap: 8px; align-content: center; }
.map__note { color: #fff; background: rgba(16,47,75,.72); padding: 3px 10px; border-radius: 999px; font-size: .78rem; text-align: center; max-width: 90%; }
.map iframe { width: 100%; height: 360px; border: 0; }
.map--wide { margin-top: 32px; }
.map--wide iframe { height: 420px; }

.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.contact-box__label { margin: 0; font-weight: 900; font-size: 1.15rem; color: var(--brand-900); }
.contact-box__ref { margin: 0 0 6px; color: var(--ink-3); font-size: .92rem; }
.contact-box__title { font-size: 1.05rem; margin: 14px 0 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .9rem; padding: 0 6px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand-100); color: var(--brand); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--brand); color: #fff; }

.share-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 16px 20px; background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius); }
.share-bar__label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--brand-900); }
.share-bar__label .icon { color: var(--brand); }
.share-bar__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .88rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); }
.share-btn .icon { color: var(--brand); }
.share-btn--fb { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-btn--fb .icon { color: #fff; }
.share-btn--fb:hover { background: #0F63D6; border-color: #0F63D6; color: #fff; }
.share-btn--wa .icon { color: #1FA855; }
.share-btn.is-done { border-color: var(--success); color: var(--success); }

/* ---------- Formularze ---------- */
.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--brand-50); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(43,108,163,.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; margin: 4px 0 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form--compact .field-row { grid-template-columns: 1fr; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.consent input { margin-top: .2em; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.alert { padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.alert--success { background: #E6F4EA; color: #1E6B3D; }
.alert--error { background: #FDECEC; color: #9B2C2C; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.contact-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.contact-tile__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 1.3rem; flex: none; }
.contact-tile small { display: block; color: var(--ink-3); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.contact-tile strong { font-size: 1.08rem; word-break: break-word; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; flex: none; }
.steps strong { color: var(--brand-900); }
.steps p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 33, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: calc(100vw - 140px); max-height: calc(100vh - 80px); display: grid; justify-items: center; gap: 10px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; user-select: none; }
.lightbox__counter { color: #C9DBEC; font-size: .9rem; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font-size: 1.4rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- Stopka ---------- */
.footer { background: var(--brand-900); color: #B6CADD; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 44px; }
.footer__about p { margin-top: 18px; }
.footer__title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #DCE8F4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: #8EC1EE; margin-top: .25em; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 18px; flex-wrap: wrap; }
.footer__bottom a { font-weight: 700; }

.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; place-items: center; font-size: 1.5rem; box-shadow: 0 10px 24px rgba(16,47,75,.35); }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .search { grid-template-columns: repeat(2, 1fr); }
  .search__submit { grid-column: 1 / -1; }
  .grid-cards, .grid-features, .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .listing { grid-template-columns: 1fr; }
  .listing__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: .8em 1em; border-radius: 10px; }
  .contact { grid-template-columns: 1fr; }
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar__links { gap: 14px; font-size: .8rem; }
  .topbar__links a:nth-child(2) { display: none; }
  .hide-sm { display: none; }
  .header__inner { min-height: 64px; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: 1.08rem; }
  .hero__inner { padding: 48px 16px 60px; }
  .search { grid-template-columns: 1fr; padding: 14px; }
  .section { padding: 56px 0; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
  .grid-cards, .grid-features, .grid-cats { grid-template-columns: 1fr; }
  .params, .features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .listing-head__price { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox__figure { max-width: 100vw; }
  .lightbox__nav { top: auto; bottom: 18px; }
  .call-fab { display: grid; }
  .sort select { min-width: 0; }
  .share-bar { padding: 14px; }
  .share-btn span { display: none; }
  .share-btn--fb span, .share-btn--native span { display: inline; }
  .share-btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
