/* ══════════════════════════════════════════════════════════════
   CHATA JAKIMÓWKA v2 — Design System
   Modern Rustic Craft / Slow Premium (patrz docs/brand-guide-2026.md)
   Editorial, dużo przestrzeni, cienkie linie zamiast kart z cieniem.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #F8F5F0;
  --bg-alt: #F1E9DC;
  --surface: #FFFFFF;
  --surface-soft: #F3ECE1;

  --ink: #3A2F1F;
  --ink-strong: #211A12;
  --ink-muted: #7A6C58;

  --oak: #A07E5E;
  --oak-deep: #7C5F44;
  --oak-soft: #EFE6D6;

  --lake: #4A6D8C;
  --brick: #A8583A;
  --forest: #5E6F4F;

  --line: #E4D9C8;
  --line-soft: #EEE5D6;
  --disabled: #C7BBAA;

  --radius-xl: 14px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --radius-full: 999px;

  --shadow-float: 0 24px 60px -16px rgba(33, 26, 18, 0.35);
  --shadow-soft: 0 2px 10px rgba(33, 26, 18, 0.06);
  --shadow-sticky: 0 -1px 0 rgba(33, 26, 18, 0.06), 0 -12px 30px rgba(33, 26, 18, 0.08);
}

/* ── RESET / BASE ── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px; /* Space for sticky bottom bar */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── LAYOUT ── */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 56px 0 8px;
}

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

.section-kicker {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oak-deep);
  margin-bottom: 10px;
}

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(26px, 6.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--ink-strong);
  margin-bottom: 36px;
}

/* ══════════════════════════════════════════════════════════════
   1. HERO GALLERY & BRANDING
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  padding-top: 20px;
}

.hero-gallery {
  width: 100%;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-soft);
  max-height: 50vh;
}

.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  max-height: 50vh;
  overflow: hidden;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-slide:hover img {
  transform: scale(1.02);
}

/* Delicate dots scroll indicator */
.hero-progress {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #FFFFFF;
  width: 18px;
  border-radius: 10px;
}

/* Udostępnij — natywny share sheet / kopiuj link */
.hero-share-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(33, 26, 18, 0.35);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.hero-share-btn:hover {
  background: rgba(33, 26, 18, 0.55);
}

.hero-share-btn.copied {
  background: var(--oak-deep);
}

/* Branding Box Under Gallery */
.branding-box {
  text-align: center;
  padding: 28px 4px 4px;
}

.branding-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(28px, 6.5vw, 36px);
  color: var(--ink-strong);
  letter-spacing: -0.01em;
}

.branding-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s ease;
}

.branding-location-btn i {
  color: var(--oak-deep);
  font-size: 15px;
}

.branding-location-btn:hover {
  color: var(--ink);
  border-bottom-color: var(--oak);
}

.branding-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.branding-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.branding-spec-item b {
  color: var(--ink);
  font-weight: 700;
}

.branding-spec-item i {
  color: var(--oak-deep);
  font-size: 14px;
}

.branding-spec-sep {
  color: var(--line);
}

/* Quick Contact Row — cienki pasek, bez kafli-appek */
.contact-quick-row {
  display: flex;
  justify-content: center;
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

.contact-pill-btn {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 4px;
  border-left: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.contact-pill-btn:first-child {
  border-left: none;
}

.contact-pill-btn i {
  font-size: 19px;
  color: var(--oak);
  transition: filter 0.2s ease;
}

.contact-pill-btn:hover {
  color: var(--ink);
}

.contact-pill-btn:hover i {
  filter: brightness(0.65);
}

/* ══════════════════════════════════════════════════════════════
   2. WYRÓŻNIKI (HIGHLIGHTS)
   Bez nagłówka — bezpośrednia kontynuacja branding-box, tak jak
   na Airbnb/Slowhop. Czyste ikony, brak kart i cieni.
   ══════════════════════════════════════════════════════════════ */
.section-highlights {
  padding-top: 40px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.highlight-icon {
  line-height: 1;
}

.highlight-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  max-width: 22ch;
}

/* ══════════════════════════════════════════════════════════════
   3. WYRÓŻNIONA OPINIA
   ══════════════════════════════════════════════════════════════ */
.featured-review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.featured-review-card:hover {
  border-color: var(--oak);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--oak-soft);
  color: var(--oak-deep);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-strong);
}

.review-date {
  font-size: 12px;
  color: var(--ink-muted);
}

.review-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.review-stars {
  position: relative;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 12px;
}

.review-stars-bg,
.review-stars-fill {
  display: flex;
  gap: 2px;
}

.review-stars-bg i {
  color: var(--line-soft);
}

.review-stars-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: calc(var(--rating, 5) / 5 * 100%);
}

.review-stars-fill i {
  color: var(--oak-deep);
}

.review-quote {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--oak-deep);
}

/* ══════════════════════════════════════════════════════════════
   4. OFERTY SPECJALNE
   ══════════════════════════════════════════════════════════════ */
.offers-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.offer-card:hover {
  border-color: var(--oak);
}

.offer-badge {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--oak-deep);
  margin-bottom: 10px;
}

.offer-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.offer-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.offer-price {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--oak-deep);
}

/* ══════════════════════════════════════════════════════════════
   5. OPIS MIEJSCA
   ══════════════════════════════════════════════════════════════ */
.description-card {
  padding: 4px 2px;
}

.description-lead {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--ink-strong);
  line-height: 1.6;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.description-body p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 14px;
}

.description-body p:last-child {
  margin-bottom: 0;
}

.description-signature {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-strong);
  text-align: right;
}

/* ══════════════════════════════════════════════════════════════
   6. ZNAJDZIESZ NAS RÓWNIEŻ (SOCIALS & PORTALE)
   ══════════════════════════════════════════════════════════════ */
.social-portals-box {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sp-group-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink-strong);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sp-group-title i {
  color: var(--oak-deep);
}

.sp-group-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.social-links-grid,
.portal-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.sp-tile:hover {
  border-color: var(--oak);
}

.sp-tile-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
}

.sp-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.sp-tile-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   7. LOKALIZACJA
   ══════════════════════════════════════════════════════════════ */
.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location-map-wrap {
  width: 100%;
  height: 420px;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
}

.location-info {
  padding: 20px 22px;
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink);
}

.location-address i {
  color: var(--oak-deep);
  font-size: 20px;
  margin-top: 2px;
}

.location-address strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 2px;
}

.location-address span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.location-blurb {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   FAQ — akordeon edytorialski, bez pudełek
   ══════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--line-soft);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.faq-item summary {
  padding: 18px 26px 18px 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  font-size: 20px;
  font-weight: 300;
  color: var(--oak-deep);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 26px 20px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER SIMPLE
   ══════════════════════════════════════════════════════════════ */
.footer-simple {
  text-align: center;
  padding: 36px 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-soft);
  margin-top: 36px;
}

/* ══════════════════════════════════════════════════════════════
   8. STICKY BOTTOM BAR (ALWAYS PINNED)
   ══════════════════════════════════════════════════════════════ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  box-shadow: var(--shadow-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-strong);
}

.sticky-bar-sub {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.sticky-bar-dates-box {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sticky-bar-dates-box .sticky-bar-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-sticky-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--ink-strong);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.btn-sticky-action:hover {
  background: var(--oak-deep);
}

.btn-sticky-clear {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 6px 4px;
}

.btn-sticky-clear:hover {
  color: var(--ink);
}

/* ══════════════════════════════════════════════════════════════
   OVERLAYS / NAKŁADKI (Wspólny mechanizm)
   ══════════════════════════════════════════════════════════════ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;   /* fallback: przeglądarki bez dvh */
  /* iOS Safari: 100vh = duży viewport (wysokość przy ZWINIĘTYM pasku
     adresu). Przy widocznym pasku dół nakładki ląduje pod nim, a scroll
     jest zablokowany, więc pasek się nigdy nie chowa. dvh zawsze równa
     się aktualnie widocznemu obszarowi — nakładka pokrywa ekran dokładnie,
     niezależnie od stanu paska (web.dev/MDN: dynamic viewport units). */
  height: 100dvh;
  z-index: 1000;
  background: rgba(33, 26, 18, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end; /* Slide up on mobile */
  justify-content: center;
}

@media (min-width: 600px) {
  .overlay {
    align-items: center;
  }
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-card,
.overlay--calendar .overlay-body {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--surface);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-float);
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}

@media (min-width: 600px) {
  .overlay-card,
  .overlay--calendar .overlay-body {
    border-radius: var(--radius-xl);
  }
}

.overlay.open .overlay-card,
.overlay.open .overlay-body {
  transform: translateY(0);
}

.overlay-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  z-index: 10;
  transition: background 0.2s ease;
}

.overlay-close:hover {
  background: var(--oak-soft);
}

.overlay-header {
  padding: 20px 24px 16px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  border-bottom: 1px solid var(--line-soft);
}

.overlay-title,
.modal-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-strong);
  padding-right: 36px;
  margin-bottom: 16px;
}

/* Calendar Overlay Specifics — świadoma decyzja: bottom-sheet na każdej
   szerokości ekranu (spójne z pozostałymi nakładkami strony). */
.overlay--calendar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.overlay--calendar .overlay-body {
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Modal Dates & Service Links */
.modal-dates {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--oak-deep);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--oak-soft);
  border-radius: var(--radius-md);
  text-align: center;
  line-height: 1.5;
}

/* Daty + „Wyczyść daty” w jednym wierszu — czyszczenie wyboru wraca do
   kalendarza (modal.js: closeBookingModal + resetSelection + openOverlay). */
.modal-dates-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.modal-dates-info {
  line-height: 1.5;
}

.modal-dates-clear {
  flex-shrink: 0;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--oak-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .15s, color .15s;
}

.modal-dates-clear:hover {
  color: var(--ink-strong);
  border-bottom-color: var(--oak);
}

.modal-section {
  margin-bottom: 4px;
}

.modal-section-head {
  margin-bottom: 2px;
}

.modal-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--oak-deep);
}

.modal-section-label--alt {
  margin-top: 22px;
  color: var(--ink-muted);
}

.modal-section-desc {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin: 4px 0 14px;
}

.modal-section-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 22px 0;
}

.direct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.direct-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  transition: all 0.2s ease;
}

.direct-btn:hover {
  border-color: var(--oak);
  background: var(--surface-soft);
}

.direct-icon {
  font-size: 20px;
  line-height: 1;
  display: flex;
}

.direct-label {
  line-height: 1.2;
}

.portal-row {
  display: flex;
  gap: 10px;
}

.portal-btn {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: all 0.2s ease;
}

.portal-btn:hover {
  border-color: var(--oak);
  background: var(--surface-soft);
}

.portal-btn--slowhop::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(to bottom, #FFFFFF 50%, #DC143C 50%);
  border: 1px solid var(--ink-muted);
}

.portal-btn img,
.direct-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 3px;
}

/* Offer modal specifics */
.offer-modal-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--oak-deep);
  margin-bottom: 10px;
}

.offer-modal-desc {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.offer-modal-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-strong);
  margin-bottom: 22px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--ink-strong);
  color: #FFFFFF;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--oak-deep);
}

.offer-cta-pair {
  display: flex;
  gap: 10px;
}

.offer-cta-pair .btn-primary {
  flex: 1;
  width: auto;
  padding: 14px 10px;
  font-size: 13px;
}

.offer-cta-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.offer-cta-alt a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.offer-cta-alt a:hover {
  color: var(--oak-deep);
}

.offer-cta-sep {
  color: var(--line);
}

/* Reviews Lightbox Overlay */
.overlay--lightbox .rl-content {
  background: var(--surface);
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-float);
}

@media (min-width: 600px) {
  .overlay--lightbox .rl-content {
    border-radius: var(--radius-xl);
  }
}

.rl-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-strong);
  margin-bottom: 20px;
  padding-right: 20px;
}

.rl-list {
  display: flex;
  flex-direction: column;
}

.rl-review {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.rl-review--first {
  padding-top: 0;
  border-top: none;
}

.rl-review:last-child {
  padding-bottom: 0;
}

.rl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}

.rl-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rl-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--oak-soft);
  color: var(--oak-deep);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.rl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-strong);
}

.rl-date {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.rl-platform,
.rl-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.rl-platform-link:hover {
  color: var(--oak-deep);
}

.rl-stars {
  position: relative;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 8px;
}

.rl-stars-bg,
.rl-stars-fill {
  display: flex;
  gap: 2px;
}

.rl-stars-bg i {
  color: var(--line-soft);
}

.rl-stars-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: calc(var(--rating, 5) / 5 * 100%);
}

.rl-stars-fill i {
  color: var(--oak-deep);
}

.rl-quote {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
  white-space: pre-line;
}

.rl-quote--empty {
  color: var(--ink-muted);
  font-style: italic;
}

.rl-cta {
  text-align: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.rl-cta p {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.rl-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.rl-cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--oak-deep);
  transition: color 0.2s ease;
}

.rl-cta-links a:hover {
  color: var(--ink-strong);
}

/* Lightbox gallery (image viewer) */
.overlay--lightbox .lb-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  max-height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay--lightbox .lb-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  max-height: 80dvh;
  border-radius: var(--radius-md);
}

/* Galeria hero: zdjęcie WYŚRODKOWANE, nie bottom-sheet. Bazowy .overlay
   ma align-items: flex-end (arkusze typu rl-content/kalendarz), ale photo
   viewer powinien centrować obraz — inaczej przy krótkim zdjęciu wygląda
   jak „przyklejone do dołu”. Nadpisanie po ID: reviews-lightbox zostaje
   bottom-sheetem. */
#gallery-lightbox {
  align-items: center;
}

.lb-counter {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ══════════════════════════════════════════════════════════════
   KALENDARZ INLINE & OVERLAY STYLES
   ══════════════════════════════════════════════════════════════ */
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-nav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.calendar-nav button:hover:not(:disabled) {
  border-color: var(--oak);
}

.calendar-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}

#cal-range-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-strong);
  text-transform: capitalize;
}

.months-preview {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Desktop: dwa miesiące obok siebie (wzorzec Airbnb). JS już rozróżnia
   renderDesktopCalendar() (2 miesiące + strzałki) przy >= 769px — tu
   dopiero nadajemy temu układ wizualną formę: wiersz zamiast kolumny.
   Separator .month-gap („przerwa”) musi wtedy działać pionowo.

   A+B z przeglądu geometrii: wąskie komórki (~40px) kolidowały z dużą
   plakietką liczby nocy (19px). Rozwiązanie: plakietka mniejsza (15px,
   opcja A) + odzyskane miejsce na komórkę (cieńsze paddingi, opcja B).
   Mobile zostaje bez zmian (19px działa tam dobrze). */
@media (min-width: 769px) {
  .overlay--calendar .overlay-body {
    max-width: 760px;
    padding: 30px 20px;
    /* Stała wysokość modala: nagłówek i strzałki nie skaczą, gdy miesiące
       mają różną liczbę wierszy (5 vs 6). Krótszy miesiąc zostawia miejsce
       na dole, dłuższy zawsze się mieści (overflow wewnątrz). Wartość
       pokrywa najwyższy wariant: 2 miesiące × 6 wierszy + pasek .cal-status
       (po ponownym otwarciu z zapamiętanym zakresem) + legenda +
       disclaimer ≈ 623px. */
    height: min(660px, 85vh);
    height: min(660px, 85dvh);
  }
  .overlay--calendar .overlay-header {
    max-width: 760px;
  }
  .months-preview {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .months-preview .month-card {
    flex: 1;
    min-width: 0;
    padding: 14px;
  }
  .months-preview .month-gap {
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
    padding: 0;
  }
  .months-preview .month-gap-line {
    flex: 1;
    width: 1px;
    height: auto;
  }
  /* A: plakietka liczby nocy w widoku dwóch miesięcy — mniejsza, żeby nie
     nachodziła na cyfrę dnia. Na mobile zostaje pełne 19px/11px.
     top/right 1px (zamiast 2px) likwiduje resztkowy ~2px styku z cyfrą. */
  .months-preview .nights-badge {
    min-width: 15px;
    height: 15px;
    top: 1px;
    right: 1px;
    padding: 0 2px;
    font-size: 9.5px;
  }
}

.month-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.month-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink-strong);
  text-align: center;
  margin-bottom: 14px;
  text-transform: capitalize;
}

.week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--ink);
  border: 1px solid transparent;
  position: relative;
}

/* Nawigacja klawiaturą — widoczny, markowy fokus zamiast domyślnego (a11y).
   Używamy outline, nie box-shadow: ring .range-complete (box-shadow 3px
   oak-soft) ma wyższą specyficzność i wymazałby fokus na końcach zakresu. */
.day:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 1px;
}

.day.empty {
  border: none;
}

.day.available {
  background: var(--surface);
  border-color: var(--line-soft);
}

.day.available:hover {
  border-color: var(--oak);
  background: var(--oak-soft);
}

.day.occupied,
.day.past,
.day.out-of-range,
.day.too-short {
  background: transparent;
  color: var(--disabled);
  border-color: transparent;
  cursor: not-allowed;
}

.day.occupied {
  text-decoration: line-through;
}

/* Wyjazd jednej rezerwacji i przyjazd kolejnej tego samego dnia (bez wolnej
   nocy) — nadal niedostępny do zaznaczenia, ale wizualnie jak "half" z
   legendy, nie jak zwykły dzień w środku pobytu. */
.day.occupied.turnover-only {
  background: linear-gradient(135deg, var(--bg-alt) 50%, var(--surface) 50%);
  text-decoration: none;
}

.day.out-of-range {
  opacity: 0.4;
}

.day.selectable-end {
  background: var(--oak-soft);
  border: 1px dashed var(--oak);
  color: var(--ink-strong);
}

.day.departure-only {
  background: linear-gradient(135deg, var(--bg-alt) 50%, var(--surface) 50%);
}

.day.arrival-only {
  background: linear-gradient(135deg, var(--surface) 50%, var(--bg-alt) 50%);
}

.day.range-start,
.day.range-end {
  background: var(--ink-strong) !important;
  border-color: var(--ink-strong) !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

.day.range-mid {
  background: var(--oak-soft) !important;
  color: var(--ink-strong) !important;
  border-radius: 0 !important;
}

/* Dzień między wybranym przyjazdem a pierwszym możliwym wyjazdem — krótszy
   niż minimum nocy, więc nie da się na nim zakończyć pobytu. Lekki podkład
   (zamiast białej pustki bez ramek) pokazuje, że dzień należy do bloku
   minimalnego pobytu — zakres jest widoczny, ale słabiej niż aktywny wybór
   (range-mid/selectable-end używają mocniejszego var(--oak-soft)).
   WAŻNE: to dzień K L I K A L N Y (klik zaczyna nowy wybór od tej daty) —
   hover i kursor odróżniają go od zablokowanych occupied/too-short. */
.day.range-too-few {
  background: rgba(160, 126, 94, 0.09);
  color: var(--ink-muted);
  border-color: var(--line-soft);
  cursor: pointer;
}

.day.range-too-few:hover {
  border-color: var(--oak);
  background: rgba(160, 126, 94, 0.14);
}

.day.range-complete.range-start,
.day.range-complete.range-end {
  box-shadow: 0 0 0 3px var(--oak-soft);
}

.day-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-strong);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  z-index: 2;
}

/* Powiększona plakietka liczby nocy (przegląd UX: 8.5px było ledwo czytelne). */
.nights-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--oak-deep);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.month-gap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.month-gap-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.month-gap-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--ink-muted);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.i-free { background: var(--surface); border: 1px solid var(--line-soft); }
.i-busy { background: transparent; border: 1px solid var(--disabled); }
.i-half { background: linear-gradient(135deg, var(--bg-alt) 50%, var(--surface) 50%); border: 1px solid var(--line-soft); }
.i-sel  { background: var(--ink-strong); }
/* Możliwy wyjazd — przerywana ramka + oak-soft, jak .day.selectable-end */
.i-candidate { background: var(--oak-soft); border: 1px dashed var(--oak); }

.calendar-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-muted);
  text-align: center;
}

/* Komunikat ostrzegawczy — decyzja zapisana (przegląd UX §4.2): brand book
   definiuje --brick tylko dla detali, ale to pierwsze miejsce, gdzie paleta
   dotyka funkcjonalnego UI. Ustalamy: --brick = kolor stanu ostrzegawczego
   (1px ramka, nigdy duża płaszczyzna). Przyszłe komunikaty błędów używają
   tego samego tokenu zamiast wymyślać nowy kolor. */
.cal-toast {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--brick);
  color: var(--ink-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.cal-toast.show {
  display: block;
}

.cal-status {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.cal-status.cal-status--fixed {
  display: flex;
}

.cal-status-dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cal-status-dates b {
  font-size: 13.5px;
  color: var(--ink-strong);
}

/* Kontrast >= 4.5:1 na tle --bg-alt (przegląd UX: ink-muted dawał 4.24:1). */
.cal-status-nights {
  font-size: 11.5px;
  color: var(--ink);
}

.cal-status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-strong);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.book-btn:hover {
  background: var(--oak-deep);
}

.clear-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 6px 4px;
}

.clear-btn:hover {
  color: var(--ink);
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .hero-slide {
    aspect-ratio: 16 / 9;
  }
}

/* Wąskie ekrany (<380px): komórki dnia ~38px to za mało na cel dotykowy.
   Oszczędzamy na paddingach nakładki i karty miesiąca zamiast na siatce —
   realna komórka rośnie o kilka pikseli (przegląd UX, cel 44×44px). */
@media (max-width: 379px) {
  .overlay--calendar .overlay-body {
    padding: 24px 14px;
  }
  .month-card {
    padding: 14px 10px;
  }
  .day-grid {
    gap: 3px;
  }
}
