/* Chlebowo Senior Resort: landing page na identyfikacji z prezentacji.
   Kwadratowe krawędzie, płaskie plamy koloru, zdjęcia bez filtrów. Familjen Grotesk w nagłówkach, Atkinson Hyperlegible w tekście. */
/* czcionki z naszego serwera (licencja OFL, pliki w fonts/) */
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(fonts/atkinson-latin.woff2?v=04327e57) 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; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(fonts/atkinson-latin-ext.woff2?v=6a55cfc0) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 400 500; font-style: normal; font-display: swap; src: url(fonts/familjen-latin.woff2?v=629b9ced) 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; }
@font-face { font-family: 'Familjen Grotesk'; font-weight: 400 500; font-style: normal; font-display: swap; src: url(fonts/familjen-latin-ext.woff2?v=1ff3242e) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }
:root {
  --paper: #EEF1EC; --white: #F8FAF6; --green: #12302B; --green-2: #1D433C; --mint: #DCE5E1; --mint-2: #BFD3CF; --sand: #E2A956; --sky: #DDE2E5;
  --ink: #12302B; --muted: #455B55; --line: #B9C6C0; --field: #6C7F78; --err: #A12B1C; --focus: #B86E00;
  --display: 'Familjen Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1360px; --gut: 40px; --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.55 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.022em; text-wrap: balance; }
h1, h2, h3 { overflow-wrap: anywhere; }
h2 { font-size: clamp(min(2.1rem, 11vw), 3.7vw, 3.5rem); line-height: 1.06; }
a { color: inherit; text-underline-offset: 4px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); width: 100%; }
.lead { font-size: 1.28rem; line-height: 1.5; margin-top: 20px; max-width: 36em; text-wrap: pretty; }
.sec { padding: clamp(72px, 9vw, 136px) 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--white); padding: 12px 18px; z-index: 40; }
.skip:focus { left: 16px; }
[hidden] { display: none !important; }
@media (max-width: 720px) { :root { --gut: 20px; } body { font-size: 1.125rem; } .lead { font-size: 1.2rem; } }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; font: 500 1.0625rem/1 var(--body); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s, transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green); }
.btn-line { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
@media (hover: hover) { .btn-dark:hover { background: var(--sand); color: var(--green); } .btn-light:hover { background: var(--sand); } .btn-line:hover { background: var(--green); color: var(--white); } }
.linkish { background: none; border: 0; padding: 6px 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* nagłówek: przezroczysty nad niebem, jednolity po przewinięciu */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .25s; }
/* znacznik początku strony: gdy znika, nagłówek dostaje tło */
.top-mark { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
.top.solid { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .25s var(--ease); }
.top.solid .top-in { height: 72px; }
.logo { margin-right: auto; padding: 8px 0; }
.logo img { width: 216px; height: auto; }
.menu { display: flex; gap: 26px; }
.menu a { font-size: 1.0625rem; text-decoration: none; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 7px) / 0 1.5px no-repeat; transition: background-size .28s var(--ease); }
@media (hover: hover) { .menu a:hover { background-size: 100% 1.5px; } }
.langs { display: flex; }
.langs a { min-width: 38px; height: 44px; display: grid; place-items: center; text-decoration: none; font-size: 1rem; }
.langs a[aria-current] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--sand); }
.top-cta { min-height: 48px; padding: 0 22px; }
.menu .menu-cta { display: none; }
.burger { display: none; min-height: 48px; padding: 0 4px 0 12px; background: none; border: 0; font: 500 1.0625rem/1 var(--body); color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1240px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 72px 0 0; background: var(--paper); flex-direction: column; gap: 0; padding: 20px var(--gut); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .menu a { font: 400 1.9rem/1.2 var(--display); padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .menu .menu-cta { display: flex; margin-top: 28px; padding: 0 28px; border: 0; background: var(--green); font: 500 1.0625rem/1 var(--body); }
  .open .menu { visibility: visible; opacity: 1; }
  .top.open { background: var(--paper); }
}
@media (max-width: 720px) { .top-in { gap: 14px; height: 72px; } .logo img { width: 158px; } .top-cta { display: none; } .langs a { min-width: 34px; } }

/* hero: nagłówek na niebie, przyciski na wodzie */
.hero { position: relative; height: max(600px, 100svh); background: var(--sky); overflow: hidden; display: flex; flex-direction: column; }
.hero-pic { position: absolute; left: 0; right: 0; top: max(9svh, calc(max(600px, 100svh) - 51vw)); }
.hero-pic img { width: 100%; height: auto; min-height: calc(max(600px, 100svh) * .98); object-fit: cover; }
.hero-in { position: relative; padding-top: clamp(96px, 12.4svh, 140px); text-align: center; }
h1 { font-size: clamp(2.5rem, min(4.7vw, 7.8svh), 4.9rem); line-height: 1.02; max-width: 17em; margin: 0 auto; }
.hero-sub { font-size: clamp(1.15rem, min(1.5vw, 2.6svh), 1.4rem); line-height: 1.42; max-width: 37em; margin: 18px auto 0; text-wrap: balance; }
.hero-foot { position: relative; margin-top: auto; padding-bottom: clamp(76px, 12svh, 150px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
.hero-foot .acts { grid-column: 2; }
.acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.status { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 12px 24px 12px var(--gut); font-size: 1rem; line-height: 1.35; }
@media (max-width: 720px), (max-aspect-ratio: 11/10) {
  .hero { height: auto; min-height: 100svh; }
  .hero-in { padding-top: 108px; text-align: left; } h1 { font-size: clamp(min(2.35rem, 11.4vw), 10.4vw, 3rem); margin: 0; } .hero-sub { margin: 18px 0 0; text-wrap: pretty; }
  .hero-pic { position: relative; order: 2; top: auto; flex: 1; min-height: 200px; margin-top: 4px; } .hero-pic img { position: absolute; inset: 0; height: 100%; min-height: 0; object-position: 42% 50%; max-width: none; }
  .hero-foot { order: 3; grid-template-columns: 1fr; gap: 16px; background: var(--green); color: var(--white); padding-top: 20px; padding-bottom: 24px; margin: 0; } .acts { display: grid; justify-content: stretch; } .hero-foot .acts { grid-column: 1; } .hero .status { position: static; background: none; padding: 0; }
  .hero-foot .btn-dark { background: var(--sand); color: var(--green); } .hero-foot .btn-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--mint-2); }
}
@media (prefers-reduced-motion: no-preference) {
  h1, .hero-sub, .hero-foot { animation: up .9s var(--ease) both; } .hero-sub { animation-delay: .07s; } .hero-foot { animation-delay: .14s; }
  .hero-pic img { animation: drift 1.8s var(--ease) both; transform-origin: 50% 70%; }
}
@keyframes up { from { transform: translateY(22px); } }
@keyframes drift { from { transform: scale(1.035); } }

/* apartament: przełącznik widoków */
.apt-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 64px; align-items: stretch; }
.apt-text { display: flex; flex-direction: column; }
.views { margin-top: auto; padding-top: 40px; }
.views button { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1.5px solid var(--line); padding: 18px 0 20px; font: inherit; color: var(--muted); cursor: pointer; position: relative; transition: color .2s; }
.views button::before { content: ''; position: absolute; left: 0; top: -1.5px; height: 4px; width: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.views button[aria-selected=true] { color: var(--ink); } .views button[aria-selected=true]::before { transform: none; }
.views b { display: block; font: 400 1.6rem/1.2 var(--display); letter-spacing: -0.015em; }
.views span { display: block; margin-top: 6px; font-size: 1.0625rem; line-height: 1.45; }
@media (hover: hover) { .views button:hover { color: var(--ink); } }
.apt-pics { position: relative; min-height: 640px; overflow: hidden; background: var(--mint); }
.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.view.on { opacity: 1; visibility: visible; }
/* ukryte widoki pobierają zdjęcie dopiero, gdy ktoś dojdzie do tej sekcji (lp.js zdejmuje klasę) */
.view.later img { display: none; }
.view img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.1s var(--ease); } .view.on img { transform: none; }
@media (max-width: 980px) { .apt-in { grid-template-columns: 1fr; gap: 32px; } .apt-pics { order: -1; min-height: 0; aspect-ratio: 16 / 10; } .views { padding-top: 28px; } }

/* części wspólne: elastyczna galeria, dwa rzędy po cztery */
.rooms { background: var(--green); color: var(--white); }
.rooms .lead { margin-top: 0; color: var(--mint-2); }
.rooms-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.rooms { padding: clamp(72px, 7vw, 100px) 0; }
.rooms-grid { display: grid; gap: 24px; margin-top: 40px; }
.room-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr 1fr 1fr; transition: grid-template-columns .6s var(--ease); }
.room-row:has(> :nth-child(1).on) { grid-template-columns: 2.5fr 1fr 1fr 1fr; } .room-row:has(> :nth-child(2).on) { grid-template-columns: 1fr 2.5fr 1fr 1fr; }
.room-row:has(> :nth-child(3).on) { grid-template-columns: 1fr 1fr 2.5fr 1fr; } .room-row:has(> :nth-child(4).on) { grid-template-columns: 1fr 1fr 1fr 2.5fr; }
.room { min-width: 0; }
.room button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.room-pic { display: block; position: relative; height: clamp(230px, 28svh, 370px); overflow: hidden; background: var(--green-2); }
.room-pic img { position: absolute; top: 0; left: 50%; height: 100%; width: max(100%, 630px); max-width: none; object-fit: cover; transform: translateX(-50%); transition: filter .4s; filter: brightness(.82); }
.room.on .room-pic img, .room button:hover .room-pic img { filter: none; }
.room-name { display: block; font: 400 1.4rem/1.2 var(--display); letter-spacing: -0.01em; margin-top: 14px; white-space: nowrap; }
.room-text { display: block; min-height: 1.5em; margin-top: 4px; font-size: 1.0625rem; line-height: 1.45; color: var(--mint-2); opacity: 0; transition: opacity .25s; max-width: 34em; }
.room.on .room-text { opacity: 1; transition-delay: .25s; }
.room:not(.on) .room-text { height: 1.5em; overflow: hidden; white-space: nowrap; }
@media (max-width: 1100px) { .room-name { font-size: 1.2rem; } }
@media (max-width: 820px) {
  .rooms-grid { gap: 0; margin: 32px calc(-1 * var(--gut)) 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); padding: 0 var(--gut) 14px; }
  .room-row, .room-row:has(> .on) { display: flex; flex: none; gap: 12px; padding-right: 12px; } .room { width: 78vw; max-width: 420px; scroll-snap-align: start; }
  .room-pic { height: auto; aspect-ratio: 4 / 3; } .room-pic img { width: 100%; filter: none; } .room-text, .room:not(.on) .room-text { opacity: 1; height: auto; min-height: 0; white-space: normal; } .room-name { font-size: 1.4rem; white-space: normal; }
}

/* pytania */
.faq-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq-list h2 { margin-bottom: 36px; }
.faq-pic { position: sticky; top: 104px; } .faq-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 30% 50%; }
details { border-top: 1.5px solid var(--line); } details:last-child { border-bottom: 1.5px solid var(--line); }
summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 20px; align-items: center; padding: 20px 0; font: 400 1.4rem/1.25 var(--display); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 22px; height: 22px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat; transition: background-size .25s var(--ease); }
details[open] summary::after { background-size: 100% 2px, 2px 0; }
details p { padding: 0 42px 26px 0; max-width: 40em; text-wrap: pretty; }
@media (hover: hover) { summary:hover { color: #8A5200; } }
@media (max-width: 980px) { .faq-in { grid-template-columns: 1fr; gap: 40px; } .faq-pic { position: static; } .faq-pic img { aspect-ratio: 4 / 3; } }

/* okolica: kadr z lotu ptaka otwiera się na pełną szerokość, potem mapa */
.place { background: var(--mint); }
.aerial { background: linear-gradient(var(--paper) 50%, var(--green) 50%); }
.aerial-win { overflow: hidden; position: relative; height: clamp(420px, calc(100svh - 192px), 55.8vw); background: var(--green-2); }
.aerial-box { position: absolute; left: 0; width: 100%; aspect-ratio: 2752 / 1536; top: 10%; transform: translateY(-10%); }
.aerial-box img, .st-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  .aerial-win { animation: open linear both; animation-timeline: view(); animation-range: entry 10% cover 42%; }
} }
@keyframes open { from { clip-path: inset(9% 16% 9% 16%); } to { clip-path: inset(0); } }
/* etapy na wizualizacji */
.st-dim { fill: #0B201C; opacity: 0; transition: opacity .35s; pointer-events: none; }
.st-area { fill: #fff; fill-opacity: 0; stroke: #fff; stroke-opacity: .8; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill-opacity .3s, stroke-opacity .3s; }
.st-area.now { fill: var(--sand); fill-opacity: .34; stroke: var(--sand); stroke-opacity: 1; stroke-width: 2.5; }
.st-area.on { stroke-opacity: 1; stroke-width: 3; fill-opacity: .12; } .st-area.now.on { fill-opacity: .4; }
.hot .st-dim.on { opacity: .62; } .hot .st-area:not(.on) { stroke-opacity: .22; fill-opacity: 0; } .hot .st-area.now:not(.on) { fill-opacity: .12; stroke-opacity: .5; }
.st-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 10px)); background: var(--white); color: var(--ink); padding: 10px 18px 11px; pointer-events: none; white-space: nowrap; line-height: 1.25; transition: left .35s var(--ease), top .35s var(--ease), background-color .25s; visibility: hidden; }
.st-tag.show { visibility: visible; } .st-tag.now { background: var(--sand); } .st-tag b { display: block; font: 400 1.4rem/1.1 var(--display); letter-spacing: -.01em; } .st-tag span { display: block; font-size: 1.0625rem; }
.st-bar { background: var(--green); color: var(--white); } .st-in { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: center; justify-content: space-between; padding-top: 26px; padding-bottom: 28px; } .st-in h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.st-list { display: flex; flex-wrap: wrap; gap: 8px; } .st-list button { min-height: 64px; min-width: 108px; padding: 8px 14px; border: 0; background: var(--green-2); color: var(--white); font: inherit; text-align: left; cursor: pointer; line-height: 1.25; transition: background-color .2s, color .2s; }
.st-list b { display: block; font: 500 1.125rem/1.25 var(--body); } .st-list span { font-size: 1rem; color: var(--mint-2); } .st-list .now { background: var(--sand); color: var(--green); } .st-list .now span { color: var(--green); }
.st-list button.on:not(.now) { background: var(--white); color: var(--green); } .st-list button.on:not(.now) span { color: var(--muted); } .st-list .now.on { box-shadow: inset 0 0 0 3px var(--white); }
@media (max-width: 820px) { .aerial-win { height: 71vw; } .aerial-box { width: 128vw; left: -12vw; top: 0; transform: none; } .st-list { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); } .st-list button { min-width: 0; } .st-tag { padding: 7px 12px 8px; max-width: 76vw; } .st-tag b { font-size: 1.15rem; } .st-tag span { font-size: .95rem; white-space: normal; } }
.place-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 72px; padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(72px, 8vw, 120px); align-items: center; }
.dist, .rows { margin-top: 36px; }
.dist div, .rows div { display: grid; grid-template-columns: minmax(8.4em, 1fr) 2.4fr; gap: 20px; align-items: baseline; padding: 16px 0; border-top: 1.5px solid color-mix(in srgb, var(--green) 26%, transparent); }
.dist div:last-child, .rows div:last-child { border-bottom: 1.5px solid color-mix(in srgb, var(--green) 26%, transparent); }
.dist dt { font: 400 1.6rem/1.15 var(--display); letter-spacing: -0.015em; }
.note { font-size: 1rem; color: var(--muted); margin-top: 16px; }
.map { position: relative; max-width: 560px; justify-self: end; width: 100%; } .map img { width: 100%; }
.m { position: absolute; font-size: 1rem; line-height: 1.2; white-space: nowrap; transform: translateY(-50%); }
.m-sea { left: 46%; top: 7%; font-style: italic; color: #26544F; } .m-de { left: 8%; top: 60%; letter-spacing: .06em; color: var(--muted); } .m-pl { left: 74%; top: 74%; letter-spacing: .06em; color: var(--muted); }
.m-swi { left: 49%; top: 20%; } .m-gol { left: 72%; top: 35.6%; } .m-szc { right: 46%; top: 43.6%; font-weight: 700; } .m-chl { left: 64.5%; top: 49.6%; font: 500 1.35rem/1 var(--display); } .m-ber { left: 20%; top: 87.8%; font-weight: 700; }
@media (max-width: 980px) { .place-in { grid-template-columns: 1fr; gap: 48px; } .map { justify-self: start; } }
@media (max-width: 560px) { .dist div, .rows div { grid-template-columns: 1fr; gap: 2px; } .m { font-size: .95rem; } .m-gol { left: auto; right: 0; top: 32%; } }

.rows dt { font-weight: 700; }

/* inwestorzy: piaskowa plama z prezentacji */
.inv { background: var(--sand); } .inv-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.inv .rows { margin-top: 0; } .inv .btn { margin-top: 36px; } .how { margin-top: 24px; max-width: 38em; }
@media (hover: hover) { .inv .btn-dark:hover { background: var(--white); } }
@media (max-width: 980px) { .inv-in { grid-template-columns: 1fr; gap: 40px; } }

.inv h3 { font-size: 1.7rem; line-height: 1.15; } .inv h2 + .rows { margin-top: 36px; }
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; } .steps li { counter-increment: s; display: grid; grid-template-columns: 2.1em 1fr; align-items: baseline; padding: 16px 0; border-top: 1.5px solid color-mix(in srgb, var(--green) 26%, transparent); } .steps li:last-child { border-bottom: 1.5px solid color-mix(in srgb, var(--green) 26%, transparent); } .steps li::before { content: counter(s); font: 400 1.5rem/1 var(--display); }

/* pasek do strony inwestorów */
.strip { background: var(--sand); } .strip-in { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; } .strip h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); } .strip p { margin-top: 10px; max-width: 44em; text-wrap: pretty; } .strip-in > div { flex: 1 1 520px; }
@media (hover: hover) { .strip .btn-dark:hover { background: var(--white); } }
@media (max-width: 620px) { .strip .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; } }

/* strona inwestorów */
.p-sub .top { background: var(--paper); box-shadow: 0 1px 0 var(--line); } .p-sub .top-in, .p-sub .top.solid .top-in { height: 72px; }
.ihero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: min(820px, calc(100svh - 148px)); margin-top: 72px; background: var(--green); color: var(--white); }
.ihero-text { padding: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 72px) clamp(48px, 6vw, 88px) max(var(--gut), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ihero h1 { font-size: clamp(min(2.4rem, 11.4vw), 4vw, 4.1rem); line-height: 1.04; margin: 0; } .ihero .hero-sub { margin: 24px 0 36px; text-wrap: pretty; color: var(--mint); }
.btn-sand { background: var(--sand); color: var(--green); } @media (hover: hover) { .btn-sand:hover { background: var(--white); } }
.ihero-pic { position: relative; overflow: hidden; min-height: 320px; } .ihero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .ihero .status { padding: 10px 20px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .ihero-pic img { animation: drift 1.8s var(--ease) both; } }
.figs { background: var(--mint); } .figs-in { display: grid; grid-template-columns: repeat(3, 1fr); } .figs-in div { padding: 34px 28px 36px 0; } .figs dt { font: 400 clamp(2rem, 3.3vw, 3.2rem)/1 var(--display); letter-spacing: -0.025em; white-space: nowrap; } .figs dd { margin-top: 8px; }
.iproduct-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 72px; align-items: stretch; } .iproduct-pic img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 40% 50%; }
.imarket .dist div { grid-template-columns: minmax(7em, 1fr) 2fr; }
@media (max-width: 980px) { .ihero { grid-template-columns: 1fr; } .ihero-text { padding: 48px var(--gut); } .ihero-pic { aspect-ratio: 4 / 3; min-height: 0; } .figs-in { grid-template-columns: 1fr 1fr; } .figs-in div { padding: 24px 16px 24px 0; } .iproduct-in { grid-template-columns: 1fr; gap: 40px; } .iproduct-pic img { min-height: 0; aspect-ratio: 4 / 3; } }

/* strona dla rodziny */
.fhero { background: var(--mint); color: var(--ink); } .fhero .hero-sub { color: var(--ink); } .fhero .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.talk { background: var(--green); color: var(--white); } .talk-list { list-style: none; margin: clamp(36px, 4vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 56px; }
.talk-list li { border-top: 1.5px solid #4C6B64; padding-top: 24px; } .talk h3 { font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1.14; } .talk li p { margin-top: 14px; color: var(--mint); max-width: 30em; text-wrap: pretty; }
.share { background: var(--sand); } .share-in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; } .share h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); max-width: 14em; } .share-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) { .share .btn-dark:hover { background: var(--white); } }
@media (max-width: 980px) { .talk-list { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 620px) { .share-btns { display: grid; width: 100%; } .fhero .acts { display: grid; width: 100%; justify-content: stretch; } }
/* polityka prywatności */
.priv { overflow-wrap: anywhere; hyphens: auto; padding-top: clamp(136px, 13vw, 190px); } .priv-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; } .priv h1 { font-size: clamp(2.2rem, 3.7vw, 3.5rem); margin: 0; text-align: left; } .priv h2 { font: 700 1.3rem/1.3 var(--body); letter-spacing: 0; margin: 34px 0 6px; } .priv h2:first-child { margin-top: 8px; } .priv p { max-width: 42em; } .priv .note { margin-top: 40px; }
@media (max-width: 980px) { .priv-in { grid-template-columns: minmax(0, 1fr); } }

/* zdjęcie z hasłem */
.band { position: relative; background: #B5CDDB; overflow: hidden; } .band img { width: 100%; height: min(92svh, 55.8vw); object-fit: cover; }
.band p { position: absolute; inset: 0 0 auto; padding-top: clamp(28px, 4.4vw, 80px); font: 400 clamp(2.3rem, 5.7vw, 5.9rem)/1 var(--display); letter-spacing: -0.03em; text-align: center; }
@media (max-width: 720px) { .band { padding-top: 112px; } .band img { height: auto; aspect-ratio: 5 / 4; object-position: 60% 50%; } .band p { text-align: left; } .band p span { display: block; } }

/* formularz */
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 64px; align-items: start; } .contact-head { position: sticky; top: 112px; }
form { display: grid; gap: 30px; } fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field label { font-weight: 700; padding: 0; } .field { display: grid; gap: 8px; align-content: start; } .opt { font-weight: 400; color: var(--muted); }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.types label { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center; min-height: 72px; padding: 12px 18px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; line-height: 1.3; transition: box-shadow .15s, background-color .15s; }
.types input { width: 24px; height: 24px; margin: 0; accent-color: var(--green); }
.types label:has(:checked) { background: var(--mint); box-shadow: inset 0 0 0 2.5px var(--green); }
.types label:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; } .types input:focus-visible { outline: 0; }
@media (hover: hover) { .types label:hover { box-shadow: inset 0 0 0 1.5px var(--green); } .types label:has(:checked):hover { box-shadow: inset 0 0 0 2.5px var(--green); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--field); border-radius: 0; padding: 13px 16px; min-height: 58px; }
textarea { min-height: 132px; resize: vertical; }
select { appearance: none; padding-right: 46px; background: var(--white) linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 25px) 52% / 8px 8px no-repeat; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 26px) 52%, calc(100% - 18px) 52%; background-size: 8px 8px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink); }
[aria-invalid=true] { border-color: var(--err) !important; border-width: 2px !important; } .err { color: var(--err); font-weight: 500; font-size: 1.0625rem; } .err:empty { display: none; } .types + .err { margin-top: 10px; }
.checks { display: grid; gap: 16px; } .check { display: grid; grid-template-columns: 26px 1fr; gap: 14px; cursor: pointer; line-height: 1.45; } .check input { width: 26px; height: 26px; margin: 0; accent-color: var(--green); } .check em { font-style: normal; color: var(--muted); } .check em::before { content: '('; } .check em::after { content: ')'; }
.send { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; } .privacy { font-size: 1rem; line-height: 1.4; color: var(--muted); max-width: 24em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } .form-status:empty { display: none; } .form-status.bad { color: var(--err); font-weight: 500; }
.done { background: var(--mint); padding: 44px; } .done h3 { font-size: 2.2rem; line-height: 1.1; } .done p { margin-top: 12px; font-size: 1.25rem; } .done h3:focus { outline: 0; }
@media (max-width: 980px) { .contact-in { grid-template-columns: 1fr; gap: 36px; } .contact-head { position: static; } }
@media (max-width: 620px) { .types, .two { grid-template-columns: 1fr; } .send .btn { width: 100%; } }

.hint { color: var(--muted); margin-bottom: 14px; } .field .hint { margin: 0; font-size: 1.0625rem; } .privacy a { color: inherit; display: inline-block; padding: 6px 0; } .foot-legal a { color: inherit; display: inline-block; padding: 8px 0; } .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.nb { white-space: nowrap; } .types.t3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .types.t3 { grid-template-columns: 1fr; } }
.dist dd a { text-underline-offset: 3px; }

/* czcionka powiększona w przeglądarce (np. 200% na telefonie): nagłówek łamie się na dwa wiersze */
@media (max-width: 17em) { .top-in, .top.solid .top-in, .p-sub .top-in { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; gap: 4px 14px; } .logo { flex-basis: 100%; } .langs a { min-width: 2em; } .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 12px 16px; } .status { position: static !important; } .figs dt { white-space: normal; } .imarket .dist div, .dist div, .rows div { grid-template-columns: minmax(0, 1fr) !important; } dd { overflow-wrap: anywhere; } .figs-in, .figs-in div { grid-template-columns: minmax(0, 1fr); } .ihero, .iproduct-in, .inv-in, .place-in, .contact-in, .faq-in, .apt-in { grid-template-columns: minmax(0, 1fr) !important; } .st-list { grid-template-columns: minmax(0, 1fr) !important; } .rodo-head, .strip-in { flex-wrap: wrap; } }

/* stopka */
.foot { background: var(--green); color: var(--mint-2); padding: 72px 0 56px; } .foot-in { display: grid; grid-template-columns: auto 1fr; gap: 44px 72px; } .foot img { width: 250px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: flex-end; align-items: center; } .foot-nav a { color: var(--white); text-decoration: none; padding: 10px 0; } @media (hover: hover) { .foot-nav a:hover { text-decoration: underline; } }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid #35554E; padding-top: 28px; font-size: 1rem; line-height: 1.5; } .foot-legal p { max-width: 62em; margin-bottom: 6px; }
@media (max-width: 820px) { .foot-in { grid-template-columns: 1fr; gap: 32px; } .foot-nav { justify-content: flex-start; } }

dialog.rodo { max-width: 760px; width: calc(100% - 32px); max-height: calc(100svh - 48px); border: 0; padding: 0; background: var(--white); color: var(--ink); } dialog.rodo::backdrop { background: rgb(18 48 43 / .72); }
.rodo-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 32px; position: sticky; top: 0; background: var(--white); border-bottom: 1.5px solid var(--line); } .rodo-head h2 { font-size: 1.7rem; } .rodo-head .btn { min-height: 48px; padding: 0 20px; }
.rodo-body { padding: 8px 32px 36px; } .rodo-body h3 { font: 700 1.125rem/1.3 var(--body); letter-spacing: 0; margin: 24px 0 4px; } .rodo-body p { font-size: 1.0625rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
/* Pod pierwszym ekranem: zaproszenie do formularza (formularz jest na końcu strony, po opisie). */
.ask { background: var(--mint); padding: 40px 0; }
.ask-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.ask h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin: 0; }
.ask p { margin: 8px 0 0; font-size: 1.125rem; max-width: 46ch; }
@media (max-width: 620px) { .ask .btn { width: 100%; } }
