/* Czcionki na własnym serwerze (Cormorant Garamond, Manrope — licencja SIL OFL): latin, latin-ext, cyrillic */
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   PG HORYZONT — system wizualny v2
   Kość słoniowa + granat z logo + pszeniczne złoto („Polny Łan”).
   Szeryf: Cormorant Garamond (nagłówki) · Bezszeryf: Manrope (treść, interfejs).
   ===================================================================== */

:root {
    --ivory: #f6f1e8;
    --paper: #fcfaf6;
    --sand: #ece3d4;
    --stone: #d8cebd;
    --navy: #1a2e4c;
    --navy-2: #253f66;
    --night: #0e1a2b;
    --night-2: #13233a;
    --ink: #17202e;
    --text: #444b59;
    --muted: #636a7a;
    --faint: #9aa0aa;
    --gold: #b48a4e;
    --gold-2: #d7b77b;
    --gold-ink: #85602b;
    --green: #2c6b4c;
    --light: #f4eee4;
    --line: rgba(26, 46, 76, .12);
    --line-2: rgba(26, 46, 76, .22);
    --line-light: rgba(244, 238, 228, .14);
    --line-light-2: rgba(244, 238, 228, .28);

    --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --r-xs: 3px;
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 10px 24px -16px rgba(14, 26, 43, .35);
    --shadow: 0 30px 60px -36px rgba(14, 26, 43, .5);
    --shadow-lg: 0 50px 100px -50px rgba(14, 26, 43, .65);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(88px, 10vw, 150px);
    --header-h: 76px;
}
@media (min-width: 1200px) { :root { --header-h: 88px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* atrybut hidden zawsze ukrywa — nawet gdy element ma własne display */
* { margin: 0; padding: 0; }
html {
    background: #f5efe5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
    min-height: 100vh;
    font: 400 1.0625rem/1.72 var(--sans);
    color: var(--text);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; line-height: 1.1; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .menu-panel :focus-visible, .modal--dark :focus-visible { outline-color: var(--gold-2); }
::selection { background: var(--navy); color: var(--light); }
body.is-locked { overflow: hidden; }
main { display: block; }
body:not(.has-hero) main { padding-top: var(--header-h); }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms var(--ease-io) both pgh-vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease) both pgh-vt-in; }
@keyframes pgh-vt-out { to { opacity: 0; } }
@keyframes pgh-vt-in { from { opacity: 0; } }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 6000; padding: 12px 18px; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(960px, 100% - 2 * var(--gutter)); }
.container--wide { width: min(1520px, 100% - 2 * var(--gutter)); }

/* =====================================================================
   TŁO — horyzont nad polem (warstwa stała; działa też na iOS)
   ===================================================================== */
.site-bg {
    position: fixed; left: 0; right: 0; top: 0;
    height: 100vh; height: 100lvh;
    z-index: -1; pointer-events: none; overflow: hidden;
    background:
        url("../img/bg-fields.svg") center bottom / cover no-repeat,
        radial-gradient(70vmax 46vmax at 4% 0%, rgba(26, 46, 76, .07), rgba(26, 46, 76, 0) 70%),
        radial-gradient(60vmax 40vmax at 100% 100%, rgba(201, 171, 122, .15), rgba(201, 171, 122, 0) 70%),
        linear-gradient(180deg, #fbf8f3 0%, #f7f1e8 46%, #f0e6d6 100%);
}
.site-bg::before {
    content: ""; position: absolute;
    width: 78vmax; height: 78vmax; right: -22vmax; top: -34vmax;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 214, 158, .58) 0%, rgba(245, 214, 158, .22) 36%, rgba(245, 214, 158, 0) 68%);
    animation: pgh-sun 26s ease-in-out infinite alternate;
}
.site-bg::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .18 0 0 0 0 .3 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes pgh-sun { to { transform: translate3d(-7vmax, 5vmax, 0) scale(1.06); } }
@media (max-width: 760px) {
    .site-bg::before { width: 105vmax; height: 105vmax; right: -48vmax; top: -52vmax; }
    .site-bg { background-position: 42% bottom, 0 0, 0 0, 0 0; }
}

/* =====================================================================
   TYPOGRAFIA
   ===================================================================== */
.display, .h-xl, .h-lg, .h-md, .statement { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -.012em; }
.display { font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: .98; }
.h-xl { font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: 1; }
.h-lg { font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.04; }
.h-md { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; }
.display em, .h-xl em, .h-lg em, .h-md em, .statement em { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.statement { font-size: clamp(1.75rem, 3.1vw, 2.9rem); line-height: 1.2; font-weight: 400; letter-spacing: -.005em; }
.statement em { font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.75; color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); }

.kicker {
    display: inline-flex; align-items: center; gap: .9rem;
    font: 600 .72rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold-ink);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.kicker b { font-weight: 700; color: var(--ink); letter-spacing: .12em; }
.kicker--plain::before { display: none; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.on-dark { color: rgba(244, 238, 228, .76); }
.on-dark .display, .on-dark .h-xl, .on-dark .h-lg, .on-dark .h-md, .on-dark .statement, .on-dark h2, .on-dark h3 { color: #fbf6ee; }
.on-dark .display em, .on-dark .h-xl em, .on-dark .h-lg em, .on-dark .h-md em, .on-dark .statement em { color: var(--gold-2); }
.on-dark .kicker { color: var(--gold-2); }
.on-dark .kicker b { color: #fff; }
.on-dark .lead { color: rgba(244, 238, 228, .72); }

/* dzielenie słów do animacji (JS) */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .26em; margin: -.1em 0 -.26em; }
.split-w > span { display: inline-block; transform: translateY(140%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d0, 0ms)); }
.is-split.is-in .split-w > span { transform: none; }

/* =====================================================================
   PRZYCISKI I LINKI
   ===================================================================== */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
    min-height: 56px; padding: 0 1.75rem;
    border-radius: var(--r-xs);
    font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
    color: var(--light); background: var(--navy);
    border: 1px solid var(--navy);
    transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
    white-space: nowrap;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-2); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .ico { width: 1.15rem; height: 1.15rem; transition: transform .5s var(--ease); }
.btn:hover .ico-move { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { color: var(--navy); background: transparent; border-color: var(--line-2); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: var(--light); border-color: var(--navy); }
.btn--light { color: var(--navy); background: var(--light); border-color: var(--light); }
.btn--light::before { background: #fff; }
.btn--ghost-light { color: var(--light); background: rgba(14, 26, 43, .12); border-color: rgba(244, 238, 228, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost-light::before { background: var(--light); }
.btn--ghost-light:hover { color: var(--navy); border-color: var(--light); }
.btn--gold { color: var(--night); background: var(--gold-2); border-color: var(--gold-2); }
.btn--gold::before { background: #e6cc98; }
.btn--sm { min-height: 46px; padding: 0 1.2rem; font-size: .7rem; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: pgh-spin .8s linear infinite; }
@keyframes pgh-spin { to { transform: rotate(360deg); } }

.link-line { position: relative; display: inline-flex; align-items: center; gap: .55rem; font: 700 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); padding-bottom: 6px; }
.link-line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(.35); }
.link-line .ico { width: 1rem; height: 1rem; transition: transform .5s var(--ease); }
.link-line:hover .ico { transform: translateX(4px); }
.on-dark .link-line { color: var(--light); }

.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .75rem; border-radius: 999px; font: 700 .64rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); background: rgba(44, 107, 76, .1); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(44, 107, 76, .18); animation: pgh-pulse 2.4s ease-in-out infinite; }
.badge--gold { color: var(--gold-ink); background: rgba(180, 138, 78, .14); }
.badge--gold::before { box-shadow: 0 0 0 3px rgba(180, 138, 78, .2); animation: none; }
.badge--muted { color: var(--muted); background: rgba(14, 26, 43, .07); }
.badge--muted::before { box-shadow: none; animation: none; }
.on-dark .badge { color: #8fd3ad; background: rgba(143, 211, 173, .12); }
@keyframes pgh-pulse { 50% { box-shadow: 0 0 0 6px rgba(44, 107, 76, 0); } }

/* =====================================================================
   NAGŁÓWEK
   ===================================================================== */
.site-header {
    position: fixed; left: 0; right: 0; top: 0; z-index: 1000;
    height: var(--header-h);
    transition: transform .6s var(--ease), color .4s;
    color: var(--ink);
}
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(248, 244, 237, .82);
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border-bottom: 1px solid var(--line);
    transition: opacity .5s var(--ease), background-color .4s;
}
.site-header.is-over { color: var(--light); }
.site-header.is-over::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; -webkit-tap-highlight-color: transparent; }
.brand img { height: 46px; width: auto; transition: filter .4s; }
.is-over .brand img { filter: brightness(0) invert(1); }
@media (min-width: 1200px) { .brand img { height: 54px; } }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
    position: relative; display: inline-flex; align-items: center; gap: .35rem;
    padding: 12px 14px;
    font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
    color: inherit; opacity: .82; transition: opacity .3s;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link .ico { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.has-sub { position: relative; }
.has-sub.is-open .nav-link .ico { transform: rotate(180deg); }

.mega {
    position: absolute; top: calc(100% + 14px); left: 50%;
    width: 520px; padding: 22px;
    color: var(--ink);
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .3s, transform .45s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .mega, .has-sub:focus-within .mega, .has-sub.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega__head b { font: 500 1.6rem/1 var(--serif); color: var(--ink); }
.mega__head span { font-size: .78rem; color: var(--muted); }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: var(--r-sm); transition: background-color .25s; }
.mega__list a:hover { background: var(--ivory); }
.mega__list b { font: 600 .9rem/1.2 var(--sans); color: var(--ink); }
.mega__list small { display: block; font-size: .76rem; color: var(--muted); }
.mega__list .ico { width: 16px; height: 16px; color: var(--gold); }
.mega__soon { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px; border-radius: var(--r-sm); background: var(--ivory); font-size: .86rem; color: var(--muted); }
.mega__soon small { font: 700 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }

.header-tools { display: flex; align-items: center; gap: 18px; margin-left: 18px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch a { display: grid; place-items: center; padding: 8px 5px; opacity: .5; transition: opacity .3s, transform .3s var(--ease); }
.lang-switch a:hover { opacity: .85; transform: translateY(-1px); }
.lang-switch a.is-active { opacity: 1; }
.lang-flag { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(14, 26, 43, .16), 0 2px 6px rgba(14, 26, 43, .12); }
.lang-switch a.is-active .lang-flag { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--gold); }
.lang-switch--bar { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: .55rem; font: 700 .8rem/1 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.header-phone .ico { width: 17px; height: 17px; color: var(--gold); }
.is-over .header-phone .ico { color: var(--gold-2); }
.is-over .header-cta.btn { color: var(--navy); background: var(--light); border-color: var(--light); }
.is-over .header-cta.btn::before { background: #fff; }

.menu-btn { display: none; align-items: center; gap: 12px; margin-left: auto; padding: 10px 0 10px 10px; font: 700 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: inherit; }
.menu-btn__bars { position: relative; width: 26px; height: 12px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 10px; }
.menu-open .menu-btn__bars::before { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn__bars::after { top: 5px; transform: rotate(-45deg); }
.header-call-mobile { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; border: 1px solid currentColor; opacity: .85; }
.header-call-mobile .ico { width: 18px; height: 18px; }

@media (max-width: 1199px) {
    .main-nav, .header-tools { display: none; }
    .menu-btn { display: inline-flex; }
    .header-inner { gap: 8px; }
    .lang-switch--bar { display: inline-flex; flex: none; margin-left: auto; margin-right: 4px; gap: 2px; }
    .lang-switch--bar a { padding: 8px 4px; }
    .header-call-mobile { display: grid; flex: none; }
    .menu-btn { flex: none; }
    .header-call-mobile + .menu-btn { margin-left: 4px; }
}
@media (max-width: 380px) { .menu-btn__label { display: none; } .brand img { height: 38px; width: auto; } .header-call-mobile { width: 40px; height: 40px; } .lang-flag { width: 22px; height: 15px; } }

/* ---------- menu pełnoekranowe ---------- */
.menu-panel {
    position: fixed; inset: 0; z-index: 990;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    color: var(--light);
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(215, 183, 123, .16), rgba(215, 183, 123, 0) 60%),
        var(--night);
    overflow-y: auto;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .menu-panel { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .site-header { color: var(--light); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand img { filter: brightness(0) invert(1); }
.menu-panel__nav { display: grid; gap: 2px; }
.menu-panel__nav a, .menu-panel__nav .is-soon {
    display: flex; align-items: baseline; gap: 18px;
    padding: 12px 0; border-bottom: 1px solid var(--line-light);
    font: 500 clamp(2rem, 8vw, 3rem)/1.1 var(--serif); color: #fbf6ee;
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu-panel__nav a:hover { color: var(--gold-2); }
.menu-panel__nav small { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; color: var(--gold-2); min-width: 22px; }
.menu-panel__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 6px; }
.menu-panel__sub a { display: block; padding: 14px; border: 1px solid var(--line-light); border-radius: var(--r-sm); font: 600 .9rem/1.2 var(--sans); color: var(--light); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), border-color .3s; }
.menu-panel__sub a span { display: block; margin-top: 4px; font-size: .76rem; font-weight: 500; color: rgba(244, 238, 228, .6); }
.menu-panel__sub a:hover { border-color: var(--gold-2); }
.menu-open .menu-panel__nav a, .menu-open .menu-panel__nav .is-soon, .menu-open .menu-panel__sub a { opacity: 1; transform: none; }
.menu-panel__nav > *:nth-child(2) { transition-delay: .06s; }
.menu-panel__nav > *:nth-child(3) { transition-delay: .12s; }
.menu-panel__nav > *:nth-child(4) { transition-delay: .18s; }
.menu-panel__nav > *:nth-child(5) { transition-delay: .24s; }
.menu-panel__nav .is-soon { color: rgba(244, 238, 228, .45); font-size: clamp(1.4rem, 5vw, 1.9rem); }
.menu-panel__nav .is-soon em { font: 700 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-style: normal; margin-left: auto; }
.menu-panel__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 16px; }
.menu-panel__foot .btn { width: 100%; }
.menu-panel__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .92rem; color: rgba(244, 238, 228, .72); }
.menu-panel__contact a:hover { color: #fff; }
.menu-panel .lang-switch a.is-active .lang-flag { box-shadow: 0 0 0 2px var(--night), 0 0 0 3.5px var(--gold-2); }

/* =====================================================================
   ANIMACJE WEJŚCIA (tylko przy działającym JS)
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Zasłaniamy zawartość ramki, a nie samą ramkę: IntersectionObserver liczy widoczność
   razem z clip-path obserwowanego elementu, więc ramka zasłonięta w 100% nigdy by się nie odsłoniła. */
.js .reveal-img { opacity: 0; transition: opacity .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img > img, .js .reveal-img > iframe { clip-path: inset(0 0 100% 0); transform: scale(1.14); transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { opacity: 1; }
.js .reveal-img.is-in > img, .js .reveal-img.is-in > iframe { clip-path: inset(0); transform: none; }
.js .g-item.reveal-img.is-in:hover > img { transform: scale(1.045); transition-delay: 0s; }

/* =====================================================================
   SEKCJE — wspólne
   ===================================================================== */
.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--night { color: rgba(244, 238, 228, .76); background: var(--night); }
.section--night::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(215, 183, 123, .1), rgba(215, 183, 123, 0) 70%), radial-gradient(50% 50% at 0% 100%, rgba(37, 63, 102, .5), rgba(37, 63, 102, 0) 70%); }
.section--night > * { position: relative; }
.section-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; column-gap: clamp(32px, 6vw, 96px); }
.section-head--split .lead { padding-bottom: .35rem; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

.chapter-line { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); font: 700 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.chapter-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.on-dark .chapter-line { color: rgba(244, 238, 228, .55); }
.on-dark .chapter-line::after { background: var(--line-light); }

/* =====================================================================
   HERO — strona główna (pełny ekran, pokaz wizualizacji)
   ===================================================================== */
.hero {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--light); background: var(--night); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-io); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.12); transition: transform 9s linear; will-change: transform; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(180deg, rgba(10, 18, 31, .55) 0%, rgba(10, 18, 31, 0) 26%),
    linear-gradient(0deg, rgba(10, 18, 31, .92) 0%, rgba(10, 18, 31, .45) 34%, rgba(10, 18, 31, 0) 62%),
    linear-gradient(90deg, rgba(10, 18, 31, .72) 0%, rgba(10, 18, 31, .35) 42%, rgba(10, 18, 31, 0) 70%); }
.hero__content { padding: calc(var(--header-h) + 40px) 0 0; }
.hero__title { color: #fbf6ee; max-width: 10.5em; margin: 22px 0 26px; }
.hero__title em { color: var(--gold-2); }
.hero__lead { max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(244, 238, 228, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, auto)) 1fr; align-items: end; gap: 0;
    margin-top: clamp(48px, 7vh, 88px); padding: 26px 0 30px;
    border-top: 1px solid var(--line-light-2);
}
.hero-fact { padding-right: clamp(22px, 3.4vw, 56px); margin-right: clamp(22px, 3.4vw, 56px); border-right: 1px solid var(--line-light); }
.hero-fact span { display: block; margin-bottom: 8px; font: 700 .64rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.hero-fact b { display: block; font: 500 clamp(1.4rem, 2.1vw, 1.9rem)/1.1 var(--serif); color: #fbf6ee; white-space: nowrap; }
.hero-fact:nth-child(3) { border-right: 0; }
.hero-slides { justify-self: end; display: flex; align-items: center; gap: 18px; }
.hero-slides__caption { text-align: right; font-size: .8rem; line-height: 1.4; color: rgba(244, 238, 228, .7); }
.hero-slides__caption b { display: block; font: 600 .66rem/1 var(--sans); letter-spacing: .2em; color: #fbf6ee; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.hero-slides__nav { display: flex; gap: 8px; }
.hero-slides__nav button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light-2); color: #fbf6ee; transition: background-color .35s, color .35s, border-color .35s; }
.hero-slides__nav button:hover { background: var(--light); color: var(--navy); border-color: var(--light); }
.hero-slides__nav .ico { width: 18px; height: 18px; }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; display: flex; gap: 4px; }
.hero-progress span { flex: 1; background: rgba(244, 238, 228, .18); overflow: hidden; }
.hero-progress span::after { content: ""; display: block; height: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero-progress span.is-done::after { transform: scaleX(1); }
.hero-progress span.is-active::after { animation: pgh-progress var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-progress span.is-active::after { animation-play-state: paused; }
@keyframes pgh-progress { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; right: var(--gutter); top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; font: 600 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 238, 228, .7); writing-mode: vertical-rl; }
.hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(244, 238, 228, .7), rgba(244, 238, 228, 0)); animation: pgh-scroll 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes pgh-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-note { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 18px); font-size: .7rem; letter-spacing: .06em; color: rgba(244, 238, 228, .55); }

@media (max-width: 1000px) {
    .hero__bar { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
    .hero-slides { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; flex-direction: row-reverse; }
    .hero-slides__caption { text-align: left; }
    .hero-scroll { display: none; }
}
@media (max-width: 640px) {
    .hero__content { padding-top: calc(var(--header-h) + 18px); }
    .hero__title { margin: 14px 0 16px; font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
    .hero__lead { font-size: .98rem; line-height: 1.6; }
    .hero__actions { margin-top: 24px; gap: 8px; }
    .hero__actions .btn { flex: 1 1 0; min-height: 52px; padding: 0 .8rem; font-size: .64rem; letter-spacing: .1em; gap: .5rem; }
    .hero__actions .btn .ico { width: .95rem; height: .95rem; }
    .hero__bar { grid-template-columns: 1fr 1fr; row-gap: 16px; margin-top: 26px; padding: 18px 0 22px; }
    .hero-fact { padding-right: 12px; margin-right: 12px; }
    .hero-fact:nth-child(2) { border-right: 0; margin-right: 0; padding-right: 0; }
    .hero-fact b { font-size: 1.32rem; }
    .hero-slides { grid-column: auto; justify-self: end; align-self: end; flex-direction: row; gap: 10px; }
    .hero-slides__caption span { display: none; }
    .hero-slides__caption b { margin: 0; }
    .hero-slides__nav button { width: 42px; height: 42px; }
    .hero-note { display: none; }
}

/* =====================================================================
   01 — WSTĘP (manifest + kompozycja zdjęć + liczby)
   ===================================================================== */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro__text { display: grid; gap: 26px; }
.intro__text .lead { max-width: 52ch; }
.intro__media { position: relative; padding: 0 0 18% 0; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--r-sm) var(--r-sm); background: var(--sand); box-shadow: var(--shadow-lg); }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.intro__media .arch { width: 74%; }
.intro__inset { position: absolute; right: 0; bottom: 0; width: 46%; padding: 10px; background: var(--paper); border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.intro__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-xs); }
.intro__inset figcaption { padding: 10px 4px 2px; font-size: .74rem; color: var(--muted); }
.intro__badge { position: absolute; left: 62%; top: 9%; width: 122px; height: 122px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--night); background: var(--gold-2); box-shadow: var(--shadow); transform: rotate(-8deg); }
.intro__badge b { display: block; font: 500 2.4rem/1 var(--serif); }
.intro__badge span { display: block; margin-top: 2px; font: 700 .56rem/1.25 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 960px) {
    .intro { grid-template-columns: 1fr; }
    .intro__media { max-width: 560px; }
}

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-2); }
.stat { padding: 30px 22px 0 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 500 clamp(2.6rem, 4.6vw, 4.3rem)/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.stat b small { font-size: .5em; letter-spacing: 0; margin-left: 4px; color: var(--gold-ink); }
.stat--text b { font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.1; white-space: nowrap; padding-top: .18em; }
.stat > span::first-letter { text-transform: lowercase; }
.stat > span { display: block; margin-top: 12px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat, .stat + .stat { padding: 26px 18px 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
    .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* =====================================================================
   02 — PLAN OSIEDLA (interaktywny) + tabela segmentów
   ===================================================================== */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .85fr); gap: clamp(20px, 2.6vw, 36px); align-items: stretch; }
.plan { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); box-shadow: var(--shadow-lg); aspect-ratio: var(--crop-ar, 1.35); }
/* kadr zdjęcia 6000×3000: x 950–4900, y 0–2926 (proporcje 1.35) */
.plan__canvas { position: absolute; width: var(--cw, 151.9%); height: var(--ch, 102.53%); left: var(--cl, -24.05%); top: var(--ct, 0%); background: url(data:image/webp;base64,UklGRlgCAABXRUJQVlA4IEwCAACwDQCdASpQACgAPsFSn0qnpKKhrvbc+PAYCUAYBbgWNyvaNhRn6LMWdr/mCopo0LKmpjyx4i5JQDi9UZT+dCfT6eMq2eUvMJYeTNGECtLTcbZlNIJFP3b4ot9THegVM8CbL9Xr7TjbQ8xoMkXvoJr3383/ft4AAPaMAlBIW8DTWf0Xobx+t/SF/B1ARDBnlXx+Y34d3L8GJaoJDWcUdjM5v0W2oR39h4a5Lr49fU2zX71f2XsmBC8xHUReySRCgxiZgQuXG0FqzDWtsyCpm+zj7DCox4vhgDGaIN9V1a32672JUC4QvVEkhN9bSGEY4iu9ofP2LjvBqEwcqKdSmeef3w1kD4VhtO3IshK7sFmHQohgADXvtvJNnJ/V94ciLhf7WtjSKUVcYQRJCdAbGvg9/IvdcYZ8mzBicFs40vzrY8upiDGFjAKQfdrluZadcoO0jquIj5+uwMcFfsjrMx5R0J56rO+4ZdbSbc9PEfaVo03SrbQNidAN81KVXKCTiC2MHCgruyYQltyiX/PV0k6XNzUQsGpR/1LJW/nNRrwWc8rO+dPl4QM5Oc5H9tx8Rr1VZ6OYt3erIg5l6WsI68vRLv7ZSZPuIi6w9asY9fatnh82ncHosrTNYD/jcnPOeOO7sQi95l+DEJ5oKAT95if9pgEjaR18XaVfEZUQRgeFjSdo5+JuqKsZ+Syh2F4SijIJFtT0mjTwVW4GPDS7YMWRMpUPZB6UU7TuPxtXc8AwFmB2JwKq5G5hsp32MxjHmMCmO3ht+i7eHEfzAAA=) center / 100% 100% no-repeat; }
.plan__canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plan__dim { fill: rgba(10, 18, 31, .5); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.plan.has-active .plan__dim { opacity: 1; }
.plan__seg { cursor: pointer; outline: none; }
.plan__seg polygon { fill: rgba(215, 183, 123, 0); stroke: rgba(251, 246, 238, .0); stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill .45s var(--ease), stroke .45s var(--ease); }
.plan__seg:hover polygon, .plan__seg:focus-visible polygon { fill: rgba(215, 183, 123, .16); stroke: rgba(251, 246, 238, .85); }
.plan__seg.is-active polygon { fill: rgba(215, 183, 123, .22); stroke: var(--gold-2); stroke-width: 2.5; }
.plan__pin circle { fill: var(--paper); stroke: rgba(14, 26, 43, .15); stroke-width: 1; transition: fill .4s, r .4s var(--ease); }
.plan__pin .ring { fill: none; stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .9; transform-box: fill-box; transform-origin: center; animation: pgh-ring 2.6s ease-out infinite; }
.plan__pin text { font: 700 74px/1 var(--sans); fill: var(--navy); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.plan__seg.is-active .plan__pin circle:not(.ring) { fill: var(--gold-2); }
@keyframes pgh-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.plan__legend { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: var(--navy); background: rgba(252, 250, 246, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.plan__legend .ico { width: 16px; height: 16px; color: var(--gold); }
.plan__note { position: absolute; right: 14px; top: 12px; z-index: 2; font-size: .68rem; color: rgba(251, 246, 238, .82); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); pointer-events: none; }

.seg-panel { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.seg-panel__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: var(--r-sm); background: var(--ivory); }
.seg-panel__tabs button { padding: 10px 0; border-radius: var(--r-xs); font: 700 .74rem/1 var(--sans); letter-spacing: .08em; color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.seg-panel__tabs button:hover { color: var(--navy); }
.seg-panel__tabs button[aria-selected="true"] { background: var(--navy); color: var(--light); box-shadow: var(--shadow-sm); }
.seg-info { display: none; flex-direction: column; flex: 1; animation: pgh-fade-up .6s var(--ease); }
.seg-info.is-active { display: flex; }
@keyframes pgh-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.seg-info__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seg-info__name { margin-top: 14px; font: 500 clamp(2.6rem, 4vw, 3.4rem)/1 var(--serif); color: var(--ink); }
.seg-info__price { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.seg-info__price b { display: block; font: 500 2rem/1 var(--serif); color: var(--gold-ink); }
.seg-info__price span { display: block; margin-top: 6px; font-size: .86rem; }
.spec-list { margin: 18px 0 22px; border-top: 1px solid var(--line); }
.spec-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-list dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spec-list dt .ico { width: 18px; height: 18px; color: var(--gold); }
.spec-list dd { font-weight: 700; color: var(--ink); text-align: right; }
.seg-info__actions { margin-top: auto; display: grid; gap: 10px; }
@media (max-width: 1040px) { .plan-wrap { grid-template-columns: 1fr; } }

.units { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.units__row { position: relative; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) 1.1fr 48px; align-items: center; gap: 16px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background-color .35s; }
.units__row--head { padding-top: 16px; padding-bottom: 16px; font: 700 .64rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.units__row:not(.units__row--head):hover { background: rgba(255, 255, 255, .5); }
.units__name { font: 500 1.7rem/1 var(--serif); color: var(--ink); }
.units__name a::after { content: ""; position: absolute; inset: 0; }
.units__cell { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.units__cell small { display: none; }
.units__price { font: 500 1.35rem/1 var(--serif); color: var(--gold-ink); white-space: nowrap; }
.units__price i { display: block; margin-top: 5px; font: 500 .74rem/1.2 var(--sans); font-style: normal; color: var(--muted); }
.units__go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--navy); transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.units__row:hover .units__go { background: var(--navy); color: var(--light); border-color: var(--navy); transform: translateX(4px); }
.units__go .ico { width: 18px; height: 18px; }
@media (max-width: 900px) {
    .units__row--head { display: none; }
    .units__row { grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 22px 4px; }
    .units__name { grid-column: 1 / 2; }
    .units__status { grid-column: 2 / 3; justify-self: end; }
    .units__cell small { display: block; font: 600 .62rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
    .units__go { display: none; }
}

/* =====================================================================
   03 — GALERIA
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(90px, 9vw, 130px); gap: clamp(10px, 1.4vw, 18px); }
.g-item { position: relative; overflow: hidden; border-radius: var(--r-sm); background: var(--sand); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g-item:hover img { transform: scale(1.045); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 40px 18px 16px; font-size: .82rem; font-weight: 600; color: #fbf6ee; background: linear-gradient(0deg, rgba(10, 18, 31, .7), rgba(10, 18, 31, 0)); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.g-item figcaption .ico { width: 18px; height: 18px; }
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
.g-a { grid-column: 1 / 9; grid-row: span 4; }
.g-b { grid-column: 9 / 13; grid-row: span 5; }
.g-c { grid-column: 1 / 5; grid-row: span 3; }
.g-d { grid-column: 5 / 9; grid-row: span 3; }
.g-e { grid-column: 9 / 13; grid-row: span 2; }
.g-f { grid-column: 1 / 13; grid-row: span 4; }
@media (max-width: 800px) {
    .gallery { grid-auto-rows: 64px; }
    .g-a { grid-column: 1 / -1; grid-row: span 4; }
    .g-b { grid-column: 1 / 7; grid-row: span 5; }
    .g-c { grid-column: 7 / 13; grid-row: span 3; }
    .g-d { grid-column: 7 / 13; grid-row: span 2; }
    .g-e { grid-column: 1 / -1; grid-row: span 3; }
    .g-f { grid-column: 1 / -1; grid-row: span 4; }
    .g-item figcaption { opacity: 1; transform: none; padding: 30px 12px 10px; font-size: .72rem; }
}
.disclaimer { margin-top: 18px; font-size: .76rem; color: var(--muted); }

/* ---------- pas zdjęcia z cytatem ---------- */
.quote-band { position: relative; isolation: isolate; min-height: clamp(460px, 76vh, 760px); display: grid; place-items: center; text-align: center; color: var(--light); overflow: hidden; background: var(--night); }
.quote-band__img { position: absolute; inset: -12% 0; z-index: -2; }
.quote-band__img img { width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(10, 18, 31, .45), rgba(10, 18, 31, 0) 100%), linear-gradient(0deg, rgba(10, 18, 31, .85), rgba(10, 18, 31, .58) 50%, rgba(10, 18, 31, .72)); }
.quote-band blockquote { max-width: 26ch; font: 400 clamp(2rem, 4.2vw, 3.8rem)/1.12 var(--serif); color: #fbf6ee; letter-spacing: -.01em; }
.quote-band blockquote::before { content: "“"; display: block; height: .55em; font-size: 2.4em; line-height: 1; color: var(--gold-2); }
.quote-band cite { display: block; margin-top: 26px; font: 700 .68rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; font-style: normal; color: var(--gold-2); }
@supports (animation-timeline: view()) {
    .parallax img { animation: pgh-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes pgh-parallax { from { transform: translateY(-7%); } to { transform: translateY(7%); } }
}

/* =====================================================================
   04 — STANDARD (sekcja nocna)
   ===================================================================== */
.standard { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); }
.standard__head { display: grid; gap: 24px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); }
.standard__img { margin-top: 18px; overflow: hidden; border-radius: var(--r-sm); }
.standard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-list { border-top: 1px solid var(--line-light-2); }
.feature-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 26px; padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.feature-row__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; border: 1px solid var(--line-light-2); color: var(--gold-2); }
.feature-row__icon .ico { width: 22px; height: 22px; }
.feature-row h3 { font: 500 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--serif); color: #fbf6ee; margin-bottom: 10px; }
.feature-row p { color: rgba(244, 238, 228, .7); }
.env { margin-top: clamp(60px, 8vw, 110px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line-light-2); }
.env h3 { font: 500 clamp(1.8rem, 2.6vw, 2.4rem)/1.1 var(--serif); color: #fbf6ee; margin-bottom: 30px; }
.env ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.env li { display: grid; gap: 16px; align-content: start; padding: 24px 20px; border-radius: var(--r-sm); background: rgba(244, 238, 228, .04); border: 1px solid var(--line-light); font-size: .92rem; line-height: 1.55; color: rgba(244, 238, 228, .82); transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.env li:hover { border-color: rgba(215, 183, 123, .45); background: rgba(244, 238, 228, .07); transform: translateY(-4px); }
.env li .ico { width: 26px; height: 26px; color: var(--gold-2); }
@media (max-width: 1100px) { .env ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
    .standard { grid-template-columns: 1fr; }
    .standard__head { position: static; }
}
@media (max-width: 620px) {
    .env ul { grid-template-columns: 1fr 1fr; }
    .feature-row { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 26px 0; }
    .feature-row__icon { width: 42px; height: 42px; margin-top: 0; }
    .feature-row__icon .ico { width: 18px; height: 18px; }
}

/* =====================================================================
   05 — LOKALIZACJA
   ===================================================================== */
.location { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.location__text { display: grid; gap: 24px; }
.info-list { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ico-box { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); border: 1px solid var(--line-2); }
.info-list .ico-box .ico { width: 18px; height: 18px; }
.info-list b { display: block; font: 700 .64rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-list span, .info-list a { font-weight: 600; color: var(--ink); }
.info-list a:hover { color: var(--gold-ink); }
.map-frame { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--r); background: var(--sand); box-shadow: var(--shadow-lg); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-frame__tag { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm); font-size: .8rem; font-weight: 700; color: var(--navy); background: var(--paper); box-shadow: var(--shadow-sm); pointer-events: none; }
.map-frame__tag .ico { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 960px) { .location { grid-template-columns: 1fr; } .map-frame { min-height: 380px; } }

/* =====================================================================
   06 — FINANSOWANIE (kalkulator)
   ===================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); overflow: hidden; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.calc__form { padding: clamp(26px, 3.6vw, 52px); display: grid; gap: 22px; align-content: start; }
.calc__picks { display: flex; flex-wrap: wrap; gap: 8px; }
.calc__picks-label { width: 100%; margin-bottom: 4px; font: 700 .64rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.chip { padding: .62rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .84rem/1.2 var(--sans); color: var(--navy); background: transparent; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover, .chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--light); }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc__grid label { min-height: 2.6em; display: flex; align-items: flex-end; }
.field label, .field .label { display: block; margin-bottom: 9px; font: 700 .64rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field small { display: block; margin-top: 7px; font-size: .78rem; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap .suffix { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-weight: 700; font-size: .85rem; color: var(--muted); pointer-events: none; }
.input {
    width: 100%; min-height: 56px; padding: 14px 16px;
    border-radius: var(--r-xs); border: 1px solid var(--line-2); background: #fff;
    font: 600 1.02rem/1.3 var(--sans); color: var(--ink);
    transition: border-color .3s, box-shadow .3s, background-color .3s;
    -webkit-appearance: none; appearance: none;
}
.input-wrap .input { padding-right: 54px; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(26, 46, 76, .09); }
textarea.input { min-height: 132px; resize: vertical; font-weight: 500; line-height: 1.6; }
.input::placeholder { color: #a3a8b1; font-weight: 500; }
.calc__result { position: relative; padding: clamp(26px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; color: rgba(244, 238, 228, .76); background: var(--night); }
.calc__result::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 100% 0%, rgba(215, 183, 123, .2), rgba(215, 183, 123, 0) 70%); }
.calc__result > * { position: relative; }
.calc__result h3 { font: 700 .66rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.calc__value { font: 500 clamp(3rem, 5.4vw, 4.6rem)/1 var(--serif); color: #fbf6ee; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.calc__rows { display: grid; margin: 10px 0 8px; border-top: 1px solid var(--line-light); }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: .93rem; }
.calc__rows dd { font-weight: 700; color: #fbf6ee; font-variant-numeric: tabular-nums; }
.calc__note { font-size: .78rem; line-height: 1.55; color: rgba(244, 238, 228, .5); }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .calc__grid { grid-template-columns: 1fr; } .calc__grid label { min-height: 0; } }

/* =====================================================================
   07 — FAQ
   ===================================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-wrap__head { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 12px; padding: 26px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { font: 500 clamp(1.3rem, 1.8vw, 1.6rem)/1.25 var(--serif); color: var(--ink); transition: color .3s; }
.faq summary:hover b { color: var(--gold-ink); }
.faq__plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .4s, border-color .4s, transform .6s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--navy); translate: -50% -50%; transition: transform .5s var(--ease), background-color .4s; }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq details[open] .faq__plus::before, .faq details[open] .faq__plus::after { background: var(--light); }
.faq details[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 52px 28px 0; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap__head { position: static; } }
@media (max-width: 560px) { .faq summary { grid-template-columns: minmax(0, 1fr) 36px; } .faq__a { padding: 0 0 24px; } }

/* =====================================================================
   08 — KONTAKT (pełne zdjęcie + formularz)
   ===================================================================== */
.contact { position: relative; isolation: isolate; padding: var(--section) 0; color: rgba(244, 238, 228, .78); background: var(--night); overflow: hidden; }
.contact__img { position: absolute; inset: -10% 0; z-index: -2; }
.contact__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 18, 31, .93) 0%, rgba(10, 18, 31, .82) 45%, rgba(10, 18, 31, .55) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__text { display: grid; gap: 24px; }
.contact-lines { display: grid; margin-top: 8px; border-top: 1px solid var(--line-light); }
.contact-lines li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.contact-lines .ico-box { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-2); border: 1px solid var(--line-light-2); }
.contact-lines .ico-box .ico { width: 18px; height: 18px; }
.contact-lines b { display: block; font: 700 .62rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(244, 238, 228, .55); margin-bottom: 4px; }
.contact-lines a, .contact-lines span { font-weight: 600; color: #fbf6ee; }
.contact-lines a:hover { color: var(--gold-2); }
.contact__company { font-size: .78rem; line-height: 1.7; color: rgba(244, 238, 228, .45); }
.form-card { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r); color: var(--text); background: var(--paper); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .7); }
.form-card h3 { font: 500 clamp(1.8rem, 2.6vw, 2.3rem)/1.1 var(--serif); color: var(--ink); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .94rem; margin-bottom: 24px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.topic { border: 0; }
.topic legend { margin-bottom: 10px; font: 700 .64rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.topic__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.topic__opts label { position: relative; cursor: pointer; }
.topic__opts input { position: absolute; opacity: 0; pointer-events: none; }
.topic__opts span { display: inline-block; padding: .6rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .82rem/1.2 var(--sans); color: var(--navy); transition: background-color .3s, color .3s, border-color .3s; }
.topic__opts input:checked + span { background: var(--navy); color: var(--light); border-color: var(--navy); }
.topic__opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.consent label { cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); cursor: pointer; }
.consent button { padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; border-radius: var(--r-xs); font-size: .9rem; font-weight: 600; color: #8f2d1f; background: #fbe7e2; }
.form__note { font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* =====================================================================
   STOPKA
   ===================================================================== */
.site-footer { position: relative; color: rgba(244, 238, 228, .62); background: var(--night); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(215, 183, 123, .55), transparent); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; padding: clamp(70px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-light); }
.footer-top p { font: 400 clamp(2rem, 4vw, 3.6rem)/1.08 var(--serif); color: #fbf6ee; letter-spacing: -.01em; max-width: 18ch; }
.footer-top p em { color: var(--gold-2); }
.footer-top__cta { display: grid; gap: 12px; justify-items: end; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding: clamp(48px, 6vw, 72px) 0; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-title { font: 700 .64rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer a:not(.btn), .site-footer .link-btn { font-size: .93rem; color: rgba(244, 238, 228, .74); transition: color .25s; }
.site-footer a:not(.btn):hover, .site-footer .link-btn:hover { color: #fff; }
.site-footer address { font-style: normal; display: grid; gap: 9px; font-size: .93rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); font-size: .8rem; }
.footer-links { display: flex !important; flex-wrap: wrap; gap: 8px 22px !important; }
.footer-links .link-btn, .footer-links a:not(.btn) { font-size: .8rem; }
.footer-legal { width: 100%; order: 3; font-size: .74rem; color: rgba(244, 238, 228, .62); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-top { grid-template-columns: 1fr; } .footer-top__cta { justify-items: start; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* =====================================================================
   OKNA DIALOGOWE + LIGHTBOX
   ===================================================================== */
.modal { margin: auto; padding: 0; border: 0; background: transparent; width: min(560px, 100% - 28px); max-width: none; max-height: calc(100dvh - 28px); overflow: visible; color: var(--text); }
.modal::backdrop { background: rgba(10, 18, 31, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pgh-modal .55s var(--ease); }
@keyframes pgh-modal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__box { position: relative; max-height: calc(100dvh - 28px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 4vw, 48px); border-radius: var(--r); background: var(--paper); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .6); }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.modal__title { font: 500 clamp(2rem, 3.4vw, 2.7rem)/1.05 var(--serif); color: var(--ink); margin: 14px 0 22px; padding-right: 44px; }
.modal--wide { width: min(940px, 100% - 28px); }
.modal--doc { width: min(820px, 100% - 28px); }
.modal--dark .modal__box { background: var(--night-2); color: #e7e2da; }
.modal--dark .modal__title { color: #fff; }
.modal--dark .modal__close { color: #fff; border-color: var(--line-light-2); }
.modal--dark .field label { color: rgba(244, 238, 228, .6); }
.modal--dark .input { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #fff; }
.modal--dark .input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(215, 183, 123, .15); }
.modal--center { text-align: center; }
.modal--center p { margin-bottom: 26px; color: var(--muted); }
.contact-modal { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); }
.contact-modal .contact-lines { border-top-color: var(--line); }
.contact-modal .contact-lines li { border-bottom-color: var(--line); }
.contact-modal .contact-lines .ico-box { color: var(--gold-ink); border-color: var(--line-2); }
.contact-modal .contact-lines b { color: var(--muted); }
.contact-modal .contact-lines a, .contact-modal .contact-lines span { color: var(--ink); }
.contact-modal__company { margin-top: 18px; font-size: .78rem; color: var(--muted); }
@media (max-width: 800px) { .contact-modal { grid-template-columns: 1fr; } }
.success-seal { width: 84px; height: 84px; margin: 6px auto 4px; border-radius: 50%; display: grid; place-items: center; color: var(--light); background: var(--navy); box-shadow: 0 0 0 10px rgba(26, 46, 76, .08); }
.success-seal .ico { width: 36px; height: 36px; stroke-width: 2; }

.doc h3 { font: 700 1rem/1.4 var(--sans); color: var(--ink); margin: 26px 0 10px; }
.doc p, .doc li { font-size: .95rem; line-height: 1.75; color: var(--text); margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.doc .doc-date { display: block; margin: -8px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .92rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--ivory); }

.lightbox { margin: 0; padding: 0; border: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; overflow: hidden; color: var(--light); }
.lightbox::backdrop { background: rgba(8, 13, 22, .94); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: pgh-fade .35s ease; }
@keyframes pgh-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 64px clamp(12px, 6vw, 96px) 12px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-xs); background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); transition: opacity .35s; }
.lightbox__stage img.is-loading { opacity: .35; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px clamp(16px, 4vw, 40px) calc(18px + env(safe-area-inset-bottom)); font-size: .86rem; color: rgba(244, 238, 228, .72); }
.lightbox__count { font: 700 .7rem/1 var(--sans); letter-spacing: .2em; color: #fff; font-variant-numeric: tabular-nums; }
.lightbox .modal__close { position: fixed; top: 14px; right: 14px; color: #fff; border-color: rgba(255, 255, 255, .25); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .25); background: rgba(8, 13, 22, .4); transition: background-color .3s, color .3s; }
.lightbox__nav:hover { background: var(--light); color: var(--navy); }
.lightbox__nav--prev { left: clamp(8px, 2vw, 24px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 24px); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 640px) { .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: 70px; translate: none; } }

/* =====================================================================
   PODSTRONY — nagłówek, okruszki
   ===================================================================== */
.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.page-hero__inner { display: grid; gap: 26px; }
.page-hero--center .page-hero__inner { justify-items: center; text-align: center; }
.page-hero .lead { max-width: 58ch; }
.page-hero__quote { font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.3 var(--serif); color: var(--gold-ink); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font: 700 .64rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current] { color: var(--ink); }
.on-dark .breadcrumbs ol { color: rgba(244, 238, 228, .55); }
.on-dark .breadcrumbs [aria-current] { color: #fff; }

/* ---------- O nas ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-hero .lead { max-width: 46ch; }
.about-hero__img { overflow: hidden; border-radius: 999px 999px var(--r-sm) var(--r-sm); box-shadow: var(--shadow-lg); }
.about-hero__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__img { max-width: 460px; } }
.prose-lg { font: 400 clamp(1.45rem, 2.3vw, 2rem)/1.42 var(--serif); color: var(--ink); }
.prose-lg p + p { margin-top: 1.1em; }
.prose-lg strong { font-weight: 500; color: var(--navy); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.team-item { padding: 36px clamp(18px, 2.6vw, 36px) 40px 0; }
.team-item + .team-item { padding-left: clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.team-item__icon { width: 58px; height: 58px; margin: 0 0 22px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-ink); border: 1px solid var(--line-2); }
.team-item__icon .ico { width: 24px; height: 24px; }
.team-item h3 { font: 500 clamp(1.7rem, 2.4vw, 2.1rem)/1.1 var(--serif); color: var(--ink); margin-bottom: 12px; }
.team-item p { color: var(--muted); }
@media (max-width: 900px) {
    .team { grid-template-columns: 1fr; }
    .team-item, .team-item + .team-item { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split__media { overflow: hidden; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__body { display: grid; gap: 24px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--night); background: var(--gold-2); stroke-width: 2.4; margin-top: 2px; }
.on-dark .check-list li { color: rgba(244, 238, 228, .86); }
.split blockquote { padding-left: 22px; border-left: 1px solid var(--gold-2); font: italic 400 clamp(1.3rem, 1.9vw, 1.6rem)/1.45 var(--serif); color: #fbf6ee; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }
.mission { max-width: 980px; margin: 0 auto; text-align: center; display: grid; gap: 26px; justify-items: center; }
.mission p { font: italic 400 clamp(1.7rem, 3.2vw, 2.9rem)/1.3 var(--serif); color: var(--ink); }

/* ---------- pas CTA ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(32px, 4.6vw, 64px); border-radius: var(--r); color: rgba(244, 238, 228, .76); background: var(--night); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 100% 0%, rgba(215, 183, 123, .22), rgba(215, 183, 123, 0) 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font: 500 clamp(2rem, 3.4vw, 3rem)/1.05 var(--serif); color: #fbf6ee; }
.cta-band h2 em { color: var(--gold-2); }
.cta-band p { margin-top: 12px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Aktualności ---------- */
.news-list { position: relative; display: grid; gap: clamp(32px, 4vw, 56px); max-width: 1080px; margin: 0 auto; }
.news-card { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); padding-top: 32px; border-top: 1px solid var(--line-2); }
.news-card__date { display: grid; gap: 6px; align-content: start; }
.news-card__date b { font: 500 3.2rem/1 var(--serif); color: var(--ink); }
.news-card__date span { font: 700 .66rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.news-title { font: 500 clamp(1.9rem, 3vw, 2.7rem)/1.08 var(--serif); color: var(--ink); margin-bottom: 22px; }
.news-body { display: flex; gap: clamp(20px, 3vw, 36px); }
.news-media { overflow: hidden; border-radius: var(--r-sm); background: var(--sand); box-shadow: var(--shadow); }
.news-media img, .news-media video { width: 100%; height: auto; }
.news-media video { display: block; max-height: 80vh; background: #000; }
.news-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.news-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news-media img { cursor: zoom-in; transition: transform 1s var(--ease); }
.news-media:hover img { transform: scale(1.025); }
.news-content { font-size: 1.04rem; line-height: 1.8; min-width: 0; }
.news-content p { margin-bottom: 14px; }
.news-content ul, .news-content ol { margin: 0 0 14px 20px; list-style: disc; }
.news-content ol { list-style: decimal; }
.news-content h2, .news-content h3 { font: 600 1.15rem/1.4 var(--sans); color: var(--ink); margin: 22px 0 10px; }
.news-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.news-content blockquote { margin: 18px 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--gold); font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); }
.news-content img { border-radius: var(--r-xs); margin: 10px 0; }
.layout-top .news-body { flex-direction: column; }
.layout-bottom .news-body { flex-direction: column-reverse; }
.layout-left .news-body { flex-direction: row; align-items: flex-start; }
.layout-right .news-body { flex-direction: row-reverse; align-items: flex-start; }
.layout-left .news-media, .layout-right .news-media { flex: 1; max-width: 48%; }
.layout-left .news-content, .layout-right .news-content { flex: 1.1; }
.empty-state { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); background: rgba(252, 250, 246, .7); }
.empty-state .ico { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--gold); }
.empty-state p { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.4 var(--serif); color: var(--ink); }
@media (max-width: 900px) {
    .news-card { grid-template-columns: 1fr; gap: 14px; }
    .news-card__date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
    .news-card__date b { font-size: 2.2rem; }
    .news-body { flex-direction: column !important; }
    .layout-left .news-media, .layout-right .news-media { max-width: 100%; }
}

/* =====================================================================
   PODSTRONA DOMU
   ===================================================================== */
.house-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.house-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.house-hero__text { display: grid; gap: 24px; justify-items: start; }
.house-hero__title { font-size: clamp(3.6rem, 8.4vw, 8rem); line-height: .9; }
.house-hero__subtitle { font: italic 400 clamp(1.3rem, 2vw, 1.75rem)/1.35 var(--serif); color: var(--muted); max-width: 30ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--line-2); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 700 .62rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 6px; font: 500 1.55rem/1.1 var(--serif); color: var(--ink); }
.facts dd.is-gold { color: var(--gold-ink); }
.facts dd small { display: block; margin-top: 5px; font: 500 .78rem/1.2 var(--sans); color: var(--muted); }
.house-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.house-hero__plan { position: relative; }
.house-hero__plan .plan { box-shadow: var(--shadow-lg); }
.house-hero__switch { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.house-hero__switch a { padding: .65rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s, border-color .3s; }
.house-hero__switch a:hover { color: var(--navy); border-color: var(--navy); }
.house-hero__switch a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--light); }
@media (max-width: 1000px) { .house-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .house-hero__switch a { padding: .6rem .7rem; font-size: .64rem; letter-spacing: .08em; } }

.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: rgba(26, 46, 76, .06); }
.tabs__list button { padding: .8rem 1.2rem; border-radius: var(--r-xs); font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.tabs__list button small { margin-left: 6px; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .75; }
.tabs__list button:hover { color: var(--navy); }
.tabs__list button[aria-selected="true"] { background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm); }
.tab-panel { animation: pgh-fade-up .6s var(--ease); }
.tab-panel[hidden] { display: none; }
.floor { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.floor__plan { position: relative; padding: clamp(14px, 2.4vw, 32px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.floor__plan img { margin: 0 auto; max-height: 78vh; width: auto; cursor: zoom-in; }
.floor__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--navy); background: var(--ivory); pointer-events: none; }
.floor__zoom .ico { width: 15px; height: 15px; }
.rooms { width: 100%; border-collapse: collapse; }
.rooms caption { text-align: left; padding-bottom: 18px; font: 500 clamp(2rem, 3vw, 2.6rem)/1 var(--serif); color: var(--ink); }
.rooms caption span { display: block; margin-top: 10px; font: 700 .64rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.rooms td { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.rooms tr:first-child td { border-top: 1px solid var(--line-2); }
.rooms td:first-child { color: var(--text); }
.rooms td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rooms tfoot td { border-bottom: 0; padding-top: 18px; font-weight: 700; color: var(--ink); }
.rooms tfoot td::before { display: none; }
.card-sheet { margin-top: clamp(28px, 4vw, 48px); padding: clamp(10px, 1.6vw, 18px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-sheet img { width: 100%; cursor: zoom-in; border-radius: var(--r-xs); }
@media (max-width: 960px) { .floor { grid-template-columns: 1fr; } .floor__plan img { max-height: none; width: 100%; } }

.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.spec { display: grid; gap: 10px; align-content: start; padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.spec:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.spec .ico { width: 26px; height: 26px; color: var(--gold); }
.spec span { font: 700 .64rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.spec strong { font: 500 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--serif); color: var(--ink); }
.note { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 32px; padding: 26px 28px; border-radius: var(--r); background: var(--paper); border: 1px solid rgba(180, 138, 78, .35); }
.note .ico { width: 52px; height: 52px; padding: 13px; border-radius: 50%; color: var(--night); background: var(--gold-2); }
.note strong { display: block; font: 500 1.5rem/1.2 var(--serif); color: var(--ink); margin-bottom: 4px; }
@media (max-width: 860px) {
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .spec, .spec:not(:nth-child(3n + 1)) { padding: 22px 16px 22px 0; border-left: 0; }
    .spec:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

.strip { display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--stone) transparent; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 6px; }
.strip .g-item { flex: 0 0 auto; height: clamp(260px, 36vw, 460px); scroll-snap-align: start; }
.strip .g-item img { width: auto; height: 100%; }
.strip-wrap { overflow: hidden; }

.house-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.house-card { position: relative; display: grid; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.house-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.house-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.house-card__num { font: 700 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.house-card .seg-map { width: 100%; max-width: 260px; margin: 6px 0 2px; }
.house-card__title { font: 500 2.2rem/1 var(--serif); color: var(--ink); }
.house-card__title a::after { content: ""; position: absolute; inset: 0; }
.house-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.house-card__meta b { color: var(--ink); }
.house-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.house-card__foot strong { font: 500 1.45rem/1 var(--serif); color: var(--gold-ink); }
.house-card__foot strong small { display: block; margin-top: 5px; font: 500 .74rem/1.2 var(--sans); color: var(--muted); }
.house-card__foot .units__go { width: 40px; height: 40px; }
.house-card:hover .units__go { background: var(--navy); color: var(--light); border-color: var(--navy); }
@media (max-width: 960px) { .house-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .house-cards { grid-template-columns: 1fr; } }

.seg-map .seg path { fill: rgba(26, 46, 76, .05); stroke: rgba(26, 46, 76, .35); stroke-width: 1.2; stroke-linejoin: round; }
.seg-map .seg rect { fill: rgba(26, 46, 76, .14); }
.seg-map .seg.is-on path { fill: var(--navy); stroke: var(--navy); }
.seg-map .seg.is-on rect { fill: var(--gold-2); }

.floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; gap: 10px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.floating-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.floating-cta .btn { box-shadow: 0 24px 44px -18px rgba(10, 18, 31, .8); }
.floating-cta .btn--call { display: none; }
@media (max-width: 760px) {
    .floating-cta { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
    .floating-cta .btn { flex: 1; }
    .floating-cta .btn--call { display: inline-flex; flex: 0 0 56px; padding: 0; }
    .page-dom .site-footer { padding-bottom: 80px; }
}

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: clamp(56px, 8vw, 120px) 0; }
.error-page__code { font: italic 400 clamp(6rem, 18vw, 12rem)/1 var(--serif); color: var(--gold); opacity: .55; }
.error-page h1 { margin: 6px 0 14px; }
.error-page p { color: var(--muted); max-width: 48ch; margin: 0 auto 30px; }
.error-page .hero__actions { justify-content: center; margin-top: 0; }

/* =====================================================================
   DOSTĘPNOŚĆ — ograniczenie ruchu
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
    .js .reveal-img > img, .js .reveal-img > iframe { clip-path: none; transform: none; }
    .hero__slide img { transform: none; }
    .split-w > span { transform: none; }
    .site-bg::before { animation: none; }
}

/* =====================================================================
   WYDRUK — karta domu
   ===================================================================== */
@media print {
    @page { size: A4 portrait; margin: 1cm; }
    html, body { background: #fff !important; color: #000 !important; }
    * { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .site-bg, .site-header, .menu-panel, .site-footer, .floating-cta, .house-hero__actions, .house-hero__switch, .tabs__list, .floor__zoom, .print-hide, .skip-link, .badge, dialog { display: none !important; }
    body:not(.has-hero) main { padding-top: 0 !important; }
    .js .reveal, .js .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .js .reveal-img > img, .js .reveal-img > iframe { transform: none !important; clip-path: none !important; }
    .split-w > span { transform: none !important; }
    .container { width: 100% !important; }
    .section, .section--tight, .house-hero { padding: 8px 0 !important; }
    .house-hero__grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
    .house-hero__title { font-size: 34pt !important; }
    .tab-panel[hidden] { display: block !important; }
    .floor { grid-template-columns: 1fr 1fr !important; gap: 14px !important; break-inside: avoid; margin-top: 10px !important; }
    .floor__plan { padding: 6px !important; border: 1px solid #ccc !important; }
    .floor__plan img { max-height: 9cm !important; }
    .card-sheet { break-before: page; border: 0 !important; padding: 0 !important; }
    .spec-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .spec { padding: 8px !important; }
    a[href^="http"]::after { content: ""; }
}

/* ---------- plan: znaczniki segmentów (skalowane na małych ekranach) ---------- */
.plan__pin { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease); }
.plan__seg:hover .plan__pin, .plan__seg.is-active .plan__pin { transform: scale(1.18); }
@media (max-width: 1040px) { .plan__pin { transform: scale(1.35); } .plan__seg:hover .plan__pin, .plan__seg.is-active .plan__pin { transform: scale(1.55); } }
@media (max-width: 640px) {
    .plan__pin { transform: scale(2); }
    .plan__seg:hover .plan__pin, .plan__seg.is-active .plan__pin { transform: scale(2.25); }
    .plan__legend { left: 10px; bottom: 10px; padding: 8px 11px; font-size: .7rem; }
    .plan__note { display: none; }
}

/* ---------- panel segmentów: krótkie etykiety i zawijanie na telefonie ---------- */
.seg-info__top { flex-wrap: wrap; row-gap: 8px; }
.seg-info__top .badge { white-space: nowrap; }
@media (max-width: 520px) {
    .seg-panel__tabs .lbl { display: none; }
    .seg-panel__tabs button { font-size: .9rem; padding: 11px 0; }
    .seg-info__top .kicker { letter-spacing: .16em; }
}
.footer-top p { max-width: 22ch; }
@media (max-width: 900px) {
    .units__status { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
    .units__status .badge { white-space: nowrap; letter-spacing: .08em; }
}
@media (max-width: 380px) { .units__status .badge { font-size: .56rem; padding: .3rem .55rem; } }
@media (max-width: 620px) {
    .env ul { grid-template-columns: 1fr; gap: 10px; }
    .env li { grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 16px; padding: 18px; }
}

/* =====================================================================
   v3 — poprawki po przeglądzie wizualnym (telefon / tablet / komputer, PL i RU)
   ===================================================================== */
/* cyfry Cormorant „prostokątne”: „11” nie wygląda jak „II”; skrót font: kasuje to ustawienie, stąd !important */
*, *::before, *::after { font-feature-settings: "lnum" 1 !important; }
.split-nb { white-space: nowrap; }
blockquote, .statement, .lead { text-wrap: pretty; }
.hero .kicker { text-shadow: 0 1px 14px rgba(10, 18, 31, .6); }

/* przyciski w hero (długie etykiety RU) — zawijanie zamiast ucinania */
@media (max-width: 480px) {
    .hero__actions .btn { white-space: normal; line-height: 1.25; text-align: center; padding: .55rem .7rem; }
}
/* kalkulator: kolumna nie może być szersza niż karta */
.calc__result .btn { white-space: normal; text-align: center; }
.calc__result h3 { overflow-wrap: anywhere; }
/* podstrona domu */
.house-hero__actions .btn { white-space: normal; text-align: center; }
.spec strong small { display: block; margin-top: 6px; font: 500 .78rem/1.3 var(--sans); color: var(--muted); }
@media (max-width: 520px) {
    .house-hero__switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .house-hero__switch a { text-align: center; white-space: nowrap; }
    .tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .tabs__list button { padding: .75rem .35rem; letter-spacing: .08em; line-height: 1.2; }
    .tabs__list button small { display: block; margin: 5px 0 0; }
}
/* galeria przewijana (podstrona domu) — pierwsze zdjęcie bez ucięcia, kolejne „wystaje” */
.strip { scroll-padding-inline: var(--gutter); }
@media (max-width: 640px) {
    .strip .g-item { flex: 0 0 84%; height: auto; aspect-ratio: 4 / 3; }
    .strip .g-item img { width: 100%; height: 100%; object-fit: cover; }
}
/* aktualności na telefonie: media zawsze na całą szerokość (film YouTube miał 0 px) */
@media (max-width: 900px) {
    .news-body { align-items: stretch !important; }
    .news-media, .layout-left .news-media, .layout-right .news-media { flex: none; width: 100%; max-width: 100%; }
}
/* tabela segmentów: cena za m² nie przesuwa ceny w pionie */
@media (min-width: 901px) {
    .units__price { position: relative; }
    .units__price i { position: absolute; left: 0; top: calc(100% + 5px); white-space: nowrap; }
}
/* sprzedane / zarezerwowane segmenty */
.units__row.is-sold, .house-card.is-sold { opacity: .62; }
.units__row.is-sold .units__price, .house-card.is-sold .house-card__foot strong { text-decoration: line-through; text-decoration-thickness: 1px; }
/* pasek z przyciskami na dole podstrony domu (telefon) — pełne tło */
@media (max-width: 760px) {
    .floating-cta { left: 0; right: 0; bottom: 0; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 241, 232, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -10px 30px rgba(10, 18, 31, .08); }
    .floating-cta .btn { box-shadow: none; }
}
/* pasek CTA (o nas, aktualności, dom) — równe przyciski na telefonie */
@media (max-width: 560px) {
    .cta-band__actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
    .cta-band__actions .btn { width: 100%; white-space: normal; text-align: center; }
}
/* nagłówek na telefonie — większe pola dotyku (min. ~44 px) */
@media (max-width: 1199px) {
    .lang-switch--bar a { padding: 13px 5px; }
    .header-call-mobile { width: 44px; height: 44px; }
    .menu-btn { min-width: 44px; min-height: 44px; justify-content: flex-end; }
}
@media (max-width: 380px) {
    .header-call-mobile { width: 42px; height: 42px; }
    .lang-switch--bar a { padding: 13px 4px; }
}

/* ---------- Z placu budowy: film z drona na stronie głównej ---------- */
.build-update__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.build-update__text { display: grid; gap: 22px; justify-items: start; }
.build-update__date { display: inline-flex; align-items: center; gap: 8px; font: 700 .66rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.build-update__date .ico { width: 16px; height: 16px; }
.build-update__video { position: relative; overflow: hidden; border-radius: var(--r); background: var(--night); box-shadow: var(--shadow-lg); aspect-ratio: 848 / 480; }
.build-update__video video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--night); }
.build-update__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fbf6ee; background: linear-gradient(0deg, rgba(10, 18, 31, .55), rgba(10, 18, 31, .05) 60%); cursor: pointer; transition: background-color .4s; }
.build-update__play span { display: grid; place-items: center; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px); border-radius: 50%; color: var(--navy); background: rgba(251, 246, 238, .94); box-shadow: 0 18px 40px -12px rgba(10, 18, 31, .6); transition: transform .5s var(--ease), background-color .3s; }
.build-update__play span .ico { width: 34%; height: 34%; margin-left: 6%; }
.build-update__play b { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(10, 18, 31, .6); }
.build-update__play small { position: absolute; right: 16px; bottom: 14px; padding: 4px 9px; border-radius: 999px; font: 700 .72rem/1.2 var(--sans); color: #fbf6ee; background: rgba(10, 18, 31, .62); }
.build-update__play:hover span, .build-update__play:focus-visible span { transform: scale(1.08); background: #fff; }
@media (max-width: 900px) { .build-update__grid { grid-template-columns: minmax(0, 1fr); } .build-update__video { order: -1; } }
