/* BiesCzady — arkusz stylów */

:root {
  --bg:      #faf7f2;
  --bg2:     #f2ebe1;
  --card:    #ffffff;
  --ink:     #241d18;
  --ink2:    #5f5449;
  --ink3:    #8b8074;
  --line:    #e2d8ca;
  --accent:  #a8632c;
  --accent2: #8a4f22;
  --forest:  #4a5a45;
  --ok:      #3f7a4f;
  --warn:    #b3492a;
  --shadow:  0 1px 2px rgba(36,29,24,.06), 0 8px 24px -12px rgba(36,29,24,.18);
  --r:       14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:   #16120f;  --bg2:  #1e1813;  --card: #211a15;
    --ink:  #f0e9df;  --ink2: #b3a89b;  --ink3: #8a7f72;
    --line: #342b23;  --accent: #d99553; --accent2: #e8ab6d;
    --forest: #8fa383; --ok: #6fb37f;   --warn: #e08a6a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--ink2); }

.eyebrow {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 700; color: var(--accent); margin-bottom: .7rem;
}

/* ---------- nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 1.6rem; height: 62px; }
.brand { font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
.nav nav { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
.nav nav a { color: var(--ink2); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }

/* Przycisk szuflady — na dużym ekranie niepotrzebny, menu mieści się w pasku. */
.nav-menu { display: none; margin-left: auto; width: 44px; height: 44px;
  align-items: center; justify-content: center; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; }
.nav-menu .zam, .menu-otwarte .nav-menu .otw { display: none; }
.menu-otwarte .nav-menu .zam { display: block; }
.menu-tlo { position: fixed; inset: 0; z-index: 140; background: rgba(12,9,7,.6);
  backdrop-filter: blur(2px); }
.menu-tlo[hidden] { display: none; }

@media (max-width: 760px) {
  .nav-menu { display: flex; }
  .nav .wrap { gap: .8rem; }

  /* Szuflada z prawej: pozycje w kolumnie, duże cele dotykowe. */
  .nav nav {
    position: fixed; inset: 0 0 0 auto; z-index: 150;
    width: min(300px, 82vw); margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: calc(62px + env(safe-area-inset-top)) 1.1rem 1.4rem;
    background: var(--card); border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px -20px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .22s cubic-bezier(.2,.8,.3,1);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .menu-otwarte .nav nav { transform: none; }
  .nav nav a { font-size: 1.05rem; padding: .95rem .2rem; border-bottom: 1px solid var(--line); }
  .nav nav a[aria-current] { color: var(--accent); font-weight: 650; }
  .nav nav .btn { margin-top: 1.1rem; text-align: center; justify-content: center;
    font-size: 1rem !important; padding: .85rem 1.1rem !important; border-bottom: 0; }
  .menu-otwarte { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .nav nav { transition: none; } }

/* ---------- pasek na dole (telefon) ---------- */
.pasek { display: none; }
@media (max-width: 760px) {
  .pasek {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: stretch;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: saturate(1.6) blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pasek a { flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: .18rem; padding: .5rem .2rem .55rem;
    min-height: 56px; color: var(--ink2); text-decoration: none;
    font-size: .68rem; font-weight: 600; letter-spacing: .01em; text-align: center; }
  .pasek a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pasek .ic { width: 21px; height: 21px; }
  .pasek a[aria-current] { color: var(--accent); }
  .pasek a.cta { color: var(--accent); }
  .pasek a.cta .ic { stroke-width: 2; }
  .pasek a:active { background: var(--bg2); }

  /* Stopka nie może chować się pod paskiem. */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  /* Kotwica „Rezerwuj" ma zatrzymać się pod przyklejonym nagłówkiem. */
  #rezerwuj, #kalendarz { scroll-margin-top: 74px; }
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.03rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(84vh, 720px); display: grid; align-items: end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,10,.86) 0%, rgba(20,14,10,.42) 45%, rgba(20,14,10,.12) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-block: 3.5rem 4rem; color: #fff; }
.hero h1 { color: #fff; text-wrap: balance; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 46ch; }
.hero .cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .btn-ghost { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.42); color: #fff; }

/* ---------- sekcje ---------- */
section { padding-block: clamp(3rem, 8vw, 5.5rem); }
section.tint { background: var(--bg2); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }

/* ---------- karty domków ---------- */
.domki { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.domek-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.domek-card > img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.domek-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.domek-card h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.domek-card .sub { color: var(--ink2); font-size: .95rem; margin-bottom: 1rem; }
.facts { display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .87rem; color: var(--ink2); margin-bottom: 1.1rem; }
.facts b { color: var(--ink); font-weight: 650; }
.domek-card .foot { margin-top: auto; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--line); }
.price-big { font-size: 1.7rem; font-weight: 750; letter-spacing: -.03em; }
.price-big small { font-size: .8rem; font-weight: 500; color: var(--ink3); letter-spacing: 0; }

/* ---------- porównanie cen ---------- */
.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-block: 2rem; }
.chan {
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem;
  background: var(--card); position: relative;
}
.chan.ours { border-color: var(--accent); border-width: 2px; box-shadow: var(--shadow); }
.chan .tag {
  position: absolute; top: -11px; left: 1.2rem; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .6rem; border-radius: 4px;
}
.chan h4 { margin: 0 0 .1rem; font-size: 1.02rem; }
.chan .amt { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; margin: .5rem 0 .1rem; }
.chan .per { font-size: .8rem; color: var(--ink3); }
.chan ul { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .88rem; }
.chan li { padding: .3rem 0 .3rem 1.5rem; position: relative; color: var(--ink2); }
.chan li::before { content: "○"; position: absolute; left: .2rem; color: var(--ink3); }
.chan li.yes::before { content: "✓"; color: var(--ok); font-weight: 700; }
.chan li.no::before  { content: "×"; color: var(--ink3); }
.saving { font-size: .9rem; color: var(--ok); font-weight: 650; margin-top: .6rem; }

.disclaimer {
  font-size: .82rem; color: var(--ink3); border-left: 3px solid var(--line);
  padding: .4rem 0 .4rem .9rem; margin-top: 1.4rem;
}

/* ---------- galeria ---------- */
.gal { display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gal figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg2); cursor: zoom-in; }
.gal img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gal figure:hover img { transform: scale(1.045); }
.gal figure.wide { grid-column: span 2; }
@media (max-width: 560px) { .gal figure.wide { grid-column: span 1; } }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,9,7,.94);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox[open], .lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox button {
  position: absolute; top: 1.2rem; right: 1.4rem; background: rgba(255,255,255,.14);
  border: 0; color: #fff; font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
}
.lightbox .nav-l, .lightbox .nav-r {
  top: 50%; transform: translateY(-50%); font-size: 1.9rem; right: auto;
}
.lightbox .nav-l { left: 1.2rem; } .lightbox .nav-r { right: 1.2rem; }

/* ---------- kalendarz ---------- */
.cal-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); }
.cal-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.cal-head h3 { margin: 0; flex: 1; }
.cal-head button { background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; color: var(--ink); font-size: 1.1rem; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.months { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.month h4 { margin: 0 0 .6rem; font-size: .95rem; font-weight: 650; text-transform: capitalize; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow span { text-align: center; font-size: .68rem; color: var(--ink3); font-weight: 650; padding-bottom: .3rem; }
.day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: .82rem; border-radius: 7px; border: 1px solid transparent; cursor: pointer;
  background: var(--bg2); color: var(--ink);
}
.day.empty { background: none; cursor: default; }
.day.busy { background: repeating-linear-gradient(-45deg, var(--bg2), var(--bg2) 4px, var(--line) 4px, var(--line) 8px); color: var(--ink3); cursor: not-allowed; text-decoration: line-through; }
.day.past { opacity: .3; cursor: not-allowed; }
.day.free:hover { border-color: var(--accent); }
.day.sel { background: var(--accent); color: #fff; font-weight: 700; }
.day.inrange { background: color-mix(in srgb, var(--accent) 20%, var(--bg2)); }
.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink2); margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .4rem; }
.i-free { background: var(--bg2); border: 1px solid var(--line); }
.i-busy { background: repeating-linear-gradient(-45deg, var(--bg2), var(--bg2) 3px, var(--line) 3px, var(--line) 6px); }
.i-sel  { background: var(--accent); }

.quote { margin-top: 1.4rem; padding: 1.2rem; background: var(--bg2); border-radius: 10px; display: none; }
.quote.on { display: block; }
.quote .row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .95rem; }
.quote .row.total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .8rem; font-weight: 750; font-size: 1.15rem; }
.quote .row.save { color: var(--ok); font-weight: 650; }

/* ---------- kroki rezerwacji ---------- */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 750; font-size: .9rem; margin-bottom: .8rem;
}
.step h4 { margin: 0 0 .35rem; font-size: 1rem; }
.step p { margin: 0; font-size: .89rem; color: var(--ink2); }

/* ---------- formularz ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .87rem; font-weight: 650; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field .hint { font-size: .78rem; color: var(--ink3); margin-top: .3rem; }
.grid2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink2); margin-bottom: 1rem; }
.check input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; }

.note {
  border-radius: 10px; padding: 1rem 1.2rem; font-size: .89rem; margin-block: 1.2rem;
  border: 1px solid var(--line); background: var(--bg2);
}
.note.warn { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.note strong { color: var(--ink); }

/* ---------- pasy / listy ---------- */
.strip { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.strip img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ticks li { padding-left: 1.7rem; position: relative; color: var(--ink2); font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- stopka ---------- */
footer { background: var(--bg2); border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: .9rem; }
footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink3); margin-bottom: .7rem; }
footer a { color: var(--ink2); text-decoration: none; display: block; padding: .18rem 0; }
footer a:hover { color: var(--accent); }
.copy { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink3); font-size: .82rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }

/* ---------- proza (regulamin) ---------- */
.prose h2 { margin-top: 2.4rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.4rem 0; padding: .6rem 0 .6rem 1.1rem; color: var(--ink2); background: var(--bg2); border-radius: 0 8px 8px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; background: var(--bg2); }

.scroll-x { overflow-x: auto; }

/* ---------- co robić w Bieszczadach ---------- */
.grp + .grp { margin-top: clamp(2.5rem, 6vw, 4rem); }
.grp > h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -.02em; }
.things {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-top: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.thing { background: var(--card); padding: 1.3rem 1.4rem; }
.thing h4 { margin: 0 0 .3rem; font-size: 1.02rem; }
.thing .m {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); font-weight: 650; margin-bottom: .6rem;
}
.thing p { margin: 0; font-size: .91rem; color: var(--ink2); line-height: 1.6; }

.seasons {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
.season { background: var(--card); padding: 1.4rem; }
.season .s {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink3); font-weight: 650; margin-bottom: .45rem;
}
.season h4 { margin: 0 0 .5rem; color: var(--accent); font-size: 1.05rem; }
.season p { margin: 0; font-size: .89rem; color: var(--ink2); }

.travel {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-block: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
.travel > div { background: var(--card); padding: 1.2rem 1.3rem; }
.travel .f {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink3); font-weight: 650; margin-bottom: .3rem;
}
.travel .t { font-size: 1.35rem; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* ---------- karty atrakcji ---------- */
.thing { display: flex; flex-direction: column; padding: 0; }
.thing .tb { padding: 1.25rem 1.35rem; }
.thing.hasf .tb { padding-top: 1rem; }
.tf { aspect-ratio: 16/10; overflow: hidden; background: var(--bg2); }
.tf img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thing:hover .tf img { transform: scale(1.04); }
.tl {
  display: inline-block; margin-top: .8rem; font-size: .78rem; font-weight: 650;
  letter-spacing: .04em; color: var(--accent); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-bottom: .1rem;
}
.tl:hover { border-bottom-color: var(--accent); }

/* ---------- galeria bez przycinania ---------- */
.gal { display: block; columns: 4 205px; column-gap: .55rem; }
.gal figure { margin: 0 0 .55rem; break-inside: avoid; }
.gal img { width: 100%; height: auto; aspect-ratio: auto; }
.gal figure.wide { grid-column: auto; }

/* ---------- wejścia przy przewijaniu ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grp, .domek-card, .step { animation: wejdz linear both; animation-timeline: view();
      animation-range: entry 0% entry 58%; }
    @keyframes wejdz { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}

/* Zdjęcie główne jest pionowe (gwiazdy u góry, chata niżej) — przy szerokim kadrze
   przesuwamy punkt ciężkości do góry, żeby nie uciąć ani Drogi Mlecznej, ani domku. */
.hero img.hero-img { object-position: center 42%; }
@media (max-width: 700px) { .hero img.hero-img { object-position: center 50%; } }
.hero::after {
  background: linear-gradient(to top, rgba(20,14,10,.88) 0%, rgba(20,14,10,.3) 45%, rgba(20,14,10,.1) 100%);
}

/* ---------- Sprawdź na szybko ---------- */
.ic { width: 19px; height: 19px; flex: 0 0 auto; color: var(--accent); }
.ic.st { width: 15px; height: 15px; fill: var(--accent); stroke: var(--accent); }
.szybko { border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem;
  margin-block: 1.6rem; background: var(--card); }
.szybko > h3 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 1rem; font-weight: 650; }
.szybko ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.szybko li { display: flex; gap: .6rem; align-items: center; font-size: .93rem; color: var(--ink2); }

/* ---------- oceny z portali ---------- */
.platformy { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-block: 1rem; }
.plat { background: var(--card); padding: 1.2rem 1.3rem; text-decoration: none; color: inherit; display: block; }
a.plat:hover { background: var(--bg2); }
.plat .mk { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: .55rem; font-weight: 650; }
.plat .oc { display: flex; align-items: center; gap: .4rem; }
.plat .oc b { font-size: 1.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plat .oc span { font-size: .82rem; color: var(--ink2); }
.plat .slw { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); font-weight: 650; margin-top: .15rem; }
.odzs { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .6rem; }
.odz { font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 650;
  border: 1px solid var(--accent); color: var(--accent); padding: .16rem .45rem; border-radius: 3px; }
.plat .go { display: inline-block; margin-top: .8rem; font-size: .74rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); font-weight: 650; }
.plat.pusty { opacity: .6; }
.bd { color: var(--ink3); font-size: .85rem; margin: 0; }

/* ---------- pomieszczenia ---------- */
.pokoje { display: grid; gap: 1.8rem; }
.pok { display: grid; gap: 1rem; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); align-items: start; }
@media (max-width: 760px) { .pok { grid-template-columns: 1fr; } }
.pok .pt h4 { margin: 0 0 .35rem; font-size: 1.05rem; display: flex; align-items: baseline; gap: .5rem; }
.pok .pt .lp { font-size: .72rem; color: var(--ink3); font-weight: 500; }
.pok .pt p { margin: 0; font-size: .9rem; color: var(--ink2); }
.pg { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.pg figure { margin: 0; overflow: hidden; border-radius: 9px; background: var(--bg2); cursor: zoom-in; }
.pg img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.pg figure:hover img { transform: scale(1.05); }
.pok.brak { opacity: .65; }

/* ---------- zasady ---------- */
.zasady { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; margin-block: 1.2rem; }
.zas { background: var(--card); padding: .95rem 1.1rem; display: flex; gap: .7rem; align-items: flex-start; }
.zas b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink3); font-weight: 650; margin-bottom: .15rem; }
.zas span { font-size: .93rem; color: var(--ink2); }
.zas.brak { background: color-mix(in srgb, var(--warn) 10%, var(--card)); }
.zas.brak span { color: var(--warn); }

/* ---------- opinie ---------- */
.opinie { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 1.2rem; }
.op { margin: 0; border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1.1rem; }
.op blockquote { margin: 0 0 .55rem; font-size: .95rem; font-style: italic; }
.op figcaption { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }

/* ---------- kalendarz cenowy ---------- */
.cal-wrap .cal-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.cal-head h4 { margin: 0; flex: 1; font-size: 1rem; text-transform: capitalize; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dow span { text-align: center; font-size: .68rem; color: var(--ink3); font-weight: 650;
  padding-bottom: .4rem; text-transform: uppercase; letter-spacing: .04em; }
.days i {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .1rem; font-style: normal; border-radius: 7px;
  border: 1px solid transparent; background: var(--bg2); cursor: pointer;
  transition: background .12s, border-color .12s;
}
.days i b { font-size: .85rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; }
.days i u { font-size: .6rem; text-decoration: none; color: var(--ink3);
  font-variant-numeric: tabular-nums; line-height: 1; }
.days i.empty { background: none; cursor: default; }
.days i.past { opacity: .25; cursor: not-allowed; background: none; }
.days i.busy { cursor: not-allowed; background: none; border-color: var(--line); }
.days i.busy b { color: var(--ink3); text-decoration: line-through; }
.days i.busy u.nd { color: var(--ink3); opacity: .5; }
.days i.free { background: color-mix(in srgb, var(--ok) 10%, var(--bg2)); }
.days i.free:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg2)); }
.days i.inrange, .days i.hov { background: color-mix(in srgb, var(--accent) 24%, var(--bg2)); }
.days i.sel { background: var(--accent); border-color: var(--accent); }
.days i.sel b { color: #fff; font-weight: 800; }
.days i.sel u { color: rgba(255,255,255,.8); }
.days i.sa { border-radius: 7px 3px 3px 7px; }
.days i.sb { border-radius: 3px 7px 7px 3px; }

.goscie { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.goscie .gl { font-size: .78rem; font-weight: 650; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink3); margin-right: auto; }
.goscie button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.05rem; line-height: 1; }
.goscie button:hover { border-color: var(--accent); color: var(--accent); }
.goscie output { font-size: 1.05rem; font-weight: 750; min-width: 1.7rem; text-align: center;
  font-variant-numeric: tabular-nums; }
.goscie .gm { font-size: .74rem; color: var(--ink3); }

.rk-top { display: grid; gap: .8rem; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  align-items: end; margin-bottom: 1rem; }
@media (max-width: 640px) { .rk-top { grid-template-columns: 1fr; } }
.rk-sel { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem;
  font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--ink3); }
.rk-sel select { font: inherit; font-size: .95rem; font-weight: 400; text-transform: none;
  letter-spacing: 0; padding: .62rem .7rem; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px; }
.rk-top .goscie { margin-bottom: 0; }

.quote .row.sub { color: var(--ink3); font-size: .82rem; }
.quote .row.ostrz { color: var(--warn); }
.i-free { background: color-mix(in srgb, var(--ok) 10%, var(--bg2)); border: 1px solid var(--line); }
.i-busy { background: none; border: 1px solid var(--line); }
.i-sel  { background: var(--accent); }

/* ---------- kalendarz: czytelniejsze proporcje ---------- */
.cal-wrap { max-width: 640px; margin-inline: auto; }
.cal-wrap.szeroki { max-width: 100%; }
.days i { aspect-ratio: 1 / 0.92; border-radius: 8px; gap: .15rem; }
.days i b { font-size: 1rem; }
.days i u { font-size: .68rem; }
.dow span { font-size: .74rem; }
.cal-head h4 { font-size: 1.1rem; }
.cal-head button { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 9px;
  background: var(--bg2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.cal-head button:disabled { opacity: .35; cursor: default; }
@media (min-width: 720px) {
  .days i b { font-size: 1.05rem; }
  .days i u { font-size: .72rem; }
}
.quote { font-size: .95rem; }
.quote .row.sub { font-size: .85rem; }

/* ---------- hero jako kolaż zdjęć (jak Airbnb i Slowhop) ---------- */
.hero-kolaz { padding-block: clamp(1.6rem, 4vw, 2.6rem) clamp(2rem, 5vw, 3rem); }
.hero-kolaz h1 { font-size: clamp(1.7rem, 4.4vw, 2.9rem); margin-bottom: .4rem; text-wrap: balance; }
.hero-kolaz .lead { margin-bottom: 1.6rem; }
.mozaika { display: grid; gap: .5rem; border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(140px, 22vh)); }
.mozaika figure { margin: 0; overflow: hidden; background: var(--bg2); cursor: zoom-in; }
.mozaika img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mozaika figure:hover img { transform: scale(1.04); }
.mozaika figure:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .mozaika { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 120px); }
  .mozaika figure:first-child { grid-column: span 2; grid-row: span 1; }
}
.pod-kolazem { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pod-kolazem .facts { margin: 0; margin-right: auto; }

/* ---------- Sprawdź na szybko: same pytania, jak na Slowhopie ---------- */
.pytania { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pyt { background: var(--card); padding: 1.3rem 1.4rem; display: flex; align-items: center;
  gap: .9rem; text-decoration: none; color: inherit; transition: background .15s; }
.pyt:hover { background: var(--bg2); }
.pyt .pi { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto;
  border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pyt .pi .ic { width: 20px; height: 20px; }
.pyt .pt { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.pyt .pt b { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; }
.pyt .pt em { font-style: normal; font-size: .84rem; color: var(--ink3); }
.pyt .pa { margin-left: auto; color: var(--accent); font-size: 1.1rem; flex: 0 0 auto; }
.grp { scroll-margin-top: 90px; }

/* ---------- „W tej cenie macie" pod wyceną ---------- */
.wliczone { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.wliczone b { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink3); font-weight: 650; margin-bottom: .5rem; }
.wliczone ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .28rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.wliczone li { position: relative; padding-left: 1.2rem; font-size: .86rem; color: var(--ink2); }
.wliczone li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- korekta oceny ---------- */
.plat .korekta { font-size: .74rem; color: var(--ink3); margin-top: .35rem; line-height: 1.45; }
.plat .korekta s { color: var(--ink3); }

/* ---------- kalendarz: dwa miesiące obok siebie ---------- */
.cal-wrap { max-width: 100%; }
.cal-head { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.1rem; }
.cal-zakres { font-weight: 700; font-size: 1.05rem; text-transform: capitalize; min-width: 11rem; text-align: center; }
.miesiace { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.miesiac h4 { margin: 0 0 .7rem; font-size: .95rem; font-weight: 650; text-transform: capitalize;
  text-align: center; color: var(--ink2); }

/* ---------- „W skrócie": ikona nad podpisem, układ ze Slowhopa ---------- */
.wskrocie { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.ws-h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 1.4rem; font-weight: 650; }
.ws-lista { display: grid; gap: 1.6rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ws { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.ws .wi { display: grid; place-items: center; }
.ic.big { width: 40px; height: 40px; stroke-width: 1.2; color: var(--ink); }
.ws p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--ink2); max-width: 22ch; }
@media (max-width: 560px) {
  .ws-lista { grid-template-columns: repeat(2, 1fr); }
  .ws p { font-size: .82rem; }
}
.pytania { margin-top: 2rem; }

/* ---------- mapa dojazdu ---------- */
.mapa { margin: 1.6rem 0 0; }
.mapa-kadr { position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); line-height: 0; }
.mapa-kadr img { width: 100%; height: auto; display: block; }
.pinezka { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.35); }
.pinezka::after { content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: .45; }
.mapa-etykieta { position: absolute; transform: translate(-50%, -2.1rem);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; padding: .18rem .5rem; border-radius: 5px; white-space: nowrap; }
.mapa figcaption { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: .9rem; font-size: .8rem; color: var(--ink3); line-height: 1.5; }
.mapa figcaption a:not(.btn) { color: var(--ink3); }
.mapa figcaption .btn { margin-left: auto; }


/* ---------- kalendarz: wolne dni muszą rzucać się w oczy ---------- */
.days i.free {
  background: color-mix(in srgb, var(--ok) 26%, var(--bg2));
  border-color: color-mix(in srgb, var(--ok) 45%, transparent);
}
.days i.free b { color: var(--ink); font-weight: 700; }
.days i.free u { color: color-mix(in srgb, var(--ok) 80%, var(--ink)); font-weight: 600; }
.days i.free:hover {
  background: color-mix(in srgb, var(--accent) 32%, var(--bg2));
  border-color: var(--accent); transform: scale(1.06);
}
.days i.busy {
  background: repeating-linear-gradient(-45deg, transparent, transparent 4px, var(--line) 4px, var(--line) 5px);
  border-color: transparent; opacity: .55;
}
.podpowiedz { text-align: center; margin: .9rem 0 0; font-size: .85rem; color: var(--accent); font-weight: 600; }
.podpowiedz b { color: var(--ink); }
.i-free { background: color-mix(in srgb, var(--ok) 26%, var(--bg2));
  border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); }
.i-busy { background: repeating-linear-gradient(-45deg, transparent, transparent 2px, var(--line) 2px, var(--line) 3px);
  border: 1px solid var(--line); }


/* ---------- stany wyboru MUSZĄ być na końcu ----------
   Reguły .free i .busy dopisane wyżej mają tę samą siłę selektora co .sel,
   więc wygrywała ta, która stoi później w pliku — zaznaczony dzień był
   zamalowywany z powrotem kolorem dnia wolnego. Stąd te reguły na samym końcu. */
.days i.inrange,
.days i.hov {
  background: color-mix(in srgb, var(--accent) 26%, var(--bg2));
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.days i.inrange b, .days i.hov b { color: var(--ink); }
.days i.inrange u, .days i.hov u { color: var(--ink2); }

.days i.sel {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 10px -2px color-mix(in srgb, var(--accent) 60%, transparent);
}
.days i.sel b { color: #fff; font-weight: 800; }
.days i.sel u { color: rgba(255,255,255,.85); font-weight: 600; }
.days i.sel:hover { background: var(--accent2); border-color: var(--accent2); transform: none; }
.days i.sa { border-radius: 8px 3px 3px 8px; }
.days i.sb { border-radius: 3px 8px 8px 3px; }

/* ---------- okno rezerwacji ---------- */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center;
  justify-content: center; padding: clamp(.8rem, 3vw, 2rem); }
.modal[hidden] { display: none; }
.modal-tlo { position: absolute; inset: 0; background: rgba(12, 9, 7, .72);
  backdrop-filter: blur(3px); animation: modal-tlo .18s ease both; }
.modal-okno { position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); width: min(560px, 100%); max-height: min(92vh, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); animation: modal-w .22s cubic-bezier(.2,.8,.3,1) both; }
.modal-tresc { padding: clamp(1.4rem, 4vw, 2.2rem); }
@keyframes modal-tlo { from { opacity: 0 } to { opacity: 1 } }
@keyframes modal-w { from { opacity: 0; transform: translateY(14px) scale(.985) } }
@media (prefers-reduced-motion: reduce) {
  .modal-tlo, .modal-okno { animation: none; }
}
.modal-x { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg);
  color: var(--ink2); cursor: pointer; font-size: 1rem; line-height: 1; z-index: 3; }
.modal-x:hover { border-color: var(--accent); color: var(--accent); }
.modal-okno h2 { font-size: 1.5rem; margin-bottom: .4rem; padding-right: 2.6rem; }
.modal-lead { color: var(--ink2); font-size: .95rem; margin-bottom: 1.2rem; }
.modal-wybor { background: var(--bg2); border-radius: 10px; padding: .9rem 1.1rem;
  margin-bottom: 1.4rem; font-size: .92rem; display: grid; gap: .32rem; }
.modal-wybor .rz { display: flex; justify-content: space-between; gap: 1rem; }
.modal-wybor .rz > span + span { white-space: nowrap; text-align: right; }
.modal-wybor .rz.nag { font-weight: 700; color: var(--ink); padding-bottom: .35rem;
  margin-bottom: .2rem; border-bottom: 1px solid var(--line); }
.modal-wybor .rz.gl { font-weight: 750; font-size: 1.1rem; padding-top: .4rem;
  border-top: 1px solid var(--line); margin-top: .3rem; }
.modal-wybor .rz.osz { color: var(--ok); font-weight: 650; }
.modal-wybor .rz.sub { color: var(--ink3); font-size: .85rem; }
.modal-blad { color: var(--warn); font-size: .88rem; margin: .2rem 0 .8rem;
  background: color-mix(in srgb, var(--warn) 10%, transparent);
  border-left: 3px solid var(--warn); border-radius: 0 8px 8px 0; padding: .6rem .8rem; }
.modal-blad[hidden] { display: none; }
.modal-krok[hidden] { display: none; }

/* pola formularza */
.pola { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; margin-bottom: 1.1rem; }
.pole.sz { grid-column: 1 / -1; }
@media (max-width: 520px) { .pola { grid-template-columns: 1fr; } }
.pole label { display: flex; align-items: baseline; gap: .5rem; font-size: .87rem;
  font-weight: 650; margin-bottom: .35rem; color: var(--ink); }
.pole label .opc { font-weight: 400; font-size: .78rem; color: var(--ink3); }
.pole input, .pole textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit;
  font-size: 1rem; /* 16px — mniej i Safari przybliża stronę przy dotknięciu pola */
  transition: border-color .15s, box-shadow .15s; }
.pole textarea { resize: vertical; min-height: 2.9rem; }
.pole input:focus, .pole textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.pole .pod { display: block; font-size: .78rem; color: var(--ink3); margin-top: .3rem; }
.pole-blad { color: var(--warn); font-size: .8rem; margin-top: .3rem; font-weight: 600; }
.pole-blad[hidden] { display: none; }
.pole.zle input, .pole.zle textarea { border-color: var(--warn); }
.pole.zle input:focus, .pole.zle textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 22%, transparent); }
.pole.zle .pod { display: none; }

.skroty { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.skrot { border: 1px solid var(--line); background: var(--bg); color: var(--ink2);
  border-radius: 999px; padding: .4rem .8rem; font: inherit; font-size: .82rem;
  cursor: pointer; transition: .15s; }
.skrot:hover { border-color: var(--accent); color: var(--ink); }
.skrot.on { background: color-mix(in srgb, var(--accent) 14%, transparent);
  border-color: var(--accent); color: var(--ink); font-weight: 600; }

.zgody { margin-bottom: 1.1rem; }
.zgody .check { margin-bottom: 0; cursor: pointer; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.zgody .check:hover { border-color: var(--accent); }
.zgody .check input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.zgody.zle .check { border-color: var(--warn); }
.drobny { font-size: .78rem; color: var(--ink3); margin-top: .5rem; }

/* Stopka: cena i jedno działanie, zawsze w zasięgu kciuka. Tło pełne, nie gradient
   — pod spodem przewijają się pola formularza i przez półprzezroczyste tło
   przebijały ramki. */
.modal-stopka { position: sticky; bottom: 0; display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0 .3rem; margin-top: .6rem; background: var(--card);
  box-shadow: 0 -14px 18px -8px var(--card), 0 -1px 0 var(--line); }
.stopka-kwota { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.stopka-kwota b { font-size: 1.12rem; font-weight: 750; }
.stopka-kwota span { font-size: .76rem; color: var(--ink3); }
.modal-stopka .btn { flex: 1; min-height: 52px; justify-content: center; position: relative; }
.modal-stopka .btn[disabled] { opacity: .75; cursor: progress; }
.kreci { display: none; width: 16px; height: 16px; margin-left: .55rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: kreci .7s linear infinite; }
.btn.laduje .kreci { display: inline-block; }
@keyframes kreci { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .kreci { animation-duration: 2s } }
.pod-przyciskiem { text-align: center; margin: .5rem 0 0; }

.naosobe { font-size: .92rem; color: var(--ink); margin: .5rem 0 .2rem;
  padding: .5rem .7rem; border-radius: 8px; line-height: 1.4;
  background: color-mix(in srgb, var(--ok) 12%, transparent); }
.naosobe strong { font-size: 1.05rem; }

.mapa-okolicy { margin: 0 0 2.5rem; }
.mapa-okolicy iframe { width: 100%; height: clamp(340px, 55vh, 560px); border: 0;
  border-radius: var(--r); display: block; background: var(--bg2); }
.mapa-okolicy figcaption { font-size: .88rem; color: var(--ink2); margin-top: .6rem; }

.blokada { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px;
  background: color-mix(in srgb, var(--warn) 12%, transparent);
  border-left: 3px solid var(--warn); display: grid; gap: .25rem; }
.blokada b { color: var(--warn); font-size: .95rem; }
.blokada span { font-size: .88rem; color: var(--ink2); line-height: 1.45; }

/* ---------- nasza ocena i nawigacja ---------- */
.nasza { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .7rem;
  margin: .7rem 0 .5rem; }
.oceny { display: inline-flex; gap: 1px; flex-shrink: 0; }
.oceny .ic { width: 15px; height: 15px; }
.oceny .pel { color: var(--accent); fill: currentColor; }
.oceny .pus { color: var(--line); }
.nasza em { font-style: normal; font-size: .88rem; color: var(--ink2); line-height: 1.45; }

.nawigacja { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.nawiguj { display: inline-flex; align-items: center; gap: .35rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .34rem .75rem;
  font-size: .8rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--bg); transition: .15s; }
.nawiguj .ic { width: 14px; height: 14px; flex-shrink: 0; }
a.nawiguj:hover { border-color: var(--accent); color: var(--accent); }
.nawiguj.park { font-weight: 500; color: var(--ink2); }
.nawiguj.brak { color: var(--ink3); border-style: dashed; }

/* krok z kodem SMS */
.kod-pole input { font-size: 1.9rem; font-weight: 700; text-align: center;
  letter-spacing: .55em; text-indent: .55em; /* wyrównuje odstęp po ostatniej cyfrze */
  font-variant-numeric: tabular-nums; padding: .9rem .5rem; }
.kod-pole input::placeholder { letter-spacing: .3em; text-indent: .3em;
  color: var(--ink3); opacity: .5; font-weight: 400; }
.jak-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.jak-link:disabled { color: var(--ink3); text-decoration: none; cursor: default; }
#kod-zegar { font-variant-numeric: tabular-nums; }

.ptak { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok);
  font-size: 1.6rem; margin-bottom: 1rem; }
.modal-numer { font-size: .86rem; color: var(--ink2); background: var(--bg2);
  border-radius: 8px; padding: .5rem .8rem; display: inline-block; margin-bottom: 1.2rem;
  font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.modal-numer[hidden] { display: none; }
.procedura { list-style: none; padding: 0; margin: 0 0 1.2rem; counter-reset: p; display: grid; gap: .9rem; }
.procedura li { position: relative; padding-left: 2.2rem; font-size: .92rem; color: var(--ink2); }
.procedura li::before { counter-increment: p; content: counter(p);
  position: absolute; left: 0; top: -.1rem; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: .78rem; font-weight: 750; }
.procedura b { color: var(--ink); }
.modal-drobne { font-size: .84rem; color: var(--ink3); margin-bottom: 1.2rem; }

/* Na telefonie okno wjeżdża od dołu — kciuk sięga przycisku bez przekładania ręki. */
@media (max-width: 560px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-okno { width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0;
    border-bottom: 0; animation-name: modal-dol; }
  .modal-tresc { padding: 1.5rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom)); }
  .modal-stopka { padding-bottom: .4rem; }
}
@keyframes modal-dol { from { transform: translateY(100%) } }
