@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{-webkit-text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
button{font:inherit;color:inherit}
input,textarea,select{font:inherit}
ul,ol{list-style:none}

/*
 * Gdakowskie Zarośla — bespoke light brand system (concept "Lekki & Konwersyjny").
 * A standalone type: "website" build — no Quanta, no q-* utilities. Tailwind v4
 * supplies layout/reset utilities; brand colour + type come from the tokens below.
 */

:root {
  --bg: #fafcfc;
  --bg-tint: #eaf4f1;
  --bg-warm: #f6f2ea;
  --surface: #ffffff;
  --ink-strong: #0f2429;
  --ink: #1a343b;
  --ink-soft: #55696f;
  --muted: #8598a0;
  --brand: #2e9e88;
  --brand-strong: #1c7361;
  --brand-soft: #dcefe9;
  --wood: #bf9865;
  --gold: #c7a163;
  --line: #e3ecec;
  --line-soft: #eef4f3;
  --shadow-sm: 0 1px 2px rgba(15, 36, 41, 0.05), 0 2px 8px rgba(15, 36, 41, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 36, 41, 0.09);
  --shadow-lg: 0 24px 60px rgba(15, 36, 41, 0.14);
  --radius: 16px;
  --maxw: 1200px;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

@layer base {
  html {
    background-color: var(--bg);
    color: var(--ink);
    color-scheme: light;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  body {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  * {
    border-color: var(--line);
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-strong);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
  }
  ::selection {
    background: var(--brand);
    color: #fff;
  }
  a { color: inherit; text-decoration: none; }
  img, video { max-width: 100%; display: block; }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 8vw, 118px); position: relative; }
.section-tint { background: var(--bg-tint); }
.section-warm { background: var(--bg-warm); }
.section-ink { background: var(--ink-strong); color: #eaf1f0; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-ink .eyebrow { color: #7fd7c4; }
.section-ink .eyebrow::before { background: #7fd7c4; }

.title-hero { font-size: clamp(2.1rem, 5.2vw, 4rem); }
.title-1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.title-2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  border: 1px solid transparent; white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(46, 158, 136, 0.32); }
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 12px 28px rgba(46, 158, 136, 0.4); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink-strong); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); transform: translateY(-2px); }
.btn-light { background: rgba(255, 255, 255, 0.95); color: var(--ink-strong); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ---------- chips / cards ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: 0.01em;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(46, 158, 136, 0.18); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4e6e2; }

/* ---------- reveal (progressive enhancement, SSR-safe) ---------- */
[data-reveal] { will-change: opacity, transform; }
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ken burns / media ---------- */
.kb { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .kb { animation: none; } }

/* single smooth zoom: gentle ease-in start, ease-out stop, holds, no loop */
.hero-still { will-change: transform, opacity; animation: heroKbIn 13s cubic-bezier(0.45, 0, 0.55, 1) forwards, heroFadeIn 1.4s ease-out both; }
@keyframes heroKbIn { from { transform: scale(1.02); } to { transform: scale(1.15); } }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-still { animation: heroFadeIn 0.6s ease-out both; } }

.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #dfe9e7; }
.media-cover { width: 100%; height: 100%; object-fit: cover; }

.float-slow { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-slow { animation: none; } }

/* ---------- forms ---------- */
.field { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-strong); font-family: var(--font-body); font-size: 16px; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 158, 136, 0.15); }
textarea.field { height: auto; padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.6; }
.field-err { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.nav-scrolled { background: rgba(250, 252, 252, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.nav-link { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink-soft); padding: 8px 2px; position: relative; transition: color 0.18s ease; }
.nav-link:hover { color: var(--brand-strong); }
.nav-top .nav-link { color: rgba(255, 255, 255, 0.92); }
.nav-top .nav-link:hover { color: #fff; }

.divider { height: 1px; background: var(--line); border: 0; }

/* utility */
.text-brand { color: var(--brand-strong); }
.text-soft { color: var(--ink-soft); }
.text-muted2 { color: var(--muted); }

/* ---------- responsive nav helpers ---------- */
.site-desktop-nav { display: flex; }
.site-desktop-cta { display: flex; }
.site-burger { display: none; }
.site-callbar { display: none; }

@media (max-width: 980px) {
  .site-desktop-nav { display: none !important; }
}
@media (max-width: 860px) {
  .site-desktop-cta { display: none !important; }
  .site-burger { display: inline-flex !important; }
  .site-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  body { padding-bottom: 74px; }
}

/* grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 14px; grid-auto-flow: dense; }
.gallery-item { position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden; border-radius: var(--radius); background: #dfe9e7; box-shadow: var(--shadow-sm); grid-row: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-wide { grid-column: span 2; grid-row: span 2; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 34px 16px 15px; text-align: left; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; background: linear-gradient(to top, rgba(9, 26, 30, 0.72), rgba(9, 26, 30, 0)); }
.gallery-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--brand-strong); }
.gallery-zoom { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink-strong); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; opacity: 0; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.gallery-item:hover .gallery-zoom { opacity: 1; transform: none; }
@media (max-width: 820px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; } .gallery-item-wide { grid-column: span 1; grid-row: span 1; } }

/* ---------- lightbox ---------- */
/* Solid overlay (no backdrop-filter): blurring the full viewport over autoplaying
   background videos re-samples every frame and janks the page while zoomed. */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(8, 20, 23, 0.95); animation: fadein 0.2s ease; will-change: opacity; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: 1100px; width: 100%; }
.lb-img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lb-cap { margin-top: 12px; text-align: center; color: #eaf1f0; font-family: var(--font-display); font-weight: 600; display: flex; gap: 10px; align-items: center; justify-content: center; }
.lb-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.18s ease; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lb-prev { left: 10px; } .lb-next { right: 10px; } }

/* Full-screen floor-plan zoom: prominent solid close button + large centered plan. */
.plan-lightbox .lb-close { width: 52px; height: 52px; background: #fff; color: #12232a; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); z-index: 2; }
.plan-lightbox .lb-close:hover { background: #f0f0f0; transform: scale(1.05); }
.plan-figure { margin: 0; width: fit-content; max-width: 96vw; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; align-items: center; }
.plan-zoom-img { display: block; max-width: 100%; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.plan-figure .lb-cap { color: var(--ink-strong); }
@media (max-width: 620px) { .plan-figure { padding: 8px; } .plan-zoom-img { max-height: 78vh; } .plan-lightbox .lb-close { top: 12px; right: 12px; } }

/* While a zoom overlay is open, freeze background CSS motion so nothing repaints
   under the opaque overlay (paired with pausing <video> in JS). */
.lb-open .kb, .lb-open .hero-still, .lb-open .float-slow { animation-play-state: paused !important; }

/* ---------- floor plans ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--brand-soft); }
.tab { border: 0; cursor: pointer; padding: 10px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--brand-strong); background: transparent; transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.tab-active { background: #fff; color: var(--ink-strong); box-shadow: var(--shadow-sm); }
.room-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.room-bar { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #2e9e88, #7fd7c4); min-width: 8px; }
.room-bar-track { flex: 1; height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.plan-split { display: grid; grid-template-columns: minmax(0, 0.95fr) 1fr; gap: 28px; align-items: start; margin-top: 20px; }
@media (max-width: 680px) { .plan-split { grid-template-columns: 1fr; gap: 18px; } }
.plan-frame { position: relative; display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: zoom-in; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.plan-frame:hover { box-shadow: var(--shadow-md); border-color: #d4e6e2; }
.plan-frame img { width: 100%; height: auto; display: block; border-radius: 6px; }
.plan-zoom { position: absolute; bottom: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); color: var(--ink-strong); font-family: var(--font-display); font-weight: 600; font-size: 12.5px; box-shadow: var(--shadow-sm); }
.plan-frame:hover .plan-zoom { color: var(--brand-strong); }

/* ---------- faq ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #d4e6e2; }
.faq-q { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink-strong); }
.faq-icon { flex-shrink: 0; color: var(--brand-strong); transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 96px; padding-bottom: 48px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6, 20, 24, 0.62) 0%, rgba(6, 20, 24, 0.32) 48%, rgba(6, 20, 24, 0.12) 100%), linear-gradient(to top, rgba(6, 20, 24, 0.5), rgba(6, 20, 24, 0) 42%); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-card { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 26px; } }

.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat-cell { background: #fff; padding: 20px 16px; text-align: center; }
@media (max-width: 860px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat-strip { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

.vidwrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #dfe9e7; }
.vidwrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.play-pulse { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.play-dot { width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--brand-strong); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

/* ---------- entrance animation (hero, on-mount, no viewport gating) ---------- */
.anim-up { animation: upIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes upIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anim-up { animation: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; color: rgba(255, 255, 255, 0.85); display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; animation: floaty 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
@media (max-width: 1040px), (max-height: 820px) { .scroll-cue { display: none; } }

.feat-list { display: grid; gap: 12px; margin-top: 22px; }
.feat-list li { display: flex; align-items: flex-start; gap: 11px; }
.feat-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-strong); margin-top: 1px; }
.section-ink .feat-check { background: rgba(127, 215, 196, 0.16); color: #7fd7c4; }

.avail-bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.avail-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7fd7c4, #2e9e88); }
@media (max-width: 720px) { .avail-split { grid-template-columns: 1fr !important; } }
@media (max-width: 720px) { .hero { min-height: auto; } .stat-cell { padding: 16px 12px; } }

/* ---------- version switcher ---------- */
.vswitch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--brand-soft); }
.vswitch a { font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 999px; color: var(--brand-strong); white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.vswitch a.active { background: #fff; color: var(--ink-strong); box-shadow: var(--shadow-sm); }
.nav-top .vswitch { background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(4px); }
.nav-top .vswitch a { color: rgba(255, 255, 255, 0.9); }
.nav-top .vswitch a.active { background: #fff; color: var(--ink-strong); }
.theme-modern .vswitch, .theme-modern .vswitch a { border-radius: 8px; }

/* ---------- interiors room grid ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; padding: 0; text-align: left; width: 100%; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.room-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe9e7; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-media img { transform: scale(1.06); }
.room-floor { position: absolute; top: 10px; left: 10px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--brand-strong); }
.room-body { padding: 15px 17px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

/* ---------- theme wrappers ---------- */
.site { background: var(--bg); min-height: 100vh; }

.theme-natura {
  --bg: #f6f1e8; --bg-tint: #ece3d4; --bg-warm: #f1eade; --surface: #fffdf9;
  --ink-strong: #2a2822; --ink: #3b3830; --ink-soft: #6a6152; --muted: #9a9081;
  --brand: #7f8a5f; --brand-strong: #59623d; --brand-soft: #e7ead6; --wood: #c2a071; --gold: #bfa15f;
  --line: #e8e0d2; --line-soft: #f1ebdf;
  --font-display: "Playfair Display", Georgia, serif;
}
.theme-natura .section-ink { background: #2b2921; }
.theme-natura .eyebrow { letter-spacing: 0.2em; }

.theme-modern {
  --bg: #ffffff; --bg-tint: #f2f2ef; --bg-warm: #f6f4f1; --surface: #ffffff;
  --ink-strong: #191c20; --ink: #282c31; --ink-soft: #555b63; --muted: #8a9098;
  --brand: #c25a3a; --brand-strong: #9c3f22; --brand-soft: #f4e2da; --wood: #b98a5e; --gold: #c08a4a;
  --line: #e7e7e4; --line-soft: #f1f1ee;
  --font-display: "Space Grotesk", system-ui, sans-serif; --radius: 12px;
}
.theme-modern .btn, .theme-modern .chip { border-radius: 8px; }
.theme-modern .section-ink { background: #17191d; }
.theme-modern .title-hero { letter-spacing: -0.03em; }

/* ---------- hero: natura ---------- */
.hero-center { text-align: center; max-width: 880px; margin-inline: auto; }
.hero-natcard { max-width: 480px; margin-inline: auto; }

/* ---------- hero: modern ---------- */
.hero-modern { min-height: 100svh; display: grid; grid-template-columns: 1.02fr 0.98fr; }
.hero-modern-left { background: #17191d; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 112px 6vw 60px; }
.hero-modern-right { position: relative; overflow: hidden; background: #0f1114; }
.hero-bento { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.25fr 1fr; gap: 8px; padding: 8px; }
.hero-bento > * { position: relative; overflow: hidden; border-radius: 12px; background: #dfe9e7; }
.hero-bento img, .hero-bento video { width: 100%; height: 100%; object-fit: cover; }
.hero-bento .b-wide { grid-column: 1 / span 2; }
@media (max-width: 900px) { .hero-modern { grid-template-columns: 1fr; } .hero-modern-left { padding: 100px 22px 44px; } .hero-modern-right { min-height: 58vh; } }

/* ---------- floating version bar ---------- */
.vbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.vbar-label { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.theme-modern .vbar { border-radius: 12px; }
@media (max-width: 860px) { .vbar { bottom: 84px; padding: 7px 7px 7px 12px; gap: 8px; } .vbar-label { display: none; } }


/* ---------- interiors: pokoj po pokoju ---------- */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .int-grid { grid-template-columns: 1fr; } }
.int-card { overflow: hidden; padding: 0; }
.int-thumb { aspect-ratio: 16/10; overflow: hidden; background: #dfe9e7; }
.int-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.int-card:hover .int-thumb img { transform: scale(1.06); }
.int-floor { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); }
.int-area { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.int-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-strong); margin-top: 4px; }

/* ---------- lokalizacja ---------- */
.loc-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: stretch; }
@media (max-width: 860px) { .loc-split { grid-template-columns: 1fr; gap: 26px; } }
.region-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.region-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--brand-strong); background: var(--brand-soft); border-radius: 999px; padding: 6px 12px; }
.poi-list { margin-top: 14px; display: flex; flex-direction: column; }
.poi-row { display: flex; align-items: center; gap: 13px; padding: 11px 2px; border-bottom: 1px solid var(--line-soft); }
.poi-row:last-child { border-bottom: 0; }
.poi-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); }
.poi-main { flex: 1 1 auto; min-width: 0; }
.poi-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--ink-strong); }
.poi-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 1px; line-height: 1.35; }
.poi-dist { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--brand-strong); background: var(--line-soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
/* Map column fills the full row height so its bottom lines up with the "W okolicy"
   list on the left (both columns end on the same line). */
.loc-map-col { display: flex; flex-direction: column; height: 100%; }
.map-frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #dfe9e7; flex: 1 1 auto; min-height: 340px; box-shadow: var(--shadow-sm); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .map-frame { min-height: 300px; } }

/* ---------- static package helpers ---------- */
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(150deg,#2e9e88,#1c7361);color:#fff;box-shadow:0 6px 16px rgba(46,158,136,.35)}
.nav-top .brand-mark{background:rgba(255,255,255,.16);box-shadow:none;backdrop-filter:blur(4px)}
.brand-1{font-family:var(--font-display);font-weight:800;font-size:17px;color:var(--ink-strong);letter-spacing:-.01em}
.brand-2{font-family:var(--font-display);font-weight:600;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-strong)}
.nav-top .brand-1{color:#fff}
.nav-top .brand-2{color:rgba(255,255,255,.85)}
.stat-v{font-family:var(--font-display);font-weight:800;font-size:22px;color:var(--ink-strong);letter-spacing:-.01em}
.ibadge{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;background:var(--brand-soft);color:var(--brand-strong);flex-shrink:0}
.ibadge-wood{background:rgba(191,152,101,.16);color:#8a6a3b}
.room-name{min-width:150px;font-family:var(--font-display);font-weight:600;color:var(--ink-strong);font-size:15px}
.room-area{width:74px;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink-soft);font-weight:500}
.lightbox{display:none}
.lightbox.open{display:flex}
@media(max-width:620px){.form-2col{grid-template-columns:1fr!important}}
