/* RiC Apart — arkusz stylów */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-alt: #f2ede4;
  --ink: #1c2420;
  --muted: #5d6a63;
  --line: #e6dfd2;
  --primary: #1f3b33;
  --primary-hover: #16302a;
  --primary-soft: #e3ece8;
  --accent: #b9873a;
  --accent-soft: #f6ecd9;
  --danger: #a3302a;
  --danger-soft: #fbeceb;
  --warn-soft: #fff6dd;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(28, 36, 32, .06), 0 8px 28px rgba(28, 36, 32, .08);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt { margin-top: 1.6em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Przyciski --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:disabled { background: #9aa8a2; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--primary); border-color: currentColor; }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-danger { background: transparent; color: var(--danger); border-color: currentColor; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--accent-soft); }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* --- Nagłówek --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(0, 0, 0, .04); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--primary); color: #fff; display: grid; place-items: center; font: 600 1.3rem/1 var(--font-serif); }
.brand-text { display: flex; flex-direction: column; font: 600 1.15rem/1.1 var(--font-serif); }
.brand-text small { font: 500 .72rem/1.3 var(--font-sans); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.brand-text { white-space: nowrap; }
.main-nav .nav-book { display: none; } /* „Zarezerwuj” w menu tylko na telefonie, gdy znika z nagłówka */
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch a { font-size: .78rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 4px 9px; border-radius: 999px; }
.lang-switch a[aria-current] { background: var(--primary); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* --- Hero --- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 25, 21, .15) 0%, rgba(15, 25, 21, .35) 40%, rgba(15, 25, 21, .82) 100%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { max-width: 15ch; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-sub { max-width: 58ch; font-size: clamp(1rem, 1.6vw, 1.18rem); opacity: .95; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .8em; }
.hero .eyebrow { color: #f1d9ab; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.rating-badge, .award-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #fff; text-decoration: none; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .25); }
.award-badge { padding-left: 12px; }
.award-badge .icon { width: 18px; height: 18px; color: #f1d9ab; }
.score { background: #003b95; color: #fff; font-weight: 700; border-radius: 8px 8px 8px 0; padding: 4px 8px; font-size: .95rem; }

/* --- Widżet dat --- */
.date-widget { display: grid; grid-template-columns: 1.6fr .7fr auto; gap: 10px; background: var(--surface); color: var(--ink); padding: 10px; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); max-width: 760px; }
.dw-field { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 12px; background: var(--surface-alt); }
.dw-field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); }
.dw-field input, .dw-field select { border: 0; background: transparent; font: 500 1rem var(--font-sans); color: var(--ink); padding: 2px 0; width: 100%; cursor: pointer; }
.dw-field input:focus, .dw-field select:focus { outline: none; }
.dw-submit { border-radius: 12px; }

/* --- Wyróżniki --- */
.highlights { background: var(--surface); border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding-top: 22px; padding-bottom: 22px; }
.highlight { display: flex; gap: 12px; align-items: flex-start; padding: 8px; }
.highlight-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.highlight strong { display: block; font-size: .95rem; }
.highlight span:not(.highlight-icon) { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }

/* --- Sekcje --- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: 40px 0 80px; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--primary); color: #f3efe7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { margin-bottom: 1.1em; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 1.4em; }
.section-head .section-title { margin: 0; }
.section-head p { color: var(--muted); margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

/* --- O apartamencie --- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text p { color: #39433e; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.facts dt { font: 600 1.7rem/1 var(--font-serif); color: var(--primary); }
.facts dd { margin: 6px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.about-media { position: relative; padding-right: 18%; padding-bottom: 12%; }
.about-img-main { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-img-side { position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: var(--shadow); }

/* --- Pomieszczenia --- */
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.room-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-body { padding: 18px 20px 20px; }
.room-body p { color: var(--muted); font-size: .93rem; margin: 0; }

/* --- Galeria --- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 10px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-wide { grid-column: span 2; grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 12, .94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #d8d4cc; font-size: .9rem; margin-top: 12px; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer; border-radius: 999px; display: grid; place-items: center; font-size: 2rem; line-height: 1; }
.lb-close { top: 14px; right: 14px; width: 46px; height: 46px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }

/* --- Udogodnienia --- */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.amenity-group { background: var(--surface); padding: 26px; border-radius: var(--radius); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

/* --- Opinie --- */
.reviews { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 56px; align-items: center; }
.reviews-score { display: flex; gap: 22px; align-items: center; }
.reviews-score h2 { margin-bottom: .2em; }
.reviews-score p { margin: 0; color: var(--muted); }
.big-score { flex: none; width: 96px; height: 96px; background: #003b95; color: #fff; border-radius: 22px 22px 22px 4px; display: grid; place-items: center; font: 700 2.3rem/1 var(--font-sans); }
.score-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-row: span 2; }
.score-bars li { display: grid; grid-template-columns: 120px 1fr 36px; align-items: center; gap: 12px; font-size: .95rem; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.award-line { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 500; }
.award-line .icon { color: var(--accent); }

/* --- Rezerwacja bezpośrednia --- */
.direct-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.direct-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #f1d9ab; display: grid; place-items: center; margin-bottom: 16px; }
.direct-item p { color: #cfd8d3; font-size: .95rem; margin: 0; }

/* --- Zasady + mapa --- */
.rules { margin: 0; display: grid; gap: 0; }
.rules div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 600; }
.rules dd { margin: 0; color: var(--muted); }
.map-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-card-lg iframe { height: 440px; }
.map-card-body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* --- FAQ --- */
.faq details { background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* --- CTA --- */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, #2d5246 100%); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .2em; color: #fff; }
.cta-inner p { margin: 0; color: #d6e0db; }

/* --- Podstrony --- */
.page-hero { position: relative; padding: 72px 0 56px; background: var(--primary); color: #fff; overflow: hidden; }
.page-hero-sm { padding: 48px 0 40px; }
.page-hero .container { position: relative; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero .lead, .page-hero p { color: #dfe7e3; max-width: 62ch; }
.page-hero .eyebrow { color: #f1d9ab; }
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; color: #c9d4cf; }
.breadcrumbs a { color: #fff; }
.address-big { font-size: 1.1rem; margin-bottom: 18px; }
.tips { padding-left: 1.2em; color: #39433e; }
.tips li { margin-bottom: .6em; }
.poi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.poi-group h2 { font-size: 1.3rem; }
.poi-group ul { list-style: none; margin: 0; padding: 0; }
.poi-group li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.poi-group li:last-child { border-bottom: 0; }
.dist { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose p { color: #39433e; }

/* --- Karty / formularze --- */
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 0; margin: 0 0 20px; }
fieldset.card { min-width: 0; }
.card legend { float: left; width: 100%; font: 600 1.25rem var(--font-serif); margin-bottom: 16px; padding: 0; }
.card legend ~ * { clear: both; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.book-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea { font: 400 1rem var(--font-sans); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field-inline { flex-direction: row; align-items: center; gap: 14px; margin-top: 18px; }
.field-inline select { width: auto; min-width: 90px; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.field-check label { flex: 1; font-weight: 400; }
.field-check .field-error { flex-basis: 100%; }
.field-error { color: var(--danger); font-size: .86rem; margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.alert p { margin: 0; }
.alert p + p { margin-top: .4em; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--primary-soft); color: var(--ink); text-align: left; }
.cancel-form { margin: 8px 0 18px; }
.alert-warn { background: var(--warn-soft); color: #6b4e00; }

.summary h2 { font-size: 1.3rem; }
.summary-img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 14px; }
.summary-dates { font-weight: 500; color: var(--muted); }
.summary-lines { margin: 0 0 16px; }
.summary-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .95rem; }
.summary-lines dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-lines .discount { color: #2a7a4e; }
.summary-lines .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; }
.summary-policy { font-size: .85rem; color: var(--muted); margin: -6px 0 14px; }

/* Warunki rezerwacji: z możliwością odwołania / bezzwrotna */
.field-label { font-weight: 500; font-size: .92rem; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--primary); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.field .choice input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--primary); flex: none; }
.field p.muted.small, .form-grid > p.muted.small { margin: 0; }
.invoice-fields { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.terms-accept { margin: 0 0 20px; padding: 0 4px; }
.rate-options { display: grid; gap: 12px; }
.rate-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.rate-option:hover { border-color: var(--primary); }
.rate-option:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.rate-option:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.rate-option input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.rate-option.is-disabled { cursor: not-allowed; opacity: .6; }
.rate-option.is-disabled:hover { border-color: var(--line); }
.rate-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.rate-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rate-head strong { min-width: 0; }
.rate-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-desc { font-size: .88rem; color: var(--muted); }
.rate-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: .75rem;
  background: var(--accent-soft); color: #7a5520; font-weight: 600; vertical-align: 1px; }

.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 14px 0 6px; }
.secure-note .icon { flex: none; width: 18px; height: 18px; color: #2a7a4e; }

/* --- Kalendarz flatpickr --- */
.calendar-host .flatpickr-calendar { box-shadow: none; width: 100% !important; max-width: 100%; border: 0; }
.calendar-host .flatpickr-calendar.inline { margin: 0 auto; }
.calendar-host .flatpickr-months, .calendar-host .flatpickr-innerContainer, .calendar-host .flatpickr-rContainer, .calendar-host .flatpickr-days, .calendar-host .dayContainer { width: 100% !important; max-width: none !important; min-width: 0 !important; }
.calendar-host .flatpickr-days { display: flex; gap: 24px; }
.calendar-host .dayContainer { flex: 1; }
.calendar-host .flatpickr-weekdays .flatpickr-weekdaycontainer { gap: 0; }
.flatpickr-calendar .flatpickr-day { max-width: none; height: 52px; line-height: 1.15; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; }
.flatpickr-calendar:not(.inline) .flatpickr-day { height: 46px; }
.flatpickr-calendar .fp-price { font-size: .62rem; color: #2a7a4e; font-weight: 600; line-height: 1; margin-top: 3px; }
.flatpickr-calendar .flatpickr-day.selected .fp-price, .flatpickr-calendar .flatpickr-day.startRange .fp-price, .flatpickr-calendar .flatpickr-day.endRange .fp-price { color: #e8f2ec; }
.flatpickr-calendar .flatpickr-day.selected, .flatpickr-calendar .flatpickr-day.startRange, .flatpickr-calendar .flatpickr-day.endRange { background: var(--primary); border-color: var(--primary); }
.flatpickr-calendar .flatpickr-day.inRange { background: var(--primary-soft); border-color: var(--primary-soft); box-shadow: -5px 0 0 var(--primary-soft), 5px 0 0 var(--primary-soft); }
.flatpickr-calendar .flatpickr-day.fp-taken { color: #b8b2a7; text-decoration: line-through; background: repeating-linear-gradient(-45deg, transparent 0 4px, #f1ece3 4px 8px); }
/* Dni bez przyjazdu / wyjazdu: znacznik w rogu (opis w atrybucie title). */
.flatpickr-calendar .flatpickr-day.fp-no-arrival, .flatpickr-calendar .flatpickr-day.fp-no-departure { position: relative; }
.flatpickr-calendar .flatpickr-day.fp-no-arrival::before, .flatpickr-calendar .flatpickr-day.fp-no-departure::after {
  content: ""; position: absolute; top: 4px; width: 0; height: 0; border-style: solid; }
.flatpickr-calendar .flatpickr-day.fp-no-arrival::before { left: 4px; border-width: 6px 6px 0 0; border-color: #b45309 transparent transparent transparent; }
.flatpickr-calendar .flatpickr-day.fp-no-departure::after { right: 4px; border-width: 0 6px 6px 0; border-color: transparent #b45309 transparent transparent; }
.flatpickr-calendar.open { z-index: 120; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--muted); margin-top: 10px; }
.calendar-legend span { display: inline-flex; align-items: center; } /* ikona zawsze przy podpisie */
.calendar-legend i { flex: none; }
.calendar-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-free { background: var(--primary-soft); border: 1px solid var(--primary); }
.lg-taken { background: repeating-linear-gradient(-45deg, #fff 0 3px, #ddd6ca 3px 6px); border: 1px solid #ddd6ca; }
.lg-rule { background: linear-gradient(135deg, #b45309 0 35%, #fff 35%); border: 1px solid #ddd6ca; }

/* --- Strony statusu --- */
.status-page { text-align: center; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.8rem; }
.status-icon .icon { width: 36px; height: 36px; }
.status-ok { background: #e3f3ea; color: #2a7a4e; }
.status-wait { background: var(--accent-soft); color: var(--accent); }
.booking-recap { text-align: left; max-width: 480px; margin: 28px auto; }
.booking-recap dl { margin: 0; }
.booking-recap div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.booking-recap div:last-child { border: 0; }
.booking-recap dt { color: var(--muted); }
.booking-recap dd { margin: 0; text-align: right; }

/* --- Stopka --- */
.site-footer { background: #15241f; color: #b9c4bf; padding: 56px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer-brand { color: #fff; margin-bottom: 12px; }
.footer-brand small { color: #8fa199; }
.footer-h { font: 600 .8rem var(--font-sans); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a, .site-footer .link-btn { color: #dfe7e3; text-decoration: none; }
.site-footer a:hover, .site-footer .link-btn:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; color: #8fa199; }
.footer-bottom p { margin: 0; }

/* --- Cookies --- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); box-shadow: 0 12px 48px rgba(0, 0, 0, .2); padding: 20px 22px; display: flex; gap: 20px; align-items: center; }
.consent[hidden] { display: none; }
.consent-title { font-weight: 700; margin-bottom: 4px; }
.consent-body p:last-child { margin: 0; font-size: .9rem; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; flex: none; }

/* --- Responsywność --- */
@media (max-width: 1080px) {
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .direct-grid { grid-template-columns: repeat(2, 1fr); }
  .book-layout { grid-template-columns: 1fr; }
  .book-aside { position: static; }
}
@media (max-width: 980px) {
  /* Menu zwijane do przycisku — poniżej tej szerokości pełne menu nie mieści się obok logo i przycisków. */
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: 0 12px 24px rgba(0, 0, 0, .06); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}
@media (max-width: 900px) {
  .about, .two-col, .reviews { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .header-actions .btn { display: none; }
  .main-nav .nav-book { display: flex; margin-top: 14px; padding: .8em 1.4em; border-bottom: 0; color: #fff; }
  .calendar-legend { gap: 6px 14px; }
  .rate-option { padding: 12px 14px; }
  .brand-text small { display: none; }
  .hero { min-height: 92vh; }
  .hero-inner { padding-bottom: 28px; }
  .date-widget { grid-template-columns: 1fr 1fr; }
  .dw-dates { grid-column: 1 / -1; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid, .direct-grid, .poi-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .rules div { grid-template-columns: 1fr; gap: 2px; }
  .score-bars li { grid-template-columns: 96px 1fr 32px; }
  .consent { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { flex: 1; }
  .lightbox { padding: 56px 8px; }
  .lb-nav { top: auto; bottom: 10px; transform: none; }
  .card { padding: 18px; }
  .flatpickr-day { height: 46px; }
}

/* --- Taniej niż Booking, alternatywa Booking.com, tryb „tylko Booking.com”, CAPTCHA, kontakt --- */
.cheaper-note { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: #2a7a4e; font-weight: 500; margin: 0 0 14px; }
.cheaper-note .icon { flex: none; width: 18px; height: 18px; }
.alt-booking { font-size: .85rem; color: var(--muted); margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.date-widget-external { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.date-widget-external p { margin: 0; font-weight: 500; }
.captcha { margin: 4px 0 14px; min-height: 65px; }
.contact-direct { margin-top: 24px; color: var(--muted); }
.contact-direct a { margin-right: 14px; }
.footer-rating { margin-top: 14px; font-size: .9rem; }
.footer-rating a { color: inherit; }
