/* Kotsisa Living – moduł dostępności. Paleta i kroje zgodne z kotsisa.com: beż, grafit, brąz; Hedvig Letters Serif + Manrope. */
:root {
  --bg: #f7f4ef;
  --paper: #fbfaf7;
  --sand: #e8e3db;
  --sand-2: #f0ece5;
  --line: #ddd8cf;
  --line-soft: #ebe7e0;
  --ink: #2c302e;
  --ink-2: #44494a;
  --muted: #6b6f6c;
  --bronze: #9e7856;
  --bronze-deep: #7f5f42;
  --bronze-soft: #efe4d6;
  --white: #ffffff;
  --ok: #4f6b4a;
  --ok-bg: #e6eddf;
  --err: #9a3b2e;
  --err-bg: #f5e3de;
  --busy: #dedbd5;
  --sel: #2c302e;
  --range: #ecdcc2;
  --serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --sans: Manrope, "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(44, 48, 46, .05), 0 8px 24px rgba(44, 48, 46, .07);
  --shadow-lg: 0 2px 4px rgba(44, 48, 46, .06), 0 20px 48px rgba(44, 48, 46, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(32px, 4.6vw, 50px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); font-weight: 700; margin: 0 0 12px; }
.ic { width: 18px; height: 18px; flex: 0 0 auto; }
.ic-lg { width: 40px; height: 40px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* Nagłówek */
.site-head { background: rgba(251, 250, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 40; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--sand); font-family: var(--serif); font-size: 19px; }
.head-nav { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.head-nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s var(--ease); }
.head-nav a:hover { background: var(--sand-2); color: var(--ink); }
.head-nav .ic { width: 15px; height: 15px; }

/* Przyciski i pola */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 12px;
  background: var(--ink); color: var(--white); font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-wide { width: 100%; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); min-height: 44px; }
.btn-ghost:hover { background: var(--sand-2); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--ink); display: inline-grid; place-items: center; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
label > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: 16px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(158, 120, 86, .18); }
label.invalid input, label.invalid textarea, label.invalid select { border-color: var(--err); background: var(--err-bg); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--line); margin: 0 0 14px; font-size: 15px; }
.alert-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.alert-error { background: var(--err-bg); border-color: transparent; color: var(--err); }

/* Hero i wyszukiwarka */
.hero { background: var(--sand); padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(158, 120, 86, .16), transparent 70%); pointer-events: none; }
.hero-compact { padding: 32px 0 28px; }
.hero-compact h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.hero .wrap { position: relative; }
.search { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end;
  background: var(--white); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.search:not(:has(select)) { grid-template-columns: 1fr 1fr auto; }
.search .btn { min-height: 50px; padding: 0 32px; }
.search-quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; padding-top: 4px; }
.search-quick button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.search-quick button:hover, .search-quick button.on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--bronze); }

/* Wyniki */
.results { padding-top: 40px; padding-bottom: 40px; }
.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar h2 { margin: 0 0 4px; }
.toolbar h2 small { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-left: 6px; }
.toolbar-info p { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 15px; }
.toolbar-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); transition: all .15s; }
.chips a small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chips a:hover { border-color: var(--ink); }
.chips a.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips a.on small { color: var(--sand); }
.sorter label { display: flex; align-items: center; gap: 10px; }
.sorter label > span { margin: 0; }
.sorter select { min-height: 42px; padding: 8px 36px 8px 12px; font-size: 14px; font-weight: 600; width: auto; background-color: var(--white); border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.later-title { margin-top: 48px; margin-bottom: 4px; }
.later-lead { margin-bottom: 18px; }
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--muted); display: grid; place-items: center; gap: 8px; }
.empty p { margin: 0; max-width: 520px; }
.empty .ic { color: var(--bronze); }

/* Karta lokalu */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } .card:hover .card-arrow { opacity: 1; } }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-slides::-webkit-scrollbar { display: none; }
.card-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.card-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.card-arrow.prev { left: 10px; } .card-arrow.next { right: 10px; }
.card-arrow .ic { width: 16px; height: 16px; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.card-dots i.on { background: var(--white); transform: scale(1.25); }
.card-noimg, .gallery-empty { display: grid; place-items: center; align-content: center; gap: 6px; height: 100%; font-family: var(--serif); font-size: 20px; color: var(--bronze); background: var(--sand); }
.badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.badge .ic { width: 14px; height: 14px; }
.badge-ok { background: var(--ok); color: var(--white); }
.badge-muted { background: rgba(44, 48, 46, .8); color: var(--white); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-type { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); font-weight: 700; }
.card-body h3 { margin: 0; font-size: 21px; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-facts, .card-amen { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.card-facts li { display: inline-flex; align-items: center; gap: 5px; }
.card-facts .ic { width: 15px; height: 15px; color: var(--bronze); }
.card-amen { gap: 6px; }
.card-amen li { background: var(--sand-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.card-price { margin: 0; display: flex; align-items: baseline; gap: 5px; }
.card-price strong { font-size: 20px; font-weight: 700; }
.card-price span { color: var(--muted); font-size: 14px; }
.card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--bronze); }
.card-cta .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card-cta .ic { transform: translateX(3px); }

/* Jak to działa + FAQ */
.how { background: var(--white); border-top: 1px solid var(--line-soft); padding: 64px 0; }
.how-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.how-head .lead { margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--bg); border-radius: var(--radius); padding: 22px 20px 20px; font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; }
.steps p { margin: 0; }
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 13px; }
.step-ic { position: absolute; right: 18px; top: 20px; color: var(--bronze); width: 22px; height: 22px; }
.steps-v { grid-template-columns: 1fr; gap: 10px; }
.steps-v li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line-soft); }
.steps-v .step-n { flex: 0 0 30px; }
.faq { padding: 64px 0 72px; }
.faq h2 { margin-bottom: 18px; }
.faq-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 0 20px; margin-bottom: 10px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--bronze); transition: transform .2s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(90deg); }
.faq-item p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }

/* Podstrona lokalu */
.crumbs { padding: 18px 20px 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumb-here { color: var(--ink); }
.unit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 14px; padding-bottom: 18px; }
.unit-head h1 { margin-bottom: 12px; max-width: 760px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 11px; font-size: 14px; font-weight: 500; }
.facts .ic { width: 16px; height: 16px; color: var(--bronze); }
.facts .fact-ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.facts .fact-ok .ic { color: var(--ok); }
.unit-price { margin: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.unit-price strong { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.unit-price span { color: var(--muted); }

.gallery { position: relative; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery-grid.n1 { grid-template-columns: 1fr; grid-template-rows: 520px; }
.gallery-grid.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 460px; }
.gallery-grid.n3 { grid-template-columns: 2fr 1fr; }
.gallery-grid.n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-grid.n4 .gallery-cell:nth-child(4) { grid-column: 2 / 4; }
.gallery-cell { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; position: relative; }
.gallery-cell:first-child { grid-row: 1 / 3; }
.gallery-grid.n2 .gallery-cell:first-child, .gallery-grid.n1 .gallery-cell:first-child { grid-row: auto; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .gallery-cell:hover img { transform: scale(1.03); } }
.gallery-slides { display: none; }
.gallery-all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow); }
.gallery-all:hover { background: var(--white); border-color: var(--ink); }
.gallery-counter { display: none; }
.gallery-empty { aspect-ratio: 16 / 7; border-radius: var(--radius); }

.unit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; padding-top: 32px; padding-bottom: 48px; align-items: start; }
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block h2 { font-size: 26px; margin-bottom: 14px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.block-head h2 { margin: 0; }
.prose { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 680px; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.amenities li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; padding: 6px 0; }
.amenities .ic { width: 22px; height: 22px; color: var(--bronze); }
.amenities + .btn { margin-top: 14px; }
.terms { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.terms > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-s); font-size: 15px; }
.terms dt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.terms dt .ic { width: 17px; height: 17px; color: var(--bronze); }
.terms dd { margin: 0; font-weight: 600; text-align: right; }

.cal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.cal-month h4 { font: 400 17px var(--serif); margin: 0 0 8px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { font-size: 11px; color: var(--muted); text-align: center; padding: 4px 0; font-weight: 600; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--white); border: 1px solid var(--line-soft); font: 500 13px var(--sans); color: var(--ink); cursor: pointer; padding: 0; transition: box-shadow .12s; }
.cal-day:disabled { cursor: default; }
.cal-day.past { background: transparent; border-color: transparent; color: #b7b3ab; }
.cal-day.busy { background: var(--busy); border-color: transparent; color: #8f8b84; text-decoration: line-through; cursor: not-allowed; }
.cal-day.in { background: var(--range); border-color: transparent; }
.cal-day.edge { background: var(--sel); border-color: var(--sel); color: var(--white); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--bronze); }
@media (hover: hover) { .cal-day:not(:disabled):not(.busy):hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-free { background: var(--white); border: 1px solid var(--line); }
.lg-busy { background: var(--busy); }
.lg-sel { background: var(--sel); }

/* Panel zapytania (aside) */
.unit-aside { position: sticky; top: 84px; }
.book { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; }
.book-head { margin-bottom: 2px; }
.book-head p { margin: 0; }
.book-price { display: flex; align-items: baseline; gap: 6px; }
.book-price strong { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.book-price span { color: var(--muted); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.dates label { padding: 10px 12px 8px; }
.dates label + label { border-left: 1px solid var(--line); }
.dates label > span { margin-bottom: 2px; font-size: 11px; }
.dates input { border: 0; padding: 0; min-height: 28px; background: transparent; font-weight: 600; box-shadow: none; }
.dates label.invalid { background: var(--err-bg); }
.estimate { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; padding: 12px 14px; background: var(--bg); border-radius: var(--radius-s); }
.estimate > div { display: flex; justify-content: space-between; gap: 10px; }
.estimate dt { color: var(--muted); }
.estimate dd { margin: 0; font-weight: 600; }
.estimate .est-first { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.estimate .est-first dt { color: var(--ink); font-weight: 600; }
.book input, .book select, .book textarea { min-height: 46px; padding: 10px 12px; }
.book textarea { min-height: 76px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.short { max-width: 140px; }
.fine { font-size: 12px; color: var(--muted); margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.fine-text { font-size: 12.5px; line-height: 1.5; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.fine-text a { color: var(--bronze); }
.consent.invalid .fine-text { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-note { margin: 0; display: flex; align-items: center; gap: 6px; justify-content: center; text-align: center; }
.book-note .ic { width: 14px; height: 14px; color: var(--bronze); }
.similar { padding-bottom: 72px; }
.similar h2 { margin-bottom: 18px; }

.mobile-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 22, 21, .96); display: grid; place-items: center; padding: 56px 16px 40px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: #cfcac2; font-size: 14px; }
.lb-close, .lb-arrow { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-arrow:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-arrow { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close .ic, .lb-arrow .ic { width: 22px; height: 22px; }

/* Dziękujemy, polityka */
.thanks { text-align: center; padding-top: 64px; padding-bottom: 80px; }
.thanks-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks .lead { margin: 0 auto 32px; }
.thanks h2 { font-size: 24px; }
.timeline { list-style: none; padding: 0; margin: 0 auto 32px; max-width: 560px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 14px 16px; }
.timeline .ic { color: var(--bronze); width: 22px; height: 22px; margin-top: 2px; }
.timeline p { margin: 0; font-size: 15px; }
.legal { max-width: 720px; padding-top: 48px; padding-bottom: 72px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--bronze); }

/* Stopka */
.site-foot { background: var(--ink); color: #d9d4cb; padding: 44px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; color: var(--white); margin: 0 0 10px; }
.foot-brand .brand-mark { background: var(--sand); color: var(--ink); }
.foot-tag { margin: 0; max-width: 380px; line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col strong { color: var(--white); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: #d9d4cb; }
.foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; padding-bottom: 20px; font-size: 13px; color: #a5a09a; }

@media (max-width: 1024px) {
  .unit-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .how-head { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .unit-layout { grid-template-columns: 1fr; }
  .unit-aside { position: static; }
  .unit-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gallery-grid { display: none; }
  .gallery-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sand); scrollbar-width: none; }
  .gallery-slides::-webkit-scrollbar { display: none; }
  .gallery-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
  .gallery-all { display: none; }
  .gallery-counter { display: inline-block; position: absolute; right: 30px; bottom: 12px; background: rgba(44, 48, 46, .8); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(251, 250, 247, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 12px; }
  .mobile-bar p { margin: 0; display: flex; align-items: baseline; gap: 5px; }
  .mobile-bar strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
  .mobile-bar span { color: var(--muted); font-size: 13px; }
  .mobile-bar .btn { min-height: 46px; padding: 0 20px; }
  .mobile-bar[data-hidden] { transform: translateY(110%); }
  .mobile-bar { transition: transform .25s var(--ease); }
  body { padding-bottom: 72px; }
  .similar { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .crumbs { padding-left: 16px; padding-right: 16px; }
  .search, .search:not(:has(select)) { grid-template-columns: 1fr 1fr; padding: 14px; }
  .search label:nth-of-type(3), .search .btn { grid-column: 1 / -1; }
  .head-nav a:not(:first-child) { display: none; }
  .hero { padding: 36px 0 28px; }
  .hero::after { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cal { grid-template-columns: 1fr; }
  .amenities, .terms { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .book { padding: 18px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .unit-price strong { font-size: 28px; }
  .lightbox { padding: 56px 8px 24px; }
  .lb-arrow { width: 40px; height: 40px; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* === 01.10: hero z kolażem, pasek dostępności, opłaty, zasady === */
.hero-full { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-grid h1 { font-size: clamp(34px, 4vw, 52px); }
.hero-grid .search { grid-template-columns: 1fr 1fr; }
.hero-grid .search label:nth-of-type(3) { grid-column: 1 / 2; }
.hero-grid .search .btn { grid-column: 2 / 3; align-self: end; }
.hero-price { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.hero-price::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 107, 74, .18); }
.hero-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero-photos img:first-child { grid-row: 1 / 3; }
.hero-photos.n1 { grid-template-columns: 1fr; }
.hero-photos.n2 img:first-child { grid-row: 1 / 3; }
.hero-photos.n2 img:last-child { grid-row: 1 / 3; }
.hero-photos img:nth-child(2) { transform: translateY(-14px); }
.hero-photos img:nth-child(3) { transform: translateY(14px); }

.strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.strip span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.strip i { display: block; height: 6px; border-radius: 3px; background: var(--ok); }
.strip .s-part i { background: linear-gradient(90deg, var(--busy) 50%, var(--ok) 50%); }
.strip .s-busy i { background: var(--busy); }
.strip small { font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; }
.strip-card { margin-top: 4px; }
.strip-card small { display: none; }
.strip-card span:first-child small, .strip-card span:nth-child(4) small, .strip-card span:nth-child(7) small, .strip-card span:nth-child(10) small { display: block; text-align: left; }
.strip-unit { margin: 6px 0 14px; padding: 12px 14px 8px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-s); }
.strip-unit i { height: 10px; }
.strip-unit small { font-size: 11px; }

.card-price { display: flex; flex-direction: column; gap: 0; }
.card-price p { margin: 0; display: flex; align-items: baseline; gap: 5px; }
.card-price small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.unit-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.unit-price p { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.unit-price small { color: var(--muted); font-size: 14px; }
.book-fees { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.terms .terms-wide { grid-column: 1 / -1; }
.terms dd small { font-weight: 500; color: var(--muted); }
.rules { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rules li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; background: var(--err-bg); color: var(--err); padding: 5px 12px 5px 9px; border-radius: 999px; }
.rules .ic { width: 14px; height: 14px; }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; background: var(--bronze-soft); border-radius: var(--radius-s); font-size: 14px; color: var(--ink-2); }
.note .ic { color: var(--bronze-deep); margin-top: 2px; }
.send-note { margin: -4px 0 0; text-align: center; }
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photos { grid-template-rows: 180px 180px; }
  .hero-photos img:nth-child(2), .hero-photos img:nth-child(3) { transform: none; }
}
@media (max-width: 640px) {
  .hero-full { padding: 32px 0 28px; }
  .hero-photos { display: none; }
  .hero-grid .search label:nth-of-type(3), .hero-grid .search .btn { grid-column: 1 / -1; }
  .unit-price { align-items: flex-start; }
}
.hero-grid > * { min-width: 0; }
.hero-grid h1 { font-size: clamp(32px, 3.6vw, 46px); }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .hero-price { align-items: flex-start; } .hero-price::before { margin-top: 7px; flex: 0 0 8px; } }
.unit-main, .unit-aside { min-width: 0; }
@media (max-width: 900px) { .unit-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .terms > div { flex-wrap: wrap; } .terms dd { text-align: left; } .strip-unit small { font-size: 9px; } }
.strip-card small { overflow: visible; }

/* === Strony O nas, Kontakt, sekcja „o nas” na stronie głównej === */
.home-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); align-items: start; }
.home-about h2 { margin: 0; }
.home-about .lead { margin: 0 0 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bronze); text-decoration: none; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; padding-top: 28px; padding-bottom: 64px; align-items: center; }
.about-text p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.about-text .lead { font-size: 19px; color: var(--ink); }
.about-facts { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-facts li { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 14px 16px; display: flex; flex-direction: column; }
.about-facts strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.about-facts span { font-size: 13px; color: var(--muted); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.about-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.about-photos.n4 img:nth-child(4) { display: none; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; padding-top: 28px; padding-bottom: 72px; align-items: start; }
.contact-cta { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 16px 18px; margin: 8px 0 24px; transition: background .2s; }
.contact-cta:hover { background: var(--ink-2); }
.contact-cta > .ic { width: 24px; height: 24px; color: var(--sand); }
.contact-cta span { display: flex; flex-direction: column; flex: 1; }
.contact-cta small { color: #cfcac2; font-size: 13.5px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .ic { color: var(--bronze); width: 20px; height: 20px; margin-top: 3px; }
.contact-list span { display: flex; flex-direction: column; font-size: 16px; }
.contact-list small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-form h2 { font-size: 24px; margin: 0; }
@media (max-width: 900px) { .about, .contact, .home-about { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640px) { .about-facts { grid-template-columns: 1fr 1fr 1fr; } .about-facts strong { font-size: 24px; } .head-nav a:not(:first-child) { display: none; } }
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; }
  .head-nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 4px -8px 6px; gap: 2px; }
  .head-nav::-webkit-scrollbar { display: none; }
  .head-nav a, .head-nav a:not(:first-child) { display: inline-flex; white-space: nowrap; padding: 6px 10px; font-size: 13.5px; }
  .unit-aside { scroll-margin-top: 110px; }
}

/* === Logo Joanny (01.10) === */
.brand { gap: 0; }
.brand-logo { height: 44px; width: auto; display: block; }
.foot-brand img { height: 48px; width: auto; }
.login-brand img { height: 40px; width: auto; }
@media (max-width: 640px) { .brand-logo { height: 38px; } }
/* Hero bez filtra rodzaju (jeden rodzaj lokali): przycisk na całą szerokość pod datami, bez pustej komórki. */
.hero-grid .search:not(:has(select)) .btn { grid-column: 1 / -1; }
/* Odstęp między galerią a pierwszą sekcją na telefonie. */
@media (max-width: 900px) { .unit-layout { padding-top: 24px; } .gallery-slides { margin-bottom: 4px; } }

/* === 01.10 wieczór: nagłówek z menu, stopka, sekcje „co dostajesz” i tekst SEO === */
.head-cta { display: none; }
.menu-btn { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 901px) {
  .head-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; margin-left: 8px; }
  .head-cta:hover { background: var(--ink-2); }
  .head-row { justify-content: flex-start; }
  .head-nav { margin-left: auto; }
}
@media (max-width: 900px) {
  .head-row, .head-row:not(:first-child) { flex-wrap: nowrap; min-height: 60px; padding-top: 0; }
  .brand-logo { height: 34px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; padding: 0 12px; }
  .menu-btn span:not(.sr) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease); }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .head-nav, .head-nav a:not(:first-child) { display: none; }
  .menu-open .head-nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; margin: 0; gap: 0; box-shadow: var(--shadow); overflow: visible; width: auto; }
  .menu-open .head-nav a { display: flex; padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line-soft); white-space: normal; }
  .menu-open .head-nav a:last-child { border-bottom: 0; }
  .site-head { position: sticky; }
}

.why { background: var(--white); border-top: 1px solid var(--line-soft); padding: 64px 0; }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid li { background: var(--bg); border-radius: var(--radius); padding: 22px 20px; }
.why-grid h3 { font-size: 20px; margin: 12px 0 8px; }
.why-grid p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.why-ic { width: 26px; height: 26px; color: var(--bronze); }
.how { border-top: 0; background: var(--bg); }
.seo-text { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.seo-text h2 { margin: 0; }
.seo-text p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }

.site-foot { padding: 56px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot-tag { margin: 0 0 18px; }
.foot-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.foot-cta .ic { width: 16px; height: 16px; }
.foot-col a, .foot-hours { display: inline-flex; align-items: center; gap: 10px; }
.foot-col .ic { width: 16px; height: 16px; color: var(--bronze-soft, #c9b39b); flex: 0 0 16px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 24px; }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a { color: #a5a09a; text-decoration: none; }
.foot-legal a:hover { color: var(--white); }

/* Zapas na pasek mobilny tylko tam, gdzie pasek jest (podstrona lokalu). */
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  body:has(.mobile-bar) { padding-bottom: 76px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .seo-text { grid-template-columns: 1fr; gap: 12px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .why { padding: 44px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-foot { padding-top: 40px; font-size: 14.5px; }
  .foot-top { padding-bottom: 28px; }
  .foot-col strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #a5a09a; }
  .foot-bottom { flex-direction: column; font-size: 12.5px; }
}
/* Pola dat nie wychodzą poza kartę na wąskich ekranach. */
.search, .search:not(:has(select)), .hero-grid .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 641px) { .search { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } .search:not(:has(select)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .hero-grid .search, .hero-grid .search:not(:has(select)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.search input { min-width: 0; }

/* Kroki rezerwacji: krótki tytuł + jedno zdanie. */
.step-body { display: flex; flex-direction: column; gap: 4px; }
.step-body strong { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ink); }
.step-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.steps li { gap: 14px; }
.steps-v li { align-items: flex-start; }
.steps-v .step-n { margin-top: 2px; }
.steps-v .step-body strong { font-size: 17px; }
